yashsingh1/xdaforums huggingface dataset:
[LG V20 Guides, News, & Discussion] cnjax:
Sounds like you forgot to format data in twrp
[LG V20 Guides, News, & Discussion] jerryspring:
Odd thing. With boot IMG 1, fastboot says bl is locked....on boot.img 2, it says it's locked, but when booting, it shows corrupt screen. I got it to finally boot by flashing the not so stock 90rdm rom

---------- Post added at 02:51 AM ---------- Previous post was at 02:50 AM ----------

Actually, I didn't . It won't boot..only way to access recovery is boot to fastboot and issue fastboot reboot recovery. Then I flashed mentioned rom
[LG V20 Guides, News, & Discussion] shahid001:
its March 1,2018

and security software version is MDF v2.0 Release 4
[LG V20 Guides, News, & Discussion] cnjax:
Dirty santa was patched in Dec 2016
[LG V20 Guides, News, & Discussion] C D:
LS997 owner here. Unfortunately, your phone is unrootable because the security date is after May 1, 2017 and you won't be able to downgrade.
[LG V20 Guides, News, & Discussion] OptimisticShaggy:
I was able to successfully rollback to 12A but phone still has MDF V2.0 Release 4 even after the rollback, could that cause an issue for me with using Dirty Santa? I was able to go through all the step almost expect the last one which was booting into TWRP, would give me the triangle, would also give the triangle whenever I try to use the second flash method. Yes, I did you adb reboot recovery as well which led to the triangle.

Spoke too soon, was able to get into after erasing data via recovery then bringing up TWRP!
[LG V20 Guides, News, & Discussion] Vortell:
Yeah this script works better then the older one in the development area.
[LG V20 Guides, News, & Discussion] romarromario:
there is no registration on the network F800L

Thank you for the work you have done, I have written in step 3:FAILED (remote: device is locked, Cannot flash images). What to do to flash TWRP? Thank you
[LG V20 Guides, News, & Discussion] elektrik2001:
hi there. thanks for making the guide..the only issue I have is that when I try to apply the patch, I get the following text, as if I have the wrong syntax or something.....:

View attachment 4822715
[LG V20 Guides, News, & Discussion] OptimisticShaggy:
The issue could be because you have an android version that has DS patched, LG up will be your best friend.
[LG V20 Guides, News, & Discussion] zfk110:
Great Guide works perfectly! on my us996
[LG V20 Guides, News, & Discussion] AshesNei:
When I try to run the dirtysanta root method on my VS995 I get to the stage where I enter the applypatch command on the terminal emulator from the phone, and the shell acts like I've entered an unknown command.

Now, based on what I'm seeing from other comments here, it looks like this is likely due to my level of security patch?

I've tried reverting my phone to the oldest stock rom hosted by LG for my model, and I still get this issue.

My question is:

Is there a cross-model compatible stock rom (e.g. for US996 ) that LGUP patched will allow me to flash my VS995 to that is rootable? Or does someone else have a link where a rootable and LGUP flashable rom I can use is hosted?

Thanks much in advance, I really want to get this VS995 up and running without all this bloatware.
[LG V20 Guides, News, & Discussion] AshesNei:
I found a stock KDZ that would allow me to run the applypatch command from the terminal emulator. Then I followed the process, rooted the phone (on nougat), found a rooted stock oreo rom for the VS995, flashed it, bricked the phone, flashed back to the safe rootable version, rooted it again, upgraded to a stock oreo, lost root....

So, back to where I started. Any recommendations for a near stock oreo rom for the VS995 that keeps root?
[LG V20 Guides, News, & Discussion] moeduss:
Last I knew the alpha omega Rom works fine and it is android version 8.0 but you must start out with the nougat first then upgrade to Oreo, anyway it's all on the thread what you need and what you need to do.

That is what I use and its fine.
[LG V20 Guides, News, & Discussion] Vortell:
I mean there is only really one Alpha Omega... Haha! If you cross flash to us996 theres super ROM. Either way if it's actual "stock" ROM you would need to flash TWRP and magisk after to keep both. Super su is basically unused now. AO has aroma with many options but for kernel and root you should get the newest and flash after aroma. Rctd you should update from xda labs.
[LG V20 Guides, News, & Discussion] AshesNei:
You mean I can flash the us996 firmware to my VS955? What do I use? LGUP? Is there an article on this?

Oh, btw, I gave up, flashed to Lineage 16 instead of pursuing a stock rom. Not sure if that was the best plan.

