[GUIDE] LGUP for all (no root needed)

ohhuzoor

Member
Jan 1, 2013
10
0
0
Thank you, that did trick!

Managed to load LGUP and find my phone, though now I get "Error: 0x6004, CrossDL OPEN_ESA_DS>OPEN_EU_DS"
Is there a known work around for this?
You can flash using lgup 1.15 cmd but let me warn you flashing firmware other than india would result in loss of volte and loose all data stored in phone so make a backup of your data
 

Icedscottieg

New member
Mar 14, 2020
1
0
0
No change in firmware

Hello all i recently bought a lg lm-v405ua unlocked phone and I'm trying to flash lm-v405qa us unlocked variant.I tried the recommended lg 1.15 cmd with powershell on win 10 everything proceeded fine phone reset but when i checked firmware version it was exactly the same I've even downloaded multiple verison whether oreo or pie im stuck.Thanks for any reply.
 

whitedavidp

Senior Member
Jul 31, 2012
564
165
63
LGUP Not Starting on Win10

I have a brand new LM-V405QA7USA that has Pie installed at the factory and am considering doing some mods and want to be sure I have a good chance of getting back to stock in case I screw up. I have followed the instructions in this thread and installed all on my Win10 machine. When I try to execute LGUP I get prompted for permission by windows but nothing happens after I grant it. I have the phone in download mode as described in this thread <https://droidrecovery.com/lg-v40-thinq-recovery-mode/>. But I am getting nowhere fast. Any suggestions? Thanks
 

Slystuff

Member
Sep 26, 2012
5
0
0
I have a brand new LM-V405QA7USA that has Pie installed at the factory and am considering doing some mods and want to be sure I have a good chance of getting back to stock in case I screw up. I have followed the instructions in this thread and installed all on my Win10 machine. When I try to execute LGUP I get prompted for permission by windows but nothing happens after I grant it. I have the phone in download mode as described in this thread <https://droidrecovery.com/lg-v40-thinq-recovery-mode/>. But I am getting nowhere fast. Any suggestions? Thanks
You might be having the same issue I had in that it's being blocked from running by your anti-virus program.
Worth checking that and adding it as an exception if it is.
 

whitedavidp

Senior Member
Jul 31, 2012
564
165
63
You might be having the same issue I had in that it's being blocked from running by your anti-virus program.
Worth checking that and adding it as an exception if it is.
The behavior I was seeing made it look like my attempts to flash were failing silently. Turns out they were not failing but not having an impact. I got a clue from some other post on XDA. It turns out that this device has 2 "slots" (A and B) and where only one is active at a time. As system updates roll out, they are put into the non-active slot and then that slot is activated. I was following the guide exactly and it said to flash the V35 bootloader into slot A. It turns out that my slot B was the active one. So after flashing into slot B I was able to move ahead. I believe you can see the currently active slot while in fastboot as a property.
 

raptor k

New member
Apr 6, 2020
1
0
0
this hasn't worked on my device

hello,

my lg v40 has been stuck with a black screen and a question mark in the centre, i cannot enter boot mode so i can't fix it.

can anyone help?
 

smokinu

Member
Dec 10, 2011
38
12
8
Hi. I just picked up an LG V40 after using Moto's for the last few phones. No stranger to XDA, but am still a newbie with LG specific procedures.

I've setup LGUP as described in the OP. Trying to do a DUMP to backup the contents of the entire drive first before crossflashing (from Sprint to US Unlocked). Encountered a Locked error message within LGUP. Dumb question....does the phone need to have the bootloader unlocked as a prerequisite to using LGUP???
 

Ainz_Ooal_Gown

Senior Member
Feb 3, 2013
3,841
1,716
0
26
Los Osos
Hi. I just picked up an LG V40 after using Moto's for the last few phones. No stranger to XDA, but am still a newbie with LG specific procedures.

I've setup LGUP as described in the OP. Trying to do a DUMP to backup the contents of the entire drive first before crossflashing (from Sprint to US Unlocked). Encountered a Locked error message within LGUP. Dumb question....does the phone need to have the bootloader unlocked as a prerequisite to using LGUP???
Are you on Oreo or pie?
 

whitedavidp

Senior Member
Jul 31, 2012
564
165
63
Hi. I just picked up an LG V40 after using Moto's for the last few phones. No stranger to XDA, but am still a newbie with LG specific procedures.

