yashsingh1/xdaforums huggingface dataset:
[LG V20 Guides, News, & Discussion] arjuna_:
Is anyone able to examine the T-Mobile LG G5 H830 modified TOT file made by [MENTION=4965298]tungkick[/MENTION] to see how he replaced the stock recovery with TWRP? That's the last step to getting root and there seems to be a lot of interest and quite a few bright people here that seem to be capable of doing it. It involves hex editing but is beyond my abilities otherwise I'd do it myself.
[LG V20 Guides, News, & Discussion] rbox:
Well, first someone would need to compile TWRP...
[LG V20 Guides, News, & Discussion] arjuna_:
You're right but I feel like that's child's play compared to doing the hex editing.
[LG V20 Guides, News, & Discussion] rbox:
No
[LG V20 Guides, News, & Discussion] arjuna_:
Ok maybe I'm wrong lol anyway we all are grateful if this stuff is figured out and will wait patiently.
[LG V20 Guides, News, & Discussion] wolfgart:
Great Work !!!!

Box ? ;)
[LG V20 Guides, News, & Discussion] arjuna_:
I just contacted someone that can help compile TWRP. Is anyone able to provide a stock dump of system.img, boot.img, recovery.img?
[LG V20 Guides, News, & Discussion] rbox:
Download the TOT, download the tool from my github... profit.
[LG V20 Guides, News, & Discussion] wolfgart:
You should try to contact direcly Dees_Troy on irc.

He is online now there on official twrp channel and could help to compile a working one.

Need to decompile kernel on github and make public
[LG V20 Guides, News, & Discussion] jcadduono:
Thanks, will use this for building TWRP, looks like the sources are up for the kernel as well so I'll get started. I do not know how to build a TOT from the image, so I'm not sure how I'll be able to find someone to test it.
[LG V20 Guides, News, & Discussion] vibrantliker:
transparent glass theme sounds awesome!
[LG V20 Guides, News, & Discussion] jinkerz9430:
It just wish lg would have created an app to let the users develop their own themes lol. That would have been a greeeeat deal. But anyway. You accomplished something great here too. Glass theme withoout orange sounds great :good:
[LG V20 Guides, News, & Discussion] Darriousx:
Haha, I agree with all three of you. I refresh this many times while I'm at work! I'm so excited!!!?
[LG V20 Guides, News, & Discussion] lightninbug:
Can't wait for this device to be cracked open! I will be modding the camera as soon as we have root! Expect even longer shutter times, and more iso settings!
[LG V20 Guides, News, & Discussion] cbucz24:
they did have a program to make a theme but i cant find a working link to it.

PS

I may have just found it, not sure yet. lol
[LG V20 Guides, News, & Discussion] Honestly Annoying:
Do you mind sharing the images you pulled? I can probably get root from that.

Also I am getting errors with building the TOT extractor, can you post that up?
[LG V20 Guides, News, & Discussion] jinkerz9430:
Really??? If you find it again please post athe link or send me a pm:good:
[LG V20 Guides, News, & Discussion] cbucz24:
im zipping up the files now and will upload them to afh. Ill add a new thread so not to clutter this. Its a huge file 6.5gb, so its taking a while to zip up

Look back a page or two. I used the syntax exactly as was written and worked fine. I had to do it on linux as im not sure how to do it on windows.
[LG V20 Guides, News, & Discussion] Honestly Annoying:
Do you own the V20? If so I can help with finding the new handshake protocol.

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

Yeah I got that working, was trying to compile on macOS and it didn't like that :P

Thanks for zipping/uploading those, this is going to be a fun project!
[LG V20 Guides, News, & Discussion] stanleyopar2000:
Are we making a pre-rooted tot file with a custom transparent glass theme? (without orange?)

