Edit: mobile Redmi note 5(china AI version)
When in fast boot, if you pass any command through PC (Cmd or Xiaomi Tool or MiFlash Tool) mobile immediately says press to shutdown.
Commands are not working in fastboot mode. phone connects and i can hear the connected sound, then as soon as 1st command is passed or MiFlash tool tries to connect, this message appears.
Cant install Twrp, Stock Rom, cant try to unlock Bootloader again.
background: i had twrp installed. then after sometime i checked and twrp was replaced with stock recovery so i installed twrp again and flashed RR Rom. but didnt like that so installed Miui Stock rom using Twrp. few days later Twrp is replaced again and i cant install anything through fastboot. help please. i am willing to reset whole device to its 1st initial form.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
junioreinstein said:
Edit: mobile Redmi note 5(china AI version)
When in fast boot, if you pass any command through PC (Cmd or Xiaomi Tool or MiFlash Tool) mobile immediately says press to shutdown.
Commands are not working in fastboot mode. phone connects and i can hear the connected sound, then as soon as 1st command is passed or MiFlash tool tries to connect, this message appears.
Cant install Twrp, Stock Rom, cant try to unlock Bootloader again.
background: i had twrp installed. then after sometime i checked and twrp was replaced with stock recovery so i installed twrp again and flashed RR Rom. but didnt like that so installed Miui Stock rom using Twrp. few days later Twrp is replaced again and i cant install anything through fastboot. help please. i am willing to reset whole device to its 1st initial form.
Click to expand...
Click to collapse
reinstall adb drivers. https://androidfilehost.com/?fid=746010030569952951
try other usb ports
junioreinstein said:
Edit: mobile Redmi note 5(china AI version)
When in fast boot, if you pass any command through PC (Cmd or Xiaomi Tool or MiFlash Tool) mobile immediately says press to shutdown.
Commands are not working in fastboot mode. phone connects and i can hear the connected sound, then as soon as 1st command is passed or MiFlash tool tries to connect, this message appears.
Cant install Twrp, Stock Rom, cant try to unlock Bootloader again.
background: i had twrp installed. then after sometime i checked and twrp was replaced with stock recovery so i installed twrp again and flashed RR Rom. but didnt like that so installed Miui Stock rom using Twrp. few days later Twrp is replaced again and i cant install anything through fastboot. help please. i am willing to reset whole device to its 1st initial form.
Click to expand...
Click to collapse
This is due to wired Kedacom Device Driver. No matter how many times you install drivers your PC will again install this bull****. I was in this trap for a while and asked for recommendation but later on I figured out this issue and stop wasting time on this matter. I just did my job with laptop.
Please try with another PC preferable not Windows 10 machine. Hope this helps.
Yep. I also had the same problem. PC with Windows 7 solved it...
kamrul.auntu said:
This is due to wired Kedacom Device Driver. No matter how many times you install drivers your PC will again install this bull****. I was in this trap for a while and asked for recommendation but later on I figured out this issue and stop wasting time on this matter. I just did my job with laptop.
Please try with another PC preferable not Windows 10 machine. Hope this helps.
Click to expand...
Click to collapse
I am using Win 8 and still get the same behavior on my Mix 2s.
-edit When the phone is in Fasboot mode and connected to the Win 8 laptop running Mi-unlock tool, the phone instantly switches to "Press any key to shutdown" and looking in Device Manager, there is no Kedacom driver, just the Android Bootloader Interface
i switched to USB 2.0 port and it worked!
New laptop and the same problem. Solved with HUB USB.
Yippee-ki-yay said:
New laptop and the same problem. Solved with HUB USB.
Click to expand...
Click to collapse
Thank you! You help me to solve my problem.
God bless you.
fredperry said:
Yep. I also had the same problem. PC with Windows 7 solved it...
Click to expand...
Click to collapse
Same Question on Win10 and Mi Mix 2s . Change a Win10 Laptop and solved.
Mate, in most cases, this is the issue of MIUI Fastboot not being compatible with USB 3.0 ports. The solution is to use a USB 2.0 port instead or, in cases where you only have USB 3.0 ports, connect the device through a USB hub and you are good to go.
Patoilo said:
Mate, in most cases, this is the issue of MIUI Fastboot not being compatible with USB 3.0 ports. The solution is to use a USB 2.0 port instead or, in cases where you only have USB 3.0 ports, connect the device through a USB hub and you are good to go.
Click to expand...
Click to collapse
In fact, I failed on my PC (wherever USB 2.0/3.0 ports), but successed with my laptop that only has USB 3.0
Little Grey said:
In fact, I failed on my PC (wherever USB 2.0/3.0 ports), but successed with my laptop that only has USB 3.0
Click to expand...
Click to collapse
Wow, that is awkward. You're a damn lucky boy haha
Same problem happens with me.
This problem is associated with AMD as their cpu doesn't support fastboot and adb
try this solution:
use a USB 2 port
create a new txt file,write code in the { } below
{
@Echo off
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\usbflags\18D1D00D0100" /v "osvc" /t REG_BINARY /d "0000" /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\usbflags\18D1D00D0100" /v "SkipContainerIdQuery" /t REG_BINARY /d "01000000" /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\usbflags\18D1D00D0100" /v "SkipBOSDescriptorQuery" /t REG_BINARY /d "01000000" /f
pause
}
then save this file and rename it as a .bat file
right click and run as administrator.
after that the issue can be fixed
JerryLF said:
try this solution:
use a USB 2 port
create a new txt file,write code in the { } below
{
@Echo off
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\usbflags\18D1D00D0100" /v "osvc" /t REG_BINARY /d "0000" /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\usbflags\18D1D00D0100" /v "SkipContainerIdQuery" /t REG_BINARY /d "01000000" /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\usbflags\18D1D00D0100" /v "SkipBOSDescriptorQuery" /t REG_BINARY /d "01000000" /f
pause
}
then save this file and rename it as a .bat file
right click and run as administrator.
after that the issue can be fixed
Click to expand...
Click to collapse
nope, not working
JerryLF said:
try this solution:
use a USB 2 port
create a new txt file,write code in the { } below
{
@Echo off
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\usbflags\18D1D00D0100" /v "osvc" /t REG_BINARY /d "0000" /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\usbflags\18D1D00D0100" /v "SkipContainerIdQuery" /t REG_BINARY /d "01000000" /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\usbflags\18D1D00D0100" /v "SkipBOSDescriptorQuery" /t REG_BINARY /d "01000000" /f
pause
}
then save this file and rename it as a .bat file
right click and run as administrator.
after that the issue can be fixed
Click to expand...
Click to collapse
Thankyou it works
!!!!! for those who copy the text from the forum you have to remove space from "Contr ol" to "Control".
JerryLF said:
try this solution:
use a USB 2 port
create a new txt file,write code in the { } below
{
@Echo off
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\usbflags\18D1D00D0100" /v "osvc" /t REG_BINARY /d "0000" /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\usbflags\18D1D00D0100" /v "SkipContainerIdQuery" /t REG_BINARY /d "01000000" /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\usbflags\18D1D00D0100" /v "SkipBOSDescriptorQuery" /t REG_BINARY /d "01000000" /f
pause
}
then save this file and rename it as a .bat file
right click and run as administrator.
after that the issue can be fixed
Click to expand...
Click to collapse
I registered to say thank you.
JerryLF said:
try this solution:
use a USB 2 port
create a new txt file,write code in the { } below
{
@Echo off
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\usbflags\18D1D00D0100" /v "osvc" /t REG_BINARY /d "0000" /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\usbflags\18D1D00D0100" /v "SkipContainerIdQuery" /t REG_BINARY /d "01000000" /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\usbflags\18D1D00D0100" /v "SkipBOSDescriptorQuery" /t REG_BINARY /d "01000000" /f
pause
}
then save this file and rename it as a .bat file
right click and run as administrator.
after that the issue can be fixed
Click to expand...
Click to collapse
Thank you very much, just remove space between Contr ol
My solution
junioreinstein said:
Edit: mobile Redmi note 5(china AI version)
When in fast boot, if you pass any command through PC (Cmd or Xiaomi Tool or MiFlash Tool) mobile immediately says press to shutdown.
Commands are not working in fastboot mode. phone connects and i can hear the connected sound, then as soon as 1st command is passed or MiFlash tool tries to connect, this message appears.
Cant install Twrp, Stock Rom, cant try to unlock Bootloader again.
background: i had twrp installed. then after sometime i checked and twrp was replaced with stock recovery so i installed twrp again and flashed RR Rom. but didnt like that so installed Miui Stock rom using Twrp. few days later Twrp is replaced again and i cant install anything through fastboot. help please. i am willing to reset whole device to its 1st initial form.
Just try using a USB HUB, no matter the port. I worked wonders. The dumbest thing though. xD
Click to expand...
Click to collapse
mr.ghx said:
junioreinstein said:
Edit: mobile Redmi note 5(china AI version)
When in fast boot, if you pass any command through PC (Cmd or Xiaomi Tool or MiFlash Tool) mobile immediately says press to shutdown.
Commands are not working in fastboot mode. phone connects and i can hear the connected sound, then as soon as 1st command is passed or MiFlash tool tries to connect, this message appears.
Cant install Twrp, Stock Rom, cant try to unlock Bootloader again.
background: i had twrp installed. then after sometime i checked and twrp was replaced with stock recovery so i installed twrp again and flashed RR Rom. but didnt like that so installed Miui Stock rom using Twrp. few days later Twrp is replaced again and i cant install anything through fastboot. help please. i am willing to reset whole device to its 1st initial form.
Just try using a USB HUB, no matter the port. I worked wonders. The dumbest thing though. xD
Click to expand...
Click to collapse
Yeahh that seems to be the problem with either Usb 3.0 or Using Amd builds as they're not fastboot friendly.I have an amd 2500u apu, I was facing same problem using Usb hub solved that
Click to expand...
Click to collapse
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.
Nice work, Antintin! But you forgot to create one also for G8 users. ??
Inerent said:
Nice work, Antintin! But you forgot to create one also for G8 users. ??
Click to expand...
Click to collapse
I'll do that later
antintin said:
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
Click to expand...
Click to collapse
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.
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
It boots me to android 10 regardless of if I put !SABS 0 or !SABS 1
Deathmeter said:
It boots me to android 10 regardless of if I put !SABS 0 or !SABS 1
Click to expand...
Click to collapse
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?
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
Deathmeter said:
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
Click to expand...
Click to collapse
Ur not supposed to put the # it is automatically there
antintin said:
Ur not supposed to put the # it is automatically there
Click to expand...
Click to collapse
well, I got it to work, unfortunately it put me into secure startup and wants a password but I never had one set. I only had a pattern and fingerprint
Edit: I looked it up, had to enter my pattern liek they were numbers 1-9, really weird
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 ****.
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.
crazynapkinman said:
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 ****.
Click to expand...
Click to collapse
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.
joshw0000 said:
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.
Click to expand...
Click to collapse
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
crazynapkinman said:
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
Click to expand...
Click to collapse
antintin said:
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
Click to expand...
Click to collapse
antintin said:
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
Click to expand...
Click to collapse
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
You have to install adb from Google first??
Got it to work. That was a lot to do!
d7racerx said:
Got it to work. That was a lot to do!
Click to expand...
Click to collapse
Did this method erase all data for eveyone it just for some?
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.