yashsingh1/xdaforums huggingface dataset:
[LG V40 Guides, News, & Discussion] timekeepercookie:
I totally missed 1) needing to flash the V35 to abl_a AND abl_b, and 2) needing to back up my abls...so thankfully, I did both those things, and voila, I'm in fastboot.

EDIT: Except it doesn't seem my abl backups are actually doing anything when I try to reflash them, so now I'm stuck in red triangle of doom mode...oh, dear.

EDIT2: Somehow, I managed to back up...the V35 abl, not my actual abls, because of course I did. I'll see if I can recover from this oopsie.

EDIT3: After a long, long struggle, I have managed to get the phone working again. Always make sure you're backing up the right files, fellas.

Except now I'm encountering two errors--I can't run fastboot oem unlock because, well, I don't have the "enable OEM unlock" function. So I try to flash the frp, but when I do that, I get a fastboot: error: cannot load 'C:\path\to\frp': Permission denied. (EDIT 4 because I'm stupid: I was running fastboot as an administrator, and I'm on Windows 10). Searching through this thread, I saw that some people also encountered this issue, but I didn't see a solution, and looking in general, it seems the solution is to remove any sort of lock screen on the phone--but this phone is newly factory reset, and doesn't have a lock screen. Would TWRP help fix this issue? (I'm honestly a bit lost on how I'd get TWRP working, but the internet is my friend...)
[LG V40 Guides, News, & Discussion] AsItLies:
Well, this one is something you'll remember...

the guide is written in a kind of generic way, in some cases. This part is one of those cases. When it says to flash the frp, it uses a 'generic path' to indicate where the file is, because the guide can't know where, on your computer, you put the file. So when it says \path\to\frp it means your path to where u put the frp file.

cheers
[LG V40 Guides, News, & Discussion] timekeepercookie:
Hi--

I actually was using the correct path--I simply made it path/to/frp in order to protect my privacy, haha. But I've realized the actual error I'm running into is...thanks to me not having a USB 2.0 cable. Sometimes, it's a simple as that.

Unfortunately, with my attempt to try again, I found that even when I properly backed up my abl partitions, my phone wasn't able to boot when I re-flashed them (gave me the "all slots are unavailable"). Until I get a USB 2.0 cable, I'm stuck, and unless I can figure out why my correct ABL partitions aren't letting me reboot, I'm probably gonna take a break on this (work is busy, haha). Still--thank you for all the help, because I wouldn't have been able to get this far without it.
[LG V40 Guides, News, & Discussion] AsItLies:
I see, well that's serious privacy ;)

Almost assuredly, your backups are corrupted, if u used a usb 3.0 port. You're on verizon 10 right? I'll look around and see if someone has posted those abl partitions. Luckily, vzw makes their kdz available, so worst case scenario they can be extracted from the kdz.

Edit to add: Use this link for vzw 30c v40 abl, boot, laf partitions. They can be used for either slot but, keep in mind, these are version 30c, if you have 30d they will probably work. If not will have to try to find 30d.

My new laptop doesn't have usb 2.0 either, have to gerry-rig a usb 2.0 cable with adapters to make it work like 2.0 in a 3.0 port. pia.

cheers
[LG V40 Guides, News, & Discussion] AamirXtreme:
Hi, My Lg v40q Verizon doesn't have Enable OEM Unlock option in Developer mode. I am trying to flash FRP in fast mode but I get different errors. Can someone explain "fastboot flash frp path/to/frp" this command? Will it be used as it is or will it be edited to add path of frp?
[LG V40 Guides, News, & Discussion] AsItLies:
It has to be edited to be 'Your Path' to the frp file. It's generic, because the author doesn't know that path names on your computer ;)
[LG V40 Guides, News, & Discussion] AamirXtreme:
Thanks, after flashing frp i am still getting " Flashing Unlock is not allowed" error.

Edit: Unlocked the device however stuck in Faltboat even after flasing stock abl.
[LG V40 Guides, News, & Discussion] baosbth:
Help :

C:\ADB>fastboot devices

???????????? fastboott
[LG V40 Guides, News, & Discussion] AamirXtreme:
Try different version of adb/fastboot. Seen similar issue with minimal adb and fastboot.
[LG V40 Guides, News, & Discussion] baosbth:
can you give me a file?
[LG V40 Guides, News, & Discussion] AamirXtreme:
OEM Unlock Enabled?
[LG V40 Guides, News, & Discussion] baosbth:
Yes, OEM Unlock Enabled, when i flash "fastboot oem unlock", the device fails and reboots into bootloader unlock
[LG V40 Guides, News, & Discussion] AsItLies:
It's a bit difficult to figure out what yer trying to do, but a couple of notes:

