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

Search This thread

elbaroark

Member
May 31, 2010
34
2
Sturgeon
Anyone have a copy of a stock build.prop for G8/G8X TQ? I am attempting to get the fingerprint working again, but need a copy of it to compare mine to, since it was bootloader unlocked and rooted
 

garyww39

New member
Sep 10, 2021
2
0
does this work on the G850U20p software version mine is sprint G8X thinq version im not sure what version of magisk modded boot image to use
 

cxrlxsvs

New member
Jul 24, 2022
1
0
Descargo de responsabilidad: No soy responsable de ningún problema por el uso de esta guía.
Funciona para G8, G8s, G8x y v50
Confirmado trabajando en G8 y v50

Requisitos: Android 10

QFIL: https://drive.google.com/file/d/1P7uGjIirqGRdkwlxgKf_idepDlv6_u-q/view?usp=sharing
Controlador QFIL: https://drive.google.com/file/d/1sPJm1RuSoVX9JMEs-Gx8xNuEDadO6rpj/view?usp=sharing
Controlador móvil LG:
ADB: https://drive.google.com/file/d/1nvlwaicFpDN_4DGR0BZRWUDgwQwYzOhS/view?usp=sharing
Manguera de fuego: 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 solo frp: https://drive.google.com/file/d/1294cXerj2_EkeGw1p38CcVPuyRfdS9N5/view?usp=sharing
Este Verizon FRP img solo se probó en LG G8 Verizon y no se recomienda su uso en otras variantes de Verizon, ya que evitará que el teléfono arranque.

Desbloqueo del gestor de arranque
Desbloquear su gestor de arranque borrará todos los datos de su teléfono

Primero instale el controlador móvil LG, el controlador QFIL y QFIL (seleccione la primera opción, WWAN)

Todas las variantes que no sean Verizon: Vaya a Configuración, > sistema > información sobre el teléfono > software > toque Número de compilación 7 veces.
Vuelve a Configuración > Opciones de desarrollador de System >. Marque Habilitar desbloqueo OEM
View attachment 5194789


