yashsingh1/xdaforums huggingface dataset:
[LG V40 Guides, News, & Discussion] Omizuke:
Yeah, nevermind. Got it. It wouldn't go into download mode because I had nuked the partitions so it kept throwing me to the fastboot. I had stock fastboot on both partition. And tried to flash the 35 eng from it. >.>

After locking and bricking my device getting to 9008 was easy. It kept failing me before, thing would keep booting to fastboot. Going through the QFIL at the moment. Will keep a 35 boot on one slot this time around. And flash the compatible on B while I'm at it.

Anyway thanks a lot for the quick response.
[LG V40 Guides, News, & Discussion] zfk110:
Hi, I tried to put Pie's rom on the phone, but phone won't boot its in boot loop, and now I'm trying to go back into twrp it won't let me since I think I didn't inject twrp while flashing the rom. Also download mode doesn't work either when I tried to do the chicken dance to reset the phone, I got some ATT V405ua with me, can I back up some files and restore on this phone so at least I can get back to tWRP?

I tried to flash the twrp using QFIL but that didn't work either, I dont know how to nuke the laf so I didn't try that method.
[LG V40 Guides, News, & Discussion] tplocic20:
Hi, I've followed every step from OP and this is my error

View attachment 5180301

I did this update once, but after that phone started throwing strange carriers errors.

After that, I've decided to "Refurbiush" my ROM.

I've tried to go with LGUP Dual mode, but then I was getting a similar error: V405EBW>V405

Did anyone encounter a similar issue?

I am fighting with if for a second day in a row
[LG V40 Guides, News, & Discussion] ahmadmg:
I'm having similar issue too when i try to flash my sprint v40 on pie to Korean android 10, what's the solution please???
[LG V40 Guides, News, & Discussion] jorgeaoc:
Update DLL to 2.1.0.23

Try this: https://drive.google.com/file/d/1_ZIbkYkDIZ-lES6WVJoapyn4WXiLHKci/view
[LG V40 Guides, News, & Discussion] foureight84:
I'm trying to dump my Sprint LG V40 partition via DUMP -> Select All Partitions from the Partition List but then I get an error message "Error: 0x80000119, Unlock Failed for DUMP Limitation". Does anyone know which partitions I need to check to have a full backup?

Device is carrier-locked to Sprint when I bought it. Just looking to use it as a gaming device rather than a phone, though I don't want to lose IMEI, etc as there may be a way to carrier unlock it later on.

View attachment 5191123
[LG V40 Guides, News, & Discussion] AsItLies:
Yeah lgup isn't unlocked to accomplish that. The best way is to use some pthon tools you can find by searching for 'bkerler edl' and you'll find all the edl.py and qfil.py tools (on github).

I have them setup for use under linux, but think you can get them to work under windows also. You could then backup all of your partitions with it, and do a direct re-install with the backup. But, if you ever do a re-fresh from soneone elses backup be aware there are certain partitions that hold imei and s/n. People make the mistake of sharing their backups with others not realizing they are also sharing their imei and s/n.

cheers
[LG V40 Guides, News, & Discussion] foureight84:
Awesome! Thank you for pointing me in the right direction. I will give "bkerler edl" a go. To clarify, when you say "direct re-install with the backup" is that also done with "bkerler edl" or with LGUP?

EDIT: Ah NVM. I see the store functions in "bkerler edl". Thanks again!
[LG V40 Guides, News, & Discussion] abuchison:
Has anyone rolled back their V40 from Android Q to Pie then Oreo?
[LG V40 Guides, News, & Discussion] AsItLies:
The ARB is still 0, so there's no reason that shouldn't work. But have to ask, why?
[LG V40 Guides, News, & Discussion] abuchison:
I was thinking about rolling back just in case I fail to root AT&T Android 10. It turned out that I worried too much. The process is pretty much the same as Android 9 and 8. The only thing I don't have is a working TWRP for 10. Patching boot_* with Magisk took two tries to succeed. I blame it on voodoo.
[LG V40 Guides, News, & Discussion] AsItLies:
I see, well try this link, it's to at&t boot partition with twrp in it. It's for at&t 30b, as name says. Use qfil to flash it to active boot partition, then go directly from edl to recovery. Then do the routine of format data, reboot recovery, flash magisk and dm_verity...

