yashsingh1/xdaforums huggingface dataset:
[LG V40 Guides, News, & Discussion] AsItLies:
Okay then, there's no doubt, it's unlocked.

You say the device is completely back to stock, and you used the engineering abl to try to unlock right? Try to find what fastboot says about the bootloader; get to fastboot and type 'fastboot getvar all'

it will tell you what state fastboot thinks the bootloader is, locked or unlocked. Not sure how that will help, but in that output, it should definitely say it's unlocked, as it obviously is.
[LG V40 Guides, News, & Discussion] CryztalBT:
Hey guys,

I hope you can help me with my V40. I did everything step by step as explained, but I can't get past bootloader mode. I installed every driver as said, the V40 got recognized as "QDLoader 9008" just as it says, storage is set to ufs, the prog_ufs_firehose_Sdm845_lge.elf is selected, I loaded the v35eng.img onto the abl_a and everything just seemed to work fine. I installed the new drivers onto the "Android" device in the device manager, so now it gets recognized as "Android Bootloader Interface" under "Kedacom USB Device". Even the whole messages in the process window says the same things as in the following video (which is doing the same thing as you here):

But when I press power + vol down until the "device lost" sound in windows starts and then press vol down, my bootloader is a whole different one than his (and yours, probably):

And when I try to set the command "fastboot oem unlock", it says:

FAILED (remote: unknown command)

finished. total time: 0.002s

Under fastboot devices, my device says:

LMV405EBW80f37c1d

The phone is still bootable fortunately though. My Android version is 10, with security update from 1. December 2020. Software version "V30e-EUR-xx", Kernel 4.9.193. Model is LM-V405EBW. Would've tried the official LG dev unlock, but that one's terminated.

EDIT: Might it be that it's because I'm running on Android 10? In that case, I opened a thread of what I did afterwards:

https://xdaforums.com/t/rooting-an-...0-installed-endless-error-experience.4518035/

Edit: Found out myself. Not only abl_a.bin needs to be flashed via QFIL, but abl_b as well. When in fastboot mode, also just flash both backup .bins to the device and then restart.
[LG V40 Guides, News, & Discussion] mi123:
I cant do that

