yashsingh1/xdaforums huggingface dataset:
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] EMSpilot:
Try the QuickBoot app in the playstore. Then you don't have to use buttons. I asssume it will work on the V20. I don't have mine yet.

Here is a download in case you can't find it. Uzip and there is 2 apk's. One is the app the other is the plus version. which you add after you install the app.

https://www.androidfilehost.com/?fid=312978532265368775

Cheers
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] shojus:
Gotcha, well I know there are several root apps that do this, but I will also try and figure out the buttons later myself.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] digitalart:
Nice and yet not at this level. IM still at unlocking bootloader lol :D

anyway where you put the commands. in the phone, in the windows cmd ?!

so everything cool I can connect phone to the computer and then im stuck so basically on step 1 dont know where run the commands
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] justthefacts:
I haven't started the process only because there has been no mention of dirtycow on any of the steps.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] slayerh4x:
Im asking cause I ****ed something up. My Google Play services was crashing every 3 seconds, so I went into TWRP and did a restore like you do in the guide and now cant activate my phone.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Kief_haring:
Are you getting this with the weird partly lit T-Mobile "crash screen"???
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Hamodi:
Hey mate sorry for offtopic, but can this method work with G5 too?

Any way to make it work??
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Rydah:
Yep
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] shojus:
From within your SDK folder open a command line on your computer

---------- Post added at 02:10 PM ---------- Previous post was at 02:09 PM ----------

You are on your way to being rooted w/TWRP
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Kief_haring:
Same thing. I just input Exit after I let it run for a bit. Then went to the next command.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Kanehoalani:
Ok sorry for being a noob but I am having some issues. I was following a video tutorial that was basically following this guide. Video tutorial is called "t-mobile g5 and v20 root tutorial works up to update ending in J" . Unfortunately I cannot post the link as I just made an accout to post this just now. I got to the point of following the github copy and paste and around the point where the phone should boot into recovery mode things started going wrong. First my phone did not reboot into anything the phone said there was no rom. Now my phone doesn't do that it just reboots normally. On top of that any time I enter a fastboot command I just get "waiting for any device" and I have to close adb fastboot. Now that last problem I have googled and found maaaaany solution to which none I have tried worked. Other than that there are a couple places I know I messed up. First off it was very hard to hear the video so the first time I did not "copy" the red asterisk I typed it in. Second is that I realized I didn't have zipped " no verify opt encrypt" nor the "sr5 superSU" folders in my adb folder. Again due to video quality. (Not knocking the uploader I am super grateful to anyone who would go out of their way to help people like me.) So my question is obviously probably more complex than I know given my experience but is there anyone who knows what may be going wrong or a way to start this whole thing over?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] maxi65:
I've unlocked the bootloader and flashed the twrp using the command "fastboot flash recovery twrp.img" but the phone is not booting recovery and says Software cannot be checked for corruption lock the bootloader"

But when i try to boot into recovery using cmd command "adb reboot recovery" it says no command

How can i fix it?

my device is lg v20 US996
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] vtdone:
Works great on H91810j. Thanks OP.:D
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] icherub:
I'm sorry in advance for this question, but there are hundreds of pages in this and related threads, and I only have a few days before I travel overseas, so my time is limited.

I just got a V20 today with 10d on it. It wants to download a new version, but I can't tell which version it will update to or how many updates it will go through. My daughter's Note 5 went through like 8 updates before it got to the most recent, but I don't want to risk getting to 10k and being unable to root. Should I got through the unlock/root version on 10d then update from there? And how can I make sure not to lose root on updating?

I've seen the modem and bootloader update thread, but is that enough?

TIA
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] moran679:
Can I update the phone software (stock ROM) after I am finished with this guide or will it remove root/brick phone?

Should I update my phone software before rooting?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] RelaxMan:
I made root, like in this recommendations, but i have recovery bootloop. i can't flash no one ROM. Every time after go to reboot system i have bootloop. What can i do?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] icherub:
To answer my own question, I flashed 10j from here and flashed it with LGUP. I had to update the LG drivers first. Then I followed the guide.

Two things came up: first, I had to use "MIDI" mode for USB, otherwise the device would stay offline in ADB. It was the only one that worked.

Second, it would really, really be a good idea to mention that no-verity-opt-encrypt or SuperSU needs to be in the device storage before booting into TWRP, given that you're stuck with corruption otherwise. I followed the guide linearly, so I did not have them when I rebooted to TWRP. Luckily, I was able to put SuperSU on a microSD and carefully put it in without disturbing the battery.

EDIT: I guess I spoke too soon. I see now that even though everything went smoothly, I am neither rooted nor with TWRP. I guess I'll have to do it again, now with another computer...fun.

