yashsingh1/xdaforums huggingface dataset:
[LG V20 Guides, News, & Discussion] cnjax:
Already new that, process always fails at that step if it's been patched
[LG V20 Guides, News, & Discussion] bayr691@gmail.com:
hi there.

i have a problem. when i have done step2 phone didn't reboot to bootloader. it simply reboot back to OS. I ran command run -as con and it gave me sh not found or too many argument. i had downgraded my f800l to 2016 september patch. i'm bit confused. i tried all commands and shell scripts didn't get any luck.

please help me experts.
[LG V20 Guides, News, & Discussion] dornz:
I ran step2.bat by doubleclicking it in file explorer rather than cmd & it worked no bother
[LG V20 Guides, News, & Discussion] shahid001:
when i run apply patch command on emulator terminal i get message such as " applypatch [-b <bonus-file>]m<src-file> <tgt-file>" etc

and in the end it says Files may be of the form MTD

if anyone can tell me solution please help me
[LG V20 Guides, News, & Discussion] cnjax:
maybe a syntax error, re-check how you typed the command
[LG V20 Guides, News, & Discussion] shahid001:
this is the error i am getting pic attached if you can help
[LG V20 Guides, News, & Discussion] shahid001:
also one thing more when i runRUNMEFIRST.bat i am not getting

.............. beginning of crack

.............. beginning of system

.............. beginning of main
[LG V20 Guides, News, & Discussion] cnjax:
Looks like you have a space after atd before the forward slash
[LG V20 Guides, News, & Discussion] shahid001:
applypatch /system/bin/atd /storage/emulated/0/dirtysanta

this is the whole statement for terminal and its exactly the same there is space after atd

---------- Post added at 01:04 PM ---------- Previous post was at 12:57 PM ----------

everything im doing is right i think but i dont get these comments in RUNMEFIRST.bat command
[LG V20 Guides, News, & Discussion] Vortell:
I suggest using this guide and scripts

https://xdaforums.com/v20/how-to/guide-root-twrp-lg-v20-using-dirtysanta-t3722278
[LG V20 Guides, News, & Discussion] nospada:
I've finished step 3, boot to TWRP, flash Magisk/SU, Format Data, wipe davik, cache..., and still have secure startup or unsuccessful encryption, 10 times already. >< . HELPPP? thanks
[LG V20 Guides, News, & Discussion] cnjax:
Try using an older version of twrp, there's reports that the latest version of twrp isn't decrypting properly
[LG V20 Guides, News, & Discussion] Verdian Saputra:
how to fix run-as con Unknow Package?
[LG V20 Guides, News, & Discussion] cnjax:
You can't, it means dirty santa is patched
[LG V20 Guides, News, & Discussion] Vortell:
Why are people still using this thread? So there are YouTube guides for this.

Otherwise use this instead.

https://xdaforums.com/v20/how-to/guide-root-twrp-lg-v20-using-dirtysanta-t3722278
[LG V20 Guides, News, & Discussion] ezzony:
I am about to acquire a second v20, a VS995. I have already rooted to Oreo a F800L which required a slightly different procedure at the end steps.

I'm just wondering that since I wish to update to Oreo after bootloader unlock do I still need to do the last steps in the OP which is flash back bootbackup.img ? Could I just after getting into

twrp for the first time go ahead and flash Oreo KDZ skipping aboot and recovery.img. Or would that mess things up?

edit: as I'm already versed in the dirtysanta method I don't wish to confuse myself by using the other thread.
[LG V20 Guides, News, & Discussion] nospada:
Hey cnjax, thanks for the answer. I switched twrp back to the twrp-3.0.2-1-us996 version, it worked. But somehow after i installed magik/su, wiped and rebooted system, twrp was erased. I've also tried to boot directly from twrp to fastboot to flash bootbackup.img after the step above, but twrp was erased after that also. Do you have any solution?

Thanks.

