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!

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.

Download Links:


LG G4 (any model):

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.

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 officially unlocked by LG before it can flash custom images! (Hint: There is a completely unsupported method available for locked devices here: TWRP-in-FIsH for all locked G4 devices like: H810, H812, H818, ...)

To unlock your device 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!

Fastboot Installation Method (RECOMMENDED method! No Root Required):


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)

It is highly recommended to verify your TWRP installation by booting into Android NOW. When Android is booted up execute: adb reboot recovery
or in an Android terminal app just execute: 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!

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