yashsingh1/xdaforums huggingface dataset:
[LG V20 Guides, News, & Discussion] lightninbug:
Not unless he has stated otherwise. So please guys/gals, STOP spreading false promising info.
[LG V20 Guides, News, & Discussion] system0verload:
CFs' root is based on his Pixel phone because it is the one he's been working on.. You know, what better way of a bigger pay day than using Google's own biggest and newest to discover Vuls and test some undisclosed CVEs exploits right now...

His systemless root option implementation would apply across all Nougat's based phones as long as 1) the phone is BL unlocked and 2) it is rootable... Once V20 gets root, most likely ( and it is pointing that way ) it will use ChaineFire's new systemless root method. And we will find out sooner, rather than later!
[LG V20 Guides, News, & Discussion] lightninbug:
Until HE has actually stated this, it means nothing. So again, this is all just hearsay.
[LG V20 Guides, News, & Discussion] system0verload:
Hah, True... I won't argue there, but then again, I know where I stand! Don't say it wasn't stated here first, though!
[LG V20 Guides, News, & Discussion] lightninbug:
Isn't the Pixel on Nougat 7.1? We are on Nougat 7.0.
[LG V20 Guides, News, & Discussion] jinkerz9430:
that is a good point. That's why even before i bought the lg v20 i said, well... chances are 50/50 for this device to get rooted soo i might as well learn to adjust to live without root just in case, at least for 8 month
[LG V20 Guides, News, & Discussion] lightninbug:
Again folks, NO ONE has stated root IS coming 100%. Stuff is still being worked on by a few peeps behind these walls. That doesn't mean it's DEFINITELY coming, as we don't even know if/when it's possible. Until you see something released, or hear from [MENTION=631273]Chainfire[/MENTION] himself I wouldn't get too excited.
[LG V20 Guides, News, & Discussion] @rbiter:
Because you still haven't grown up son. (Slams another beer down)
[LG V20 Guides, News, & Discussion] arjuna_:
Chainfire has published his pixel root. Seems like a lot of stuff has changed under the hood for Android.
[LG V20 Guides, News, & Discussion] @rbiter:
Sounds like you were tl:dr so you wanted instant gratification.
[LG V20 Guides, News, & Discussion] MicroMod777:
Does the fastboot boot option even work on V20?
[LG V20 Guides, News, & Discussion] simoncinis:
This thing have root and recovery yet?
[LG V20 Guides, News, & Discussion] bountyman334:
only ones tired are fastboot oem unlock and fastboot getvar all...i have the h918 t mobile variant
[LG V20 Guides, News, & Discussion] bezeek:
Nope. They also took away `fastboot install`, and you wouldn't want to run an exploit designed specifically for an HTC Pixel with 7.1 on an LG V20 with 7.0 anyhow.

TWRP has been compiled for days, but the V20 wishes not to be flashed. A few fine fellows have been busting their butts to put together either a custom TOT containing TWRP, or an applypatch exploit. Until then, root's a pink elephant.
[LG V20 Guides, News, & Discussion] SkyPhone:
I wanted to know if things had gotten far enough to be able to change two files - /etc/hosts and /system/build.prop.

I'd read every post here and many threads on dirty cow. It looked like it was likely that was possible. TBH, I still don't understand why it isn't.

AFAICT, dirty cow allows a file to be changed in memory that a non-root user should not normally be able to change. The system then writes the modified file back. At the point I asked the question, dirty cow was being used to modify run-as. I don't know what the mod was, but I suspected it removed the root privilege check. That should have allowed a non-root user to use run-as to execute root commands.

At that point, the problem was that the run-as context was being checked by other security code and did not have rights to make the changes needed to achieve a permanent root.

While I'd like permanent root, it looked to me like dirty cow could be used to load the two files into memor, modify them and then the system would write them back with changes being permanent. I still don't see why that won't work