PS: Mine LG is F800l version.
[LG V20 Guides, News, & Discussion] cnjax:
If you failed to format data twrp was probably overwritten with the stock recovery
[LG V20 Guides, News, & Discussion] nospada:
Yes, I always did the format data, then advance wipe, and twrp was overwritten, like 4 times already after you said I should change twrp version. Weird.?
[LG V20 Guides, News, & Discussion] cnjax:
Maybe try another version of twrp, after you have twrp follow this,

1. Wipe system, davlik, and cache

2. Format Data

3. Flash ROM

4. Optional flash kernal

5. Flash magisk

Do all all of this before booting to system
[LG V20 Guides, News, & Discussion] Vortell:
Once you have twrp it's all up to you. Although if you flash a full kdz with kdzwriter it will override the recovery and ds kernel. Kdzwriter is very powerful so be careful. You could flash most of it with patched lgup as partial download/using fastboot then flash the kennel. The boot image is just a ds kernel. You could just replace it with mk2000 kernel with fastboot/twrp/patched lgup. Honestly just use alpha Omega for stock Oreo. Or just the nougat downgrade link in the guide section from i95swervin for Los/rr. I would have cross flashed it to us996 and left it there. Then used Google voice for voicemail through conditional call forwarding. It used to be possible to get Google phone working with Verizon voicemail too.
[LG V20 Guides, News, & Discussion] ezzony:
Oh I didn't know there was an Oreo rom, there wasn't one for my F800L so I just debloated stock oreo on it. Was happy with that really. May as well try the alpha omega rom so. I'm not following you re your comments about google voice. I'm in europe. I just ordered the vs995 because frequencycheck shows I have 100% compatibility in my country.
[LG V20 Guides, News, & Discussion] Vortell:
I don't think you can sign up for Google voice outside the US. Still most carriers worldwide are compatible with Google phone for visual voicemail plus it's spam filter is nice. I would probably go to us996 through lgup first. Although ao offers to let you remove boost so... Not sure if it even matters.
[LG V20 Guides, News, & Discussion] nospada:
Hi cnjax

I found out the reason why twrp was erased: fastboot flash boot bootbackup.img

After this command, twrp's gone. So, does remove this command affect the system after root?

Edit: so, after the 1st install magisk and wipe, i boot to fastboot and flash boot2.img. Is it ok? 'cause the second time I install magisk, it said 'boot image pack with unsupported program, please restore to stock boot image' and error.

Thanks
[LG V20 Guides, News, & Discussion] cnjax:
Why would you even flash the boot back up image it undo's the whole process
[LG V20 Guides, News, & Discussion] nospada:
Because it 's step 7 of the guide?

And is this the correct way to update from rooted stock rom to oreo one: LGUP, PARTITION DL mode, choose everything but recovery, recoverybak, aboot, abootbak?

Thakns
[LG V20 Guides, News, & Discussion] nospada:
Hey, cnjax, i'm finish the rooting process. mu v20 is now ok. Thanks for your help
[LG V20 Guides, News, & Discussion] Phoenix591:
eh, if you do that you'll have to reflash twrp (in fastboot) .. the stock system partition has a thing that reflashes recovery at bootup that twrp takes care of disabling if you flash (anything) through it. Usually easier to find an up to date stock rom and flash it through twrp.
[LG V20 Guides, News, & Discussion] redshirtdeath:
I am looking into buying a v20 off eBay, what vartiant should I get?
[LG V20 Guides, News, & Discussion] Vortell:
I'm us the us996 is the most compatible overall. What cell company are you trying to use it on?
[LG V20 Guides, News, & Discussion] OptimisticShaggy:
VS995

