yashsingh1/xdaforums huggingface dataset:
[T-Mobile LG G6 Guides, News, & Discussion] jasongw:
Thanks for your hard work. I've been hating life with the G6 on Tmobile for a year, but between your great work cracking this sucker open and the AOSP folks' sweet, lean Oreo ROM, it's like getting a new phone. Triple the free RAM, nearly double the free storage, and performance is night and day improved.

You guys all rock :)
[T-Mobile LG G6 Guides, News, & Discussion] lebrontk:
no mode dowload

no download mode, no root, OTA installation error, I can start the system and enter bootloader mode properly, but I have no way to download mode
[T-Mobile LG G6 Guides, News, & Discussion] b8engl:
See post #429
[T-Mobile LG G6 Guides, News, & Discussion] lebrontk:
when going into download mode, it goes into boloader mode automatically.
[T-Mobile LG G6 Guides, News, & Discussion] b8engl:
Reboot to system, select file transfer in USB mount option. Then, use LGUP to upgrade it will automatically send your device to download mode. After pull the cable!
[T-Mobile LG G6 Guides, News, & Discussion] lebrontk:
Restart the system, select the file transfer in the USB mount option. Then, using LGUP to update it automatically will send your device to download mode. After pulling the cable!

yes, I did that method ... start in bootloader mode,,no download
[T-Mobile LG G6 Guides, News, & Discussion] b8engl:
Maybe your laf image is corrupt
[T-Mobile LG G6 Guides, News, & Discussion] lebrontk:
yes, and since I'm not root, I can not get it back
[T-Mobile LG G6 Guides, News, & Discussion] b8engl:
Did you flash the h918 laf image?
[T-Mobile LG G6 Guides, News, & Discussion] lebrontk:
yes..
[T-Mobile LG G6 Guides, News, & Discussion] b8engl:
Yesterday I was in the "same" situation. Lost download mode, didn't have O.S. like you have. Today I tried again with cable and key combination and was able to access. Then I managed to recover 2 of 3 devices that I have.

The strange thing I try this over and over and lost download mode every time!

I have switch to another computer flash a new FWUL to a USB PEN and I was able to # one but lost system. With the sames steps I can't # the other one that I have here. The third, din't rescue its in a boot loop, no download no fastboot just recovery and erase but that's it!
[T-Mobile LG G6 Guides, News, & Discussion] Karl:
Worked flawlessly for me, I've rooted lots of devices from Sammy too htc but this one had my butt puckered the whole pulling the cable out at the right time had me questioning my reflexes ..lol
[T-Mobile LG G6 Guides, News, & Discussion] b8engl:
What do you mean pull the cable in the right time?
[T-Mobile LG G6 Guides, News, & Discussion] runningnak3d:
Yeah it will get the heart pumping. I have had to do it to flash H915 laf on H918. The RSA key is different, so if I let the whole thing flash I would have a brick.

Glad it worked out for you.

-- Brian
[T-Mobile LG G6 Guides, News, & Discussion] runningnak3d:
Are you letting the whole H918 KDZ flash? You are supposed to pull the cable the minute laf finishes flashing and it moves on to the next partition.

-- Brian
[T-Mobile LG G6 Guides, News, & Discussion] b8engl:
I have pulled before it starts flashing xbl but it didn't work for me. Try many times, always hangs on first (loop) try!
[T-Mobile LG G6 Guides, News, & Discussion] Be.wajah:
need system backup from rooted device

Got rooted

Get twrp

Magisk

Everything is fine

Just want to remove cache

Accidentally remove system

So hope someone help me out

And give me backup from rooted device:confused:
[T-Mobile LG G6 Guides, News, & Discussion] chibichuba:
Glad we could help :) This device is worlds better with root control

---------- Post added at 01:10 AM ---------- Previous post was at 01:08 AM ----------

You have to reflash a ROM/OS, deleting system only deletes the OS. Can you still boot into twrp or access from adb?
[T-Mobile LG G6 Guides, News, & Discussion] Be.wajah:
Yes have still twrp and system mount

I try to install zip ROMs but not work far away

And installing new os need download mode

I need complete backup from twrp

If someone give then it's fine
[T-Mobile LG G6 Guides, News, & Discussion] humanboy122:
I don't want to get the wrong version of TWRP

I'm new to XDA. I have no idea how to get the version you've specified without downloading elsewhere, and I'd really rather follow these instructions perfectly.

