LG G4 (H815)

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 flavors

If you miss a flavor you can request it here.

Known issues

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.

  1. flash latest “321 or later” <– ! TWRP build first!
    • download from here
    • fastboot flash recovery <TWRP.....img>
  2. boot TWRP
  3. Select Wipe
  4. Swipe to Factory Reset (this will also clear any encryption metadata ever stored)
  5. Press the HOME button
  6. Select Wipe
  7. Select Advanced Wipe
  8. Select only Cache (not Dalvik/ART cache)
  9. Select Repair or Change File System
  10. Select Change File System
  11. Select F2FS and swipe to change it
  12. Press the HOME button
  13. Select Wipe
  14. Select Format data
  15. Type yes
  16. Verify the output says it was formatted with f2fs!
  17. Press the HOME button
  18. continue with the regular Install (non A/B) guide:

Install (non A/B)

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 ZipRelease key
(what's this?)
Pro
(click)
(right click, save-as)
(click)
Last updated on