yashsingh1/xdaforums huggingface dataset:
[T-Mobile LG G6 Guides, News, & Discussion] weakNPCdotCom:
[MENTION=3756477]Ken C[/MENTION] Hey man! It's been a long time, but I finally have something usable.
[MENTION=3167089]runningnak3d[/MENTION] I dont know if you might find this helpful too.

I just posted the Utility I have been slowly working on the last few months. I published an alpha release today. It is working, although I have not tried flashing the zips that the tool makes.

It is a very basic windows command line tool, and you can see more here in my post
[T-Mobile LG G6 Guides, News, & Discussion] jarl-ragnar:
Problem

Hey to everyone :) I root my phone with this method few months ago but today i accidentally click on Restart now notification which was some sort of security patch update so after restart it goes into twrp and then nothing happens so what is solution? what should i do ?
[T-Mobile LG G6 Guides, News, & Discussion] jarl-ragnar:
I root my phone with this method few months ago but today i accidentally click on Restart now notification which was some sort of security patch update so after restart it goes into twrp and then nothing happens so what is solution? what should i do ?
[T-Mobile LG G6 Guides, News, & Discussion] pro2503:
hey i just follow the post but when it came to the step pull out the usb cable and reopen the lgup it won't recognize my phone. after that i reboot it by using power+volume down. and now when i plugged it to computer it says qusb_bulk. does i just brick my phone or not and how to fix it? thanks
[T-Mobile LG G6 Guides, News, & Discussion] leunamme9:
you just got your phone bricked!
[T-Mobile LG G6 Guides, News, & Discussion] Josh McGrath:
Either call your provider and get a warranty exchange ("I don't know what happened") or find a service online that will reflash it for you for a fee.
[T-Mobile LG G6 Guides, News, & Discussion] an0ym0us:
When I try to oem unlock nothing happens. What can I do? I have followed all other instructions.
[T-Mobile LG G6 Guides, News, & Discussion] aquinoer:
does anyone else have this problem?
[T-Mobile LG G6 Guides, News, & Discussion] an0ym0us:
Ok so I got my bootloader unlocked but when I try to flash the H918 10p KDZ file nothing happens on my phone screen and it doesn't ask me what partitions to flash.
[T-Mobile LG G6 Guides, News, & Discussion] Nazury:
i can skip those steps to dowload the 10p and 11g? because iam in 20a

but you are the expert and i dont want brick my phone

tell me what i have to do, please
[T-Mobile LG G6 Guides, News, & Discussion] AoEKiller:
You will need a copy of the KDZ that your phone is on, if you are on 20g, H or i you need to download version that your phone is on. You can't downgrade btw.
[T-Mobile LG G6 Guides, News, & Discussion] an0ym0us:
Can anyone help me?
[T-Mobile LG G6 Guides, News, & Discussion] buyslake:
Does this work on T-Mobile H872?

I just got my T-Mobile H872 in the mail today and want to root it.

My software version is H87220f

This post says it works on any H872. So I assume it works for my T-Mobile H872?

I just wanted to make sure because I see that reward for root post about T-Mobile H872 therefore I am confused.
[T-Mobile LG G6 Guides, News, & Discussion] buyslake:
FWUL persistent or forgetfull download?????

You say to grab the FWUL but when I got there I see two different versions.

Persistent or ForgetFul?

Which one do I use?
[T-Mobile LG G6 Guides, News, & Discussion] buyslake:
T-Mobile H872 firmwares for download.
[T-Mobile LG G6 Guides, News, & Discussion] buyslake:
Please clarify the process. See image.

Hello,

Is anyone knowledgeable here still active in the thread?

I have been studying the process to root my phone but I am still confused. See attached image. There are only 3 commands we need to copy and paste? I see this video where this guy is referencing this thread but he is copying many different commands into the terminal and seems to be different process. Also, how do we get TWRP into recovery? What is that part about ./step2.sh ?

Please explain clearly. I do not want to brick my phone.
[T-Mobile LG G6 Guides, News, & Discussion] RebelLion_:
[MENTION=3167089]runningnak3d[/MENTION] I had success with this as well on my H872! The only issue was the wifi in FWUL, it seems the driver for my chip is missing too. And I think it's just missing from the kernel source, cause I run Manjaro on my laptop daily and have zero connectivity issues. It could be a simple as merging in the wifi changes from a recent kennel version and compiling the kernel yourself, which isn't as hard as it sounds. Anyways, great work and thanks for the smooth tutorial. Linux FTW!
[T-Mobile LG G6 Guides, News, & Discussion] stevekent:
Does anyone have a solution to get past Step 2? It appears this no longer works "git checkout h872-miscwrte".
[T-Mobile LG G6 Guides, News, & Discussion] Krimsoneyez73:
G6 h872

