Guide LG G8/G8x/v50 Bootloader Unlock and Magisk Root using Firehose

Search This thread

Faylynx

Member
Apr 10, 2020
26
7
Thanks. But I still can't get it to boot. I think I will have to try something in QFIL.
My phone is stuck in bootloop:
To enter download mode plug into computers usb port and reboot phone holding vol down and power key when screen goes black release both keys and hold vol up
does that take you into download mode?
 

justanutt

Senior Member
Apr 10, 2013
82
21
My phone is stuck in bootloop:
To enter download mode plug into computers usb port and reboot phone holding vol down and power key when screen goes black release both keys and hold vol up
does that take you into download mode?
I actually just hold the volume up button when it bootloops and it will go into download mode.
 

Faylynx

Member
Apr 10, 2020
26
7
I actually just hold the volume up button when it bootloops and it will go into download mode.
Oh, I see, well earlier I got out of it by going back to EDL mode and using qfil to put the engineering abl_a on slot a and b. I think you must restore the backups with fastboot because I tried doing that with qfil and it didn't seem to work, but after letting it sit booted up in the engineering mode I guess it LG updated over the air because I had removed Sprint bloatware and thats what cause my bootloop, then after letting it sit in the engineering abl boot I went back to fastboot and restored the backups of abl a and b, then it boot and for a while the touchscreen was unusable, I think or it could've just still been loading, then sometime later it went through the set up touchscreen working and all and now when it boots it shows the LG boot logo not sprint! Anyhow that worked and my bootlooped spring phone is back. I will be following a guide I bookmarker on how to identify partitions and make img backups now, I found one that has that part in the instructions for the LG g8.
 

justanutt

Senior Member
Apr 10, 2013
82
21
Oh, I see, well earlier I got out of it by going back to EDL mode and using qfil to put the engineering abl_a on slot a and b. I think you must restore the backups with fastboot because I tried doing that with qfil and it didn't seem to work, but after letting it sit booted up in the engineering mode I guess it LG updated over the air because I had removed Sprint bloatware and thats what cause my bootloop, then after letting it sit in the engineering abl boot I went back to fastboot and restored the backups of abl a and b, then it boot and for a while the touchscreen was unusable, I think or it could've just still been loading, then sometime later it went through the set up touchscreen working and all and now when it boots it shows the LG boot logo not sprint! Anyhow that worked and my bootlooped spring phone is back. I will be following a guide I bookmarker on how to identify partitions and make img backups now, I found one that has that part in the instructions for the LG g8.
I can not get into fastboot on my phone. Is there a file i need to do that, because the button dance isnt working?
 

justanutt

Senior Member
Apr 10, 2013
82
21
Ok I got into fastboot, now no active slots. What can I do?
 

Attachments

  • IMG_20210225_122815.jpg
    IMG_20210225_122815.jpg
    244 KB · Views: 31

Faylynx

Member
Apr 10, 2020
26
7
Ok I got into fastboot, now no active slots. What can I do?
oh well then it may be a minute but I can follow this guide:
and since I have a Sprint G8 the partitions should be flashable :)
I'll just skip to backing up the partitions since the earlier part of the guide refers to an earlier firmware and process used for that that didn't even involve qfil

you probably should have this https://www.python.org/downloads/release/python-392/
and even though it's not in this guide I am pretty sure there is a python dependency to be installed ; a microsoft package which doesn't seem to be needed with this version, I used a different version awhile back...
 
Last edited:

Faylynx

Member
Apr 10, 2020
26
7
Ok I got into fastboot, now no active slots. What can I do?
Well, I tried to root my phone again and failed, re-entered bootloop and discovered from fastboot you can flash the backups- so I did these three lines
fastboot flash abl_a abl_a.bin
fastboot flash abl_b abl_b.bin
fastboot flash boot_b boot_b.bin

This doesn't work with qfil for some reason that I do not know.
if you have backups try flashing them all including boot_a
if you don't you can try my backups since we both have sprint g8 I can upload my abl_a & b boot a & b backups.

I can no longer flash magisk although I do believe I would have to try doing every step from the beginning step by step instead of trying to from this point on skipping steps but I'm finished trying lol
 

justanutt

Senior Member
Apr 10, 2013
82
21
Well, I tried to root my phone again and failed, re-entered bootloop and discovered from fastboot you can flash the backups- so I did these three lines
fastboot flash abl_a abl_a.bin
fastboot flash abl_b abl_b.bin
fastboot flash boot_b boot_b.bin