Just wanted to understand the situation clearer
[LG V20 Guides, News, & Discussion] digitalart:
following this thread not really understanding what's going on. everyone seems excited and all, are we close to getting root?! :)
[LG V20 Guides, News, & Discussion] slayerh4x:
I have the V20 and was working with him. When he gets back on I can go in the IRC again to test with you guys if you want.
[LG V20 Guides, News, & Discussion] cbucz24:
No, if it works as planned mine should install like a regular apk without root needed.

I wouldnt make a whole rom to flash just for a theme. Thats crazy sauce
[LG V20 Guides, News, & Discussion] slayerh4x:
Would you mind making a nice looking black and green one? Maybe black and purple.. something like that which looks good. Thanks in advance for sharing.
[LG V20 Guides, News, & Discussion] cbucz24:
Black and green. Been there before years ago. Lol

No promises. Ill see what i can do.
[LG V20 Guides, News, & Discussion] stanleyopar2000:
Black and red would be awesome... But that's way down the line if you still feel like doing it :)
[LG V20 Guides, News, & Discussion] Honestly Annoying:
I am working on a couple things, don't want to give details as it might not work but in short yes it will be a custom TOT if that is still supported. I don't own this device so I can't test myself though.
[LG V20 Guides, News, & Discussion] Amd4life:
I'm willing to test. I want this device to boot, I dont want to wait on a return, restock, then ship again
[LG V20 Guides, News, & Discussion] justthefacts:
Guys please stay on topic.
[LG V20 Guides, News, & Discussion] Honestly Annoying:
Awesome. I will update you guys ASAP on whether or not stuff is working.

Also, is this TOT confirmed to soft brick the device?
[LG V20 Guides, News, & Discussion] Amd4life:
YES the current tot will soft brick the device. Tung seems to be working hard on a fix though
[LG V20 Guides, News, & Discussion] Honestly Annoying:
Alright, I have been in contact with tungkick numerous times so I will see what she can do.

If Z3x supports the V20 then I can 100% root this, until then I'm going to need a TOT that works.
[LG V20 Guides, News, & Discussion] slayerh4x:
Their site was updated yesterday saying it supports LG V20 F800K, F800L and H990. Maybe H918 works too.
[LG V20 Guides, News, & Discussion] Honestly Annoying:
Awesome, it will be easiest if we get someone with that to help us
[LG V20 Guides, News, & Discussion] arjuna_:
Disregard
[LG V20 Guides, News, & Discussion] Honestly Annoying:
Alright, then [MENTION=608699]wolfgart[/MENTION] can you pull the system, boot, and recovery for a TOT? If you can't do specific partitions then a full TOT works also.

---------- Post added at 09:29 PM ---------- Previous post was at 09:06 PM ----------

I now have a boot.img with dm-verity removed, hopefully TWRP will be posted (thanks to jcadduono) and a root injected system.img, just waiting for someone to make a full TOT pull.
[LG V20 Guides, News, & Discussion] wolfgart:
ok guys,

H918 just arrived at home

I will work for you ... ;)
[LG V20 Guides, News, & Discussion] Unheard:
Welcome to the party!
[LG V20 Guides, News, & Discussion] slayerh4x:
Excellent :highfive:
[LG V20 Guides, News, & Discussion] Honestly Annoying:
pm'd you, let's get this baby rooted!
[LG V20 Guides, News, & Discussion] nintendolinky:
Will all this work on the F800L model?
[LG V20 Guides, News, & Discussion] galaxys:
Congratz! Let's Rock!! :):cool:
[LG V20 Guides, News, & Discussion] Honestly Annoying:
Connected with wolfgart, hopefully will have a root/TWRP TOT within the week. As long as the way that LGUP processes TOTs hasn't been changed I think we are good.
[LG V20 Guides, News, & Discussion] waylo:
I know this is premature, but for full compatibility and options, it may be good to have a TWRP'ed TOT, with everything else stock, so that people may alter as they wish.

