yashsingh1/xdaforums huggingface dataset:
[LG V20 Questions & Answers] Tilde88:
If you are uploading the TWRP files, I won't be able to use that. You would first have to restore it in TWRP, boot the phone to make sure it works, and then pull those files.
[LG V20 Questions & Answers] esqueue:
Ok, I'm cancelling the upload. I'll have to do this when I have some down time.
[LG V20 Questions & Answers] Tilde88:
Someone else in this thread has yet to root. He is going to try and get the files for me, before he flashes the US996 ROM
[LG V20 Questions & Answers] fogame:
Yep. Just got to wait until I'm at a computer that isn't government owned lol.
[LG V20 Questions & Answers] Dr Professor Sad:
Quick Questions because i truly don't know. Will my boot img contain personal info? Is this safe? IE not going to brick my device. Just don't want to give my personal info unknowingly. I would like to root in the future but am waiting for all the kinks to get sorted. Being able to help the cause would be great.
[LG V20 Questions & Answers] Tilde88:
No, giving out your boot.img or your system.img will give out exactly 0 information about you or how your phone is set up. It's kinda like asking if I gave you my Windows 10 installation CD, will you get my info? :-p

Things that are in non-volatile storage could/would hold some of your info, like phone number, IMEI , and more, but you can't get those files using any of these conventional methods. You would need a special program to read/edit those kinds of things.

Furthermore, if you mix up the if= and the of= you can easily brick your device. So it is certainly recommended to copy and paste what I put in. Or if you like, I can remote into your PC and do the commands for you, but copy + paste will be safe. I've had 3 other people do the same steps and that is how I've built the other ROMs
[LG V20 Questions & Answers] fogame:
Shouldn't contain any personal information. It's just the boot image.

[MENTION=1325580]Tilde88[/MENTION] As far as my files go...I have them on my computer. I didn't have time to upload them because I had to go to work to save my company's network lol.

Gosh dang hackers.
[LG V20 Questions & Answers] Tilde88:
Tell me about it ;)
[LG V20 Questions & Answers] slickdaddy96:
Ok so if I download the temporary root script from here (http://xdaforums.com/showthread.php?t=3500184) and execute it from Linux it should give me shell permissions to pull what you need correct? This would work and not mess my stock phone up correct?

So do I need to be in any particular mode on the phone or booted up into the phone before executing?
[LG V20 Questions & Answers] Tilde88:
If you have root, and you enable ADB on your phone, you simply plug in your USB cable to your PC (with the phone turned on), open up an adb shell and paste in the commands I sent. DD will not show a progress bar, just a blank blinking cursor until it finishes. When it finishes it'll say "finished" with the amount of time it took. I recommend you do the boot.img first, as it is very small. If you like, I can take control of your PC and do it for you, I just need you to have root first (without having modified your ROM, or flashed a different one).

Also, not sure if this post was for me, but if so, please be sure to quote me, or mention me. Otherwise I will not know that you need my attention :).
[LG V20 Questions & Answers] slickdaddy96:
I can do it all on my own. I just want to make sure if I run the Temp.sh from that post I'm not going to be permanently messing up my stock phone which is not rooted and that it is indeed a temporary root shell and when I reboot phone it all goes back to normal.

Does the phone need to be in download mode or can it be up and running? My Linux sees it and sees the device via adb.
[LG V20 Questions & Answers] Tilde88:
Phone should be fully boot up. Nothing in your phone will be modified. The temporary files will be deleted upon reboot, and you will not have root.
[LG V20 Questions & Answers] slickdaddy96:
Can not pull using the Temp.sh "temp root shell" the exploit gives me. I can't do an adb shell command at the prompt the root shell gives me. If I say whoami, it says I'm root. I run your commands and it tells me "Permission denied".

Here is exactly what it says attached. So obviously you can't pull the files from the temp.sh root shell exploit alone, and I'm unwilling to go any further such as partially through the root method since it is not-reversible at this point and time. I'm sorry I could not be of more help.
[LG V20 Questions & Answers] Tilde88:
I mean, root is root. That it can do it; it can. I'm not sure what is going on lol. Perhaps it can't read the symlinks for whatever weird reason, and it needs the dev block pathing, not the by-name pathing.

I can't see the picture, seems to be something wrong with the attachments server(s).

