yashsingh1/xdaforums huggingface dataset:
[LG G6 Guides, News, & Discussion] ilmervanhattem:
My case is I (actually my sister bought it) have got an locked (You have to login with the Google-account from the previous owner, but the precious owner it not replying to her phonecalls/e-mails) G6 from a country not in Europe so to get unlock.bin from LG-website is not an option(?). Maybe the refurbish-mode on LGUP/Uppercut will work, but I couldn't find any image which support this function (LGUP error refurnish-mode is not supported). Anyone?
[LG G6 Guides, News, & Discussion] swpointer:
Check this link...

https://xdaforums.com/lg-g6/help/unlocked-lg-g6-us997-wont-activate-t3608836

---------- Post added at 12:39 AM ---------- Previous post was at 12:18 AM ----------

A quick google search showed several videos and other site links.
[LG G6 Guides, News, & Discussion] ilmervanhattem:
I guess I tried them all, so:

My case is I (actually my sister bought it) have got an locked (You have to login with the Google-account from the previous owner, but the precious owner it not replying to her phonecalls/e-mails) G6 from a country not in Europe so to get unlock.bin from LG-website is not an option(?). Maybe the refurbish-mode on LGUP/Uppercut will work, but I couldn't find any image which support this function (LGUP error refurnish-mode is not supported). Anyone?
[LG G6 Guides, News, & Discussion] EmilioDallaTorre:
No way to unofficially unlock and avoid to void warranty?
[LG G6 Guides, News, & Discussion] siggey:
No
[LG G6 Guides, News, & Discussion] EmilioDallaTorre:
I'm sorry to bother, but I'm new in the thread.

So: if I relock the bootloader, I can legally make use of the warranty, in Europe?

I ask it because with ASUS, for my Zenfone, was quite different...
[LG G6 Guides, News, & Discussion] nchc:
Pretty sure [MENTION=482618]Josh1[/MENTION]X was able to get his G6 repaired despite the phone having an unlocked bootloader. You can relock bootloader but LG would have a record that it was unlocked anyway due to phones IMEI.
[LG G6 Guides, News, & Discussion] terirem:
How much you guys waited for that unlock.bin to be emailed to you?
[LG G6 Guides, News, & Discussion] swpointer:
About 10 seconds
[LG G6 Guides, News, & Discussion] terirem:
Thanks. It has been several hours since I have requested the file, I'll try again with another email.
[LG G6 Guides, News, & Discussion] swpointer:
Check your junk mail. Thats where mine went.
[LG G6 Guides, News, & Discussion] terirem:
Nothing so far. I'll try with another email address.

Edit: New account and email arrived. Proceeding with the unlock. :)

---------- Post added at 22:52 ---------- Previous post was at 21:53 ----------

I have a problem mounting /system, TWRP reports "device or resource busy". I can mount it read-only though. Any thoughts? I don't want to restart into system, I'll lose twrp.

Edit: Nevermind, found the solution here.
[LG G6 Guides, News, & Discussion] ed2975:
Any of you lads gotten wind of this?:

https://xdaforums.com/showpost.php?p=76027813&postcount=616

Seems like a breakthrough for unlocking lg bootloaders for all variants might be imminent. Would certainly be a huge advantage for the H870DS that we have oodles of in Australia.
[LG G6 Guides, News, & Discussion] rogerssnpy:
Only 2 phones can be unlocked! The H870 and the LGUS977 USA variant NOT the US Cellular which holds the same US977
[LG G6 Guides, News, & Discussion] resutatto:
Guys, I have a problem. Just got the G6, unlocked bootloader, but physical buttons are unresponsive until I boot into system, therefore I cant leave fastboot after flashing TWRP. I can rebbot phone via command, but that doesn't allow me to boot into recovery...
[LG G6 Guides, News, & Discussion] Ken C:
Curious are you attempting this by any chance?

https://xdaforums.com/showthread.php?t=3775518
[LG G6 Guides, News, & Discussion] resutatto:
No, just classic way. Besides I have H870 an this works only for H872 if i see correctly.
[LG G6 Guides, News, & Discussion] Ken C:
Ya just figured I'd ask. When I unlocked the phone ran fine. But I hadn't gotten to twrp yet so there's that variable also
[LG G6 Guides, News, & Discussion] madhavajay:
Any chance anyone knows much about BootStomp?

Is it safe to run?

https://www.kitploit.com/2017/12/bo...m_campaign=Feed:+PentestTools+(PenTest+Tools)