1) there is no valid command called 'fastboot oem devices'. The command to verify the devices is 'seen' by fastboot is simply: 'fastboot devices'.

2) If you type the fastboot command to unlock the bootloader, and the response is 'already unlocked', then there's nothing more to do, it's unlocked. That's easily verifiable, just reboot the device and if you have a screen with a yellow exclamation mark that tells you 'bootloader unlocked, can't verify' etc etc, then that is confirmation the B/L is unlocked and yer done with that part.

cheers
[LG V40 Guides, News, & Discussion] AamirXtreme:
I have successfully unlocked my v40q Verizon with it and installed twrp+magisk+hovac 3.8 custom ROM. But I am unable to put my phone in Diag port 901d mode to repair it's imei. Dialer codes don't work at all. I tried "setprop sys.usb.config diag,adb " via terminal emulator and adb with su access but all in vain. Can someone guide me to enable Diag port on my phone because I read Verizon phones are notorious in this regard.
[LG V40 Guides, News, & Discussion] blowtorchhonor:
Great Guide! However, I cannot get the Partition Manager window to open. It says "Download Fail:Sahara Fail:QsaharaServer Fail:Process fail"
[LG V40 Guides, News, & Discussion] AsItLies:
Sahara error is exceptionally common. If you search this thread you'll find the solutions. 1) be sure to use a usb 2.0 port. 2) be sure to use a usb data cable, not charging cable. 3) be sure to have windows set to 'allow unsigned drivers' to run.

some have had to just use a different computer. It's old software (qfil).
[LG V40 Guides, News, & Discussion] blowtorchhonor:
Oh yeah, I was using a front panel usb 3 port... That is like the most basic troubleshooting step. How could I have forgotten that? Thanks!
[LG V40 Guides, News, & Discussion] hooutoo:
Asltlies, I realize this is a pretty old post but looking for a little info concerning "bkerler edl python utilities". I wanted to see if this would work with a lmv600am? Please pm me if you can?

Thanks in advance.
[LG V40 Guides, News, & Discussion] AsItLies:
So the bkerler edl python utilities need the basic firehose for the qualcomm device. I don't have a v60 so don't know if it's available for it or not. But if it is, then yes, they would work for it.
[LG V40 Guides, News, & Discussion] dervan101:
I have the same proble, but I do not understand the steps you put forward. Also how do i flash twrp because I have successfully flashed the V35 Engineering image
[LG V40 Guides, News, & Discussion] AsItLies:
whenever you read directions that say '/path/to/something'

They are talking about ON YOUR COMPUTER, you enter THAT PATH. It's a generic way to indicate, I don't know the names of the paths on your computer, so YOU type in WHATEVER they happen to be.

It looks from the output the bootloader is already unlocked, you can verify that by simply booting the device and if one of the first screens you see has a yellow caution indicator, that verifies that it's unlocked.

cheers
[LG V40 Guides, News, & Discussion] dervan101:
Well noted. Thanks so much! I encountered another problem: after successfully installing TWRP and running it, I flashed SU for root and now when I boot the device it says DECRYPTION UNCESSFUL but when I press reset, it comes back to the same thing.
[LG V40 Guides, News, & Discussion] AsItLies:
why would u want to use SU? Virtually everyone, for years, has been using magisk. And there are tons of magisk modules that help with so many things.