Please overlook my ignorance and provide more information.
[T-Mobile LG G6 Guides, News, & Discussion] runningnak3d:
The version that you need is in the repo when you do a git pull.

-- Brian
[T-Mobile LG G6 Guides, News, & Discussion] Polycarbonate:
Hey guys, is there a way to downgrade to nougat after updating to 20a with twrp intact?

I need to downgrade my bootloader to Nougat so i can get my fingerprint sensor to work on custom ROM's.
[T-Mobile LG G6 Guides, News, & Discussion] Be.wajah:
After delete os

I flash this zip

https://xdaforums.com/tmobile-g6/development/stock-flashable-oreo-rom-20a-t3823918

And do all procedure again and it's fine

Now have root twrp and working fine

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

Yes you can downgrade 20a to

11g or 11h with lgup it's fine

I do it too
[T-Mobile LG G6 Guides, News, & Discussion] Polycarbonate:
Thanks for the reply, I had to downgrade anyways, I just needed to get the nougat bootloader.

Flashing to stock would bring me encryption error on startup so I had to do the procedure again, it was no big deal though, amazed at how easy the procedure is now than it was before, I rooted mine on the very first procedure.
[T-Mobile LG G6 Guides, News, & Discussion] weakNPCdotCom:
Just saw this for some reason. Thank you Brian. Ill review and update the post for Oreo shortly.
[T-Mobile LG G6 Guides, News, & Discussion] kinfolk248:
Got a new G6, after you guys did this were you able to get adaway, magisk, all the root goodies running? I dont like LG ui but if I can get some mods running I can run with it based on the price I paid for the phone.

also, how long/hard was this for you guys... Im not new to rooting but damn seems things are getting harder instead of easier unless u have a designated dev device ;-[
[T-Mobile LG G6 Guides, News, & Discussion] Josh McGrath:
Things are getting more difficult but just follow to OP to an T and you'll be fine. It's very easy.

I don't have the device but everyone has had their magisk and adaway running fine.
[T-Mobile LG G6 Guides, News, & Discussion] kinfolk248:
ok thanks. I just have to get somewhere where i can download those huge files my home internet is SUPER slow.

Just wish xda community was bigger
[T-Mobile LG G6 Guides, News, & Discussion] weakNPCdotCom:
Longest part is getting all the files together / in place and making an FWUL boot stick.

Did your G6 come with Android 8.0 already on it? If so the steps will be slightly different. I'll try to update the main post this evening to cover that.
[T-Mobile LG G6 Guides, News, & Discussion] kinfolk248:
No sir, mine is nougat 7.0. build number NRD90U and software version H87210q
[T-Mobile LG G6 Guides, News, & Discussion] Ken C:
When you download all these files is there someplace special they're supposed to be or will the LG tool find them itself?

The instructions are very specific on where we extract the tool before use so I thought it worth asking.
[T-Mobile LG G6 Guides, News, & Discussion] kinfolk248:
omg the customization options on this phone are extremely limited, like i cant even turn off heads up notifications smh. LG really borked this phone up to say the least. Im looking through some magisk modules and Im not finding some of the simple stuff that I like in custom rom. This is sad. Like Im thinking about giving this thing away lol
[T-Mobile LG G6 Guides, News, & Discussion] spaceantz:
Hi guys..

I've been following this thread for quite some time, and maybe you guys ever experienced something like this, I follow the instructions from 1st page and everything runs smoothly for Step 1. And I got to Step 2, connect my G6 using FWUL, and I think I did something wrong and now i lost my LAF. And everytime i want to access download mode the splash screen show this picture.

The phone is working, but no download mode. Maybe someone have experience same thing? Is there any solution for it?

And somehow my network is block now. Im currently living in Indonesia.

Thank you guys, i hope there's solution to it.

Cheers

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

Hi guys..

I've been following this thread for quite some time, and maybe you guys ever experienced something like this, I follow the instructions from 1st page and everything runs smoothly for Step 1. And I got to Step 2, connect my G6 using FWUL, and I think I did something wrong and now i lost my LAF. And everytime i want to access download mode the splash screen show this red triangle

Says : your device has failed a routine safety check and will not boot...

The phone is working, but no download mode. I Can't use LGUP since my phone is not recognize by LGUP because everytime i want to go to download mode, that splash screen appear. Maybe someone have experience same thing? Is there any solution for it?

And somehow my network is block now. Im currently living in Indonesia.

Thank you guys, i hope there's solution to it.

Cheers
[T-Mobile LG G6 Guides, News, & Discussion] weakNPCdotCom:
Is this the first time you have gone through the procedure? What is your phone running? 11g, 11h, 20a, etc?
[T-Mobile LG G6 Guides, News, & Discussion] spaceantz:
Yes, actually it is. This the first time i try the step no. 2.

My phone already in 11g as instructed.

Have you experience something like this?
[T-Mobile LG G6 Guides, News, & Discussion] crush:
Hi. I am on android 8.0. 20a. Will I be able to root it?

---------- Post added at 09:00 PM ---------- Previous post was at 08:56 PM ----------

Will wait for your instructions for 20a. Thanks.
[T-Mobile LG G6 Guides, News, & Discussion] weakNPCdotCom:
I have updated the main post as the process now supports 20a. I also fixed some broken file links.

[MENTION=3365863]crush[/MENTION] - When you run through this procedure, can you please update me and let me know if you see any Encryption related messages or errors the first time you boot to TWRP? If you do, you may have problems booting to the OS after completing the procedure.

What will happen is your phone will boot to a “Decryption Unsuccessful” screen and it will tell you that you need to do a Factory Reset. If this is you, click the Reset button and your phone will reboot to TWRP

Once in TWRP, click the “Wipe” button.

Choose Advanced Wipe and select the Dalvik, Data and Cache options and Wipe. Do not reboot the phone.

Go back to the main menu or main wipe screen

Select “Format Data” and complete the format.

Reboot your phone and it should now boot to Oreo normally and begin the setup process.

If you dont have any encryption related issues like this, i definitely want to know because that means the latest version of TWRP we are using in the procedure fixed those issues. :)

