

Put the battery back in your phone and boot into recovery mode directly.Now disconnect your phone from your PC and plug out the battery.Now in the command window, enter the following commands one by one.

Now connect your LG G5 to your PC and open the Minimal ADB and Fastboot.exe from your desktop or open the command window using the instructions listed in the Minimal ADB and Fastboot guide.Enable OEM unlocking and allow USB debugging on your phone.Download SuperSU.zipfile and copy it to your LG G5’s external storage.Copy the renamed twrp recovery.img file to the Minimal ADB and Fastboot folder that you’ve got in your Windows installation drive.Now download the TWRP Recovery.img or the TWRP Recovery.img file and rename it as twrp.img only.Make sure that you’ve unlocked the bootloader of your LG G5.

How to install TWRP Recovery and Root the LG G5 on Nougat now Unlock the bootloader of your LG G5 by following the instructions on LG’s official bootloader unlock page.Download and install LG USB drivers on your computer.Download and install Minimal ADB and Fastboot drivers.Use OEM data cable to establish connection between your PC and your phone.Also, enable USB debugging on your phone as well. Backup your important contacts, sms messages, call logs and also copy your media content to your PC.Charge your LG G5 up to 50% to ensure power backup during flashing process.Check your device’s model number in Settings > About device.

Do not try this on any other variant of the LG G5 or else you will result in bricking your device.