Arranca tu teléfono en EDL
Puede asegurarse de que su teléfono esté en EDL conectando su teléfono a su PC y verificando el Administrador de dispositivos > puertos > Qualcom HS-USB QDLoader 9008 (COM#)
View attachment 5194763
Mantenga presionado Vol- y Power, cuando la pantalla del teléfono se apague para reiniciar, comience a presionar rápidamente el vol + pero mantenga presionado vol- y power.
Aquí hay un video de youtube de cómo arrancar en EDL:

Abra QFIL, seleccione el puerto de su teléfono, seleccione Flat Build en Select Build Type, Seleccione el archivo Firehose.elf en Select Programmer, en la parte inferior derecha de QFIL seleccione UFS como Tipo de almacenamiento.
View attachment 5194769
Haga clic en Herramientas > Administrador de particiones.
Busque Abl_a y haga clic derecho en él y seleccione Administrar datos de partición. Haga clic en Leer para hacer una copia de seguridad de su abl_a.
View attachment 5194773
Vaya al Explorador de Windows y vaya a C:\Users\Username\AppData\Roaming\Qualcomm\QFIL\COMPORT #
Cambie el nombre de su ReadData_ufs_Lun4.bin a abl_a.bin
View attachment 5194775

Haga lo mismo con abl_b, boot_a y boot_b.
Boot_a y Boot_b es para Magisk Root. Saltar si solo desea desbloquear el gestor de arranque.
View attachment 5194777
Cierre partition Manager. Su teléfono se reiniciará a EDL por sí solo después de presionar OK. Espere a eso.

Vuelva al Administrador de particiones y haga clic derecho en abl_a nuevamente, luego seleccione Administrar datos de partición, luego Seleccione Cargar y elija el archivo de ingeniería abl.
Haz lo mismo con abl_b.
Cierre partition Manager. Su teléfono se reiniciará a EDL por sí solo después de presionar OK. Espere a eso.

Reinicie en Fastboot. Mantenga pulsado Vol- y Power y luego libere energía cuando se inicie el reinicio y mantenga presionado vol-
Si eso no funciona, desenchufe y apague su teléfono. Sostenga vol- y conéctelo. Debería entrar en fastboot.
Una vez que su teléfono esté en Fastboot, debería decir
Estado del dispositivo: Ranura A/B bloqueada y activa: _a o _b
recuerde cualquier ranura que diga su dispositivo y permanezca en esa ranura, puede arriesgarse a bloquear si cambia a la otra ranura. También necesita esto para Root más adelante.
View attachment 5194783

Extraiga el ADB.zip
Abra un símbolo del sistema y cambie el directorio a la carpeta ADB que acaba de extraer
cd C:\adb
ejecute fastboot devices en ese símbolo del sistema. debe mostrar "LMG850UM fastboot"

Mueva la copia de seguridad abl_a.bin y abl_b.bin a la carpeta adb, también frp_verizon.img si tiene el LG G8 de Verizon.
View attachment 5194787
Verizon LG G8 solamente: Ejecute fastboot flash frp frp_verizon.img y luego fastboot reboot-bootloader

Reinicie en Fastboot. Mantenga pulsado Vol- y Power y luego libere energía cuando se inicie el reinicio y mantenga presionado vol-
Si eso no funciona, desenchufe y apague su teléfono. Sostenga vol- y conéctelo. Debería entrar en fastboot.
Ejecute fastboot oem unlock
Seleccione Desbloquear el gestor de arranque con las teclas de flecha y presione el botón de encendido
View attachment 5194799
Reinicie de nuevo en el gestor de arranque. Desenchufa el teléfono, apaga, mantén pulsado el vol y, a continuación, conéctalo.
Su teléfono debería decir Estado del dispositivo: desbloqueado ahora
View attachment 5194801


Ahora fastboot flash abl_a abl_a.bin
y fastboot flash abl_b abl_b.bin
Terminar con fastboot reboot
Su teléfono ahora está desbloqueado el gestor de arranque.





Raíz de Magisk
Solo haga esto después de haber seguido la guía anterior y haber desbloqueado su gestor de arranque.


Magisk
Foro Xda: https://forum.xda-developers.com/f/magisk.5903/
Hilo Xda: https://forum.xda-developers.com/t/magisk-the-magic-mask-for-android.3473445/
Página de Github: https://github.com/topjohnwu/Magisk


Encuentra la ranura en la que te encuentras desde el gestor de arranque fastboot anterior
Vaya al Explorador de Windows y vaya a C:\Users\Username\AppData\Roaming\Qualcomm\QFIL\COMPORT #
Transfiera a su teléfono el boot_a.bin o boot_b.bin que hizo una copia de seguridad en la carpeta COMPORT#.

Descargue e instale Magisk Manager.
Abra Magisk Manager y junto a Magisk presione "Instalar", luego "Seleccionar y parchear un archivo" y seleccione la boot_a.bin o boot_b.bin.
Después de que Magisk haya parcheado su img de arranque, debería tener magisk_patched #####.img en la carpeta de descarga de sus teléfonos.
Transfiéralo a su PC.

Reiniciar un EDL
Abra QFIL. Haga clic en Herramientas > Administrador de particiones.
Busque la ranura en la que se encuentra desde el gestor de arranque de arranque rápido antes y haga clic derecho en boot_a o boot_b y seleccione Administrar datos de partición.
Haga clic en Cargar y seleccione el archivo magisk_patched###.img que transfirió desde su teléfono.
Espere a que termine y luego cierre el Administrador de particiones. Su teléfono se reiniciará a EDL por sí solo después de presionar OK. Espere a eso.

Reinicie el sistema manteniendo presionado vol- y power hasta que su teléfono se reinicie fuera de EDL y luego suelte ambos.
Su teléfono ahora está Bootloader desbloqueado con Magisk Root.






Esperemos que esto ayude.
Esta guía fue escrita por mí, pero la información fue proporcionada por Cloud1250000.
Si hay algún error, hágamelo saber y lo solucionaré.
Probé y seguí las instrucciones al pie de la letra, pero tengo un LG V50 Qhinq Variant de Verizon y no me permite desbloquear el gestor de arranque, sale este error, ¿hay alguna solución?

Mod translation: I tried and followed the instructions to the letter, but I have a Verizon LG V50 Qhinq Variant and it won't let me unlock the bootloader, I get this error, is there a solution?
 

Attachments

  • error fastboot oem unlock.png
    error fastboot oem unlock.png
    603.1 KB · Views: 25
Last edited by a moderator:

don2007

New member
Feb 13, 2011
1
0
Probé y seguí las instrucciones al pie de la letra, pero tengo un LG V50 Qhinq Variant de Verizon y no me permite desbloquear el gestor de arranque, sale este error, ¿hay alguna solución?

Mod translation: I tried and followed the instructions to the letter, but I have a Verizon LG V50 Qhinq Variant and it won't let me unlock the bootloader, I get this error, is there a solution?
Brother try this file

Verizon LG G8 only frp
Same methods as lg g8 verizon
 

AsItLies

Senior Member
Nov 4, 2009
1,618
602
tucson
Samsung Galaxy S10
If I flash an engineering abl file, will the smartphone work with it?
Generally, no. The engineering abl's are created when the phone is first made available. So, if the phone originally shipped with android 9, then the eng abl is android 9. Almost always, you're phone won't boot a10 or 11 etc etc, with the eng abl.

But, you can use the eng abl to do fastboot things on those (a10, a11, etc) devices. But they won't boot the device, you have to flash the current abl back so it will boot.

To get 'around' this: Some have put the eng abl on the inactive slot abl. Then use twrp to change slots and boot bootloader. Then, when done with abl / fastboot, use fastboot command to switch slots, then fastboot reboot.

little tedious, but it works.
 
  • Like
Reactions: INFERNO777

AsItLies

Senior Member
Nov 4, 2009
1,618
602
tucson
Samsung Galaxy S10
i got Download Fail:Sahara Fail:QSaharaServer Fail process fail while doing the partition manager how do I fix this?

This is a very common error. There are a few things to do to get it to work: 1) be sure to use a usb 2.0 port, not 3.0. 2) be sure the cable you're using isn't just for charging, you need a thicker one also for data 3) Windows doesn't allow 'unisgned' drivers to work, either modify windows or get version with signed driver 4) last but not least, some have just used a different computer and gotten it to work.