And no worries, I don't actually need it, I'm just trying to make some modded ROM goodness for sprint users. If you wanted to do a remote session I can take a look :), if not, no worries, someone will upload at some point.
[LG V20 Questions & Answers] qstarin:
I'm getting an error that sounds similar, but I just realized I don't have an sd card in this thing yet.. If I can find one I'll give it another shot. Not sure if that's the problem or what you said about dev block pathing. Trying to see if I can figure that out here, sorry not super knowledgeable with android. New LS997 here, not rooted or flashed or updated (one is waiting). I can't list a bunch of directories, permission denied. Looks like I'm not really getting root.

[IMG="exploited"]http://i.imgur.com/zzmA5Js.png[/IMG]

[IMG="error"]http://i.imgur.com/Bux5ZdF.png[/IMG]
[LG V20 Questions & Answers] Tilde88:
Mind if I use your PC while the shell is up?

Also, it looks like you are on a Windows command prompt, not a *NIX terminal. I may be wrong/outdated, but I believe the temp root thread specifically says to use linux or unix only.
[LG V20 Questions & Answers] slickdaddy96:
I was using Ubuntu inside Oracle virtual machine. So I was in Linux. That is the same errors I got though. I do have an SD card.
[LG V20 Questions & Answers] andycepi:
Not sure if this is related, but I recently rooted my Sprint V20 (LS997) and I can no longer use dial codes, which I need to update the PRL. If this system.img is extracted, would it have the packages/apks needed to use dial codes, or am I just up the river?
[LG V20 Questions & Answers] qstarin:
I sent you a PM but I'd rather pop on a chat and get direction. I could set up a spare laptop or VM but I was hoping not to have to ;)

Also, yes windows but the temp root just uses adb and netcat so I think it shouldn't matter, though I could be wrong.

That's the idea, if it works. For now, you're up the river unfortunately (afaik).
[LG V20 Questions & Answers] Tilde88:
It is precisely why I need the stock Sprint image. You are not on a Sprint-based ROM, and those features are not there.

Once I get a Sprint system.img I can make you a working ROM. And I would need a boot.img to re-use the RAMdisk, and replace the kernel, with my kernel built from source

---------- Post added at 12:48 AM ---------- Previous post was at 12:44 AM ----------

I just had a massive "AHA" moment. The permission denied isn't from /system, it's from /data (likely due to SELinux)

Try this

su

dd if=/dev/block/bootdevice/by-name/boot of=/sdcard/ls997boot.img

dd if=/dev/block/bootdevice/by-name/system of=/sdcard/ls997system.img

(/sdcard is your internal storage, not an sd card)
[LG V20 Questions & Answers] qstarin:
Sorry, I forgot to mention that I don't seem to have su. I get:

lsh: No such file or directory

I also get the permission denied specifically on /dev/block/bootdevice/by-name/boot and /dev/block/bootdevice/by-name/system - also if I try to ls /dev/block

Suggest a screen sharing app?
[LG V20 Questions & Answers] Tilde88:
PM sent

---------- Post added at 01:50 AM ---------- Previous post was at 01:16 AM ----------

Ah, I just looked over the temp root thread.

So what someone would have to do, is once they get into TWRP, go ahead and pull those files. How does dirty santa work? Let me go read up on it lol.

Ok, so here's what has to be done. (for whoever is willing to root their sprint phone for the first time)

Do dirty santa up until this step

(like, do this step, then stop)

Once you are in TWRP, do not format or delete anything.

Just plug in your phone and do the adb commands I have listed in the previous posts. OR you can PM me and ill do it for you via remote session. Let's get sprint's ROM going!
[LG V20 Questions & Answers] qstarin:
Hmm, ok. I wasn't planning to do root until there was a way to revert to stock but I'll consider it, unless someone else does first.
[LG V20 Questions & Answers] Tilde88:
There is no going back from dirty santa at this time (i think). I can make stock roms and kernels if need be, but idk about relocking the bootloader. you would have to ask in dirty santa's thread
[LG V20 Questions & Answers] slickdaddy96:
You might have more luck if you posted this request in the actual root method post since people are reading through it about to root. Unfortunately I'm out on rooting until there is a way back to stock which from what I gather may never happen since the people trying bricked their device.
[LG V20 Questions & Answers] Tilde88:
Someone here was going to do it yesterday, but the government blacklisted him. So he is restoring server 2000 from his floppy disk backup
[LG V20 Questions & Answers] me2151:
I have a new v20. it is still zv3 BUT i am going to try an alternate method that will possibly allow root on dirtycow patched versions.

If you guyss ABSOLUTELY want a stock system and stock boot img then i will get you them when i re root.
[LG V20 Questions & Answers] MANDROIDS:
Awesome :)

I love having the root, and don't want to relock the bootloader.

