yashsingh1/xdaforums huggingface dataset:
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] carnivalrejectq:
Thanks for the zip! Just like the guy above me phone did not reboot back into recovery.....it just rebooted.....problem is I dont have a PC so I was kind of relying on this step. Button combination for recovery doesent seem to be working. Is there anyway I can get into recovery other than adb to see if it's twrp or stock?
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] vmartinez39:
I tried downgrading to 10J because the phone wouldn't unlock because of my knock code. In fact knock code broke in the upgrade and decided to downgrade in hopes of saving my data.

For some reason I get an error that the KDZ is invalid using LGUP. Is anyone else having this issue? I don't know if I bricked my phone downgrading to a kdz 10j but please let me know what steps I should do in order to recover revive my phone. Its stuck in "Firmware Update" and won't factory reset at all.

Thanks

---------- Post added at 01:23 PM ---------- Previous post was at 12:29 PM ----------

To anyone who can't flash the new 20A KDZ file you definitely need to update the LGUP version on your machine. I noticed new files and version posted on the LGUP and just played around and found one that allowed me to flash the 20A.

I was scared I had a brick of a phone. Thanks again Autoprime for your files and help.
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] ronald11:
kdz error

i got the same error, i update the LGUP, but no i cant open it.

----------------if you get this error---

LGUP Directions:

Click button below to view steps

CLICK TO HIDE CONTENT

1. Download the following three(3) files on Windows PC (Windows only. Mac/Linux? Use a Windows Virtual Machine):

LGUP_Lab_Frame_Ver_1_14.msi you will need to download this 3 files.

UPPERCUT

Latest LG Windows PC drivers
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] ronald11:
can you share the link, for the LGUP. to see if that works for me. -

thank you it worked now. thank , and Thank you Autoprime
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] NinjaNerdBGM:
I lost TWRP when following the instructions (reboot recovery did a regular reboot). Can someone list the instructions to help me get it (and root) back?
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] vmartinez39:
Yeah I did the same mistake. Actually in the last few updates you flash the complete.zip file in TWRP and immediately flash the no-verity. I was too careless and cavalier like attitude when making updates. I paid the price. Not too sore because I had cloud syncs for almost everything just lost the text messages and call logs. But oh well. I was more afraid I had bricked my phone.

I'm sure you can get root back

http://xdaforums.com/tmobile-lg-g5/development/root-h830-t3384526

Just flash that and follow the instructions with the no-verity flash. The other reason I really didn't care is Android Pay is broken and won't work, even if you aren't rooted. It detects bootloader status so I was on the fence to be full stock again.
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] NinjaNerdBGM:
Thanks! I tried that and the 10D TOT errors at around 11%. I'm on 20A, so I'm not sure if that's why I get the error.
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] carnivalrejectq:
I have no PC and lost TWRP. Guess I'm screwed? I'm still getting that LG warning message on boot though. Is that just because of previous bootloader unlock?
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] autoprime:
hmm.. so those who tried rebooting recovery... you were on the new TWRP build?

I'm not quite sure why reboot recovery isn't going back into TWRP.

at the moment I'm not sure what the best order of operation is for keeping TWRP/root when flashing 20a.

I just wanted to confirm that at least everyone was using the new TWRP listed in OP. New TWRP was needed for the H850 when N hit.. so H830 should need it too.

The next thing to try might just be to flash SuperSU without rebooting recovery. Perhaps just try to mount system first... not mount as RW.. just RO (read-only) is fine.

and if that doesn't work.. I may need to see if I can make a pre-rooted boot.img for people to flash when they want root.. instead of trying to have SuperSU patch boot.

I actually have one more tip for now. To keep TWRP, regardless of supersu working or not, use TWRP to remount system (after u flash complete zip) and delete the "recovery-from-boot.p" file in the root of system. This is the file that removes TWRP when you boot into android if boot.img doesnt get repacked (supersu repacks boot.. which then breaks the "recovery-from-boot.p" check and TWRP sticks. So ya.. just delete the "recovery-from-boot.p" from system and then TWRP says... then yall can play around with TWRP flashing methods and order of operations without fear of losing TWRP and having to reflash the TWRP TOT.

Those with KDZ issues.. read the directions first. But yes the link was broken at first.. thx for mentioning.

are u using the new LGUP method mentioned in OP for N.. or the old method with LGUP 1.11 + DLL? and if so, which DLL?
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] z28james:
Here's what I did:

1) Updated TWRP

2) Flashed the "full" zip"

3) Flashed supersu for the hell of it

4) Rebooted recovery

At this point it booted into system vs recovery and I lost supersu and twrp so I'm not sure that we have an opportunity to get that second reboot that had worked on previous builds.

I'll head back to 10d and give it another shot with the additional considerations mentioned.
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] NinjaNerdBGM:
I'm using the new method using Uppercut. Should I try the old method?
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] waylo:
How did you update your TWRP? Flashify?

