yashsingh1/xdaforums huggingface dataset:
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] kevinchristopherson:
I hit cancel and it worked

---------- Post added at 09:53 PM ---------- Previous post was at 09:12 PM ----------

Well I did it all!! Followed the steps from the article below and mission accomplished.

http://android.wonderhowto.com/how-to/root-your-t-mobile-lg-v20-using-dirty-cow-0175329/

there were a few hiccups along the way, however, I just thought about it and took the next step.

the only major hurdle was the photos showed the command prompt at the beginning to be:

C:\Program Files (x86)\Android\android-sdk\platform-tools (which is correct)

then halfways down the instructions the photos switched to showing them to be in

C:\windows\system32> at a time it might sound feasible to switch DON'T SWITCH.

so everything else was talked about in this thread.

So thanks everyone for all your hard work and diligence. now we need to have some kick ass Rom's show up at our doorstep.

Again this was pretty simple instructions. peace.

---------- Post added at 10:01 PM ---------- Previous post was at 09:53 PM ----------

Well I did it all!! Followed the steps from the article below and mission accomplished.

http://android.wonderhowto.com/how-t...y-cow-0175329/

there were a few hiccups along the way, however, I just thought about it and took the next step.

the only major hurdle was the photos showed the command prompt at the beginning to be:

C:\Program Files (x86)\Android\android-sdk\platform-tools (which is correct)

then halfways down the instructions the photos switched to showing them to be in

C:\windows\system32> at a time it might sound feasible to switch DON'T SWITCH.

so everything else was talked about in this thread.

So thanks everyone for all your hard work and diligence. now we need to have some kick ass Rom's show up at our doorstep.

Again this was pretty simple instructions. peace.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] ThaHaloMilitia:
I went into TWRP and its showing that i have no internal storage. When i go to backup my data it says 64GB
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] BotsOne:
So I read a tutorial on how to do this and for the final step it told me to flash SuperSU, then wipe, then flash SuperSu again, which I did, and I ended up in a bootloop. I've since gotten it to boot again by re-flashing Supersu and wiping /data but my phone is still encrypted. I've rebooted about 20 times, my phone is fine it's just encrypted still.

What steps do I need to take to unencrypt it? If I just wipe /data will that do it or do I need to re-flash no-verity and reboot into recovery beforehand? Just a little confused here. I don't want to enter another bootloop lol.

EDIT: bootloader is unlocked and I am rooted btw, TWRP is working for flashing zips, not working for backups/restores
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Franzferdinan51:
did the same thing accidently deleted my restore point now i have no OS and cant find a rom to flash to get it back US996 can i flash the h918 roms?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] OneDon:
You can use these, IMG's there for the us996 should bring you back to stock.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Franzferdinan51:
Awesome thanks! Will try here shortly

i assume i only flash system.img and boot.img why whould one need the BIN files i seen the note you had their but wasnt sure exactly what it meant

update #1 flashed system.img it boots now but shortly after boot it reboots trying factory reset from twrp

update #2 factory reset failed trying wipe data and then factory reset

update #3 failed back to square 1 reflashing system.img to see if i can atleast get back to progress

update #4 back to bootingish i get to setup and it reboots shortly after tried wiping dalvik and cache no progress their not sure how to progress any ideas and help welcome

Update #5 fixxed after wiping flashing h918 stock rom us996 system.img and boot.img
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] 2muchspl:
Thanks for this! I needed a visual as well & this was indeed very easy to follow. Rooted now kudos to [MENTION=5672995]jcadduono[/MENTION] & [MENTION=631273]Chainfire[/MENTION] , as well as any else whove helped me as well as the countless others who had issues. You guys are the best!:fingers-crossed:

I also commented on the link section with a few tips like how the photo instructions pic switched from /Program (x86) to /System32 . which is indeed incorrect, Your heads up saved me a few head scratches!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Paradoxumical:
It's nice to see my article is doing some good.

Thanks for the feedback, it's appreciated.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] 2muchspl:
It was really well done,I hope a few fence straddlers like myself to take the next plunge!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] pieces of cake:
All good here!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] el-jodio:
Looks like everything went ok. Will check root in a few. Thanks to the developers and all who contributed.

Edit: Everything worked perfect. I have root now and couldn't be happier. Thanks again.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] jhr:
Sorry for long time do reply my findings..but I finally got my v20 out if the dreaded never ending factory reset from the secure start up white screen with blue wording encryption unsuccessful. With ScotttFlysPlanes one on one help.

In short I took the battery out, reinsert, hold volume button down while holding it down, plug USB C to phone and other end to PC. This will power your phone to Fastboot screen.