Recently took a leap, bought the VS995 from Amazon. Actually think it looks like a neat phone. Did it to go through with Dirty Santa. Soon enough, realize that Dirty Santa was patched. I know this may be hard especially since I'm a newbie to this all but anything I can do to start getting into the game? Rooting & ROMs more specifically.
[LG V20 Guides, News, & Discussion] Vortell:
I don't think vs995 has arb does it? Just roll it back with KDZ using lgup.
[LG V20 Guides, News, & Discussion] the_R00ter:
Runningnak3d has a great guide to unlock bootloader and root, at least on the h910. Just look around, dirtysanta is a great tool! Just remember to dump so u can always go back if needed.
[LG V20 Guides, News, & Discussion] OptimisticShaggy:
Sorry for my newbieness but what is dump?
[LG V20 Guides, News, & Discussion] the_R00ter:
Dumping is a process in dirtysanta where you basically perform a full backup of EVERYTHING on your phone. We all had to start somewhere, I learned about all of this on a v20 too, don't feel bad!
[LG V20 Guides, News, & Discussion] OptimisticShaggy:
Thanks for the encouragement & for your help! :)

As Vortell mentioned, I just would need to downgrade which is what I will be doing later tonight.
[LG V20 Guides, News, & Discussion] Vortell:
There is dial code in stock dialer to double check arb that's why I never learned which have arb and which don't. I'm like 90+% vs995 doesn't but I confuse them sometimes. I'm also pretty sure you can just flash us996 kdz on it as well. There is only two that don't have the same shared key firmware. I think it's h918 and what ever model sprint's(ls997?) is. Also hd990 but that's due to hardware differences. Otherwise you can just change to us996 and then treat it like a us996 ds( dirty Santa). Be warned if you use non dirty Santa us996 kernels you have to !!wait!! through screen static for it to boot. Once it's full booted then use power button to turn screen off then on to get it back to normal. Oh and thanks btw for the thanks! :highfive:
[LG V20 Guides, News, & Discussion] OptimisticShaggy:
Absolutely! I think I've red that some have been able to, I'll give it shot with some methods (uppercut I think, currently mobile). I managed to find a kdz that was crackable via dirty Santa as well via a different site so I'll try it out with the phone. As for the thanks, of course anything to help each other out, you guys have been helpful especially through this. Just wish it was easier, more control but yeah lmao
[LG V20 Guides, News, & Discussion] OptimisticShaggy:
As a note, was able to successfully rollback from following this post. Makes me happy, will get Dirty Santa going in the Morning :)
[LG V20 Guides, News, & Discussion] Vortell:
Should have just used patched LGup for the v20. You could also use it to back everything up. In case something messes up in the money partion. That way you can always roll back to the original nougat bootstack for fingerprint access on custom ROMs.
[LG V20 Guides, News, & Discussion] Kolyei:
I'll be getting my LG v20 in a couple of days and I am currently in the process of downloading everything in advance.

Do we still need superSU or can we flash the latest version of magisk (or 18.1)?
[LG V20 Guides, News, & Discussion] cnjax:
You can use magisk
[LG V20 Guides, News, & Discussion] OptimisticShaggy:
Soo, with following directions, the log doesn't come up with run step 2. What could I be doing wrong?
[LG V20 Guides, News, & Discussion] Vortell:
I would use this guide and the scripts there.

Https://xdaforums.com/v20/how-to/guide-root-twrp-lg-v20-using-dirtysanta-t3722278

I had issues with the exploit from this thread as well.
[LG V20 Guides, News, & Discussion] Gloria07:
Hello to all,

I have LG F800L with Oreo 8. At first, I downgraded the firmware (Nougat 7.0). I used a guide from dksoni411. I've done all the steps and reached factory reset.

But after step 2 (I pushed yes) in a factory reset, the kernel crashed instead of loading TWRP. The device works normally after restarting. Any ideas?
[LG V20 Guides, News, & Discussion] hoopsdavis:
My mistake, I did run the .bat files.

My issue appears to be getting to recovery at the moment to continue.

manually press and hold both all Volume Down + Power buttons at the same time until the LG Logo is being displayed on your LG V20.