---------- Post added at 07:20 AM ---------- Previous post was at 07:18 AM ----------
[LG V20 Guides, News, & Discussion] shaman93:
Entered on the phone itself. The terminal seems to indicate the patch was applied.
[LG V20 Guides, News, & Discussion] tinohuda:
How can i install TWRP without Terminal emulator, my phone boot loop only show "your device is corrupted and cannot be trusted" and cannot reboot to recovery mode?
[LG V20 Guides, News, & Discussion] moeduss:
That is typical for this phone being rooted, did you give it time to boot up? It usually takes at least a minute to get past that to the boot up.
[LG V20 Guides, News, & Discussion] notanymore:
Not working need help please

Ok, I've tried your method here and I've tried the other method here:

https://xdaforums.com/v20/development/ls997vs995h910-dirtysanta-bootloader-t3519410

The problem seems to e with the terminal emulator command string. When you enter it the process doesn't start you get the following instead:

"elsa:/ $ id

uid=2000(shell) gid=2000(shell) groups=2000(shell),1004(input),1007(log),1011(ad

b),1015(sdcard_rw),1028(sdcard_r),3001(net_bt_admin),3002(net_bt),3003(inet),300

6(net_bw_stats),3009(readproc) context=u:r:shell:s0

elsa:/ $ applypatch /system/bin/atd /storage/emulated/0/dirtysanta

usage: applypatch [-b <bonus-file>] <src-file> <tgt-file> <tgt-sha1> <tgt-size>

[<src-sha1>:<patch> ...]

or applypatch -c <file> [<sha1> ...]

or applypatch -s <bytes>

or applypatch -l

Filenames may be of the form

MTD:<partition>:<len_1>:<sha1_1>:<len_2>:<sha1_2>:...

to specify reading from or writing to an MTD partition.

2|elsa:/ $"

What does that even mean? I get that same result with both guides. I've tried using the terminal emulator as well as PC via ad to enter "applypatch /system/bin/atd /storage/emulated/0/dirtysanta" with no luck. So I cannot proceed further. Here is a pic of my folder to run the the script from PC and it looks like all the right files are there. Model is LS997 Can you help?
[LG V20 Guides, News, & Discussion] C D:
What are your software version number and Android security patch level date (under Settings -> About phone -> Software info)? If you have anything later than LS997ZV7 and May 1, 2017, then your phone is currently unrootable, and none of this will work for you.

But if you are one of the lucky few on ZV7 or earlier, then there is a guide specific to the LS997 you can follow.
[LG V20 Guides, News, & Discussion] notanymore:
Thanks for replying. Security patch is March 1, 2018. Well OK then i'll have to return this. I just picked this up new open box for 75 bucks. If it's unrootable then I don't want it. All those hours I spent on this is vain...aaahhhh! I missed meals because of this...LOL! Any way to roll back the security patch? How bout the other variants any carrier? Re they all unrootable with the 2018 and above security patch?
[LG V20 Guides, News, & Discussion] Phoenix591:
Only the LS997 is unrootable. It has an antirollback mechanism enabled (starting with ZV8, as mentioned by the other poster) to keep it from going back to an old enough firmware to use this exploit.The only other V20 model with it enabled is the H918, but it's vulnerable to a different exploit, and it allows unlocking the bootloader without an exploit (it's fastboot doesn't allow actually flashing, so an exploit is still needed)

Be sure to thank Sprint for keeping your device secure! /s
[LG V20 Guides, News, & Discussion] C D:
As Phoenix591 said, your LS997 has anti-rollback enabled, so any attempt to downgrade (there actually aren't even any KDZ files for the LS997) or cross-flash firmware will instantly kill the phone.

As luck would have it, you picked the only unrootable V20 variant. So go ahead, return the phone and get pretty much any other model.
[LG V20 Guides, News, & Discussion] notanymore:
You have no idea how angry I am at Sprint. This was open box store display mint. They won't even give me the uicc unlock even though I own it in total. Pretty sure that's illegal since I own it it and not them. It was cheap a steal at 75 bucks, or so I thought. I consider it useless if I can't get root. Sprint ruins everything it seems. I'll never have anything to do with them ever now. Another thing, if I find out your device is unrootable I'm not buying it period. I'd be perfectly happy carrying a G2 from 2013 that's rootable than some 2019 device that is not. Thanks for the info can't believe the amount of time I spent on this in vain.
[LG V20 Guides, News, & Discussion] notanymore:
Already started the return.
[LG V20 Guides, News, & Discussion] Vortell:
https://xdaforums.com/v20/development/3-18-71-perf-root-shell-lg-v20-variants-t3990145/page4
[LG V20 Guides, News, & Discussion] veeshal nepal:
..Now the lg v20 has may 1 2019 security patch . Running android pie plzz suggest us a method to root android pie on lg v20..if the method is nt available the. we request you to make it fast.....
[LG V20 Guides, News, & Discussion] nicepants42:
Having an issue getting Magisk installed.

Using the H915, I followed OP's Guide on flashing US996 with apparent success. (OP's link for the kdz was broken, but I found the same US99610f_00_1205 file that he used.) Then I came here.