I'm on 20g now. Will the LG UP provide the 20g KDZ I need or could you possibly pay a link for it? Want to try this root method but want to have all needed files before I go and brick my phone... If you could post the link for all I will need, I will definitely donate for your time. Thanks in advance... If not, I understand
[T-Mobile LG G6 Guides, News, & Discussion] ghonks:
Hello , need help, for H872 20g i want to downgrade to nougat....

Do i need another tutrial for unlocked bootloader before i do this tutorial? Or i just go to the developer option and choose OEM Unlock?

after this i'm planning to do Lg up for downgrading....

Thx before
[T-Mobile LG G6 Guides, News, & Discussion] ahsan007:
check

dont downgrade your lg they will bricked brooo:p
[T-Mobile LG G6 Guides, News, & Discussion] TManchu:
I just did this today on my 32GB Titanium running 20g, and it seems to have been successful so far. I flashed HavocOS 2.4 to replace the stock ROM as I hate LG-UI, and also because LG thinks software updates are optional or something.

To anyone on the fence about doing it, it's not that bad. As long as you triple-check your prerequisites and make sure everything works (i.e. your phone is recognized by LGUP and FWUL, that you open the right things in FWUL) before proceeding, you should be fine. There's a pretty solid amount of time (several seconds) between confirming the flash and actually needing to yank the cable. If your phone isn't on 20a as mentioned in the guide but you are on Oreo, just download the KDZ of the version you're on and substitute it for 20a. runningnak3d, your guide is great - thanks for putting the time into making it. For anyone scrolling through, here's my experience/observation of the process:

(Process part 1) When pulling the cable after only the H918 laf flashes, you need to plug the phone back in before you reopen LGUP to flash the H872 KDZ. Not super important, but it wasn't mentioned in the guide so I figured I'd say it.

(Process part 3) I had some issues getting my SD card to show its contents in TWRP. Originally I didn't realize that you needed to actually select the SD card in TWRP. It's the button at the bottom of the screen (when searching for a package to install) that says "Select Storage." There was also one time that I had to unmount the SD card through the Mount option on the main menu, and then select it in the install screen, in order for its contents to show up.

(Process part 3) Also, I observed that the initial boot of TWRP from the laf partition (after ./step1.sh completes and tells you to unplug the phone) took a pretty long time. I was concerned for a moment that it hadn't worked as it was just sitting on the download screen, but it was just being extremely slow and eventually did load into TWRP.

There's a video on YouTube that shows this process. It's titled "How to root T-Mobile LG G6 (H872) 2018" and should be the first result if you search for what's in the quotes. I would post a link but I'm not sure if I'm allowed to. Note that the second part of that video is now obsolete, as all of the commands he enters in Part 2 have all been automated with ./step1.sh. However, it is nice to see the exact process for flashing the H918 laf and when to pull the cable, etc.
[T-Mobile LG G6 Guides, News, & Discussion] Darkness30XX:
Hey everybody.

To get straight to the point, I spent several hours acquiring all of the prerequisite files and set up all of the software accordingly. I started Part 1 without issue. Pulled the cable at the right time, flashed the appropriate firmware after that, but now I have a problem.

I can't boot into Download Mode anymore.

After fully completing Part 1, I boot into FWUL without issue but now the device won't boot into Download Mode. It flashes the small dialog box but then goes to an error screen saying along the lines of:

the device failed a safety check.

It then reboots to my OS and my phone continues to work normally. It's not bricked, obviously, but I can't move on to Part 2 because of this problem.

What can I do?
[T-Mobile LG G6 Guides, News, & Discussion] elwood_:
When I boot into FWUL and go to the LG folder, there is no "LG LAF (runningnak3d) icon". Only "LG (auth)" and "LG (no auth)" and neither git command works. I receive some type of error that i can't remember. And now my phone seems to be stuck in download mode.

Did i download the wrong version of FWUL? I used the one from the link posted...

Edit: Just realized i downloaded FWUL v1.4. Disregard.
[T-Mobile LG G6 Guides, News, & Discussion] wuhoatu:
My H872 can be rooted. However, right after I fill my google account into the phone, it SystemUI become laggy and stop working reapidly. It happen with 20a, d, e, f and g.

Any help idea, please.

Thx U all
[T-Mobile LG G6 Guides, News, & Discussion] Xoo00o0o0oX:
Be sure that your bootloader is unlocked. I had this same issue and was able to resolve it by unlocking the bootloader. I was worried that I bricked the phone ( as in never to be able to fix the laf partition) but once I unlocked the bootloader it booted into download mode just fine. I think we got lucky the phone boots at all.
[T-Mobile LG G6 Guides, News, & Discussion] hieuvii:
"Flashing TWRP to lafbak. Please wait...

Traceback (most recent call last):

File "./partitions.py", line 472, in <module>

main()

File "./partitions.py", line 419, in main

comm = lglaf.autodetect_device()

File "/home/android/programs/lglafsploit/lglaf.py", line 441, in autodetect_device

return USBCommunication()

File "/home/android/programs/lglafsploit/lglaf.py", line 299, in __init__

raise RuntimeError("USB device not found")

RuntimeError: USB device not found

Dumping lafbak for hash check...

Traceback (most recent call last):

File "./partitions.py", line 472, in <module>

main()

File "./partitions.py", line 419, in main

comm = lglaf.autodetect_device()

File "/home/android/programs/lglafsploit/lglaf.py", line 441, in autodetect_device

return USBCommunication()

File "/home/android/programs/lglafsploit/lglaf.py", line 299, in __init__

raise RuntimeError("USB device not found")

RuntimeError: USB device not found

Trimming trailing zeros

dd: failed to open 'h872-twrp-tmp.img': No such file or directory

stat: cannot stat 'test.img': No such file or directory

Temp file size:

sha256sum: test.img: No such file or directory

Checking hash...

TWRP hash: Sdfac26cecbf9dbffb67b410f60c0283bac1a4db33f117438c6a9e480f9eb58ae

Test dump hash: S

Hash check failed! Retrying for 5 times.

rm: cannot remove 'h872-twrp-tmp.img': No such file or directory

rm: cannot remove 'test.img': No such file or directory

Hash check failed after 5 attempts - exiting"

I tried it many times but it still works, help me :( :( :( :(
[T-Mobile LG G6 Guides, News, & Discussion] wuhoatu:
All you need are on first post. KDZ various can be found here (including H87220g tested) https://lg-firmwares.com/
[T-Mobile LG G6 Guides, News, & Discussion] buyslake:
Can not sync Google account contacts

After completing this procedure everything worked as described.

However, I can not sync my google contacts with my gmail accounts.

When you go to Account, Gmail, and sync now, the option for Contacts is not in the sync list.

I downloaded a current Google apps .zip and flashed that and there is still not option to sync contacts. It should be in the list in the attached photo, it shows on my Motorola phone.

I tried downloading the google contacts app from play store and still no sync option for contacts.

I have been trying for many hours to figure out the problem Does anyone have a solution?
[T-Mobile LG G6 Guides, News, & Discussion] sansara_2001:
carefully check the status of your usb !!! when the virtual machine turns on, it intercepts the devices. Your phone should disappear from the device manager of the computer and appear in the captured ports of the virtual machine !!!
[T-Mobile LG G6 Guides, News, & Discussion] Ken C:
Piece of advice for y'all. Not to fwul off a USB stick. Why you guys are adding another variable to this is beyond me. In the instructions is pointed out that your better off running it that way.

Your losing dlmode so to how the laf partition gets rewritten to allow us to root the device. There are threads with the original laugh in a zip format of you feel you need that but it's not the end of the world.

Do not rock the bootloader or you'll brick the device. If something acts weird is recommend reflashing your original kdz using lgup. Yes, it'll make things take a little longer but when you make a second attempt you'll be starting from scratch and not some half modified situation.

Also for step 2. Put the files on your SD card and flash them from there. Twrp to recovery then magisk. Don't do it through fwul last I knew there were issues with that.

You can look for posts with my name attached or threads with weakNPCdotCom as the op. He's not active in here anymore but helped me with my issues going through this.

---------- Post added at 12:46 PM ---------- Previous post was at 12:42 PM ----------

Few typos in my last post.

Run fwul off a stick you'll be better off.

The others I think y'all can figure out what was supposed to be there instead. That fwul sentence totally changes with use of the incorrect word.

Basically follow the directions exactly until you get to step two. At that point flash things manually
[T-Mobile LG G6 Guides, News, & Discussion] leunamme9:
does anyone here bricked their phone and found a solution?

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

does anyone here bricked their phone at got a solution?
[T-Mobile LG G6 Guides, News, & Discussion] leunamme9:
https://xdaforums.com/lg-g6/how-to/lg-g6-unbrick-method-t3935924
[T-Mobile LG G6 Guides, News, & Discussion] vampercy:
hi everyone i tried this method and everything went fine, now

i have twrp the only one problem is that i cant flash nothing .

anyone can help me??

edited . found the solution change storage to sd card then flash magisk ,,

rooted stock
[T-Mobile LG G6 Guides, News, & Discussion] thekeemo:
I made it to the point of installing TWRP and rebooting into recovery (20a)

I then flashed nougat recovery from here, LineageOS, and magisk

Now its in a bootloop, giving the unlocked bootloader error and then the LG Logo.

I cant seem to get into download, because the device wont shut off. Not sure what to do from here.

Occasionally I get download mode to very quickly flash before it gets back into the loop.

EDIT: I can now get into TWRP but still cant get into lineage
[T-Mobile LG G6 Guides, News, & Discussion] Prog14936:
Hi i just want to know that you need to have linux OS installed for part 2 of this thread?
[T-Mobile LG G6 Guides, News, & Discussion] vampercy:
No. You only need to do this before continue

1 Download Etcher

2 Select the FWUL image

3 Ensure you choose the correct USB drive by clicking on Change below "USB device" :

4 Click the Flash button and wait until it has finished:

5 By default Etcher will verify the flashed image (you can abort that one but it is highly recommended to let the verification finish):

5 Once all has finished reboot, ensure your PC booting from your USB (check your BIOS if not) and enjoy FWUL from your USB

Go to. https://xdaforums.com/android/software-hacking/live-iso-adb-fastboot-driver-issues-t3526755
[T-Mobile LG G6 Guides, News, & Discussion] Prog14936:
Thank You so much for your reply but iam having a problem in fwul in connecting to the internet it says only ethernet which i dont have and my wifi is not displaying is there any way to connect to wifi?
[T-Mobile LG G6 Guides, News, & Discussion] vampercy:
sorry bro, i have never had that problem. i suggest you to try with a different pc
[T-Mobile LG G6 Guides, News, & Discussion] Prog14936:
No Problem bro i managed to get ethernet and installed twrp and now my mobile is rooted.Thanks
[T-Mobile LG G6 Guides, News, & Discussion] ehtisham ali:
You mention the twrp recovery link but there is nothing to do with this recovery in procedure.. humble request to explain
[T-Mobile LG G6 Guides, News, & Discussion] runningnak3d:
First, please don't quote the entire post like that...

Second, if you read it again, it says that TWRP is included in the repo and is flashed with step1.sh. As for needing to download it, that is so that you can have the latest version. Also, apparently there are some decryption problems with 20a and up, so you need to put it on a micro SD card since you are going to have to wipe data. I guess you could push it with adb push, but I didn't add the instructions for 20a and up. I no longer own a G6, so I can't really offer support beyond what is already here. For that matter as soon as my OnePlus 7 Pro gets here, I will be out of the LG scene completely.

-- Brian
[T-Mobile LG G6 Guides, News, & Discussion] idntknoyunw:
"For that matter as soon as my OnePlus 7 Pro gets here, I will be out of the LG scene completely."

???? Hopefully!, I read your comment that maybe you would work on the v35 as a grand finale on the LG?

I'm hoping hoping that you still have that in mind if possible?

---------- Post added at 12:12 AM ---------- Previous post was at 12:06 AM ----------

And as a follow-up I was trying to figure out how to 86 the copying of the post I'm replying to?

Is there a shortcut to cut that text or is it just a matter of highlighting it and then cutting it first?

Thanks just showing my stupidity.
[T-Mobile LG G6 Guides, News, & Discussion] ehtisham ali:
I am on 11g

You mean I can go ahead without downloading twrp mentioned ? It is already included in that fwul ? I am sorry i dont know much about these things but i am trying...

I watched a video they reffered your thread as a guide , but in this video they used many commands such as " py.misc dump etc .. In your thread there are just 2 or 3 commands mentioned I am so. Confused?

Can I go ahead with ur 2 or 3 commands

git pull

git checkout h872-miscwrte

./step1.sh

Kindly help me i really need to root my phone.

I request you give me some of your precious time..

Sorry for my bad english hopefully you understood what i want to say
[T-Mobile LG G6 Guides, News, & Discussion] ehtisham ali:
Brother please respond I am going to take the risk . your confirmation needed...

I am sure about first part but a bit confused about second part....

---------- Post added at 02:03 PM ---------- Previous post was at 01:57 PM ----------

I am going to do the first part... After first part i can use my phone normally if successfully done ... I am waiting for ur reply for part 2 if my phone survived...
[T-Mobile LG G6 Guides, News, & Discussion] runningnak3d:
If you are not comfortable with the steps, then you really shouldn't do this. The procedure is as written -- you don't need to do anything special except follow the steps -- literally in order.

Ignore anything in the post that says it is for 20a since you are on 11g.

-- Brian
[T-Mobile LG G6 Guides, News, & Discussion] ehtisham ali:
All I doing this for pubg.... Because lg g6 has poor perfomance in gaming may be rooting and flashing custom roms could get me out of game lagging...

Thanks brother god bless you ....
[T-Mobile LG G6 Guides, News, & Discussion] ehtisham ali:
Oh yes I successfully rooted..

Great work brother..

I am wondering both the steps step1.sh and step2. were failed but phone booted into twrp..
[T-Mobile LG G6 Guides, News, & Discussion] ehtisham ali:
View attachment 4779604
[T-Mobile LG G6 Guides, News, & Discussion] ehtisham ali:
Twrp decrypt data password and does not mount storage need help
[T-Mobile LG G6 Guides, News, & Discussion] runningnak3d:
You have to boot into TWRP and choose wipe / FORMAT DATA / type yes. If you are only doing the normal wipe, that won't work.

Then choose reboot / recovery to boot BACK into TWRP *not* system. And make sure that data mounts. If it doesn't then you need to format again. Repeat until you can reboot into TWRP and mount data.

Then you will be able to boot to system. However, if you haven't flashed Magisk, Android will encrypt your data all over again, so make sure you have flashed Magisk -- or at LEAST no-verity-opt-encrypt.

-- Brian
[T-Mobile LG G6 Guides, News, & Discussion] ehtisham ali:
I am still able to boot into system but every time I boot into recovery it requires data decrypt password

I flashed magisk it works normal... Format data option wipes internal storage too..

I have 2 recoveries one in laf partition and other is in recovery partition

Laf= recovery_h872_20180813-1.img

Recovery= twrp 3.2.1 ......

And what is

no-verity-opt-encrypt ?

---------- Post added at 02:36 PM ---------- Previous post was at 02:32 PM ----------

At this stage can I relock the bootloader without issues ?

Can I flash super Su ?
[T-Mobile LG G6 Guides, News, & Discussion] fates13:
Damn, I had OEM unlock enabled on 20g, then downgraded to 11g because the LG Up process wasn't working for some reason. I proceeded with the LAF flash part but I forgot to OEM unlock after flashing 11g. Now download mode is missing and I can't KDZ to stock to restart the process. Is there any way thaat I can get download mode back by flashing stock LAF through some method or am I out of luck?
[T-Mobile LG G6 Guides, News, & Discussion] stoneworrior:
Stuck in download mode

Everything seemed to be going fine until I got to part 2. I get error 'h872-miscwrte' did not match any file(s) known to git when using the lg link in terminal using fwul. I tried using the commands from just a terminal using the commands on page 25 and still nothing. My phone is stuck on download mode now and holding the power button with volume down does nothing. I followed the instructions perfectly the phone is just stuck in download mode after getting the git-hub error. I copied and pasted the commands so I wouldn't miss type anything.
[T-Mobile LG G6 Guides, News, & Discussion] stoneworrior:
I've switched between a desktop and three different laptops and have also use 4 different USB c cables and every time I run git pull I get already up to date.

I run git checkout and I see Branch 'h872-miscwrte' set up to track remote branch 'h872-miscwrte' from 'origin'. Switched to a new branch 'h872-miscwrte'

I enter ./step1.sh and get this will install TWRP.

Then the instructions I hit space bar and it searches and then the error failed to open 'h872-twrp-tmp.img' : no file or directory checking hash...hash check failed retrying 5 times. It keeps running and failing. So I've tried different computers and cables with the same result. Is there anything I can do at this point. The phone is stuck on download mode and I cannot get it to shut off no matter how long I hold down the volume down and power button. It has been like this for about 8 hors now. Thanks in advance for any help.
[T-Mobile LG G6 Guides, News, & Discussion] elwood_:
I had the same error. Make sure you're using the latest version of FWUL! I downloaded an older version by mistake, the newest one fixed it.
[T-Mobile LG G6 Guides, News, & Discussion] gasto40:
Hi, the procedure says it supports 20g firmware, but the steps only include up to 20a?
[T-Mobile LG G6 Guides, News, & Discussion] ouaelat:
Hello please can you xplaine how to flah the TWRP in steps and one more questione if i have a lg g6 h87220g do i need to flash to downgrade to 11g version or i don't please answer me ??
[T-Mobile LG G6 Guides, News, & Discussion] gasto40:
I answer myself, I downgraded to 20a just in case.