[Android General] tecknight:
Install LGUP Dual Mode(Dev/User) on your Windows PC

TAT TecKnight's Aristo 2 Tutorials series

Install LGUP Dual Mode(Dev/User) on your Windows PC

Requirements:

A PC running Windows with an internet connection

Note: Full credit for unlocking LGUP developer mode and how to do it goes to @smitel. I used his thread here as a guide to modify LGUP.exe (from the 1.14.3 .msi) and the universal LGUP_c.dll (1.0.36.10) used by LG Bridge to flash all LG phones and embedded in the latest .kdz files. Since I modified the universal flashing DLL, this modded LGUP should function on most, if not all LG phones. I have successfully tested it on at least 8 different LG phone models. I would appreciate any feedback regarding functionality on any other LG phones.

1. Download LGUP_DualMode.zip from here:

https://www.androidfilehost.com/?fid=11410963190603845019​

2. Extract LGUP_DualMode.zip to a folder on your PC.

3. Browse into the folder and launch LGUP_Store_Frame_Ver_1_14_3.msi. Follow the prompts to complete the install.

4. Right click and select "Run as Administrator" on either:

SetDev.bat To set LGUP to developer mode

or

SetUser.bat To set LGUP to end user mode​

5. Launch LGUP using the desktop shortcut.

Note: You may delete the .msi file from the folder. As long as you keep the other files, you can run SetDev.bat or SetUser.bat any time LGUP is not running to set the version of LGUP on your system.

This is the Developer mode initial screen:

This is the DUMP option dialog:

[IMG="Dump Option"]https://lh3.googleusercontent.com/gF4vUsgJXpNsQM4HwRQyjwBDZxQ-nUbNcdWoVpR0y1dXpk7BGW5R1DLrA8VWxi9GoZ3mErYd0EyXtO_1RxgQy28aZEy5ZbsnsDCUs4x9qMGpqvJFRkdTjdjt_fQLqF62LREZUqrYeXmB0PW55QW-sn64jVtFVzSIFRJ0yqhGi0mJcN-HJHo-1vjDSyYetxR6_-gkl9Z1aXzr8X-uMUTnfSBF47bVbUI-pg7aLflSI_uJ9pEDCgQ7hi23dBRQ8Uhhqv1U-nGg4q5ZNLLEShlXxbwKLWcxrH2-hQkA1vdrk9jIAAhZlPmsB8ZpJaaVCIhI1UMv-Ew6prsr8cuWr8SL4iVdJ8IdR4TWrQao9TrKPiWBaAJKmnAbt1y6eiSYxfnJCq8j4nNxG69JLJYv-Z3-z65Ecb0QG_olaVf9zbBbwNwnXmRt-tZ68ff6u_HhzcrQ7SLXXuEbDPd8yUhF3YGPXB-GuG-AmNe3VcwMcagQa9QSpkZRjB5qecSjH0QZq4pXXS-7khXD-B08zTDywsUQR85RNXyRUpo4OeOWttXkPFeEtd50IGC7VbpKyfICwf20TSa5v-QWcyKSAa_X5Nk2UmDsv7bwEOu9xe6kd1H3=w674-h484-no[/IMG]

One of about 10 pages of PHONESETTINGs

Developer Mode options and what they do:

ChipErase: Can remove factory reset protection on older LG phones.

PRL UPDATE: Writes and updates Preferred Roaming List on phone.

PRL Read: Reads and displays Preferred Roaming List from phone.

PHONESETTING: Useful and powerful but potentially dangerous. Displays several pages of mostly editable fields relating to the connected phone. There is a command button to read the data and another one to write the data back.

Note: After using this option on your phone, even if you don't make any changes, it may be necessary to cold boot your phone to restore cellular data access.

PARTITION DL: Very useful option. Requires selected .TOT or .KDZ file. Once started, will allow you to select which partition(s) from the selected .TOT or .KDZ file to flash to the connected phone. For instance, you could upgrade your system while retaining root by NOT flashing the boot partition.

Update: This option is even more useful than I thought. It bypasses model checking, allowing you to crossflash a device with an image intended for another model, literally changing the model of the target device. This is useful when the same hardware is used for several different products, depending on the market or carrier. Just select your .KDZ or .TOT, click Start, then check All partitions.

DUMP: Very useful. Once Started, shows a list of all partitions on the connected phone. Has a checkbox next to each. Check all partitions you want to back up. Then click OK and it will ask you which folder to place the files into. Select folder and LGUP will create a complete binary .img file for each selected partition. This can be used for backup or for data recovery purposes. I have already used this to recover files and pics from a phone where the owner had forgotten his PIN. Since a factory reset (to clear the PIN) would wipe his userdata, I dumped his data partition using this option, then did the factory reset. The image files can be restored directly using TWRP, fastboot or the dd command from a rooted shell.

FOTA Upgrade: Allows you to Apply Firmware Over The Air update to phone.

FAC Upgrade: Unknown, but it may refer to the Final Assembly Code, a 2 digit code that used to be part of the IMEI.

Board DL: Unknown (likely destructive)

Please hit the Thanks button at the bottom of this post if you appreciate my work.

_________

Change Log:

12/28/2018 Had to revert flashing .DLL back to 1.0.36.10. New version was getting DLL error message in LGUP.

12/26/2018 Updated common flashing DLL to version 1.0.38.3. New DLL used in both stock (user) mode and modded DLL used in developer mode. This should ensure optimal support for all LG devices.

11/12/2018 Found a significantly newer common flashing DLL, which should support more devices, ver 1.0.36.10. Newer DLL is now used in both stock (user) mode and modded DLL used in developer mode.

7/19/2018 Added Run as Administrator to insure .bat files are able to copy files. I also changed the .bat files to check if the file copy failed.

7/11/2018 Added update on Partition DL option and some additional screen shots of Dev options.

7/5/2018 Created initial procedure.