I regret saying my clock was ticking on return. I wasn't trying to say anyone should hurry up on root. I was trying to explain why I was butting in and asking a question. Normally I just lurk, and wait for root. That's what I did with the Note7. I returned it in the last day. Here, I thought enough progress had already been made to meet the minimum needs of some users, but I wasn't sure. I'm still not sure.

I have no idea why you think it was a tl:dr post. Perhaps that's how you'll treat this post. It is long, but perhaps someone will read it and comment on the tech issues discussed.
[LG V20 Guides, News, & Discussion] MicroMod777:
Of course not. On the T-Mobile LG G4 you can fastboot boot twrp.img to get in TWRP.
[LG V20 Guides, News, & Discussion] Bubba Fett:
I am look foward to your easy root release.
[LG V20 Guides, News, & Discussion] bezeek:
Nothing actually gets written, which is awesome, because imagine a group of kids going on a lulz-spree and intentionally hard-bricking [insert big number here] vulnerable cable modems and such.

Anyway, the broader problem is that - disregarding other complications - nothing that a V20 can "live without" has enough rights to act as an unfettered root shell. Each little piece of the OS is given exactly the variety and amount of privileges that Google determined to be necessary for said piece to do its job. Personally, my money's on jcadduono's efforts to shove a TWRP image down applypatch's throat as if it were an OTA.

Then there's the idea of coming up with a TOT that includes TWRP and doesn't soft-brick the device- totally different ongoing struggle there.
[LG V20 Guides, News, & Discussion] wolfgart:
It seems that Now LG sign kdz. You can't write in phone patched partition
[LG V20 Guides, News, & Discussion] othermark:
Does 'setenforce 0' not work once you escalate with dirtycow? Just turn selinux off. Maybe too simple?
[LG V20 Guides, News, & Discussion] Darriousx:
So... Little sneak peak of what's going on behind the scenes. We've got root now guys ;)
[LG V20 Guides, News, & Discussion] bigmase23:
Proof is in the pudding.. Pics or BS
[LG V20 Guides, News, & Discussion] vampirefo:
That's good news.
[LG V20 Guides, News, & Discussion] system0verload:
unfortunately, only root.... for now.

nothing custom can be flashed yet
[LG V20 Guides, News, & Discussion] Darriousx:
Not yet. But TWRP was already made for it. It's being worked on putting a custom recovery. So will hopefully happen soon
[LG V20 Guides, News, & Discussion] netgar:
Any root apps can be installed?
[LG V20 Guides, News, & Discussion] system0verload:
yeap.. crossing my fingers bud! Sunday funday I guess :D
[LG V20 Guides, News, & Discussion] stanleyopar2000:
Man root is like 95% of what I wanted. I'm probably never going to flash a custom ROM. there are people on stock getting 9hrs of screen on time.

So the question remains.... When this is done. Who do I give my donations to?
[LG V20 Guides, News, & Discussion] czerdrill:
Same, ad blocker and xposed is all that's necessary for me.
[LG V20 Guides, News, & Discussion] stanleyopar2000:
I think if a phone gets amazing screen on time there isn't any need for one. I used to custom ROM because I would get way better SOT. (and to be-rid myself of verizon spyware.) Now that stock has already achieved this there is no need.
[LG V20 Guides, News, & Discussion] pro_granade:
When do you guys plan on releasing? I might start helping out with some **** whenever I get around to it. It's been 5 years since I've worked on a LG device. Do you think you will start making device trees and building ROMs?

EDIT: Now that I think of this, we should probably do stock ROMs until we can manage to work the 2nd screen into AOSP.
[LG V20 Guides, News, & Discussion] stanleyopar2000:
If anything maybe a debloated stock rom. Yet again you can disable a lot of the apps
[LG V20 Guides, News, & Discussion] XooLoo:
For me, it's just ad blocker & titanium. Custom ROM is the cherry on top of course. But most certainly can leave without it just fine.
[LG V20 Guides, News, & Discussion] pro_granade:
I wanna get rid of the Sprint default ****. It actually makes me suicidal. How should I go about dumping the Stock TOT for the Sprint variant?
[LG V20 Guides, News, & Discussion] SkyPhone:
It's not a root. It's a way of changing two files that I'd like to be able to change, and which can only be changed with root access. As best I can tell, that's exactly what dirty cow allows.