On Q, the procedure to get twrp is different than 8 and 9. You need the boot image with twrp already in it, as the link above has (this is from the folks on tele group).

cheers
[LG V40 Guides, News, & Discussion] Chrissho83:
I am trying to reflash the firmware for my lg k8 2018 and it gets to 4% and then I get the dll doesn’t match error. And recently I’ve received the 0x81000302 error. Any help?
[LG V40 Guides, News, & Discussion] leptdre:
Hi guys,

I have an LG V60 and I cannot use the Board DL function to get rid of the Factory Reset Status blue screen. Is there a way to get rid of it ?
[LG V40 Guides, News, & Discussion] Joshdbl:
How you solved?
[LG V40 Guides, News, & Discussion] Pollob5544:
I tried this one, i have an lg v40 LM-405UA sprint variant, i wants to cross flash korean rom and its end up with error, can Anyone please provide me another way?
[LG V40 Guides, News, & Discussion] AsItLies:
error? what error? how can anyone help if u don't say what error?

and no, there is no other way :)
[LG V40 Guides, News, & Discussion] Ainz_Ooal_Gown:
I'm still using the SGS10 still waiting to get a V40 or V50 to have root once again
[LG V40 Guides, News, & Discussion] Noor M05:
Hello I tried with root method but that step 6 7 8 9 is confused

can you advice how to do this

Please help me......
[LG V40 Guides, News, & Discussion] AsItLies:
Those steps can be a bit confusing. Basically, they are about retaining fastboot capability after using lgup to (crossflash) to a diff rom.