I'm just hoping for a rooted stock rom or rooted improved stock rom with working wifi calling, prl updates. and ## codes.

Again I want to thank all the developers for your help!
[LG V20 Questions & Answers] me2151:
Warning you now. dont get your hopes up. this will likely never happen. too many incompatibilities
[LG V20 Questions & Answers] slickdaddy96:
If this works, then that would mean the phone will still be identified as an LS997 and have a sprint ROM instead of it being US996 or no?

I don't think people care so much about stock rooted LS997 as having the ability to go back to LS997 locked and unrooted from whatever way the phone is rooted without bricking their device, or at least a root method where all functions of the phone still work which currently is not the case at least for Sprint models.

I really appreciate all that helped root and all the continued work. I can pull any files anyone needs if possible if anyone ever needs any. I don't plan to take the update anytime soon.
[LG V20 Questions & Answers] Tilde88:
What is zv3? The stock sprint build?

Also, I see you mention that # codes and stuff won't work for them, could you elaborate?
[LG V20 Questions & Answers] me2151:
Device is identified as a US996 because of the bootloader.

---------- Post added at 02:48 PM ---------- Previous post was at 02:47 PM ----------

ZV3 is the version the sprint phones shipped with. it allows dirtycow. the reason that ## codes and update pro won't work is because its Sprint specific and we cannot run a sprint rom without the phone being unusable.
[LG V20 Questions & Answers] Tilde88:
im willing to try to make the ROM. i did the same for the AT&T users, and VZW. they are OK, just still have static boot. even using an h910/vs996 modded kernel with the patched dtsi. One thing i noticed, on the DTSI patch, it has (on line 43) the alignment for one variable as 1/10 the original. was this intentional, or a typo?

If you wouldn't mind, I would need the system.img for the ROM, and the boot.img to re-use the RAMdisk, ill repack the kernel.
[LG V20 Questions & Answers] me2151:
AT&T and VZW users didn't have the same issues sprint did. Thats why theirs works. The DTSI patch does indeed have changed variables. Im not sure if its a typo or not but the DTSI is for AOSP so try changing it to the old one(160 i believe).

AT&T and VZW only needed to reset their data to get working. Sprint needs a full seperate rom.
[LG V20 Questions & Answers] Tilde88:
Thanks to [MENTION=3655150]qstarin[/MENTION] , he was able to get me the stock system and boot.img

I'll have a test ROM ready in a bit... Who would want to flash it? It is possible it will not boot due to the way Dirty Santa works, so have a backup in TWRP ready just in case. If it does not work, I will try and merge the missing parts from sprint into the USC ROM, as that one boots, or perhaps I will try to merge in the frameworks and such from the USC ROM into the Sprint ROM. We will have to see. Just making this post to give you a heads up, to be backed up now, so that later when the ROM is released you can try it out. Kernel also being compiled for LS997 with all the same mods from my 5.5 NSS rom+kernel
[LG V20 Questions & Answers] qstarin:
Backing up my US996 rom now. I'll be in and out a bit throughout the day but I'll give it a shot.
[LG V20 Questions & Answers] me2151:
Im working on a full stock rom right now too of the LS997. I figured out why it won't work right and im fixing those issues
[LG V20 Questions & Answers] Tilde88:
Such a tease! I like learning and knowing things, so if you could share when you have the time ;)
[LG V20 Questions & Answers] slickdaddy96:
So you are saying we might be able to do Dirty Santa and have a LS997 stock ROM to go with it soon? Yeah! That might get me rooting if that is the case.
[LG V20 Questions & Answers] midmadn:
Yay. Thank You for working on this. Being a Sprint V20 user - I cannot bring myself to root my phone with the knowledge I have gained from reading all of these posts. There's just to much downside. If I root - I at least want the option of being able to run the sprint rom with the options a sprint user needs. Like updating prl and profile. No lag. Return to stock.
[LG V20 Questions & Answers] me2151:
I determined the issue is with the boot.img. The debug boot img causes permission errors. HOWEVER. If you use the stock sprint boot img service works and it doesnt crash HOWEVER(yes again) you cannot use a custom recovery as the stock sprint rom overwrites the twrp recovery. I am building a custom one that removes the scripts of overwriting the recovery and HOPEFULLY removes the warnings about corrupt device :)

Yes. its still considered a custom rom because you have to download and flash it but it will be 100% stock including all the bloatware.

---------- Post added at 06:25 PM ---------- Previous post was at 06:24 PM ----------

Nope. Don't even think about it :/ Only way is KDZ flashing. We have no working one yet.
[LG V20 Questions & Answers] Tilde88:
Ah, no worries then hopefully mine will boot as well :D.

