LG recently published the official Bootloader unlock tutorial for the LG G5 (H850). You can follow this guide to unlock the bootloader of your LG G5. If you have successfully unlocked the bootloader of your LG G5, you should be waiting for a method to root your device. Here is a step by step guide to Install TWRP and Root your LG G5.
Before starting with the procedure you must backup all your files/data to your PC. Proceeding with the below guide will wipe everything off your device. Also, there is no way to install the stock unrooted system as of now, so proceed if you are confident about staying rooted.
LG G5 (H850)
ADB and Fastboot
LG USB Drivers
Steps To FollowStep 1. Setup ADB and Fastboot on your PC using the guide linked above. Open Minimal Fastboot and ADB on your PC.
Step . Download the SuperSU.zip file from the link given above and copy it to the external SD card to avoid any issues. Do not set the external SD up as adoptive storage.
Step 2. Enable Developer Options in the Settings application of your LG G5. To do so open Settings app >About Phone> Software Info, then tap Build Number multiple times (7 times to be exact). This will give you a toast notification saying “You are now a Developer“.
Step 3. Now open the Developer Options and enable the option that says USB Debugging. Then connect your phone to your PC using a USB cable.
Step 4. Now type the following command in the Minimal ADB and Fastboot window to Reboot your device into Bootloader mode:
adb reboot bootloaderStep 5. Download the TWRP .img file from the link given above and copy it to the Minimal ADB and Fastboot folder. Now type the following command to install TWRP on your LG G5:
Step 6. Now you must boot your device into TWRP for it to stick to your device. If you boot your device into Android TWRP would be replaced with a stock recovery. To do so, unplug the USB cable and remove the battery. Reinsert the battery and boot into recovery mode:fastboot flash recovery twrp-3.0.2-0-h850.img
- Press and hold Volume down button and the Power button simultaneously.
- As soon as you see the LG logo on the screen. Let go of the power button then quickly and press it again (never letting go of volume down).
- Keep holding until you see the Factory Reset screen. Click through the factory reset screens, clicking Yes.
Step 8. Reboot to System.
Congrats! You have successfully rooted your LG G5. Enjoy rooted device and customize it according to your needs.