e.g. Systemless root is the way to go now, which requires a stock system, and there are multiple providers (okay, just 2 really) to choose from.
[LG V20 Guides, News, & Discussion] stanleyopar2000:
Woo ooohhhh! This POC should work with both international and T-Mobile version right?
[LG V20 Guides, News, & Discussion] lightninbug:
So if I am reading this right, we will have root but not be able to flash Roms? We must remain on stock with root, correct?
[LG V20 Guides, News, & Discussion] system0verload:
No, that's not what he meant.

Stock TOT = equals a stock base for development for DEVs.
[LG V20 Guides, News, & Discussion] waylo:
To expound...

I admit I am unfamiliar with all the new security checks built into N. Ideally, like with other devices, once you have a custom recovery, you can do just about anything. Flash just a root .zip (supersu etc) to get root. Or, if you have developers, flash whatever ROM you want. Flash any kernel you want, etc. The root could be built into the ROM. I do not know if folks are running into issues with this older paradigm with the changes in N.

Regardless, ideally to start off, you'd have a stock, unaltered /system and /boot to begin with in this cooked up TOT. Those of us following the systemless root + SafetyNet threads are seeing a lot of cracking down by Google on 'altered' devices. Altered meaning even just an unlocked bootloader, without root. (Of course if you are not concerned about SafetyNet checking apps, go as custom as you want!)
[LG V20 Guides, News, & Discussion] Honestly Annoying:
I am attempting a regular root (dropping su in /system/bin and other things) for now because all we need is a root shell to be able to overwrite the stock recovery with TWRP. From there we get systemless and everything else :D

If it is like the G5 the international variant should be able to be officially unlocked, and you can just flash TWRP from fastboot.
[LG V20 Guides, News, & Discussion] lightninbug:
This whole thing is honestly annoying.....
[LG V20 Guides, News, & Discussion] Honestly Annoying:
rm
[LG V20 Guides, News, & Discussion] stanleyopar2000:
I know. LG should make this easy if they're going make the bootloader unlockable. No point in teasing us
[LG V20 Guides, News, & Discussion] shojus:
I know right! It's "Honestly Annoying" that LG tried to lock us out , but it's Honestly BAD-AZZ that we have some killer devs (& just plain smart people) that have got us to this point to where we can throw the BIG middle finger to LG and smile while doing it! ;) Thanks for the hard work ALL who are involved! I get mine tomorrow and can be added to the "will donate my time" list , if still needed...
[LG V20 Guides, News, & Discussion] sabresfan:
I'm confident root will be achieved on the tmo v20. V10 owner here. Word of advice is be patient. Even when root is achieved custom ROMs will take awhile with the second screen and even then there will be limitations. DON'T get on the people that are doing this. If its possible they'll do it. You do have the best group getting together early. Good luck everyone.
[LG V20 Guides, News, & Discussion] bigmase23:
Um.. Why do I feel like my dad is talking to me when I was 7? [emoji1]
[LG V20 Guides, News, & Discussion] Bubba Fett:
Is there any danger of getting pushed an unwanted update? I got mine today but haven't switched over sim card from note 4 yet.
[LG V20 Guides, News, & Discussion] dbornack:
I'd keep deferring it. It's been nagging me since I took it out of the box on Friday, but I've been cancelling it.
[LG V20 Guides, News, & Discussion] sabresfan:
Dads have a knack for that [emoji6]
[LG V20 Guides, News, & Discussion] lightninbug:
Any further progress? Sorry it's late where I live and currently bored AF.
[LG V20 Guides, News, & Discussion] jinkerz9430:
That's odd. I haven't received any alert indicating an new update :eek: . Although, I might as well skip it too, i dont wan't to find myself in a difficult spot where if root is achieved, it might only work for the initial version of the OS and not some updated version. Just to know, what is the name of the software version for that update? I have h91810d out of the box.
[LG V20 Guides, News, & Discussion] yugendreams:
I just got my V20 yesterday. I'm more than happy to help try things out.
[LG V20 Guides, News, & Discussion] jellybear456:
Truly amazing things happening in this thread. Bravo to everyone who has contributed to cracking the v20:svetius:

Now if only this were to work on the ATT variant:rolleyes:
[LG V20 Guides, News, & Discussion] wolfgart:
hey Guys :

http://xdaforums.com/v20/development/lg-h918-tmo-t3488664
[LG V20 Guides, News, & Discussion] wolfgart:
https://twitter.com/ChainfireXDA/status/791598609120763904?ref_src=twsrc^tfw

Great !!!
[LG V20 Guides, News, & Discussion] Honestly Annoying:
jcadduono updated his tool, says it works with Nougat... https://github.com/jcadduono/android_external_dirtycow
[LG V20 Guides, News, & Discussion] stanleyopar2000:
This is promising.... Great work from everyone!
[LG V20 Guides, News, & Discussion] Unheard:
The app_process version isn't able to read the recovery.img from the /sdcard/ location. It would either need the img wrapped into the applypatch binary (can't be done due to size limitations) or written to the /cache partition (can't currently be done due to permissions).

There is process being made, but no true exploit as of yet.
[LG V20 Guides, News, & Discussion] SkyPhone:
Can anyone confirm that enough progress has been made to get a live root, even if it's lost at the next reboot? For example, could we live root and modify the hosts file for adblocking, or live root and modify the build.prop file to spoof Oculus into thinking the V20 is a supported S7E to run in the Gear VR? I have a few specialized needs that don't require much beyond occasional access to root to change files like this.
[LG V20 Guides, News, & Discussion] Honestly Annoying:
You could probably replace the build.prop with the dirtycow exploit from here https://github.com/timwr/CVE-2016-5195. It is not hard to do.
[LG V20 Guides, News, & Discussion] themustached:
But that exploit only writes temporarily in memory, once rebooted the changes would revert.
[LG V20 Guides, News, & Discussion] Honestly Annoying:
So just run the command every time you boot the phone. Although it might not recognize the build.prop file until you reboot it so there goes that idea...

On the other hand, I have made what I think is a TOT with TWRP in it. There should be a pretty low chance of bricking, but it still might do that. Any testers?
[LG V20 Guides, News, & Discussion] themustached:
I want to, but at the same time, I don't want have a soft brick in the off chance something goes wrong.
[LG V20 Guides, News, & Discussion] Honestly Annoying:
I don't even know if it will verify

EDIT: I don't think it is valid, still would like to just test
[LG V20 Guides, News, & Discussion] wolfgart:
https://twitter.com/ChainfireXDA/status/791748015925161984
[LG V20 Guides, News, & Discussion] Darriousx:
I'm so tempted to test... If it bricks I guess I could just keep testing or return while I'm still within that time frame with my carrier....

Edit: it would be really awesome if Chainfire got root for the v20
[LG V20 Guides, News, & Discussion] Amd4life:
shoot me a link Ill try anything at this point lol

---------- Post added at 02:19 PM ---------- Previous post was at 02:18 PM ----------

WOW.....very impressive to have done this so quickly
[LG V20 Guides, News, & Discussion] young0ne:
Ill test when i get home
[LG V20 Guides, News, & Discussion] SkyPhone:
Obviously, I don't understand the Dirty Cow exploit. I thought it gave you escalated privileges that would allow me to do an adb push of my modified files (hosts, build.prop, etc) that would survive a reboot. I've got to have root and my return clock on returning the V20 is ticking. I'd hate to swap for an S7 and learn that the very next day the V20 got a full root.

Thanks for the answers. I wasn't trying to push, just wanted to understand how far you'd gotten.
[LG V20 Guides, News, & Discussion] bambam126:
I can test I have a spare v20
[LG V20 Guides, News, & Discussion] slayerh4x:
I will help when I get home. What do I need to install?
[LG V20 Guides, News, & Discussion] vibrantliker:
what phone is that for?
[LG V20 Guides, News, & Discussion] wolfgart:
Pixel atm
[LG V20 Guides, News, & Discussion] netgar:
I'm jealous. I wish v20 got rooted.
[LG V20 Guides, News, & Discussion] stanleyopar2000:
Just return it and get a rootable device now. If you can't wait and be patient than this phone isn't for you then.

Part of getting a new flagship in the "Scene" is waiting. If you can't do that than i don't know what to tell you. The scene works on their own schedule. Not your return period. And yes, sorry, but you sounded pushy as hell.
[LG V20 Guides, News, & Discussion] bountyman334:
Sometimes its not even wroth telling ppl on xda to be patient..thats why i been working with dirtycow exploit and systemless root myself and following thus thread...but its hard to test because u dont want to brick your device and be stuck with lg paper weight...LG G Flex 2 was the hardest 1 to crack or at least mod and keep from bricking...

IF the pixel is rooted this its only a matter of time br we get it..

Am also following supersu systemless in the xda thread
[LG V20 Guides, News, & Discussion] freeza:
100% agreed. I returned my sprint variant and got an HTC 10 in the meantime for that very reason. The talent here will prevail when they prevail. No ETAs, no begging, and no rushing.
[LG V20 Guides, News, & Discussion] jinkerz9430:
I can see some of the Tmobile users who already returned, or will return their LG V20, buying it back LOL! and maybe the promotion wont be by then and they will have to pay pay the 800+ with no other option.

Seems like what some people say is true: "Patience is a virtue". On the other hand, even if root is not achieved, i will keep it for at least 8 month or more.
[LG V20 Guides, News, & Discussion] stanleyopar2000:
Agreed. Compared to my moto x pure this will be a huge upgrade. I'm going to enjoy this phone and when root eventually comes to it, that will be a plus. Im already preparing for several months of going stock.
[LG V20 Guides, News, & Discussion] slayerh4x:
Anyone tried flashing that tot yet?
[LG V20 Guides, News, & Discussion] EMSpilot:
I will be keeping my US996 variant for a long time! If I ever get it lol! With the talent on this thread I know it will get rooted!

Thanks all.

Cheers
[LG V20 Guides, News, & Discussion] bigmase23:
Should've kept that to yourself bro! [emoji1]
[LG V20 Guides, News, & Discussion] SkyPhone:
I'm dismayed that I came across as "pushy." I really, really wasn't trying to push. I debated whether I should even ask a question. I just didn't understand how far things had gotten. However, it looked like enough progress had been made that files could be permanently changed in /system. If that was possible, it meant you'd gotten far enough that I didn't need to return it, and I just wanted confirmation that that point had been reached.

I understand that devs are doing this as volunteer labor and owe nothing to the rest of us. I am in awe of their skills and greatly appreciate their work. It's just that it's sometimes hard to follow the progress no matter how much searching I do. I hoped my post would be seen as a polite inquiry as to whether files could be permanently changed in /system. It certainly wasn't meant as a request for an ETA.

Was I out of line to ask the question about whether files could be modified in /system? Or was it just that I worded the question poorly to make it sound like I was pushing for faster work? Either way, please accept my apology.

My main interest is curiosity - trying to follow the steps being used to obtain root. I'm rooting for you guys to succeed (pun intended) :)
[LG V20 Guides, News, & Discussion] shojus:
Root is as good as done for this phone! (kinda, sorta) We have the best man in the business cracking the Pixel, ( ChainFire ) and then when that is done, this phone is finished! ;) I mean, root is basically here people, just waiting on some minor details to be ironed out... I say "minor" cause I have NO idea what it actually takes to do it, but I know having the bootloader unlocked is a big plus for us already, on top of this DirtyCow exploit coming out of nowhere! Crazy to think how this exploit has been lurking inside Linux kernel for over 10 years , and you know some people have known about this and have used it to do some dirty things! That's probably how it got it's name! Anyways, I didn't get my V20 today as was planned, but it's in UPS's hands to be delivered tomorrow morning, so I will be here to play w the rest of you guys soon! :)

