yashsingh1/xdaforums huggingface dataset:
[LG V20 Guides, News, & Discussion] waylo:
Haha great to see the whole LG g5 tot creation crew here! I probably won't be getting this phone but do love watching the progress unfold.

But be wary, there is significantly MORE risk in flashing random tot files. Samsungs can overall be salvaged from a bad flash with Odin because bad flashes won't write. LG will punish you with a bad flash by completely bricking with no salvage possible short of sending it back for a warranty fix. Lgup won't even recognize the phone. Let arjuna tell you about his bricked G5 from last year.
[LG V20 Guides, News, & Discussion] mingkee:
Be careful anti rollback can HARD BRICK the phone!
[LG V20 Guides, News, & Discussion] arjuna_:
This is completely true. However, LG in my experience doesn't really challenge warranty claims if you screw up and hard brick it... So that's something lol
[LG V20 Guides, News, & Discussion] bountyman334:
Hey tungkick...I unlocked the bootloader when I first got the phone last Tues...I have Ubuntu installed on my PC...am trying to push the Su...PM me if you can
[LG V20 Guides, News, & Discussion] wolfgart:
Bro, i will receive my TMO V20 next week.

First thing i will do i will contact you to make all test needed
[LG V20 Guides, News, & Discussion] czerdrill:
How'd you do it?
[LG V20 Guides, News, & Discussion] @rbiter:
And here you go folks. The people that screw it up for the rest of us and then whine like babies when the OEMs lock the bootloaders. Seems they're protecting you from yourselves because you don't know what you're doing.
[LG V20 Guides, News, & Discussion] -viperboy-:
It kinda is amateur hour here, people really should understand basics before messing with their phones in a way that can brick them.
[LG V20 Guides, News, & Discussion] czerdrill:
No one is bricked
[LG V20 Guides, News, & Discussion] -viperboy-:
Well they were, that's the point
[LG V20 Guides, News, & Discussion] czerdrill:
Eh, it happens. Progress can't be made without mistakes
[LG V20 Guides, News, & Discussion] Amd4life:
might be helpful to note HOW you flashed the stock tot file??

do tell.

Why on earth wont LG just release the kdz and required dll files?
[LG V20 Guides, News, & Discussion] rbox:
The last time I asked someone to try this they said it didn't work. Maybe you could try it again:

http://forum.gsmhosting.com/vbb/f77...wnload-any-lg-android-stock-firmware-1845207/
[LG V20 Guides, News, & Discussion] douger1957:
I pointed this out Monday night and caught all sorts of grief. "Root commandos" indeed.
[LG V20 Guides, News, & Discussion] ZDeuce2:
How about we play a game... It's called "If you don't have anything constructive or helpful to add to this thread, then shut the heck up." that way we can concentrate on the phone, and not how much smarter you are because you contribute absolutely nothing to this phone or it's development...
[LG V20 Guides, News, & Discussion] -viperboy-:
My post was a snarky word of caution that you shouldn't just jump into this without understanding what it does, the repercussions of it, etc. There's no official TOT or KDZ, I think it's silly to modify a phone without an official firmware package to flash back to stock if something goes wrong.

Sorry if you don't find that helpful, though I frankly don't care what you think.
[LG V20 Guides, News, & Discussion] Kief_haring:
What were the steps?
[LG V20 Guides, News, & Discussion] bambam126:
Rebooting into recovery
[LG V20 Guides, News, & Discussion] douger1957:
So you think that a thread full of noobs and nimrods flailing around trying to root their phones without any real benefit to doing so is helpful? As pointed out elsewhere there's no stock image to recover to. There are people wanting to flash xposed when there isn't even a Nougat version available yet. TWRP seems to be a dangerous way to flash zips and isn't producing usable nandroids yet.
[LG V20 Guides, News, & Discussion] Kief_haring:
LMFAO...
[LG V20 Guides, News, & Discussion] justthefacts:
Glad to hear that. squeaky wheel gets the grease and you were squeaking all over the place. :laugh:

What a genius move :laugh:

This will bring our V20 fatality rate down to Zero.
[LG V20 Guides, News, & Discussion] czerdrill:
Reboot and factory reset? Is that really all haha
[LG V20 Guides, News, & Discussion] UniX1rm:
Did you get your bricked phone up and running?
[LG V20 Guides, News, & Discussion] planetbeen:
He couldn't get to recovery but finally got help and got it fixed around page 6 of this thread - - - > http://xdaforums.com/v20/help/poll-root-t-mobile-variant-t3491808/page6
[LG V20 Guides, News, & Discussion] bambam126:
Yes I did :)
[LG V20 Guides, News, & Discussion] UniX1rm:
Glad you got to fix it. If you don't mind sharing, how did you get around that
[LG V20 Guides, News, & Discussion] jo4mvp24:
reading the thread and you never answered his question on how you unbricked your phone ...can you please share as i have bricked mine and need help thanks
[LG V20 Guides, News, & Discussion] planetbeen:
I answered with a link to where he found his solution. Like... 3 posts above this...
[LG V20 Guides, News, & Discussion] bambam126:
Well it depends on what you did
[LG V20 Guides, News, & Discussion] bud951:
I have a bricked v20 and I have tried flashing this .tot and the other posted in this forum and I keep getting error messages at 9% on all attempts on two windows machines. Any ideas on what this issue could be? I am using LGUP version 1_14_3. Is this the latest build or the build compatible with the V20? Drivers were latest I could find also using the LG common.dll which I needed for LGUP to recognize the V20. This is my only way out of brick I think. Any suggestions would be greatly appreciated.
[LG V20 Guides, News, & Discussion] Double0EK:
Try the other one

http://xdaforums.com/showthread.php?t=3488664
[LG V20 Guides, News, & Discussion] bud951:
Do you know where I can find these files I would need? Thanks!
[LG V20 Guides, News, & Discussion] Damisa-Sarki:
I accidentally wiped my LG v20 and now it says "no OS installed" is there anyone who could help me with this?
[LG V20 Guides, News, & Discussion] eldedo:
So quick question can you flash the tmo to the to an attorney phone, then root as needed? And still work on att network? I somehow remembered doing something similar a few years back.

Not attorney, damn spell check
[LG V20 Guides, News, & Discussion] slayerh4x:
There is no working dll for the V20. You're going to have to return the phone for a new one or wait until we get a dll.
[LG V20 Guides, News, & Discussion] lightninbug:
Might want to ask your attorney before you flash and root his/her phone.
[LG V20 Guides, News, & Discussion] psychoace:
I know I can only get a guess answer right now but would a rom potentially fix a brick as well? I have TWRP installed but I accidentally messed with chmod on the system folder while trying to edit the build.prop (i forgot to tick the execute field). I chock this up to not having root for awhile so I'm back to a newb stage. But now no matter what I do I just boot loop. Luckily I have 2 weeks to turn in my Jump phone from T-Mobile so hopefully I can get this fixed before then.
[LG V20 Guides, News, & Discussion] eldedo:
So just a waiting game, then maybe flashing a tmo stock rom we can then get access to root and custom roms. Personally I just want to strip the att crap from my phone with some small tweaks.
[LG V20 Guides, News, & Discussion] xDEMON87x:
also having this problem
[LG V20 Guides, News, & Discussion] hondasforlife:
If you would be kind enough to point me into the direction of someone doing it please I messed up and now I have a paper weight ????????

---------- Post added at 04:04 PM ---------- Previous post was at 03:59 PM ----------

I'm stuck at LG friends screen
[LG V20 Guides, News, & Discussion] UniX1rm:
Quick question. I am looking to return my phone. I am looking at the proper tools. Can I lock the bootloader ? I am stock rooted with twrp. Are we still waiting for a flash tool to return to stock or there is another way using the files in here ?
[LG V20 Guides, News, & Discussion] nmespinosa:
Alright, I need help, I'm not new to flashing but when I flash the TOT via LGUP, I get to 9% then "error code 0x2000 flashing fail"