EDIT 2: Went through the process again, this time without wiping data. Now I have a fully rooted phone. The directions should indicate that the wipe occur before installing SuperSU, not after. Or heck, do it before and after.

An odd thing, though, is that the TWRP manager app says there is no TWRP, but I can "ADB reboot recovery" into TWRP and I can boot to TWRP with "volume down+power" and ignoring the "wipe data" dialog (saying "yes").
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] CM-Tester:
Everything worked great... Thanks to OP... Had spend you a beer with paypal ;)
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Zaneithon:
Hello how do you disable hardware decryption on the v20 to make it stable as you mentioned in this thread??
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] dilligaf56:
Bootloader unlock: LGE Developer site hosed up

Just got an unlocked US996.

Trying to unlock the bootloader. Created an account at developer.lge.com - actually two accounts, since the first one didn't work - (from the link in the first post), so I can send them my device ID in order to get the unlock.bin file.

Well....it won't let me sign in to anything on the site other than "account management". Trying to go anywhere else kicks me back out to the login page.

Calling LG customer service gets me a clerk in the Philippines running off a script, who repeatedly says that "that is not an official LG web site. We can't help you." There is no way to call or even e-mail anyone connected with developer.lge.com, as no contact info is given on the site (even under "account management").

Does anyone have a link to someone I can contact to get past this issue (or another method) so I can get the bootloader unlocked?

Looked at the DirtySanta thread, looks like features are lost and there's a significant chance of bricking the phone (though it would be nice to keep the warranty).

Ideas? Thanks in advance.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] dilligaf56:
OK. Found a contact e-mail address a couple of layers down on the bootloader FAQ page (developer@lge.com) and sent a request (with the device ID), but they say on that page that they won't send the unlock.bin file unless you go through the site...and I can't seem to stay logged in on the site (which I also mentioned). We'll see.

One would think that they would be able to maintain a sign-in page on their site that actually works. <sigh>
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] dimm0k:
what browser are you using? I ran into the same problem with Chrome, but using IE I was able to log in and get my unlock
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] dilligaf56:
Tried with Chrome and Firefox on both Windows and Linux. Didn't think about using Internet Exploder, as I almost never do...will try it - thanks

---------- Post added at 03:19 PM ---------- Previous post was at 02:55 PM ----------

Tried it with Internet Exploiter inside a Windows VM. Amazing.....it worked - thanks.

One would think that a bunch of developers could design a web site that would work with two of the most used browsers on the planet, for fox' sake!!

Anyway, thanks again, much appreciated!!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] dilligaf56:
OK...got my unlock.bin file from LG. Now, I can't flash it.

adb start-server -> works

adb reboot bootloader -> as it should be

fastboot flash unlock unlock.bin ->

On Linux: <waiting for device>...nothing. On retry of adb reboot bootloader: device not found

On Windows:

D:\Android Phone Tools\adb reboot bootloader

* daemon not running. starting it now on port 5037 *

* daemon started successfully *

error: device unauthorized.

This adb server's $ADB_VENDOR_KEYS is not set

Try 'adb kill-server' if that seems wrong.

Otherwise check for a confirmation dialog on your device.

Pull battery, reboot phone - same thing on both OS.

Phone is in PTP mode, OEM unlock is on, USB debugging on. Phone reboots fine after battery pull, no bricking occurred.

Thoughts?

TIA

Edit: Apparently I need to delete the key, as I mistakenly checked "always allow from this computer" once. Will try later tonight.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] dimm0k:
are you doing this as root in Linux? you may need to connect and get the device recognized with USB debugging first before going into the bootloader
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Trever007:
Worked for me with slight changes to instructions

As another poster pointed out, there are some important things to know before following the original poster's instructions. They did work for me linearly with the following exceptions! The format must occur BEFORE you install the SU package as formatting erases the SU scripts that must run on reboot. You only need to format ONCE so do it as soon as you get into TWRP and THEN you can install SU. Also Make sure you copy the SU zip to external memory card beforehand as the format command will wipe all internal memory storage data. That's it! Everything worked great on my H918 with 10J firmware. I hear 10K is unrootable. Thanks again for your hard work making my phone rootable!

Also side note, it appears the only way to get into TWRP on this device is through the ADB reboot recovery command. Holding the volume & power button enters stock recovery/reset mode instead. Possibly due to the particular TWRP version supplied and the lack of official support as somewhat vaguely indicated by original poster and the fact that this phone is still not on the TWRP supported devices page.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] dilligaf56:
Was doing it as my regular user, also with sudo. Actually su'ing to the root user (thanks!) DID work to get the unlock.bin file flashed, so BL is now unlocked. :cool:

However, running into the same problem again when trying to push the dirtycow binaries to the phone. This occurs when phone is set to PTP or MTP mode, and when done as root or regular user.