release the keys and press the above combination again however, until recovery mode menu is displayed.

Correct?
[LG V20 Guides, News, & Discussion] dc.wash95:
Did adb reboot recovery have any affect?
[LG V20 Guides, News, & Discussion] Raxsymelich:
Brilliant! Will try tonight.
[LG V20 Guides, News, & Discussion] AthieN:
Awesome work to everyone involved!! I'm about to give this a go and I'll let everyone know how it goes! :) [MENTION=4591212]me2151[/MENTION] - One quick thing you may want to add to the OP, would be -

1. In the pre-req's section, add a link to the LG USB drivers http://www.lg.com/us/support/software-firmware-drivers

Anyway, wish me luck!!
[LG V20 Guides, News, & Discussion] me2151:
It says in the guide that after you run step 3 you need to type adb reboot recovery
[LG V20 Guides, News, & Discussion] me2151:
Thats why i just said the device needs adb access. If you have adb acess its already installed :)
[LG V20 Guides, News, & Discussion] hoopsdavis:
Yes, after step3 everything rebooted, command windows cleared from screen and I haven't been able to get back to my phone via adb. It shows up and I was able to move the files to the SD card but unable to get the command "adb reboot recovery" to work
[LG V20 Guides, News, & Discussion] AthieN:
Yes, for those of us with something upstairs, that makes perfect sense lol. I know what you meant by it, but some may struggle and I was just trying to save you (or others) some hassle because I can pretty much guarantee that at some point, someone is going to post that they are having problems getting their device to recognize. lmao. :) Anyway, it was just a thought. No worries. Great job again btw!
[LG V20 Guides, News, & Discussion] dc.wash95:
Sounds right. Think you need to do it from the off state

---------- Post added at 06:37 PM ---------- Previous post was at 06:34 PM ----------

After following all of the steps, my device didn't boot directly to recovery either. It booted up normally, with lots of applications crashing. I waited a couple minutes, and eventually my computer recognized my device. I was able to verify they were connected with adb devices and then used adb reboot recovery. If you can't establish a connection with your PC try using the button combination to enter recovery
[LG V20 Guides, News, & Discussion] me2151:
That is very odd. Go to the bootloader by pulling the battery and reinserting it after phone is off. Hold Vol- and plugin phone then type fastboot flash boot boot1.img

Or as [MENTION=4512480]dc.wash95[/MENTION] stated hit just took a few minutes. just wait and see if it shows up.
[LG V20 Guides, News, & Discussion] jameslapc2:
Good to see the other carrier devices getting some love.
[LG V20 Guides, News, & Discussion] c45h2012:
Good work on the release
[LG V20 Guides, News, & Discussion] AthieN:
Something I noticed during Step1.bat (in Windows):

