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

Search This thread

sinkoo1979

Senior Member
Oct 29, 2016
627
92
28
Yigo
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.


Flashed back to stock. Flashed abl, xbl, xbl_config, laf and I had access to download mode. Back on stock. Thanks for your reply
 

Shaglo

Member
Feb 7, 2021
5
1
13
*Edited*
As I understand if you got twrp installed, the hard reset key combination (vol- and power button) does not reset your phone instead it leads you twrp. if your phone resets you twrp is not installed.
 
Last edited:

cloud1250000

Senior Member
Jul 4, 2011
414
151
63
Ottawa
Why did you go back to stock? I have a sprint g8x and there's no kdz for them.
So, I'm just wondering how I could go back if theres a problem, without access to kdz.

You back up your partition using qfil. Don't mess up the rename part :) (as described in this guide)

Good luck:)

And yes.. the abl_a you download here is meant to be flashed over both abl_a and abl_b (you need to have made a backup of these before doing that.. as described in this guide)

Have fun :)
 
  • Like
Reactions: robnitro

Shaglo

Member
Feb 7, 2021
5
1
13
Although I got the bootloader unlocked Im still unable to install Magisk properly without it going into bootloop on lockscreen. Even if I install twrp, it will causes encryption(asking for non-existent password). Applying force decryption method will lead into decryption unsuccessful on startup with no fixes. If you have similar model Korean V50, be wary of this problems. Backup everything stated by OP. If this occurs to you, just apply backed up original boot_X.bin using qfil.
 

Shaglo

Member
Feb 7, 2021
5
1
13
Finally I got it working. My problem was after installing Magisk with OP method, I have bootloop on security lockscreen. i cant say for sure which part fixed this but my guess is DONT USE SECURE STARTUP. If you have that, remove it before proceeding to Magisk installation.
 
  • Like
Reactions: robnitro

sinkoo1979

Senior Member
Oct 29, 2016
627
92
28
Yigo
You back up your partition using qfil. Don't mess up the rename part :) (as described in this guide)

Good luck:)

And yes.. the abl_a you download here is meant to be flashed over both abl_a and abl_b (you need to have made a backup of these before doing that.. as described in this guide)

Have fun :)

thanks for the guide and helping me yesterday to reflash stock when I was without download mode.
 

ldeveraux

Senior Member
Nov 20, 2008
2,349
854
183
Will this work on the LM-V450VM (Verizon V50 model) or the LM-V450PM (Sprint V50 model) ? Looking to upgrade from my V30 on Verizon
 
Last edited:

mc_365

Senior Member
Sep 17, 2009
354
48
48
Jersey City
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.

What exactly does this last step do?
The reason I ask is, after I Unlocked and Rooted, I flashed TWRP through magisk.
Then Magisk manager would show N/A for root. So before rebooted, I reflash the boot_b.bin (in my case) and seems like my TWRP was fine but I still had an N/A on either Install or Status, I forge so I did the last step quoted above and then everything in Magisk looked good but TWRP was gone.

I've never flashed a recovery that way but It's been a while since my HTC M8 days, I've been on samsungs and the v50 is just now getting Unlocked.
 

SkivelBrun0

New member
Feb 11, 2021
2
0
11
I do this on mi V50 and it works well...
But to get the root i can´t.
I try with abl_a and b restored to the backuped
and boot_a restored to the original backuped, and boot_b with the magisk patched file, i got root but no sound.


And with abl a and b original backuped
boot_a with the magisk patchetd file and boot b with the original backuped and not working.

HELP!!!!!!!!
 

SkivelBrun0

New member
Feb 11, 2021
2
0
11
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 !!
How do you get the root working? i try patching the boot_b only and i have root but not sound, so after restart the phone gets bricked.
So i patched the backuped boot_b to get working but no rooted
 

cloud1250000

Senior Member
Jul 4, 2011
414
151
63
Ottawa
What exactly does this last step do?
The reason I ask is, after I Unlocked and Rooted, I flashed TWRP through magisk.
Then Magisk manager would show N/A for root. So before rebooted, I reflash the boot_b.bin (in my case) and seems like my TWRP was fine but I still had an N/A on either Install or Status, I forge so I did the last step quoted above and then everything in Magisk looked good but TWRP was gone.

I've never flashed a recovery that way but It's been a while since my HTC M8 days, I've been on samsungs and the v50 is just now getting Unlocked.
You need to flash TWRP with magisk (this removes root), then turn off and boot TWRP using combo key.. proceed with the format of data (because encrypted), flash magisk and then flash dm-verity disabler (it removes the encryption). Done :)
 
  • Like
Reactions: Jonail

Snowfairy

New member
Dec 30, 2009
2
0
31
Thanks, my boyfriend do this to my phone and everything went ok, but now my phone tells me that it have a system update, can i update my phone? in software version it says V450P20a
 

mangojain

Senior Member
Jul 24, 2010
149
9
38
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
I was trying this and got to the part where i backed up abl_a, abl_b, boot_a and boot_b ,then replaced the abls with the supplied abl. However, my phone is neither booting up normally nor into fastboot after that. I have tried restoring the backed up abl files, but the problem persists. I can only go into edl mode. Can you guide me on restoring the phone back to how it was please.
 
Last edited:

AntonioxD90

New member
Feb 17, 2021
2
0
11
Después de hacer todo este proceso, puedo actualizar a Android 10?
Mi teléfono es LG G8 AT&T que está en Android 9
pero quiero saber si el kdz de Android 10 a install es el de Sprint? O cómo lo puedo actualizar a Android 10 después de este proceso. Gracias de antemano :))
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    After I flashed it my phone went back to blinking. So I put it into download mode and tried the LG mobile support app and it said my phone was up to date with g820um20i which was what I was already on. I don't understand its like my phone is blocking everything I try on it.
    [/QUOTE]
    Ahh, I see. That is unusual. Well can you please then put the engineering Abl_a onto slots abl_a and Abl_b then boot the phone into fastboot to confirm you are on slot B

    MAYBE I forgot I did this,

    But it could make a difference, in fastboot once you have confirmed fastboot devices,
    The command should be

    fastboot flashing unlock <- this is the basic flash unlock command but not for all partitions
    ---
    Edit I just ran fastboot - help -- To help me remember!! -- and there it is You Might need to remove the underscores I am not sure because fastboot -help does show them...

    fastboot flashing unlock_critical <- this should allow flashing Everything!

    And this command I did not know .. until just now but you can also

    flashing get_unlock_ability <- This line should return the status of flashing lock

    and ensure you're on slot b

    fastboot --set-active=b

    This may be neccessary to tell your device to allow flashing to the partition tables according to some, although lgup maybe telling you that because it switched to slot a.

    if it does not boot after restoring abl_a and abl_b you will probably have to flash again since no flashing occured but should be unlocked now, otherwise it only switched to slot A.

    When you are successful it should bring you to a password screen, that's when you'll reboot into recovery and factory reset.

    NOTE: Engineering abl_a must be flashed to get to fastboot but will not boot phone.
    Abl_ & B must be restored to boot normally but NO Fastboot.

    I'm going to go watch John Wick now... :D
  • 30
    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