LG unlocks bootloader for LG G4 in Europe

LG has announced that it is now starting to unlock the bootloader for the LG G4, and first smartphone to get this option are LG G4s in Europe.

LG-G4-Leather-Back-leak

LG announced:

We value your opinion. We have heard your opinions from the open developer community. Starting in 2015, LG will allow customers to unlock the bootloader for certain releases of LG smartphones. This will allow you to participate in Android development using LG hardware. Please be advised that this feature is intended for developers only. Therefore, we strongly recommend not to unlock the bootloader unless you fully understand what you are doing.

For normal operation of the device it is NOT necessary to unlock the bootloader!

LG devices have a fully optimized, certified and tested version of Android, and unlocking the bootloader will change the software. Therefore, it is important that you take time to read and that you keep the following in mind before unlocking the bootloader to customize your device.

This applies to the LG G4 (H815) for EU open market.

Here’s how to unlock the bootloader for the LG G4:

  1. Click Starting Unlocking the Bootloader at the bottom of this page to start the bootloader unlock process. If you are not logged into your account, we ask that you log in.

  2. Legal Terms will be displayed on your screen. After reading the terms, if you would like to continue to unlock the Bootloader, then click I Accept.

  1. Your name and email address will be displayed. Check your name and email address. If you want to change your email address, click Change. You must verify your new email address after changing it.
  1. Enter the first 15 digits of your phone’s IMEI number. You can view the IMEI number by entering *#06# on your phone or selecting the Settings >> About phone >> Status >> IMEI menu.
  1. Download and install the latest Android SDK (adb.exe, AdbWinApi.dll, fastboot.exe) from developer.android.com
  1. Create a new folder (for example: C:\tools) and copy the following three files to the new folder:
  • Adb.exe
  • AdbWinApi.dll
  • Fastboot.exe

You can find these three files from: sdk\platform-tools

  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.
  1. Enable OEM unlock on your phone. Activating the “Enable OEM unlock” is necessary for the bootloader unlock. To enable OEM unlock, go to Settings >> Developeroptions and check EnableOEMunlock.
  1. Enter your phone’s unique Device ID. You can view the Device ID by connecting your phone to the PC using a USB cable and entering “adb reboot bootloader” in DOS command window of the folder you created in previous step (for example: C:\tools). Your phone will reboot into the fastboot mode. Enter “fastboot oem device-id” in DOS command window.
  1. This fastboot command will return a character string. This is the Device ID which is needed to generate your unique unlock key.
Example Device ID (PC User)$ 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

  1. Click Confirm. If your IMEI number and Device ID are valid, the bootloader unlock key will be sent to your email.
  2. Download your bootloader unlock key to your phone by connecting your phone to PC using USB cable and entering “adb reboot bootloader” in DOS command window.
  1. Your phone will reboot into the fastboot mode.
  1. Go to the directory where you downloaded your bootloader unlock key.
  1. Enter “fastboot flash unlock unlock.bin ” in DOS command window.
    “unlock.bin” is the bootloader unlock key you received in the email.

Reboot your phone by entering “fastboot reboot” in DOS command window.

  1. Connect your phone to a PC using a USB cable and enter “adb reboot bootloader” in DOS command window.

Your phone will reboot into the fastboot mode. You can check if the device is successfully unlocked, you can check by entering “fastboot getvar unlocked” and verifying that the response is “unlocked: yes”

You can now download a custom android binary.

  1. Run the desired fastboot command.
    *Quick Guide
    i. flash : fastboot flash
    Ex) fastboot flash boot boot.img
    ii. erase : fastboot erase
    Ex) fastboot erase boot
    iii. reboot : fastboot reboot OR fastboot reboot-bootloader
  1. Exit fastboot mode and reboot.
    i. Press the Power button for 10 seconds to turn off the device.
    ii. Use ‘fastboot reboot’ command if the fastboot prompt is available.

Note that unlocking the bootloader will void the warranty.

Will you unlock the bootloader of your LG G4? Let us know through a comment on our Phones LTD Facebook page.

Leave a Reply

Your email address will not be published. Required fields are marked *