Without getting into the details of it too much, you can use lgup to crossflash without worrying about it re-locking the BL (i.e. it won't re-lock the BL).

But to get to lgup mode, the original laf has to be flashed, so if u erased it (to get a kind of crippled version of fastboot), then it needs to be restored.

Then, proceed as normal with lgup and crossflash. Once completed, use qfil and put v35 eng abl on opposite slot, if u want to, and / or erase laf to get that version of fastboot back.

cheers
[LG V40 Guides, News, & Discussion] cbontta2:
hi, i have an original lgv40 from sprint and i installed the korean version kdz with android 10 (v409no30f), can i install the kdz version corresponding to vrz (v405ua30c)?
[LG V40 Guides, News, & Discussion] AsItLies:
Yes, you can crossflash to it the same way you did the other crossflash. Keep in mind though that crossflashing can have some negative results. 1 is that you can lose imei and s/n. It would be wise to use qfil to back up critical partitions such as fsm, ftm, modemst1 and st2, in case they have to be restored.

but yeah, u can switch to vzw kdz. Keep in mind though, your imei will always identify your phone as a sprint device, no matters what rom you flash to ti.

cheers
[LG V40 Guides, News, & Discussion] cekeki:
Worked in my old LG K11+

Used to downgrade the firmware and install mtk-easy-su
[LG V40 Guides, News, & Discussion] Ducngunhucho:
View attachment 5284635I followed your instructions but with no success. Can you help me
[LG V40 Guides, News, & Discussion] AsItLies:
you need the 1.14 (not 1.16) lgup version to crossflash. You also need to use 'partition d/l' mode, as the instructions say, not 'upgrade' which you are trying to use.
[LG V40 Guides, News, & Discussion] Ducngunhucho:
View attachment 5285187Tôi đã sử dụng phiên bản 1.14 và nhận thấy điều này
[LG V40 Guides, News, & Discussion] AsItLies:
I only speak english, you'll have to use a translator.
[LG V40 Guides, News, & Discussion] lgv40_crossflash:
@Ducngunhucho, I had a very similar problem. I wanted to update an AT&T V405UA to the "US OPEN" QA7 firmware and I got the same error code 0x6004 you reported with the "CrossDL" message.

I ended up following this guide, using the software linked at the top of the page and was able to successfully flash using the command line; I was not able to flash successfully using the LGUP GUI.

@Joshdbl and @piemanny, I had the same (or similar) message:

Error: 0x6004, CrossDL ATT_US > OPEN_US

and was able to flash to Android 9 using the guide.

After flashing, I believe I'm getting the unlocked firmware's LTE bands . I have seen LTE signal on bands 2, 3, 4, 5, 12, 13, 66, 71 using Verizon MVNO, T-Mobile MVNO and AT&T MVNO SIMs. Specifically, band 71 is NOT enabled in the AT&T V405UA firmware.

One caveat: when I first insert my Verizon MVNO SIM, it will register with the network and I get solid signal and 4G LTE data. However, after a minutes or two it appears Verizon detects that this is not a "Verizon phone" and the data service no longer shows "4G LTE" and I can't get any data service even though I have a strong signal.

Thanks to this thread for all the info.
[LG V40 Guides, News, & Discussion] nyttliv7:
Hi!

I have a rooted Sprint v40 with V405QA720a_03_NAO_US_OP_0529.kdz firmware. I wanted to factory reset (unroot) and forgot to unroot in magisk. when I booot my phone now, it all works until "Copy apps & data". After that it spins for a few seconds and screen gets black??? So I guess it's google stuff that is corrupt or sensing root in some way? So I thought this LGUP tool would possibly be my way out. I can get to fastboot, but that's all. When I follow your instructions here, I get stuck on step 6 reboot. What do you mean with reboot? I run the command fastboot.exe set_active b. But in what way do you want me to reboot after that? In the command window or on the phone? Should I unplug the USB cable? Should I press and hold volume up? Anyway, just rebooting doeasn't get me anywhere... Please help!

Hope LGUP will save me!!!
[LG V40 Guides, News, & Discussion] lgv40_crossflash:
I don't have the same device, but I suspect that if you get into "download mode" (by powering off, then hold the "volume up" button while plugging in the USB cable) then you will be able to use LGUP to re-flash the factory Sprint firmware.
[LG V40 Guides, News, & Discussion] nyttliv7:
Thank's but because I'm rooted I can't get to download mode that way, only fastboot.
[LG V40 Guides, News, & Discussion] AsItLies:
you probably can't get to download mode because you nuked the laf partition. Doing that does give a watered down version of fastboot, but it also loses download mode. To get it back, you have to flash your laf backup back to that partition (with either qfil or v35 eng abl).

'factory reset' doesn't relock the bootloader, if you're trying to do that you have to flash a stock rom and then use v35eng abl and do 'fastboot oem lock'.

To get to stock, rather than doing a reset, flash the kdz. Unfortunately, Sprint doesn't make theirs available. If you're trying to get back to sprint, you'll have to find a backup someone else did, or use the one you did (??) prior to flashing a new kdz.

the fastboot command to change slots (that I use anyway) is 'fastboot --set-active=a' (or b). Then, to reboot, just simply type 'fastboot reboot'. You might want to try doing this

'fastboot --help', and you'll see all the available commands.

good luck
[LG V40 Guides, News, & Discussion] nyttliv7:
Thanks!

Dunno if I should laugh or not, but after flashing the v35 eng ABL via QFIL (flashed back to stock ABL later), I can only reach DL mode. That obviously helped me install the stock rom, so all is good there. But now I can't enter the bootloader. Whatever button combo I use, I end up in DL mode??? I guess some partition is missing or is in the wrong slot??? Can anyone help/direct me to where to find LAF, Bootloader and whatever files needed and tell me the correct partitions to flash??? Just a question: on QFIL, isn't it important to choose slot, and how do I do that?

My goal is to have the needed img flashed to be able to enter fastboot so I can lock the Bootloadeer again...

Want my phone to be "legal" now when Sprint is T-mobile, to be able to upgrade one day :)
[LG V40 Guides, News, & Discussion] AsItLies:
Very confusing. You installed the 'stock rom'? Sprint doesn't make their kdz available, so what 'stock rom' did u flash with lgup?