---------- Post added at 04:02 PM ---------- Previous post was at 03:50 PM ----------

IMO, Oreo provides way more options on the G6. Custom ROMs are limited, but I'm running stock 8.0 and definitely prefer it over Nougat.

If you read through the thread there are a few people that lost download mode and instructions to fix that were posted.
[T-Mobile LG G6 Guides, News, & Discussion] crush:
Do I need to really wipe data?

Thank you for the update am currently downloading files.
[T-Mobile LG G6 Guides, News, & Discussion] weakNPCdotCom:
Hopefully you don't need to. Please skip the initial factory reset step for now.

You should definitely back up your data in case you do need to wipe it. The new version of TWRP we are using should prevent you from having to do a data wipe, but if you get the encryption errors you will end up having to wipe and format data. If you are able to get through it all without having to wipe data then I can remove that step from the post :)
[T-Mobile LG G6 Guides, News, & Discussion] spaceantz:
Thanks man, problem solved. Greatly appreciate it ?
[T-Mobile LG G6 Guides, News, & Discussion] crush:
well i get this secure start up

decryption unsuccessful error

the password you entered is correct, but unfortunately your data is corrupt.

to resume using your phone, you need to perform a factory reset bla bla.

and a button to reset phone. is it because i had a knock password set?
[T-Mobile LG G6 Guides, News, & Discussion] weakNPCdotCom:
just to be clear, you completed the entire process without any encryption messages/errors in TWRP? and the decryption unsuccessful message was on the final reboot? I was weary that there might still be decryption problems. I'll have to look into this further and see if there is any way to fix it.

No, it isnt related to your knock code. There is something else going on. This is why i wanted you to take precaution and back up your data. To resolve the decryption error, you will need to follow the steps to wipe and format data that i posted previously. Then you should boot to Oreo no problem.

---------- Post added at 06:35 PM ---------- Previous post was at 06:34 PM ----------

Glad to hear it. Enjoy
[T-Mobile LG G6 Guides, News, & Discussion] crush:
data was backed up that's not an issue. i clicked the reset button and it went fine. i setup phone again with all data restored... but when i tried booting recovery again i found that its still asking some password again. i clicked cancel but internal storage shows 0 mb now.

do i need to wipe in recovery?
[T-Mobile LG G6 Guides, News, & Discussion] weakNPCdotCom:
You need to reboot to TWRP (recovery) and wipe your cache and data partitions only, but do not reboot. after wiping, press your back button and go back to the main wipe screen and you will see a format data button. Then you can reboot and should no longer get the password prompt.

[IMG="screenshot"]https://i.imgur.com/FRqBdyN.jpg[/IMG]
[T-Mobile LG G6 Guides, News, & Discussion] Ken C:
I need some advice here guys,

I could've sworn I did everything correctly but I'm getting odd results.

Ran through all the steps listed for 20a & everything seemed to run fine.