---------- Post added at 08:20 PM ---------- Previous post was at 08:17 PM ----------

You're fine man! I didn't see it as being pushy at all, just anxious... That being said, you def can't purchase phones based upon root, because nowadays these exploits are harder and harder to come by and that's why you see craploads of threads with ZERO development!
[LG V20 Guides, News, & Discussion] arjuna_:
http://xdaforums.com/v20/how-to/ready-to-return-phone-root-t3486881/post69341194

This guy is pretty amazing. He has cracked Dirty Cow for us.
[LG V20 Guides, News, & Discussion] vampirefo:
Is it possible to instead of flashing recovery.img to phone? dd recovery.img or boot.img from phone to sdcard?
[LG V20 Guides, News, & Discussion] young0ne:
Im home ready to flash how do i test this bad boy
[LG V20 Guides, News, & Discussion] wolfgart:
i'm here for test all of this work

---------- Post added at 08:00 AM ---------- Previous post was at 07:57 AM ----------

Tell me all the steps to do and i will test here now, but i'm pretty sure that still need to disable other Nougat security that prevent normal boot ?
[LG V20 Guides, News, & Discussion] Unheard:
This method does not work. Specifically step 7

$ setprop ctl.start flash_recovery
[LG V20 Guides, News, & Discussion] lightninbug:
...calm before the storm?
[LG V20 Guides, News, & Discussion] slayerh4x:
Lets hope so :highfive:
[LG V20 Guides, News, & Discussion] shojus:
Ok, I now have my shiny new T-Mobile V20 in hand, I am ready to test any and ALL methods to get this bad boy rooted w/ TWRP! Please let me know if my help can be used and I will reply asap... Thanks again guys for your hard work with all of this, much appreciated!
[LG V20 Guides, News, & Discussion] chippinganimal:
This is awesome! amazed at how fast you guys are! Might be getting this phone soon as it seems like a great replacement for my sprint S5, and i dont know if you guys have seen the dev community for that phone, but its basically vacant now :( But seeing all you amazing people coming from the g4/g5/v10 forums makes me have some good hopes, especially seeing how one guy already has TWRP installed, albeit with a crazy process using Linux because of the dirty cow exploit.
[LG V20 Guides, News, & Discussion] Bubba Fett:
Have you ever smoked a lot of weed and ordered a pizza. It seems like forever but its the best pizza you've ever tasted in your life. It feels like that, but I'm definetly gonna tip this pizza man!
[LG V20 Guides, News, & Discussion] MicroMod777:
Hope u guys get this! V20 is surely my next upgrade!
[LG V20 Guides, News, & Discussion] slayerh4x:
lmfao so true
[LG V20 Guides, News, & Discussion] wolfgart:
https://twitter.com/ChainfireXDA/status/792351506016116736?lang=it

Boom ;)
[LG V20 Guides, News, & Discussion] vibrantliker:
How does it help us if he's working on the Pixel?
[LG V20 Guides, News, & Discussion] jimzweb1:
+1 here freeza ! Some folks have no idea how many hours of ( personal ) time it takes. Not to mention how many failures occur before success is achieved.
[LG V20 Guides, News, & Discussion] wolfgart:
i think his tool nd exploit will be unpacked and for sure pretty useful to root all other similar devices
[LG V20 Guides, News, & Discussion] jimzweb1:
I believe the Pixel device he's working on has updated to Nougat 7.0 so once chainfire finds an exploit there with a few modifications he can post a variant for this device.
[LG V20 Guides, News, & Discussion] system0verload:
twrp and root closer than ever......... just waiting on latest build, hopefully today is the day this baby's virginity is gone away for good : p
[LG V20 Guides, News, & Discussion] lightninbug:
This is for Pixel. Don't see how this would help us. LG is COMPLETELY different.....Unless he has stated he's working on the v20.
[LG V20 Guides, News, & Discussion] stanleyopar2000:
Chainfire's root can't universally be used for Nougat as a whole?