Official LG G5 H850 Bootloader Unlock

Search This thread

cancunia

Senior Member
Dec 21, 2013
100
12
It is normal that the warning message with "bootloader unlock" shows. No nneed to be scared. It happens when you unlocked the bootloader. You could find a flashable zip that contains the stock android version.

Magisk is available for all devices. You can find anywhere. The latest version is 18.0 (december 2018)

The problem was that SuperSU caused the boot to stop at the LG logo
 

fosunite

Senior Member
Dec 26, 2010
187
36
LG G5
Sony Xperia XZs
The problem was that SuperSU caused the boot to stop at the LG logo
I ve seen that before. But with an other device.

I ve tried unlocking bootloader and then flash twrp. Then flashed magisk and after that it did got stuck at the logo while android is booting.

Perhaps this may be your case, if you see that you got stuck at the LG logo being animated instead of seeing the LG logo with "powered by android" then you may have to do a factory reset by wiping data. You will lose apps and appdata and settings.

If you got stuck at the inanimated LG logo with powered by android, then you have no system that boots android and so you have to flash a rom to get it work.
 

cancunia

Senior Member
Dec 21, 2013
100
12
The problem was that SuperSU caused the boot to stop at the LG logo

I've got around my original problem by using a slightly later version of SuperSU (SuperSU-v2.82-SR5-20171001224502), but then the phone kept looping back into TWRP recovery. In the end I typed 'yes' into the initial TWRP screen which I think removes the encryption. I now have a rooted & working Oreo G5, many thanks to the OP.

One further question, is it possible to get rid of the boot warning splash screen about the bootloader being unlocked?
I did look in this thread but can't see any conclusive answers.
 

.ad777

New member
Feb 7, 2019
3
1
Hello

Does this procedure work with oreo?

However my phone is branded with tim. I don't know if anything changes

Instead of EUR I have 222--------->Version SW= V30c-222-01
 
  • Like
Reactions: Nikiskior

rblg5

New member
Mar 20, 2019
1
0
I just can't seem to get step 9 to work. Flashing twrp gives no errors (is really quick however). I pull the battery go into recovery press yes and yes then it boots again and after the warning it goes into a menu where i have to wait 5 seconds before it boots back into the bootloader
 

Nesh89

Senior Member
Sep 27, 2014
501
197
Belgrade
Ok I know this is old but I never got around to it till now, I tried to unlock bootloader from the retarded LG site, for some unknown reason that they do not explain my LG G5 H850 can not be unlock, I'm pissed, how in the world is my device the one that "can't" be unlocked, all I het is IOT_h850_marketing.EUA does not support unlocking bootloader if you enter the wrong information your account will be locked WTFFFF?????
 

AndK79

Member
Jul 16, 2019
16
1
Ok I know this is old but I never got around to it till now, I tried to unlock bootloader from the retarded LG site, for some unknown reason that they do not explain my LG G5 H850 can not be unlock, I'm pissed, how in the world is my device the one that "can't" be unlocked, all I het is IOT_h850_marketing.EUA does not support unlocking bootloader if you enter the wrong information your account will be locked WTFFFF?????
Strange but they unlocked the rs988 bpt fersion for me (officially unlocking is not supported).
 

kira349