I did get the encryption error (or what I think was it) which is where this weirdness starts:

I Get the password incorrect screen, but I don't see a "reset" option on the screen.

Hit cancel to get back into twrp proper and performed the mentioned wipes, and the phones boots up, storage looks normal.

(is this where I might have missed something?) root checker is saying it's not rooted but magisk manager shows ver.16.3 installed.

I can get back in using the cord and vol button back to twrp.

I did get a storage mounting message once but didn't notice anything odd but I redid the wipe process just in case.

I have an odd feeling I'm missing something, searched for mounting issues but it's not exactly right.

And the post above this isn't exactly it either.

It almost seems as if I didn't run ./step2.sh, but I'm pretty sure I did. I don't want to get too crazy trying stuff when the phone is still working and it's late, but any ideas would be cool.

---------- Post added at 02:48 AM ---------- Previous post was at 02:32 AM ----------

ok that's strange.

after my last post I flashed super su and Magisk in twrp and now magisk manager shows installed and root checker now sees the device as rooted.

Any thoughts? That just seems strange to me.
[T-Mobile LG G6 Guides, News, & Discussion] weakNPCdotCom:
I was going to suggest manually flashing the latest magisk from twrp. Im curious if step 2 worked for you. In magisk manager on the modules screen you should have a 3 dot menu button at the top right with an option to reboot to recovery. Does that option take you to TWRP? if not then im guessing you only have TWRP on the laf partition and step 2 didn't complete for some reason
[T-Mobile LG G6 Guides, News, & Discussion] Ken C:
not being a smartass just in case

the manager I have has those dash lines of the left, either way i don't see a reboot to recovery option.

I'm thinking the same about that step2 bit.

I'm sure I've seen people in here run that portion of the procedure. It's just that LGUP portion that can be the killer if I'm right

Thanks for the quick reply btw
[T-Mobile LG G6 Guides, News, & Discussion] weakNPCdotCom:
The button on the top left is the main menu, and you should see a Modules option. Tap that and then there should be another menu button on the top right with 4 reboot options.
[T-Mobile LG G6 Guides, News, & Discussion] Ken C:
found it, shows up but I get the little dead android guy with a "no command" msg I got this before and it freaked me out but the phone eventually rebooted into the os.

It just did the same behavior, booted into the os
[T-Mobile LG G6 Guides, News, & Discussion] weakNPCdotCom:
Ok thanks. If you followed all the steps in order and didn't wipe recovery after step 2 then there might be a mount issue that I will have to look into.

In the mean time, if you want TWRP on recovery you should download 3.2.3 for h872 to an external sd and flash it to the recovery partition. Boot to twrp using the usb cable like you have been. In twrp Go to install, tap install image at the bottom and browse to the twrp image. Youll be prompted for a partition and just check recovery. After this you'll have working recovery
[T-Mobile LG G6 Guides, News, & Discussion] Ken C:
wipe recovery?

I'll pull that file and install it. You think that'll get rid of the issues? works now

appreciate the help
[T-Mobile LG G6 Guides, News, & Discussion] jcruz942:
So I'm new and am on 20a that has ARB 1, can I use the 20a KDZ included in the instructions to root?

***********************************

Nevermind I found the solution.
[T-Mobile LG G6 Guides, News, & Discussion] ryanrod:
Does 20a Have Anti Rollback?

Forgive me for the title, I made an edit...

Hi guys, I screwed up my rooted H872 11g by accepting the Magisk 17.0 update... Apparently it screws up the Magisk database and you get rekt. I originally rooted it using the first version of this guide (it was the much more tedious and verbose method without the scripts and the older version of FWUL 2.6). I am trying to figure out how to get back to stock and start over.

I am able to get into recovery however after installing the TWRP backups of my complete 11g system, the phone just bootloops. Also, every time I enter recovery it requires me to do a factory reset before I can get in. I don't know why... To further aggrivate the situation, if I try to get into download mode, the download mode screen appears for 1-2 seconds and then it goes into recovery. I cant get the phone to connect to LGUP to start from step 1. Any other way to get stock back without being able to get into download mode? I am able to flash other non stock roms like ASOP extended , just not stock since I can't get into download more... Any input would be really helpful! Does anyone have a flashable zip of H872 11g perhaps?