EDIT: Wait, TWRP can install img files? Must have missed that news coming out in v2.8.4.0.
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] z28james:
Exactly. Choose flash image vs flash zip.
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] eep1:
I had CM 14.1 with new TWRP. I wiped, installed the zip and superSU. No root and no TWRP.
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] z28james:
Does the hangup at 11% result in a soft brick or are you able to simply reboot back into a functional 20a? I want to experiment and I'm just trying to gauge how safe this is.

Edit: I decided to try it. Using LGUP 1.14 and autoprime's "uppercut" I get an error stating that my KDZ does not support "REFURBISH". I removed my previous LGUP installation including any DLLs and installed from scratch prior to my attempt.
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] Jonathanpeyton:
well I ran the script ,Im afraid what was happening earlier is happening here to,when the script tries to flash Supersu it reboots to Firmware Update screen,Im fairly certain thats not right...am I correct?
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] shaneg79:
That's correct it should just reboot. I was hoping that would work for you. :(
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] Jonathanpeyton:
Gonna try to pull out (lol) before that screen loads like I did with the other method...

not giving up yet

---------- Post added at 09:14 AM ---------- Previous post was at 09:12 AM ----------

but this is so wierd,no matter what pc I use,this dayum phone tries to go to that firmware screen...might have to give this one back.
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] Still_living714:
Can we still use the same method for MM to unlock bootloader on nougat?
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] ledvedder:
This did not work. Now, I'm getting prompted for a decrypt data password in TWRP. It's also saying my device is corrupt when I try to boot.
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] jeffsga88:
You will get the decrypt password prompt in TWRP if you do NOT format data inside TWRP. To do so not cancel at the password prompt and then select wipe and click format data, type yes. This will erase ALL data on internal so backup first. This will get rid of the password issue and allow you to see data on internal SD card inside TWRP as well as backup data in TWRP. It will always say your phone may be corrupt and can not be checked once you unlock the bootloader. If it says it is corrupt and will not boot that's a whole different issue, then you probably need to reflash complete.zip, SuperSU and (at least me personally I recommend formatting data to remove encryption but up to you).
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] drinfernoo:
So, just to clarify, if I'm on 10D (stock rooted, with TWRP), I should be able to just flash the COMPLETE zip and SuperSU (in one go) and be on 20A, and I'll keep TWRP and root, or does that stuff get lost?

I'm not necessarily opposed to losing it (but if it stayed that'd be great, obviously), just making sure I know what to expect.
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] Jonathanpeyton:
It depends on how you do it. If you just flash like normal you WILL lose ROOT and IMO 20a has nothing in it worth that....

Read the OP carefully to see how to flash while retaining root + SuperSU
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] drinfernoo:
That's what I'm asking. According to the OP, those are the steps, but it seems like people here are losing TWRP and root anyways.
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] waylo:
Did you read this fine print in the OP:

To be extra safe in making sure TWRP sticks (in case SuperSU doesn't repack boot or user error) you can delete the "recovery-from-boot.p" file in the root of /system and TWRP will 100% stick... boot repack or not). You can use the TWRP Mounts button mount system as RW. And use the Advanced button in TWRP to use the file manager to delete the "recovery-from-boot.p" in /system.

Personally I just flashed the COMPLETE ZIP then I flashed SuperSU SR5 ZIP then rebooted phone and all went well.
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] drinfernoo:
Has anyone had problems with dirty flashing it?
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] ck1989:
Been looking everywhere, so sorry if this has been addressed...

it might have to do with me accidentally rebooting from twrp without OP installed. LG UP will not recognize device (Current version). Can boot into fastboot. UPPERCUT fails to install at the end saying telling me to abort or try again. (Im thinking this might not even be necessary).
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] SirDigitalKnight:
I made the mistake of not "being extra safe" and lost my root. :(

Not sure if I will ever get it back even though when I reboot the phone it says: "You device can not be checked for corruption, lock the bootloader"

Wish there was an easy way to get back root again.... :(
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] waylo:
Reverting back from 20A seems to be quite an ordeal. I haven't heard of a single thing in Nougat to make me even consider 'upgrading.' This phone is nearly perfect for me on MM, so that's where it'll stay.

That message I think is an 'upgraded' (see, look how many great upgrades you get) Nougat warning message that you always get when the bootloader is unlocked. On MM, it would say that the phone cannot be checked for corruption as well.
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] autoprime:
not saying you should or shouldnt upgrade.. but getting back to M shouldnt be an issue. I've gone back and forth with 10J and 20A.

Only thing would be possibly having data wiped.. so moving everything off the device or to an external sdcard first would be safe.