I am interested in assisting finding an exploit for unlocking the bootloader of the non EU / US devices.
[LG G6 Guides, News, & Discussion] siggey:
From what I read bootstomp works on a extracted bootloader on linux, so nothing can happen to your phone.
[LG G6 Guides, News, & Discussion] DROID_4_UsEr:
Anyone willing to send me a download link to their unlock.bin file? I have Software version H87315c. Do the unlock.bin files vary from other LG G6 devices? My device used sprint LS993 firmware on it so the fastboot was stripped in that version. I flash a Canadian version and i have access to the bootloader commands through fastboot. I used my devices ID and used H870 from lg bootloader unlock site but it says that i cant use my LG-LS993. My phone supports it but the information my phone is giving to LG website says otherwise. Please can someone be kind enough to send me the Unlock.bin so i can flash it. :( I cannot live with a locked bootloader :'(
[LG G6 Guides, News, & Discussion] nima0003:
It's device specific
[LG G6 Guides, News, & Discussion] divyansh772:
The bin file differs from device to device so u cannot use some other bin file to unlock your boot loder . sry
[LG G6 Guides, News, & Discussion] jimbomodder:
It's needs both device ID and IMEI number to work, each bin file is made for 1 device only.
[LG G6 Guides, News, & Discussion] DROID_4_UsEr:
Yeah I just realized that ? Some dude was saying in a forum that I can flash a T-Mobile kdz of my device and the fastboot will be easy to unlock with just fastboot oem unlock command. I don't want to try this though im fine with waiting for another phone
[LG G6 Guides, News, & Discussion] GrubyHulek:
Hello everyone, I've already successfully unlocked the phone using this guide, I installed RR rom, everything was great. one day I decided to return to the original software for a moment, and from that moment I can not unlock the device again. In the developer options, I have the option to 'unlock oem' screen in the attachment as if it were blocked off. I count on your help and thanks in advance.

https://zapodaj.net/images/8defbd3dd678c.png
[LG G6 Guides, News, & Discussion] jimbomodder:
If you already have it unlocked then doesn't matter as only you can relock the bootloader via adb( not advisable unless flashed official KDZ)
[LG G6 Guides, News, & Discussion] rmedure:
Howdy folks. ADB works fine, but as soon as the device reboots into the bootloader, the phone disconnects from the computer (in windows 7, hear the device disconnect sound and device vanishes from device manager) ... and no new device appears. Command 'fastboot devices' returns nothing. And command 'fastboot oem device-id' returns '< waiting for any device >'. Yes, usb debugging is on. I've tried changing usb mode from charging to file transfer prior to issuing adb command. I've installed the LG usb drivers. I've also tried manually updating the android device driver to the google usb driver 'Android ADB Interface' from Android SDK Manager. Any advice would be greatly appreciated.

Cheers!
[LG G6 Guides, News, & Discussion] christopherrrg:
Your fastboot drivers didn't install properly. Reinstall.

Sorry, not to sound blunt. But that is currently your problem. I myself always google 'Minimal ADB and Fastboot' and you'll find a thread with an extensive guide albeit easier. :)
[LG G6 Guides, News, & Discussion] nchc:
Had it saved

https://xdaforums.com/showthread.php?t=2588979

Also, please stop asking developer on LAF forum questions that have been answered by him and me in this thread. We just need to wait.
[LG G6 Guides, News, & Discussion] christopherrrg:
Me? I just asked because I see people cross flashing over on V30 and was considering risking my device to see if essentially the same thing could be done with H873 / H870DS, I wanted to start attempting things on my own as well.
[LG G6 Guides, News, & Discussion] nchc:
Geez, your game. I'm broke so I'm not going to risk it, despite not liking my G6.

I don't know if I don't like my H870DS in general or because I cannot unlock it and make it my own.
[LG G6 Guides, News, & Discussion] christopherrrg:
They've made great discovery with the new oreo kdz.

I believe we may be able to pull off the same thing HOWEVER and this is a BIG however. We do NOT have an unlocked model factory oreo kdz YET and I'm a little worried LG is watching the V30 unlocking right now. All we have are the Canadian and Korean kdz (so far) which are LOCKED down with no actual fastboot commands. On the unlocked version (us or eu) with a new android version it is believed the bootloader gets updated and the unlock.bin can be spoofed where it says fail but getvar all returns an unlocked bootloader. So with our devices and this is purely unofficial and only speculation I had wanted to attempt some things tonight but without an unlocked oreo kdz I'm afraid to touch it. I don't have the knowledge enough to flash other devices (V30) stuff like bigger developers. But basically the TLDR version is : Flash H873 with H870 or US997 oreo kdz, reboot into bootloader, run getvar all, flash spoofed unlock.bin, it will succeed in sending; fail in 2nd part size check, reboot bootloader, run getvar all and it should say bootloader unlock: yes then you would install twrp and whatever. And this is assuming flashing an unlocked version overtop of my Canadian version doesn't brick me. (No idea yet)

Purely speculation but if my phone goes poof I'll pick up another and surely this leads to more questions like if you flashed the Canadian KDZ would the unlock stick?

This is a lot of word vomit but the G6 threads aren't booming like V20 V30 and G5 so I just wanted to get this out of my head somewhere it would make sense lol :silly:

Also if my PM to you worked you should check out the post. He did the DS version just as easy.
[LG G6 Guides, News, & Discussion] rmedure:
Fastboot drivers

I figured this out ... hopefully will help others. Of course I had uninstalled/reinstalled the drivers multiple times - as well as minimal ADB. The behavior of ADB works fine, but then no reconnect after reboot into bootloader seemed to be very random; it would only connect about 1 out of every 20+ attempts. On a hunch, I tried disconnecting the USB cable IMMEDIATELY after reboot bootloader command is sent ... then wait a few seconds, then reconnect the USB cable. This results in a successful connection for fastboot every time. So it seems to be a bit of a timing issue with the phone reconnecting while windows is still disconnecting or deactivating the ADB connection.

Cheers!

---------- Post added at 05:11 PM ---------- Previous post was at 04:40 PM ----------

A couple of new questions that I hope somebody here will know the answer.

1. I tested out FlashFire on this device to make a backup, and it seems to have worked. I don't know if restore will work. Does anybody know if running FlashFire in any way can screw up the TWRP flash?

2. If you flash TWRP, then SuperSU - the TWRP should "stick". Because of number 1 above, I re-flashed TWRP ... just in case. If you follow up later with re-flash TWRP ... does it stay "stuck"? Or do you have to reinstall SuperSU to get it to do whatever is wanted/needed to get TWRP to remain persistent?

Thanks in advance!
[LG G6 Guides, News, & Discussion] RLCircuit:
Hello!

I assume you've tried already but I have read there was no success in trying. I would try myself but I have no room to recover, were my phone to brick itself.

I own an H872PR and I've read that it's basically a rebranded H872, yet I'm still afraid to flash any H872 kdz files to it, in fear of bricking. If I were to find out if it's doable, I'd probably just flash the last confirmed rootable version of the TMO firmware and be done with it.

Given that there has been 0 support for this phone since August of last year, I doubt Oreo or any security patches will arrive... :eek:
[LG G6 Guides, News, & Discussion] christopherrrg:
In your case I'm very unsure what to do. H872 does sound like T mobile but PR stand for Puerto Rico? There's a hacky method that is called LAFsploit that may be more for you. However as for the new bootloader exploit I don't believe T mobile is able to do it yet. As V30 users reported bricks.

I would assume H872 roms would be fine but again maybe another PR user can speak up. I myself have the H873 so anything I get done is on the Canadian model. Sadly T mobile phones have their own fastboot methods that aren't like the regular carrier versions so I'd assume until unlocked you may brick by cross flashing.
[LG G6 Guides, News, & Discussion] RLCircuit:
Yep, it's a puerto rican model.

There are very few people who own this model so it's hard to find other users who've tested these methods out. I've thought about using the lafsploit thing but my fear of bricking has kept me from doing so :p
[LG G6 Guides, News, & Discussion] christopherrrg:
I totally understand, check your fastboot. Does it let you unlock with fastboot oem unlock? Or do you have to input your info on LG dev website?
[LG G6 Guides, News, & Discussion] RLCircuit:
I do have the option to select OEM unlock on dev settings, haven't tried anything else after that.
[LG G6 Guides, News, & Discussion] hypertetrahedron:
I am having issues with the instructions provided.

I use 'adb reboot-bootloader' to reboot the phone which works without issue but the 'fastboot oem device-id' command returns the error 'FAILED (remote: unknown command) Finished. Total time: 0.003s'.

fastboot does see the G6 though, the command 'fastboot devices' returns 'LGH87296f2ffde fastboot'

I have adb version 1.0.40 installed along with the LG Mobile Driver 4.2.0

The phone is a newly purchased US T-Mobile G6 32GB.

Any ideas on what I am doing wrong?
[LG G6 Guides, News, & Discussion] siggey:
Your variant is locked. There is a workaround but no official LG bootloader unlock. Google it.
[LG G6 Guides, News, & Discussion] glenncvance:
before I do something dumb and install the wrong TWRP

Hi all - I have the US997, already unlocked it, but want to install TWRP and root it. As far as I can tell, there is NO OFFICIAL TWRP for the US997. The OP says -

Can US997 use this version of TWRP? Just being paranoid, would hate to make an $$$ mistake. Thanks.
[LG G6 Guides, News, & Discussion] Tool Belt:
Use the Melina TWRP following all the instructions in its thread and this thread.
[LG G6 Guides, News, & Discussion] glenncvance:
Okay, used Melina, but the only way out is 'fastboot reboot', which I'm wondering is causing my problem, because as soon as I do that it takes me to the warning screen saying my phone is unlocked. When I finally get to a recovery it is the stock one, with 'do you want to factory reset this device?'

Any thoughts? As far as I can tell adb worked on installing TWRP, but stock is overriding it

PS C:\adb> adb reboot bootloader
PS C:\adb> fastboot flash recovery MELINA-TWRP.img
target reported max download size of 536870912 bytes
sending 'recovery' (24768 KB)...
OKAY [ 1.338s]
writing 'recovery'...
OKAY [ 0.210s]
finished. total time: 1.550s
[LG G6 Guides, News, & Discussion] Anarchist77:
Don't reboot through adb. Disconnect your phone from PC/laptop and only reboot using the button combo... Hold power and volume down buttons continuously until you see the LG logo, then release the power button for only a second or 2.. and then press and hold power button down again (All the time keeping volume down button pressed).
[LG G6 Guides, News, & Discussion] glenncvance:
Thanks Anarchist77, but it didn't work. I don't know if it's something to do with updating to oreo or what. I even used the recovery_melina-TWRP_v3.2.1_18-06-08_zefie_LGUS997_rel_o2.zip version from the Melina TWRP thread.

Tried it twice tonight, both times power/volume down took me to the factory reset screen.

Maybe TWRP will release an official version of TWRP for US997. Seems stupid that we can unlock this phone and not do much else with it. Love the phone, but wanted to root it for ad blocking. Oh well.
[LG G6 Guides, News, & Discussion] Tool Belt:
The factory reset screen is what you want. Enter yes when asked and as long as you flashed TWRP it will boot to TWRP. Doing power/volume down does not directly boot to TWRP. You have to go through the "reset" menu.
[LG G6 Guides, News, & Discussion] glenncvance:
Holy moly, it worked! Thanks everybody! This is why I love XDA! :)
[LG G6 Guides, News, & Discussion] Anarchist77:
Yup, I guess I wrongly assumed that part was common knowledge. At least it was achieved in the end [emoji3]
[LG G6 Guides, News, & Discussion] dagoban:
Here I was, thinking my EU H870 can be unlocked, but nope:

Unfortunately, your device (Germany, (Europe Common) ) does not support unlocking the bootloader.

Thats the 1st EU android phone I own that cant be unlocked.

Any workarounds available?
[LG G6 Guides, News, & Discussion] HEL_ADO:
the latinoamerican version is the same as EU, but i recive the same message

welp, at least I try.
[LG G6 Guides, News, & Discussion] usr20180708:
US997.*

There are different versions of the US997.

For example, on Amazon Prime they list this:

Item model number LGUS997.AAMZBKR

I have seen this on eBay:

MPN LGUS997.AUSABK

While those are technically US997 models, I am trying to verify if the bootloader unlock will still work on these devices.

Anyone have any ideas or experience with these?

TIA
[LG G6 Guides, News, & Discussion] kbuss:
sorry for the "noob" question, but its not stated definately in the faq.

Is it possible to un-root and re-lock the bootloader, basically reset the unlock counter, if that makes sense?

So to return to absolute factory state for warranty purposes.

thx :highfive:
[LG G6 Guides, News, & Discussion] dwasifar:
My wife's US997 G6 (bootloader-unlocked, rooted) suffered a camera failure. I opened a warranty case with LG and received a free return shipping label, but I also had to sign a paper (actual printed paper) saying I understood that if the phone was out of warranty I would have to pay for repairs, or for diagnosis if I didn't approve repair. Before sending it in, I flashed a complete stock .kdz with LGUP (which required me to dig out a Windows laptop :rolleyes:), and then locked the bootloader.

