Difference between revisions of "LG G4 International (lg-h815)"

From postmarketOS
Jump to navigation Jump to search
m (clean up)
 
(3 intermediate revisions by 2 users not shown)
Line 7: Line 7:
 
| releaseyear = 2015
 
| releaseyear = 2015
 
| originalsoftware = Android 5.1.1 (Upgradable to 7.0)
 
| originalsoftware = Android 5.1.1 (Upgradable to 7.0)
| chipset = Qualcomm Snapdragon 808
+
| chipset = Qualcomm MSM8992 Snapdragon 808
 
| cpu = Hexa-core 64-bit (2x 1.82 GHz Cortex A57, 4x 1.44 GHz Cortex A53)
 
| cpu = Hexa-core 64-bit (2x 1.82 GHz Cortex A57, 4x 1.44 GHz Cortex A53)
 
| gpu = Adreno 418
 
| gpu = Adreno 418
Line 40: Line 40:
  
 
== Maintainer(s) ==
 
== Maintainer(s) ==
* maccraft123
+
* kamnxt
 +
 
 +
== Device owners ==
 +
{{Device owners}}
  
 
== What is TODO ==
 
== What is TODO ==
* Possibly libhybris for calls, messaging and 3d acceleration
 
 
* Identify and make use of UART(candidate is 3,5" jack)
 
* Identify and make use of UART(candidate is 3,5" jack)
 
* Mainline it
 
* Mainline it
Line 67: Line 69:
 
./pmbootstrap flasher flash_kernel
 
./pmbootstrap flasher flash_kernel
 
fastboot reboot</syntaxhighlight>
 
fastboot reboot</syntaxhighlight>
 
<!-- add more sections here as necessary, e.g. Wifi, ... -->
 
  
 
== Feature matrix ==
 
== Feature matrix ==
Line 76: Line 76:
 
! Mainline kernel
 
! Mainline kernel
 
! Updated kernel
 
! Updated kernel
! Libhybris
 
 
! Android kernel
 
! Android kernel
 
|-
 
|-
 
| Booting
 
| Booting
 
| Broken
 
| Broken
| TODO
 
 
| TODO
 
| TODO
 
| Working
 
| Working
 
|-
 
|-
 
| USB Network
 
| USB Network
|
 
 
|  
 
|  
 
|  
 
|  
Line 92: Line 89:
 
|-
 
|-
 
| Flashing
 
| Flashing
|
 
 
|  
 
|  
 
|  
 
|  
Line 98: Line 94:
 
|-
 
|-
 
| Touchscreen
 
| Touchscreen
|
 
 
|  
 
|  
 
|  
 
|  
Line 104: Line 99:
 
|-
 
|-
 
| Display
 
| Display
|
 
 
|  
 
|  
 
|  
 
|  
Line 110: Line 104:
 
|-
 
|-
 
| WiFi
 
| WiFi
|
 
 
|  
 
|  
 
|  
 
|  
Line 116: Line 109:
 
|-
 
|-
 
| XWayland
 
| XWayland
|
 
 
|  
 
|  
 
|  
 
|  
Line 122: Line 114:
 
|-
 
|-
 
| FDE
 
| FDE
|
 
 
|  
 
|  
 
|  
 
|  
Line 128: Line 119:
 
|-
 
|-
 
| Battery
 
| Battery
|
 
 
|  
 
|  
 
|  
 
|  
Line 134: Line 124:
 
|-
 
|-
 
| Hardware Acceleration
 
| Hardware Acceleration
|
 
 
|  
 
|  
 
|  
 
|  
Line 140: Line 129:
 
|-
 
|-
 
| Accelerometer
 
| Accelerometer
|
 
 
|  
 
|  
 
|  
 
|  
Line 146: Line 134:
 
|-
 
|-
 
| Audio
 
| Audio
|
 
 
|  
 
|  
 
|  
 
|  
Line 152: Line 139:
 
|-
 
|-
 
| Bluetooth
 
| Bluetooth
|
 
 
|  
 
|  
 
|  
 
|  
Line 158: Line 144:
 
|-
 
|-
 
| Camera
 
| Camera
|
 
 
|  
 
|  
 
|  
 
|  
Line 164: Line 149:
 
|-
 
|-
 
| GPS
 
| GPS
|
 
 
|  
 
|  
 
|  
 
|  
Line 170: Line 154:
 
|-
 
|-
 
| Mobile data
 
| Mobile data
|
 
 
|  
 
|  
 
|  
 
|  
Line 176: Line 159:
 
|-
 
|-
 
| SMS
 
| SMS
|
 
 
|  
 
|  
 
|  
 
|  
Line 182: Line 164:
 
|-
 
|-
 
| Calls
 
| Calls
|
 
 
|  
 
|  
 
|  
 
|  
Line 190: Line 171:
 
|  
 
|  
 
|  
 
|  
|
+
|
|  
 
 
|}
 
|}
  
Line 214: Line 194:
 
* Subreddit: reddit.com/r/lgg4
 
* Subreddit: reddit.com/r/lgg4
 
* XDA Forum: https://forum.xda-developers.com/g4
 
* XDA Forum: https://forum.xda-developers.com/g4
* Kernel: <TODO>
+
* LineageOS Kernel: <TODO>
 +
* Almost-mainline Kernel: <TODO>

Latest revision as of 21:00, 1 December 2020

LG G4 (International/H815)
LG G4
LG G4
Manufacturer LG
Name G4 (International/H815)
Codename lg-h815
Released 2015
Category testing
Original software Android 5.1.1 (Upgradable to 7.0)
Hardware
Chipset Qualcomm MSM8992 Snapdragon 808
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
Features
USB Networking
Works
Flashing
Works
Touchscreen
Works
Display
Works
WiFi
Broken
Xwayland
Works
FDE
Mainline
Battery
Works
3D Acceleration
Broken
Accelerometer
Audio
Bluetooth
Camera
GPS
Mobile data
SMS
Calls
USB OTG



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