[rcs@yoda: /win-d/Android Phone Tools/LG-V20]$ adb push dirtycow /data/local/tmp

* daemon not running. starting it now on port 5037 *

* daemon started successfully *

error: device not found

[root@yoda: /win-d/Android Phone Tools/LG-V20]$ adb push dirtycow /data/local/tmp

error: device not found

[rcs@yoda: /win-d/Android Phone Tools/LG-V20]$ sudo adb push dirtycow /data/local/tmp

error: device not found

Tried it again in Windows after deleting the key files in the user\.android directory. Didn't get the previous message about the keys but it still couldn't open the phone.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] dimm0k:
when you do a 'adb devices' do you see anything positive?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] dilligaf56:
First of all, my bad. Forgot to re-enable developer options/USB debugging after the BL unlock. Did that, now I get:

root@yoda:~# adb push dirtycow /data/local/tmp

* daemon not running. starting it now on port 5037 *

* daemon started successfully *

error: device unauthorized. Please check the confirmation dialog on your device.

root@yoda:~# adb devices

List of devices attached

LGUS996d77d4f98	unauthorized
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] dudeawsome:
anyway to root the H918 10p
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] waylo:
Deauthorize then reauthorize your usb adb devices.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] dilligaf56:
Thanks. Sorry for bothering you with that one, should have done a quick search.

In any case, I now am up and running with a fully rooted phone with TWRP installed.

Just a couple of quick ones:

(1) Any way to get rid of that annoying "Lock your bootloader" screen on boot?

(2) My phone is a NON-US Cellular unlocked US996. It came with Nougat version 10f installed. What is the latest stock version for *this* phone which is still rootable? Wondering if I should flash that, then re-root, as it would be nice to have the latest security updates, while still being able to root - or is it not worth the hassle? Was planning on sticking with the stock ROM for now, but will likely eventually flash a custom one.

Thanks all!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] dimm0k:
no, not possible to remove the message on boot unless you re-lock your bootloader losing all your work

10f is the latest for the unlocked US996. if you want the latest though, there's a 10h floating around here on the forums that I believe is for the US Cellular version that works for the unlocked as well. not sure if any functionality is lost from it however
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] dilligaf56:
OK, thanks again for the help. Will stick with rooted 10f for now.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Metaphysicalgrace86:
Newbie

So about 2 years ago I rooted my Galaxy S4 using Odin from a thread I saw on here. I recently got a V20 running 7.0 and H91810k. This process seems doable but im not 100% confident. Last time I did this simply from reading and I got it done in about 2 hours. I want to root my V20 and have the same freedom I had before. Just wondering if anyone here would be confident enough to go onto TeamView with me and root my phone or if there will be a more simplified process in the future. I've tried to watch videos and read as much as I can but somewhere along the line I find a large gap that requires previous knowledge or abbreviations that im obviously lacking in. Also having some trouble downloading these files and trying to figure out how to group them and when to add the additional files to the folder before flashing. Also whats a stable Rom that would be compatible with this after the process is complete?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Zacharee1:
First off, 10k is unrootable, but it can be downgraded. Find the 10d KDZ and flash it with LGUP, then find the EasyRecowvery thread. It's an automatic solution. 10i and 10j can also be rooted, but only manually.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] dreydizzle:
Alright so I just got this phone yesterday and was looking into rooting it but Im stuck at this part of recowvery:

"./dirtycow /system/bin/applypatch recowvery-applypatch"

I keep getting back: "127|elsa:/data/local/tmp $ ./dirtycow /system/bin/applypatch recowvery-applypatch

/system/bin/sh: ./dirtycow: can't execute: Is a directory" in cmd

Anything im doing wrong? Do I have the files in the wrong place because i have them all placed in the adb folder. How are you supposed to set up the folder for this part because im at a loss xD
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] kehres83:
Sorry, but after doing $ getenforce mine says (enforcing) instead of permissive what should I do

---------- Post added at 10:05 AM ---------- Previous post was at 09:48 AM ----------

After doing adb logcat -s recovery then hitting Ctrl+c ... I put in the adb shell reboot recovery command I get a little android guy and it says no command when I try to run the adb shell command it says error no device but after a while the phone restarts and I get the enforcing instead of permissive
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] oscarmaldonado:
Hello everyone, I hope somebody can help me with my issue, first of all I'm running window 10, I already installed LG drivers, unlocked my bootloader, I can reboot my phone using ADB commands, once my phone is in fastboot I can run fastboot devices and it recognizes my phone as a device, and fastboot getfav shows my bootloader as unlocked but when I try to use the script provided (copy and paste in ADB) it gives me an adb: error: connect failed: no devices/emulators found, and if I type fastboot reboot my phone will reboot back to normal. So some of the adb commands work so to me the drivers are properly installed right? I'm really sorry for begging for help but I just came from being for so long with the Samsung Note 2,3 and 4 and this is something totally new for me. Thanks in advance.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] waylo:
What phone do you have, and what version firmware is it on? This only works on firmwares made before the exploit was patched back in late 2016.