if on 20A + TWRP.. you could flash the 10J bootloader zip in TWRP. Then flash the 10J KDZ in LGUP 1.11 with the H830 DLL msi and refurbish option selected. Then you can just use recowvery on stock 10J to reinstall TWRP (TOT no longer needed) and you can reinstall supersu zip or do whatever else from there.

20A doesn't seem so bad but I think there will be battery improvements worth waiting for in the next update, whenever that is.
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] SirDigitalKnight:
Problem is I can not get back into TWRP... it just wipes my phone clean. :(

Could I just flash the 10J KDZ in LGUp 1.11 with the H830 DLL msi and etc.... ?
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] autoprime:
if you are on 20A already, no.

you need to use recowvery to install TWRP. then reboot into TWRP and go from there.
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] SirDigitalKnight:
Can not get into recovery...

When I try and get into recovery mode the only option I get: Delete all user data No(exit) - Yes ?:confused:
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] autoprime:
if you flashed TWRP you'd have to hit Yes twice to continue to boot into TWRP.

but you should just use: "adb reboot recovery" since you'd already have the phone connected to the computer/usb cable when using recowvery.
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] SirDigitalKnight:
Yes twice only factory resets my phone for me. :(

So I am going to try the adb reboot recovery option.

I am getting this:

C:\ADB>adb devices

List of devices attached

LGH830f2f5b484 offline

How do I get it G5 to show online?

Newbie to adb...
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] waylo:
If the factory reset option on that menu actually factory resets, then you do not actually have a custom recovery installed unfortunately. You'll have to look into properly getting twrp installed.
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] SirDigitalKnight:
Exactly... I did have it installed but then I used TWRP to install the latest version of LG's "N" and lost access to it.

I have been looking for the "proper" way to get twrp reinstalled but there does not seem to be one out there yet if you are on H83020a.... at least not a way that makes any sense to me.... :confused:
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] waylo:
Okay. So unfortunately lost access here means it's been overwritten with the stock recovery and doesn't exist on your phone anymore.

The road back (to mm or root) involves using the recowvery exploit. There's some mention of that on this thread but also another dedicated thread you'll have to search for.

The GitHub with the actual files and instructions is here:

https://github.com/jcadduono/android_external_dirtycow#running

But you'll probably want to find a tutorial somewhere.
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] jeffsga88:
Also, if you happened to install SuperSU after upgrading to N in TWRP and confirm you have root working but not TWRP, just download the TWRP image 3.0.2-1 for our device and use FlashFire to install TWRP. Make sure you uncheck the restore recovery option when flashing. I did this to my girlfriends g5 and forgot to upgrade to newest TWRP and disable to lock screen in TWRP so after flashing everything I couldn't unlock her screen in TWRP (as it froze) and delete the recovery from boot.p file so she lost TWRP. But, she had root, so I just downloaded TWRP and installed via FlashFire.
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] SirDigitalKnight:
Yes to SuperSU

Yes, I flashed SuperSU after flashing the N in TWRP... not really upgraded as I was running CM14.1 but missed my great camera too much so I flashed back to stock, then flashed Super but all the apps say that I do not have root access installed but the phone itself thinks root is unlocked as it tells me it can not check for corruption and that I need to lock the bootloader?? :confused: Thus why I am so confused here... :confused:
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] djerick3:
Make sure the phone is unlocked and not in standby mode. Go to developer options and select the stay awake when plugged in option.
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] jeffsga88:
The message about cannot be checked for corruption has nothing to due with root. Once you unlock the bootloader, you get that message. If you install SuperSU app from play store and it tells you that the binaries are not installed, then you do not have root. If that's the case, follow the recowvery steps, there's a thread about it. If it says you have root, use FlashFire for TWRP. But from the sound of it, it seems like you don't have root anymore, so most likely will have to follow the recowvery guide. Also, if you like cm and stock you might want to consider dual booting.
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] SirDigitalKnight:
Ok, I will just sit tight until hopefully someone builds another .tot file from the N release that I can install with the LGUP software like with the v10D tot

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

Made no difference, but thx for the suggestion.
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] djerick3:
Are you you trying the recowvery script to root N? Because after several attempts I just got it to work.
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] SirDigitalKnight:
Is this what I need to try and attempt? : https://xdaforums.com/tmobile-lg-g5/development/root-h830-running-30a-nougat-t3524322

The instructions are not that clear.... and I know nothing about running scripts or how to actually pull this off using a Windows 10 laptop?

But any pointers and I will give it a try and perhaps write a step by step instructions for others.... :good:
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] djerick3:
Its easy as hell. Just download the recowvery package. Then download the latest version of twrp. Uncompress the recowvery package to your desktop. Make sure you have all the of LG drivers installed. Also make sure you have usb debugging turned on. Rename the twrp download to recovery and upload it to your device. Then open the recowvery folder and double click on the script and go.
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] SirDigitalKnight:
followed your steps and I get a dead android icon with "No command" on the screen?