Still the same reason :(

writing 'frp'...

FAILED (remote: Flashing is not allowed in Lock State)

I've V35 Siganture 256G after not succesfull upgrade to GA9 with only fastboot menu ...

Thanx for any help
[LG V40 Guides, News, & Discussion] chairsz:
im stuck on this step i get failed each time.

running a stock android 8.1 verizon variant, download mode still shows locked with slot a active

2. When you've entered fastboot, execute this command:

Code:

fastboot oem unlock

Userdata will be wiped as a security measure as with all android devices.
[LG V40 Guides, News, & Discussion] XX_GGBOIZ_XX:
i have a few questions:

1. the point of the v35 engineering is only to allows me to enter the fastboot menu?

2. im using 405ua corssflashed with open au rom, but au doesnt have oreo so does itwork when i crossflash to another oreo?

3. if i downgrade to oreo and flash v35, do i keep the fastboot menu once i upgrade back or crossflash to another country rom?

4. does relocking bootloarder resets all data?
[LG V40 Guides, News, & Discussion] Marrypo:
Hy folkz, i stuck on

fastboot oem unlock

and i get this...

any ideas?
[LG V40 Guides, News, & Discussion] prophetcraft:
After flashing v35, the fastboot oem unlock commands return:

Failed remote: unknown command

Fastboot: error: command failed

Pls any suggestions?
[LG V40 Guides, News, & Discussion] coolitic:
EDIT: Never mind, I think this warrants a different thread, and I can't see the option to delete messages!
[LG V40 Guides, News, & Discussion] Braxke:
Greetings I have a problem with my phone lg v50 thinq 5g.I installed a custom rom of ricedroid after a while I entered into edl mode and mistakenly deleted my boot a file but before the proceses ended I cancelled and restored back and now its stuck into edl mode no powering on but the screen is black completely and when I insert into my pc its still into edl mode.Is their a way I can bring it back to life please.
[LG V40 Guides, News, & Discussion] bob-sacamano:
Hello, has an easier method for unlocking bootloader become available?

I am surprised LG phones are so difficult to unlock. I have an unlocked LG V40 phone. It can be used on either T-Mobile or att it is an Lm-V405UA. Is this an OEM unlocked model?
[LG V40 Guides, News, & Discussion] brezker:
How did you fix it?
[LG V40 Guides, News, & Discussion] bluedogger:
is this still not possible on t-mobile variants?
[LG V40 Guides, News, & Discussion] a_petrov303:
Please help, I managed to unlock the bootloader by using this tutorial but flashing abl_b, becasue with abl_a there was no fastboot.

As soon as I tried to flash abl_b, I have fastboot.

Now I cannot het out of this mode. It I tried loading a TRWP.img, but it just restarts to fastboot screen.

Download mode does not work either. When I try download mode it just displays briefly and then is overwriten by fastboot menu...

How can I load a normal image please? I need root and then dualSIM functionality, but first I need the phone to get out of fastboot.
[LG V40 Guides, News, & Discussion] a_petrov303:
it is a Verizzon model oem unlock option was not present in the developers mode, so I had to use the FRP command
[LG V40 Guides, News, & Discussion] noidodroid:
The way you have to connect is by opening device manager then opening QFIL and putting in the hose, settng the settings then have it ready when it shows the edl port to click on partitions. Now you need to boot your phone into edl and as soon as you see it in device manager click on the partitions option and it should go through.
[LG V40 Guides, News, & Discussion] darthese:
Bear with me please, first time doing this. Might not be using the right terminology.

I went thru the process of Qfil, loading v35, flashing frp, and executing fastboot oem unlock.

I was able to unlock succesfully but phone does not boot.

im lost as to where to proceed from here. do i load my previous abl_a image? or do i flash the ablpiestock.img?
[LG V40 Guides, News, & Discussion] Giorgi-geo:
Yes you must restore the original abl_a and abl_b, preferebly the ones you saved yourself.
[LG V40 Guides, News, & Discussion] Giorgi-geo:
Hello everyone, I did bootloader unlock on V405UA30e with qfil + prog_ufs_firehose_Sdm845_lge.elf + v35eng.img + fastboot oem unlock, then I patched the boot_b.img with magisk and flashed that with qfil too, and I got root. This worked for a few days, but yesterday I installed some system app uninstaller that uses root, and tried uninstalling facebook and facebook manager apps. Rebooted phone and it bootlooped. Restoring the original boot_b.img fixed the phone, but now I can't get root again no matter what I try. I Patched the boot_b.img again and tried flashing with qfil, bootloop, I reset the phone and tried patch+qfil, bootloop. I tried flashing Magisk-v26.4.zip with temporary ofox recovery, bootloop.

It's driving me insane, does anyone have any suggestion on what I can do?
[LG V40 Guides, News, & Discussion] Satori42:
Have you ensured it didn't alternate from which partition it's starting? fastboot getvar all

Or just look at the display while it's in that mode.

If something caused it to alternate partitions on you, it's not loading what you'd wanted it to and you'll want to sort that with fastboot --set-active=.
[LG V40 Guides, News, & Discussion] Giorgi-geo:
When I first booted into fastboot the active partition was "b", and it's still "b". when I try to set active partition to a, and reboot, it just boots back into fastboot.

Also, does anyone know if this is normal? When I try to flash partitions with fastboot, it says:

Warning: skip copying abl_b image avb footer (abl_b partition size: 0, abl_b image size: 1048576).

but, then it looks like it finishes sending and writing it. I think flash command still works, but it's weird that I get this warning, and I wondered if others get it as well

---

Also, it just occured to me, how can I be booting back into fastboot after changing active to "a", after I've restored abl partitions? I thought v35 bootloader was necessary for fastboot. So maybe this flash commands in fastboot don't actually work?
[LG V40 Guides, News, & Discussion] Giorgi-geo:
I ended up flashing "V405EBW30g_00_OPEN_AU_DS_OP_0909.kdz" with lgup and rooted that, since I just could't fix the current firmware.

Everyhting seems to work on ebw, just a warning window pops up on every boot, but you can dismiss it. "refurbishing" in lgup changes the active slot.
[LG V40 Guides, News, & Discussion] Slider123:
have you sim unlock your lg v40 sprint ?
[LG V40 Guides, News, & Discussion] Opistorincos:
Hi guys, I'm getting this error. Help needed.
[LG V40 Guides, News, & Discussion] JasonLy2812:
can you help me i cant seem to do it

i kept getting sahara error "Download Fail:Sahara Fail:QSaharaServer Fail:process fail"
[LG V40 Guides, News, & Discussion] mea_pulpa:
Hello ,

I am trying to get ROOT on my LM-V40EBW (Europe global version) .

Device is running Android 10 Q .

Enable OEM Unlock and USB debugging are both activated in developer settings .

I followed all the steps from the OP up until the "fastboot oem unlock" command ..

My device is now in fastboot mode (the screen with the green restart and white power off on top .

My pc recognizes the device (I can execute ./fastboot oem device-id , ./fastboot getvar unlocked and get a response from these commands) . But I can not execute the ./fastboot oem unlock .

The error with "fastboot oem unlock" is

FAILED (remote: 'unknown command')

fastboot: error: Command failed

When using the lock command

"fastboot oem lock" i get

FAILED (remote: ' Device already : locked!')

fastboot: error: Command failed

When using the lock command

"fastboot getvar unlocked" i get

unlocked: no

When in fastboot mode , the phone makes mention of another command instead of fastboot oem unlock : it sais: "fastboot flash unlock unlock.bin" instead . (see screenshot)

My goal is to get ROOT access on the device , which I need for certain apps .

How to troubleshoot and get over this last hurdle ?
[LG V40 Guides, News, & Discussion] tute.ed:
Bump up an old thread but looking for someone help me.

I've used QFIL to unlock my V40 thinq bootloader so that I can flash another custom rom. but after I sending recovery image to 2 boot slot a/b then reboot to fashboot it show no slot are bootable.

Luckily I have backup boot_a.bin and boot_b.bin but now I dont now how to restore by QFIL or another else. I've boot into 9008 mode again then flash these .bin file into boot_a and b but after reset it still stuck in red triangle screen above =.=

thanks..
[LG V40 Guides, News, & Discussion] MuneebMG47:
i can't get into edl it takes me to download mode everytime can some one help me i have an LG V40 Thinq running android 10
[LG V40 Guides, News, & Discussion] MuneebMG47:
did you manage to solve it im running into same problem
[LG V40 Guides, News, & Discussion] ibex333:
Flashing the engineering image does not work for my V40 Demo Unit. QFIL says image flashed successfully, then phone reboots into the same demo image that was already there and nothing changes. I also noticed it's not possible to get into fastboot mode. Iam repeating the button presses exactly as listed. The phone just reboots into the "normal" operation every time.

Also once unlocked, how do you ROOT this thing? Where's the rooting guide?
[LG V40 Guides, News, & Discussion] comm-ents:
I have an issue where i have a LG V405UA (LMV405UA) FROM LG V40 THINQ SERIES smartphone with the latest upgrade available from LG, but there is no OEM unlocck option available. Is there any recommendations of what can be done to get the bootlader unlocked?
[LG V40 Guides, News, & Discussion] MuneebMG47:
so i flashed the v35eng img from qfil it said finished then i tried booting into fastboot it just boots backs up i cant boot into fastboot

my device: LM-V405UA

someone help me out please.
[LG V40 Guides, News, & Discussion] Mindseye-:
i get to bootloader but after i try to execute a command, phone restarts. i downgraded to 8.1 couldnt find 8.0.. what am i doing wrong?
[LG V40 Guides, News, & Discussion] comm-ents:
I wasn't able to get the bootloader unlocked until I found this tutorial:

[GUIDE] Unlock LG G7/V35/V40 ThinQ bootloader via EDL mode under Linux environment

Unlocking LG G7/V35/V40 ThinQ bootloader under Linux Environment DISCLAIMER: I AM NOT RESPONSIBLE IF YOUR PHONE BRICKS! YOU ARE FOLLOWING THIS GUIDE AND ITS YOUR CHOICE TO DO IT OR NOT TO DO IT AND YOU'RE THE ONE DOING IT. I JUST WANT TO HELP...

xdaforums.com

I was able to get the bootloader unlocked and the tutorial isn't much different except that selecting to unlock the bootloader wasn't an option and I didn't have much luck getting anything to work properly in Windows.
[LG V40 Guides, News, & Discussion] Yeedatoy:
its an incorrect usb cable. use 20 of them if you have to. this is always cable failure. seems stupid and at times unlikely but i promise you its a cable issue
[LG V40 Guides, News, & Discussion] SynthW4vE:
Please, can someone give me backupped abl_a.img file?
[LG V40 Guides, News, & Discussion] argon9898:
Sahara error didn't occur on my end, try reading through other users' replies to get some workarounds. Sorry I couldn't help you much with that.

I'm actually having the same issue as you as I was trying to boot the TWRP image from the guide in the forum, but the phone wasn't able to boot into recovery. I'm still on Oreo and waiting for an answer.

Oh, and try booting into bootloader, your phone might be active at slot A!
[LG V40 Guides, News, & Discussion] KouaV1:
it says slot A, but i accidently wiped my laf and removed download mode so any help how to get my laf partition back?
[LG V40 Guides, News, & Discussion] argon9898:
Try following a part of this guide:

https://xdaforums.com/lg-v40/how-to/guide-make-lg-v40-compatible-lgup-t3953120
[LG V40 Guides, News, & Discussion] KouaV1:
It failed but I will try again after work
[LG V40 Guides, News, & Discussion] KouaV1:
Well doesnt work. Just waiting for twrp atthe moment if we dont ever get it then guess ima go with the LG V60 if it has the US unlocked model when released
[LG V40 Guides, News, & Discussion] Yzakz:
Ok, I successfully unlocked my phone, nuked my LAF partition to gain Fastboot access and installed TWRP, but I don't know where I messed it up and now my phone is stuck in bootloop. Is there a way to restored it and install everything OEM back? Is a Sprint V40. Please help!
[LG V40 Guides, News, & Discussion] Xsavi:
You have to disable dm-verity/avb in order for you to boot. There another guide on here explaining how to get data access in TWRP while on stock. In the process, it disables dm-verity via the .magisk file.
[LG V40 Guides, News, & Discussion] Xsavi:
For those of you failing to boot TWRP on Oreo firmware, TWRP is pie only.
[LG V40 Guides, News, & Discussion] KouaV1:
So if on pie then all these steps would work along with twrp correct?
[LG V40 Guides, News, & Discussion] Tinkerer_:
Has anyone succeeded in unlocking bootloader, flashing TWRP, and installing Magisk (or SuperSU or similar)?

Many thanks to those working and posting results and instructions.

...
[LG V40 Guides, News, & Discussion] KouaV1:
as far as I know to get all that you need android pie
[LG V40 Guides, News, & Discussion] SuperMike393:
For clarification, i need oreo on my device DURING the lauch edl with qfil phase? I feel that i shouldnt be stuggling this much given how many of you have already been able to successfully do this unless im doing something blatantly wrong.
[LG V40 Guides, News, & Discussion] smartybro7788:
In past I have upgraded from oreo to pie.

I flashed the v35 bootloader as per the given steps in article but after booting to the fastboot and giving command 'fastboot oem unlock' it is giving me an error ''unknown command'' which gives as when the bl is still the stock.

Is their a possibility that i should have to flash the v35 bl into the abl_b partition rather than abl_a to restore stock bl.

And also is this file named 'ablpiestock' can be used for flashing both abl_a & abl_b partitions.

Please reply asap. Stucked. Thanks for the awesome root work tough.:)
[LG V40 Guides, News, & Discussion] netookska05:
You don't need twrp to get root. You patch your device specific boot.img and install with Qfil. I do it all the time with any kdz. I have a Verizon G710VM. Right now I'm on GFI ulm.
[LG V40 Guides, News, & Discussion] Tinkerer_:
Have you done this with the V40?

Would very much appreciate info on how to patch V40 boot.img and install with Qfil to achieve V40 root, from someone who has done this successfully with V40.

TIA
[LG V40 Guides, News, & Discussion] netookska05:
Sorry I have not. This process is for the V40 and I used it for the G7.
[LG V40 Guides, News, & Discussion] neverremembermyusername:
If the firehose works on the T-Mobile model, has anyone tried overwriting the devinfo partition with a patched one? That partition contains information about whether the bootloader is unlocked in the form of a single bit flag.

I know the OnePlus 2 and others can be unlocked this way (here is an XDA post about unlocking the OP2 by modifying devinfo partition). There are also several repos on Github that have information about doing it this way (e.g., here and here is a utility that is supposed to know how to decipher the devinfo partition and tell you which flags are set).
[LG V40 Guides, News, & Discussion] larciel:
sorry for newB Question but if I buy Sprint V40 on ebay, can I SIM unlock with this method?

...

v40 is still on Oreo?
[LG V40 Guides, News, & Discussion] KouaV1:
As far as I know sprint V40 is likely never getting pie update, I dont have one but its based from searching on google. In terms of sim unlock, bootloader unlocking and rooting will never provide sim unlock, therefore unlock it first before doing the post steps
[LG V40 Guides, News, & Discussion] larciel:
thnks

so best way is to buy ATT unlocked V40.

better than v35? v35 is about $30 cheaper.
[LG V40 Guides, News, & Discussion] KouaV1:
sounds good and good deal for it
[LG V40 Guides, News, & Discussion] sondv04199:
NOT LINK FOLDER AND RAWPROGRAM IN THIS TOPIC ???
[LG V40 Guides, News, & Discussion] camray00:
My phone is bricked with the red triangle and "Your device has failed a routine safety check and will not boot" message. Fastboot reads slot_a as unbootable. I also erased the laf partitions. I have a factory unlocked LM-V405UA. Could I somehow get the laf partitions back and just flash it back to stock, or is there another way to move forward? Please help. I wanted to get TWRP and Lineage OS. (I also had OEM unlocking enabled)
[LG V40 Guides, News, & Discussion] spongehong:
turn off.

+ vol & usb connect.

You can get into Download Mode.
[LG V40 Guides, News, & Discussion] yosia2618:
please if at any time you could unlock the network (sim) it would be a very good help

Enviado desde mi Z978 mediante Tapatalk
[LG V40 Guides, News, & Discussion] myarlak:
Sprint v40s got Pie at Christmas time
[LG V40 Guides, News, & Discussion] sondv04199:
anyone backup v409n give me 6 QFIL files. Im flashing to fastboot using qpst and then my phone is died . now used cable computer show edl mode 9008 only,

I need files (boot_a, boot_b, abl_a, abl_b, laf_a, laf_b, vbmeta_a, vbmeta_b)

My phone show "Press Any To Shutdown" Small Symbol :(:(

UFI Handle Crash !!!!

Thank alls Very Much !!!
[LG V40 Guides, News, & Discussion] yosia2618:
my LG v40 is at&t, it would be possible to unlock the network (sim)

Enviado desde mi Z978 mediante Tapatalk
[LG V40 Guides, News, & Discussion] Ainz_Ooal_Gown:
Only via AT&T....this only Bootloader Unlocks
[LG V40 Guides, News, & Discussion] tanhai1207:
My phone V409N is stuck in Fastboot mode.

This is info in screen:

Fastboot Mode

PRODUCT_NAME = LM-409N

VARIANT - UFS

HW VERSION - rev_10

CARRIER INFO - judypm_lao_com

SERIAL NUMBER - LM409Ndfda9f5

SECURE BOOT - yes

DEVICE STATE - unlocked

i can't boot to recovery mode because whenever I run a command related to FastBoot, I will get the result FAILED (remote: 'unknown command')

EX:

C:\Users\tanha\Desktop\unlock\Flash\LGUPCompatableLAF>fastboot flash recovery TWRP-judypn-boot.img

Sending 'recovery' (30804 KB) OKAY [ 0.737s]

Writing 'recovery' FAILED (remote: 'unknown command')

fastboot: error: Command failed

Sorry for my bad english. Please help me
[LG V40 Guides, News, & Discussion] Ainz_Ooal_Gown:
Make sure your using USB 2.0 I get those errors through USB 3.0 and 3.1...
[LG V40 Guides, News, & Discussion] tanhai1207:
I tried with USB 2.0 port on another computer but the result is still the same. Actually I remember that the original PRODUCT_NAME after unlocking was not LM-409N. After it changed to PRODUCT_NAME = LM-409N, all fastboot commands were unusable
[LG V40 Guides, News, & Discussion] Ainz_Ooal_Gown:
hmmmm....interesting.....i would suggest going into the Telegram group...link should be in the OP....
[LG V40 Guides, News, & Discussion] bikrame:
Anyone tried and get success in US Sprint Lg V40 with pie ??
[LG V40 Guides, News, & Discussion] teeboz:
Worked att variant

Unlocked boot and rooted. Follow guide. Read and save any thing you will be changing in qfil......that way you can flash back if you mess up. i flashed my saved files back except for laf after bootloader was unlocked. fastboot twrp worked for me. Flash magisk in twrp..... i used this guide as i was having problems flashing magisk https://xdaforums.com/lg-v40/how-to/guide-twrp-data-access-stock-t3970149. take your time and understand the guide. i was also on windows 7 and had no problems with qfil.
[LG V40 Guides, News, & Discussion] Droidman61:
Every time I go and enter Tools ...than Partition Manager...then it asks you if thats it..I click yes. And nothing!! It start going through it course, without giving me the opportunity to do anything.:confused:

What is wrong?? Please help thank :fingers-crossed:you.
[LG V40 Guides, News, & Discussion] teeboz:
you want be able to do anything until the Partition Manager window pops up.
[LG V40 Guides, News, & Discussion] ShanaSGC:
I'm using lmv405ua verizon, can i try it bro?
[LG V40 Guides, News, & Discussion] paxar331:
I followed this instruction on the LG G7, a used model, and it got bricked. I.e. won't power on, even though battery was 100%.

Edit: I got it to turn back on. I had to hold power + volume down button, then plug in the USB cable. I felt it wasn't totally bricked, since plugging in the USB cable, would generate a sound on the PC.

I followed the instruction on this video: /watch?v=EkKfPPBzJ1c

This resulted in COM Port 6 appearing in device manager. Doing what the op said, power + vol down, then repeatedly tap vol up, brought back Com Port 4.

Com6 is named, LGE AndroidNet, instead of QualComm QD Loader.

Just to clear any misconception when the phone is in EDL (emergency download mode), the screen will look like the following, on an LG G7?

i.imgur ... /mdhyhQl.jpg

My phone's model according to ADB device is: LMG710ULM6359320b

According to post #37 by user cogpie, the phone is supposed to be a in a state where it will refuse to turn on, i.e. will seem like it's bricked while making USB connection sounds to the PC; so I stand corrected.

https://xdaforums.com/showpost.php?p=81724243&postcount=37

But in device manager, QualComm refuses to come up, nor does Port Com 6.

I went ahead and installed the 64 bit driver, and got a popup saying the driver was not digitally signed and windows 7 would refuse to 'enable it'.

i.imgur /0LvafdY.png

Nvm I downloaded a different file linked in the the directory, \Extracted zip file\Qualcomm_Flash_Image_Loader_v2.0.2.3\Driver\

It now appears under Com 7 for me in device manager.
[LG V40 Guides, News, & Discussion] Droidman61:
Yes I know that is the problem:laugh: