yashsingh1/xdaforums huggingface dataset:
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] sublim3style3:
Can you possibly elaborate on this or give a direct link? I was just reading through the 20a post since I was stuck in DL mode after the 10d TOT didn't work.. I'm really just trying to get a root active, i dont really care for lineage or other ROMs at the moment. I just flashed the 20a kdz with the uppercut/1.14 so thats where I am.
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] nima0003:
Use the dirtycow method to root, but you have to downgrade to a 6.0 build before December 2016, then you can flash lineage to have 7.1.2
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] sublim3style3:
Awesome thanks for your response. So a couple of things. If the lowest I can go is 20A (I think) which is 7.0, is there any way to get to a 6.0 pre 12/16 safely? Does having it rooted help?

Also i was looking at the dirty cow method. Can you possibly copy/paste the command lines on here more clearly? idk if typing something wrong in risks brick but I'd hate to do it. Thanks a bunch!
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] nima0003:
Yea I can probably get the lines cleared up for you tomorrow, I also believe that there is a tool that can automatically do it for you, if I find it I'll link it. And as for the kdz, just flash a pre 12/16 build and you should be fine.
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] sublim3style3:
Sweet, where are these lines located? The ones I saw were on another website but i got confused where the next line said 'exit

and I couldn't tell if that was included in the line before, or it was a new line.. wouldn't exit make the window close?

I have one that came to me brand new at 7.0 already so I'm not sure if I can go pre 20a anyways. Correct me if I'm wrong.

I originally tried to flash the TOT with custom recovery included but I flipped out when I had to unplug it when it was in download mode at 1% after the flash had failed. Thought I might brick the phone. :eek:

The person I originally quoted was where I saw the same error code. Didn't understand how they got it to work though :confused:

I tried a bunch of auto programs and none of them work. Some are sketchy as hell though and show up as viruses.
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] CrusnikVIII:
Dead Link

DM-Verity Disabler link is dead does anyone have an alternate url?
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] nima0003:
Just find one on Google or flash magisk instead
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] mr.alakulihal:
Need TWRP for G5 US992

Anyone please i need twrp for G5 US992
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] bodom_hc:
I just got a replacement phone through T-Mobile. I forgot what version it was on, But anyways I used lgup/ uppercut to flash 20a kdz to it and worked fine. I tried using the Easy recovery method HERE https://xdaforums.com/tmobile-lg-g5/development/root-h830-running-30a-nougat-t3524322 and couldnt get it to flash twrp or get it to work.

Is it possible to flash this rooted TOT file with lgup/uppercut over my stock 20a rom right now? Or will it cause it not to boot?

I also tried this GUIDE https://xdaforums.com/lg-g5/how-to/guide-root-stock-n-using-jcadduonos-t3529093 and also no luck if anyone can help with the easy recovery that would be great, otherwise can i flash this TOT over my stock 20a rom?
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] waylo:
No, this TOT is for a MM version, and you can't downgrade to MM from Nougat without having TWRP already installed.

Trying to LGUP this TOT won't brick your phone, but it won't go through either. It'll probably abort somewhere in the process.

Post in those threads you mentioned more info on where it fails and someone can probably help you there. Usually it's a permission or driver issue, provided you're following the directions properly.
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] kiripo7:
Can I use on LG H830 20L updated stock nogut.. Or need to downgrade? If not direct me how to?

Sorry for the noob Q. this is my first LG phone.
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] azizo07:
Flashed it on Nougat, it failed at 10% and now my phone says firmware update do not unplug.

How do restore to stock?
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] nima0003:
This is meant for marshmallow, you have a bricked phone now, try to flash a stock kdz.
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] waylo:
Does it boot at all? It'll stick at that page if it aborts the process but usually nothing is written to the phone or changed.
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] keimond:
FYI, LG Bridge works to restore the phone.
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] azizo07:
It worked but LG Bridge was failing at 10%. I used Uppercut loader and it worked.
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] bcfc:
Hi! Can you root lg g5 ls992 ?
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] jccspeed:
bootloader unlocked but the tot flash just stops at 11% and then gives a 0x2BC error says invalid command response code = 0x80000121