Question, do Sprint users also get Static Boot? That is the one thing I cannot seem to fix. So, if you do get static boot guys, sorry, that will still be there.

Uploading my NotSoStock Sprint ROM (in a bit.. lol sorry forgot to change the flag to SPR in defconfig, recompiling kernel... derp)
[LG V20 Questions & Answers] me2151:
Yes. still has the static screen but is fixed with a flip of the phone still

EDIT: I will also be pulling the ZV5 update and trying to apply the fixes except the dirtycow fix.
[LG V20 Questions & Answers] Tilde88:
Btw, looks like the ZV3-5 rom and kernel source have been out.

http://opensource.lge.com/osSch/list?types=ALL&search=ls997

Lol... whoops :D
[LG V20 Questions & Answers] me2151:
Yup. thats just the kernel sources.

So heres an update. My rom works. I am full stock sprint(downloading a root checker right now Fully rooted) I have all the sprint bloatware and I can update PRL/profile(meaning phones can now be activated AFTER root). Wifi Calling works. Boom. Probably the most working thing on sprint.
[LG V20 Questions & Answers] Tilde88:
Ah, yea I just now downloaded and saw, only kernel source.

I botched something in my defconfig... So now I'm fixing that up first before I can compile the 997 mod kernel. I'm based off zv4.

Don't you love it when you tried one tiny little experimental thing, but forgot to document which that was so you can undo it like a regular person?

Update: Finally found the test I did, was to do with network sockets. Fixed up now on my H918, compiling ls997 kernel now, upload should be up in about 35minutes. Be sure to have backups just in case. Also, a clean install will be required coming from US996 ROM. This means that in TWRP, you will have to click Wipe --> Swipe To Factory Reset. It will not delete your pictures and stuff in your internal memory, but it will wipe your apps and settings. So if you need your apps and games, back them up with Titanium Backup. DO NOT BACKUP SYSTEM APPS. Only the apps you yourself downloaded/installed (and/or games).

---------- Post added 2nd January 2017 at 12:54 AM ---------- Previous post was 1st January 2017 at 11:58 PM ----------

For those who are going to test the ROM:

Before proceeding. It is absolutely necessary for you to be on a stable TWRP build (currently, RC8, 3.0.2-0, and 3.0.2-1). Also, you must have already have had decrypted your ENTIRE phone. If your phone bootloops into TWRP, you probably didn't decrypt, and/or didn't flash no-verity properly, or it could also be that you are on an old TWRP build.

---------- Post added at 01:17 AM ---------- Previous post was at 12:54 AM ----------

[MENTION=350604]osva[/MENTION] [MENTION=695848]starbuck123[/MENTION] [MENTION=3655150]qstarin[/MENTION]

and anyone else who wants to test.

Here is LS997-NotSoStock v5.5! Be sure to read the post above, and any other in this thread about the test ROM.

Once you confirm it works, I'll make a thread.

Good luck!
[LG V20 Questions & Answers] me2151:
Im working on my kernel right now trying to fix static on boot. [MENTION=1325580]Tilde88[/MENTION] if I get it on stock kernel ill tell you how.
[LG V20 Questions & Answers] Tilde88:
! You rock :)

Tyvm
[LG V20 Questions & Answers] starbuck123:
I just tried to install it and I'm getting "Skipping MD5 check: no MD5file found, Updater process ended with ERROR: 6. Eorror installing zip file "/external_sd/LS997-NRD90M[NSS]v5.5-viper.zip". What now?
[LG V20 Questions & Answers] Tilde88:
Hmm, sounds like a bad zip. Can you open the ZIP on your PC or does it give you an error? If it gives you an error, you will have to re-download.

Update : FFFF... There is an extra parenthesis in the updater script. Let me re upload. Ill upload just the script also so you don't have to download the whole thing...

For those that downloaded the test .zip. Open it up on your PC, go to META-INF folder, then com, then google, then android. Delete the file called "updated-script" and only that file. Put this one in there instead
[LG V20 Questions & Answers] starbuck123:
Working now! Will keep you posted!
[LG V20 Questions & Answers] veeeyesee:
flashing now....thank you

---------- Post added at 09:01 PM ---------- Previous post was at 08:44 PM ----------

stock on the static screen
[LG V20 Questions & Answers] starbuck123:
Its stuck at the static boot screen. Pushing the power button and covering the sensor doesn't do anything. Any suggestions?
[LG V20 Questions & Answers] Tilde88:
Are you sure it is stuck? Flashing a clean ROM takes about 10 minutes on the logo screen before the ROM finishes its first boot. Then a progress bar appears, then the phone boots. Maybe it's just loading and can only display static until it boots?

