Step by step guide for lg v20 h918 unlocking, downgrading, rooting and twrp

Search This thread

hellboyborn

Senior Member
Apr 10, 2011
214
19
Superb guide. Downgrade from 20h to 10p, unlocked rooted without any problem. Not even single error occurred anywhere and everything went smoothly. Thanks kish9046 and other guys whosoever involved for making it so easy and putting out steps so clean.
 

Pheckphul

Senior Member
Sep 19, 2014
65
8
SF Bay Area
Moto G 5G
Hi.

I followed the guide without problems up to the step2.sh , after which I got an encryption error upon reboot.

I followed the tip about wiping. I dont know if I did something wrong, but now there's no OS to reboot to, and there isn't the backup I made earlier. I'm currently manually flashing twrp and magisk. Twrp works fine, but I keep running into error code 1 when I try to flash Magisk. I looked it up on google, and found that it might be due to the twrp version, or lack of OS? I dont know. The twrp version says it is 3.2 30. Im trying to install Magisk v16.0.

What steps should I take next?

Edit: During the Magisk v16.0 installer on twrp, the step the error occurs at is as follows:

- Repacking boot image
! Unable to repack boot image!
- Unmounting partitions
Updater process ended with ERROR: 1
Error Installing zip file '/sdcard/Magisk-v16.0.zip'

No, I'm not a necrophiliac. I ran into the same problem when using this guide today, and I solved it by replacing the Magisk v16 with v20.4 and editing step2.sh to point to the correct file.
 

Pheckphul

Senior Member
Sep 19, 2014
65
8
SF Bay Area
Moto G 5G
Use LGUP?

Using this guide I ended up with an H918 with download mode replaced by TWRP. Does this mean I can't use LGUP to install a KDZ file now? If I can't, how can I restore download mode?
 

CXZa

Senior Member
Apr 9, 2013
844
300
cxzstuff.blogspot.com
Probably you figured out this by now but just in case...

Using this guide I ended up with an H918 with download mode replaced by TWRP. Does this mean I can't use LGUP to install a KDZ file now?
Yes.
If I can't, how can I restore download mode?
There is a laf_restore.zip in this other thread. Maybe it helps?
 

TheMighyLoki

Senior Member
I have a new phone but I would like to still use the V20 for music, but I would like to root and go to a better OS. I got upercut up and running but I am getting this "error: 0x2000 h918p_00_0717.kdz file does NOT support "Refurbish" process". What am I doing wrong? Never mind I got my head out of my rear end. Click the correct button and all is well.
 
Last edited:

TheMighyLoki

Senior Member
Okay so I am down to part 3 and can not get the usb pen drive to load FWUL all the way it just stalls. So I tried to to just use adb I get errors. Need help.
This is what I am getting in CMD
C:\Users\******\Desktop\V20 Root\platform-tools>fastboot flash recovery "C:\Users\******\Desktop\V20 Root\platform-tools\big_twrp.img"
Sending 'recovery' (23536 KB) OKAY [ 0.621s]
Writing 'recovery' FAILED (remote: 'unknown command')
fastboot: error: Command failled.

12-19-2020. Still can not get anything to work. Tried the instructions to use dirty cow and I get down to
"adb push recowvery-app_process64" and to stops at --------beinnging main.

I am using Windows 10Pro and the V20 is on H918p? Any help would be great.
 
Last edited:

frohro

Member
Jan 24, 2014
21
0
LG V20
Help please!

I followed the instructions here, and got to the place where I was updating things. I updated TWRP using the app, picking the correct TWRP for the h918, and then I updated Magisk too using Magisk and the recommended way of installing. It flashed Magisk and I said it could reboot, and now it is in a bootloop. I can't get into recovery, download, or the regular OS. It will go into fastboot mode, but that is it. Does anyone have any ideas?

Thanks,

Rob
 

FeNo2

Member
Feb 26, 2014
29
6
San Diego, CA
TIP : IF YOU FACE ANY ENCRYPTION ERROR AFTER USING STEP2. SH, DO A ADVANCED FORMAT WITHIN TWRP AND FLASH MAGISK AND LATEST TWRP BY PHOENIX MANUALLY.

