yashsingh1/xdaforums huggingface dataset:
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] jcadduono:
Well then, let's release it to the public then.

https://build.nethunter.com/test-builds/twrp/lge/twrp-3.0.2-0-beta4-h918.img

Follow the instructions in the OP, there are instructions in the end of the README to flash the TWRP image.

There is currently no decryption support, just the same as the LG G5, I'm running into the exact same scenario (unable to start rpmb device).

Due to this, I have disabled hardware decryption in this build to keep it stable. If you wish to have your data work in TWRP, you will need to disable decryption.

If you're coming from the Note 7 or S7, this will be a familiar scenario for you. ;)

Flash the latest version from https://build.nethunter.com/android-tools/no-verity-opt-encrypt/ once you're in TWRP to turn off forced encryption at boot and allow you to boot a modified system. If you're flashing SuperSU.zip, it will also do this for you.

Latest SuperSU: https://download.chainfire.eu/supersu

To disable encryption after flashing SuperSU or the no-verity-opt-encrypt zip, you must use the [Format Data] button on the Wipe page in TWRP. No other options will work.

Back up all your internal storage and apps data that you can to your PC. You can use Titanium Backup with SuperSU before doing this step if you like.

Warning: Using [Format Data] will wipe all your apps and data (including internal storage) off the phone, giving you the out-of-the-box experience of a new phone!

Once this is done, you should be able to backup/restore/use any function of TWRP without any issues.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] iunlock:
This is great news! Great work guys....
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] wolfgart:
so, following your guide (same as TMO G5...) should i finally have a working system ? No bootloop, right ?

When you have more time, write all complete steps on Top Thread.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] shojus:
Thank you fine sir! Much appreciated!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] bezeek:
I ran through the exploit process several times last night with no issues. I proceeded to flash SuperSU twice with no surprises either time. TWRP needs some work before it will support full disk encryption, but is otherwise in very good shape.

I've experienced zero bootloops and haven't had a single softbrick scare yet.

Pics incoming...
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] manufan721:
Just wanted to say thanks to OP for the walk through and hard work, so nice to have root again!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] kibmikey1:
I don't know about everyone else, but here is exactly what I did to achieve unlocked bootloader and root:

1. enable oem unlocking in developer options.

2. make sure my adb/fastboot drivers were good to go. I use a mac. (Google turned this up first, it worked fine. ) I also installed the Android Studio.

3. installed the lg drivers in op.

4. adb devices to check it's working/adb reboot bootloader.

5. fastboot devices to check/fastboot oem unlock/fastboot reboot.

6. Followed the rooting instructions verbatim in op's link, using the files I have left here.

Once I was into TWRP, it asked me for a password, and I canceled, formatted data, restarted recovery, sideloaded supersu, restarted, and I was rooted with no issues. At no time did I get any "waiting for device" etc. It just worked. I'll be captain obvious, and state that, since this is a guide on unlocking the H918, which is the T-mobile variant of this phone, if you have a different variant, results may vary. However, it is my belief that if you have working adb and fastboot drivers, a t-mobile v20, and a will to achieve root, then you know enough to read, follow directions, and ask questions, but if you have a different variant, you should really be on the look out for the thread that goes something like "[GUIDE] ROOT ACHIEVED FOR V20 VARIANT LOCKED DOWN TIGHTER THAN A ____INSERT ADULT HUMOR____!!!" because this probably won't work for you. Yep.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] LuckyColdJohnson:
I want to do this with my AT&T V20, but I think I will wait until one of ours is verified. LG-H910 I hope it works. Anyone tried yet? Thanks
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] hslayer:
After you cancel when asked to input the password, did you click read only or swipe to allow modification? Also after flashing SU do we need to flash no verify ecrypt zip at all?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] thatisandwas:
Hey guys, i posted a poll in this section for tmobile variants to determine whether or not the root process is working. If you have a T-Mobile variant, please go post :

http://xdaforums.com/v20/development/poll-root-t-mobile-variant-t3491808
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] DJRobBlaze:
Super excited I just found this thread I was actually thinking about taking the v20 back today maybe I'll keep it after all.

Is there a way to .tot back to the original "out of the box" state, to be able to take the phone back to an unrooted state where the carrier won't be able to tell it was rooted?

? Sent from ? DjRobBlaze's LG V20 (VS995) ? using Tapatalk ? ®
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] kibmikey1:
Swipe to allow, and both supersu and nvo encrypt disable verity checks. I included nvo in case someone wants to use a different root app. We're all happier people with options! :)
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] DJRobBlaze:
What's the alternative to SuperSU?