Then open a CMD window. (Even by typing CMD in the start screen search will work..) then enter the command line to lock bootloader. fastboot oem lock, from there I can't remember if I had to enter the reboot command or if phone rebooted itself. Then what I once had an orange triangle error about an unlocked bootloader, I had a red triangle. From there I turned off the phone by taking battery out and did same as before to put back in battery, plug USB C hold volume down and keep holding while plugging device to PC and gets you Back to fastboot mode....there enter the command to unlock bootloader...fastboot oem unlock, again from there I don't remember if phone resets itself or if I had to enter command

Regardless.....after that the phone gave me again the orange triangle but now the phones continues through the factory reset and it actually gives you a 98% status Android and continues to boot to a fresh start non rooted. From there you can go back to twrp and update latest twrp or re root or whatever floats your boat. [MENTION=7603411]ScottFlysPlanes[/MENTION] if you can chime in maybe before the command line to relock bootloader and loose any data, is there a command line that you can save your data and therefore restore pictures videos? Or other important stuff as a backup that extracts it and loads it to the PC?

Anyways I know I was told in earlier posts to lock bootloader and it should fix it. And what I read on other posts and forums but I was stuck on entering abd as command line instead of fastboot. But in the end my phone works and also I noticed that even though I did not have root after the ordeal I did notice that my apps that I renamed from .apk to .bak were still left as .bak and thus not being on the app drawer.

That was interesting.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] ScottFlysPlanes:
Check my thread located: xdaforums.com/v20/how-to/how-fixed-bricked-lg-v20-t3501310

If really does help. The part with the lock, factory reset, and unlock part is the step you want from here. :)
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] jhr:
You helped me last night on your chat thing. Thanks again

I was asking if there is a batch file or command that if people that are stuck like I was and if they lock and unlock they automatically loose any data...if there was a command to copy image with data so they can restore after they get out of the endless bootloop.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] andrewjt19:
Is there any way to flash either Stock recovery image or TWRP other than this? Here's where I'm at... I went through this guide worked great. Decided I didn't like the phone and wanted to return it. So I started trying to restore it to stock condition using this guide (http://xdaforums.com/v20/how-to/restore-h918-to-100-stock-requires-twrp-t3504798). I successfully installed the system and boot images through TWRP. When I rebooted to make sure the OS worked and tried returning to to TWRP to flash the stock recovery, I was receiving an error (the red triangle). So since I could boot into the OS I tried redoing recovery. Everything flashes successfully but when it calls to reboot into recovery I get the red triangle instead of TWRP. Any ideas. Ultimately if I could just lock the bootloader and not have any warnings come up at boot up that would be enough. Please help.

tApPeD fROM mY nExUs 6
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] jhr:
You are doing good so far.

Go to ScottFlysPlanes forum at http://xdaforums.com/v20/how-to/how-fixed-bricked-lg-v20-t3501310

And you will see where to continue where you left off you can also go with one on one help with him on his terminal chat
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] littleprince86:
I have a lgv20 us996.

I Wish unlock bootoalder and make rooot, but i don't know how flash stock firmware in case of update.

If i robot and make twrp, Can i flash stock firmware without brick my phones? And how? I don't try stock firmware.

Non, this phone has some lags compared to other phones same hardware (xiaomi mi5). It's less reactive and responsive. Keyboard, touch, scrolling etc.. if i root and encrypt It Will improves?

Help me please
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] mecheng:
Known issues

I was reading the DirtySanta bootloader unlock post and noticed there are some known issues due to following through with the process. Can anyone confirm if the following issues result from rooting using the method in this post as well??

Below quoted from: http://xdaforums.com/v20/development/ls997vs995h910-dirtysanta-bootloader-t3519410

Known Issues:

AM&FM Radio no longer works

Boot time higher

No way to revert to stock

Comfort view does not seem to work on Sprint variant

Youtube will not work if you update. Do not update the youtube app. If you do go to apps and youtube and uninstall the update.

Possible overdose of root awesomeness!

Maybe more. Let us know!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] yossijoe:
Except for "Possible overdose of root awesomeness!"

No
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] G1Master:
Is it normal for us to do this:

"You should be inside TWRP now. It will ask you if you want to enable system modifications. You should swipe yes, otherwise your OS will replace TWRP on next boot."

Every time we boot into TWRP?

EDIT

And also, what happens if I were to do a Factory Reset? Either through the phones options or through TWRP, will I lose root?

Sorry for the idiotic questions. I am, like many others here, a first time LG owner. I am spoiled by the easily rooted and easily adaptable Nexus 6 and other google branded devices from the last 8-9 years.

Thanks,

