• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

how to get back to pie on lg v50 SPRINT version without any kdzs guide

Search This thread

antintin

Senior Member
Sep 11, 2019
595
137
LG V40
LG G8
Sprint Downgrade from Android 10 Beta to Android 9 PIE:

MAKE A BACKUP WITH BACKUP BUILT INTO SETTINGS AND MOVE IT TO COMPUTER FROM LG Backup folder

Install python first and make sure to check add to path variables during installation - if you didn't you will have trouble later on

If you get any errors you can look up how to install the cryptography module - it seems to have fixed issues for some users

This is only recommended on Sprint devices as they have no other option. If you are thinking about installing the beta now, I would recommend you don't because final is coming out soon.

I will be putting the commands in " and do not include the " in what commands you execute

1. LG USB Drivers 4.4.2 http://tool.lime.gdms.lge.com/dn/downloader.dev?fileKey=UW00120120425

2. Download LGLAF and extract to desktop https://anonfile.com/7aa2z8Ean2/lglaf-develop_zip

3. Put your phone in Download Mode
a.) Power off your phone
b.) Plug in the cable connected to your computer and start holding volume up at the same time

4a. (At this point there are 2 ways, I recommend trying the first one first)
Open lglaf-develop folder and open a Powershell / cmd line
Make sure the path at the top is the folder directly leading to the lglaf.py file
(Shift Key + right mouse) and type: "python lglaf.py" then hit ENTER
If it says python is not recognized

4b. Open a normal command prompt and type "where python"
Copy the path (except for the /python.exe at the end)
Go to lglaf.py > open with > find another app > paste in path and select the python.exe file and click open

5. Type "!SABS 0" or "!SABS 1" to switch between A/B slots. You will have to test to see which one your in, no harm can be done by switching to already active slot.

6.Type "!CTRL POFF"

7.Type "exit"

The device will power off after you unplug the USB cable.

Don't worry if it takes a very long time to boot up - just hold power button for like 10 seconds and wait
Important: everytime you want to update, switch to the PIE slot so that the other slot gets updated and you have an official version to revert to.
 
Last edited:

kaz61

Member
Nov 11, 2017
6
1
WARNING: make a BACKUP before proceeding and save it to your computer. When I reverted to pie it put me in secure start up and I had to factory reset, it could happen to you too.

*This method is taking advantage of the a/b slot system, as when you install the Android 10 beta while being on pie, it will update the slot the you are currently not using, leaving the pie slot untouched.

This can be done to update to a newer beta and get unstuck out of the beta

1) make sure you have the lg usb drivers installed. I suggest you do the whole setup for lgup anyway.

2) https://github.com/steadfasterX/lglaf/tree/develop

Download as a zip file and unzip to desktop. Make sure you're in the develop branch (don't worry about it the link should already bring you there)

3) put your phone in download mode:
To do this 1: power off phone and plug usb cable into computer (not yet into phone)
2: press and hold the volume button in the same moment that you put the cable into your phone and wait until you get into download mode
4.) Open a powershell in the develop file.
To do this, open the develop file, and there should be another folder with the exact same name inside it (if you go inside this file you see a bunch of .py files)
Hover over this second folder with your mouse and press shift+right click. Move to open powershell window here: type "python lglaf.py" (without quotes)


5.) Type commands:
1: type !SABS 0 or !SABS 1 to switch between slots. You will have to test to see which one your in, no harm can be done by switching to already active slot. Keep in mind, the powershell will always have a # before the command, but it's important that you have the !
2: type !CTRL POFF
3: just type exit
6) device will restart after you pull cable out

7) Everytime you want to update, switch to the pie slot so the other slot gets updated and you have an official version to revert to

If you encounter any problems, join the telegram group for v50 by simply searching up v50 in the telegram app

If you have the time, please thank this post

Power shell wont do anything after i put the commands. I wanna go back to Pie cause i ran into roaming bug and now i dont have mobile data. This is on the LG G8 Sprint btw.
 
Last edited:

goliath714

Senior Member
Jan 23, 2010
283
128
Lynnwood
Does anyone know if it will still work after a factory reset done from recovery?

Edit: I can't seem to run the !SABS command as it is not recognized by Powershell after running the python script. Also, the python script didn't seem to do anything.