? Sent from ? DjRobBlaze's LG V20 (VS995) ? using Tapatalk ? ®
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] kibmikey1:
None that I know of right now, but in the future, you never know, so because I made the post for everyone, I decided not to force my personal preference (supersu) on everyone.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] jcadduono:
I'm not sure if [MENTION=1915408]phhusson[/MENTION]'s open-source SuperUser is compatible with the V20, but you can always back up your boot and system in TWRP then try.

http://xdaforums.com/android/software-hacking/wip-selinux-capable-superuser-t3216394

phh is a really nice guy and if you visit his channel on freenode IRC #superuser-phh he will probably take the time to solve any issues it has running on your device.

He's also in the #twrp channel with me. (links to webchat are in my signature)

I should probably also mention that Lord Chainfiredemort is nice too, and if you're having issues with his SuperSU you can find him in the #xda-devs channel. He doesn't hang out in #twrp though. :'(

I've updated the first post with an easier to understand layout for users interested in getting it going but are afraid to make the first step.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] tooandrew:
I'm wanting to know the same. It's enraging that carriers will blame root for things like a broken fingerprint scanner or broken camera sensor.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] bambam126:
Ok i need a kdz I got flash tool to read phone
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Kief_haring:
I need a manual way to get into recovery... ADB reboot recovery isn't an option. This is gonna be a fun wait...
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] ElBeaner:
I really want to root my V20 but step 2 is where I'm a bit hesitant.

Hopefully someone will create an all in one package soon to do all this for you and since Xposed isn't on Nougat yet not worried.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Drey070:
How/Why is there no T-mobile section yet? ...
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Nathamio:
Hey guys! Great to see all this good work in this thread. I've been messing with dirtycow and I can see that it can replace any file on the phone pretty much. For phones like the g5 that don't have the OEM unlocking option in settings, do you think it'd be possible to use this to enable that option or to get us into bootloader so we can unlock? Any tips would be great! I'm also cool with testing any ideas someone might have.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] EMSpilot:
TWRP

Has anyone done a full backup with TWRP and a successful restore?

Cheers
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] bambam126:
I been waiting
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] NotATreoFan:
We don't have one for the HTC 10 either. When the device is almost completely identical to the international model, there's no need for a separate section. As of right now, anyone with T-Mobile that avoids the driver issues can accomplish this process in under 10 minutes (maybe 30 if you didn't already unlock the bootloader). The majority of issues are from V20s on other carriers, and the thread title does say "H918" which is our variant.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] xamius:
So when I am on the adb logcat -s recowvery step, it seems to be looping with the end of "give jcadduono a hug..." and says permissive boot has been flashed to ... successfully!

Is that supposed to be the end? It wont let me type anything.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] czerdrill:
Yeah that's the end of that step
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] xamius:
thanks, got it through now!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] srimay:
You don't take ota s from carriers when your rooted. That's the number 1 rule...

Always wait for a flashable version from someone. It will be made.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] jay-red:
If you enable developer options you can uncheck "automatic updates" I did this as a precaution for the same reasons as you.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] srimay:
I'm constantly reminded of an update I don't want because the theme I'm using is not compatible with the latest version for my phone. LG G5.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] lightninbug:
I tried making a backup it froze at 98% during the data md5 check.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] 2muchspl:
My only experience on this subject was my Note 3 which upgraded over night & took root with it:p I was able to get it back but blocked all updates & reminders by renaming a file or 2 to .bak once I was rooted again. I was sure Nougat wouldnt be so friendly if an exploit was found.

Is the 1st post ok to follow yet (Edited with correct links & info)? I've seen a few instructional post within here as well in the later pages.

Everyone success story involved Windows 10 or Windows 7? I have both. Just want best odds.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] jcadduono:
hmm I built the recovery from my branch of TWRP where I make optimizations/fixes, I figured the md5 patch would have worked nicely, I'll have to look into it.

Also for some users, I've made some changes to output of logging to reduce confusion:

https://github.com/jcadduono/androi...mmit/fb8b6be30910db40627a9725e38f97d24d451733

This will be in a next revision, I'm definitely testing before updating those binaries now :)

If your device is recognized by adb and fastboot, then it doesn't matter what OS you use. 90% of the time it's just driver didn't load properly for the USB port and you need to switch ports, reboot your PC, or just put your phone into PTP mode. (or try other USB transfer modes on your phone)
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] ecera:
The new instructions are clear and easy to follow. Thanks, now rooted on the T-Mobile variant. :D
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] 2muchspl:
Awesome! Btw thanks for your hard work on this. You developers are amazing. Im goin to do some more reading & hopefully attempt to unlock and root soon. This thread had tons of good info in it..but should I stick with your 1st post?