Sam
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] G1Master:
Anyone?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] OneDon:
Same as you, I'm a nexus guy and switching to LG is a bit weird but I'll ride it out. And surprisingly it's pretty easy to root the v20 but to answer your question yes it's normal for you to see that when you boot into TWRP idk if it's the recovery or has something to do with encryption as long as you always allow modifications to the system, but it's none to worry about now. As for factory reset I've never done it but I'm 100$ sure you'll loose root.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] chrisrj28:
Anyone have any tips for getting the computer to recognize my phone for adb? Have USB debugging on and try adb devices but doesn't show up. I installed the drivers from the first post
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] seanmfield:
Does root break Unlock app?

I've successfully rooted but the unlock app just hangs, does anyone know if root breaks this? I need to SIM unlock the phone for travel tomorrow.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] chrisrj28:
Is there a link for working adb drivers I can download?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] G1Master:
Have you checked to see if "Windows Device Manager" shows your LG V20?

Right Click on "My Computer", "Properties" and Then "Device Manager".

With the device plugged in, does it show a "Triangle" with an "! Exclamation Point!" ???

If it does, while the phone is still plugged in, right click on the device and "Update" Drivers for USB Debugging.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] ahlok_hk:
I want to try flashing TWRP to H990DS. May I know what is the different between TWRP for H918 and US996? Which one should be better for H990DS? I know the risk of bricking anyway. Thanks.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] shadow322:
ok a little help here im lost at this part

"This step requires that you've used dirtycow to replace /system/bin/run-as with recowvery-run-as. If you've rebooted since doing that, you will need to go back and do that again."
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] OneDon:
H918 is for the T-Mobile variant, US996 is for the unlocked variant. Same TWRP recoveries but just for different variations of the V20, seems at the moment there's no TWRP for your V20 http://xdaforums.com/v20/development/ls997vs995h910-dirtysanta-bootloader-t3519410 if you read at the bottom of the Op's post you'll see "Working Devices:

- Verizon (VS995)

- Sprint (LS997)

- ATT (H910)

- Korean(F800L)

Note: International Variants (E.g.H990DS) May get supported in the future, but are currently being worked on at the moment. If you attempt to use this method on Unsupported Devices(any V20 not listed in working devices) then you are in uncharted territory. It will almost definitely brick your device. YOU HAVE BEEN WARNED!!!!" Hopefully that helps you.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] nymikey:
Will i be able to unlock & root after the latest update with this method?, I finally gathered the nerve to root and i think I made the mistake of updating first.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] manufan721:
I've you haven't rooted and don't have twrp and updated then no.. Unfortunately the update you took patches the dirtycow exploit as far as to what I've understood at least.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] kevinchristopherson:
If bricked scottflysplanes can help

I thought i was sunk until i found this thread. Thanks a million. ( 700 and some change).

---------- Post added at 06:48 PM ---------- Previous post was at 06:44 PM ----------

It took me four days of realize and try this. Worked instantly and i had root up the same day.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] demon28:
i tried to do this but i my phone once in bootloader my cmd window i cannot get the device oem unlock any tips.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] thegameksk:
I am stuck in twrp. If I restart the phone it boots back into twrp. If I turn the phone off it turns back on by itself and boots into twrp. Please help!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] 2muchspl:
Were you attempting to root and got stuck or were you already rooted,did something (like reset from inside Android) and then got stuck? I did the latter after a app broke my read receipts & notification sounds.

I followed this http://xdaforums.com/v20/how-to/how-fixed-bricked-lg-v20-t3501310 but started at 'fastboot oem lock' since I hadnt deleted anything and rerooted the phone again following this http://android.wonderhowto.com/how-to/root-your-t-mobile-lg-v20-using-dirty-cow-0175329/ , which is what I originally followed due to me needed a step by step instructional:silly:

Hope this helps
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Sluggerz:
Flashing twrp

1st like to say thanks for this guide and the hard work put into it! Great job! Im running into a little problem. Everything was working good until trying to flash twrp. Everything has worked until "run-as exec dd if=/sdcard/twrp.img of=/dev/block/bootdevice/by-name/recovery" in adb shell. It says it cant reconize "exec" command. Any ideas?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] dimm0k:
if I wanted to do a factory reset, I remember reading somewhere that it should be done in TWRP... is that true? can I not do it once booted up in the OS?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] storm68:
No I don't think so... Only Factory reset that can be done to my knowledge is with LG Bridge. Never do it within phone once twrp has been installed. Read somewhere someone bricked doing this.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] dimm0k:
hrmm, then what do you suggest to bring the system to a refresh? I have a feeling "Android OS" is chewing more battery than it should, at least compared to the LGV10
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] storm68:
There's a thread in here that guides you into restoring back to stock if that's what you're asking. Requires KDZ file. Or just use lg bridge and update... But be aware you will lose root and twrp and will have to start over. If you upgrade to 10i you will have to wait to root due to the no root method made yet after the new upgrade.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Oneraindrop:
When I am doing step two: Running Recowvery, I get to the point in the directions that says,

