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

Search This thread

Keke.ua

Member
Nov 2, 2020
25
3
3
Kharkiv, Ukraine
LG G8
How do you managed to get past the sahara error in QFIL?
I tried an older QFIL version and older driver, but get the same error.
I'm on Android 10 21f version.
Most importantly, who has the "sahara error" error, take out the sd card !! if it doesn't work, uninstall the old driver and install a new one. if you read the comments, the link to the new driver has already been dropped it's work on G820U21d
 

Faylynx

Member
Apr 10, 2020
26
7
13
How do you managed to get past the sahara error in QFIL?
I tried an older QFIL version and older driver, but get the same error.
I'm on Android 10 21f version.
I uploaded files qdloader for qfil here:
32 and 64 bit depending on your system.

I can't root my phone anymore, after I messed it up the first time removing sprint apps, I reinstalled the original boot_b. If the phone gets stuckin a magisk version of boot_b bootloop get to fastboot via EDL and load the engineering abl_a to A & B, the n flash original abl's and boot in fastboot. But when I create a magisk boot_b.bin patched file I just get a bootloop.
At least I can get into fastboot and EDL mode over and over again.

On another note one time it switched to slot A and asked for a password so I had to go back to fastboot and use the command fastboot --set-active=b

This did not work with minimal ADB & Fastboot I downloaded the SDK version
And now the version of the qualcomm driver from the original link works no sahara error but it doesn't change anything about trying to flash the magisk.img to boot_b (my active slot)
I just want my MSL so I can edit my APN when not on Sprint! :p
 
Last edited:

Faylynx

Member
Apr 10, 2020
26
7
13
Thanks, I will try what you guys have said, hope it works.
Sooo, I have been up all night. And I finally flashed an entire set of Sprint Images which changed the entire look of my phone once it was factory reset, it of course brought up the enter password 30 tries screen, so I held down power and shut it down then reboot into recovery easy peasy.

Then during the course of events I've downloaded a file simply called basic flasher.
NOW with the older LG G8 Sprint loaded onto the phone I am able to enter ##diag# and access the phone with basic flasher read device info, choose LG, and finally get my phones SPC.

So, I can do what I've been trying to do, and on the other hand this is essentially a downgrade to a version which is entirely rootable so long as you install the entire system, factory reset, then follow the instructions as per another guide if neccessary. but I am not looking to root I just want to be able to change my APN settings and anything else that requires the SPC/MSL

I'll get to uploading ALL the files including the patched boot img that goes with the version of the phone to be flashed and the basic flasher program.

Which btw also brings me to the modified version of DFS which does not connect online and I guess it's a hacked version I really don't know but I was able to send the SPC to the phone with the basic flasher and once it is unlocked as I know from historical CDMA workshop methods you may now access the phone via serial port from your desired program.

And in DFS I am able to read/write just about everything so I am finally done with this.

:D

and so now I am here: (Which is for: DFS guide)

 
  • Like
Reactions: robnitro

DrUnkeN_TiGeR

Senior Member
Jul 9, 2008
263
27
57
Sooo, I have been up all night. And I finally flashed an entire set of Sprint Images which changed the entire look of my phone once it was factory reset, it of course brought up the enter password 30 tries screen, so I held down power and shut it down then reboot into recovery easy peasy.

Then during the course of events I've downloaded a file simply called basic flasher.
NOW with the older LG G8 Sprint loaded onto the phone I am able to enter ##diag# and access the phone with basic flasher read device info, choose LG, and finally get my phones SPC.

So, I can do what I've been trying to do, and on the other hand this is essentially a downgrade to a version which is entirely rootable so long as you install the entire system, factory reset, then follow the instructions as per another guide if neccessary. but I am not looking to root I just want to be able to change my APN settings and anything else that requires the SPC/MSL

I'll get to uploading ALL the files including the patched boot img that goes with the version of the phone to be flashed and the basic flasher program.

Which btw also brings me to the modified version of DFS which does not connect online and I guess it's a hacked version I really don't know but I was able to send the SPC to the phone with the basic flasher and once it is unlocked as I know from historical CDMA workshop methods you may now access the phone via serial port from your desired program.

And in DFS I am able to read/write just about everything so I am finally done with this.

:D

and so now I am here: (Which is for: DFS guide)

i sent you a pm
 

Faylynx

