[HOWTO][H815] Complete Guide to Unlock Bootloader + TWRP + Root + Xposed + ViperFX

shockwacke

Member
Mar 28, 2015
8
0
0
Is there a way to downgrade my phone from v20g to v20d? I'm really new to these rooting stuff so I'd really appreciate if you explained how can I do that thanks
 

htr5

Senior Member
May 18, 2014
357
238
73
Is there a way to downgrade my phone from v20g to v20d? I'm really new to these rooting stuff so I'd really appreciate if you explained how can I do that thanks
1. Download LG UP Tool from here: http://www.filedropper.com/g4
2. Make sure you install the drivers from here: http://oceanhost.eu/e4h2px4e0hkd/LGMobileDriver_WHQL_Ver_4.0.4.exe.htm
3. Download this large KDZ file: http://downloads.codefi.re/autoprime/LG/LG_G4/H815/H81520D/LG-H81520D-Flashable.COMPLETE.zip
4. Use the LG UP tool to install the KDZ file to your phone. It should be pretty self explanatory.
 

joriq

Senior Member
Aug 11, 2009
792
199
63
Podgorica
I did this procedure a few months ago, all ok! Now there is an official update to v20g, the phone started downloading it automatically! I cancelled the download, so what is the correct procedure for upgrading, without losing root and do I have to reinstall custom kernel as well?
still lookinf for info on this: can I upgrade from 20d to v20g without losing data and root?
 

GTRule

New member
Aug 17, 2016
4
1
0
On 6.0 Android is more secured and so to install recovery you have to either boot the recovery, flash custom kernel, then flash recovery or unpack boot.img from a custom kernel, flash it via fastboot, then flash recovery and lastly full kernel package in recovery. Better if you include this in your guide because many people will be asking "why my recovery is not booting?" and that's what we don't want. :) I've repeated this about 50 times or more and finally I will not have to. :p
I think "why my recovery is not booting?" happened to me.... after doing the exact steps of the guide (booted the recovery and then flashed it) i found myself not being able to access it (red exclamation mark etc etc). Could you briefly explain how to fix this so that i can keep on the proccess? flash custom kernel (how to - which kernel?)
 

Adam Myczkowski

Senior Member
Aug 29, 2015
451
373
83
I think "why my recovery is not booting?" happened to me.... after doing the exact steps of the guide (booted the recovery and then flashed it) i found myself not being able to access it (red exclamation mark etc etc). Could you briefly explain how to fix this so that i can keep on the proccess? flash custom kernel (how to - which kernel?)
I always used SimpleGX kernel. What you wanna do is download it but instead of flashing zip extract it, take only the boot.img from it and flash it via fastboot, then just flash twrp again and it should boot up. To make sure best stability I would recommend flashing whole kernel zip package after you get recovery to work.
 
  • Like
Reactions: htr5 and GTRule

GTRule

New member
Aug 17, 2016
4
1
0
I always used SimpleGX kernel. What you wanna do is download it but instead of flashing zip extract it, take only the boot.img from it and flash it via fastboot, then just flash twrp again and it should boot up. To make sure best stability I would recommend flashing whole kernel zip package after you get recovery to work.
Thank you so much for the info, as you said flashing boot.img and then reflashing TWRP worked and now i can access my TWRP recovery.
 

bvannier

Senior Member
Apr 9, 2009
368
70
48
Paris
Everything went right, I ran a perfect 20D flashing H81520D_00_0115.kdz with LGUP
but... I can't use my TWRP (3.02) booting normally when wanted.
I have an error message : Failed to mount '/system' (no CSI structure available)
So I can't flash and I am not not able to back-up anything...
Trying to google this error message, absolutly nothing. Any help would be appreciated
 
Last edited:

htr5

Senior Member
May 18, 2014
357
238
73
I have just done successfully the first two steps (1. official unlock bootloader, 2. install the latest TWRP). For the root, can you please clarify what is the difference of BETASuperSU and UPDATESuperSU? In the following link says that you must be already rooted to install the SuperSU http://forum.xda-developers.com/showthread.php?t=1538053.
At the moment I am not yet rooted. Which file should I install from the TWRP for rooting my LG G4 V20D?
Sorry for the late reply and confusion.

1) Download this file and put it on your phones storage: https://download.chainfire.eu/897/SuperSU/BETA-SuperSU-v2.67-20160121175247.zip
2) Make sure you have enabled USB Debugging again
3) Now with your phone on and plugged in, enter recovery by opening adb as before and entering "adb reboot recovery".
4) Once in the recovery, press 'install' and then browse to the file we just downloaded.
5) Swipe to flash.
 

htr5

Senior Member
May 18, 2014
357
238
73
Everything went right, I ran a perfect 20D flashing H81520D_00_0115.kdz with LGUP
but... I can't use my TWRP (3.02) booting normally when wanted.
I have an error message : Failed to mount '/system' (no CSI structure available)
So I can't flash and I am not not able to back-up anything...
Trying to google this error message, absolutly nothing. Any help would be appreciated
If I am right, are you trying to mount your external SD card?

I have had problems with TWRP and the external SD card so try the USB connection and put the file your trying to flash on the internal storage.

• If you can't get into recovery, try pulling out the battery and USB cable and then put just the battery back in. Now Press and hold the volume down and power buttons together. Then first LG logo should appear. Now continue holding the down button but release the power button for one second and then press it again and hold.
You should now see a screen asking you to wipe everything. Navigate with the down arrow and press the power button for both screens. This should now take you to TWRP recovery and NOT actually wipe the phone.

• If you cannot get the phone to turn on into the normal system then follow the above steps to get into the recovery and then you will need to download the following onto the phone: http://downloads.codefi.re/autoprime/LG/LG_G4/H815/H81520D/LG-H81520D-Flashable.COMPLETE.zip [1.5GB]
Once in the recovery, you are able to connect the phone to the computer for regular data transfer in order to transfer the file. (I had problems with the microSD card so I would avoid it).

• If your phone is still not turning on and won't go into recovery then try following this guide: http://forum.xda-developers.com/g4/general/guide-lg-g4-stock-firmware-to-stock-kdz-t3107848
 

htr5

Senior Member
May 18, 2014
357
238
73
I get a Device ID unmatched error.....
If you are sure you have followed the steps correctly, then I would try again from the beginning.

If it doesn't work, you will have to contact LG about this. This could be because you're device is from a country that can't be bootloader unlocked by LG or because your device id and IMEI do not match on the LG database.
 

krutik66

Senior Member
Jul 24, 2010
161
22
0
Yes device id and imei dont match. I have same problem when try unlock my H815 after repair because bootloop. Contact lg via email and wait for reply when they say try again obtain unlock.bin.then follow unlocking

Odesláno z mého LG-H815 pomocí Tapatalk
 
  • Like
Reactions: htr5

bvannier

Senior Member
Apr 9, 2009
368
70
48
Paris
Think you for trying to help... But English is not my native language...
So, I was running a perfect lollipop with bootloader debloated and rooted. I decided to try Marsmallow, flash with LGUP a kmz rom, V20D-EUR-XX.
Then I flashed with fastboot TWRP 3.02. Everything rocks so far. My LG G4 h815 is flying, smooth and battery friendly.
It's rooted, for exemple I can change easily a recovery TWRP with Flashify, coming from 2.07 to 3.02 in a second. Boot on it and have access to TWRP. Everything seems functional. The only problem is when I try to back-up or flash any .zip. I have an error message after trying those operations :LGUP error code Failed to mount '/system' (no CSI structure available)
or translated in french, Echec du démontage '/system' (no CSI structure available)
Any ideas what means exactly those error messages? and how to fix them?:confused:
Kindly yours from an old man;)
If I am right, are you trying to mount your external SD card?

I have had problems with TWRP and the external SD card so try the USB connection and put the file your trying to flash on the internal storage.

• If you can't get into recovery, try pulling out the battery and USB cable and then put just the battery back in. Now Press and hold the volume down and power buttons together. Then first LG logo should appear. Now continue holding the down button but release the power button for one second and then press it again and hold.
You should now see a screen asking you to wipe everything. Navigate with the down arrow and press the power button for both screens. This should now take you to TWRP recovery and NOT actually wipe the phone.

• If you cannot get the phone to turn on into the normal system then follow the above steps to get into the recovery and then you will need to download the following onto the phone: http://downloads.codefi.re/autoprime/LG/LG_G4/H815/H81520D/LG-H81520D-Flashable.COMPLETE.zip [1.5GB]
Once in the recovery, you are able to connect the phone to the computer for regular data transfer in order to transfer the file. (I had problems with the microSD card so I would avoid it).

• If your phone is still not turning on and won't go into recovery then try following this guide: http://forum.xda-developers.com/g4/general/guide-lg-g4-stock-firmware-to-stock-kdz-t3107848
 
Last edited:

htr5

Senior Member
May 18, 2014
357
238
73
Think you for trying to help... But English is not my native language...
So, I was running a perfect lollipop with bootloader debloated and rooted. ...
I would only use LG UP to flash Kdz files. Now you can uninstall that from your computer.

To flash a zip, use TWRP. You should also use TWRP for backups.

Have a look at the attachments; the first is how to flash a zip and the second is making a backup.

Sorry if I have misunderstood and you know how to do these.
 

Attachments