LG fixed the phone under warranty with no argument. They turned it around pretty fast, too. It was less than 24 hours between when they received it and when they shipped it back out.

---------- Post added at 10:52 PM ---------- Previous post was at 10:47 PM ----------

Mostly yes. See my post above.

I don't know that it resets the counter, but in my case LG honored the warranty.

Unlocking is a risk, though. The phone might fail in such a way that you can't relock it before sending it in. (Screen failure, for instance.)
[LG G6 Guides, News, & Discussion] kbuss:
yes man, thanks :) now I searched the threads and see that with this phone things are kinda uncertain, and not yet researched well. i think the developer base here is a bit small but we just have to accept the fact.

it was just weird bcos i come from an older samsung flagship and there were a LOT of info and step by step tutorials about these things, basically if you read, you never could fuk up.
[LG G6 Guides, News, & Discussion] dwasifar:
Yeah, I was hoping for a more robust developer community too. I came in from a Nexus 5, which had a huge developer base. But there are so many G6 models, and so few of them are unlockable. I think it discourages development.

All the information needed to unlock/root/flash/relock IS here, it just needs more searching out than you're probably used to.
[LG G6 Guides, News, & Discussion] ovu85:
Hi, just unlocked bootloader tried to flash 3.2.2 TWRP and when tried to boot into recovery just showed me the twrp screen and rebooted.