I've setup LGUP as described in the OP. Trying to do a DUMP to backup the contents of the entire drive first before crossflashing (from Sprint to US Unlocked). Encountered a Locked error message within LGUP. Dumb question....does the phone need to have the bootloader unlocked as a prerequisite to using LGUP???
I personally had no luck with the LGUP pointed at in this thread. From my own personal notes:

Based upon information and dual-mode LGUP download from here
<https://forum.xda-developers.com/showpost.php?p=76995781&postcount=26> and
comments from elsewhere:

1. Run the installer provided: LGUP_Store_Frame_Ver_1_14_3.msi and let it do
its thing.

2 Make sure you are using LGUP in user mode. The SetUser.bat script failed for
me due to permission issues. Even drag/drop file copies did not work. I have
to use copy and paste from the context menus. Essentially, you want to do
this:

copy "%RUNPATH%LGUP_CommonU.dll" "%ProgramFiles(x86)%\LG Electronics\LGUP\model\common\LGUP_Common.dll"

which places the LGUP_CommonU.dll into the proper location with the name
LGUP_Common.dll. Then you want to do this:

copy "%RUNPATH%LGUPU.exe" "%ProgramFiles(x86)%\LG Electronics\LGUP\LGUP.exe"

which places the LGUPU.exe into the proper location with the name LGUP.exe

3. Connect a normally running V40 via USB and start LGUP from the programs
list in Windows. It will show some initializing steps and likely an error
"Can't open new file" which you just ignore. You should see the device in the
upper section on a COM port showing standby.

Obviously, all this depends on having the right drivers installed.
 
  • Like
Reactions: piemanny

rjcarter3

Member
Oct 9, 2010
46
5
28
Hi. I'm currently running unlocked BL, rooted PIE US cellular 20a. It's noticed a few bugs with Bluetooth and the proximity sensor which I've been putting up with but was thinking about cross flashing to US Unlocked 20e. I have the following questions:

-last time I flashed, I think I downloaded and flashed a Magisk pre-patched boot image. Is there an easy way to patch this 20e image in the KDZ I've downloaded?

-if not, is it necessary that I install TWRP and patch Magisk from there? I guess I'd probably prefer to keep an LG bootloader since I like to run encrypted, but I can forego that if necessary.

-following the guide for root after you skip back to the non-root section I'm still supposed to select refurbish or upgrade options, correct? (does it matter which option I select?)

-if I just wanted to return to US unlocked stock so that I could get OTA updates, I would just keep all the abl and laf options checked and that would flash everything stock and lock the BL again?

-if I ever want to unlock the BL in the future again, I no longer need the Octoplus right? I can do it myself?

Thanks!
 

NGOwner

Senior Member
Sep 4, 2012
159
67
48
Kansas City
I'll take a stab at these

last time I flashed, I think I downloaded and flashed a Magisk pre-patched boot image. Is there an easy way to patch this 20e image in the KDZ I've downloaded?
Not that I know of. We can now via TWRP install Magisk directly.

if not, is it necessary that I install TWRP and patch Magisk from there? I guess I'd probably prefer to keep an LG bootloader since I like to run encrypted, but I can forego that if necessary.
Yes, install TWRP and Magisk. What does an unlocked bootloader have to do with encryption? Once you're done, I presume you can reencrypt. You just lose access to your data partion via TWRP. I've got a question out myself about that before I go and re-encrypt.

following the guide for root after you skip back to the non-root section I'm still supposed to select refurbish or upgrade options, correct? (does it matter which option I select?)
Yes. Select Refurbish. I've found it works better.

if I just wanted to return to US unlocked stock so that I could get OTA updates, I would just keep all the abl and laf options checked and that would flash everything stock and lock the BL again?
Yes, with the exception of bootloader lock. That doesn't occur via KDZ flashing. The bootloader stays unlocked, I and @whitedavidp have confirmed this.

I presume (I haven't done this, I'm just guessing) that if you want to lock the bootloader, you have to do that via fastboot with the V35 Engineering (or the V35 Engineering + ablpiestock.img) bootloader. Then flash back to the stock bootloader.

if I ever want to unlock the BL in the future again, I no longer need the Octoplus right? I can do it myself?
Correct. We can use 9008 mode and fastboot to do that.