G:\android\V20>adb shell chmod 0777 /data/local/tmp/*

chmod: chmod '/data/local/tmp/flatland' to 100777: Operation not permitted

chmod: chmod '/data/local/tmp/flatland64' to 100777: Operation not permitted

Is this going to be an issue?

EDIT: It does show Untrusted_App when I type 'id' though, so I'm thinking it's ok? Just wanted to double check before I proceed.
[LG V20 Guides, News, & Discussion] me2151:
That is normal. I suppose I should add that.
[LG V20 Guides, News, & Discussion] hoopsdavis:
I was able to flash boot1.img
[LG V20 Guides, News, & Discussion] me2151:
Do you have adb now?
[LG V20 Guides, News, & Discussion] hoopsdavis:
Yes, but when I try to boot into recovery I get a screen that just looks like a tv channel with no signal
[LG V20 Guides, News, & Discussion] dc.wash95:
Is it the screen with several horizontal bars that obscure what's actually supposed to be visible?
[LG V20 Guides, News, & Discussion] AthieN:
Nice. I'm in TWRP, doing a backup now. I hope this TWRP has USB support because I forgot to transfer the ROM to my device before starting this (might want to add that to the OP too :silly: ). So far so good though!! Woot!
[LG V20 Guides, News, & Discussion] me2151:
You need to go into bootloader and flash boot1.img again(another time) and possibly twrp too
[LG V20 Guides, News, & Discussion] elliwigy:
stock sprint boot.img causes static screen.. i think [MENTION=4591212]me2151[/MENTION] was working on it and might have found a way to make it work with stock boot but he said its not ready yet and hes sleeping as he was up all night helping ppl
[LG V20 Guides, News, & Discussion] d0p35m0k3r:
I've been putting off VZW's latest OTA, but now that I know it doesn't conflict with root I kinda want it. Anyone know if it would be safe to install via Flashfire?
[LG V20 Guides, News, & Discussion] Red_Baran:
What is the difference between a debug bootloader and regular one? Why does it break things like YouTube?
[LG V20 Guides, News, & Discussion] Slypnslyde:
Is this right because after I hit return nothing else happens
[LG V20 Guides, News, & Discussion] c45h2012:
Is there an image attached?
[LG V20 Guides, News, & Discussion] Team DevDigitel:
the image inside the rom is the stock/modified one that has force encrypt off.

im suggesting, unlock bootloader, flash twrp, then wipe internal date using FORMAT to remove encryption, then pushing this modified boot.img to the device and letting the stock system be re-loaded insecure.

just did one for the htc 10, worked flawlessly, was my only way around twrp not getting the encryption right, twrp can get patched also to not need this done but its do able now.
[LG V20 Guides, News, & Discussion] Slypnslyde:
Lol
[LG V20 Guides, News, & Discussion] elliwigy:
did you try and repeat first steps again?
[LG V20 Guides, News, & Discussion] Slypnslyde:
Yes, I know I have adb working because it shows device
[LG V20 Guides, News, & Discussion] elliwigy:
well term emu on device is used in that command.. it should work.. no errors on the first steps besides flatlands?
[LG V20 Guides, News, & Discussion] kdouvia:
Static Screen

On my Sprint V20 After my intial reboot after flashing twrp I went to fastboot and eraseed system like it said then proceeded to reboot where I then got adb recognition but upon rebooting to twrp there is a static screen. Any fixes?:p
[LG V20 Guides, News, & Discussion] Slypnslyde:
When I hit step 1 this what happens
[LG V20 Guides, News, & Discussion] jestedsniper:
I don't know the exact fix, but there are literally 40 other posts about the static screen on Sprint devices. Try searching this thread for static.
[LG V20 Guides, News, & Discussion] newbomb:
This is so awesome. I was losing hope.

Any guesses at when the one click root will be available? Days, weeks, months?
[LG V20 Guides, News, & Discussion] bdlagain:
They've said several times that one click is NOT possible....
[LG V20 Guides, News, & Discussion] newbomb:
I read this in the OP and thought it was being worked on.
[LG V20 Guides, News, & Discussion] ZachJohnson:
There won't be a one-click root for this - because we have to run things on both the phone and adb it's just not possible to one-click it.

Besides that though, I just ran through it and it worked perfectly, I'm rooted and thrilled! An enormous thanks to everyone who worked on this, really amazing job! :D
[LG V20 Guides, News, & Discussion] AlkaliV2:
A debug bootloader is from a debug phone. The bootloader doesn't break YouTube, the kernel does. The last few steps where it tell you to install boot2.img replaces the default kernel with the debug kernel which in turn breaks the variant features like wifi calling, comfort view, etc. This had some weird effects on system apps (in all reality it could have also been from systemless root) but ultimately gives us root access.

So, in reality the feature breaking happens at kernel level and me2151 is working on a fix for using the stock kernel. That said, he was up the entire night helping people and the kernel fix will come later when he has time to sit down and work on it since this method is working for the most part.
[LG V20 Guides, News, & Discussion] jshamlet:
As someone who has held off on upgrading, this is potentially exciting news. I have been holding out, hoping AT&T would offer either the Pixel or the HTC M11, but the V20 is an otherwise attractive option if it can be unlocked and rooted.

However, the use of a debug bootloader makes me wonder about the future. I get OTAs will likely be out of the question, but will updates from LG be doable at all? IOW, will users of this method be stuck on this firmware forever, or risk losing bootloader access and root?

Don't get me wrong - this is insanely great news, as there is now an option if something happens to my One M8. However, right now the V20 is optional and I'm trying to weigh the risks. I haven't owned an LG device before, so I'm not familiar with how LG manages things.
[LG V20 Guides, News, & Discussion] kdouvia:
So, I have twrp installed just no system and adb isn't picking up my device. Where could I find proper adb drivers so I can boot into twrp or is there a way to manually boot into twrp?
[LG V20 Guides, News, & Discussion] Vortell:
See above... Literally right above this post. Essentially I had issues with it as well the and other thread is how I solved them. For the link read the thread right before your question.
[LG V20 Guides, News, & Discussion] ChadR03:
Will this still work if I have updated my phone to Android 8.0 Oreo?
[LG V20 Guides, News, & Discussion] Florimer:
This has been adressed many times before. You have to roll back your firmware to earlier security patch, otherwise the exploit throught which the whole process goes wont work.
[LG V20 Guides, News, & Discussion] elliwigy:
can you downgrade to an exploitable version of android? ifnot then no lol.

this exploit uses a variant of dirtycow which was patched long ago

android devices typically do not allow downgrading either.
[LG V20 Guides, News, & Discussion] Phoenix591:
LG's do allow downgrading, for the most part. There's a tool, LG UP, that like Odin for Samsung, flashes firmware.

LG did set up an antirollback feature where the as long as the antirollback of a firmware is the same or greater it will boot (and update the antirollback if increased), but as far as the V20 goes, they only enabled it on the T-Mobile H918 with update 10p (set to 1 and is still at 1 with the current Oreo update so can freely move anywhere from 10p to 20h) and the Sprint LS997 with ZV7 I believe.

This antirollback is also incompatible with the development bootloader this exploit installs (when set to 1 or presumably any future version)

One last note, all of the single Sim V20 can be crossflashed to each other's firmware except the H918 (uses a different signing key, in addition to the antirollback) and the LS997 (the antirollback)
[LG V20 Guides, News, & Discussion] notanymore:
Help Please!

I'm at wits end spending hours on end with this. Totally frustrated. Phone is the LS997 variant. I don't even care if I brick it at this point I've spent so many hours on this. Never have I encountered a root process so stymying. What the heck am I doing wrong?? Adb is working I know because I can send commands to another phone with it. I run RUNMEFIRST.bat first, ok fine. The first pic is what I get when I run RUNMEFIRST.bat. and when I run step1.bat. I then go to the terminal emulator installed on the phone and type ID at the prompt. I get "elsa:/ $" in response. I then type the following command string just like the instructions say:

applypatch /system/bin/atd /storage/emulated/0/dirtysanta

I see "UNTRUSTED APP" shown in pic 2. Everything good, right? Here is where the problem comes in. I never get this:

"5) Watch the RUNMEFIRST dialog for when it tells you to run Step2."

I never see proceed to step 2. Why not? I wait awhile and I run step 2 anyway. It doesn't go to bootloader like it is supposed to when I run step 2 instead it just reboots the phone. And that is as far as I get. Question: since it does not go to bootloader like it should then should manually go to bootloader so I can run step 3? If I had hair I'd be pulling it out right now...LOL! Hours and hours on this crap the same thing over and over and getting nowhere. Pic 1 also shows what is in my adb folder and I think everything is there that should be? Can you help?
[LG V20 Guides, News, & Discussion] notanymore:
Help Please!

I'm on Android 7.0 btw. I never update Android as a general rule it's only bound to make things more difficult.