This doesn't work with qfil for some reason that I do not know.
if you have backups try flashing them all including boot_a
if you don't you can try my backups since we both have sprint g8 I can upload my abl_a & b boot a & b backups.

I can no longer flash magisk although I do believe I would have to try doing every step from the beginning step by step instead of trying to from this point on skipping steps but I'm finished trying lol
I actually have Verizon, sorry pretty sure that will not work.
 

Alaaaloha

Member
Jul 31, 2016
17
1
Disclaimer: I am not responsible for any problems from using this guide.
Works for G8, G8s, G8x, and v50
Confirmed working on G8 and v50

Requirements: Android 10

QFIL: https://drive.google.com/file/d/1P7uGjIirqGRdkwlxgKf_idepDlv6_u-q/view?usp=sharing
QFIL Driver: https://drive.google.com/file/d/1sPJm1RuSoVX9JMEs-Gx8xNuEDadO6rpj/view?usp=sharing
LG Mobile Driver:
ADB: https://drive.google.com/file/d/1nvlwaicFpDN_4DGR0BZRWUDgwQwYzOhS/view?usp=sharing
Firehose: https://drive.google.com/file/d/1ekI_d2-P9GdoakkSgk2hK1WHbQLIPlTQ/view?usp=sharing
abl: https://drive.google.com/file/d/1sye4gXsDfD8JVF5qfAMG_GDxSLKY6J6Q/view?usp=sharing

Verizon LG G8 only frp: https://drive.google.com/file/d/1294cXerj2_EkeGw1p38CcVPuyRfdS9N5/view?usp=sharing
This Verizon FRP img was only tested on LG G8 Verizon and is not recommended to be used on other Verizon Variants as it will prevent the phone from booting.

Bootloader Unlock
Unlocking your bootloader will erase all data on your phone

First Install LG Mobile Driver, QFIL driver, and QFIL (Select first option, WWAN)

All Variants other than Verizon: Go to Settings, > System > About Phone > Software Info > Tap Build Number 7 Times.
Go back to Settings > System > Developer Options. Check Enable OEM Unlock