[NG]Owner
 

rjcarter3

Member
Oct 9, 2010
46
5
28
I'll take a stab at these
[NG]Owner
Thanks for all the feedback.

So, sequencing things if I want to update my phone to this later version of Pie with root, I should follow this guide with the root option, then Markus's guide for flashing TWRP here and then Xasi's guide for flashing Magisk here. Does that should right to you?
 

rjcarter3

Member
Oct 9, 2010
46
5
28
[NG]Owner
So, I went and flashed US unlocked 20E last night. The directions started going sideways at step 5, setting active to slot b. I first got the android logo with the red ! as I recall but lost all fastboot control. Eventually, it booted back up into PIE.

I tried again to set it back to slot b, I got stuck and could only get into download mode. After applying all the LGUP patches, it recognized my phone, and I figured I'd play it safe and do a full factory flash, which was successful. The good news is that the bluetooth bugs I've been seeing with US Cellular 20A have disappeared, but I'm starting to wish I had root again.

I started following Markus's TWRP flashing instructions, but when I run an "adb reboot bootloader" command, it just boots back into PIE. His instructions for forcing recovery by rebooting + usb connection + holding vol up or down don't seem to work for me. If I force a bootloader boot (power and vol down, press and release power at the LG logo screen), I get to what I think is the plain stock bootloader (wipe phone - yes or no, reboot) but I still have no longer fastboot controls from the command prompt. Is it possible that the US unlocked version bootloader is more limited than the US Cellular version?

To answer one of your questions about encryption, the SD card and device encryption were separate but only the SD card was reversible. If you encrypted your phone, the only way to turn it off is with a wipe. For example, I was running fully encrypted, and I decrypted my SD card no problem before I started everything last night figuring that I might be flashing TWRP and Magisk from it at some point along the process.

Interestingly, it seems that the encryption in US Unlocked 20E is also more limited than US Cellular's 20A version. It doesn't appear that you can encrypt the phone itself but just permit it to set a Pin/password before boot. On the US Cellular 20A version, there was a whole process of encrypting the phone once you turned it on. It also doesn't appear that you can totally decrypt your SD Card once you encrypt it on 20E. You are just able to turn off encryption for new files I think? I'm still playing around with it.
 

whitedavidp

Senior Member
Jul 31, 2012
564
165
63
So, I went and flashed US unlocked 20E last night. The directions started going sideways at step 5, setting active to slot b. I first got the android logo with the red ! as I recall but lost all fastboot control. Eventually, it booted back up into PIE.

I tried again to set it back to slot b, I got stuck and could only get into download mode. After applying all the LGUP patches, it recognized my phone, and I figured I'd play it safe and do a full factory flash, which was successful. The good news is that the bluetooth bugs I've been seeing with US Cellular 20A have disappeared, but I'm starting to wish I had root again.

I started following Markus's TWRP flashing instructions, but when I run an "adb reboot bootloader" command, it just boots back into PIE. His instructions for forcing recovery by rebooting + usb connection + holding vol up or down don't seem to work for me. If I force a bootloader boot (power and vol down, press and release power at the LG logo screen), I get to what I think is the plain stock bootloader (wipe phone - yes or no, reboot) but I still have no longer fastboot controls from the command prompt. Is it possible that the US unlocked version bootloader is more limited than the US Cellular version?

To answer one of your questions about encryption, the SD card and device encryption were separate but only the SD card was reversible. If you encrypted your phone, the only way to turn it off is with a wipe. For example, I was running fully encrypted, and I decrypted my SD card no problem before I started everything last night figuring that I might be flashing TWRP and Magisk from it at some point along the process.

Interestingly, it seems that the encryption in US Unlocked 20E is also more limited than US Cellular's 20A version. It doesn't appear that you can encrypt the phone itself but just permit it to set a Pin/password before boot. On the US Cellular 20A version, there was a whole process of encrypting the phone once you turned it on. It also doesn't appear that you can totally decrypt your SD Card once you encrypt it on 20E. You are just able to turn off encryption for new files I think? I'm still playing around with it.
When you say "If I force a bootloader boot (power and vol down, press and release power at the LG logo screen), I get to what I think is the plain stock bootloader (wipe phone - yes or no, reboot)" I think you are booting into recovery (TWRP) and not bootloader. However you see the stock UI. You must accept a couple times and you will end up in TWRP.
 

