LG G4 International (lg-h815)
Appearance
|
LG G4 | |
| Manufacturer | LG |
|---|---|
| Name |
G4 (International H815) |
| Codename | lg-h815 |
| Released | 2015 |
| Type | handset |
| Hardware | |
| Chipset | Qualcomm Snapdragon 808 (MSM8992) |
| CPU |
Hexa-core 64-bit (2x 1.82 GHz Cortex A57 4x 1.44 GHz Cortex A53) |
| GPU | Adreno 418 |
| Display | 2560x1440 IPS LCD |
| Storage | 32GB |
| Memory | 3GB LPDDR3 |
| Architecture | aarch64 |
| Software | |
Original software The software and version the device was shipped with. |
Android 5.1.1 |
Extended version The most recent supported version from the manufacturer. |
Android 7.0 |
| postmarketOS | |
| Category | testing |
Mainline Instead of a Linux kernel fork, it is possible to run (Close to) Mainline. |
yes |
| Device package |
|
| Kernel package |
|
Flashing Whether it is possible to flash the device with pmbootstrap flasher. |
Works
|
|---|---|
USB Networking After connecting the device with USB to your PC, you can connect to it via telnet (initramfs) or SSH (booted system). |
Works
|
Battery Whether charging and battery level reporting work. |
Works
|
Screen Whether the display works; ideally with sleep mode and brightness control. |
Works
|
Touchscreen |
Works
|
| Multimedia | |
3D Acceleration |
Broken
|
Audio Audio playback, microphone, headset and buttons. |
Untested
|
Camera |
Untested
|
| Connectivity | |
WiFi |
Broken
|
Bluetooth |
Untested
|
GPS |
Untested
|
| Modem | |
Calls |
Untested
|
SMS |
Untested
|
Mobile data |
Untested
|
| Miscellaneous | |
FDE Full disk encryption and unlocking with unl0kr. |
Untested
|
| Sensors | |
Accelerometer Handles automatic screen rotation in many interfaces. |
Untested
|
Magnetometer Sensor to measure the Earth's magnetism |
Untested
|
Ambient Light Measures the light level; used for automatic screen dimming in many interfaces. |
Untested
|
Proximity |
Untested
|
Hall Effect Measures magnetic fields; usually used as a flip cover sensor |
Works
|
Contributors
- kamnxt (Mostly on Reddit, u/kamnxt)
- maccraft123
- FuchtelJockel
Maintainer(s)
Device owners
- Daniel071 (Notes: Currently bootlooping...)
- Fell (Notes: shattered screen)
- FuchtelJockel
- Nopraz (Notes: Will try pmOS soon)
What is TODO
- Identify and make use of UART(candidate is 3,5" jack)
- Mainline it
- test UsU Devices
How to enter flash mode
On the v20p bootloader enter fastboot from TWRP or Android.
From Android:
adb reboot bootloader
From TWRP:
- Press and hold both power and volume down buttons.
- After LG logo appears release the power button for one second then hold it again.
- If you have flashed TWRP on it, just ignore warnings about deleting data.
- After booting to TWRP choose "Reboot", then "Bootloader" options to enter fastboot mode
On the v29a bootloader:
- press volume down button
- plug in USB cable, keep holding volume down button
Installation
- Unlock bootloader
- Build using pmbootstrap
- Enter fastboot on phone
$ pmbootstrap init
$ pmbootstrap install
$ pmbootstrap flasher flash_rootfs
$ pmbootstrap flasher flash_kernel
# fastboot reboot
Feature matrix
| Mainline kernel | Android kernel | |
|---|---|---|
| Booting | Working | Working |
| USB Network | Working | Working |
| Flashing | Working | Working |
| Storage | Working | |
| Touchscreen | Working | |
| Display | Partial | |
| WiFi | ||
| XWayland | Working | |
| FDE | ||
| Battery | Working | |
| Hardware Acceleration | ||
| Accelerometer | ||
| Audio | ||
| Bluetooth | ||
| Camera | ||
| GPS | ||
| Mobile data | ||
| SMS | ||
| Calls | ||
| USB OTG |
/sys tunables
/sys/class/graphics/fb0/blank
0 - Touchscreen enabled
1 - Touchscreen disabled
/sys/class/leds/lcd-backlight/brightness
0 - Screen at 0% of brightness
255 - Screen at 100% of brightness
Photos
TODO
Links
- Subreddit: reddit.com/r/lgg4
- XDA Forum: https://forum.xda-developers.com/g4
- LineageOS Kernel: https://github.com/LineageOS/android_kernel_lge_msm8992
- Almost-mainline Kernel: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/4344 (the initial MR)