Disclaimer:


Team Win strives to provide a quality product.  However, it is your decision to install our software on your device.  Team Win takes no responsibility for any damage that may occur from installing or using TWRP.

Status:


Support Status: Current

Maintainer: steadfasterX

Code Name: H811, H815

Device Tree / files

Support thread on xda-developers

NOTE: You must unlock the bootloader first before installing TWRP!

Unlock your device:


The recommended way is to use FWUL - a simple adb/fastboot ISO which has all drivers etc included and provides an easy and ready-to-use adb environment.

Consider a full backup in Download Mode with SALT first before you begin..

If you still want to use Windows you will need the platform-tools from the Android SDK on your computer. Find the Android command line tools section on the page linked and install the SDK tools package. From the SDK Manager, download only the platform-tools to get adb and fastboot binaries.

Windows users will also need proper drivers installed on their computer. You can try the Naked ADB drivers or the Universal ADB drivers if you don't already have a working driver installed

Your device needs to be either officially unlocked by LG or unofficially UsU'd before you can flash custom images!

To unlock your device officially you have to go to: http://developer.lge.com and follow all steps there to get and flash your LG unlock binary onece received. You can NOT proceed without completing this step!

App Install Method (Requires Root):

Download the Official TWRP App (root required):

Install the app and open it. Agree to the Terms. Select TWRP Flash. Select your device from the device list (H811, H815) and choose a version. The file will download to your Downloads folder. Browse to and select the file. Tap on Flash to Recovery. Find out more about the app here.

Fastboot Installation Method (LP/MM bootloader - for N bootloader scroll down!):


This method works only when you have a Lollipop or Marshmallow bootloader / ROM installed! If you have flashed Nougat scroll down to the next topic!

TWRP requires an unlocked device - read the above topic and ensure you have your device unlocked and adb/fastboot ready (read above topic if not)!

Download the correct image file and copy the file into the same folder as your adb and fastboot binaries. Rename the image to twrp.img and type:

fastboot boot twrp.img

This will boot up TWRP but for the moment in memory only. To complete the installation and making it persistent:

Copy the twrp.img to your device while still in twrp (e.g. with a file explorer or by typing adb push twrp.img /sdcard)

Flash the twrp.img with the twrp GUI to the recovery(!) partition (choose the button at the bottom named 'Image' to display the copied image)

Android would overwrite TWRP on boot so: you need to boot TWRP once again NOW: Choose Reboot -> Recovery
or on your PC type: adb reboot recovery

If you see TWRP afterwards then you are safe to use the key combo described in the next topic. If NOT: RE-DO all steps! DO NOT USE THE KEY COMBO described in the next topic until the reboot into recovery worked!

Fastboot Installation Method (N bootloader - for LP/MM bootloader scroll up!):


This method works only when you have a Nougat bootloader / ROM installed! If you have flashed Lollipop or Marshmallow scroll up to the previous topic!

Consider a full backup with SALT first before you begin..

TWRP requires an unlocked device - read the above topic and ensure you have your device unlocked and adb/fastboot ready (read above topic if not)!

Download the correct image file and copy the file into the same folder as your adb and fastboot binaries. Rename the image to twrp.img and type:

fastboot flash recovery twrp.img

There is no 100% way to verify your TWRP installation on the N bootloader so you have to take the risk (did you made a SALT backup before?) but ensure you follow this next step briefly:

Take out the battery and disconnect the USB cable. Now follow the topic: Boot into TWRP with a key combination (as you can not verify the TWRP installation just do it). If you skip this step and boot into Android before doing this TWRP will be overwritten by Android so it is crucial important to do this step above directly after flashing TWRP!! if you miss it you will have to flash TWRP again!

If all went well TWRP should boot up.

Android would overwrite TWRP on boot so: you need to boot TWRP once again NOW: Choose Reboot -> Recovery
or on your PC type: adb reboot recovery

If you see TWRP afterwards again then you are safe to use the key combo described in the next topic. If NOT: RE-DO all steps! DO NOT USE THE KEY COMBO described in the next topic until the reboot into recovery worked!

Download Links:


LG G4 (any model):

Boot into TWRP with a key combination:


Ensure you have validated the TWRP installation first! Check the above topic and proceed when verification was successful only!

After installing TWRP correctly, you will still have the original LG factory reset screen/menu booting before TWRP, every time! So the correct and only way to get into TWRP with a key combo is to select two times "Yes" in the official LG factory reset menu, and only then you will get into TWRP (This a restriction by LG. There is no key combo available in some / all / most LG devices to boot directly into recovery and so TWRP).

Power down and pull out the battery. Do not forget to remove any USB cable.
Press power down and hold it down. Put battery back while keeping vol down pressed. Press power button and keep now both buttons pressed. Directly you see the LG logo the first time just release only the power button for 1 second ( do not release vol down ) and then press power again and keep both pressed until you see the factory reset screen. Proceed like you would to the factory reset (as long as TWRP is installed it will not reset but just open TWRP instead).

TWRP Install (Requires TWRP 2.8.4 or higher already installed):

Download the latest TWRP image file (.img) from the download link and boot TWRP. Go to install and find and select the Images... button. Browse to the image that you downloaded and select it. Choose recovery and swipe to flash.

dd Install Method (Requires Root):

Download the latest image file (.img) from the download link above. Place it in the root of your /sdcard folder and rename it to twrp.img. Run the following commands via adb shell or a terminal emulator app:

su

dd if=/sdcard/twrp.img of=/dev/block/bootdevice/by-name/recovery

Changelog:

  • steadfasterX
    2017-06-21T05:06:19Z
    Merge "fix: decryption not working on AOSP/CM" into android-6.0

  • steadfasterX
    2017-06-20T08:09:41Z
    fix: decryption not working on AOSP/CM since I removed the firmware mount as vfat qseecomd was not able to find reequired firmware files like keymaster etc. The reason for the previously removal of mounting firmware as vfat was trouble in restoring it. The way it is implemented now will ensure that a backup will be done as image while still be possible to mount it as vfat when needed Change-Id: I9b54f95dc8331ef342e3ce3ce9782ae26c680d6f

  • steadfasterX
    2017-06-14T11:07:51Z
    new: h81x to g4 unify

  • steadfasterX
    2017-06-14T11:06:48Z
    h81x to g4 unify

  • steadfasterX
    2017-06-14T11:06:22Z
    re-worked README fix: removed some old stuff before tree was went official new: h81x to g4 unify