!SABS : The term '!SABS' is not recognized as the name of a cmdlet, function, script file, or operable program. Check
the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ !SABS 1
+ ~~~~~
+ CategoryInfo : ObjectNotFound: (!SABS:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
 
Last edited:

crazynapkinman

Senior Member
Jun 16, 2014
1,193
272
OnePlus 8
So followed the guide and it gave me the same error that @goliath714 got. @antintin can you give us some more direction here? Telegram group is garbage... filled with a bunch of ads and ****.

---------- Post added at 08:48 PM ---------- Previous post was at 08:48 PM ----------

So followed the guide and it gave me the same error that @goliath714 got. @antintin can you give us some more direction here? Telegram group is garbage... filled with a bunch of ads and ****.
 

crazynapkinman

Senior Member
Jun 16, 2014
1,193
272
OnePlus 8
After speaking with folks in the Telegram group:

CREATE A BACKUP AND MOVE TO PC FIRST!!!

Afterwards, make sure you have PYTHON 3 installed, as well as LGUP and all the drivers.

Then you can run the powershell commands and they actually work!

Once reverted you will boot to a secure boot screen... just enter wrong password enough times to cause phone to wipe... after wiping and rebooting, plug phone in to PC and move backup back onto phone.

Use the "Restore" option in Settings to restore your data.

Profit.
 

joshw0000

Senior Member
Jun 15, 2010
3,984
402
So followed the guide and it gave me the same error that @goliath714 got. @antintin can you give us some more direction here? Telegram group is garbage... filled with a bunch of ads and ****.

---------- Post added at 08:48 PM ---------- Previous post was at 08:48 PM ----------

So followed the guide and it gave me the same error that @goliath714 got. @antintin can you give us some more direction here? Telegram group is garbage... filled with a bunch of ads and ****.

I've spent a lot of time trying to get this to work and Google about Python as I've never used it. Here's as far as I got. I appreciate any and all help that anyone can provide:

First, I received an error that about python:

PS C:\Users\Josh\Desktop\lglaf-master> python lglaf.py
python : The term 'python' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ python lglaf.py
+ ~~~~~~
+ CategoryInfo : ObjectNotFound: (python:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException

Since I can't figure out how to set up python globally, I remembered the old adb days and added all of my contents to the python folder...and I get the following:

PS C:\Python30> python lglaf.py
python : The term 'python' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ python lglaf.py
+ ~~~~~~
+ CategoryInfo : ObjectNotFound: (python:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException


Suggestion [3,General]: The command python was not found, but does exist in the current location. Windows PowerShell does not load commands from the current location by default. If you trust this command, instead type: ".\python". See "get-help about_Command_Precedence" for more details.
PS C:\Python30> .\python lglaf.py
Traceback (most recent call last):
File "lglaf.py", line 10, in <module>
import argparse, logging, re, struct, sys, binascii
ImportError: No module named argparse
PS C:\Python30>

Any help you can provide is appreciated. I'm sure I'm missing something simple.
 

antintin

Senior Member
Sep 11, 2019
595
137
LG V40
LG G8
I've spent a lot of time trying to get this to work and Google about Python as I've never used it. Here's as far as I got. I appreciate any and all help that anyone can provide:

First, I received an error that about python:

PS C:\Users\Josh\Desktop\lglaf-master> python lglaf.py
python : The term 'python' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ python lglaf.py
+ ~~~~~~
+ CategoryInfo : ObjectNotFound: (python:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException

Since I can't figure out how to set up python globally, I remembered the old adb days and added all of my contents to the python folder...and I get the following:

PS C:\Python30> python lglaf.py
python : The term 'python' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ python lglaf.py
+ ~~~~~~
+ CategoryInfo : ObjectNotFound: (python:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException


Suggestion [3,General]: The command python was not found, but does exist in the current location. Windows PowerShell does not load commands from the current location by default. If you trust this command, instead type: ".\python". See "get-help about_Command_Precedence" for more details.
PS C:\Python30> .\python lglaf.py
Traceback (most recent call last):
File "lglaf.py", line 10, in <module>
import argparse, logging, re, struct, sys, binascii
ImportError: No module named argparse
PS C:\Python30>

Any help you can provide is appreciated. I'm sure I'm missing something simple.
Was your phone in download mode and plugged in while you ran the last one? If yes, then uninstall and reinstall python and look up how to add it to path variables. To find the python path, you can type where python into a normal command prompt, but when you add it to path variables, make sure you leave out the /python.exe part at the end
 

antintin

Senior Member
Sep 11, 2019
595
137
LG V40
LG G8
After speaking with folks in the Telegram group:

CREATE A BACKUP AND MOVE TO PC FIRST!!!

Afterwards, make sure you have PYTHON 3 installed, as well as LGUP and all the drivers.

Then you can run the powershell commands and they actually work!

Once reverted you will boot to a secure boot screen... just enter wrong password enough times to cause phone to wipe... after wiping and rebooting, plug phone in to PC and move backup back onto phone.

Use the "Restore" option in Settings to restore your data.

Profit.[/QUOTE
BTW there are no ads in telegram idk why you are saying there are
 

joshw0000

Senior Member
Jun 15, 2010
3,984
402
Was your phone in download mode and plugged in while you ran the last one? If yes, then uninstall and reinstall python and look up how to add it to path variables. To find the python path, you can type where python into a normal command prompt, but when you add it to path variables, make sure you leave out the /python.exe part at the end

Was your phone in download mode and plugged in while you ran the last one? If yes, then uninstall and reinstall python and look up how to add it to path variables. To find the python path, you can type where python into a normal command prompt, but when you add it to path variables, make sure you leave out the /python.exe part at the end

Yes, the phone was connected in Download mode and I confirmed that it was recognized in Device Manager. I reinstalled and repaired Python about 5 times last night. At one point I even attempted to learn Python and execute the commands in the Python command prompt that the program installed.

I also spent a good deal of time trying to figure out how to add Python to the path variable. One post I found said to reinstall it (which I did) and another gave a command prompt command which seemed to point to an older version or Python but I adapted and ran it for the newer version that I'm running and the command completed without an error.

No matter what I did, each time if I typed in "Python" or the command in the OP, I would get an error. It only seemingly accepted it when I issued ".\python lglaf.py" but I think that's because I was CD'ed into the folder with the Python .exe file.

Sent from my SM-N960U using Tapatalk
 

EdwardFnNe

New member
Oct 8, 2017
4
0
Hey man, I love you, I thought I was ****ed up. It works. The only thing is that when the device startep up it ask you a password, but I did wipe data and everything perfect. Now I am updating to android 10 v20d. And to those people that it did not work, the problem is something with the python, I am telling you that because I had problem with it too, but i looked into google and I could solve the problems I was having. And thank you again, man.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 6
    Sprint Downgrade from Android 10 Beta to Android 9 PIE:

    MAKE A BACKUP WITH BACKUP BUILT INTO SETTINGS AND MOVE IT TO COMPUTER FROM LG Backup folder

    Install python first and make sure to check add to path variables during installation - if you didn't you will have trouble later on

    If you get any errors you can look up how to install the cryptography module - it seems to have fixed issues for some users

    This is only recommended on Sprint devices as they have no other option. If you are thinking about installing the beta now, I would recommend you don't because final is coming out soon.

    I will be putting the commands in " and do not include the " in what commands you execute

    1. LG USB Drivers 4.4.2 http://tool.lime.gdms.lge.com/dn/downloader.dev?fileKey=UW00120120425

    2. Download LGLAF and extract to desktop https://anonfile.com/7aa2z8Ean2/lglaf-develop_zip

    3. Put your phone in Download Mode
    a.) Power off your phone
    b.) Plug in the cable connected to your computer and start holding volume up at the same time

    4a. (At this point there are 2 ways, I recommend trying the first one first)
    Open lglaf-develop folder and open a Powershell / cmd line
    Make sure the path at the top is the folder directly leading to the lglaf.py file
    (Shift Key + right mouse) and type: "python lglaf.py" then hit ENTER
    If it says python is not recognized

    4b. Open a normal command prompt and type "where python"
    Copy the path (except for the /python.exe at the end)
    Go to lglaf.py > open with > find another app > paste in path and select the python.exe file and click open

    5. Type "!SABS 0" or "!SABS 1" to switch between A/B slots. You will have to test to see which one your in, no harm can be done by switching to already active slot.

    6.Type "!CTRL POFF"

    7.Type "exit"

    The device will power off after you unplug the USB cable.

    Don't worry if it takes a very long time to boot up - just hold power button for like 10 seconds and wait
    Important: everytime you want to update, switch to the PIE slot so that the other slot gets updated and you have an official version to revert to.
    1
    It boots me to android 10 regardless of if I put !SABS 0 or !SABS 1
    Did you apply an update while you were in Android 10? Did you do the rest of the commands too so it automatically restarts after u unplug?
    1
    I do the commands you posted, I put # then I copy and paste what you wrote so Im not misstyping. However when I unplug it doesn't reboot. I have to manually do it myself
    Ur not supposed to put the # it is automatically there
    1
    Is it normal for this to just hang at the boot screen (just LG V50 ThinQ) for 10+ minutes? I've switched to 0, it will hang. Tried rebooting, same thing. Switching to 1, I get Android 10. Obviously I want 9 though.

    Same thing happening to me. Did you ever figure this out?

    Edit: I solved it. After switching to 0, if it gets stuck on boot, hold Volume Down + Power until the system reboots. After it reboots, keep holding it until it enters Recovery Mode. Once in Recovery Mode, select (using volume up/down) the option to revert to factory defaults (this will wipe your phone). After it finishes, reboot to bootloader. On mine, the Sprint logo was replaced with the LG logo and it took a couple of minutes before it launched the standard Android setup.

    Doing this process reverted my Android 10 to June security update from August security update. Doesn't do me any good though since I need January.
    1
    Anyone interested in making a few bucks doing this for me (assuming it's possible to do so remotely)? I bricked my LG V35 last time I messed around with this stuff and I'm feeling a bit gun-shy.