Member
Apr 10, 2020
26
7
13
I got the previously jank phone downgraded, and then magisk patched boot b (backing up abl a,b, and boot a&b first just in case,.. EDL flashed boot_b with the magisk patched boot_b and got root on my phone.
Although I'm android 9 now, but is rooted!
 

sarraBell

New member
Mar 6, 2021
1
0
1
Hi. I've followed your instructions all the way up to rebooting into fastboot - with both ways you listed, all my phone does is reboot, but not into fastboot. Can you help?

Btw, thanks for this.
 

Faylynx

Member
Apr 10, 2020
26
7
13
This is the guide that only works for specific variants:

In this guide is link to the "20d backup" it is 7-8gb in size.

If you are not yet bootloader unlocked and stuck and don't mind downgrading just flash engineering abl_a to abl_a and abl_b , boot into flashboot, from command or powershell run fastboot oem unlock and unlock your bootloader first.

If you are bootloader unlocked and for some reason cannot boot or re-root your phone and don't mind downgraded to android 9, then what I did was to:

Enter EDL and in QFIL I flashed (from the aforementioned sprint 20d backup) ALL the .img files to their respective slots. Not all of them are going to be used so if it matches it flashes.

Then I reboot into Recovery and Factory/Data Reset.

Now it boots into Android 9.

Then install Magisk, without SD Card or SIM in phone in Airplane mode to prevent updates, and I disabled Lookout App Just in case so it will not interrupt the boot patch process.

Patch the boot_b downloaded from EDL, or in this case the one in the folder with all the img's should work since it should be the same file but just to be safe again I used Read and used the one from the phones partition after rebooting once in case it changes.

Reboot into EDL and with QFIL use the magisk patch according to this threads instructions basically continuing from where I am - "bootloader unlocked : install/patch with Magisk"
-- I patched boot_b.bin then QFIL flashed boot_b with the magisk output img file..

Now the phone boots and is rooted.

Now Basic Flasher works either because it's android 9 or because it is rooted.
I just uploaded basic flasher to the onedrive phone folder I've posted a link to.
Basic Flasher is SAFE it will require to turn off browser security to download and may show a Net Framework error upon launch, the app is password protected password is oriax123

put phone into diag mode ##3424#
Make sure usb option is to Charge only!
run SCAN: next to scan select SERIAL port with the COM number NOT MODEM.
Press Connect, Press Read Device, on Method select LG, Press read SPC
Press Send SPC
Your phone is now unlocked for service programming VIA Serial Port.
 
Last edited:
  • Like
Reactions: robnitro

bambi007

Member
Apr 14, 2010
41
4
28
Hi to All, I successfully unlocked bootloader and installed magisk for my LG 8GX THINQ.
But I have one major problem: There is NO Sound whatsoever. I can change volume to max and I do not hear anything.
Even when plugging in the headphones I do not hear any sound. So it seems a software problem.
But it was working the day before. Also I can not play any whatsapp sounds or youtube videos. they give error message, that the audio file can not be played. seems that I lost my codecs?!
Does anyone know how this could have happened and what I can do? I am on Android 10, 20d-eea-xx and model is
LM-G850EMW

Edit:
Solved by flashing a patched magisk from my original boot_b
 
Last edited:

Dr abeu

New member
Mar 4, 2021
4
0
11
I uploaded files qdloader for qfil here:
32 and 64 bit depending on your system.

I can't root my phone anymore, after I messed it up the first time removing sprint apps, I reinstalled the original boot_b. If the phone gets stuckin a magisk version of boot_b bootloop get to fastboot via EDL and load the engineering abl_a to A & B, the n flash original abl's and boot in fastboot. But when I create a magisk boot_b.bin patched file I just get a bootloop.
At least I can get into fastboot and EDL mode over and over again.

On another note one time it switched to slot A and asked for a password so I had to go back to fastboot and use the command fastboot --set-active=b

This did not work with minimal ADB & Fastboot I downloaded the SDK version
And now the version of the qualcomm driver from the original link works no sahara error but it doesn't change anything about trying to flash the magisk.img to boot_b (my active slot)
I just want my MSL so I can edit my APN when not on Sprint! :p
This is actually the first time I root a phone, and I'm still stuck at this same error in QFIL, even after installing your QDLoader.

Just by messing with the bloatwares, you can't boot your phone anymore? How strange. I haven't tried to remove mine yet.

The thing I hate most is the sprint logo on boot.
 
Last edited:

Faylynx

Member
Apr 10, 2020
26
7
13
I sucessfully used shortcut master lite to locate the edit for the apn on the Sprint G8 thinQ!!! So now it can be programmed for ANY Network! And now I have the LTE conncection on H2O wireless on the Sprint LG G8 Thinq.
The main settings in the phone menu remain greyed out but added APN's now appear but can only be edited in the App. Via
com.lge.hiddenmenu (409 items) Thsi will have an Android Icon next to it.

-> Scroll down to APN Editor (This may require going to the APN Unlock first, which only need to be clicked on but when I found that first I hoped the main menu would unlock, so go unlock it if the APN editor doesn't work)
APNEditor is about half way down on the scroll bar.

NOTE! -> When you click on some of these menus a pop up will appear in order to continue you MUST CLICK QUICKLY ON LAUNCH TWICE IN A ROW. The very first time Superuser Permission will pop up for the App.

Thank you so much for your assistance!

Verified by sending a test MMS & browser works.
Screenshot_20210308-023959.png


Listen to my Mixes!

https://soundcloud.com/user-677844650
 
Last edited:

Faylynx

Member
Apr 10, 2020
26
7
13
I've really messed up and now I can only get my phone into edl mode. It won't start or anything. No download mode or anything. Just EDL and that's it. Can someone please help?

You need to let us know what type of phone you have first, including the Carrier it came from.
If it's LG G8 Thinq Sprint you can just use EDL to flash android 9, you will have to download 7GB
If it's another carrier you can enter Emergeny mode and hope for a flashable KDZ to be online.
Sprint does not share it's KDZ's so a Sprint phone requires, .. more work.

If you have a different model you should check a forum specific to your phone for recovery.
 

robnitro

Senior Member
Feb 21, 2010
74
12
28
Samsung Galaxy S21
I sucessfully used shortcut master lite to locate the edit for the apn on the Sprint G8 thinQ!!! So now it can be programmed for ANY Network! And now I have the LTE conncection on H2O wireless on the Sprint LG G8 Thinq.
The main settings in the phone menu remain greyed out but added APN's now appear but can only be edited in the App. Via
com.lge.hiddenmenu (409 items) Thsi will have an Android Icon next to it.
On the g8x sprint, I cannot find such menu nor com.lge.hiddenmenu.... frustrating
 

Top Liked Posts

  • There are no posts matching your filters.
  • 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