adb shell

$ getenforce

"<it should say Permissive, adjust source and build for your device!>"

Mine just says "Permissive", it does not have the rest, it doesn't say "adjust source and build for your device". Is this a problem? If so, how do I fix it?

Thank you in advance.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Dylanballardlgv20:
Any word on rooting 10i. Anyone working on it i know it patches recowvery. But i figure since this is the one with the kdz we can restore from rooting this means easy times for all.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] ZDeuce2:
You can from TWRP, DO NOT do it from the settings menu!

---------- Post added at 12:30 AM ---------- Previous post was at 12:28 AM ----------

Not a problem, you are fine

---------- Post added at 12:39 AM ---------- Previous post was at 12:30 AM ----------

Not necessarily, recowvery is our only path to root at this moment... Until we get an alternative method that is it... At some point, a method like [MENTION=4965298]tungkick[/MENTION]'s rooted kdz (v10) may be available, or LG may release the original source (probably not going to happen due to the dirty cow exploit) so once you on stock (no root) after the December security patch, you're screwed till a new exploit is found.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] wing_addict_usa:
Anyone know how to go from this to 10i? I don't want to use other debloated roms but stay stock like here
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] jayochs:
dumb question, but is the dirty cow method NEEDED for an unlocked US996? we can't just unlock the bootloader, flash TWRP and be on our way?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] androiddiego:
No, you need an exploit method to get TWRP installed. That would be Dirty Cow. The author of the dirty cow method is a TWRP guy. He did the dirty cow to help everyone get TWRP installed. That was his only mission in helping root the phone.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] kibmikey1:
Well, the problem with updating to 10i, is that there is no KDZ of 10d to rollback. So, if you update, you really are stuck on that until a new root method is found.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] jotade:
Can we Rollback using this File? 10d http://downloadmirror.co/Uq9/LGH918AT-01-V10d-310-260-SEP-14-2016-ARB00_0.7z is a tot file. And if is possible how do we flash it? Thanks
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] kibmikey1:
No. TOT files require a signed DLL file, normally from LG, to flash to the phone. LG never officially released 10d in TOT or KDZ format probably due to the dirtycow exploit. Interestingly enough, 10i is actually anti-rollback version 0, meaning you technically could rollback to 10d, if there was an official version of it with the signed DLL, which so far there's not. So, if you want the December security patch and a few other bug fixes, you will have to wait until a new root method is found, because you're stuck with it until then.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] THADDIUS25:
Is there a stock tot file for the us996 unlocked?
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] THADDIUS25:
[ATTACH]3991253._xfImport[/ATTACH][ATTACH]3991254._xfImport[/ATTACH] when i try to run command applypatch boot this is the error i get. Im us996 unlocked bootloader

Sent from my LG-US996 using [URL='https://siteowners.tapatalk.com/byo/displayAndDownloadByoApp?rid=75858']XDA-Developers Legacy app[/URL]
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] bxlegend:
I have a question I'm not sure is answered even though I've searched for it. Can I still use encryption with TWRP or is that a no go? I know TWRP can not decrypt data but does encryption interferes with TWRP or booting at all after doing this? Don't care as much for backups as starting over is trivial nowadays.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] XooLoo:
Beginning a day or two ago, I stopped being able to send or receive MMS..... It's been quite frustrating to say the least. I've changed the APN settings to default. Nothing helped. Even deleted it and redid it from scratch. Didn't help. Any help will be highly appreciated.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] waylo:
You can use encryption for the data partition. You just won't be able to backup or access the data partition in twrp. You can only do backups once booted into Android.
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] 2muchspl:
Just curious, were you using any apps other than stock messenger? (or even test drove one in the days before your MMS woes). I did find an app that breaks the read receipts & inability to change notification sounds (would default to stock sound no matter what was selected) on the V20 stock/rooted.

Only fix was a factory reset.

Define 'deleted it'
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] kibmikey1:
Not sure if this is out there or not yet, but H91810i can still be rooted using this method. The patch for dirtycow was created by Google in their Dec 5 release, but LG's latest security release for the T-MO version is Dec. 1! I just tried it, and I am rooted with TWRP, no issues at all! This now means we have an official, KDZ released version of stock to roll-back to with LGUP as well!
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] Norcal232001:
I have also tested and can confirm this method works for 10i
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] jotade:
Me Too. Rooted on H918TN 10i
[LG V20 ROMs, Kernels, Recoveries, & Other Developm] BROKEN1981:
maybe you can help me out then,when i type in ./dirtycow /system/bin/applypatch recowery-applypatch

i get cant excute: permission denied.

how do i get past this step? no matter what i do.