yashsingh1/xdaforums huggingface dataset:
[LG G6 Guides, News, & Discussion] Tkar79:
Turns out there is a 3rd US997 variant and its from BrightPoint, I was (un)lucky enough to get one from a seller.

Checking the imei info is the only way to know if you have a real carrier free us997 and make sure there is no buyer.

What is odd is that when you punch in the details into the lg website they say that you can't unlock bootloader but they do not give a count down or tell you the model number such as when entering the us cellular model.
[LG G6 Guides, News, & Discussion] paul_zm:
You can flash kdz if it's updated by lg ， abd you check this on lg's dev website ， hope ths will help you .

https://lg-firmware-rom.com/united-states-download-lg-kdz-firmwares/
[LG G6 Guides, News, & Discussion] FrankoHN:
Thanks. Seems like my phone's model is not on there. US997Z.
[LG G6 Guides, News, & Discussion] paul_zm:
Ok , you can try lg bridge too , you will see the update if it is released .
[LG G6 Guides, News, & Discussion] FrankoHN:
Yes, tried it. Funny thing is, on US Cellular software website it says Android Oreo update is available for my phone, yet when I try to update it tells me it's running latest os. I'm totally confused. I've read on other forums here that people have flashed US unlocked version(non-us Cellular) kdz to the us Cellular version. Being that I'm me to flashing software on LG phones, I have no idea how to that...
[LG G6 Guides, News, & Discussion] paul_zm:
Really , you can flash unlock version kdz into us cellular device , you can download the kdz and flash it follow steps in other posts , maybe it will work .
[LG G6 Guides, News, & Discussion] luingry:
Unlock bootloader on H870i (64gb Brazil's version)

Is there any way to unlock bootloader for the H870i verson?

I mean, the LG's developers don't support this version for unlock bootloader. :crying:
[LG G6 Guides, News, & Discussion] schleima:
Has there been any definitive word as to whether the bootloader on the Amazon Prime (model LGUS997.AAMZBKR) can be unlocked?

The earlier posts are from a few months ago, and they are inconclusive.
[LG G6 Guides, News, & Discussion] wsimon98:
Well that's not being very helpful :D ..

The LG LS993 is not listed on the developer site for devices that can be unlocked. It looks like a Sprint users are pushed to the back of the bus, as always.
[LG G6 Guides, News, & Discussion] javier72:
[MENTION=2684188]autoprime[/MENTION] Thanks for your job. It work fine.

If once opened I close the bootloader for some reason, to reopen it simply re-do "fastboot flash unlock unlock.bin", right?
[LG G6 Guides, News, & Discussion] autoprime:
if you re-lock your bootloader then yes.. you would just re-do the fastboot unlock command
[LG G6 Guides, News, & Discussion] javier72:
[MENTION=2684188]autoprime[/MENTION] Thank you so much.
[LG G6 Guides, News, & Discussion] chudis:
@ autoprime Děkuji moc.
[LG G6 Guides, News, & Discussion] oddoneout:
I have the LG-H870 but I'm uncertain if it's specifically a European model as it was purchased in South Africa. Can anyone confirm if my device is safe to root?
[LG G6 Guides, News, & Discussion] varefaz:
Hi :)

when i try to login in the lg site after click on login there is a popup that says "Service Unavailable."

if i retry there is another page with a gray background and a black written that says " This page you are looking for does not exist."

someone have the same problem? How can i do? thank you

https://imgur.com/NO54xFw

https://imgur.com/f5WcSxv
[LG G6 Guides, News, & Discussion] varefaz:
for all those looking for an answer !!! For the LG G6 h870, you need to flash the nougat 11G bootloader. to do this, just flash the twrp file as a simple zip no wipe or other things are needed. I did it now and my fingerprint sensor works again.
[LG G6 Guides, News, & Discussion] vyklouz:
I'm new here. You mean this zip? https://androidfilehost.com/?fid=745849072291696028

It's 2GB large. Or where can I find that zip. Thanks for answer!
[LG G6 Guides, News, & Discussion] varefaz:
This is the OS stock for lg g6. You can flash it via twrp
[LG G6 Guides, News, & Discussion] vyklouz:
Yes, but I looking for nougat 11G bootloader for working fingerprint. What TWRP file you mean?
[LG G6 Guides, News, & Discussion] varefaz:
https://mega.nz/#F!U1AzjQbZ!On4foWpyM6fAuePg5W4TjA