Boot you phone into EDL
You can make sure that your phone is in EDL by plugging your phone to your pc and checking the Device Manager > Ports > Qualcom HS-USB QDLoader 9008 (COM#)
Hold Vol- and Power, when the phone screen turns off to restart begin quickly pressing the vol+ but keep holding vol- and power.
Here is a youtube video of how to boot to EDL:

Open QFIL, Select your Phone's Port, Select Flat Build under Select Build Type, Select the Firehose.elf file under Select Programmer, on the bottom right of QFIL select UFS as the Storage Type.
Click Tools > Partition Manager.
Find Abl_a and right click on it and select Manage Partition Data. Click Read to backup your abl_a.
Go to Windows Explorer and go to C:\Users\Username\AppData\Roaming\Qualcomm\QFIL\COMPORT#
Rename your ReadData_ufs_Lun4.bin to abl_a.bin

Do the same with abl_b, boot_a, and boot_b.
Boot_a and Boot_b is for Magisk Root. Skip if you only want Bootloader Unlock.
Close Partition Manager. Your phone will reboot to EDL on its own after pressing OK. Wait on that.

Go back to Partition Manager and right click on abl_a again then select Manage Partition Data, then Select Load and choose the abl engineering file.
Do the same for abl_b.
Close Partition Manager. Your phone will reboot to EDL on its own after pressing OK. Wait on that.

Reboot to Fastboot. Hold Vol- and Power then release power when reboot starts and keep holding vol-
If that doesn't work unplug and Power off your phone. Hold vol- and plug it in. It should go into fastboot.
Once your phone is in Fastboot it should say
Device State: Locked and Active A/B Slot - _a or _b
remember whichever slot your device says and stay on that slot, you may risk bricking if you change to the other slot. You also need this for Root later.

Extract the ADB.zip
open a Command Prompt and change the directory to the adb folder you just extracted
cd C:\adb
run fastboot devices in that command prompt. it should show "LMG850UM fastboot"

Move the backed up abl_a.bin and abl_b.bin to the adb folder, also frp_verizon.img if you have the verizon LG G8.
Verizon LG G8 only: Run fastboot flash frp frp_verizon.img then fastboot reboot-bootloader

Reboot to Fastboot. Hold Vol- and Power then release power when reboot starts and keep holding vol-
If that doesn't work unplug and Power off your phone. Hold vol- and plug it in. It should go into fastboot.
Run fastboot oem unlock
Select Unlock The Bootloader with your arrow keys and press the Power Button
Reboot back to the Bootloader. Unplug your phone, Power off, Hold Vol-, then Plug it in.
Your phone should say Device State – unlocked now


Now fastboot flash abl_a abl_a.bin
and fastboot flash abl_b abl_b.bin
Finish with fastboot reboot
Your Phone Is now Bootloader Unlocked.





Magisk Root
Only do this after you have followed the above guide and have Unlocked your Bootloader.


Magisk
Xda Forum: https://forum.xda-developers.com/f/magisk.5903/
Xda Thread: https://forum.xda-developers.com/t/magisk-the-magic-mask-for-android.3473445/
Github Page: https://github.com/topjohnwu/Magisk


Find the slot you are on from the fastboot bootloader earlier
Go to Windows Explorer and go to C:\Users\Username\AppData\Roaming\Qualcomm\QFIL\COMPORT#
Transfer to your phone the boot_a.bin or boot_b.bin that you backed up in the COMPORT# folder.

Download and install Magisk Manager.
Open Magisk Manager and beside Magisk hit "Install" then "Select and Patch a File" and select the boot_a.bin or boot_b.bin.
After Magisk has patched your boot img you should have magisk_patched#####.img in your phones Download folder.
Transfer it to your PC.

Reboot to EDL
Open QFIL. Click Tools > Partition Manager.
Find the slot you are on from the fastboot bootloader earlier and right click on either boot_a or boot_b and select Manage Partition Data.
Click Load and select the magisk_patched#####.img file you transfered from your phone.
Wait for it to finish then Close Partition Manager. Your phone will reboot to EDL on its own after pressing OK. Wait on that.

Reboot to System by holding vol- and power till your phone reboots out of EDL then release both.
Your phone is now Bootloader Unlocked with Magisk Root.






Hopefully this helps.
This guide was written by me, but the information was provided by Cloud1250000.
If there are any errors let me know and I will fix.


HEllo, DOES THIS METHOD WORK ON LG V50 thinQ ?? Bcoz I'm Planning To Buy one and Ineed to be Sure it works on LG v50 ThinQ Verizon .
THANK YOU
 

blaze2051

Senior Member
Jul 26, 2010
122
11
LG G7 ThinQ
LG V40
*update in cause someone is wondering you can keep the v50 eng boot abl_a/abl_b but touch screen wont work, so flashing stock backup of your abl_a abl_b is a must.


do we have to flash back the stock abl A/B or can we just keep the custom abl A/B?
 
Last edited:

adtamez

Senior Member
Jan 7, 2008
59
1
Hello, I need help. I have an LG G9 Tmobile and was able to unlock bootloader and rooted with qfil. But then I went to install twpr through magisk and once I restarted I couldn't get to bootloader or fastboot or edl only to TWRP. So I went and did a hard reset but now I am stuck on a TWRP bootloop. I cannot enter edl nor boot loader no system. TWRP states there is no OS!

Please help. What can I do?
 

blaze2051

Senior Member
Jul 26, 2010
122
11
LG G7 ThinQ
LG V40
Hello, I need help. I have an LG G9 Tmobile and was able to unlock bootloader and rooted with qfil. But then I went to install twpr through magisk and once I restarted I couldn't get to bootloader or fastboot or edl only to TWRP. So I went and did a hard reset but now I am stuck on a TWRP bootloop. I cannot enter edl nor boot loader no system. TWRP states there is no OS!

Please help. What can I do?
might have to look into getting LGUP 1.14 and looking up your stock rom .kdz format and flash your phone again
try this website https://lg-firmwares.com/lg-lmg820tm-firmwares/ get it and boot into download mode flash, you need to get lg drivers too
 

adtamez

Senior Member
Jan 7, 2008
59
1
might have to look into getting LGUP 1.14 and looking up your stock rom .kdz format and flash your phone again
try this website https://lg-firmwares.com/lg-lmg820tm-firmwares/ get it and boot into download mode flash, you need to get lg drivers too


Thank you so much! that's what i dis. I actually needed LGUP 1.16 with a different LGcommon.dll that I found for LGUP v1.17 in order to LGUP stop crashing and proceedfalshing.

So now I can use my phone, however I still don't have a bootloader, it just boots directly to system. Any advice on how to get the bootloader or fastboot working again? I have already flashed the phone several times and I changed slot from b to a. Before all this I try restoring boot_b.bin but didn't work.

Any advice?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    I am having the same problem. I cant go into fastboot to check the active slot either. I tried the button combo and also the vol- and usb combo. Cant access fast boot. Everytime i try to flash the magisk patched file, it causes me to go into boot loop. I had it rooted before but tried using TWRP to format data and do the dm-verity disable and then it bricked so i had to reflash my original boot_b. Any ideas?
    fastboot only shows up when you are using abl engineering, reflash it and shutdown the phone totally, hold down volume and plug usb type c cable, fastboot will show up
    1
    Does anyone know of a root explorer that works with LG phones, allows read/write not just read
    Yeah, "Root Explorer"
  • 31
    Disclaimer: I am not responsible for any problems from using this guide.
    Works for G8, G8s, G8x, and v50
    Confirmed working on G8 and v50

    Requirements: Android 10

    QFIL: https://drive.google.com/file/d/1P7uGjIirqGRdkwlxgKf_idepDlv6_u-q/view?usp=sharing
    QFIL Driver: https://drive.google.com/file/d/1sPJm1RuSoVX9JMEs-Gx8xNuEDadO6rpj/view?usp=sharing
    LG Mobile Driver:
    ADB: https://drive.google.com/file/d/1nvlwaicFpDN_4DGR0BZRWUDgwQwYzOhS/view?usp=sharing
    Firehose: https://drive.google.com/file/d/1ekI_d2-P9GdoakkSgk2hK1WHbQLIPlTQ/view?usp=sharing
    abl: https://drive.google.com/file/d/1sye4gXsDfD8JVF5qfAMG_GDxSLKY6J6Q/view?usp=sharing

    Verizon LG G8 only frp: https://drive.google.com/file/d/1294cXerj2_EkeGw1p38CcVPuyRfdS9N5/view?usp=sharing
    This Verizon FRP img was only tested on LG G8 Verizon and is not recommended to be used on other Verizon Variants as it will prevent the phone from booting.

    Bootloader Unlock
    Unlocking your bootloader will erase all data on your phone

    First Install LG Mobile Driver, QFIL driver, and QFIL (Select first option, WWAN)

    All Variants other than Verizon: Go to Settings, > System > About Phone > Software Info > Tap Build Number 7 Times.
    Go back to Settings > System > Developer Options. Check Enable OEM Unlock
    Enable OEM Unlock.jpg


    Boot you phone into EDL
    You can make sure that your phone is in EDL by plugging your phone to your pc and checking the Device Manager > Ports > Qualcom HS-USB QDLoader 9008 (COM#)
    Device Manager - Ports.jpg
    Hold Vol- and Power, when the phone screen turns off to restart begin quickly pressing the vol+ but keep holding vol- and power.
    Here is a youtube video of how to boot to EDL:

    Open QFIL, Select your Phone's Port, Select Flat Build under Select Build Type, Select the Firehose.elf file under Select Programmer, on the bottom right of QFIL select UFS as the Storage Type.
    QFIL.jpg
    Click Tools > Partition Manager.
    Find Abl_a and right click on it and select Manage Partition Data. Click Read to backup your abl_a.
    right click manage partition data.jpg
    Go to Windows Explorer and go to C:\Users\Username\AppData\Roaming\Qualcomm\QFIL\COMPORT#
    Rename your ReadData_ufs_Lun4.bin to abl_a.bin
    change readdata to abl.jpg

    Do the same with abl_b, boot_a, and boot_b.
    Boot_a and Boot_b is for Magisk Root. Skip if you only want Bootloader Unlock.
    abl a and b finished.jpg
    Close Partition Manager. Your phone will reboot to EDL on its own after pressing OK. Wait on that.

    Go back to Partition Manager and right click on abl_a again then select Manage Partition Data, then Select Load and choose the abl engineering file.
    Do the same for abl_b.
    Close Partition Manager. Your phone will reboot to EDL on its own after pressing OK. Wait on that.

    Reboot to Fastboot. Hold Vol- and Power then release power when reboot starts and keep holding vol-
    If that doesn't work unplug and Power off your phone. Hold vol- and plug it in. It should go into fastboot.
    Once your phone is in Fastboot it should say
    Device State: Locked and Active A/B Slot - _a or _b
    remember whichever slot your device says and stay on that slot, you may risk bricking if you change to the other slot. You also need this for Root later.
    Fastboot Bootloader Locked and Slot.jpg

    Extract the ADB.zip
    open a Command Prompt and change the directory to the adb folder you just extracted
    cd C:\adb
    run fastboot devices in that command prompt. it should show "LMG850UM fastboot"

    Move the backed up abl_a.bin and abl_b.bin to the adb folder, also frp_verizon.img if you have the verizon LG G8.
    Move abl a and b to adb folder.jpg
    Verizon LG G8 only: Run fastboot flash frp frp_verizon.img then fastboot reboot-bootloader

    Reboot to Fastboot. Hold Vol- and Power then release power when reboot starts and keep holding vol-
    If that doesn't work unplug and Power off your phone. Hold vol- and plug it in. It should go into fastboot.
    Run fastboot oem unlock
    Select Unlock The Bootloader with your arrow keys and press the Power Button
    BL Unlock NoYes.jpg
    Reboot back to the Bootloader. Unplug your phone, Power off, Hold Vol-, then Plug it in.
    Your phone should say Device State – unlocked now
    Fastboot Bootloader Unlocked and Slot.jpg


    Now fastboot flash abl_a abl_a.bin
    and fastboot flash abl_b abl_b.bin
    Finish with fastboot reboot
    Your Phone Is now Bootloader Unlocked.





    Magisk Root
    Only do this after you have followed the above guide and have Unlocked your Bootloader.


    Magisk
    Xda Forum: https://forum.xda-developers.com/f/magisk.5903/
    Xda Thread: https://forum.xda-developers.com/t/magisk-the-magic-mask-for-android.3473445/
    Github Page: https://github.com/topjohnwu/Magisk


    Find the slot you are on from the fastboot bootloader earlier
    Go to Windows Explorer and go to C:\Users\Username\AppData\Roaming\Qualcomm\QFIL\COMPORT#
    Transfer to your phone the boot_a.bin or boot_b.bin that you backed up in the COMPORT# folder.

    Download and install Magisk Manager.
    Open Magisk Manager and beside Magisk hit "Install" then "Select and Patch a File" and select the boot_a.bin or boot_b.bin.
    After Magisk has patched your boot img you should have magisk_patched#####.img in your phones Download folder.
    Transfer it to your PC.

    Reboot to EDL
    Open QFIL. Click Tools > Partition Manager.
    Find the slot you are on from the fastboot bootloader earlier and right click on either boot_a or boot_b and select Manage Partition Data.
    Click Load and select the magisk_patched#####.img file you transfered from your phone.
    Wait for it to finish then Close Partition Manager. Your phone will reboot to EDL on its own after pressing OK. Wait on that.

    Reboot to System by holding vol- and power till your phone reboots out of EDL then release both.
    Your phone is now Bootloader Unlocked with Magisk Root.






    Hopefully this helps.
    This guide was written by me, but the information was provided by Cloud1250000.
    If there are any errors let me know and I will fix.
    3
    can't access download mode. getting waring that the phone didn't pass safety check and keeps on booting to fastboot mode. any help will be greatly appreciated. was trying to root and this happened. bootloader is unlocked. can access fastboot but no download mode. V500N


    I had similar experience, it's just a lil tricky. I found it was easiest to boot phone completely, plug into computer, you hear the pc chime when phone is recognized, at that point hold the vol - and power until the pc chimes the disconnect, then immediately release the power button and tap the vol + repeatedly (usually 1-3 times) until the PC chimes connected, this all while still holding vol -. Practice how to hold the phone, release power and tap a few time and then it was easy.
    2
    It should since the abl used is from a g8x and it worked on my v50 sprint.. :)
    2
    My experience was Nothing like yours. I had a stock v50. In the thread I linked they did discuss the touch functionality in twrp. I launch recovery from vol - and power buttons and touch control was fine. The only thing worthy of comment from my point of view was, after twrp install I had to re-root through magisk manager and QFIL.
    Touch in TWRP only work when booting using the button combo :)
    2
    thanks for reply
    my devices: lg g8 sprint g820u21d
    i think i solved it, just restore the abl_a and abl_b but my device doesnt have root. i follow magisk root step , try many time but no luck.

    edit: Finally i dit it !!

    Yeah who would have thought it was important to follow all the steps...
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone