yashsingh1/xdaforums huggingface dataset:
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] dondadah88:
forgive me i havent typed here in a long time. this is what i did to make it. tmobile version. when it says waiting for device. go to device manager and choose the kedocom driver and uninstall and press delete driver. when it deletes press scan computer for hardware changes and it works perfectly fine. everytime you do a command. i also had the device on the last choice instead of ptp.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] xLegacyGT:
Successful root and recovery, thank you very much. I literally followed his instructions step by step with no problems. T-Mobile carrier.

---------- Post added at 04:21 AM ---------- Previous post was at 04:19 AM ----------

I flashed SuperSU first then formatted data and I still have SuperSU.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] pro_granade:
Do we have any devs in this thread, or should I be PMing OP? I have a few ideas. I just want to clarify them before I start to work on them.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Darriousx:
Have root on T-Mobile variant!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] jun19inf:
Is that error popping up after reboot the phone or as you are installing supersu?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] dondadah88:
yes i unlocked my boatloader. the rest i can not get. i guess ill wait for a script or something
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] vibrantliker:
I'll be looking forward to that guide!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] czerdrill:
If i wipe data in twrp it's still going to let me get into the system right? It's not going to tell me no os is installed like if i had a custom ROM? I think i need to wipe to get rid of this password it's asking me for
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] rickberg:
Are you sprint or tmobile? If your sprint or att I have a thread dedicated to this in the lg guides and discussions Im not by any means a coding or scripting dev but I will help out the best I can
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] pro_granade:
I'm Sprint.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] ErickF:
Not sure if its ok to post this here or not but are we able to use xposed after rooting through this method?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] justthefacts:
adb push dirtycow /data/local/tmp

Error: Device null not found

What am I doing wrong? driver up to date. adb up to date
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] basicmods:
so the fastboot oem unlock command does not work on the US Cell version of phone (LGUS996) -

gives 'FAILED <remote: unknown command>' error when attempting 'fastboot oem unlock' command after rebooting into fastboot.

I'm a noob though so maybe it's a US Cell thing or maybe its me - i do see the device in fastboot devices though. Maybe there will be some progress on this when everyone gets their unlocked ones from B&H/Newegg.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Darriousx:
There is no xposed for Nougat yet.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] justthefacts:
Where are we suppose to put these files?

dirtycow

recowvery-applypatch

recowvery-app_process64

recowvery-run-as
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Darriousx:
This is from his site he op linked for instructions:

adb push dirtycow /data/local/tmp
adb push recowvery-applypatch /data/local/tmp
adb push recowvery-app_process64 /data/local/tmp
adb push recowvery-run-as /data/local/tmp

Also run adb devices. You should have your listed. If not then make sure you have USB Debugging enabled in Developer settings and transfer mode set to Photos.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] ErickF:
has anyone been succesful in installing adaway or any other ad blocking app? mine installs but doesnt load
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] justthefacts:
When I run adb devices I get list of devices attached but there is nothing there. I have USB Debugging enabled in Developer settings and transfer mode set to Photos.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Darriousx:
It's then gotta be a driver issue man.. Try different USB ports as well.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] joeygee23:
At risk for a full flaming... Im lost in this process, having been spoiled using Odin for years.. Could someone provide a "not so noob" guide to to this process? It would be greatly appreciated.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] captaindoobers:
Same here. After I grant root access the app freezes. Happens with Adaway, Titanium, Busybox, Quick Boot, etc. I followed the instructions in the OP, have TWRP installed and didn't have a problem flashing SuperSU so I'm not sure what else to do
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] UniX1rm:
Thank you. Rooted and restored my titanium backup from my note 7. All working good. I was missing the $ in the guide by adding it in the cmod Duhhh!!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] planetbeen:
I think the reason there isn't a guide yet is because it's just too soon. If you wait a bit I'm sure someone will get one up. This is all happening in like the past day or 2. I don't think it's been long enough for guides to start popping up.

Just my opinion...
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] mr turtle droid:
to all the people sayings it impossible just read a little more..download the files that the guy said youll need (new binarys) this will include all the files needed, move them to a folder and install adb system wide.then hold shift and right click in a blank spot in the folder that has all the files.run all the commands he listed and youll be rooted...simple.installing the recovery is a seperate line of code but he has it listed in the instructions.and you will absolutely have to type the commands out when using adb shell,so if you get an error then go back through and proof read your code and youll figure it out
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] yugendreams:
I was able to flash TWRP with the new files that were updated. The only issue I've been having has been reported by another user but not solved as far as I can see.

That being that it asks me to decrypt my device. I never encrypted it to my knowledge. I even went in to make sure it was disabled and even removed my lockscreen and everything. When I did that it went from being a patter to a password. If I hit the check mark nothing happens, if I hit cancel it will go to the "swipe to allow modifications" but won't mount anything so I have no access.

Thanks!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Sistum Id:
Thank you good sir! :good:
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] ErickF:
It now works. Flash the systemless hosts file from this link
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] czerdrill:
I was able to solve my issue doing the following. Hit cancel. Go to wipe, and factory reset. Go back to wipe and choose the format data option. It'll ask you to type the word yes.

Once you do this you'll be able to flash su. Obviously the data wipe will wipe your internal storage so i put the su file in my sd card and copied it to internal after the wipe. After you flash su, reboot and set your phone up like new.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] aaldiar:
I installed the opt out, installed SuperSU, wiped Data, when phone reboots it goes to a screen that says "encryption unsuccessful", with a reset button. I'm not new to ADB/fastboot commands, and have been rooting phones a long time. I am unable to get back into recovery or do anything. Has anyone run into the same issue?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] mr turtle droid:
yea im running into that now..i even know the key combo to get into recovery and fastboot and nothing works...if i boot into recovery it just runs through the factory reset script..
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] kibmikey1:
Unlocked and rooted with TWRP!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] czerdrill:
Which app you use? I tried emoji switcher but that didn't do it
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Sistum Id:
Just wondering, is there any way to unroot and revert back to normal?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] ErickF:
I had the same issue. when you press to reset button when the phone boots it should reboot and for a short time go to recovery and try to write some commands, right? if it does like mine did then what i did to fix it was boot up the phone and wait for the page saying encryption unsuccesful to popup and on the computer have the adb reboot recovery ready to go so when you press the reset button and the recovery menu pops up press enter on the computer before it goes away and it should send you to the regular recovery menu. from there you should go back to wipe and press the format data button where you have to type yes to erase everything. let me know how it went.

you will have to reflash the supersu but it should now be working like it should
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] mr turtle droid:
i get device not found null
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] aaldiar:
Thank you so much!! it worked!! Setting up phone now.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] ErickF:
are you doing it after you press the reset button and the device reboots and pops up with twrp for a few seconds? do it when you hear the device connect to the computer while the twrp pops up. do it quick so it doesnt go away. make sure you pre-type the adb reboot recovery in the command windows so its ready.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] mr turtle droid:
i get nothing....
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] ErickF:
idk what to say. it should work. keep trying. do you hear the phone connect to the computer when its in the twrp window?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] yugendreams:
I don't have an sd card so I just wiped it and formatted it. Still having the same issue after setting up and going back to recovery. :(
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] mr turtle droid:
i dont hear anything when the window pops up..
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] ErickF:
sorry to hear that. idk whats wrong then. hopefully someone else can help you out. if its the same issue as mine that was how i fixed it
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] mr turtle droid:
well i hear it being detected now...just doesnt run the adb command
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] ErickF:
make sure you press enter to the adb command as soon as you hear it connect to the computer. it immediately turned off and it went to the main recovery for me
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] mr turtle droid:
i guess im ****ed then...great
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] varun.gid:
i'm getting an unlocked international variant in a couple of days.. will this work on that too?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] kibmikey1:
I installed ad away but before I enabled it I went into preferences and changed the target hosts file from /system/etc/hosts to /data/hosts so that it would load correctly.

---------- Post added at 11:38 PM ---------- Previous post was at 11:36 PM ----------

confirming that the build.prop trick to enable Google Assistant works as well!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] aaldiar:
Make sure you look at your phone and have the "adb reboot recovery" (without quotes) typed into the cmd window after you press 'reset'. as soon as you see the TWRP window show up and be ready for as soon as you see the actual attempt to reset. once you do that follow the dude's instruction. worked for me no problem.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] wing_addict_usa:
I've seen this issue on nexus devices. If you don't reboot after unlocking the bootloader, it keeps doing that.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] yugendreams:
Is anyone else having issues with being prompted for a password to decrypt? I can't seem to get anything to mount and I can't figure out what to do when it prompts me for a password.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] bezeek:
Or relock and unlock from fastboot, then flash SuperSU again.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] aaldiar:
with the particular issue present, fastboot was not possible. had to do adb recovery in order to get the recovery to boot. wipe data properly, then install supersu again. worked for me.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] justthefacts:
I'm in the same boat. No adb commands work. How did you do adb recovery?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] bezeek:
Go figure. My handset had the exact opposite problem during testing, although I also wasn't using a published build.

Building on [MENTION=2977319]aaldiar[/MENTION]'s recommendation, try `adb wait-for-recovery && adb reboot recovery` before powering on. Alternatively, try getting into fastboot by holding Vol Down and plugging the USB cable in while the handset is off, then see if a relock and unlock does the trick.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] kibmikey1:
Format data, and once everything is set, if you want encryption again, flash this.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] aaldiar:
with mr [MENTION=6236500]ErickF[/MENTION] 's guidance, what I did was have the ADB command to 'adb reboot recovery' ready. once a regular boot was complete (disconnected from the PC). I than connect the PC back up to the phone and hit the 'reset' button and wait. AS SOON AS the TWRP screen appears I get ready to hit enter on the PC. RIGHT AS you see the words show up hit enter and you'll go into normal TWRP recovery. From there wipe data from button ( NOT ADVANCED), type in yes, wipe... install SuperSU and you should be home free. Good Luck, Thank [MENTION=6236500]ErickF[/MENTION] for this help. I followed his instructions.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] justthefacts:
Thank you so much for your reply. I got the TWRP back but I don't want to go through the same crap again. I'm back at the enter password screen (in twrp). Whats the procedure from here? Another problem with this version of twrp is that if I format data it will also erase the internal storage.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] aaldiar:
I hit cancel, from there I screwed something up. was able to correct it with the info I provided. Wish I could help more, but if something gets messed up, there's now a guide on how to correct it from the "RESET" screen LOL.

---------- Post added at 03:52 AM ---------- Previous post was at 03:31 AM ----------

For those having issues with adaway!! I installed busybox (paid, I have pro) from the play store, there is no busybox built into the stock rom. then installed the latest available from within the app, and adaway works as it should. Now I did install Adaway from Fdroid, I didn't restore it from a TiBu restore. Hope this helps.

Those wondering where to get Fdroid, google it, there's a DL available because it's not 'google' sanctioned apps.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Lmax579:
Does it work for T-Mobile Variant?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] poczynek:
You're kidding right?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Lmax579:
I just saw the post now, sorry...just wanna know
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] 2muchspl:
Like many,Ive been following this thread feverishly. But saw the issues people were having and decided to stay on the sidelines until I have a clear understanding on what to do. I have a few Qs:

1)Could we (Tmobile variants) possibly lose the root method via a OTA update?

2)Can I block/stop updates automatically installing before rooting?

My fear is me being handed my hand by Google and missing out.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] bezeek:
I haven't looked closely enough at the partitions to have any solid recommendations about saving your data, but the combined internal storage should be at /dev/dm-1. You should be able to dump the whole thing to a file on your computer with `adb shell dd if=/dev/dm-1 bs=4096 > internalstorage.img`. On windows, 7-Zip or Universal Extractor might be able to read the dump or at least give you some information about how it's structured. Since that's a 64GB memory chip, you're going to end up with a pretty large file made up of mostly zeros, so I recommend zipping it to compact all those zeros to almost nothing if you feel the need to keep it around.

On the other hand, if the handset doesn't contain the sole copy of your birth records or something like that, I would just blow away Data from TWRP and call it a day. AFAIK, that should do the trick.

---------- Post added at 06:06 AM ---------- Previous post was at 06:04 AM ----------

1) Always a possibility, especially since this root relies on a serious security vulnerability to work

2) Developer options > Automatic system updates should theoretically do it
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] czerdrill:
Do you have some way to get supersu back on the internal storage after you wipe? Maybe adb? Also you can't set up and go back in after the wipe. You have to wipe, flash supersu, and then reboot the phone to set it up.