Using the Root Package 6.0 (as-is in the first post), the entire process worked fine until the end, where the phone failed to boot in 15 minutes, so I followed the instructions to install the 'boot2' image, which booted up. However, trying to install the latest Magisk (20.1) via TRWP .zip install failed - the error said that the boot file had been patched by unsupported programs. I tried wiping everything within reason and re-trying with the same result.

So I downloaded the latest TWRP image (3.0.2.1) and replaced the TWRP image in this guide with 3.0.2.1, then did this guide all over again. The results were the same as my first attempt, the only difference being that I now have TWRP 3.0.2-1 on the phone.

My goal is to get Magisk installed on a stock-based ROM. Any suggestions?
[LG V20 Guides, News, & Discussion] Vortell:
Not sure sometimes the process just doesn't work perfect. Though you could first try mk2000 bttf (it's the one for 7.0) or upgrade to 8.0. Or you can just flash alpha Omega I'm pretty sure that's full firmware. Either way is easy way to swap out kernel. Or find another 10p rom. You could also flash kdz work writer or LGup and just skip recovery. You would get static on boot but once it's started you just turn the screen on and off and it works. There are a ton of options an

If you read I have written walkthrough for many of them. You could also just try older magisk version as well. Try bttf mk200 first I would say though. Otherwise I would probably flash alpha Omega. Then use bttf. For stock anyways.
[LG V20 Guides, News, & Discussion] Phoenix591:
That STILL isn't the latest twrp image..

Anyway try flashing a rom, a stock based one like Alpha perhaps, if you still want pretty much stock. Those all have nice and fresh boot images that magisk should be happier with.

Not much point in trying to flash magisk to a boot image that's just going to be replaced by a fresh one from a rom anyway
[LG V20 Guides, News, & Discussion] nicepants42:
Thanks very much. I'm not sure how I managed to download an old version of TWRP, but I think I'm set up now.

I installed A-O Oreo ROM prior to seeing your post, and the only obvious issue I was having with it was that I couldn't get TWRP to see /data. Did the whole process twice, and was thinking about a 3rd time. After seeing your post, flashing TWRP 3.3.1-1 appears to have solved the problem, allowing me to back up everything without re-flashing A-O or Magisk.

As long as I'm speaking to you, may I ask if I'm correct to assume that creating backups for 'system image' and 'beta: data image w/ storage' are not required if my only goal is to be able to use TWRP to completely backup and restore my phone? 'System Image' file size would be 6,144mb, which I can manage, but 'beta: data Image w/ storage' indicates 52,944mb... I don't know what these images would be useful for.

In any case, thanks again for your help.
[LG V20 Guides, News, & Discussion] Phoenix591:
System image is part of the rom. I'd just keep a copy of your rom zip around.

Data image won't do you any good since your data is encrypted. (It takes a low level image of the place where your actual apps and data and internal storage is).

There is not any option to actually back up YOUR data (stuff in internal storage) using twrp. (It was just designed that way). Titanium backup works great for apps and their data, but you have to take care of any other files and photos you want backed up other ways (eg Google drive, and Google photos)
[LG V20 Guides, News, & Discussion] nicepants42:
So in the case of Alpha-Omega ROM, it appears that forced encryption is disabled - does that change anything? I realize the TWRP devs exclude /data/media, but they also indicate that you could add the option to back this up if you wanted, and you are modifying TWRP.

Could I simply use the TWRP file explorer to copy /data to an SD card and restore from that? TWRP Devs suggest tar, so assuming I knew how to properly adb into TWRP, or use TWRP terminal, something like this might work?

tar -cvpzf databackup.tar.gz --one-file-system /data
[LG V20 Guides, News, & Discussion] shasta54:
A few questions.