Here there are two bootloader. You must use 11G
[LG G6 Guides, News, & Discussion] vyklouz:
So much thank you!
[LG G6 Guides, News, & Discussion] Lecso11:
I have to put unlock.bin and twrp.img into the Minimal ADB and Fastboot install folder right?
[LG G6 Guides, News, & Discussion] Bunsenbrenner:
Yes :good:

@ autoprime

you write in FAQ Quote: On the T-Mobile G6 there is now a bootloader unlock counter.I will assume this counter is also on the H870/US997........

where can I find that to read conter? I can not find a counter, would interest me i have H870 Dec Handset.
[LG G6 Guides, News, & Discussion] Sobek5150:
Hoping someone can give me some help on a problem I'm experiencing. I recently KDZ'd back to stock. On 21a US997 model. Installing TWRP is fine. Once i'm in TWRP, on first recovery boot it tells me data is encrypted. Again - no surprise. I "Format Data", then reboot into recovery again. Mount system, and delete the recovery file from System (per OP). At this point there are no issues! The first time it did this, i used the no-verity-opt-encrypt zip to remove the force encryption. Unfortunately something didn't work and went into a bootloop. I re-did the KDZ and all steps above.

Now the second time somehow the phone booted - didn't do anything different. To test out the encryption, I rebooted back to TWRP and there was no decrypt message! It had worked! I installed Magisk 17.1, Marshall kernel, (installed Magisk again per instructions on that kernel's page) and rebooted. After taking some time to setup a few things (debloat, etc..) I rebooted to make a basic back-up of my new base system.

Guess what? That DAMN encryption is back. Now the only way I know how to get around this is to format data. Oh fun. Can anyone tell me if I've done something wrong or WHY the hell my data keeps getting re-encrypted? I have no problem doing these actions over, I'm just wanting to figure this out. Any help appreciated.
[LG G6 Guides, News, & Discussion] nima0003:
Make sure you flash Magisk before you boot. Or get an AOSP rom.
[LG G6 Guides, News, & Discussion] Sobek5150:
I don't know if I follow you. I flashed Magisk before booting. My problem is when I get back into twrp later data is encrypted again.

Are you suggesting to flash Magisk through terminal Emulator or through Magisk Manager each time I want to reboot? I think the problem I'm currently experiencing is during boot of the stock system. Something is reencrypting the data.
[LG G6 Guides, News, & Discussion] nima0003:
Before the first boot flash Magisk. Your should be fine after
[LG G6 Guides, News, & Discussion] Sobek5150:
Yeah, I did that. Unfortunately something is still happening. The next time I get back into twrp encryption is back.
[LG G6 Guides, News, & Discussion] paul_zm:
You need a kernel which cancled decrypt , I had this problem before on my h870 , I flashed a modified kernel , then there is no problem again , hope this will help you .
[LG G6 Guides, News, & Discussion] Sobek5150:
I appreciate it!
[LG G6 Guides, News, & Discussion] Sobek5150:
So I finally got it working. I've found that when I flash something in TWRP on top of the Stock System, I just need to make sure before I reboot I re-flash the dm-verity-opt-encrypt4.1.zip file to make sure the fstab files are properly edited so it doesn't re-encrypt.

I put Wolf's Marshall Kernel v1.6 on the first time around, and had the problem with it re-encrypting - so I'm not sure if he had anything changed in there to prevent this or not. Either way, not a big deal as after redoing the KDZ and re-flashing the kernel, I just flashed that dm-verity-opt-encrypt4.1.zip again and it kept the phone from re-encrypting.

Now currently running on US99721a build with Magisk 17.1, Marshall Kernel v1.6 and debloated with Rootless Pixel Launcher. Things seem nice and fast. Thanks for the assistance.:good::good:
[LG G6 Guides, News, & Discussion] tntnt:
I'm having a issue unlocking my H870.

Always get an error "Wrong Bootloader Unlock key" in the unlocking procedure on adb/fastboot.

I emailed LG Developer and sent all the info, including the bin file. Their response:

We have checked the information of the screenshots and the unlock.bin file, but did not find any problems.

The unlock.bin file has properly been created; it matches the given information below.

It seems that this problem should be checked with the physical device.

Well, does anyone have any clue?
[LG G6 Guides, News, & Discussion] bringy:
Im having trouble unlocking the bootloader for my us997. When i enter all the info (double checked) and hit confirm i get the message "Unfortunately, your device( )does not support unlocking the bootloader".

Im 99% sure i don't have a us mobile variant. I found from another thread a reply saying to check imei24 . com and "If under model it says US997Z it's US Cellular LG G6." myn was just us997. Also i checked the the us mobile site to see if i can use my phone on there network and they said it would not work at all.