This will work, trust me you just need to get supersu back on your internal after the wipe
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] captaindoobers:
It's not a problem with the host file. The app won't even load. Same with every other app once I grant root access. I can't load Titanium Backup or Busybox either. Once I grant root access the app freezes & the toast message keeps popping up repeatedly
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] motojdm:
I've tried this several times without any luck. adb/fastboot installed, Drivers installed properly, usb connected changed to ptp (also tried file sharing and midi mode), usb debugging enabled and connection approved, adb devices shows a positive connection, however once I enter bootloader mode and attempt to "fastboot oem unlock" I'm stuck at waiting for device. Tested various usb ports and cables to no avail. Did someone run into a similar issue and find a solution?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] shojus:
I'm not understanding why people are having problems with root apps, because I have not found one app that does NOT work for me as of yet.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] hslayer:
So I got into TWRP and it was asking for a password. I pressed cancel and swipe right to allow modification. Then, I clicked wipe -> factory reset -> wipe data and flashed SU.

Is this what im supposed to do? and do I need to do anything else after this?

thanks!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] czerdrill:
That's all i did and once i rebooted i was rooted.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] mr turtle droid:
DUDE I ****ING LOVE YOU .if your like me and ruin into the issue of not being able to do adb reboot recovery simply turn your phone off.and while pluggimg it into the computer hold vol down to boot to fastboot
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] shojus:
https://twitter.com/ChainfireXDA/status/792871400180686849?lang=en
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] SaintZ93:
Unfortunately for the Sprint variant I don't think we will ever be able to obtain root. Sprint removed fastboot completely from the phone. Unless there is a way to enable it, no root for Sprint variant.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] cbucz24:
Windows and mac...

Any way to install on linux? Ive been looking for them and xant find any?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] kirschdog1:
What about systemless root with flashfire.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] jcadduono:
I would expect Linux users to know how to search their software center or make a simple apt-cache query if on a Debian based distro.

jc@gallifrey:~$ apt-cache search fastboot
fastboot - Android fastboot tool
jc@gallifrey:~$ apt-cache search adb
adb - Android Debug Bridge
jc@gallifrey:~$ ssu
root@gallifrey:/home/jc# apt-get install fastboot adb

If fastboot is gone entirely, maybe they accidentally removed signature verification as well? :P They are, after all, both part of aboot.

Could try these steps without the fastboot oem unlock part. Anyone tried yet?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] rickberg:
I did try this on sprint v20 first issue was could not chmod 0777 * gave me error message

Proceeded with the install anyways yolo right lol

Got all the way to the recowvery-applypatch boot and received the fail exiting message with the welcome to recowvery but could not execute run-as su

If anyone has any ideas im open to try [MENTION=5672995]jcadduono[/MENTION]
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] mrtruckincowboy:
Chainfire is da man ,its why I buy his apps to support all he does for the android community
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Darriousx:
So I can't seem to fastboot oem unlock. No devices recognized when I boot into fastboot. I have installed drivers and it recognizes from adb but not fastboot. I have no idea what's going on. I've tried the drivers op linked, Google's drivers, and even Marshall LG Drivers. Nada.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] jcadduono:
TWRP is functioning on H918. Doing some more bug checking before I can make it official.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] yugendreams:
How do we get root with this or has it not been made public yet?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] shojus:
Everything will be ready when [MENTION=5672995]jcadduono[/MENTION] is done making sure it's a stable release. There is no root nor is there a working TWRP as of now, but I'm sure if we are patient it will be VERY soon! :)

---------- Post added at 02:21 AM ---------- Previous post was at 02:17 AM ----------

I'm in the same boat! I have tried what seems to be everything, but can't get ADB to recognize the V20 in Fastboot, therefore cannot unlock the bootloader... I am going to try on my Mac to see if I have something else going on here?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Darriousx:
Let me know how it goes! I'm gonna try a couple other things and see what works. Have no idea why it isn't.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] yugendreams:
Actually, [MENTION=631273]Chainfire[/MENTION] did achieve root using this method. His tweet is linked in the thread. I have started learning to code myself and it's insanely overwhelming so I understand not only needing to debug but also possible make it easier for people to do.

I unlocked mine using my mac with no issues. Downloaded the drivers from the link, restarted and unlocked it.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] shojus:
Well we know root has been achieved, but NOT released for the public as of yet. That's all I was saying... And I am glad to know that it worked on your Mac cause that's what I am in the process of doing at this very moment.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] DevUt:
You guys have received both a working TWRP and root but its risky and work is being done on the encryption and decryption

Please be patient :)