qfil software is old software, sometimes you have to work at it to get it to function with newer OS.
 
  • Like
Reactions: meuem

meuem

New member
Nov 22, 2021
4
0
worked on korean v50 (v500n)

for qfil to work, I had to use windows server 2019. linux should work too. i had errors on both my main machine and my laptop, both of which are running win 10 pro

for fastboot to work, I had to enable testmode (requires you to turn off secure boot in your uefi)

thanks to cloud1250000 for helping me through the process
i have the same v500n ill try to use windows server 2019, ill update if something happens
 

meuem

New member
Nov 22, 2021
4
0
i have the same v500n ill try to use windows server 2019, ill update if something happens
ok this is my update
its a success, if you have problems with sahara error try to change your usb cable or transfer to usb ports then when it comes to fastboot you need to install fastboot driver manually in device manager, then you need to watch videos and join telegram gc and search keywords about the problem your facing and you will see convos about it last ly u need luck
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    If I flash an engineering abl file, will the smartphone work with it?
    Generally, no. The engineering abl's are created when the phone is first made available. So, if the phone originally shipped with android 9, then the eng abl is android 9. Almost always, you're phone won't boot a10 or 11 etc etc, with the eng abl.

    But, you can use the eng abl to do fastboot things on those (a10, a11, etc) devices. But they won't boot the device, you have to flash the current abl back so it will boot.

    To get 'around' this: Some have put the eng abl on the inactive slot abl. Then use twrp to change slots and boot bootloader. Then, when done with abl / fastboot, use fastboot command to switch slots, then fastboot reboot.

    little tedious, but it works.
    1
    i got Download Fail:Sahara Fail:QSaharaServer Fail process fail while doing the partition manager how do I fix this?

    This is a very common error. There are a few things to do to get it to work: 1) be sure to use a usb 2.0 port, not 3.0. 2) be sure the cable you're using isn't just for charging, you need a thicker one also for data 3) Windows doesn't allow 'unisgned' drivers to work, either modify windows or get version with signed driver 4) last but not least, some have just used a different computer and gotten it to work.

    qfil software is old software, sometimes you have to work at it to get it to function with newer OS.
  • 70
    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.
    6
    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.


    Maybe I'm not catching on to something but, following the guide I don't have a abl_b.bin file besides the one backed up.
    There was a link provided for an abl_a.bin file.
    What am I not understanding?

    Okay I got it this morning. Reread it still didn't understand but had some hunches so check around the net about LG dual sim unlocking and then it clicked. It was meant to say load the engineering file provided into both abl_a and abl_b

    Thanks for the guide maybe rephrase that part. I was super confused for a bit, would never overwrite something with a different name without being super clear.
    6
    Success!

    I have a G8 (LM-G820TM, US T-Mobile variant) that had been updated OTA to Android 11 (G820TM30b). I used Windows 10 Pro 64-bit, version 21H2, on a Dell Latitude E6230 (That shouldn't matter, but is provided for reference).

    Some notes for anyone else doing this, and wisdom I got from more experienced commenters in this thread:

    • Read all the instructions carefully. Read every word slowly. Do what you need to do to make sure you don't skip any steps. If necessary, print out the instructions and cross them off one by one.

    • EDL Mode doesn't show anything on the screen. You'll only know if your phone is in EDL mode if your computer makes a USB Connected chime, and it shows up under Ports in Device Manager.

    • Use a good quality USB 2.0 cable and USB 2.0 port. QFIL is finicky, and doesn't like USB 3 ports. If you get a Sahara error, use a different cable, a different port, or a different computer.

    • When you back up your abl_a and abl_b partitions, they should be about 1MB. (1024KB exactly, in my case). If they're significantly larger, then they didn't read correctly. You'll need to flash them back later, and if they didn't read correctly, you can't restore them.

    • The provided engineering abl_a should be flashed to abl_a and abl_b.

    • The engineering abl should only be used to enable fastboot temporarily so that you can unlock the bootloader. You can't leave it there - you have to flash your original abl_a and abl_b back to your phone once the bootloader is unlocked. If you leave the engineering abl on there, you'll either get a bootloop or your touchscreen won't work.

    • When booting into fastboot for the first time, Windows doesn't use the correct (or any) driver, so the phone just shows up as "Android" in Device Manager, and it doesn't show up when you do "fastboot devices". I had the LG Mobile Driver installed per the instructions, so it was just a matter of pointing Windows at the correct driver. In Windows 10 it was Update Drivers -> Browse my computer for drivers -> Let me pick from a list of available drivers on my computer -> Android -> LGE Mobile ADB Interface
    5
    It should since the abl used is from a g8x and it worked on my v50 sprint.. :)
    4
    Ok, so maybe you unlocked the bootloader, still not sure. But you didn't even root? How do you consider this a success then?

    Well, to answer the first part of your response here are a couple images (jpg type)

    And for the rest of your response, I am going to try to finish out this tutorial this morning. I can say this much in advance: I have found that once a phone has been bootloader unlocked, gaining root (whether it be by magisk, the ol' SuperSU, or whatever) becomes an eventuality of overwhelmingly high likelihood of success. I am saying 'high likelihood' only because I realize that there are never any absolute guarantees in XDA, and it's not a good idea to jinx yourself by getting overconfident. So I'm gonna try to get rooted here and keep my fingers crossed, but I personally can not recall ever hearing of a phone whose bootloader is unlocked, that couldn't be rooted.
    v50thinQ.jpg
    v50thinq2.jpg