Unfortunately if not, restore your backup. We will have to wait for a static boot fix.

I can upload a test kernel, to see if it helps out, but there is no guarantee.
[LG V20 Questions & Answers] starbuck123:
I left it for more than 10 mins and nothing happened. The static screen also looks like it froze.

I restored my backup but can test your kernel if you want me to.
[LG V20 Questions & Answers] Tilde88:
How long did you leave it at the static screen?
[LG V20 Questions & Answers] qstarin:
I was able to install with the new script (didn't try without).

As for the static boot, I had not gotten that at all since rooting with the US996 deodex sprint rom over in the root thread. On the first boot here I got static after the LG logo then it rebooted itself and now I'm back on static after the LG logo again.. Just waiting on it here, started the first boot when I started typing this response.

EDIT: Damn these threads move fast sometimes. I really need to remember to refresh them before I do anything lol. Good thing I have backups.
[LG V20 Questions & Answers] veeeyesee:
i waited for more than 10 mins, same thing, i'm reflashing and this time wiping system to see if that makes a difference
[LG V20 Questions & Answers] Tilde88:
The fact that it rebooted itself is a good sign. Leave it there for a while, I am hoping it just can't display the boot animation ( Android logo), which is where it stays on all v20s for a good while until the android initial setup starts.

---------- Post added at 03:13 AM ---------- Previous post was at 03:12 AM ----------

System is wiped by the ZIP. All you have to do is factory reset
[LG V20 Questions & Answers] me2151:
Im building my kernel right now and ill let you know if it fixes it [MENTION=1325580]Tilde88[/MENTION]
[LG V20 Questions & Answers] veeeyesee:
ok, i just reflashed...will let it sit for a while, hopefully its just the initial boot, i appreciate the effort

---------- Post added at 09:17 PM ---------- Previous post was at 09:16 PM ----------

thank you me2151
[LG V20 Questions & Answers] qstarin:
I recall it took a while there after rooting. I'm not in a rush I'll leave it sit for like 15-20 more minutes.
[LG V20 Questions & Answers] Tilde88:
I've got a US Cellular boot.img ready for you guys to test. Let's see if waiting gets passed the static first.
[LG V20 Questions & Answers] veeeyesee:
i can try it
[LG V20 Questions & Answers] qstarin:
I've had static for more than 20 minutes at this point. Probably safe to call it stuck.
[LG V20 Questions & Answers] Tilde88:
Yea...

Uploading the USC boot.img now if you want to test that as well. [MENTION=1441525]veeeyesee[/MENTION]

https://mega.nz/#!DEsgDZjT!jSi7CcLbQmaZ47kyPu0NjSe27XvjLUbv0DgNklgnjkM

Flash in TWRP. Tap Install --> Flash Image (bottom right button) --> find this boot.img (make sure it's the right one), Flash under Boot when TWRP asks.
[LG V20 Questions & Answers] veeeyesee:
ok will try it and give you a feedback
[LG V20 Questions & Answers] qstarin:
So after 27 minutes I pulled the battery. Then plugged it back into a charger. It came up with the corrupt phone screen, then went to static but with some icon behind it. The cover sensor and power button cleared the static and it was just the charging icon.
[LG V20 Questions & Answers] Tilde88:
The charging icon you mean like when the phone is off and you plug it in to charge screen thing? That means then that it is not even starting the boot process. :\
[LG V20 Questions & Answers] qstarin:
After I pulled the battery, yeah. Was mainly just mentioning the static cleared up, versus when trying to boot the rom it wouldn't. Also I missed recovery a couple times here I can tell you behind the static I saw some swirling startup animation for a second before it just freezes up. I've also flashed the boot image and waiting on that here. Sitting at the LG logo for at least a minute longer than it took before to hit the static.
[LG V20 Questions & Answers] veeeyesee:
still waiting for it to boot after flashing the uscellular boot image
[LG V20 Questions & Answers] Tilde88:
As a last resort, you can try restoring just Boot from your TWRP backup. If not, sadly it will have to be a full restore.

Once me2151 gets the patch fixed up (which I have no doubt he will!!), I'm sure we will be good to go after I patch the kernel.
[LG V20 Questions & Answers] veeeyesee:
restoring now, will wait till we get other options, will still be willing to test
[LG V20 Questions & Answers] qstarin:
I've been stuck at the LG logo since that us cellular boot img too (gave it about an hour).