I emailed lg with all this information and hopefully they get back to me.

any help would be greatly appreciated

edit- just saw on the imei24 . com under "network and country" it says "BRIGHTPOINT" guess im screwed :(
[LG G6 Guides, News, & Discussion] jayinc11:
I checked mine before buying, it was a BRIGHTPOINT. Thought that was ok since it didn't have amazon, us cell. versions. Just now learned about this BRIGHTPOINT mess.

Please update your post if you come across helpful info. But I have to get ready to return mine and keep looking.
[LG G6 Guides, News, & Discussion] rmedure:
BHphoto has them on sale for $369 right now
[LG G6 Guides, News, & Discussion] RashaMatt:
Can you tell us what variant of USA997 your wife's phone is?

A lot of us are trying to figure out which variant is the "officially unlockable" one.

You can find out by entering the phone's IMEI here: http://imei24.com
[LG G6 Guides, News, & Discussion] bringy:
If you want to unlock your phone's bootloader it has say "ABC USA" to the right of Network and country. (on imei24.com)

Other models will display something like "ABC BRIGHTPOINT" or "ABC US cellular"

Also a side not if your trying to buy a used one of ebay they are mostly US cellular versions.

I messaged a bunch of sellers who didn't say the carrier with this message

"Hey before i purchase this phone can you give me the IMEI to the device to check the original carrier that it was bought from.

"If you dont want to give me the imei you can do the check by going to https://imei24.com entering the imei number and to the right of "network and country" is the carrier"

I managed the get a near mint one with a ****ty case + screen protector for $191 last month
[LG G6 Guides, News, & Discussion] Sobek5150:
I can help you with this. I purchased mine in October of 2017 from B&H Photo. Mine is the version that allows unlocking.

On the website it was listed as US997. Doing the IMEI checker the official Model/Variant is listed as LGUS997. That is is - no extra characters or letters.

It's listed Network is ABC USA. Hope that helps.
[LG G6 Guides, News, & Discussion] dwasifar:
Same here. LGUS997, ABC USA.

---------- Post added at 03:49 PM ---------- Previous post was at 03:48 PM ----------

Don't knock that ****ty case; it's probably why the phone is near mint. :)
[LG G6 Guides, News, & Discussion] iannisb:
What is wrong with supersu? i unlocked the bootloader flashed twrp 3.1.1 and everytime i check the supersu app it needs to update the binary.normal or twrp/cmw . whatever i choose it fails
[LG G6 Guides, News, & Discussion] sosic2121:
I too have this same problem. Have you solved the issue?

Tnx
[LG G6 Guides, News, & Discussion] Icehinn:
Unfortunately, no. I am also having problems with my charging port such as never quick charge and only working on one side of the cable (weird on a usb C I assume) so I am going to try and use the warranty to get it fixed and try again then. Good luck!
[LG G6 Guides, News, & Discussion] fletcher969:
This is directed towards anyone who can help, but I have the same issue, and nothing, including using the Melina TWRP or factory resets with new security settings satisfies TWRP's decryption password. Like you, I have a US997 with the 21a firmware, bootloader unlocked. That said, I've read via several sources that one can simply wipe and/or format the data partition, remount system and data, flash Magisk, and reboot; however, your sub-thread seems to suggests it's not or may not be that simple. You mention the Marshall kernel, flashing no-verity, removing the recovery file, etc. Simply, would you or somebody tell me if the follwing (with or without optional steps) will get rid of the decrypt password prompt:

Flash TWRP

Boot into recovery/TWRP

Skip decrypt password prompt

Select system partition RO or RW (which one?)

Format data partition (which format?)

Mount system and data partitions

[Optional?] Flash Marshall kernel

[Optional?] Flash no-verity file

Flash Magisk

Wipe cache and Dalvik

Reboot to system

And I'm curious about the following:

Is the Marchall Kernel v1.6 mentioned in the above sub-thread somehow necessary for the decrypt password workaround, or can I stick with the stock kernel?

Since I'm on Oreo, is the Melina TWRP necessary, or is there some advantage using it versus the one mentioned in the OP instructions?

