TWRP aka team win recovery project custom recovery is now available for the LG G5 thanks to team win. This means we LG G5 users can tweak anything and everything on the LG G5 using G5 tweakbox and flash custom ROMs on it as custom recoveries like TWRP open gates for these things.
It shall be noted that in order to flash the ROM, you will have to unlock bootloader of LG G5. After that, download the TWRP for LG G5 from here and install it using this command to flash it. Use ADB on your PC to flash it.
fastboot flash recovery twrp-x.x.x-x-h850.img
Here are the features of it:
* MTP support
* USB Mass Storage support
* Micro SDcard and USB OTG storage support
* f2fs file system support (read, write, format, backup & restore)
* exFAT file system support (read, write, format)
* NTFS file system support (read, write)
* ADB root
* Full SELinux support
* Built in android 6.0 tree
You can also root LG G5 by download super SU by chainfire > go to into TWRP > transfer Super SU to your device over MTP > flash it using install feature in TWRP. No need to follow TOT method to root G5.