@kish9046 Could you elaborate a little more about the Advance Format (WIPE)?
When I select Advance WIPE in TWRP, it gives me a list of partitions, none of them are selected by default.
I've tried Data, Cache, Dalvik, and Internal Storage. Did not choose System.

Anyway, after choosing the ones I've mentioned above, and flashing the zip for Magisk, I still have the same encryption error.

Also confused about
FLASH MAGISK AND LATEST TWRP BY PHOENIX MANUALLY.
Isn't TWRP already flashed? That's where I just did the Advance Wipe from correct?

Thanks!
 

FeNo2

Member
Feb 26, 2014
29
6
San Diego, CA
@kish9046 Could you elaborate a little more about the Advance Format (WIPE)?
When I select Advance WIPE in TWRP, it gives me a list of partitions, none of them are selected by default.
I've tried Data, Cache, Dalvik, and Internal Storage. Did not choose System.

Anyway, after choosing the ones I've mentioned above, and flashing the zip for Magisk, I still have the same encryption error.

Also confused about
Isn't TWRP already flashed? That's where I just did the Advance Wipe from correct?

Thanks!


Ok, I cleared up some of the confusion myself.

On the main TWRP menu, there is Advanced, that is not what to choose.

From the main menu choose WIPE, then you will see 2 buttons:
  • Advanced
  • Format Data (Choose THIS), THEN type 'yes'.
Then back at the main menu I selected INSTALL and installed Magisk-v16.0.zip.

This fixed the Encryption error. I did not need to install TWRP, it still works.
 
  • Like
Reactions: SidneyD

FeNo2

Member
Feb 26, 2014
29
6
San Diego, CA
when i open a USB jump drive writer, it only see's the twrp.img file.
not the FWUL.zip i did download per instructions.
Are you using RUFUS to write the image file to your USB jump drive?

seeing as how i am already on a linux distro, is it possible for me to start at step 4, and use that FWUL.zip ?

From the original thread, the OP says this:
If you deviate from this procedure, and think: "I can just skip a step, or I can do this on my own Linux install". Don't complain if you brick your phone.

It's possible to use your own Linux install, but not recommended. The bootable jump drive image has safeguards built in, AND it downloads additional files. You're much better off using it.
 

zeroderp

Senior Member
Feb 2, 2021
103
11
Are you using RUFUS to write the image file to your USB jump drive?



From the original thread, the OP says this:


It's possible to use your own Linux install, but not recommended. The bootable jump drive image has safeguards built in, AND it downloads additional files. You're much better off using it.



so, one thing i just realized was the zip image was not a flash image,,like lineage17.zip,
it is a zip file that needs to be unzipped,,THEN it is a .img file that can be installed on a jumb drive

i derped out pretty hard on that.

you mentioned this fwul downloads aditional files????

PLEAS tell me the PC does not need to be connected to the internet while i am flashing the phone.....

am rebooting the programmer pc with fwul now....*scary music*
 

FeNo2

Member
Feb 26, 2014
29
6
San Diego, CA
so, one thing i just realized was the zip image was not a flash image,,like lineage17.zip,
it is a zip file that needs to be unzipped,,THEN it is a .img file that can be installed on a jumb drive

i derped out pretty hard on that.

you mentioned this fwul downloads aditional files????

PLEAS tell me the PC does not need to be connected to the internet while i am flashing the phone.....

am rebooting the programmer pc with fwul now....*scary music*

Sorry, it needs to be connected to the internet. It grabs a file from github. The flashing to your phone during that part is very quick. I don't recall what it's doing, but it's not anything large. I just did this last week, but I've kind of forgotten exactly what happens.
 

zeroderp

Senior Member
Feb 2, 2021
103
11
Sorry, it needs to be connected to the internet. It grabs a file from github. The flashing to your phone during that part is very quick. I don't recall what it's doing, but it's not anything large. I just did this last week, but I've kind of forgotten exactly what happens.


i am very much in a less then 3rd world country circumstance. connecting to the internet is almost impossible as it is under excellent circumstances. for me to reboot into a Live os, and then set up a full NIC config before the Live freezes, glitches out or other wise kicks me in the face is almost impossible.