Any ideas?
[LG V20 Guides, News, & Discussion] Perion:
Everything I've been reading points to the LGUP Dll for the V20 is still missing, so no way to flash the TOT file yet.
[LG V20 Guides, News, & Discussion] bstollyy:
omg, hehehe, just someone please release the .dll file so we can factory restore this damn temporarily bricked phone, lol
[LG V20 Guides, News, & Discussion] EMSpilot:
You might try this tool.

http://xdaforums.com/lg-g5/development/uppercut-lgup-loader-g5-variants-t3511295

Cheers
[LG V20 Guides, News, & Discussion] bstollyy:
thanks bro, but I have already tried to do it with uppercut, everything loads up great, but when I click start, after loading in the LGH918AT-01-V10d-310-260-SEP-14-2016-ARB00+0.tot file, it fails at 10%, it won't go through, boy do I wish I could find an alternative way to do this
[LG V20 Guides, News, & Discussion] :
Same. Been checking for that magic .dll file everyday...my phone has been soft bricked for about 1.5 months due to a permissions issue on the phone app. Just crashes repeatedly and blocks out the UI...can't fix it even after a factory reset. Sucks.
[LG V20 Guides, News, & Discussion] bstollyy:
Trust me my friend, I understand the frustration, lol. At least I know I haven't destroyed the phone, just need the right files to restore back to factory, but cmon, can someone please find the .dll file!!!

hehehehe, cmon help us all out!
[LG V20 Guides, News, & Discussion] Franzferdinan51:
wish we had one for the us996
[LG V20 Guides, News, & Discussion] Tilde88:
How did you manage to flash the TOT?
[LG V20 Guides, News, & Discussion] Mastajeff:
how did you flash it?
[LG V20 Guides, News, & Discussion] :
this sucks...when's this magic dll coming?
[LG V20 Guides, News, & Discussion] bstollyy:
well, I just factory restored my phone FINALLY! I downloading the LG BRIDGE, and my phone was already in download mode, that was how I messed my phone up, it was stuck in download mode, hehehe. I loaded LG BRIDGE, and said I wanted to do an update, and it fully updated it, I can no longer root my phone because this version is protected, but no big deal, it will be able to root in no time at all.....Just wanted to let you guys no, that my phone is fixed!
[LG V20 Guides, News, & Discussion] netgar:
Could you just type the steps you fixed your phone please
[LG V20 Guides, News, & Discussion] bstollyy:
For sure, btw Merry Christmas!

go here, download LG BRIDGE: http://www.lg.com/us/support/product-help/CT10000026-1438110404543-preinstall-apps

First, your phone has to be put into download mode, or firmware update mode, one or the other, I believe my phone said firmware update, put your phone in that mode, plug it in via usb cable, and then load the LG BRIDGE, once loaded,

click on 'Software Update', then just click on the software update button, and away it will go, fully restoring your phone to the new h91810i. Can't root as of now, but at least your phone can now be fully restored, rooting will come a little bit later......
[LG V20 Guides, News, & Discussion] Link575:
If LG Bridge works does that mean the LGUP would work as well? I've never used it but when I plugged in my h918 it recognized it, that would mean we could restore a v10d .tot and keep the ability to root right? Like I said, never tried to use LGUP so I could be completely off, just asking.
[LG V20 Guides, News, & Discussion] jtlefebvre:
Where is this TOT file? Does anyone have it? I need to gtfo of Oreo.. My DAC sucks now and my bluetooth is spotty as F*** in the car.
[LG V20 Guides, News, & Discussion] tungkick:
Unhappy lg disbale can not write file tot :) disbale write partitiont to phone.
[LG V20 Guides, News, & Discussion] rbox:
http://xdaforums.com/showpost.php?p=69241250&postcount=6

Someone claims he flashed the TOT...
[LG V20 Guides, News, & Discussion] tungkick:
who can flash done?