anyone know a fix? also when i tried autorecowvery it doesnt flash the recovery so i tried that. help?
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] Mo3bium:
same here

yep I just used the 20a kdz and uppercut too. I have been killing myself trying to get twrp. So I thought id chime in. my bootloader's unlocked from my failed attempt to put 10a and then d but they failed at 11% and bootlooped me.I have a couple others but they are zipfiles so I cant flash them through up. I need twrp. and none of the other files worked so I did the uppercut dealwith 20a from autoprime I flashed without issue :) yay. so I went from my20i to 20a. oddly enough my fastboot doesn't register whether it is or isn't unlocked now- odd since I did it with fastboot and every time my phone reboots it says danger danger Will Robinson? so I tried to put twrp on this way it installs partway and says error failue so yeah I would love a 20a tot with root. I would happily pay for that. anyone... anyone bueller, bueller? 30+ hours of hunting and grabbing 20-30gb of useless files is enough I think?
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] ericcl:
Hey [MENTION=6941788]Mo3bium[/MENTION], I was in the same boat. Got a G5 a couple weeks ago thinking it could be easily flashed with Lineage. Ha! Spent an entire day doing as you have done, going through all those threads and trying to make the dirtycow exploit work using recowvery. I could get the temporary root and flash recovery, but every time I'd reboot, I'd get the double boot and recovery would get flashed back to stock. I finally gave up and let it fully update to 20n and thought I might give it to one of my kids.

Today, I decided to give it another try. I downgraded to 20A using the KDZ on codefire. Then did a factory reset. Then went through the setup to get to developer options and reenable the OEM unlock. Then went to fastboot and OEM unlocked. Verified with fastboot getvar unlocked. Rebooted and went thru setup again. Turned on USB debugging and went through the dirtycow process, step by step. Before I did it on my Macbook using Parallels. This time, I used an actual PC. Not sure if that made a difference.

At the last step on the dirtycow github, right after getting temporary root, I'd flash recovery and no matter how I entered the reboot recovery command (adb, adb shell, adb shell with su) it would always overwrite on the boot. Finally, I decided to power down and not reboot. Then did the Power+VolDn sequence to get into recovery. It asks twice if you want to do a factory reset and choose yes both times. Then, I found myself in TWRP. It was a little scary at first. I wiped data using "Format Data" (not Advanced Wipe). Rebooted into recovery and came back to TWRP (whew). Then I was able to load Lineage, GAPPs, and Magisk.

Currently reinstalling apps and logging into everything. It passes Safetynet and I can log into my banking app.

Good luck.
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] nizarp:
Guys,

Can I follow the steps in original post to root my h830? Mine is running stock 20n. Or do I need to downgrade to 20a first? If so, how do I downgrade?

Please help. I desperately want to fix VoLTE to work with Reliance Jio.
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] ericcl:
If you're going to use the DirtyCow exploit, I believe you have to go back. From reading the thread, it appears that exploit was closed down. I went from 20N to 20A a few weeks ago and was able to make the exploit work, although I had to operate slightly different from the instructions as I mentioned in my previous comment.
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] jeremyn87:
I tried this method and now my phone is bricked. It says boot verification failed. Mismatch_SIG_Len

Uppercut won't install.

I downloaded a KDZ for this phone (it is h830) but LGUP says it's an invalid kdz. What do I do to unbrick my phone? I'd really appreciate any help. Thanks
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] Jolest:
I have the same model phone as you and have gone through the same panic. It is unlikely that youve permabricked your phone. You just need to follow the instructions very VERRY carefully.

Did you download a kdz, tot, or zipped version of either? Did you give the download time to complete (it can take many hours)? Did you check the downloaded file checksum? Which mode are you using in LGUP to flash the file?
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] jeremyn87:
Thanks a lot for your reply!

First, I'm not sure if this will make a difference, but the phone was running 6.0.1, if I remember correctly. LG up currently shows it as h83010j

I used the TOT from the OP, which I extracted from a zip, with LG Up first, but that's what bricked my phone.

The KDZ I just tried using is h83020a 00 1107.kdz. I downloaded it from a link in another thread. The download did complete, and it's 2.01 GB.

Im not sure how to check the checksum? What should I see when I do?

The LG Up version I'm using is 1_11. I tried loading the kdz with refurbished and update, and both had the same response.

Thanks for your help
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] jeremyn87:
I just fixed it. I followed this thread https://xdaforums.com/lg-g5/how-to/bring-lg-g5-to-life-download-mode-lgup-t3565508

I didn't need uppercut.

I used the kdz file I mentioned in the previous post. Android is currently starting loading on that phone. I figured I'd share it in this thread in case anyone else has the same issue.
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] eenkiinkeenk:
Excuse me sir.. my 830 on lock bootloader.. but my volume down button is broken.. is there any chance i can use ur method to root my h830 without any step to press the volume down button? Ty before
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] igorya79:
Does this method work for android 7.0 (H83020c)?
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] waylo:
There are some system checks that prevent you from going from a 20 system (Nougat) to a 10 system (Marshmallow) using this method. You'll have to look at the recowvery threads on how to get recovery and root on 20A first.

You can go back to MM, but there are a few steps in between you have to do.
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] GNAzi:
I bought 830 model with MM on it. How to get custom ROM, TWRP and root? Wich way is faster and easier? My software version is H83010i
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] lilaliend:
Before I get started on this, will it still work after yesterdays OREO update?
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] waylo:
This method is a bit outdated. You should look more into the recowvery exploit to be used on the 20A firmware.
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] kiripo7:
Stucked here

done upgrading to oreo, now I cant flash anything there and cant even flash twrp, root and 20a kdz from LGUP it get crash at 4%. will this TOT help me in anyways and start from a scratch>?
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] waylo:
There were quite a few people posting about getting stuck at 4% when trying to use LGUP to get back to 20A KDZ. If you search for that, maybe you'll find a solution. Maybe in the LGUP or Uppercut threads.
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] kad00r:
Hello,

I just bought a G5 H830 with Android 8 installed. Flashing like described doesn't work, I always get "invalid command response code" error. Maybe this happens because of Android 8 installed? I tried the newest LGUP and DLL files I could find. But the tot file is from 2016... Should I try to flash back to Android 6 too unlock it and then upgrade again to 8? Any suggestions?

Thanks, Kada
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] nima0003:
Now find a new method to root, this is extremely outdated.
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] Josh McGrath:
Second this. LG blocked flashing with tot files a long time ago on other devices so it's probably been blocked with an update somewhere since this was released
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] mustafa_thora:
is there any risk of dead?
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] nima0003:
Old method, find new thread.
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] amanvir:
Can i use this root method on my android ver. 6.0.1 and software ver. 10i
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] nima0003:
I'm surprised you have a g5 with a version that old, but I believe you need to be on 10d for this to work.
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] superman_alone:
Is it working to lg g5 ls992
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] nima0003:
Old method look for a different root method
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] sirwinb:
Using G5 H820 got stuck in Firmware Update using UPPERCUT LGUP 1.14

Any solution to fix this problem appreciated

Using G5 H820 got stuck in Firmware Update using UPPERCUT LGUP 1.14

I flashed rom on a LG G5 H820 with version H82020n , it stuck at 11% and now my phone is stuck in download mode

keep getting Error: Error Code = 0x2BC, Invalid command response code = 0x80000121

using this file LGH820AT-00-V30a-ATT-US-AUG-10-2018-ARB01+0.tot

