Android How To

How to : LG G6 Bootloader Unlock (Windows, Mac and Linux)

LG G6 Bootloader Unlock: Got your hands on a brand new LG G6 and can’t wait to start tinkering with it. In this tutorial we are going to teach you how to unlock the bootloader on your LG G6.

LG G6 Bootloader Unlock

How to : LG G6 Bootloader Unlock

Warning

We are not responsible for any bricked devices. You are doing this at your own risk.

Unlocking the bootloader will wipe your data so make sure you backup your data.

Pre-Requisites

LG G6 with model number H870 (aka European variant)

Download and Install LG drivers for Windows (Mac and Linux users need no drivers)

Make sure your LG G6 is charged 70-80 percent.

Step 1 – Enable USB debugging and OEM Unlock

Go to Settings -> About Phone -> Software Info and tap on build number 7-8 times. You will see a message “You are now a developer”. At this point head back to Settings and you will see an option called Developer Options.

Once in developer options, enable USB Debugging and OEM unlock.

Step 2 – Note IMEI of your LG G6

Go to Settings -> About Phone -> Status -> IMEI Menu and note the IMEI number of your LG G6. You can also go to dialer and type in *#06#.

Step 3 – Setup ADB & Fastboot

Setup adb and fastboot on your computer (Windows, Mac or Linux) by following the steps listed in the link below.

How to Setup ADB and Fastboot

Step 4 – Boot into fastboot mode

Turn off your LG G6, then turn on LG G6 while keeping Volume Up pressed.  Make sure no usb cable is attached as you might boot into download mode.

You can also boot into fastboot mode while device is on :-

  1. Connect LG G6 to computer using usb cable.
  2. Open command prompt (for Windows) or Terminal (for Mac and Linux).
  3. Navigate to platform-tools folder and issue below command.

Windows

adb reboot bootloader

Mac or Linux

./adb reboot bootloader

Step 4 – Get Device ID

Once in fastboot mode issue below command to get the unique device id for your LG G6.

Windows

fastboot oem device-id

Mac or Linux

./fastboot oem device-id

You will get a few lines of code.

Combine the two lines with the code into a single line, and remove the word bootloader (example below).

CD58B679A38D6B613ED518F37A05E013F93190BD558261DBBC 5584E8EF8789B1

Step 5 – Get unlock.bin from LG Developer website

Head over to LG developer website and generate unlock.bin file, hit the link below and click on “Start Unlocking the bootloader” link at the bottom of the page. You may need to sign up.

LG Developer Website

Enter your name, email address and details of your LG G6 in the below screen. Once done click on confirm. Please note unlock.bin will be emailed to address mentioned.

Download the unlock.bin you received in your e-mail, and place it in platform-tools folder.

Step 6 – LG G6 Bootloader Unlock

Enter below command to unlock the bootloader.

Windows

fastboot flash unlock unlock.bin

Mac or Linux

./fastboot flash unlock unlock.bin

That’s it peeps, you have now unlocked the bootloader on your LG G6.

Also read : How to Install TWRP Recovery and Root LG G6

Check LG G6 bootloader unlock

To check if LG G6 bootloader unlock was successful or not issue the below command.

Windows

fastboot getvar all

Mac or Linux

./fastboot getvar all

At the bottom you will see bootloader unlocked as yes.

fastboot getvar all lg g6

You can now reboot your LG G6 back into Android by issuing below command.

Windows

fastboot reboot

Mac or Linux

./fastboot reboot