Currently I have TWRP 3.2.3 installed. Since I was able to get into recovery, I ran the ./step2.sh script from this guide in FWUL 2.7 and it was installed successfully.
[T-Mobile LG G6 Guides, News, & Discussion] jcruz942:
So managed to get TWRP installed and followed everything to the T, and made sure to factory reset before starting. I want to return to stock but I can't get into download mode just boots into the recovery. I know it's because TWRP is on laf partition, but is there any way to get download mode back?
[T-Mobile LG G6 Guides, News, & Discussion] crush:
yes there is just check the posts in this topic itself.

thank you so much guys for your work. everything worked well, just a note: backup your data because it won't let you use twrp until you wipe your data in twrp.
[T-Mobile LG G6 Guides, News, & Discussion] Ken C:
I saw a post that was a rooted 20a stock rom. There's talk that it puts the laf partition back to normal. Asked that in the thread myself but have yet to get an answer.
[T-Mobile LG G6 Guides, News, & Discussion] jcruz942:
I was actually in that thread before posting in this one. The dropbox link doesn't appear to be working, so I was wondering if anyone in this thread knew of another way to kdz back to stock without being able to access download mode.
[T-Mobile LG G6 Guides, News, & Discussion] crush:
what about using lg up ?

boot normal mode then select file transfer when you connect it to pc. Your phone should be detected and should start installing original rom.
[T-Mobile LG G6 Guides, News, & Discussion] nikolai.b:
Did all as said. Lost download mode in last step in part 1 (go back to download mode)

Any fix or this is for life I guess it is :confused:

I get the triangular error which reboots the phone when you try enter download mode
[T-Mobile LG G6 Guides, News, & Discussion] bigmikey307:
Where's the link to the unofficial TWRP 3.2.3? Sorry I can't seem to find it
[T-Mobile LG G6 Guides, News, & Discussion] jcruz942:
It's part of the repo, so you don't have to do anything extra. Just follow the steps in the op.
[T-Mobile LG G6 Guides, News, & Discussion] cmendonc2:
I had this same experience trying to root my 20a phone. I got it working too in the end, here was how I did it: https://xdaforums.com/showpost.php?p=77513501&postcount=4
[T-Mobile LG G6 Guides, News, & Discussion] Ken C:
Well it's running fine now. Did run into some weirdness about 12hrs after rooting though.

Messing around with forcing long display, and dpi numbers I think I did something odd the system didn't know what to do with. I rebooted after the fld was changed and the phone would boot but hung on the t-mo boot screen. Nothing I could do to interact with it. Adb would see the phone, lgup no.

Ended up letting it die on its own (took all night) next morning I plugged her in and it booted right up.

I am curious about this laf issue a having twrp on it permanently. I've noticed different schools of thought on it.

Twrp is on the recovery so technically it doesn't have to be on laf now.
[T-Mobile LG G6 Guides, News, & Discussion] jcruz942:
Just tried that and it doesn't appear to be working. When I select my phone a message saying "You have to select a known model, please." pops up. Is it because I am running a custom rom?
[T-Mobile LG G6 Guides, News, & Discussion] Ken C:
Deleted
[T-Mobile LG G6 Guides, News, & Discussion] Ken C:
Still having the same issue.

At first I thought it may just be when I tried to flash something in recovery. Which I tried again to do last night. Got stuck on the t-mobile screen again.

This time though I had pulled out a back up device so I'd have a working phone and had returned the sim card to the g6 & went to boot which it was normally letting me do after it would die.

This time though it wouldn't and the phone is waiting to die as I post this.

I took a log in twrp when it happened. Twrp was throwing me a flash error message before it would act up. Seems like something that may be related to the recovery itself.

Anybody have any thoughts on it? I'm thinking if it's bad enough I could if possible flash 20a again through lgup if I haven't lost that option.

Tapatalk is being a pain about letting me share that log file.

I looked at it though and I see 3 storage mount issues that look to have occurred during rooting.

Unable to mount sd-ext, USB otg , and I saw vendor in there also. I didn't want to paste it and clutter up the thread more. But if ya'll need to look at it I will.

Best I can figure is something isn't mounting correctly in at least twrp

If somebody with more knowledge could give me their thoughts it would be greatly appreciated.

Thanks
[T-Mobile LG G6 Guides, News, & Discussion] Ken C:
Magisk isn't able to install anything either.

---------- Post added at 01:06 PM ---------- Previous post was at 12:30 PM ----------

This is the closest I've come to what I'm dealing with.

---------- Post added at 01:27 PM ---------- Previous post was at 01:06 PM ----------

I'm tempted to flash the 3.2.1 recovery earlier up in the thread.

That one seemed to get rid of the issues I'm seeing.