---------- Post added at 04:46 AM ---------- Previous post was at 04:29 AM ----------

say for me who have try flash file tot this done:( .
[LG V20 Guides, News, & Discussion] Paradoxumical:
Hey, mind telling me how you flashed the stock TOT to your phone?
[MENTION=4965298]tungkick[/MENTION] and I were trying, looks like we've got soft bricked.
[LG V20 Guides, News, & Discussion] Kief_haring:
I would love root to tinker with the phone more...
[LG V20 Guides, News, & Discussion] arjuna_:
Any other ideas you have to get TWRP on the device?

Also what good is having the option of fastboot OEM unlock if they remove the follow up fastboot commands and the ability to install modified stuff. Seems like if they truly wanted us to not mess with stuff they should have just left it locked and not provide the key...
[LG V20 Guides, News, & Discussion] rbox:
They want to give people blue balls...
[LG V20 Guides, News, & Discussion] Amd4life:
well my device is now soft bricked.

step 1) unlocked in fastboot

LGUP 1.14.3 (latest version I think?)

Anti Rollback check.pass

build U

step iaf 10%, install stalls

output error code 0x028C

invalid command response

code 0x80000121

Step 2. volume down + power button

wiped device

locked bootloader in fastboot

tried to upgrade (same error codes)

wiped again.

tried refurbish slot (same error code)

Don't try this at home folks, now I have to send it all the way back to tmobile for repair and who knows how long that will take.
[LG V20 Guides, News, & Discussion] arjuna_:
Sorry that your phone bricked. Like someone earlier said, I had the same experience on the G5. Were you attempting to flash the file on the OP?
[LG V20 Guides, News, & Discussion] rbox:
Can you download a kdz from here? http://devtester.ro/projects/lg-firmwares/download.php

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

Better yet, can you download the kdz following these instructions:

http://forum.gsmhosting.com/vbb/f77...wnload-any-lg-android-stock-firmware-1845207/
[LG V20 Guides, News, & Discussion] Unheard:
Nothing found when entering my IMEI on devtester, and the method from the second link provides no URL.
[LG V20 Guides, News, & Discussion] wolfgart:
so,

Can you confirm that you have Hard Bricked simply flashing the OP TOT ?
[LG V20 Guides, News, & Discussion] arjuna_:
If someone has access to a z3x box please PM me as I have some ideas of how that can help us.
[LG V20 Guides, News, & Discussion] stanleyopar2000:
Why would LG give us an unlocked bootloader but won't let us make changes...?

Hopefully that when the v20 T-Mobile version is officially released it will be in the hands of much much more developers

I'm surprised king root doesn't work. I figured with an unlocked bootloader the days of needing tools like freegee were over...:(

Coming from an unlocked and rooted Moto X Pure, I'm getting my V20 the 8th and it looks like it will be my first phone I will not have root on day one. But.. With the battery life and massive features.. I'm okay with this right now :)
[LG V20 Guides, News, & Discussion] Unheard:
Not the OP, sorry.
[LG V20 Guides, News, & Discussion] arjuna_:
What did you flash?
[LG V20 Guides, News, & Discussion] Paradoxumical:
[MENTION=4965298]tungkick[/MENTION] and I flashed what OP provided and we did get softbricked (possibly a hardbrick but we're waiting for the kdz to drop and then decide). I believe I mentioned that a page ago, kinda surprised people are still trying to flash it.
[LG V20 Guides, News, & Discussion] stanleyopar2000:
Before im doing anything I'll wait for the official T-Mobile release date. The device will be in a lot more hands...
[LG V20 Guides, News, & Discussion] Eliminater74:
I am going to keep an eye on this device, but after owning the V10 and and going though hell, I am very pessimistic about this device... I am sure its a great device.. but LG is doing everything in their power to

keep us from gaining access...... as soon as you find a exploit, LG comes out with an update that locks it down even tighter.. they did the same with the V10....

I Finley gave up and bought a HTC10. Never had an issue with that............

But I really hope you all get root and everything going on this device.. if you do, and if the price drops, I just might pick one up to play with......

But I want you all to crack this v20 wide open, Its kinda like saying FU to LG.. I Love that..

but careful with that anti-rollback... Android N enforces Secure Boot.. that from what I read, will either boot your device into safe mode or as lg likes to to do, Wont boot at all.........

So be careful with that too.... If your bootloader can be unlocked you should be ok with the enforce secure boot mode....... But I did read that Android N is heavy in the security department.

and LG has a reputation on making our lifes hell with the way they lock everything down.............

But good luck peepz, Hope all works out.. Anything to get back at LG.. :)
[LG V20 Guides, News, & Discussion] stanleyopar2000:
why would LG do this? Why would they give T-Mobile versions an unlockable bootloader and then stop any modifications?? it doesn't make any sense...if they're going to be asses just lock all versions and quit giving us blue balls.....or maybe I don't quite understand everything... = /

I thought the Android N protection only was enforced on devices that weren't meant to be unlocked? (Verizon & ATT versions of most phones) so the T-mobile variant shouldn't have this as LG allowed it to be unlocked?
[LG V20 Guides, News, & Discussion] wolfgart:
http://www.xda-developers.com/new-r...ties-to-root-lg-samsung-and-motorola-devices/
[LG V20 Guides, News, & Discussion] stanleyopar2000:
A willing soul needs to attempt this on the LG V20
[LG V20 Guides, News, & Discussion] slayerh4x:
Do you have the script?

Nvm I see him download it at the beginning.

I was gonna try it but I don't know how he runs the wget command. I keep getting wget: not found.
[LG V20 Guides, News, & Discussion] Honestly Annoying:
Please download and try this. It works on the HTC 10.

CODE TO RUN

adb push arm64-v8a/dirtycow /data/local/tmp

adb push arm64-v8a/run-as /data/local/tmp

adb shell 'chmod 777 /data/local/tmp/run-as'

adb shell 'chmod 777 /data/local/tmp/dirtycow'

adb shell '/data/local/tmp/dirtycow /system/bin/run-as /data/local/tmp/run-as'

adb shell /system/bin/run-as

If you can get a root shell with this, you can flash TWRP straight from adb. ONLY DO THIS IF YOU HAVE UNLOCKED BOOTLOADER!
[LG V20 Guides, News, & Discussion] slayerh4x:
I will try it. What are the chances of me messing something up while doing this?
[LG V20 Guides, News, & Discussion] Honestly Annoying:
I really don't know honestly :/ I don't think it is very risky but make sure you have an unlocked bootloader
[LG V20 Guides, News, & Discussion] themustached:
I ran it, seemed to work mostly. Just need twrp to be sure.
[LG V20 Guides, News, & Discussion] arjuna_:
What was the result exactly?
[LG V20 Guides, News, & Discussion] slayerh4x:
Nice man, I will try it later too. Are you on T-Mobile?
[LG V20 Guides, News, & Discussion] arjuna_:
We need our boy [MENTION=5672995]jcadduono[/MENTION] to come help us out. Also he's needing testers for stuff for the G5 and V20 to fix up bugs in TWRP and kali nethunter so please help him out. We need to keep working with these high level devs to improve our devices from here on!
[LG V20 Guides, News, & Discussion] themustached:
This is what I got when I ran it.

warning: new file size (5960) and file old size (14360) differ

size 14360

[*] mmap 0x7d7c068000

[*] exploit (patch)

[*] currently 0x7d7c068000=10102464c457f

[*] madvise = 0x7d7c068000 14360

[*] madvise = 0 1048576

[*] /proc/self/mem -2122317824 1048576

[*] exploited 0x7d7c068000=10102464c457f

Yeah, I am.
[LG V20 Guides, News, & Discussion] Honestly Annoying:
After doing this, do

adb shell

run-as [INSERT ROOT COMMAND]
[LG V20 Guides, News, & Discussion] slayerh4x:
I'm happy to help out. I would love to dual boot with Kali.
[LG V20 Guides, News, & Discussion] themustached:
run-as gives me :

