LG G4 (H815)
Overview
|  | |
| Codename: | h815 | 
| Android: | 11 | 
| Flavors: | Pro | 
| First released: | 2024-12-20 | 
| Firmware: | manual | 
| Encryption: | FDE | 
| Relockable: | no | 
| VerifiedBoot: | no | 
| Verified & tested by: | The AXP.OS team | 
| State: | stable | 
Installation guide
You want to switch between flavors or coming from DivestOS?
Please read this first: All about AXP.OS flavorsIf you miss a flavor you can request it here.
Known issues
- General Known Issues
- Issue tracker won't fix
Boot modes
Each device has its own method to access its special boot modes, see:
h815 (@LineageOS wiki)
Firmware
AXP.OS for the LG G4 (H815) does not include any firmware so you need to ensure having the correct one manually. Skipping this step might result in unexpected behavior and problems later on.
For this follow the firmware guide (this step needs to be done only once).
If there is no specific guide for your device or model check the firmware guide for h815 (@LineageOS wiki) and ensure you choose the Android version matching the AXP.OS release.
Install / Upgrade
Pre-requirements
AXP.OS for the LG G4 is a special release as it is one of the rare devices where we still support FDE because all attempts to get FBE working (backporting FBE to the msm8992 kernel) failed.
So to get the most out of your device we enforce the usage of F2FS which requires that you follow these simple steps first (AXP.OS won’t even boot otherwise):
Note: The following process will WIPE all your user data, photos, everything. .. and no, there is no other option. So you better have a backup and you better have tested the restore of that backup actually works.
- flash latest “321 or later” <– ! TWRP build first!- download from here
- fastboot flash recovery <TWRP.....img>
 
- boot TWRP
- Select Wipe
- Swipeto- Factory Reset(this will also clear any encryption metadata ever stored)
- Press the HOMEbutton
- Select Wipe
- Select Advanced Wipe
- Select only Cache(not Dalvik/ART cache)
- Select Repair or Change File System
- Select Change File System
- Select F2FSand swipe to change it
- Press the HOMEbutton
- Select Wipe
- Select Format data
- Type yes
- Verify the output says it was formatted with f2fs!
- Press the HOMEbutton
- continue with the regular Install (non A/B) guide:
Setup AXP.OS
Follow Setup
Re-locking the bootloader
Supported: no
XDA thread
see here
Debugging
DEVICE-BOOT-DEBUG-PATH: /mnt/vendor/persist (see Logs)
Download
| Flavor (what's this?) | OS zip | Recovery image | Release key (what's this?) | 
|---|---|---|---|
| Pro | |||