New member
Dec 15, 2016
4
0
Hey, I am stuck after flashing twrp, my volume down key is broken so I can’t load into recovery right after flashing, if I boot into system and then reboot into recovery using adb the stock recovery is replacing. So does someone have a solution how to boot into recovery from fastboot? ‘Cuz I don’t have a chance to fix the broken key now :(
 

jofa news

Senior Member
Apr 3, 2016
82
34
Hannover
Hey, I am stuck after flashing twrp, my volume down key is broken so I can’t load into recovery right after flashing, if I boot into system and then reboot into recovery using adb the stock recovery is replacing. So does someone have a solution how to boot into recovery from fastboot? ‘Cuz I don’t have a chance to fix the broken key now :(

Just use
Code:
fastboot boot twrp-x.x.x-x-h850.img
or any other Image e.g for h830.
 

xnibis

Member
Jul 14, 2010
27
2
Szczecin
Ok I know this is old but I never got around to it till now, I tried to unlock bootloader from the retarded LG site, for some unknown reason that they do not explain my LG G5 H850 can not be unlock, I'm pissed, how in the world is my device the one that "can't" be unlocked, all I het is IOT_h850_marketing.EUA does not support unlocking bootloader if you enter the wrong information your account will be locked WTFFFF?????

Got exactly the same issue, even that the phone is exactly H850 EU - is there any way to get around this?
 

Attachments

  • LG_FAIL.png
    LG_FAIL.png
    40.3 KB · Views: 285

Mikel1092

New member
Feb 7, 2020
3
0
Hi everyone,

I have an LG G5 H850 which got stuck on Fastboot mode overnight. It can not access any other boot mode, only Fastboot.

It wasn't root nor had the bootloader unlocked. When I try to do that (fastboot flash unlock unlock.bin), I get the message "remote: oem unlock is not allowed" because OEM unlock option was not set, but I can't set it since I can only enter Fastboot mode.

Is there any other way to activate OEM unlock option?

I'll really appreciate any help I can get.

Thanks in advance.
 

andrerodr

Senior Member
Mar 11, 2010
112
15
Aveiro
-Plug the usb cable on to your pc.
-Press vol up on your phone and then plug in the type c end in to the phone.
It should enter download mode then you can install the stock .kdz via lg up, uppercut or salt there are threads on the subject.
 

Mikel1092

New member
Feb 7, 2020
3
0
-Plug the usb cable on to your pc.
-Press vol up on your phone and then plug in the type c end in to the phone.
It should enter download mode then you can install the stock .kdz via lg up, uppercut or salt there are threads on the subject.

Thanks for your answer!

I had tried that already. When I do that, the "Download Mode" icon appears for just a second and then it just goes back to Fastboot Mode. It seems it's really stuck in that mode. I even tried to enter "Factory data reset mode" (vol down + power button until LG screen appears, release power button and press it again), I have delted all data, but when leaving that mode it again goes to Fastboot mode. I'm kind of desperate at this point. I have everything prepared to free the bootloader, but since I don't have the OEM unlock option activated, I can't do anything.

For more information, when I do "fastboot reboot" it reboots to Fasboot Mode again. Every thread I've found so far with the same problematic are not really answered with a working solution.

In case it's not solvable, would it help to change the motherboard or heat, the same way when a phone is stuck in an infinite bootloop?
 
Last edited:

a.node

New member
Apr 3, 2020
1
0
OEM unlock without dev options

Eventually I'm stuck in point 6) ...
while trying to unlock the device using "fastboot flash unlock unlock.bin", i get the following error message:

target reported max download size of 536870912 bytes
sending 'unlock' (1 KB)...
OKAY [ 0.036s]
writing 'unlock'...
FAILED (remote: oem unlock is not allowed)
finished. total time: 0.059s

So apparently oem unlocking and usb debbuging is not allowed, because i never allowed it in the dev options.

My problem is that my h850 (european version) is stuck in the fastboot mode, and when trying to exit it with
"fastboot reboot" it just jumps right into fastboot again.

So i can't go into the dev options, because somehow the bootloader seams to be damaged, but i can't flash it either,
because the oem unlock is not allowed...

I'm new to the whole fastboot stuff, and new to xda developers, so if somebody has any clue or idea of what
the root of the problem is, or has a solution for the problem, i'd be more than happy!

~ A
 

ShakranTheLemon

New member
Apr 30, 2020
2
0
Eventually I'm stuck in point 6) ...
while trying to unlock the device using "fastboot flash unlock unlock.bin", i get the following error message:



So apparently oem unlocking and usb debbuging is not allowed, because i never allowed it in the dev options.

My problem is that my h850 (european version) is stuck in the fastboot mode, and when trying to exit it with
"fastboot reboot" it just jumps right into fastboot again.

So i can't go into the dev options, because somehow the bootloader seams to be damaged, but i can't flash it either,
because the oem unlock is not allowed...

I'm new to the whole fastboot stuff, and new to xda developers, so if somebody has any clue or idea of what
the root of the problem is, or has a solution for the problem, i'd be more than happy!

~ A

Ok, as of today i have the exact same issue. I put my phone onto the charging cable, then had a nap, and as i woke up my phone was in the fastboot mode.
Icant turn it off via the button on the back, so i took out the battery, inserted it again, and it came right back to the fastboot.
I tried to install the Drivers and use the fastboot reboot command, but it didnt help

so please tell me you found a solution to this problem because right now im getting as desperate as you are
 

Top Liked Posts

  • There are no posts matching your filters.
  • 75
    G9IoUgU.png
    The European H850 can now be officially unlocked through LG's developer unlock program page.
    Yes, only the European version. Your H850 is from the Middle East? Won't work. You have an AT&T G5? That's not an H850, move along.

    LG Developer Unlock Site Here

    Prerequisites:
    1. European LG G5 H850
    2. Computer w/ADB & Fastboot. ADB/Fastboot for Windows here. ADB/Fastboot for Linux/OS X here.
    3. Basic knowledge of ADB, Fastboot and Windows command prompt or Linux/OS X terminal.
    4. Device IMEI. This 15-digit code can be found on your box, the back of the phone or by dialing *#06#
    5. LG developer account (free, click here then click sign in at the top of the page to make an account.)


    Directions:
    LG's official bootloader unlock directions can be found in the big link at the top of the page..
    but I've still rewritten the steps out below while adding some for root and TWRP.

    1. Enable USB-Debugging on your phone. USB-Debugging is required for the commands “adb” and “fastboot” to work. To enable USB-Debugging, go to Settings >> About phone >> Software info and tap Build number 7 times. Return to the previous screen, select Developer options and enable USB-Debugging.

    2. Enable OEM unlock on your phone. Activating the "Enable OEM unlock" is necessary for the bootloader unlock. To enable OEM unlock, go to Settings >> Developer options and check Enable OEM unlock.

    3. Open CommandPrompt or Terminal and enter the following ADB command to reboot into the bootloader:
    Code:
    adb reboot bootloader
    If ADB is not detecting your device try switching your phone's USB mode from Charging to MTP or PTP.

    4. Once in the bootloader, use the following fastboot command to obtain Device ID:
    Code:
    fastboot oem device-id
    Fastboot command will return a string. This is the Device ID which is needed to generate your unique unlock key.
    Example :
    Code:
    $ fastboot oem device-id
    (bootloader)-----------------------------------------------------------------
    (bootloader) Device-ID
    (bootloader) CD58B679A38D6B613ED518F37A05E013
    (bootloader) F93190BD558261DBBC5584E8EF8789B1
    (bootloader)-----------------------------------------------------------------

    To generate your unlock key, you will need to paste together the 2 lines of output into one continuous string without "(bootloader)" or white spaces. In the example above, the Device ID would be:

    CD58B679A38D6B613ED518F37A05E013F93190BD558261DBBC5584E8EF8789B1

    5. Copy Device ID and IMEI into the LG developers unlock site and hit the confirm button. In a few moments the unlock.bin will be emailed to you. Download unlock.bin to computer.

    6. While the phone is still in fastboot enter the following command to unlock the bootloader:
    This will unlock your phone AND factory reset your device wiping all data!
    Code:
    fastboot flash unlock unlock.bin

    7. You can now reboot the phone and boot into your unlocked device! Enter:
    Code:
    fastboot reboot

    8. Want root or TWRP? Before moving forward I suggest getting a microSD card and putting the SuperSu 2.65 zip on there. Do not set the external SD up as adoptive storage. Download this TWRP image too.

    Reboot back into the bootloader (you'll have to first re-enable USB debugging):
    Code:
    adb reboot bootloader

    9. Flash TWRP:
    Code:
    fastboot flash recovery twrp-3.0.2-0-h850.img

    For TWRP to "stick" you must first boot directly into TWRP and not back into Android, until after flashing the SuperSU zip.
    After flashing TWRP unplug the USB cable and pull the battery. Plug battery back in then boot into recovery which should hopefully load TWRP.
    To boot into recovery:
    a. Using 2 hands.. use one hand/finger to press/hold volume down.. and use the other hand for the power button. Press n hold both buttons.
    b. As soon as you see the LG logo on the screen.. let go of the power button then quickly press it again (never letting go of volume down).
    c. Keep holding until you see the Factory Reset screen. Click thru the factory reset screens.. Yes.. Yes...

    10. You will not be able to decrypt your internal data while in TWRP (unless performing a full /data wipe in TWRP and you will lose encryption!) but you can manually mount your external SD card to view the SuperSu zip. Feel free to back up first.. but otherwise.. time to install SuperSu. Click the Install button and navigate to the external_sd, select the SuperSu zip then swipe to install. Now you're rooted and TWRP'd! Reboot into system...

    Have fun and be careful.


    FAQ:
    Q: I have an H850Q from Israel.. can I unlock the bootloader?
    A: No, this official unlock program is ONLY for the H850 model for countries in Europe just like LG did for the LG G4.
    But... for about a 10 day span last year G4 devices from SE Asia worked with the official site and users received unlock.bin files. :good:

    Q: Will more devices be added?
    A: While there is no "official" word.. most likely no. Unless another mistake happens where another region's H850's are allowed for a week.
    Other than then EU H850 and possibly the T-Mobile H830... no other variants have a shot at being bootloader unlocked officially.

    Q: I can't get my phone to show up with ADB or Fastboot, watdo?
    A: Make sure USB debugging is enabled and try changing the phones USB modes.. from maybe charging to MTP.. or MTP to PTP.
    Make sure drivers are installed if using Windows. Learn2Computer.

    Q: Where can I get drivers and things?
    A: A good start is my G5 Info thread found here. Google and this very website are good places to search as well.

    Q: What happens to warranty if I unlock or root?
    A: YMMV I suppose. The official LG site claims that warranty is void if damage is caused by the unlock. Not sure how they could prove such things. I thought there was some EU law that gave everyone warranty coverage even if unlocking the phone. Not sure if that is enforced or even still valid at this time... maybe someone knows for sure?

    Q: Can I re-lock the bootloader?
    LG does not support re-locking the bootloader... so once unlocked you remain unlocked.
    Thanks to @Loggsie for the heads up... the previous statement above is confirmed not true.
    It IS possible to re-lock the bootloader with the the command: fastboot oem lock
    I wrote a bit more about it in this post HERE... and in the post under that.. @wolfgart shows off some examples.
    DO NOT re-lock the bootloader if you have a modified boot/system img... restore them to stock first or you will not be able to boot into android after the lock and need to flash a KDZ in download mode.

    Q: So many words... yudodat?
    A: Here is a video on how to unlock the G4... up until the 6minute mark it is step-by-step 100% the same as G5. Only slight difference is when you get to the TWRP/root steps. https://www.youtube.com/watch?v=O64GfQORCaE

    y u quote OP?

    Follow me on twitter for future updates on LG-related things - twitter.com/@utoprime

    Find this thread helpful? Hit the Thanks button!
    Feeling extra generous? Feel free to contribute to my LG G5 fund...
    click my name at the top of any post and hit donate or click here.
    10
    Thanks to a fellow G5 user I have been notified that it is indeed possible to re-lock your bootloader on the H850 variants.
    All credit goes to @Loggsie for this great find... it was not mine. Be sure to thank them :good:

    before re-locking I would suggest flashing the stock boot and system img otherwise you may enable dm-verity as well as boot.img signature checking and you won't be able to boot due to modified partitions. And since you can't boot directly into fasboot to easily unlock again you'd be screwed until you flash a KDZ in download mode.

    again... do not re-lock the bootloader unless you have already flashed back your stock boot and system imgs. Or to be safe.. just flash a stock KDZ in download mode. then you could boot into android.. confirm OEM Unlock is enabled in developer settings... reboot into bootloader.. then finally re-lock the bootloader.

    to relock the bootloader:
    fastboot oem lock

    bootloader should now be locked... and the yellow warning sign when booting should also be gone.

    I have no idea if or how this will change warranty status. I suppose we'll all see how it plays out by the experience of others on here.
    5
    xposed working fine for me (xposed-v83-sdk23-arm64-test2)
    5
    Looks like the TWRP hang may be due to sdcard format.

    If using EXT4 or ExFAT try FAT16/32... (let the phone format your card while it's booted in Android).

    That should at least get you into the TWRP menu now.
    I suppose you could avoid using an sdcard to hold SuperSu as well... alternative would be to boot into TWRP while not using any sdcard then using 'adb push' to push the SuperSu zip from your computer to your phone...

    Code:
    adb push UPDATE-SuperSU-v2.65-20151226141550.zip /tmp/

    Then hit the Install button.. navigate to the "tmp" directory and install SuperSu.

    TWRP issue will be sorted soon I'm sure.. since it's most likely just a formatting issue... possibly ExFAT/EXT4 not yet supported.
    4
    For stock recovery someone with H850 would need to fastboot boot twrp.img (not fastboot flash recovery twrp.img) and then backup recovery and share it with everyone. Or you would need to wait for root (without bootloader unlock.. most likely a temp root) and then backup stock recovery.

    It looks like a few of you have been denied an unlock from LG... and they seem to be carrier variants of the H850. So.. it is possible that SOME H850 carrier models are not yet "eligible" for official LG bootloader unlock and only EU carrier-free H850 variants can unlock. This is how LG did it last year with the G4. At first, only carrier-free variants but then a month or two later they opened it up to EU carrier variants.

    the H831 most likely does not have a visible fastboot menu for unlocking. Only the H850 variant and possibly H830 will be officially supported. It's possible that if a temp root is available you could wipe laf or recovery partition and boot into a "fastboot fallback menu" but this is not the proper fastboot and all fastboot commands will be broken. I suggest no one attempts this unless you know what you're doing... and if that were the case you wouldn't be listening to this anyway.

    As mentioned above... toggling OEM -Unlock in development settings does NOT void warranty. Requesting an unlock.bin from LG does NOT void warranty either. Only possible way to void warranty would be to see you device in person with the unlock flag on your phone set.