Do I want to leave the system RO or make it RW (assuming no plans for custom ROMs, will use Magisk/root, and would like to keep SafetyNet checks in place if that's possible)? Obviously if I have to flash the Marshall kernel, I'll need it to be RW.

I've seen different data partition formats suggested elsewhere (ex. f2fs, ext4), but which format should I choose (i.e. which is better/best)?

Is the data partition wipe/format necessary if I apply the no-verity file first or at some point?

Thanks.
[LG G6 Guides, News, & Discussion] Sobek5150:
Okay here's a quick link to my order - I posted it in the TWRP thread for our device here ---> Flash Order

Not necessary. A lot of times third party kernels like this one will have code put into them to remove the encryption - this kernel MAY have that, but to be safe after I flashed it (see above order in my link) I still flashed the "no-verity-opt-encrypt-4.1.zip" to ensure encryption didn't re-establish itself on boot

I'd use the 3.2.3 by Eliminator. Just overall more robust and has some old bugs fixed.

Not sure overall on this - I believe that only comes up when you're first getting past encryption. I've been rooted on stock oreo now 21a and don't get that message anymore on boot into TWRP.

The formatting of the data is a button. Once into the main menu of TWRP, go to the "WIPE" section, bottom right is a "Format Data" button. Use that.

Yes - because after you get TWRP to stick as the new recovery - to actually backup the phone in TWRP you need the data partition wiped. Best way to do all this is start with a fresh clean installed stock rom with nothing saved, so you don't have to worry about saving your data. If you do have stuff saved on internal storage, etc.. I recommend moving it to your computer to have a copy before formatting the data in TWRP. Technically you wouldn't have to format the data if you didn't want to, but you'll never be able to access it or back it up in twrp. This is all because developers for our device weren't able to "crack" the encryption/decryption methods by LG to incorporate them into TWRP. If they had, this whole formatting thing wouldn't be necessary. You could just use a password to unlock the encryption and backup. Sadly that doesn't work.

Hope this has been helpful!!
[LG G6 Guides, News, & Discussion] fletcher969:
Very helpful, thanks. Yeah, I was certain there was no way to avoid formatting the data partition. I just wasn't sure about potential gotchas and steps as I'd observed from others. Then again, my mind was becoming saturated with info from myriad sources...more questions than answers.

I discovered earlier today that the Melina TWRP was superceded by Eliminator74's version. Your and others' posts therein really helped add some clarity to the whole decryption issue. I wrote down your steps as a checklist; however, I didn't see where you mentioned mounting the system and data partitions before rebooting after the data format (or before rebooting to system), so am I to assume that's not necessary?

Regarding the data format, I'll not be asked which format to use, correct? If so, which one is preferred?

Now, if for whatever reason I am asked about system partition RO or RW, is there a better choice?

Thanks again!
[LG G6 Guides, News, & Discussion] Sobek5150:
No the format won't ask you for a certain type. It should just format it in the file format that is appropriate for Android. Good point about the system though I don't remember if it needs to be read-only or read write. I believe when I first installed TWRP I had to after formatting data Mount the system partition to see the recovery file that I need to delete to make sure TWRP stayed in place. Again I don't think it actually matters with the read-only versus read write at the beginning because once you format data that option I don't believe comes back up. I could be wrong and maybe someone else can jump in here but I don't remember specifically.
[LG G6 Guides, News, & Discussion] fletcher969:
Weird issue. Oreo, stock 21c, US997, unlocked bootloader. Flashed Eliminator74 3.2.3 TWRP, installed Magisk 18.0 from TWRP, applied dm-verity, rebooted directly back to TWRP, then rebooted to system. Installed Magisk Manager and verified root. Shut down, then booted to recovery with Pwr+VolDn, and it went into the stock (factory reset) recovery instead of TWRP. Any attempt to boot to recovery afterwards resulted in the stock recovery Decided to re-flash TWRP, reinstalled Magisk and dm-verity, rebooted to TWRP, then rebooted to system. Rebooted to recovery (Pwr off, then Pwr+VolDn), and once again, I was in the stock recovery. Apparently, my TWRP doesn't stick after I've installed Magisk and applied the dm-verity if afterwards I reboot to the system/OS, and/or attempt to reboot to recovery via Pwr+VolDn; however, it will reboot directly to TWRP if I do so from TWRP.

Update: TWRP still isn't sticking. Not sure why. Currently on stock recovery with Magisk verifying root. I guess worst case I could always re-flash TWRP anytime I need it, but I'd rather not.

Edited for clarity, and to remove an erroneous statement.
[LG G6 Guides, News, & Discussion] fletcher969:
Ok, per my last message above, my TWRP won't stick. Subsequently, I keep drifting back to the OP instructions wherein it mentions deleting recovery-from-boot.p from /system (the only 1 of the 3 options I didn't select to make TWRP stick). I haven't found anything regarding this non-stick issue with the LG G6 specifically where a solution was presented, but I did manage to find several threads which discuss the purpose of recovery-from-boot.p. If I'm reading it correctly, its purpose is to reinstall the stock recovery if a new recovery is flashed in place...unless root is established before it can do its magic. I've established root via Magisk after flashing TWRP (several times, actually), but my stock recovery keeps coming back, so I'm guessing my recovery-from-boot.p is somehow ignoring the usual rules, and forcing the stock recovery at whatever time I've booted to system and/or attempted a cold boot.