Thanks
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] nima0003:
Flash stock
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] Peddyroy2299:
Hi could I get access to this tot file please anyone?
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] Mattzees:
If you're trying to flash your h830, search for "XDA DirtyCow exploit for installing TWRP". It works. I've used it recently.
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] sqrtus:
LGH830AT-01-V10d-310-260-MAY-23-2016-ARB01+0.rar​
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] Unheard:
From autoprimes thread, how to disable OTAs:
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] tribalartgod:
Excellent! Thank you.
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] I-IoLLoW:
I've always blocked OTA's because yes, they always soft brick and/or plug exploits. General rule will always be "if you're rooted, don't accept otas". ????
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] waylo:
Does everyone have this "swipe to unlock" boot screen security? I've had it since I first configured my phone.

Is there a way to turn it off? I know encryption comes auto and can't be turned off, while on stock.
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] plasticarmyman:
This worked for me.
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] MechaMorph:
That is the general rule yes.

However, with the changes to the system with dm-verity though any OTA would fail out at the beginning of the install anyways because the device would fail any checks.

Many thanks to everybody's hard work with this. It's so nice to have root again. Now let the AOSP development begin!
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] Rick1221:
Is it possible to flash any LG H850 roms to our H830 ?
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] jcadduono:
Thanks. I'll link to this from the TWRP thread, as well as from the twrp.me page when I can pick up a bit more knowledge. I take it you can't create a .tot that flashes only a single partition, so I suppose whenever an update is made we'll have to re-inject the .img to a full .tot, and it isn't an optimal solution for twrp.me to host a 1.6 GB file.

Would you mind providing the public with more information as to the tot injection/creation process? I'm not well informed on this topic but it would be nice to find a process that makes this easier, similar to the way we distribute tar files for flashing Samsung devices.
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] Shadow12347:
For anyone who is getting the password prompt in twrp, the solution is to perform a factory reset, and to wipe data, and then reboot back into recovery (http://xdaforums.com/google-nexus-5/help/twrp-password-t2511049) I originally didn't do this, pressed cancel, and the did swipe to modify system, and anything that I flashed WOULD NOT STICK (namely superuser). Once I did this, in twrp the prompt for a password went away, and it no longer gave errors about failing to mount cache, or whatever it was. I am currently setting it up after the wipe and will report back whether I have superuser and root now.

Edit: It works now. Make sure to do this step. It WILL wipe your data, so be sure to backup first.

Thanks so much to everyone who worked on this! I almost returned this phone for a note 5 so I could have root and use VR, but now that we have root, we can finally make this phone live up to it's full potential :). I will be donating to the three involved in getting this going, but not right now as Capital One likes to hold my check deposits for up to a week... :rolleyes:
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] kwkw480:
now that root is achieved we can simply flash a new recovery (zip or use term). We initially needed to repack a tot to gain root. i hope this helps
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] civilwarrock:
Rooted and confirmed, this works.

Thanks
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] waylo:
Never mind. Found this is from a setting you implement when you select lock-screen type.

http://forums.androidcentral.com/lg-g5/678639-unexpected-boot-screen-t-mobile-variant.html

Not the same as the TWRP password prompt described more in this thread.
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] greysonofusa:
Thanks Tungkick!!!

YouTube Video of the completed process
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] comhack:
Is there a method that doesn't require running windows (the msi files)? A nice bash script would be nice..

Thanks
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] the.mister.d:
Please delete

sorry.
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] tribalartgod:
I would like to know... In all of this excitement... Has someone made a backup, then wiped the device and restored their backup successfully? Also, has anyone tried to go back to bone stock yet? These are important stepping stones in this journey, and if neither of, or one of these does not work, then we still have a bit further to travel.
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] mingkee:
G4 6.x is much easier.

All you have to do are:

fastboot oem unlock

fastboot flash recovery (your TWRP file)