Thanks for posting this guide. I'm pretty much a noob, but I've been able to root every phone I have tried to (except the @%$^##$ Droid Bionic). I studied this guide (and others) for weeks off and on so I wouldn't have to ask stupid questions, but it's not working for me. The first question is whether you have to have the OEM boot unlock option in the developer settings on the phone. (I found that if you don't have it you don't need it). I also couldn't get LGUP to recognize my phone without using Uppercut, but then could flash it to VS99512A_06_1114_ARB00.kdz which is dated 11/1/16, so should be the proper .kdz. I had the USB debugging set and locked for the phone and pc. Everything went exactly like the command windows you posted until step 3, where It didn't reboot at the end. I have tried both Boot Image options (1&2)) and I ended up with my phone vibrating and in a bootloop (I let it run all night and nothing changed). I could get it into TWRP , but after wiping and formatting, it was the same bootloop. I couldn't install Magisk or Supersu through TWRP. ( I got "install failed" and "ramdisk failed") Then I was stuck in TWRP or fastboot only (with vibrating going on and off). System boot from TWRP went right back to TWRP. My PC explorer recognized the phone (and strangely, it said VS996 instead of VS995), but LGUP didn't. I finally figured out I could put the phone in download mode and reflash via LGUP (and it shows as VS995 again). I have done this 3 times and I get the same result. If anyone can see what I may have missed or not done properly, I sure would appreciate some advice. Thanks.

UPDATE: I used a Youtube video version of the installation guide. It had some serious mistakes which I figured out and it worked to the point that I successfully installed Magisk. Unfortunately after wiping, formatting, wiping cache, Dalvik, and data and rebooting, I got the secure password screen and no matter how many times I repeated the wiping sequence in TWRP, I couldn't get past the password screen. This is the simplest and best explained tutorial, but I just can't seem to install Magisk or SuperSU, no matter how closely I follow the directions (my command windows match exactly). Is 15 minutes enough to give up on letting it try to boot? It never boots into TWRP on it's own. I have to use the buttons. Since this is so old, I'm not clear on is the versions of programs or drivers to use. Other tutorials show the LG drivers plus a USB driver to install in the middle when the yellow warnings show up in device manager. I don't get those warnings and in this tutorial, my phone isn't recognized by the PC at that point. I'm not sure what version of TWRP to use. There is no official one for this phone, so I just use the "elsa" one that's provided. The same with Magisk, since it wasn't a thing when this was written. Should I be using the newest or an older one?
[LG V20 Guides, News, & Discussion] Phoenix591:
Something like that tar command should work.

Actually I'm NOT modifying twrp (at most I might have to revert one commit to twrp itself to try to solve the formatting data issue when I get around to it). Pretty much the only thing I've touched are settings and other things in the device specific folders used by Android's build system.

It's not like they left a simple toggle to include or exclude /data/media, it's hardcoded.
[LG V20 Guides, News, & Discussion] ice_236:
So I bit the and rooted my Verizon VS995 via the dirtysanta method. Ever since doing so, I seem to have a strange issue. I have always used a charger from my Samsung Galaxy S9+ to charge it, and it has charged at a relatively steady rate. Now, since I have rooted, it will only charge with my Qualcomm Quick Charge 3.0 charger (from my Moto Z2 that I used to use), albeit much more slowly than before. Please note as well that the phone detects being plugged into a charger just fine.

If it makes any difference, I also have a Perfine 4100mah battery.

If anyone has any suggestions I would like to hear them. Thanks!
[LG V20 Guides, News, & Discussion] Vortell:
Root should not affect charging. There are ways to turn that feature on and off, I think it's in a prop file somewhere. If there is issues why not just backup data with migrate custom ROM back up and install the os again. I actually had some funny issues with my us996 bpt tell I did fresh install of full firmware LG stock ROM in the form of alpha Omega ROM. If you use AO don't debloat to much. I would search about everything you want to remove in both ao threads first. My h915 was fine though. Also battery calibration can effect how a phone charges. I always used battery apps to clear battery stats for simplicity. Not sure how it works on lgs. I have not read into it much plus it might be qc chipsets related.
[LG V20 Guides, News, & Discussion] never4ever-87:
how fix Unfortunately, the process com.android.phone has stopped after unlock bootloader ls997 Zv5
[LG V20 Guides, News, & Discussion] Vortell:
Install the os again. Alpha Omega is The best stock ROM installer I know of. I don't know if it's anyone for Sprint. The other thing you could do is freeze it using a root app manager like titanium or app2sd. Then install Google phone framework from magisk and download and install Google phone from play store. Or find another phone app.
[LG V20 Guides, News, & Discussion] Vs995Child:
Well as you can tell by my name I'm on the Verizon variant.....I have successfully used this method to root (modifying it slightly once i got into twrp). The multiple windows that opened throughout the process kind of confused me at first, but this was way easier and way faster than the other dirty santa method. No problems here. I'd recommend this method to anyone.
[LG V20 Guides, News, & Discussion] Lillievela:
Is there anyone here that could possibly help? Ive been trying to re-root recently, and im not getting into TWRP at all, im able to get the secure boot message, it either shows the corrupt message, then tries to boot. Or nothing at all.
[LG V20 Guides, News, & Discussion] Vortell:
You need to learn the button combo. Look it up it's important to release the power button when you see the LG logo then press again. It takes a while to learn it. Remember it takes you to the erase message and ass you twice. I think there is a YouTube on it now.
[LG V20 Guides, News, & Discussion] treyus30:
I swear I'm not incompetent, but I've owned a V20 since 2016 and didn't bother following root progress around after about a year of no luck. I now have the latest updates on a VS995 and just spent the last two hours trying to figure out if its even possible for me to do this (still). For a "noob" guide, it doesn't even mention where or how to initiate the downgrade process.

I have LGUP and everything else installed now, but where the hell do I find KDZ files pre-2017?! :confused: (to comply with the December 2016 security patch mentioned) They seem scrubbed from the internet..

Thanks in advance
[LG V20 Guides, News, & Discussion] Vortell:
I suggest Google your model and kdz
[LG V20 Guides, News, & Discussion] treyus30:
Yes, naturally I tried that...

There's no common repository I'm missing?
[LG V20 Guides, News, & Discussion] Vortell:
First result under vs995 kdz for me... Lg firmware site
[LG V20 Guides, News, & Discussion] treyus30:
If its the lg-firmware/"LG fan club" site, when I click download it has me wait 20 seconds then tells me to disable my ad-blocker.... I did and even opened with a browser that has no ad-blocker, same result - its broken
[LG V20 Guides, News, & Discussion] doctorsugarbear:
h /system/bin/atd /storage/emulated/0/dirtysanta <
usage: applypatch [-b <bonus-file>] <src-file> <tgt-file> <tgt-sha1> <tgt-size> [<src-sha1>:<patch> ...]
or applypatch -c <file> [<sha1> ...]
or applypatch -s <bytes>
or applypatch -l

Filenames may be of the form
MTD:<partition>:<len_1>:<sha1_1>:<len_2>:<sha1_2>: ...
to specify reading from or writing to an MTD partition.

Also getting usage errors, any ideas? VS995 12A, security patch from 2016.

EDIT: Rebooted and now I'm getting Permission Denied in terminal emulator.
[LG V20 Guides, News, & Discussion] cnjax:
Check the typing of the command, you have a space or omitted something
[LG V20 Guides, News, & Discussion] doctorsugarbear:
Thanks, I'm not sure what the issue was but after about a dozen reboots it finally went through. I got all through the flashing process and reboot, but now I'm just hanging on the LG screen during boot vibrating infinitely. I gave it 2 hours but it never booted. Recovery mode just gives me a static screen. Not sure where to go from here.
[LG V20 Guides, News, & Discussion] C D:
Typically, for the static screen, if you cover the phone's sensor at the top, it should go away. Eventually, flashing a custom kernel will also get rid of the static screen.

And if you haven't already seen it, there's a post specific to rooting the VS995 here:

https://xdaforums.com/v20/how-to/lgv20-vs995-verizon-aio-post-06-19-2017-t3624326/
[LG V20 Guides, News, & Discussion] S.l1488:
Lg v20 vs995 root

When I put in 1 to start process it says scripts is not recognized an interecommend,
[LG V20 Guides, News, & Discussion] ph4nt0m117:
I'm only now coming back to my V20 after not using it for a little bit. It had some battery issues that were just bad batteries at the time, and now I don't have as many issues with, but the bloat is definitely still there. I'm coming off of a Motorola Z3 Play. I actually love that phone, but the one I got was bugged out from factory and sprint wouldn't help me fix it, and eventually it died.

Which you see foreshadowing of the issue already. All my phones are from sprint. I never unlocked my V20 because I never thought about doing it till about a year of updates later and a few ARB increments... at the time it seemed hopeless to wait. Something was in the works, but don't hold out. I got it when it was still easy to root, I just never did it.

Is it possible to root a sprint V20 thats been updated? I've been looking at buying another one, maybe new old stock just to be safe. My V20 is on android 8. Is it worth it to try to cross flash? It seems really risky, but A10 would be worth it.