Flashing custom recoveries helps an Android phone user to do more than the stock Android recoveries. The limited functionality of the stock recovery is the reason why custom recoveries rock in the Android recovery world. Gone are the days when people preferred flashing custom roms over the stock firmware because, these days, the stock firmware already comes up with most of the functionalities.
However, many people still prefer tweaking their phones by flashing custom kernels, Some also prefer installing custom roms over the stock firmware. Installing custom roms and kernels become easier with the availability of the custom recoveries. In this guide, I’ll be guiding you with the steps to flash the TWRP recovery on the LG G4, so that you can try playing with your device.
Steps to Flash TWRP Custom Recovery on LG G4.
While installing the TWRP recovery on your LG G4, you will have to unlock the bootloader of your phone and unlocking the bootloader may void the warranty of your LG G4 and there are some issues that might occur in case the steps are not followed correctly. This steps are followed at the risk of your own, neither Droidmen, nor the author would be responsible for the damage in case it happens.
Step 1: Download TWRP Recovery File & Android SDK Tools.
TWRP recovery is the custom recovery which we are going to install on the LG G4, Android SDK tools come with platform tools “ADB & Fastboot” which will be interacting with your smartphone. Without any of these, you won’t be able to install the custom recovery on your G4, Hence, it is recommended to have them ready before downloading things.
Step 2: Place the TWRP Recovery in the ‘Platform Tools’ Folder.
Go the location where you’ve stored the Android SDK. In the location where you’ve stored the Android SDK, you will find a folder ‘Platform tools’. Open that folder and copy/cut & paste the TWRP recovery in it.
This will make the process of installing the recovery easier, you can also do that without “copying” the recovery in the Platform tools folder, but then you will have to set the environment variables on your system to proceed. so it is recommended that you just transfer the ‘TWRP recovery file’ to the Platform tools folder inside the Android SDK.
Step 3: Connect the LG G4 to the computer system using the original USB cable.
Once done with the transferring of the recovery inside the platform tools folder, connect your phone to the computer using the USB cable. Now open the Platform tools folder, Press the right click button on mouse and at the same time also hold shift key and you will see ‘Open a command prompt window’ option, click on it.
Step 4: Unlock Bootloader on LG G4.
Now, once you’ve connected the device and opened the command prompt, it’s time to boot your device into the bootloader to unlock it. Type/Copy the below line in the command prompt window you opened in the platform tools folder.
adb reboot bootloader
If it boots your device into the bootloader, you will see that your device got turned off and something would happen on the screen, in some cases there are chances that it might show device not found, in such cases, it is recommended to re-install the phone drivers on the computer system and proceed with the steps.
Step 5: Unlock the Bootloader on the Phone & Flash TWRP Recovery.
Now on the phone it will ask you whether you want to unlock the bootloader? Click on Yes/Ok which means you want to unlock the lock by OEM. Once done, again get back on the PC.
Now on the command prompt which is open on the computer system you are required to flash the “TWRP Recovery”. To Flash the recovery type the below code:
fastboot flash <name of the recovery> [if you alter the name of the recovery image file.]
fastboot flash twrp-220.127.116.11-h815.img [if you've not altered the name of the recovery image file.]
Step 6: Reboot into Recovery mode.
Once, you’ve flashed the recovery, you are supposed to check whether the recovery is installed on the phone or not, to check whether the custom recovery is installed successfully or not. In the command prompt type the below line:
fastboot reboot recovery
If it’s installed, you will see the recovery screen on your phone, now you are free to do many things on your phone, however, in case you aren’t able to see the custom TWRP recovery screen on your LG G4 then there are chances that some issue has occurred. Do get in touch with the problem you are facing and we will try to resolve the issue you are facing.