It sounds like you have the right drivers and such arranged. Make sure you are running with admin privileges also, seems to be an issue with some previous users here.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] oscarmaldonado:
Thanks for replying, I forgot to mention that part, I have T-Mo v20 H91810J. Thanks bud.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] waylo:
Okay, looks like 10J is still rootable. 10K is not.

What script are you referring to? An automated one somewhere? Or the dirtycow script?

I'd try the manual steps here and let us know exactly where it fails:

https://xdaforums.com/v20/how-to/instruction-to-root-h918-10i-t3536472
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] oscarmaldonado:
Yes, dirtycow script.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] oscarmaldonado:
Got it bud, thank you so much, and thanks for the link it was a big help as well.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] ragekillen:
Thanks bro

Successfully rooted, good by gay ass stock apps and hello beautiful :highfive: :p
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Csetoue:
Does anybody know if the US996 version that is selling on AliExpress is rootable and unlockable?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Fuzzybadfeet:
Help.

I'm brand new to this phone I have rooted other phones in the past but am having a difficult time with this I keep getting to the point where it says starting main and then nothing happens. I already unlocked the bootloader. Please please help. I have an h918 on t-mobile.

It stops at

--------- beginning of system

--------- beginning of main
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] oscarmaldonado:
Hello everyone, I'm already rooted, running stock rom and stock kernel ( H91810j). For some reason when I try to install a custom rom I end up in a boot loop which it takes me back to TWRP, I wiped ( factory reset ) with TWRP but there is no success, every time I have to use Uppercut to restore stock and I have to start all over with the rooting process, what am I doing wrong? Also TWRP asks me every time I reboot into recovery for a password. I'm confused. Thanks in advance.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] GreenDinoXD:
Hello all, I got recowvery and flashed supersu but now i would like to switch to magisk and need some help. When i enter recovery it asks for a password and i click cancel, but then it shows my storage as 0mb for internal and external, anyone know a fix, i thought supersu was supposed to fix this so now i cant flash magisk or anything, i cant even adb push the no verity thing because i get an error... Anyone know a fix for this issue? Also i am on the US99610D, and i get an update notification, anyone know if this will unroot it? thanks in advance for any and all help guys!!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] markmessier8888:
Sorry tobask guys but has anyone rooted their F800K korean version?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] benmuliono888:
steps for the newbie

hi i am new on this LG ..since i am using mi mix or samsung phone

my phone already unlock , is it neccesarry to do the step 2 before the step 3 ?

i am not understand the point of no 2 , please advise

Thank you
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] TheCoryGuy:
Okay so I'm getting a bit irritated. I can't get past the command in the "recowvery" instructions:

The phone just hangs, while the LG logo dimly shows on the screen.

I'm doing everything in this guide to the letter.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] ttabbal:
I suspect one of the previous commands is failing.

$ ./dirtycow /system/bin/applypatch recowvery-applypatch
"<wait for completion>"
$ ./dirtycow /system/bin/app_process64 recowvery-app_process64
"<wait for completion, your phone will look like it's crashing>"

What are the outputs on the screen when those run? The first time I ran one of them it failed. Note that it doesn't SAY it failed, it just doesn't say it succeeded.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] TheCoryGuy:
EDIT: install fails at the following command

Phone freezes.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] mking007cn:
For Linux， just install adb and fastboot tools and follow the guide u can do this. In this linux it's very easy to complete this mission.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] TheCoryGuy:
Okay, so I purchased the LG V20 US996 recently believing it could be rooted. Is this guide now dated? A lot of people are reporting the same issues that I am having (adb logcat -s recowvery FAILING) and if anyone else is like me and drops $400 for a phone to tinker with - it's worth knowing.

Please indicate on the home page that this method may OR may not work depending on current packages available.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] androiddiego:
This only works on firmware 10d thru 10j h918 tmo.

996 I don't know about your firmware.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] dimm0k:
works for me... depends what software version you're on. as long as your security level is not newer than Dec '16 you can uses these instructions
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] TheCoryGuy:
Anybody know about rolling back?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] majinawaz:
Can i use this guide for korean F800l?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] ozkaya:
since you have US966, have you tried the "usual" way to flash TWRP?

fastboot flash recovery twrp.img

I thought it was the way to go and you dont need dirty cow.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] jsminnis:
I just saw your comment and I will be receiving my us996 soon. So is this correct? Unlock bootloader via lg Dev site, then flash twrp the usual way then flash magisk or su of choice?