Does it matter where you "upload the twrp renamed to recover to your device?"
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] djerick3:
You have to select option 5 first and turn off the verify option. Run it again and you should be good.
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] SirDigitalKnight:
Please select from the following options:

1) Run exploit and flash /sdcard/recovery.img (Leave selinux enforcing)

2) Run exploit and flash /sdcard/recovery.img (Set selinux permissive)

3) Install superuser ZIP from C:\Users\DigitalKnight\Desktop\EasyRecowvery-1.3b3\zips (Requires TWRP)

4) Restore stock boot and recovery from /sdcard/stock_*.img

5) Extras and Advanced Tools

0) Quit this script

============================================================================================

== Extras and Advanced Tools ==

============================================================================================

Please select from the following options:

1) Run exploit and spawn a limited root shell (Be careful in there!)

2) Flash only (For resuming after a successful exploit)

3) Download boot and recovery backups from /sdcard/stock_*.img

4) Install no-verity-opt-encrypt from the "zips" folder

5) Reboot to recovery

6) Toggle forced encryption after exploit (currently optional)

7) Toggle integrity verification during exploit (currently disabled)

8) Toggle using bundled adb.exe (currently bundled)

0) Return to main menu

(0-5)

So I run 5 and then 5? :confused:
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] djerick3:
No I'm sorry, run 5 then run 7. Next hit 0 then hit option 2. But you already have it disabled. Idk what's wrong.
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] oakestrevor:
I apologize for I know this is a noob question but I'm not very familiar with the whole SafetyNet Fail topic and I couldn't find any other posts specific to my question. I'm on H830 Lineage/CM14.1 and I want to flash back to stock, so that I can flash the FluenceHD patch on top of that. I want to avoid bricking my device obviously, so can I just flash the complete zip in twrp, and then flash the FluenceHD patch after that?
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] SirDigitalKnight:
So it does not matter where the "Recovery" file is located on the phone? :confused:

What do the other options 1,2,3 and 4 do?:confused:
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] djerick3:
Place the recovery file on your internal storage and sd card just to be safe. I'm not too sure what the other options do. I just followed the instructions. If someone else would like to chime in and help I would really appreciate it as I'm sure he would as well.
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] Shamec:
Back to stock no root no twrp

Quick question, after being rooted and having TWRP, if I wanted to go back to stock should I relock the bootloader then flashed kdz? Or should I just flash Kdz file?
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] djerick3:
Flash the kdz then relock the bootloader
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] PlagasX:
Hey If I'm currently on rooted w/TWRP 10d Marshmallow right now, can I just use the first COMPLETE zip file to upgrade??
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] nima0003:
Can you upload the kdz to Google drive or a different site? Codefire is so slow, and I have to have my phone fixed by tommorow.
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] joesee:
Downloaded twice and md5's match up. Still getting invalid KDZ file. What gives?

UPDATE: User error (sort of). Make sure you use LGUP 1.14, NOT 1.11. Works good.
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] jtatex:
can i flash this with uppercut?

Or is this a TWRP operation only?

---------- Post added at 01:35 AM ---------- Previous post was at 01:33 AM ----------

Hi Lord,

Can I uppercut from 20A to 10D? Thank you.
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] autoprime:
no, the public UPPERCUT will not work for downgrading Android N -> Android M.

the only way to do it, without finding a new exploit, is to use recowvery method to root 20A, install TWRP then downgrade through TWRP. you will have to get recowvery working with your device, find new root or wait for new root method.
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] Barsky:
Has rooting support ended for this phone after 83020c?
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] mourad1987:
Hi every one.

Excuse me for my bad English.

I own lg g5 h830 with software version h83020i-un.

My question is can I go on h83020a without any problem?

Can someone please explain it to me how can do it...

Thanx so much.
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] suhridkhan:
Yes, you can do it without any complications. How to do it, is explained in the first post of this thread, along with the downloads. Take your time to read all the instructions. You have to use the LG UP software to flash the 20a kdz.
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] dolst:
Hey, thanks for posting this! I was able to use it to downgrade from 20C and root my G5. (I'd click the "thanks" button but it apparently does not exist for me.) Surf Wisely.

Edit: I guess it had been too many years since my last post. Thanks button appeared and I clicked it!
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] rezajune:
downgraded to 20a and now its buggy

I downgraded from brand new h830 20f to 20a using the LGUP directions and now my phone is supper buggy.

after phone boots I get a bunch of error pop ups such as a process stopping and "unfortunately process stopped" error messages. I also click on contacts and it crashes and disappears. Tried to upgrade back to 20f to see if that works but can't find a 20f kdz file?

What did I do wrong and what can I do to fix this. I am trying to root my h830

Please help
[T-Mobile LG G5 ROMs, Kernels, Recoveries, & Other ] waylo:
Factory reset it if you haven't already.