LG G4 International (lg-h815)

From postmarketOS
LG G4 (International/
H815)
LG G4
LG G4
Manufacturer LG
Name G4 (International/
H815)
Codename lg-h815
Released 2015
Category testing
Original software Android
Original version 5.1.1
Extended version 7.0
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
Type Handset
Features
USB Networking
Works
Flashing
Works
Touchscreen
Works
Display
Works
WiFi
Broken
FDE
Mainline
Battery
Works
3D Acceleration
Broken
Audio
Bluetooth
Camera
GPS
Mobile data
Internal storage
SMS
Calls
USB OTG
NFC
Sensors
Accelerometer
Magnetometer
Ambient Light
Proximity
Hall Effect
Barometer
Power Sensor
Misc
Built-in DVB
Camera Flash
Keyboard
Touchpad
USB-A
HDMI/DP
Ir TX
Ir RX
Stylus
Memory Card
Haptics
Ethernet
FOSS bootloader


Contributors

  • kamnxt(Mostly on Reddit, u/kamnxt)
  • maccraft123

Maintainer(s)

  • kamnxt

Device owners


What is TODO

  • Identify and make use of UART(candidate is 3,5" jack)
  • Mainline it

How to enter flash mode

  • adb reboot bootloader
    

To enter fastboot from TWRP or Android.

Press and hold both power and volume down buttons.

After LG logo appears release volume down 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

Installation

  • Unlock bootloader
  • Build using pmbootstrap.py
  • Enter fastboot on phone
./pmbootstrap flasher flash_rootfs
./pmbootstrap flasher flash_kernel
fastboot reboot

Feature matrix

Mainline kernel Updated kernel Android kernel
Booting Broken TODO Working
USB Network Working
Flashing 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