Also, it's not a mystery which partition to flash which image file, laf goes to laf, abl goes to abl, etc etc etc.

fastboot and twrp are the only ways I know how to switch slots. In qfil, it's easy to know which slot you're flashing to by the name abl_a and abl_b, or laf_a and laf_b, etc etc. If a partition doesn't have a or b, that means there's only 1 of them, and it's used on both sides.

The only way to re-lock the bootloader is if the phone is completely stock, no modifications whatsoever. Then use fastboot (v35 eng abl) to relock it.

If you're just concerned about trade in value, I wouldn't worry too much, I think all they care about is that the screen works and the device is functional. They give you so little for a trade in, almost better off selling it outright.

cheers
[LG V40 Guides, News, & Discussion] nyttliv7:
I'm one of those guys who unlocked and rooted by sharing screens over the internet, so V405UA20e is the closest to stock I can get right now. Haven't learned enough about this phone, so I'm a little bit of a dummy on this one.

When you say:

"The only way to re-lock the bootloader is if the phone is completely stock, no modifications whatsoever."

does that mean that if I'm not on the Sprint stock, I can't lock the bootloader?

I flashed v35 eng abl on abl_a but when I do the following:

"Press and hold the Power and Volume Down buttons until your device reboots out of 9008. When you hear the disconnect sound, immediately hold volume down (only volume down) to enter fastboot right away"