i am guna try to make an install. drag copy everything from the install to my os. this arch distro is built super similar to parrot os, so i might be able to make something work.

time will tell.
 

zeroderp

Senior Member
Feb 2, 2021
103
11
so far i have a failed atempt at this point
--------------------------------------------------------------------------------------------------------------------------------

[email protected]:/home/lglaf$ cd lglaf
bash: cd: lglaf: No such file or directory
[email protected]:/home/lglaf$ sudo git checkout h918-miscwrte #for the TMO V20
error: pathspec 'h918-miscwrte' did not match any file(s) known to git

--------------------------------------------------------------------------------------------------------------------------------

the lafsploit is not able to "get" from the hub. looks like files have been removed?
now how do i get what i need?

took me an hour and a half to run less than 10 cmd lines.
not to mention thes fails are forcing me to unplug a phone while in download mode.

this is not fun.
 

zeroderp

Senior Member
Feb 2, 2021
103
11
any one know where i can download the file "h918-miscwrte"
looks like it is no longer on github


[email protected]:/home/lglaf# git pull
Already up to date.
[email protected]:/home/lglaf# git checkout h918-miscwrte
error: pathspec 'h918-miscwrte' did not match any file(s) known to git


hard thing waiting.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 44
    STEP BY STEP GUIDE FOR LG V20 H918 UNLOCKING BOOTLOADER, DOWNGRADING, ROOTING AND INSTALLING CUSTOM ROMS (NOOB FRIENDLY)

    DISCLAIMER: I'M NOT THE DEVELOPER OF ANY OF THE BELOW SOFTWARE'S AND YOU PROCEED WITH YOUR OWN RISK AS THIS INVOLVES BRICKING OR DAMAGING YOUR MOBILE IF THE PROCEDURE IS NOT FOLLOWED CORRECTLY. I'M JUST SHARING THE WHOLE PROCESS WHICH I HAVE FOLLOWED TO ROOT AND INSTALL TWRP IN MY LGV20 H918 UNLOCKED T MOBILE.
    AND I HAVE TESTED THIS IN MY OWN DEVICE AND WAS ABLE TO ROOT AND ACHIEVE TWRP.
    THIS IS ONLY FOR LGV20 H918 VERSION

    ENSURE INTERNET IS UP AND RUNNING IN YOUR PC

    EDIT: THE WHOLE PROCESS HAS NOW BEEN AUTOMATED IN TWO SIMPLE STEPS TO PREVENT ANY POTENTIAL DAMAGE TO YOUR DEVICE. THANKS TO THE LAFSPLOIT CREATOR BRIAN @runningnak3d.

    JUST FOLLOW THE PROCEDURE BELOW AND YOU SHOULD HAVE YOUR DEVICE ROOTED IN NO TIME

    1. BACKUP ALL YOUR IMPORTANT DATA BEFORE PROCEEDING.

    2.MAKE SURE YOU HAVE CHARGED YOUR PHONE TO AT LEAST 90 PERCENT

    CHECK YOUR PHONE SOFTWARE VERSION IN SETTINGS---ABOUT PHONE----SOFTWARE INFO
    IF IT IS ANYTHING BETWEEN H91810P TO H91810U MEANS IT IS ARB1 (ANTI ROLL BACK 1) AND YOU NEED TO USE LAFSPLOIT METHOD TO ROOT AND INSTALL TWRP,
    IF YOUR VERSION IS H91810O OR BELOW (ARB0), YOU CAN EITHER USE DIRTYCOW OR LAFSPLOIT METHOD FOR THE SAME.
    IF YOU ARE ON ARB1, PLEASE FOLLOW THE METHOD BELOW,

    PART 1: DOWNGRADING

    IF YOUR VERSION IS H91810 (Q, R, S, T, U) YOU NEED TO DOWNGRADE TO A LOWER VERSION ( H91810P) TO EXECUTE LAFSPLOIT.

    IF YOU ARE ALREADY ON H91810P, YOU STILL NEED TO RE FLASH THE H91810P KDZ AGAIN FOR THE LAFSPLOIT SCRIPT TO WORK CORRECTLY.

    DOWNLOAD H91810P KDZ FILE FROM BELOW
    https://androidfilehost.com/?w=files&flid=282709

    DOWNLOAD AND INSTALL ALL THE FILES BELOW IN YOUR PC
    UPPERCUT AND LGUP----
    http://downloads.codefi.re/autoprime/LG/Flash_Tools/LGUP/
    LG DRIVERS---
    http://tool.cdn.gdms.lge.com/dn/downloader.dev?fileKey=UW00120120425

    CONNECT YOUR MOBILE TO YOUR PC IN DOWNLOAD MODE (SWITCH OFF YOUR MOBILE AND CONNECT THE USB FROM PC WHILE HOLDING THE VOLUME UP BUTTON SIMULTANEOUSLY)

    RUN UPPERCUT.EXE WHICH WOULD OPEN LG'S UPDATER TOOL AUTOMATICALLY.
    INSIDE THE LG UPDATER TOOL, CLICK ON BIN AND SELECT THE H91810P KDZ FILE DOWNLOADED EARLIER.
    NOW SELECT UPGRADE AND FLASH
    ENSURE THE USB CABLE IS CONNECTED THROUGH THE FLASHING PROCESS AND WAIT FOR YOUR PHONE TO REBOOT AND THEN REMOVE THE USB CABLE.

    CHECK THE SOFTWARE VERSION AND ENSURE IT IS H91810P

    PART 2: UNLOCKING BOOTLOADER

    HEAD TO SETTINGS---ABOUT PHONE----SOFTWARE INFO (ENSURE IT IS H91810P)
    ENABLE DEVELOPER OPTION IN YOUR PHONE BY CLICKING ON THE BUILD NUMBER MULTIPLE TIMES
    NOW HEAD TO SETTINGS---DEVELOPER OPTIONS
    TURN ON OEM UNLOCKING, ENABLE USB DEBUGGING AND DISABLE 'VERIFY APPS OVER USB'
    NOW CONNECT YOUR PHONE TO PC AND OPEN ADB COMMAND CENTER PROMPT IN YOUR PC

    adb devices---->CHECK IF YOUR MOBILE IS CORRECTLY RECOGNIZED IN ADB
    adb reboot bootloader--->THIS REBOOTS YOUR DEVICE IN FASTBOOT MODE
    fastboot devices---->CHECK IF YOUR MOBILE IS CORRECTLY RECOGNIZED IN FASTBOOT
    fastboot oem unlock---->THIS COMMAND WOULD UNLOCK YOUR BOOTLOADER AND RESET's YOUR DEVICE.
    fastboot oem device-info OR fastboot getvar unlocked ----->THIS WOULD CONFIRM IF YOUR BOOTLOADER HAS BEEN UNLOCKED OR NOT.
    fastboot reboot-----> THIS WOULD REBOOT YOUR DEVICE

    IF THE BOOTLOADER HAS BEEN SUCCESSFULLY UNLOCKED, THE DEVICE WILL SHOW AN UNLOCKED BOOTLOADER WARNING MESSAGE WHILE BOOTING (THIS CAN BE IGNORED OF COURSE)

    PART 3: CREATING A BOOTABLE LINUX USB USING FWUL

    DOWNLOAD FWUL_v2.7_x86_64_15GB.zip FROM THE LINK BELOW AND EXTRACT THE IMAGE FILE SOMEWHERE IN YOUR PC.
    https://androidfilehost.com/?w=files&flid=214529

    DOWNLOAD RUFUS FROM BELOW AND INSTALL
    https://rufus.akeo.ie/

    INSERT A PEN DRIVE IN YOUR PC AND RUN RUFUS.

    INSIDE RUFUS SELECT THE IMAGE FILE AND SELECT START (AFTER SELECTING START SELECT DD MODE IN THE DIALOGUE BOX) TO CREATE A BOOTABLE PEN DRIVE (WARNING: THIS WOULD FORMAT YOUR PEN DRIVE)

    NOW YOU SHOULD BOOT YOUR PC FROM THE BOOTABLE USB STICK WHICH YOU HAVE JUST CREATED
    THIS WOULD MAKE YOUR PC RUN LINUX OS
    TYPE PASSWORD AS linux AND ENTER

    PART 4: INSTALLING TWRP AND ROOTING USING LAFSPLOIT

    BEFORE PROCEEDING ENSURE YOU BOOT YOUR PHONE AND DONE ALL THE BASIC SETTINGS

    NOW HEAD TO THE DEVELOPER OPTIONS IN YOUR DEVICE AND ENSURE OEM UNLOCKING AND USB DEBUGGING ARE SWITCHED ON.

    NOW CONNECT YOUR DEVICE TO THE PC (RUNNING LINUX OS FROM PENDRIVE) IN DOWNLOAD MODE (SWITCH OFF YOUR MOBILE AND CONNECT THE USB FROM PC WHILE HOLDING THE VOLUME UP BUTTON SIMULTANEOUSLY)

    DOUBLE CLICK ON THE LG FOLDER INSIDE FWUL DESKTOP
    INSIDE THAT, DOUBLE CLICK ON LGLAF(RUNNINGNAK3D) ICON WHICH WILL OPEN A TERMINAL
    ENTER THE BELOW COMMANDS

    git pull
    git checkout h918-miscwrte
    ./step1.sh


    THE ABOVE COMMAND FLASHES TWRP RECOVERY ONTO YOUR DEVICE.
    WAIT AND PULL OUT YOUR DEVICE WHEN IT ASKS TO.

    RECOMMENDED: NOW THAT TWRP HAS SUCCESSFULLY INSTALLED, YOU CAN MANUALLY FORMAT,FLASH LATEST TWRP RECOVERY AND USE ANY METHOD LIKE MAGISK OR SU FOR ROOTING.

    INSIDE TWRP RECOVERY. FIRST FORMAT USING WIPE--ADVANCED FORMAT--TYPE yes AND FULL DO A FULL FORMAT, THEN FLASH MAGISK AND THE LATEST TWRP RECOVERY BELOW.

    MAGISK ZIP DOWNLOAD:
    https://github.com/topjohnwu/Magisk/releases/download/v16.0/Magisk-v16.0.zip

    LATEST TWRP BY PHOENIX(H918):
    https://forum.xda-developers.com/v20/development/recovery-twrp-3-2-1-0-t3720239


    OR
    IF YOU ARE UNSURE ABOUT FORMATTING AND FLASHING, JUST USE THE BELOW COMMAND TO DO ALL THE WORK AUTOMATICALLY

    CONNECT YOUR DEVICE AGAIN IN DOWNLOAD MODE AND ENTER THE FOLLOWING COMMAND

    ./step2.sh

    THE ABOVE COMMAND FORMATS YOUR DEVICE AND FLASHES MAGISK TO ACQUIRE ROOT.

    TIP : IF YOU FACE ANY ENCRYPTION ERROR AFTER USING STEP2. SH, DO A ADVANCED FORMAT WITHIN TWRP AND FLASH MAGISK AND LATEST TWRP BY PHOENIX MANUALLY.

    YOU ARE NOW ROOTED WITH TWRP RECOVERY INSTALLED.

    REMEMBER TO BACK UP THE CURRENT ROM BEFORE FLASHING ANYTHING..... DO CHECK POST #2 FOR OTHER TWEAKS

    IF YOU WISH TO UPDATE TO LATEST STOCK (10U) AND KEEP ROOT AND TWRP, JUST FOLLOW THIS LINK AND DO REMEMBER TO ROOT USING MAGISK AFTER FLASHING THE ROM BEFORE YOU BOOT.

    https://forum.xda-developers.com/v20/development/rom-h91810q-stock-rom-twrp-flashable-zip-t3681312


    I WOULD LIKE TO THANK ALL THE DEVOLEPERS WHO HAVE CREATED THE ABOVE SOFTWARES WITHOUT WHICH THIS ISNT POSSIBLE.

    CREDITS:

    @autoprime FOR HIS UPPERCUT TOOL
    @steadfasterX FOR HIS FWUL TOOL
    @Phoenix591 FOR HIS WORKS ON TWRP RECOVERY

    AND FINALLY, @runningnak3d FOR HIS EXCELLENT WORK IN ROOTING OUR DEVICE :good:
    11
    WHAT NEXT?
    NOW THAT YOU HAVE ROOTED YOUR MOBILE, I WOULD RECOMMEND DOING THE BELOW TWEAKS FOR FURTHER ENHANCED EXPERIENCE....

    1.THERMAL THROTTLING
    IF YOUR ARE STILL ON A STOCK BASED ROM , I WOULD STRONGLY RECOMMEND TO RECONFIGURE YOUR THERMAL FILE TO PREVENT ANY POSSIBLE LAG WHEN USING EXTENSIVELY...

    FIRST DOWNLOAD THE FILE BELOW:
    https://drive.google.com/file/d/0B0W3xXHgfOxvLUpKNWhrWDE0TDg/view


    USE A ROOT EXPLORER (PREFERABLY ES EXPLORER) AND GO TO ROOT/SYSTEM/ETC.
    YOU SHOULD HAVE A FILE NAMED thermal-engine-8996.conf
    RENAME IT TO thermal-engine-8996.conf.bak (JUST FOR A BACKUP IF ANYTHING GOES WRONG)

    ENSURE THE ABOVE DOWNLOADED FILE IS IN .conf FORMAT
    IF IT ISN'T , RENAME TO thermal-engine-8996.conf
    NOW SAVE THE FILE TO THE SAME DIRECTORY VIZ ROOT/SYSTEM/ETC
    GIVE PERMISSION TO THIS FILE TO rw-r--r-- USING THE ROOT EXPLORER ( SELECT FILE--->PERMISSION--->READ WRITE, READ, READ)
    FINALLY SAVE AND REBOOT.

    THIS WOULD OVERWRITE THE THERMAL LINKED PERFORMANCE OF THE CPU TO AVOID ANY LAG WHEN USING EXTENSIVELY.

    2. RCTD REMOVER

    ALSO I WOULD STRONGLY RECOMMEND TO REMOVE THE LG'S RCTD CCMD AND TRITON MONITORS AS THESE WOULD RUN CONTINUOUSLY IN A ROOTED LG PHONE AND CONSUME LOT OF RESOURCES...
    JUST INSTALL THE RCTD REMOVER APP FROM BELOW LINK:

    https://labs.xda-developers.com/store/app/com.zacharee1.rctdremoverforlg

    GRANT SU PERMISSION AND CHECK THE DESIRED FILES (I CHOSE ALL THREE FILES) AND CLICK ON PATCH, FLASH IMAGE AND REBOOT (THIS WOULD PATCH THE BOOT FILE, SO AGAIN IT IS ADVISABLE TO CREATE A BACKUP OF THE CURRENT BOOT IMAGE USING TWRP OR WITHIN THIS APP ITSELF)

    3. SCREEN CALIBRATION:

    https://play.google.com/store/apps/details?id=com.grarak.kerneladiutor

    INSTALL KERNAL AUDITOR APP FROM PLAY STORE AND GRANT SU ACCESS
    CHANGE THE BELOW VALUES WITHIN THIS APP (SCREEN SETTINGS)
    Minimum RGB value = 35
    Saturation Intensity = 27
    Screen Hue = 1520
    Screen Value = 112
    Screen Contrast = 132

    THIS WOULD SOMEWHAT REDUCE THE BLUE TINGE AND GHOST APPEARANCES OF THE SCREEN

    CREDITS: @Holyman007 for his thermal tweak @Zacharee1 for his rctd remover app
    6
    I was just about to create a post asking for a step by step for dummies so thank you very much for this! Going to do this sometime tomorrow or Tuesday and will update if I succeed or not. :good:

    Got a question. Does this method stop the second screen from working?

    this would end up with a stock rooted phone with twrp recovery if all the methods are correctly followed..
    ......final result would be.... you would end up with a rooted stock rom with a twrp recovery....

    your second screen will work perfectly.....

    please let me know if you need a different thread for installing custom rom, and to reduce the lag., install sound mod to get maximum sound output and customize second screen... i will create a noob friendly thread for these as well......
    4
    All this stuff can be found already in the forums so you posting guides is redundant js

    Sent from my LG-H910 using XDA Labs

    Thanks for the suggestion... but i thought this would help noobs like me to explore more about our device without doing any harm to it.....
    4
    Glad someone actually laid it out step by step.