The Custom Droid

Android Tutorials, Tips and Tricks

How to Unlock LG G5 Bootloader (European – H850)

Unlock LG G5 Bootloader

This guide will help you easily unlock LG G5 Bootloader.


Unlock LG G5 Bootloader

LG’s most modular (It has modules! Yay) and beautiful innovation – the LG G5, was announced about a month ago in February. Since the day the users got their hands on this impressive piece of goodness, there was a huge debate whether or not the G5 will ever support bootloader unlocking. The skepticism ended today when the manufacturer officially supports to unlock LG G5 bootloader. But before you get excited, know that this will only work on the European version of the G5 (model: H850).


Unlocking the bootloader will push your G5 out of the official support (warranty). We shall not be held liable for any damage to your device. Proceed only if you know what you’re doing.


  • You must have an LG Developer account: Register account
  • Ensure that you have the latest LG drivers installed: Download LG drivers
  • Enable USB debugging and Enable OEM unlock in Settings > Developer options. If you don’t know how, read this tutorial.
  • Android SDK must be installed on your PC. It will be required for ADB and fastboot access.
  • Backup your G5 completely. This includes your internal storage, music, contacts, messages, etc.
  • Charge your phone to sufficient battery level, to avoid any shut downs during the process.

Unlock LG G5 Bootloader

  1. To start off, you will need two important things, which are device ID and your phone’s IMEI. To get the IMEI, you can simply type *#06# in the dialer. Note down the IMEI somewhere.
  2. Connect your G5 to the PC using the supplied USB cable.
  3. Once your device is connected, open a command-prompt/CMD window on your PC. Type in and enter the following command. What this will do is, it will boot your G5 into bootloader/fastboot mode. And this is where our fastboot commands will operate.
    adb reboot bootloader

    If this command doesn’t work, make sure that you have correctly setup Android SDK, or try switching the USB ports.

  4. When your G5 has entered bootloader mode, enter the command below to get the device ID. It is extremely important to extract this, so as to retrieve the unlock code.
    fastboot oem device-id
  5. The command above, when entered should return a few lines of code. This will be the Device ID. It should look something like below.
    (bootloader) Device-ID
    (bootloader) BA90B359A97D6C013ED519G37A00E011
    (bootloader) R83102BD226261D01C5564E8EF8678A3

    You will need to combine the two lines of code into one, without any spaces. Here the device ID would look like — BA90B359A97D6C013ED519G37A00E011R83102BD226261D01C5564E8EF8678A3

  6. This time, make sure to copy the device ID and save it.
  7. Now go to the LG Developer’s unlock bootloader website.
  8. On the page that opens, enter your details. This will include your name, email ID, IMEI and device ID. Also, drop down the Phone menu and select LGH850. Finally, click on Confirm.
  9. Once you do that, the unique unlock.bin file for your device will be emailed to you. So, open up that email and download the file.
  10. Open the folder where the unlock.bin file has been download on your computer. Press SHIFT key and right-click on an empty space inside this folder. Select Open command window here from the menu that appears.
  11. Finally, enter the unlock command. While doing this, make sure that your G5 is connected to the PC in bootloader mode.
    fastboot flash unlock unlock.bin
  12. It will just take a few seconds to unlock, and once it is done, reboot your device.
    fastboot reboot

Now that you have unlocked the bootloader, you are good to go. You can install TWRP and flash custom ROMs. It is a fortune to have the G5 H850 unlocked, right? We hope that LG will soon support bootloader unlocking on other LG G5 variants.

Unlocked? Now – Install TWRP, Disable Forced-Encryption, and Root LG G5

If you have issues, let us know through the comments.

About the Author

Founder and Editor-in-Chief

Dhananjay has more than 11 years of experience in Android software customization and development, and has spent the past 10 years writing about it. He spends most of his prime time reading, learning and writing about Android and other open-source projects. He is also a community-taught web developer. Apart from that, he loves mountain biking and playing video games on his PlayStation.

Leave a Reply

Comments are moderated, and published only if they are relevant to the topic and add value in a constructive way. If you disagree with something, please be polite and respectful. We suggest you read our comment policy before commenting.