fastboot reboot

adb reboot recovery

Flash SuperSU in TWRP
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] waylo:
For anyone finally rooted, have you managed to get Android Pay to continue working? That's really the only downside to rooting for me.

EDIT:

Looking at this thread, it may just be a matter of configuring SuperSU to install 'systemless.'

http://xdaforums.com/nexus-5x/general/passing-safetynet-root-t3307659
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] cdnsnOw:
Any Chance this will work on the Canadian Lg g5?
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] the.mister.d:
TWRP - Factory reset

Hello folks,

I was successfully able flash rooted TOT file on my TMo-G5.

Before i get started setting it all up, i decided to do a "factory reset" in TWRP (I understand, it's a stock ROM and this wasn't really necessary). I then reflashed SU and DM-Verify ZIP sing TWRP.

After that when i rebooted the phone, i got a white screen saying "Encrypting" on the top and there was "Reset Phone" button.

Phone set there for almost 10 minutes. I then decided to hit the "Reset Phone" button, and phone rebooted, but then it brought me back to the same screen. Phone would not boot in to OS.

I then tried "re-flashing" the rooted TOT file again, using LGUP which ended up in to TWRP bootloop.

I then reflashed Stock TOT and then rooted TOT and flashed SU and dm-verify ZIP. All seem to be working fine so far.

I wasn't sure if we are NOT suppose to do factory reset or I missed something. May be @ jcadduono can shade some light on it.

Thought of sharing with you all, may be it will save some time if someone else decided to do the same.

Thank you,
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] flayzeraynx:
yay! trying now but after i put the phone to download mode and i can not see a model number on the LGUP in my windows 10 under parallels on my mac. it sees the com port on the virtual machine but model name displays "unknown" on the LGUP software. you guys have any ideas?
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] paperWastage:
Seriously, don't do stuff in a virtual machine

The usb pass-thru drivers may not work properly

Anyways, I had the same issue with mine(model unknown on lgup) , using a laptop that had other junk Android adb/usb drivers installed

Reinstalled OS , make sure usb device tree is clean, and everything worked after
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] flayzeraynx:
i wish to have PC time to time. Being imac owner sucks

i am now able to load lgup when device is not restarted yet. model number selected, tot file loaded but when i hit start, it restarts the phone to the download mode automatically but nothing happens after.
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] paperWastage:
Don't do stuff in virtual machine

Lgup might be resetting com ports... and your VM doesn't pass through the com ports properly, and nothing happens

Go install boot camp
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] flayzeraynx:
got it.. ok, i'll postpone my excitement then!

Since i have 2009 iMac, and removed superdrive to install 2nd SSD, i can not install bootcamp via usb :(
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] Mike_77:
Just use the terminal feature in TWRP and type these commands:

dd if=/dev/zero of=/dev/block/platform/624000.ufshc/by-name/misc

dd if=/dev/zero of=/dev/block/platform/624000.ufshc/by-name/fota
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] autoprime:
I use a mac with vmware fusion for all my Windows stuff.. no issues with LGUP or any LG tools.

Sometimes the computer just needs a reboot for the port to show up.. or maybe reinstall the H830 DLL msi.

And make sure there are no driver issues in Windows Device Manager and that you see the LG Serial port under COM section.

Fiddling around should get it. Or perhaps it IS an issue with something in your specific VM setup or windows setup.. but I just wanted to jump in and confirm I use vmware fusion for everything when I need windows for phone things.
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] cubanghost:
lol i can do it from in there as well cool ill give a go in the am thanks
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] Jarritos:
Worked for me. Will be donating soon, thank you guys so much I much appreciate
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] kchannel9:
Evenyone, please comment in the bounty thread once you have donated, thank you in advance for helping me keep track of the bounty results

---------- Post added at 03:49 AM ---------- Previous post was at 03:47 AM ----------

No it will not. Just internal storage.