So, before I proceed, and because I'm not comfortable deleting a boot-related file from /system, am I correctly assuming I should do the following to use my final option:

Re-flash TWRP in fastboot

Reboot to TWRP

Reinstall Magisk (or is it necessary since it's already installed and root has been established?

Reboot back to TWRP, then delete recovery-from-boot.p

Reboot into TWRP, then reboot to system

Is there an easier way, or would it be more prudent to start a dedicated thread?

Thanks.
[LG G6 Guides, News, & Discussion] Sobek5150:
Don't worry about deleting that boot file. I had to do that as well to keep my TWRP from disappearing. So just like using that verity zip to keep encryption from re-establishing on boot, deleting that recovery file in system is necessary to keep TWRP. If you do not, then your stock system will keep using it to re-establish the stock recovery on boot.

So - after installing TWRP you need to go into the "Mount" option > mount "System" > go into "Advanced" > "File Manager" > Navigate to System and delete that file. (this order may not be exact as it's been a month or two since I messed with this last)

I recommend going to the OP in this Thread and reading about where that file is located to ensure you're not looking forever. Once you have that file deleted you should see that TWRP stays in place.
[LG G6 Guides, News, & Discussion] lingarajug:
As there was no way to bl unlock h871 i used lgup to convert it to h873 canadian version and then us997 version with 21c firmware and succesfully boots and works with att and t mobile with volte and wifi calling wirking out of the box, adb also works fine but when i reboot to fastboot from adb it boots fine to fastboot screen and i hear a noise in PC that its connected to PC but fastboot devices returna nothing and no fastboot commands work although its clearly in fastboot mode, in lgup tool i had to select partition dl in order to convert phone and i dont know if it has done any damage to partitions but partition style might have changed from att to us997 is there is any but all dunctions work fine although phone is little sluggish, any ideas appreciated. I have already switched to mate 20 pro and have no use for g6 so i could careless if its damaged.
[LG G6 Guides, News, & Discussion] cagibi:
Hello,

Do we have news about unlocking the Asian version of the G6 +?

Thank you
[LG G6 Guides, News, & Discussion] Spaceboy60:
adb reboot bootloader

* daemon not running. starting it now on port 5037 *

ADB server didn't ACK

* failed to start daemon *

error: cannot connect to daemon: No error

Windows 10
[LG G6 Guides, News, & Discussion] Spaceboy60:
ok, after installing magisk via TWRP I loaded magisk manager and updated to 18.0. It asked me if I wanted to reboot but upon reboot I'm stuck in fastboot mode,. Fastboot reboot just takes me back to fastboot mode.

I can boot twrp but once again if I select reboot to system it goes to fastboot mode.

Any idea?
[LG G6 Guides, News, & Discussion] Spaceboy60:
When i run opt-verity zip it completes but says it can't find fstab twice during installation.

And if I boot to custom ROM, the next time I go to twrp /data is unmountable and inaccessible.

And yes I've formatted /data many times

Ideas?
[LG G6 Guides, News, & Discussion] traceless:
Hi everyone! s/o for this thread!

I successfully unlocked the bootloader, booted into the fastboot and performed flashing the latest TWRP recovery for my phone. Afterwards, I reboot the phone (tried nearly everything like disconnecting USB before, performed "fastboot reboot" or simply shutting down with the power button) and use the combo to get to the factory reset screen. After yes and yes I see the starting screen of TWRP, but after about five seconds the screen goes black and the phone continues with normal boot.

I appreciate any help!

Edit: I tried with the latest two versions of TWRP. However, with 3.1.1 it worked...
[LG G6 Guides, News, & Discussion] LLoTE:
When you flash the twrp and type fastboot reboot select enter to execute the command and start holding the recovery combination on your phone that should work
[LG G6 Guides, News, & Discussion] 9bestenbier:
Hi everyone. So I have the H870, but I'm from South Africa. Will I be able to unlock my bootloader if I flash the EU KDZ to my device and then try that way?
[LG G6 Guides, News, & Discussion] LLoTE:
For some reason fastboot doesn't think there's a device connected no commands work it just says waiting for device
[LG G6 Guides, News, & Discussion] LLoTE:
I fixed it it was just a really deep driver issue