yashsingh1/xdaforums huggingface dataset:
[LG G8 Guides, News, & Discussion] AsItLies:
the reason qfil will have trouble making backups or restoring properly is, in my experience, because u need to use a usb 2.0 port, not a 3.0.

qfil is old software, developed before usb 3.0 speeds, and thus doesn't handle those speeds appropriately.

My latest laptop doesn't have a usb 2.0 port, so to get around that I have an old usb 2.0 cable and an adapter to make it work with the phone. I suppose you could also set the baud rate for the port it's using.

cheers
[LG G8 Guides, News, & Discussion] netookska05:
Yes it works for Verizon variant.
[LG G8 Guides, News, & Discussion] chuckpitt34:
Thanks for replying. One more question. Do I use the Verizon frp? Or is there one for V50?
[LG G8 Guides, News, & Discussion] Rattanak:
does this work on Korean version V500N ?
[LG G8 Guides, News, & Discussion] luetaj:
Hi , I did not check the version which was 11 and i did all the steps but now its not booting

after replacing the backup abl and root fuke , still the lg v59 wont trun on nor it can go in download mode , it goes only goes to EDL mode.
[LG G8 Guides, News, & Discussion] chuckpitt34:
i need help. im on the steps where you load the abl_a.bin modified boot. and im watching a video and he a option to save the partition. On Qfil i only have the option close. Do i have to save it or can i continue
[LG G8 Guides, News, & Discussion] chuckpitt34:
i continued but it failed to flash
[LG G8 Guides, News, & Discussion] AsItLies:
Looks like you missed a part, you're suppose to left click the partition you want to modify / save / change, and then right click it and select 'manage partition'.

It's at that point you have the option to erase, load, etc. The output, at the bottom of the qfil app will tell you success / failure etc.

cheers
[LG G8 Guides, News, & Discussion] chuckpitt34:
Thanks the video I'm watching the guy is way to slow. So I probably jumped too far ahead
[LG G8 Guides, News, & Discussion] chuckpitt34:
i cant figure out what im doing wrong. please help
[LG G8 Guides, News, & Discussion] chuckpitt34:
Thanks for the guides, My verizon V50 is bootloader unlocked, rooted, and working TWRP.
[LG G8 Guides, News, & Discussion] patrack:
My lg g8x is bootloader unlocked and rooted, im trying to get into download mode to flash the original KDZ but since i unlocked the bootloader, I can't get into download mode or fastboot i tryed every combination listed with no success. All i have left is recovery mode and edl and usually take 50 tries before succeedind. Is anyone have that issue?? Before rooting i didn't have any problem.
[LG G8 Guides, News, & Discussion] AsItLies:
Two things I can think of: 1) did you erase the laf partition to get fastboot? If yes then simply restore the laf partition and LGUP should work again. 2) Have you changed the FTM partition at all? that partition controls access to fastboot and recovery, it might have some control over Download mode also, I don't know. But if it's been changed and you have the original backup, might be worth flashing it to see if it helps.

cheers
[LG G8 Guides, News, & Discussion] trungsypro:
V50s N510 Android 11 is working but fingerprint lost
[LG G8 Guides, News, & Discussion] Buynaa:
Hi! Can u share boot_a boot_b? Thank for all
[LG G8 Guides, News, & Discussion] patrack:
Thank you for your reply.