running as uid 2000

uid 0
[LG V20 Guides, News, & Discussion] bambam126:
What do you want me to try i have a broken v20i need to send back to tmobile that I will do test in since it's not mine I'll try anything lol
[LG V20 Guides, News, & Discussion] arjuna_:
I posted this in the G5 forums but asking about it again here. Any use in trying FlashFire after getting temp-root to go into TWRP and fully root the device that way?
[LG V20 Guides, News, & Discussion] themustached:
Do we have a twrp that will work for this device yet?
[LG V20 Guides, News, & Discussion] stanleyopar2000:
Wait. Are we confirming this method gives us temp root...?
[LG V20 Guides, News, & Discussion] themustached:
It possibly does. I think we'd have to have a different run-as file, because from what I was reading it this one doesn't do anything. But I did find one that is supposed to work right.
[LG V20 Guides, News, & Discussion] arjuna_:
That's awesome. I think we're really close to breaking this thing open. I think DirtyCow could be a game changer for a lot of devices. Anyone have the skillz needed to whip up a TWRP?
[LG V20 Guides, News, & Discussion] bountyman334:
Thats how i feel as well... LG i been a long time fan since the optiumus One ...Yes if you can remember that...i been rooting and picking with android... am tryng to decompile the t0t file i have ubuntu and even used the g2 t0t file decompress file for windows and it doesnt work with the latest beast v20... maybe if i can tal to autoprime maybewe can hit at something...i also looed at the g5 to get an idea where to start...i have adb commands but when i reboot into recovery it says no command and shows nothing....
[LG V20 Guides, News, & Discussion] stanleyopar2000:
Wait. What is that image of? That doesn't look good..
[LG V20 Guides, News, & Discussion] arjuna_:
I have that on my device also. It just means the bootloader was unlocked. No big deal.
[LG V20 Guides, News, & Discussion] deadrider1:
Thats just a screen that pops up while the phone is booting when your bootloader is unlocked. Nothing to worry about if you know what your doing.

Edit: and i got beat to it lol.
[LG V20 Guides, News, & Discussion] stanleyopar2000:
Hopefully we can get access to eventually hide that ugly splash screen ;o
[LG V20 Guides, News, & Discussion] arjuna_:
It's on the G5 too. I don't know if there's a way to remove it. The easiest way, obviously, is to lock the bootloader again.
[LG V20 Guides, News, & Discussion] bountyman334:
it the same as as the g4 shows unlocked bootloader now it more in your face...plus i heard google play blocks phones with unlocked bootloaders
[LG V20 Guides, News, & Discussion] deadrider1:
Google Play, or safetynet API? I know unlocked bootloaders trip the API now, but i didn't think google would take it that far.
[LG V20 Guides, News, & Discussion] stanleyopar2000:
I think he's talking about Safetynet. Snapchat, Android pay and (stupidly) Pokémon Go use it.
[LG V20 Guides, News, & Discussion] bountyman334:
yea i think it is safety net...i wonder why my snapchat wasnt working...but i just started use magisk...maybe the v20 would more than likely be systemless root...it better and cleaner if you can say
[LG V20 Guides, News, & Discussion] stanleyopar2000:
There are a couple of methods on here that can help bypass it. However me not being a snapchat user, I can't tell you right off the bat which method works or if they even still work
[LG V20 Guides, News, & Discussion] deadrider1:
I used magisk on my g4, but it stoppped working once google started blocking unlocked bootloaders.
[LG V20 Guides, News, & Discussion] freeza:
Has anyone tried to push su with the exploit found?
[LG V20 Guides, News, & Discussion] deadrider1:
To my knowledge, and that doesn't account for much so take it with a grain of salt. The exploit can only modify files, not create them with the modified privileges. They need a file in system/bin with a setuid flag, or to disable SELinux enforcing, niether of which they can do right now. It's still early on, but right now it can't be used to get root.

Edit: I'm referencing the Dirtyc0w exploit.