... I end up in Download Mode every time?
[LG V40 Guides, News, & Discussion] AsItLies:
So to relock the bootloader it needs to be stock, any stock (but don't flash tmobile). So long as the rom is 100% stock, no mods at all, it will relock.

Sounds like you're using the right key combo to get to fastboot, but if yer going to LGUP - Download Mode, than you probably flashed the laf partition to the abl partition?

You might want to verify which slot is current using fastboot, type 'fastboot getvar all', and towards the bottom of the output you'll see 'current slot'. Verify that is the slot you're using when you flash v35 eng abl to (abl_a or abl_b). It might be easiest for you to (save off the ori abl's first) then flash v35 eng abl to both a and b.

if you still have probs show a screen shot of what you're getting to, which screen.

cheers
[LG V40 Guides, News, & Discussion] nyttliv7:
Thanks for helping!

How do I type a fastboot command when I can't enter fastboot?
[LG V40 Guides, News, & Discussion] AsItLies:
You've said before that you've gotten into q fil and flash the engineering abl, do it again.
[LG V40 Guides, News, & Discussion] nyttliv7:
That's my real problem!? I did that twice and still just download mode?
[LG V40 Guides, News, & Discussion] AsItLies:
Then you're doing something wrong.
[LG V40 Guides, News, & Discussion] PxYra:
I collected all working files into one archive, with patched DLL! (in archive) for crossflashing put DLL in C:\Program Files (x86)\LG Electronics\LGUP\model\common. I crossflashed UA android 9 to EBW android 10 (refurbish mode) and everything works fine (dont ask me about VoLTE or VoWifi I dont use it)
[LG V40 Guides, News, & Discussion] nyttliv7:
Could it have been that the wrong slot was active?
[LG V40 Guides, News, & Discussion] AsItLies:
See, that's part of what you need to know to do this... First, there is no "wrong slot". There are 2 slots now, rather than a recovery partition (aka google treble). On a dual slot phone, when an ota update happens, it updates the 'inactive' slot (whichever one that may be), then reboots the phone and makes the updated slot now the active one.

It's important to understand this. The directions 'assume' you're on slot A (and most people will be), but it's not necessarily so. If your active slot happens to be B (because of an ota update), then you have to 'reverse' which slots you flash (in directions).

So you've learned something important. How do u know which slot is 'active'? Only way I know is to use fastboot. Type 'fastboot getvar all' and towards the bottom of the output it will tell you which slot is active, and you can also use fastboot to change which slot is active.

yer making progress.
[LG V40 Guides, News, & Discussion] nyttliv7:
Right now I just want to get download mode to work (so I can install my stock firmware)... What's the name on that file and to which partition do I flash? Is there anywhere I can download all those important partitions?
[LG V40 Guides, News, & Discussion] Gabriel51:
You are a life saver, Thanks!
[LG V40 Guides, News, & Discussion] LG_User_42:
Newbie here be nice ...

I have a new LM-V405EBW, was told it is a EU version,

came in LG box with EU charger so looks promising.

Checked the IMEI on a site, result was it is ok and DEC region.

It seems LG has drop support for the V40 , no OTA, no files.

Currently running Android 9 sec patch 1 June 2019, V20a-LAO-YT

i want to upgrade to 10 WITH later patch.

Found V405EBW30d_00_OPEN_EU_DS_OP_1223.kdz for region DEC

Installed LGUP as described in the first post in this thread,

all 3 files including the UI file.

When I try "refurbish" or "update" i get:

View attachment 5370415

I have not used the phone yet so I can wipe it clean.

Please Advice
[LG V40 Guides, News, & Discussion] Gabriel51:
Read the next post up! LOL it was hard to find!
[LG V40 Guides, News, & Discussion] LG_User_42:
Silly me, thinking this thread was usefull,

with up to date information and d:o files ...

I have a EU phone not a US as in the previous post, not locked.

Tested the DLL in the previous post as well version 1.9.39.7

The result ? (see DLL version at bottom left)

View attachment 5370459

More LOL's ?

Any adults knowing the real answers?
[LG V40 Guides, News, & Discussion] Gabriel51:
Heaven forbid you should have to do anything! Good luck here with that attitude...
[LG V40 Guides, News, & Discussion] LG_User_42:
Attittude ? Who started with LOL's ?
[LG V40 Guides, News, & Discussion] jogai:
LG up does not recognize my phone. Tried the FP instructions first, and then @PxYra 's but it doesnt do anything. Then this guide (https://www.mylgphones.com/lgup-dll-for-lg-v40-thinq-version1-9-39-7.html), but the commandline gives me this:

View attachment 5376967

Anyone has a combination of tools/dll's that do work for a EU version?

Edit, I didnt get into the right mode, this helped me:

https://www.reddit.com/r/lgv40/comments/gqn9v6
[LG V40 Guides, News, & Discussion] Javiejlp:
Fixed Error: 0x6004, CrossDL from one country to another only have to use LGUP in cmd

here the post that helped me https://m.blog.naver.com/mkk2828/222227384635 is very clear

Tested to go back to android 8.x Chile LG G7 Fit with Voz4g / VoLTE (no bloatware)

Android 9 UnitedKingdom ERROR 0x6004, CrossDL very lagg ( more bloatware)

Android 9 Spain works well my battery lasts longer than in android 8.x but I lose Voz4g ( little bloatware )
[LG V40 Guides, News, & Discussion] jogai:
Go here: https://lg-firmwares.com/lg-lmv405ebw-firmwares/#specificationTableFirmware_wrapper and sort from new to old. Pick an android 10 variant, maybe that works better for you
[LG V40 Guides, News, & Discussion] ilya980:
What version of the LGUP_Common.dll should I use for AT&T LG K40 LM-X420AS? I tried many of them and none works. Some (1.0.36.10) say LAF Protocol version is not match DLL=0x10000010 Device = 0x10000016. Others just say wrong version for X420AS.
[LG V40 Guides, News, & Discussion] ilya980:
Is there a way to run LGUP with this phone? I want to dump partitions for recovery. Does anyone know what combination of LGUP, DLL, and LG device driver versions works for this phone? Thanks,
[LG V40 Guides, News, & Discussion] jogai:
@ilya980 : try the files from this post: https://xdaforums.com/t/guide-lgup-for-all-no-root-needed.3967858/post-84996533
[LG V40 Guides, News, & Discussion] ilya980:
Thanks. This is the Lab version 1.16.0.3. I don't think it can show or read partitions. Is there a way to unlock this to the Dev version?

Update: Copied UI_Config.lgl into /common. Now LGUP seems to be Dev version, but still does not work. At start it throws an error "LGUP_Common Can't open new file". When I try to DUMP it gets to 4% and then throws an error "Error: 0x2000, Please use latest DLL LAF Protocol version is not match DLL = 0x10000010 Device = 0x10000016"

With original LGUP_Common.dll it goes a bit further, but when I try to dump any partition I get "Error: 0x80000119, Unlock Failed for DUMP Limitation".
[LG V40 Guides, News, & Discussion] ilya980:
The "Hidden Menu" option works. I can enable or disable the Hidden Menu. But what is it? Where is it?

Update: Found it. *#546368#* model number (ex. 420)#. With Hidden Menu disabled I only get 4 items in that menu. With hidden menu enabled I get many more, like 27, but don't see the "Unlock bootloader" :(
[LG V40 Guides, News, & Discussion] AsItLies:
iirc, there's no way to get lgup to dump partitions. The easiest way, by far, would be to use edl mode / qfil. While it is a pia to get working, once done, you can back up any / all partitions you want. And you don't need root for this (actually, doing this is the only way to get root).

cheers
[LG V40 Guides, News, & Discussion] AsItLies:
Which phone are u using? Kind of an odd question as there's never been, afaik, a menu option within the phone dial codes, that can unlock the bootloader.

to unlock the b/l, you need fastboot. Look in the guides section for how to do that.

cheers
[LG V40 Guides, News, & Discussion] ilya980:
I thought EDL and QFIL are for Qualcomm phones only. I have Mediatek. The phone is LG K40 LM-X420AS AT&T. I am not exactly sure which Mediatek. Online specs say MTK6762. In the firmware update menu I see MTK6765. Can I use EDL and QFIL with this phone? Will that 9008 driver work with Mediatek?

I was successful with EDL and QFIL on ZTE Z812 Maven, which is Qualcomm. It was a large pita to make it work, but eventually it did. I posted here about my experience.

Even then flashing an unsigned boot image into a phone with a locked bootloader is dangerous, because it will brick if it checks the signature. It would be safer to dump partitions first and then flash them back if it does not accept patched boot.

Another thing I want to try is to cross-flash it to the factory unlocked LM-X420QN, but again I want to backup partitions first and I can't find any firmware files (like X420QN20d_00_NAO_US_OP_1107.kdz or X420QN20i_00_NAO_US_OP_0504.kdz) for LM-X420QN. Of course, it would be nice to use a firmware that allows mtk-su.
[LG V40 Guides, News, & Discussion] ilya980:
The phone is LG K40 LM-X420AS AT&T. Like with many other phones the fastboot is disabled." adb reboot fastboot" just reboots the phone normally. In the ZTE Z812 the fastboot code is present, but it is somehow disabled. Many of the ZTE phones(not the ZTE Z812, however) had a "devinfo" partition that had a flag showing whether bootloader is unlocked. Dumping devinfo, setting that flag in hex editor, and flashing devinfo back allowed to unlock the bootloader.

This phone (LG K40) allows mtk-su (it is on older firmware). So, I can get root shell. Maybe, there is a way to find a similar flag. So, I want to dump the partitions.
[LG V40 Guides, News, & Discussion] AsItLies:
Ah, as we are in the LGV40 forums, I thought (originally) you were using that phone.

I have no experience with mediatek devices in this regard. I think you might have more success approaching the problem from the perspective of 'it's a mediatek device' than from the perspective of 'find something that works, whatever it is, and try to apply it to a mediatek device'.

Simply put, the qualcomm stuff won't work for mediatek. Inquiring here is a total waste of time.

cheers