One thing you should always do after getting twrp is flash dm-verity-force-encrypt (then u won't get decryption errors) and flash magisk.
[LG V40 Guides, News, & Discussion] dervan101:
thanks a lot. I will try that and give feedback
[LG V40 Guides, News, & Discussion] dervan101:
Hello and thank you so much for your help earlier.

I don't know what I did but I bricked my lg v405UA AT&T and now it is stuck on QUALCOMM HS-USB QDLoader 9008

and will not boot no matter how many times a flash the v35 engineering image and press power+volume down to get

it out of EDL mode.
[LG V40 Guides, News, & Discussion] AsItLies:
Okay, because I'm not standing there watching you, and your description is lacking, must ask: are you holding vol down and power for at least 5 seconds? The directions say to hold them down until you hear the windows 'chime' sound, indicating a device has been disconnected?

it sounds like you haven't done that, and it's still just sitting there in edl mode.
[LG V40 Guides, News, & Discussion] dervan101:
I hold it for at least 15 seconds because that's the amount it time it usually takes to disconnect. But now it just disconnects and comes back to QUALCOMM HS-USB QDLoader 9008 mode
[LG V40 Guides, News, & Discussion] dervan101:
i found a tutorial on

that helped me debrick.

I will try again and flash dm-verity-force-encrypt this time. Thanks so much once again.
[LG V40 Guides, News, & Discussion] boredsalt:
Hi, I read the replies under this thread and saw that apparently this works for LG V35. Not sure if this works in my case?

I bought a second-hand LG V35 that was rooted with Magisk. However as I needed to download apps that required me to be unrooted, I thought I could just uninstall it. Since then I cannot turn it off and it is stuck in a never-ending loop between "no command" and the LG logo. I tried to get it into recovery and fastboot mode but it does not get there.

As I just got the phone, I did not enable developer's mode or USB debugging so my laptop does not recognise the device even when I plugged it in. I read that I will need to go into EDL mode instead. Can experts please help to confirm this before I do anything else to my phone? Thank you.
[LG V40 Guides, News, & Discussion] AsItLies:
so, no, if you need apps that look to see if you're rooted, you use magisk 'hide', you don't 'uninstall it'.

Magisk isn't 'installed', it's injected into the boot partition, uninstalling the app doesn't remove it from the boot partition.

anyway, to get to edl now; Something not commonly known is that you can get to edl from ANY screen. Even if the device is bootlooping, you can still get to edl.

It's really the same procedure you would use if it were booted, except that you won't see a 'count down' screen. You just wait for it to blank and the start spamming vol up. If it doesn't work first time, try again, as it will work.

cheers
[LG V40 Guides, News, & Discussion] boredsalt:
Thanks AsltLies. I finally managed to get to the

Flashing the Engineering Bootloader

step. I right clicked on the abl_a > manage partition data > load the V35 engineering bootloader image. I did not back up my abl_a though, not sure if that is going to affect anything. Anyway, I came to this screen where I could toggle between start, power off, recovery mode, restart bootloader.

I am not sure if I should execute "fastboot oem unlock" or "fastboot flash frp path/to/frp"? How do I know if the person who sold this to me has enabled the "Enable OEM Unlock" option?
[LG V40 Guides, News, & Discussion] AsItLies:
Well yes, it will be a problem. Your original abl is what you should flash back to it's partition, after you are through using (unlocking the bootloader) with the engineering abl.

The engineering abl is always going to be the android version the device was released with. So it almost certainly won't be able to boot the device if it's not running the original version of android.

When the directions tell you to back up certain partitions, they do so for a reason, you ignore them at your own peril (some partitions, like ftm, are specific to your device, there is no backup you can find).

good luck
[LG V40 Guides, News, & Discussion] boredsalt:
Oh my gosh, is there any way I can reverse back to that step? Sorry, I did not saw any information on how to back up those files on the 1st post until I came across another website.
[LG V40 Guides, News, & Discussion] AsItLies:
Hmmm, no. Once you've overwritten a partition, if you didn't back it up, it's gone forever.
[LG V40 Guides, News, & Discussion] El Quick:
Great Guide, I applied on a V405UA from Sprint and is OK.

Is there any way to carrier unlock this same model?
[LG V40 Guides, News, & Discussion] newonsh:
Hi all. I'm hoping someone is still listening. I know it's an old thread but I'm a die hard V series fan. When i finally smashed the screen on my V30 i picked up a used V40 on ebay about a month ago. My v30 was the Canadian version which was pretty locked down. I've traditionally put custom ROMs on my phones so I was keen to get a US version of the V40 (it wasn't sold in Canada anyway). I have the Sprint V405UA.

Here's my issue. I went through this guide and everything worked fine until I entered Fastboot mode and tried "fastbook oem unlock". I had fastboot/adb installed system wide and a fastboot terminal shortcut on my desktop with OEM Unlock and USB debugging enabled. I entered the unlock command and it did nothing, just said "waiting for any device". After a couple mins I closed the terminal and opened it again and tried "fastboot devices", nothing, then "adb devices" and the phone rebooted to a secure startup screen asking for a PIN. I tried my usuals but they didn't work. I assume because it was a used phone and probably someone else's PIN. I hard reset with the buttons (volume +, power) and it booted up normally. I went though the process again, 9008, flash v35 eng over abl_a, Qfil confirmed "send image", but I simply cannot enter fastboot mode anymore. I tried holding volume -, power until the disconnect sound and letting go of power, I tried plugging in the cable while holding volume -. It always boots up normally. I've switched between USB 3 and USB 2 ports, nothing. The last thing I did was erase laf_a and laf_b and repeated flashing v35 eng and it still won't boot to fastboot, just boots into the OS normally. Oh and I'm on Android 9. The only difference is there is no Sprint load animation on power up or down anymore.

Am I missing something? I'd love to get Lineage or something on this as I've had lots of bugs with the bloated LG junk. But I'm at a loss right now. Thanks in advance for any advice.
[LG V40 Guides, News, & Discussion] AsItLies:
Sounds like you've been able to get the phone into fastboot mode, and it said fastboot on the phone screen?

Assuming that's the case, then it's a windows problem. Look in device manager and you'll see an entry with an '!' mark next to it, it will usually say 'Android'. Right click it and load your LG usb driver for ADB for it and then it will recognize the device.

Be aware though, there are no custom roms you can put on and still have functioning VOlte and VOwifi. LG uses a proprietary IMS stack, thus when you lose stock, you lose the ability for VOlte also.

cheers
[LG V40 Guides, News, & Discussion] Jitteryheart87:
mine is the verizon one, My v40 is

V405UA30c_00_VZW_US_OP_0814.kdz

v405ua30c on android 10 but i dont have OEM unlock anywhere in the developer options?? how do i fix this? anyone?
[LG V40 Guides, News, & Discussion] AsItLies:
It says how to in the very first post. Look for where it talks about FRP.
[LG V40 Guides, News, & Discussion] Jitteryheart87:
ok so i unlocked the bootloader but now even though im on android 10 its a bit weird because some of my apps like netflix are not compatible and im unable to download?

also how do i twrp/magisk this thing now? sorry im really new to this its my first time so i apolegize if im a bit slow here
[LG V40 Guides, News, & Discussion] teeboz:
Since unlocking and rooting i am unable to get into fastboot mode. When i use abd command it reboots normal.
[LG V40 Guides, News, & Discussion] AsItLies:
So it may be the directions don't necessarily make it clear, but, there are 2 ways you can get fastboot on the v40, which doesn't normally come with it. One is to use the engineering abl, which you did, when unlocking the BL.

But, that engineering abl is for Oreo, or rather, it's Oreo based, so it won't boot the device (most times) unless you're running Oreo. That's why the directions tell you to flash back your original abl, so the device can boot. Now do you see why you no longer have fastboot? You removed the engineering abl, obviously.

The second way to get (a watered down version of) fastboot is to erase the laf partition. What the rom does, when you try to go to LGUP (which is the laf partition), because there's nothing there, it will go to a watered down version of fastboot. It's kind of worthless though, as most rom variants only give you a version that can't flash a partition, certainly can't lock / unlock the BL, etc.

There are numerous ways to 'work around' this issue, the directions only mention the erase laf. But if you put your original abl back, which you should do so it can boot, that's why you don't have fastboot any longer.
[LG V40 Guides, News, & Discussion] teeboz:
thank you for this explanation. i no longer see abl_a in qfil but do have a backup of it.
[LG V40 Guides, News, & Discussion] RedBux:
Dear Mr. Xsavi

I am using Lenovo Z6 Pro with 8GB Ram + 128 ROM + SD 855 which I bought in early 2019 being using ROW 11.0.405. This ROW Roms' which has NO Further development. Which was stop years ago.

Since this model having 3rd party developments recently (about two weeks) I requested Lenovo for bootloader unlock key @ https://www.zui.com/iunlock.

Till this date NO respond at all. I wrote to lenovo customer service pertaining the above issue still NO respond at all.

I wrote this "cos I would like you Mr. Xsavi ( or friend of yours ) whom having knowledge to produce somthing that enable me to Unlock my Bootloader

Thanking you in advance

Thanks

Regards
[LG V40 Guides, News, & Discussion] AsItLies:
The reasons this guide works, to unlock the bootloader, are because of the availability of two specific files for this device:

1) The Engineering ABL specifically for this device. It doesn't work on other devices.

2) The programmers firehose, again, specifically for this device. It is a signed file, specific, so that qfil has access to the device.