Edit: Nevermind I see you cleaned up the 1st post very well! Thanx..feel much more confident.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] justthefacts:
Good explanation. What worked for me was doing your procedure and flashing the no-verify-opt right after the supersu.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] lightninbug:
Can't wait any longer, who's going to upload the first ROM for us?!? ????????
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] justthefacts:
Don't hold your breath for any AOSP roms
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] jcadduono:
I'm trying to work on a kernel, but so far no luck. I'll have to pick apart things by pieces to figure out what's causing it to not boot. :S

Kali NetHunter.

If I actually owned a V20 this would be soooooooooooooooo much easier, but the price is outrageous for a device still using an LCD screen. *shudder*

If I can ever return my Note 7, I'm still trying to find a device to call home. (I love my Note 7 so much it's hard to want to return it as well, it's so easy to develop on and everything runs smoothly)
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] lightninbug:
I'm not looking for any AOSP ROM, just looking for a ROM to Flash in case I messed things up. Since backup and restore isn't working in team win recovery project ATM.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Psychteach1:
Exactly my situation...fastboot is non-existant; therefore can not unlock bootloader. I have worked with countless phones and never have had this situation. Any help please?

edit: after following this post: everything worked. I suspect the situation was finding the correct fastboot drivers and interfacing them with the corect pc. I eventually rooted the phone on my mac mini

I don't know about everyone else, but here is exactly what I did to achieve unlocked bootloader and root:

1. enable oem unlocking in developer options.

2. make sure my adb/fastboot drivers were good to go. I use a mac. (Google turned this up first, it worked fine. ) I also installed the Android Studio.

3. installed the lg drivers in op.

4. adb devices to check it's working/adb reboot bootloader.

5. fastboot devices to check/fastboot oem unlock/fastboot reboot.

6. Followed the rooting instructions verbatim in op's link, using the files I have left here.

Once I was into TWRP, it asked me for a password, and I canceled, formatted data, restarted recovery, sideloaded supersu, restarted, and I was rooted with no issues. At no time did I get any "waiting for device" etc. It just worked. I'll be captain obvious, and state that, since this is a guide on unlocking the H918, which is the T-mobile variant of this phone, if you have a different variant, results may vary. However, it is my belief that if you have working adb and fastboot drivers, a t-mobile v20, and a will to achieve root, then you know enough to read, follow directions, and ask questions, but if you have a different variant, you should really be on the look out for the thread that goes something like "[GUIDE] ROOT ACHIEVED FOR V20 VARIANT LOCKED DOWN TIGHTER THAN A ____INSERT ADULT HUMOR____!!!" because this probably won't work for you. Yep.

Charlie
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] lightninbug:
Didn't use a app... Pushed the samsung notocoloremoji.ttf to system/fonts and set correct permissions.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] czerdrill:
You need the generic google fastboot drivers. Someone linked it in this thread but I'm sure you can google it too
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] NotATreoFan:
While the phone is in Fastboot and connected to the computer, go into Device Manager and uninstall it, including the checkbox to delete the driver. Now shut off your internet connection, unplug the phone, plug it back in, and allow it to install a generic driver. If you get the ! and no driver found, point it to the Google USB drivers used for Nexus devices.

If you have Windows 10, it is doing some automatic driver update and killing Fastboot. Do not enable your LAN/WLAN until the Fastboot commands are done.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] theannihilator:
i want to be able to root my phone but do not want to eliminate the password on boot function. i do not need twrp as i am not planing on flashing anything custom. is this possible?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] vibrantliker:
When rooted with TWRP, can you actually use TWRP to flash things like sound mods (A.R.I.S.E.) or is it better to use flashfire ?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] lightninbug:
I would be very very very careful flashing stuff you aren't sure will work. As if your phone can't boot There's No Going Back... not sure why Google Voice to Text capitalized that but I'm leaving it.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] vibrantliker:
So at this point, apps that require root are ok but apps/mods that need to be flashed are risky still?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] jthrasher47:
I totally agree but to be honest I can't tell much of a difference in the screen from the Note 7. The screen still looks very good on the v20. But yes developing on Samsung was much easier
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] lightninbug:
Yessir
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] EMSpilot:
Once TWRP can backup and restore successfully then the risk is mitigated and you can flash at will!!!

BTW this is how to enter into recovery with buttons on the V20:

Grab your LG V20 and power it off completely. Then, press and hold both all Volume Down + Power buttons at the same time until the LG Logo is being displayed on your LG V20. Now, release the keys and press the above combination again however, this time you should wait until recovery mode menu is displayed.