I didnt touch any partition outside abl and boot required to unlock bootloader and root but i made some progress. Originally i unlocked the bootloader then root with magics then flashed twrp when that was done i backup boot,system image, vendor image and modem. After a flashed lineage rom to try, too many bugs on the g8 so restored with my back up boot, system, modem. Thats when i noticed i couldn't enter fastboot or download mode so i dont know when along the line i lost it. But after reading your reply i decided to wipe the phone and restore again from my backup but this time i included the vendor image to restore this seem to have fixed the download mode issue. So now i have access to edl, download mode and recovery but still can't get to fastboot. At least now I can reflash the original kdz back to it. My thought was to do that so i could do the ota update then re-do unlock and root as now rooted i can't do any update. But now im not so sure, is the kdz i have the right one, am i going to able to root the phone again? Heard on some device, if you re lock the bootloader you can't unlock it anymore. i maybe stuck with android 10 as i haven't found any rom stable enough for me on the g8x, so does it worth the risk to reflash the kdz just to be able to get the latest update? As it is it works pretty well and i can start trimming the bloatware as im rooted now.
[LG G8 Guides, News, & Discussion] optimus207:
Any one have boot_a and Boot_b of v500 kt pls share with me, my phone stuck in logo booting, its still flash then off again and again after flash magisk mod (and i fogot back up :(), thank you!!!
[LG G8 Guides, News, & Discussion] jian1:
I still dont get it, what does it mean to "load engineering file into both abl_a and abl_b"? I dont see any engineering fi!e provided other than a file in google drive called "abl_a.bin"
[LG G8 Guides, News, & Discussion] AsItLies:
That's the one you want. While it's not descriptive, the 'tip off' that's what you want is simply that there's not other abl image the OP would offer a link to other than the engineering abl.

Just rename it to eng_abl_a so it doesn't get confused with a stock abl image.

cheers
[LG G8 Guides, News, & Discussion] Sinleth:
Is it possible to lock the bootloader without going into fastboot? I am unable to boot into fastboot anymore for some reason that's beyond me.

Edit: This needs to be done EVERY time when trying to connect adb with fastboot.
[LG G8 Guides, News, & Discussion] Sinleth:
finally locked my bootloader. drivers can be a nightmare.

magisk root never worked for me anyway.
[LG G8 Guides, News, & Discussion] AsItLies:
Sounds like you're running into 'Windows' issues. If you're having to do video over and over, it's windows that's not allowing 'unsigned' drivers (search google for how to fix that).

And magisk root not working for you? Magisk root always works, if it's installed correctly. For help just post what's happening that is causing a problem, people will help.

That said, it's perfectly legit to just not root. It really should come down to 'do I need it'? Sure, it's considered fun to have, but if u don't need it, there's nothing wrong with moving on to other fun things, gcam ports etc.

cheers
[LG G8 Guides, News, & Discussion] Sinleth:
I had already restarted my computer with driver signature enforcement disabled, so that wasn't the issue with me having to install the drivers everytime I tried connecting to fastboot via cmd.

Magisk didn't work in the sense that whenever I finished all the steps to unlocking the bootloader successfully, the Magisk root would simply brick my phone into an infinite boot loop. I only tried that once though... Reading through the steps again it does seem like I did everything right. Phone was always unlocked on the _a partition but the Magisk patch simply didn't work for me. (LM500N LGU.)

Thanks for the reply though, I do appreciate it. I would've stayed on an unlocked bootloader but I didn't like the warning message on bootup and there was also some setting on the phone that was inaccessible with the bootloader being unlocked...(I don't remember what it was anymore but I'm sure I'll come across it again.)
[LG G8 Guides, News, & Discussion] jian1:
Successfully unlocked the bootloader, now working on the root portion. However there is one more question I wish to ask, for every OS update, I understand I have to reroot, but my question is will the rerooting procedure reset the phone or not? it would be tedious to continuously setting up everything after each OS update..... thanks
[LG G8 Guides, News, & Discussion] jian1:
Hi, I ran into the same looping boot problem after magisk patched the boot file, it turned itself into a looping boot, but however I don't think I have anything to do with secure boot? All I had for screen lock is "Swipe to unlock the screen", is it considered secure boot?
[LG G8 Guides, News, & Discussion] jian1:
The LG driver can be a pain in the arse to work with on windows and all I got is a yellow exclaimation mark on it, thus I have a virtual Linux box for completing the fastboot patching steps, the Linux distro I use is Debian and only two packages would be required to install, and they are android-tools-adb and android-tools-fastboot. Linux kernel has a perfectly working LG driver for LG G8X. See my screenshots:

View attachment 5470113View attachment 5470117
[LG G8 Guides, News, & Discussion] jian1:
For those who stuck in a loop after magisk patched the boot file, don't panic. press volumn down and power (the screen will keep looping, but dont' mind it), and when the screen goes black, tap volume up rapidly and once in device it shows Qualcomm driver then you are back to EDL mode to flash back your backup boot file.

This can be some what tricky as you have to tap volume up at the exact black out moment during the loop, but it's doable, and no reset or firmware flash required.

Don't panic, you might thought you had bricked your phone, but you actually didn't. :P
[LG G8 Guides, News, & Discussion] jian1:
Anyone has this looping boot issue after rooting? magisk rooted boot.img caused the booting screen to infinitely looping and I don't think I have a secure startup (does swipe to unlock screen considerred "secure startup"?)
[LG G8 Guides, News, & Discussion] jian1:
ETA: nvm, I found the culprit, you have to magisk the boot image on the LG G8X phone itself!!!

One more question:

should I check the "Preserve force encryption" option when patching the boot bin in Magisk? Thank you​
[LG G8 Guides, News, & Discussion] BOBxibyt:
Having same issues after upgrading to a11 I followed magisk root steps and till now no way to root how did you fix yours you mind explaining
[LG G8 Guides, News, & Discussion] jian1:
For Magisk, do you tick the option "Preserve force encryption"? and so it's better to stay on Android 10 for rooting right?
[LG G8 Guides, News, & Discussion] BOBxibyt:
Me too
[LG G8 Guides, News, & Discussion] fandanguitop:
I have my bootloader unlocked, can i just backup my current boot_a and boot_b and use that or do i have to do all over again?

Do i select the file of the slot the fastboot says or the opposite one?
[LG G8 Guides, News, & Discussion] googleygoggles:
Ahhhhhhhhh I finally did it. Thanks for the guide, managed to unlock my T-Mobile LG G8 bootloader, flash magisk, and flash a custom ROM but boy was it hell getting there.

After getting the infamous Sahara error, switching PCs and trying again seemed to work. Go figure. That was a big waste of troubleshooting time. Once the pain of getting the bootloader unlocked was finally over, TWRP was an even bigger pain. I don't even know how but I somehow triggered the Factory Reset "Kill Switch", which meant I couldn't restart into TWRP using the vol/power key combo without my phone getting triggered, even though there were no accounts, and no security on the phone. Bc of course.

Didn't feel like nuking it and trying again so I managed to get around that by plugging in a freaking mouse since for some reason TWRP has OTG mouse support. Anyways, I did all of this because LG is terrible at updates. My god I miss the old days of the Nexus 4/5...
[LG G8 Guides, News, & Discussion] Незнакомец 777:
View attachment 5474181
[LG G8 Guides, News, & Discussion] Незнакомец 777:
Здравствуйте Seasee606 мы все блогадарны за вашу статью по поводу разблокировки загрузчика но мне интересует один вопрос что именно нужно загрузить в QFIL раздела search path во открывшемся окне который есть на скриншоте? и дальше уже по вашей инструкции очистить laf_a заранее спасибо за ответ!!!

Mod Edit: English Translation Below

Hello Seasee606, we are all grateful for your article on unlocking the bootloader, but I'm interested in one question: what exactly needs to be loaded into the QFIL of the search path section in the window that opens, which is in the screenshot? and further, according to your instructions, clear laf_a thanks in advance for the answer !!!
[LG G8 Guides, News, & Discussion] googleygoggles:
Please follow the forum rules and only post in English, or include an English translation.

Thank you.
[LG G8 Guides, News, & Discussion] astonmartin214:
my phone is now on A11 so how would I downgrade on the VZW model
[LG G8 Guides, News, & Discussion] AsItLies:
So you're on a11, and want to downgrade to an earlier android version of the vzw firmware?

If your device is a vzw device, I think you can just use lgup with the earlier version kdz. (You would probably have to do partition D/L as refurbish and upgrade may say you can't go back versions)

If your device isn't vzw follow this link for crossflashing.

cheers
[LG G8 Guides, News, & Discussion] marx68:
Working on a LG G8 Thinq Amazon version.

I followed instructions and have the bootloader unlocked, Magisk installed, verified root and TWRP installed. However, TWRP doesn't have write premissions and I can't install the disable DM Verify zip. Kinda stuck. I used slot A and did the Magisk patch on boot_a. Then flashed TWRP, then flashed Magisk again to keep root before reboot.

New phones are so hard to hack. I wanted to install Arrow rom or maybe LineagOS that's posted here.

Any tips would be appreciated.
[LG G8 Guides, News, & Discussion] astonmartin214:
yes my phone is how do I find the kdz file for my device I've looked & couldn't locate it
[LG G8 Guides, News, & Discussion] AsItLies:
there's both android 9 and 10 for vzw on this list:

Google

Search the world's information, including webpages, images, videos and more. Google has many special features to help you find exactly what you're looking for.

lg-roms.com
[LG G8 Guides, News, & Discussion] rootnooby:
Got to the step below and just can't seem to get to fastboot mode. Using an US variant AT&T LG G8 on android 10 software version G820UM20x. Tried the various button combos and "ADB reboot bootloader" command with no luck. Any help would be appreciated! Thanks!

"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."
[LG G8 Guides, News, & Discussion] AsItLies:
So, before you get to this step, there are many steps before it. The most likely one that you missed would be flashing the engineering abl to both abl_a and abl_b (back up both first before overwriting them).

You flash it to both because you don't, at this point, know which slot you're on. Then, after unlocking boot loader, you flash back (using fastboot) both abl_a and abl_b, that you saved before. We do that so the phone will boot (it almost certainly won't boot with the engineering abl).

cheers
[LG G8 Guides, News, & Discussion] rootnooby:
Thank you for the reply. I thought I followed all the steps accurately but I will double/triple check. I made the copies of the abl_a an able_b files. What step actually is "flashing the engineering abl"?

Thanks again for the help.
[LG G8 Guides, News, & Discussion] AsItLies:
find the following in the guide:

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.

it's that engineering abl that gives fastboot. Without it, will never work.
[LG G8 Guides, News, & Discussion] rootnooby:
Thank you. I'll run through these steps again in case I did it incorrectly the first time. Will reply with my results.
[LG G8 Guides, News, & Discussion] rootnooby:
Still no luck. In this step:

"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."

Am I supposed to load and choose the abl_a.bin and abl_b.bin files I just created and backed up in users/appData/roaming/qualcomm/Qfil/comport??? If so, that is what I did. I did notice the abl_a and abl_b files were larger this time when I created them (both are 32,768kb) so I believe I did that correctly. Previously they were small files.

When I closed the partition manager, I waited for it to go back to EDL mode and tried the next step to fastboot while in EDL mode by doing the following:

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.

Neither way worked. I closed Qfil, unplugged, powered off and tried to get into fastboot by holding volume down and power, then letting power go when the reboot started. No luck.

Did I do the entire process properly?

Thank you.
[LG G8 Guides, News, & Discussion] AsItLies:
No. It's not as clear as it could be, but at the top of the guide you'll find this:

abl: https://drive.google.com/file/d/1sye4gXsDfD8JVF5qfAMG_GDxSLKY6J6Q/view?usp=sharing

So, ask yourself, what is that pointing to? it says abl? Could that be the engineering abl? The answer is Yes, it is. I mean, what other abl would he provide a link to?

Saving your current abl, then flashing the same back, will do virtually nothing. It's the engineering abl that gives fastboot, not the original abl.

And just to clarify, the key combo to get the device out of edl mode is to hold vol minus and pwr buttons for about 5 seconds, you'll know the device has exited edl mode when you hear the windows 'chime'. As soon as it exists edl mode (keep the usb cable plugged in), release the other keys and just hold vol minus down.

Your device should then go to fastboot mode.
[LG G8 Guides, News, & Discussion] rootnooby:
Thank you. It was my misunderstanding and I did get to fastboot mode as I should have.

However, now from fastboot mode, when I hit start, I am not just stuck on the LG logo screen. The phone will not boot up.
[LG G8 Guides, News, & Discussion] AsItLies:
And that's because with the engineering abl, you're only suppose to be using to 1) unlock bootloader 2) anything else you need fastboot for (like disabling vbmeta)

It's not supposed to be used to boot the device. The engineering abl will **ALWAYS** be the same version of android as the particular android device was released with. So, if the engineering abl is Pie, it won't boot A10.

The way it's suppose to happen is u flash the eng abl, use it for whatever needs, then use it to flash the original abl back. Then the device will boot properly.
[LG G8 Guides, News, & Discussion] rootnooby:
Makes sense. Thank you. When I took this next step noted below (with a cable connected and on the fastboot menu), the LG G8 did not show up. The command ran but showed nothing. Seems like the phone is not recognized by the ADB commands. I do show the "LGE Mobile MTP device" in my device manager but cannot get the device recognized with the adb command.

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"
[LG G8 Guides, News, & Discussion] rootnooby:
Sorry, to clarify, when in fastboot mode, the device is "not" recognized in device manager. There is an error with an exclamation point in a triange.

When I am NOT in fastboot mode and just on the LG splash screen, the device is recognized in device manager as "LGE Mobile MTP Device" I can't get it recognized by the adb devices command.
[LG G8 Guides, News, & Discussion] ludz63:
My device slot is _b but i made a mistake of replacing both boot a and boot b with the patched magical because of a different guide on youtube i followed, now my phone only boots into fastboot mode. Any advice will be helpful. Thanks
[LG G8 Guides, News, & Discussion] AsItLies:
That's a Windows problem. You have to right click on that exclamation mark. Then load the ADB driver on your hard drive for it.
[LG G8 Guides, News, & Discussion] rootnooby:
Trying to figure it out. The driver is there when the phone is plugged in and powered on and showing the logo screen. However, when I go to fastboot mode on the phone, the driver is no longer recognized and device manager shows the exclamation point error. When that error is present, ADB does not recognize the device.

Thank you for your continued feedback. I will post if and how I get it resolved.
[LG G8 Guides, News, & Discussion] AsItLies:
That is windows being dumb, it has nothing to do with the device or this guide.

With the device in adb debug mode, windows needs a specific driver loaded. With the device in fastboot mode, windows needs the same driver loaded, but it doesn't recognize the fact it already has the driver loaded, so you have to load it again. Really really dumb.

Just put it in fastboot mode (with eng abl), connect to pc, right click the exclamation mark in device manager, load the adb driver you have on the hard drive, then it will recognize the device in fastboot mode.

when you are able to type 'fastboot devices' and it shows the device name as a response, you're good to move to the next steps.
[LG G8 Guides, News, & Discussion] AsItLies:
I hope the 'different guide' you followed told you to save the original boot_a and boot_b? Because without them you can't flash them back and get it to boot again.

It's a critical thing really, to never overwrite any partition without saving what was originally there first.

What device do you have? What version of android is it running?
[LG G8 Guides, News, & Discussion] ludz63:
Thanks for responding. I own the Lg v500n, Andriod 11, and i didn't save the original files for abl_a, abl_b, boot a and boot b.
[LG G8 Guides, News, & Discussion] AsItLies:
Korean model? yes that looks like the Korean model. The kdz is available for that. You can dl the kdz and use kdz extractor to get those partitions.
[LG G8 Guides, News, & Discussion] ludz63:
Yes! It is a Korean model. "You can dl the kdz and use kdz extractor to get those partitions" please guide me on this. Thanks
[LG G8 Guides, News, & Discussion] AsItLies:
there are already many guides on how to do this. Do a google search for lg firmware for your model, then search for how to extract a kdz.

I'd suggest to only follow the guides you find on xda, most of the others just copy what they find on xda and often don't do a very good job of it.
[LG G8 Guides, News, & Discussion] ludz63:
Any xda recommended link, pls.
[LG G8 Guides, News, & Discussion] ludz63:
Pls after I've successfully extracted it, what is next? Thanks
[LG G8 Guides, News, & Discussion] AsItLies:
Well you said you need abl_a abl_b boot_a and boot_b right? do the extraction to images, then use qfil and flash those images you said you need.
[LG G8 Guides, News, & Discussion] ludz63:
Thanks, I will try it out when i get home. meanwhile i did a factory reset, surprisingly it boot into trwp recovery mode! Hmm! the only good fruit from a bad bunch. But does it really change anything?
[LG G8 Guides, News, & Discussion] Parkia_Jr:
Hi will this work for Unlocked T-Mobile G8 has anyone tried on Mobile g8?