Does your phone have these specific files for your device? No? Then there is no amount of writing a guide for you, because the guide won't work.

It's not a matter of simply 'writing a guide', you have to have the files.

You would be much better off finding the forums for your device, look for threads about how to get the BL unlock code, it may be they've just stopped making it available? I've no idea.

But Xsavi can't help you,, no one here can help you.
[LG V40 Guides, News, & Discussion] saiankun:
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash frp path/to/frp

error: cannot load 'path/to/frp': No such file or directory

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash abl_a path/to/ablpiestock.img

error: cannot load 'path/to/ablpiestock.img': No such file or directory

help
[LG V40 Guides, News, & Discussion] AsItLies:
When the guide says 'path/to/ablpiestock.img' it's a generic path, not the actual path you type in.

what you type in would be **your** path, on your computer, to where you put your abl backup.
[LG V40 Guides, News, & Discussion] saiankun:
thanks already unlocked now you can tell me a rom and the tutorial v405ua verizom variant.
[LG V40 Guides, News, & Discussion] soupgoblin:
old thread, I know, but if anyone could help me it'd be much appreciated. the Programmer Path is greyed out for me. I've tried restarting the phone and installing three different versions of QPST, none of them work. I have the driver installed. please help so I can get this phone rooted!

edit: for some reason, it requires a contents.xml file. I created a blank contents.xml file and it opened up the Programmer Path. does anyone know where I can get that?
[LG V40 Guides, News, & Discussion] saiankun:
Select Flat build
[LG V40 Guides, News, & Discussion] Eglo jin:
will it work on A10
[LG V40 Guides, News, & Discussion] AsItLies:
Yes, it works on A10, but it's still Oreo, which means that it won't boot the phone. essentially, the eng abl will "work" on any android version of the V40, but it will only "boot" your device if the other partitions are Oreo.

when we say "work", it just means it will do as is needed in this thread. YOu use qfil, put it in the abl, immediately go to that abl, use fastboot to unlock, then replace it.

I guess you could call that 'working', if u know what I mean.
[LG V40 Guides, News, & Discussion] R800x_user:
Hey y'all I'll be real and admit to my laziness but my v40 is a paperweight and it does go into 9008 mode still. I need to reflash bootloader and laf partitions. I no longer have access to my backups since my HDD gave out on my desktop. Does anyone have these files readily available or even a kdz with a kdz extractor
[LG V40 Guides, News, & Discussion] Jitteryheart87:
i think i do ...if its in this file that im trying to attach
[LG V40 Guides, News, & Discussion] skytale1:
Has anyone managed to relock the bootloader without original abl_a image? Using the same procedure with command fastboot oem lock ot fastboot flashing lock doesn't work. Is the way to relock the bootloader? I want to sell the phone and I don't want bootloader to be unlocked.
[LG V40 Guides, News, & Discussion] AsItLies:
The key I've found is to be 100% stock, before attempting to relock. That means yes, you have to use the engineering abl to relock, so that you have fastboot. But after relocking, use fastboot to flash the original abl back. That should work.

If you don't have the original abl, get the kdz and extract it. If you don't have that kdz another with the same android version might work.

good luck
[LG V40 Guides, News, & Discussion] skytale1:
I've used engineering V35 image to have fastboot, tried fastboot oem lock command but it gives error, it says that bootloader is already locked while on the phone status is unlocked.
[LG V40 Guides, News, & Discussion] AsItLies:
Well, that's not really enough to go by. It does work, it can lock and unlock the bootloader, way too many people have done it to doubt that.

All I can tell you, from such a lack of information, is that to lock the bootloader, the device has to be 100% stock. That's why many who have locked the bootloader will first flash a brand new stock rom, make absolutely no changes to it, then use qfil and flash the eng abl, go directly to fastboot from qfil, lock the bootloader with fastboot, then use fastboot to flash the stock abl back.

Some don't realize but the bootloader can't lock unless it's 100% stock. That's kind of the point, of having a locked bootloader, it says to the rest of the system "I'm 100% stock", so if it's not stock, it shouldn't be able to lock the boot loader.
[LG V40 Guides, News, & Discussion] skytale1:
The software was 100% stock. The same I used to unlock the bootloader. V405UA020g_00_USC_US_OP_0424.kdz and I can't lock bootloader. "fastboot oem lock" command says that the bootloader is already locked, but in reality it isn't. That's it.
[LG V40 Guides, News, & Discussion] AsItLies:
okay, that's progress in understanding the situation. When you boot the device, does the (I think it's yellow?) screen display saying the device is unsafe because bootloader is unlocked, display?

Because if you don't get that screen upon boot, the bootloader isn't unlocked.
[LG V40 Guides, News, & Discussion] skytale1:
Yes, there is a still warning screen that software could not be checked for corruption because bootloader is unlocked. Also in developer options OEM Unlocking is greyed out and says that bootloader is unlocked.