Tried to flash previous version of TWRP and result was the same.

What am i doing wrong?

I want to get rid of ads and have a decent custom rom!

EDIT

I've managed to install TWRP 3.1.1 but i can't pass security pin though the phone was reseted.

Any idea how i can reset that security in recovery?

i've already tried "fastboot erase userdata"
[LG G6 Guides, News, & Discussion] ovu85:
After hundreds or reboots and no results to decrypt my partition, i've rebooted into recovery (stock) because TWRP wouldn't stick, made the wipe data, get back to fastboot, relocked the bootloader (fastboot oem lock), rebooted to system, after that unlocked the bootloader, restarted and let it do the process, got it to fastboot mode flashed TWRP(older version), asked again for password and hit CANCEL, Wipe>wipe data>format >YES, after that rebooted to recovery flashed Magisk .

At final gave me a error but root was installed fine.

This is why i had doubts when buying LG.

Nexus, samsung phones are not that complicated!
[LG G6 Guides, News, & Discussion] Athebest:
Anyone else struggling to unlock their bootloader after the new Oreo update, Every time I get into the stock bootloader, It disconnects from my PC and it the ADB commands don't work any more as it's not detected any more.
[LG G6 Guides, News, & Discussion] DeeeFoo:
For some reason, I keep getting the error message "IMEI is unmatched. Your account will be locked if you enter in the wrong IMEI more than X times."

I have confirmed with LG that my model is the US997 USA unlocked model. I've also heard that a replaced motherboard is a common cause of mismatched IMEI, so I also confirmed with LG, who checked my IMEI, that my specific unit has no history of service or repair.

It can't be the device ID either, since that's straight-up copied and pasted from the command prompt.

What else could possibly be causing this issue?
[LG G6 Guides, News, & Discussion] AsItLies:
I just got an Amazon version and no, they don't have official support (from LG) to be unlocked.

But 2 things that still give a little hope; 1) a Reddit thread had quite a few people indicate their Moto G5 (think it was), which was also Amazon version, they started getting unlock codes. Many people tried it and it worked. So, it seems that after some time, they *might* give out unlock codes for the Ama models.

2) Another thread talks about a 'laf' partition exploitation, that *might* work for other LG models.

I for one went with the Oreo update and then 'de-bloated'. The device is doing very well, much snappier, battery life is good, really no complaints. I'd like to be able to unlock the bootloader, but it's not really killing me at this time that I can't.
[LG G6 Guides, News, & Discussion] stephanyoussef@gmail.com:
G6

hello xda developers i want ask if there a way what so ever yi unlock bootloader and root LG G6 Sprint?
[LG G6 Guides, News, & Discussion] Icehinn:
Unable to follow the steps.

Hello good fellas. After several tries I just cannot find anything else that I am doing wrong. Seems like my phone is not detected in fastboot mode after a lot of time waiting . Oddly enough, it is detected in adb mode and regular media transfer mode.

As you will see in my screenshots, I have unlocked OEM and USB debugging, as well as reinstalled the LG drivers a good 5 times. Also I have tried that All in One Tool and it detects the device saying "ADB ready" and my phone's model , but stops doing so after I command "reboot Bootloader".

I just want to unlock my bootloader man. Any help or glimpse of what might be happening will be greatly appreciated, thank you very much.

Screenshots: ht tps:/ /im gur.com /a/z Nb IjHj

PSA: Just delete the spaces, or it would not let me post it
[LG G6 Guides, News, & Discussion] rmedure:
See if this helps ... :)

https://xdaforums.com/showpost.php?p=76583340&postcount=463
[LG G6 Guides, News, & Discussion] Icehinn:
No luck with this one. Tried it disconnecting it and plugging back in, but does not seem to work :(

Thank you for the information anyways, I appreciate it.

EDIT: I am also noticing, that Windows does make that "ninoni" sound when something is plugged in, when I connect the cable. It is so weird...