Cheers
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] yugendreams:
Can someone please give me their copy of com.lge.lockscreensettings. Mine was erased somehow and now I can't use my lockscreen.

Thanks!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] NotATreoFan:
I definitely wouldn't recommend flashing mods until TWRP is working to backup and restore. I've had one or two occasions where A.R.I.S.E (or the prior V4A packages) caused a bootloop or loss of sound on my HTC 10, and I had to restore a backup to fix it.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Lmax579:
when i go to unlock bootloader it stays at waiting for device
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] jthrasher47:
This has been addressed many times already in this thread if you go to the general section there is a guide for what to do when that happens it is also in here if you search but again it's in the general section
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Lmax579:
alright cool will check it out
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] DJRobBlaze:
Do you have a link, or could you upload the zip file for this?

? Sent from ? DjRobBlaze's LG V20 (VS995) ? using Tapatalk ? ®
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] EMSpilot:
Are you looking for this com.lge.locksettings.jar ? Located in framework?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] yugendreams:
Yes. I believe that's the one.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] EMSpilot:
Here you go: https://www.androidfilehost.com/?fid=312978532265369591

Cheers
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] yugendreams:
Thank you so much!

I thought it was an .apk. Do I flash the zip?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] EMSpilot:
No the jar is in the zip. Look in your framework folder on your phone and see if you are missing this jar file. If it is in there then you have another problem.

Cheers
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] mr turtle droid:
going to reset through button combo doesnt work it pulls you to a scirpt and reboots.

edit:i fresh installed adb system wide and did the reboot recovery at the script page and it worked...soo idk but yay
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Kief_haring:
Have you personally done this? Does it take you to the actual recovery screen, not the factory reset screen...???
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] yugendreams:
I must have done something else. It was there. I still replaced it and rebooted just in case.

I am pretty sure what I removed was an apk. I've found others online but none of them work.

Example of one I tried: http://android-apk.org/apk/com.lge.lockscreensettings/5.00.160126/darlene1989/lockscreensettings/
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] mr turtle droid:
and now it wont boot into recovery again im so lost...it worked on my computer and now it doesnt?(im referreing to running adb reboot recovery)

adb doesnt work in recovery fyi
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Lmax579:
I've done everything possible but it still says waiting for device, wtf, any help or a video please?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] hslayer:
Thank you so much for reply back!

After rooting was done, I rebooted back to recovery (twrp) to flash other zips such as adaway and It asked me, if I want to use read only or allow modification.

Do I allow modification again just like when I was installing SU zip or do I use read only?

Thanks!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] slayerh4x:
Has anyone successfully use a root app to remove bloatware? I don't want to use Titanium again right now even though I bought it.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Zeromus2003:
Does this work on the Verizon variant yet? I'm praying.....
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] NotATreoFan:
I haven't tried this, so don't take my answer for gospel. But I know on the G3, the combo brings you to a factory reset screen, but when you accept it, TWRP boots.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] agentscuba314:
Im not sure if I am doing something wrong, I have USB Debugging on and Unlock OEM, I have tried two different computers Windows 8 /10. But for some reason I am unable to trigger authorize pop-up. Ive tried all usb options. I can see the device in adb devices, I even factory reset the device and still nothing. Oh and did try multiple cables too.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] mr turtle droid:
i think the issue with the recovery has somthing to do with drivers...but at the same time im not sure because i can confirm i got the command to work..but only on a fresh install of adb on a new computer
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] saunupe1911:
Hmmm looks like I should wait to root judging by this thread!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Bubba Fett:
Did you turn usb to PTP? Try a different one. Unistall the ADB driver fully may help.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] vibrantliker:
When getting to the Running recowvery part, where should the binary files be placed?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] czerdrill:
On your computer, you're pushing them from computer to phone
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] agentscuba314:
I did make sure PTP and tried all other options, but PC's didnt gave adb on them either, so they were fresh install
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] vibrantliker:
[ QUOTE=czerdrill;69416563]On your computer, you're pushing them from computer to phone[/QUOTE]

Just curious from the command in adb (adb push dirtycow /data/local/tmp) where they need to be.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Kief_haring:
Ahhh, ok. I got excited for a second... It doesn't work on the LG V20. One of the first button combos I tried. I have tried every button combo I can think of at this point & it appears there is no manual way to boot into the V20 recovery (stock or custom).
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] yugendreams:
I'm still looking for anyone who can provide me with the apk for lockscreensettings.

I accidentally deleted it and it does not come back with a wipe.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] slayerh4x:
Just curious from the command in adb (adb push dirtycow /data/local/tmp) where they need to be.[/QUOTE]

When it just has the name of the file like that it means it would be in the same directory as ADB.