rjcarter3

Member
Oct 9, 2010
46
5
28
When you say "If I force a bootloader boot (power and vol down, press and release power at the LG logo screen), I get to what I think is the plain stock bootloader (wipe phone - yes or no, reboot)" I think you are booting into recovery (TWRP) and not bootloader. However you see the stock UI. You must accept a couple times and you will end up i
Code:
n TWRP.
I guess I'm just a little confused reading these directions from Markus's guide. Note: I'm bone stock except unlocked bootloader. I don't have TWRP installed yet.

Installation guide:
  1. Copy the twrp image to your phones storage and/or micro sdcard
  2. Start cmd/powershell/terminal with working adb/fastboot
  3. Reboot to bootloader
    1. adb reboot bootloader OR
    2. turn off the phone (or reboot), as soon as it turns on, hold volume down while USB cable is connected
      • If youre unofficially bootloader unlocked, and you nuked laf, its volume up and USB for you
  4. fastboot boot TWRP-judypn-boot.img

I get to step 3 and it just boots back into PIE no matter what whether I use the adb command or try a manual reboot using usb cable & vol+/-. Makes no difference.

Separately, if I unplug USB and turn off the phone. Then, power on with vol -, release and press pwr on splash screen, I get the "Factory data reset
No (Exit)
Yes"

I think this is the stock recovery? But, I still can't reconnect usb and have access to adb/fastboot. Maybe I should take this back to that thread since I'm kind of getting off track, but just in case you had any ideas...
 

whitedavidp

Senior Member
Jul 31, 2012
564
165
63
I guess I'm just a little confused reading these directions from Markus's guide. Note: I'm bone stock except unlocked bootloader. I don't have TWRP installed yet.

Installation guide:
  1. Copy the twrp image to your phones storage and/or micro sdcard
  2. Start cmd/powershell/terminal with working adb/fastboot
  3. Reboot to bootloader
    1. adb reboot bootloader OR
    2. turn off the phone (or reboot), as soon as it turns on, hold volume down while USB cable is connected
      • If youre unofficially bootloader unlocked, and you nuked laf, its volume up and USB for you
  4. fastboot boot TWRP-judypn-boot.img

I get to step 3 and it just boots back into PIE no matter what whether I use the adb command or try a manual reboot using usb cable & vol+/-. Makes no difference.

Separately, if I unplug USB and turn off the phone. Then, power on with vol -, release and press pwr on splash screen, I get the "Factory data reset
No (Exit)
Yes"

I think this is the stock recovery? But, I still can't reconnect usb and have access to adb/fastboot. Maybe I should take this back to that thread since I'm kind of getting off track, but just in case you had any ideas...
I think you should go to the other thread since this is pretty off topic now. But after I did this, fastboot became power UP and plug in USB.
 

NGOwner

Senior Member
Sep 4, 2012
159
67
48
Kansas City
Separately, if I unplug USB and turn off the phone. Then, power on with vol -, release and press pwr on splash screen, I get the "Factory data reset
No (Exit)
Yes"

I think this is the stock recovery?
This is how you get into TWRP Recovery! This phone doesn't boot directly into TWRP. Select Yes twice, and the phone will boot into TWRP.

[NG]Owner
 

rjcarter3

Member
Oct 9, 2010
46
5
28
Thanks. A lots gone on in the past 24h.

I somehow nearly bricked my phone in 9008 trying to flash v35eng to abl_a in order to get to fastboot and couldn't get out of 9008. After a tip from Xsavi, I started flashing all the possible corrupt a partitions from b and somehow was able to get into downloader mode on b and restored with LGUP.

My next attempt was more successful. I was able to get into fastboot and booted to twrp. However, when trying to flash twrp to recovery ramdisk, I got an error that I've already forgotten but a forum post for it had Markus saying that twrp was basically tested with I think 20d or earlier? My base flash was 20e.

I had tried to flash to an earlier KDZ but LGUP wouldn't let me. Maybe there's a workaround, but I'm getting kind of tired of working on this. The bugs I was hitting in 20a were mostly gone in 20e and didn't feel like going back. The biggest thing I needed root for at this point was mobile payments, but since I couldn't do that I just relocked the bootloader and called it a day.