One file gives adblocking like AdAway and the other spoofs Oculus into running onmy Gear VR.

If no one gets root before I have to return my V20, I'll follow the steps posted here by others and try it. With luck, I won't have to. I'm no developer and I'd rather wait until those with better skills have tried to get root. But from what they've already seen posted here modifying a preexisting file with root privileges is possible.
[LG V20 Guides, News, & Discussion] slayerh4x:
How many of you guys have successfully flashed this image?
[LG V20 Guides, News, & Discussion] system0verload:
[MENTION=631273]Chainfire[/MENTION], supersu on its freaking way for the V20!!!!!!!! Finally... this may be it guys
[LG V20 Guides, News, & Discussion] vibrantliker:
Where does it say that?
[LG V20 Guides, News, & Discussion] wolfgart:
http://xdaforums.com/v20/development/h918-recowvery-unlock-v20-root-shell-t3490594 Great Day !!!!
[LG V20 Guides, News, & Discussion] SkyPhone:
Aha. Thanks. I must have misunderstood what I read elsewhere about how Dirty Cow worked. If nothing is written, then does the modified run-as stay in memory and run when called by the non-root user? And if so, then the problem is as you described that run-as has insufficient rights to do what we'd like it to do?

I really appreciate the explanation. I still wonder... If we can use DC to modify something in memory, I would think there must be some app that when run with root privileges could permanently modify other root files. It must be very frustrating to be able to get root privileges but not root.

As a related question, does the RowHammer exploit work on the V20 and does it offer anything that DC doesnt?

Again, thanks for the info.
[LG V20 Guides, News, & Discussion] slayerh4x:
Guess what guys?

[IMG="Root Check"]https://s14.postimg.org/d4burha33/Screenshot_2016_10_30_19_16_51.png[/IMG]

[IMG="SuperSu App"]https://s14.postimg.org/oups8v2vj/Screenshot_2016_10_30_19_24_50.png[/IMG]
[LG V20 Guides, News, & Discussion] Darriousx:
This community is great! [MENTION=631273]Chainfire[/MENTION] [MENTION=5672995]jcadduono[/MENTION] So glad for you both.
[LG V20 Guides, News, & Discussion] czerdrill:
Awesome, can't wait
[LG V20 Guides, News, & Discussion] poczynek:
Chainfire just tweeted:

Just installed SuperSU on a V20, based on [MENTION=5672995]jcadduono[/MENTION] 's initial work. Good times.
[LG V20 Guides, News, & Discussion] system0verload:
Yes, indeed!!!!

[MENTION=952755]slayerh4x[/MENTION], for being the brave guinea pig throughout all of this!!!!!!

---------- Post added at 07:39 PM ---------- Previous post was at 07:36 PM ----------

[/COLOR [MENTION=952755]slayerh4x[/MENTION], I know you are being super swamped at the IIRC lmao... whenever you get a chance, just do a full battery of root apps tests and report back man! You're a brave soldier man lol
[LG V20 Guides, News, & Discussion] mrwinkle13:
GAMETIME!!!! ??
[LG V20 Guides, News, & Discussion] slayerh4x:
I'll test as many apps as I can remember and report back. lol
[LG V20 Guides, News, & Discussion] EMSpilot:
TWRP?

Cheers
[LG V20 Guides, News, & Discussion] slayerh4x:
No TWRP yet. Need to talk to JCadduono about that.
[LG V20 Guides, News, & Discussion] system0verload:
No TWRP for now man... there's a sentinel at the kernel (LG sig) which just overwrites everything... that will need more retooling and I'm sure that having the biggest stone out of the way, that one should come in the days to follow for sure.
[LG V20 Guides, News, & Discussion] lightninbug:
This is all you had to do lol...

Chainfire just tweeted:

Just installed SuperSU on a V20, based on [MENTION=5672995]jcadduono[/MENTION] 's initial work. Good times.
[LG V20 Guides, News, & Discussion] jellybear456:
I assume none of this progress will help me with my AT&T V20?:(

Nonetheless, Congrats! And great work to everyone who has worked their asses off recently.:good:
[LG V20 Guides, News, & Discussion] @rbiter:
Butt hurt much?
[LG V20 Guides, News, & Discussion] ZDeuce2:
Oops, not you can shut up.

---------- Post added at 08:51 PM ---------- Previous post was at 08:48 PM ----------

He didn't, nor did he have to do anything... People have more important things to do than appease your curiosity. Troll on good sir, have a wonderful evening.
[LG V20 Guides, News, & Discussion] MicroMod777:
Awesome!!!!
[LG V20 Guides, News, & Discussion] stanleyopar2000:
Great!! So [MENTION=5672995]jcadduono[/MENTION] is responsible for this...?
[LG V20 Guides, News, & Discussion] jinkerz9430:
Yup. Basically speaking yes!! :cool:
[LG V20 Guides, News, & Discussion] yugendreams:
H-h-how?! WHERE??!!!

Linkme!
[LG V20 Guides, News, & Discussion] mingkee:
Hmmm...isn't it time to have reverse-engineering fun?

If it could be done and embed SHA keys into TWRP, ALL variations, even having bootloader tightly locked, can have TWRP installed, kernel SE Linux Policy patched, and rooted.
[LG V20 Guides, News, & Discussion] jeep447:
After being stuck with a Note Edge on Kitkat for 2 years this phone is like a dream come true, and having root will just be the ultimate cherry on top of the cake! You guys rock!!

Sent from a ridiculously modified ColecoVision
[LG V20 Guides, News, & Discussion] Anarchaotic:
I'm new here and didn't want to make a thread - but how did you get the full image from your phone? I'd like to do the same with the Canadian Variant (H915) but not sure how to get an image. Any help?
[LG V20 Guides, News, & Discussion] bambam126:
How do I flash a tot my v20 is soft bricked and lgup says unknown =( what do I do
[LG V20 Guides, News, & Discussion] wolfgart:
do you still have Fastboot mode live ?

If yes you can solve by re-ijecting all job , have TWRP working again, and then flash a nandroid backup made from one of us
[LG V20 Guides, News, & Discussion] bambam126:
Yes I have Fastboot Idk what all job is. I have twrp I just can't get into recovery I keep trying.. So I need to go back to stock
[LG V20 Guides, News, & Discussion] bountyman334:
how did you flash the tot file...doesnt it require a dll file??..u can try lg bridge and do recovery error update and see if that works....i drop my v20 in the toilet....had to send it back.i cant test root now..buyers remose for a new 1....
[LG V20 Guides, News, & Discussion] bambam126:
I didn't flash a tot I need to to get back to stock OK I'll try lg bridge

---------- Post added at 03:48 PM ---------- Previous post was at 03:46 PM ----------

Can I flash all in Fastboot?
[LG V20 Guides, News, & Discussion] bountyman334:
i would go for lg bridge..and if that doesnt work try lg up and put the phone in download mode..and see if that works....because we do have download mode
[LG V20 Guides, News, & Discussion] bambam126:
LG Bridge doesn't work and lg up sees it as unknown device. What can I do I'm trying and trying to get to recovery

---------- Post added at 04:09 PM ---------- Previous post was at 04:01 PM ----------

Can I reboot into recovery from Fastboot please guys I tried everything =(
[LG V20 Guides, News, & Discussion] jinkerz9430:
WHAAAAAATLOL! don't go throwing pricey stuff down the toilet, men . Show some love to the device :eek:
[LG V20 Guides, News, & Discussion] czerdrill:
Im confused i thought you posted earlier that you had flashed twrp and su successfully? What messed up?

Have you tried asking in the twrp channel on freenode?
[LG V20 Guides, News, & Discussion] bambam126:
Idk I just got a lg sign I'm trying to go into recovery so I can wipe everything but it won't kick into recovery
[LG V20 Guides, News, & Discussion] bountyman334:
i know....i waas crushed.... the camera lens got foggy...but everything worked..i did the rice trick for 30 mins..but i still needed to get inside...got inside and broke the gps antenna.i was literally dead...tried tmobile store nothing....called sustomer care...and asked for buyers remorse...and now am waiting....device havent made it to tx yet tomorrow it will...i hopes it free to replace

try doing the recovery the way g4 did it...it workss that way ....pull battery..holding power button and volume down..release volume button for a quick sec...and hold for like 2 sec after and it will pop up to reset device...hard reset
[LG V20 Guides, News, & Discussion] bambam126:
I did that I need to get to recovery or use the tot and Idk how
[LG V20 Guides, News, & Discussion] mingkee:
You have to enter Download Mode to use LGUP.
[LG V20 Guides, News, & Discussion] bambam126:
Yes I know how do we flash these
[LG V20 Guides, News, & Discussion] bezeek:
Could you link whichever tools and libs you used to flash this?
[LG V20 Guides, News, & Discussion] bambam126:
Yes please I need to my computer wont read my phone in dl mode
[LG V20 Guides, News, & Discussion] Darriousx:
Yes, currently I have TWRP and root installed fine on my T-Mobile v20 device. However, I know some people have bricked and can't get it working so it would be sweet if someone figured out how to flash this TOT file using the LGUP software or anything else in order to get back to stock/getting people who bricked their device working again :)
[LG V20 Guides, News, & Discussion] bambam126:
Well my phone is com port but lgup doesn't see it but my other v20 it can read it ..idk
[LG V20 Guides, News, & Discussion] Darriousx:
Well, I just officially flashed a zip in TWRP I shouldn't have and now I'm stuck at LG Boot screen, lol. Will have to return to store I'm certain...
[LG V20 Guides, News, & Discussion] lightninbug:
Can't you just factory reset in TWRP? That's what we all did after we rooted and the file system stuck, and root remained... Just a theory...
[LG V20 Guides, News, & Discussion] Darriousx:
Tried that. After resetting with OpenRecoveryScript it's just stick at V20 boot screen... Heavy sigh...
[LG V20 Guides, News, & Discussion] bambam126:
Yep same boat as you I just have a spare but yeah whats the fix
[LG V20 Guides, News, & Discussion] bambam126:
How can I get a kdz I got flash tool to see my phone so now I can do it

---------- Post added at 03:40 PM ---------- Previous post was at 03:29 PM ----------

I need a dll file how do I obtain this
[LG V20 Guides, News, & Discussion] Darriousx:
Currently it doesn't work because there is no .dll file released for the v20. There is no way to flash stock if you are bricked lol
[LG V20 Guides, News, & Discussion] bambam126:
Sigh ok
[LG V20 Guides, News, & Discussion] slayerh4x:
I had to swap my phone for a new one. I got TWRP, SuperSU and not installing anything else until I have a confirmed way to flash to stock or a ROM.
[LG V20 Guides, News, & Discussion] Darriousx:
Smart. I'm going to have to exchange and I won't flash ir modify anything until I have confirmed way of flashing back to stock. What did you tell them when you went in for buyers remorse? I want to avoid restocking fee if possible lol
[LG V20 Guides, News, & Discussion] yugendreams:
Can someone here please provide me with the package "com.lge.lockscreensettings"? I accidentally removed it and cannot get it back.
[LG V20 Guides, News, & Discussion] slayerh4x:
Well with mine the Google Play Services would not stop crashing after restoring Titanium Backups, so after I did a system restore I couldn't get past the initial setup screen. So they saw that swapped it out for me. The person didn't inspect the phone or anything and if it's an exchange because something is wrong with the phone they shouldn't charge you.
[LG V20 Guides, News, & Discussion] Darriousx:
Did you tell them it was your fault? haha ;) Yeah, I'm just gonna show them it won't boot because device error (fastboot oem lock) and say it started happening the other day.
[LG V20 Guides, News, & Discussion] slayerh4x:
I didn't really get into that lol.
[LG V20 Guides, News, & Discussion] mingkee:
Can you use .dll for generic model?

I have one for G Pad X 8.0
[LG V20 Guides, News, & Discussion] Darriousx:
I tried that but it didn't work for me. Maybe others will have better luck...
[LG V20 Guides, News, & Discussion] bambam126:
I fixed my bootloop guys:) well with help of course
[LG V20 Guides, News, & Discussion] galaxys:
Good to have you aboard jcadduono! Cheers
[LG V20 Guides, News, & Discussion] jcadduono:
Just to let you guys know, even if I do build twrp (it will be testable on the global unlocked variant, whatever that is), there still won't be a way to flash it to your V20. While you can unlock the bootloader which allows you to boot unsigned images, the handshake for TOT flashing has changed (to be more secure?) meaning that you will have to find a new exploit in order to flash TWRP on your devices.

I think this means that if a live root exploit ever happens, you can use:

su -c "dd if=/sdcard/twrp.img of=/dev/block/bootdevice/by-name/boot"

to flash TWRP to your device.
[LG V20 Guides, News, & Discussion] douger1957:
I'm new to LG phones. Does this phone have a Samsung ODIN equivalent that you can flash an OEM .tar file to recover from most screwups? Is that what a TOT file is?
[LG V20 Guides, News, & Discussion] arjuna_:
Oh man that's a game changer... So just putting the TWRP.img where the old recovery.img was won't work anymore?
[LG V20 Guides, News, & Discussion] rbox:
Yes. You use LGUP to flash TOT files. One person here claims they did it, but it'd be nice to get more confirmation.
[LG V20 Guides, News, & Discussion] arjuna_:
Is there anything we can do to temp root so that we are able to flash that command? At one point jcase had mentioned that it was a relatively trivial thing (at least for him) to make a tool to make TOT files or whatever. I doubt he will help us given the numerous issues that happened with the G5 but we seem to have other guys (or girls!) here that are smart enough to make a tool. The problem is flashing it I guess...
[LG V20 Guides, News, & Discussion] rbox:
Can you try flashing the stock TOT with LGUP?
[LG V20 Guides, News, & Discussion] arjuna_:
Out of town and using my G5. Left my V20 at home. The thing is I'm pretty certain the stock TOT will flash cause nothing in it is modified stuff. We were always able to flash stock TOTs on the G5. The problem is that once we started mucking around with the TOT and repackaging it, there's a significant chance that the first few times it will fail before it even starts to flash. There was a bit of a trial process involved with getting it fixed.
[LG V20 Guides, News, & Discussion] tungkick:
TMOBILE v20 can unlock with fastboot oem unlock work?

---------- Post added at 04:44 AM ---------- Previous post was at 04:43 AM ----------

Who have phone in hand can unlock bootloader in fastboot contact me.
[LG V20 Guides, News, & Discussion] mingkee:
Other than flashing kdz and tot with LGUP, you can flash dz file too (upgrade only and data will stay intact).
[LG V20 Guides, News, & Discussion] planetbeen:
Tungkick is here! :D

Sent from my awesome T-Mobile LG V10!
[LG V20 Guides, News, & Discussion] Amd4life:
yes you can unlock the bootloader, this is what I did

http://xdaforums.com/showpost.php?p=69232635&postcount=16
[LG V20 Guides, News, & Discussion] rbox:
Have you tried flashing the stock TOT in the first post with LGUP?
[LG V20 Guides, News, & Discussion] Amd4life:
No I have not, id rather wait until root was infused to wipe my device again. Without root (TB) restoring all my apps and settings take forever. Someone already said it was good though, few posts back I think
[LG V20 Guides, News, & Discussion] lightninbug:
Please Android God, let this phone be cracked wide open via root/Roms/twrp/etc. Please don't let me have purchased another unrootable device....

Thanks for working on this whomever you guys/gals are!