problems with fastboot - Xiaomi Mi 8 SE Questions & Answers

sorry for the english level because i'm using google translator.
I'm having problems with fastboot the device disconnects after the command fastboot devices, when I try to perform a flash the adb is flashing and does not perform the procedure.
can anyone help?

Related

USB Drivers

Back Story:
I cracked the screen on my Moto X a few days ago and just received my insurance replacement. Before I send the old one back I want to return it to stock. I am attempting to do so using RSD Lite and the FXZ from the the Android Development section.
My problem is that the usb drivers are not installing correctly! I downloaded the device manager, and when my phone connects and Windows says it is installing driver software it returns this error. (see attached)
As a result, I cannot get the phone to be recognized by RSD Lite, therefore not being able to return to stock.
PLEASE HELP!
Troubleshooting up to this point:
-Uninstalled and reinstalled drivers
-rebooted computer
-rebooted phone
-tried different usb ports
-tried new phone
In case I cannot resolve this issue, is there another way to return to stock? I really don't think Asurion will like me very much when they try to factory reset this phone and nothing happens
jmcharles said:
Back Story:
I cracked the screen on my Moto X a few days ago and just received my insurance replacement. Before I send the old one back I want to return it to stock. I am attempting to do so using RSD Lite and the FXZ from the the Android Development section.
My problem is that the usb drivers are not installing correctly! I downloaded the device manager, and when my phone connects and Windows says it is installing driver software it returns this error. (see attached)
As a result, I cannot get the phone to be recognized by RSD Lite, therefore not being able to return to stock.
PLEASE HELP!
Click to expand...
Click to collapse
I had this issue too. Simply boot into the bootloader and choose BP Tools. Your computer should recognize it now. Also, make sure you have USB Debugging checked in developer options in the phone settings. If you are running Windows 8 you may run into issues running RSD Lite. If that is the case you can use fastboot to flash back to stock. Simply unzip the FXZ and place the fastboot files in the same folder. Then boot your phone into the bootloader. and connect your phone. Run the following commands:
cd C:\<the directory your files are in>
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash motoboot motoboot.img
fastboot flash logo logo.bin (optional: this is the boot logo)
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot erase customize (optional: will erase any customizations if ordered through motomaker)
fastboot erase clogo (optional: will erase the custom boot logo if ordered through motomaker)
fastboot oem config carrier <carrier name>
fastboot oem fb_mode_clear
fastboot reboot
That should reset your phone. You may want to double check the oem commands against the ones listed in the xml file in the zip. I have the AT&T version and that's what I'm basing it off of.
EDIT:
You can also just flash the recovery partition and factory reset that way. However, it might not erase any root files. I've done some factory resets on other devices and maintained root.
EDIT 2:
I attached the fastboot files in case you needed them.
EDIT 3:
Just though of this. Make sure when you run RSD Lite that your phone is booted into the bootloader.
Thank you!
So...I tried to get it recognized using the Motorola drivers, but it just was not working. Instead, I attempted to update the drivers manually to Android ADB interface while in the bootloader. This worked, and my device was recognized. However, RSD Lite still failed to work, so I did it manually thru command prompt. I double checked all the commands with the Verizon XML file, and it worked!
Thank you for giving such an exhaustive reply. I am still unable to get the phone recognized with Motorola drivers, but the Android ADB drivers I already had on my computer seem to work. I'm not too smart on that stuff, so maybe someone can explain why this is and why I was able to get it to work.
jmcharles said:
So...I tried to get it recognized using the Motorola drivers, but it just was not working. Instead, I attempted to update the drivers manually to Android ADB interface while in the bootloader. This worked, and my device was recognized. However, RSD Lite still failed to work, so I did it manually thru command prompt. I double checked all the commands with the Verizon XML file, and it worked!
Thank you for giving such an exhaustive reply. I am still unable to get the phone recognized with Motorola drivers, but the Android ADB drivers I already had on my computer seem to work. I'm not too smart on that stuff, so maybe someone can explain why this is and why I was able to get it to work.
Click to expand...
Click to collapse
Glad to hear you were able to get your phone back to stock. I haven't figured out why it does that either. Never had that issue with my other phones and they were Motos too.
Sent from my XT1058 using XDA Premium 4 mobile app
File Error
Dark9781 said:
I had this issue too. Simply boot into the bootloader and choose BP Tools. Your computer should recognize it now. Also, make sure you have USB Debugging checked in developer options in the phone settings. If you are running Windows 8 you may run into issues running RSD Lite. If that is the case you can use fastboot to flash back to stock. Simply unzip the FXZ and place the fastboot files in the same folder. Then boot your phone into the bootloader. and connect your phone. Run the following commands:
cd C:\<the directory your files are in>
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash motoboot motoboot.img
fastboot flash logo logo.bin (optional: this is the boot logo)
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img
fastboot flash modem NON-HLOS.bin
fastboot erase modemst1
fastboot erase modemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot erase customize (optional: will erase any customizations if ordered through motomaker)
fastboot erase clogo (optional: will erase the custom boot logo if ordered through motomaker)
fastboot oem config carrier <carrier name>
fastboot oem fb_mode_clear
fastboot reboot
That should reset your phone. You may want to double check the oem commands against the ones listed in the xml file in the zip. I have the AT&T version and that's what I'm basing it off of.
EDIT:
You can also just flash the recovery partition and factory reset that way. However, it might not erase any root files. I've done some factory resets on other devices and maintained root.
EDIT 2:
I attached the fastboot files in case you needed them.
EDIT 3:
Just though of this. Make sure when you run RSD Lite that your phone is booted into the bootloader.
Click to expand...
Click to collapse
I'm very new to this. I got caught up in the PwnMyMoto boot loop after the Verizon OTA. I am trying to reload the phone back to Factory Default without root. When I try to use the commands above I get the error "Variable not supported! target reported max download size of 805306368 bytes
I have the files in the same directory as fastboot.exe so they are in the path. Can anyone tell me why I am getting this error, and what I can do to resolve it? Thanks

ME176C Fastboot Commands

Hi,
after upgrading to Lollipop, I wanted to downgrade to Kitkat. I think I flashed Kitkat's fastboot and what I only see after logo is:
"Fastboot Starting...
Fastboot Starting#1...
Fastboot Starting#2...
Fastboot Starting#3..."
currently adb doesn't recognize.
fastboot recognizes the device however,
the only command accepted is "boot". The others like "flash" doesn't work.
Any ideas?
kaltugce said:
Hi,
after upgrading to Lollipop, I wanted to downgrade to Kitkat. I think I flashed Kitkat's fastboot and what I only see after logo is:
"Fastboot Starting...
Fastboot Starting#1...
Fastboot Starting#2...
Fastboot Starting#3..."
currently adb doesn't recognize.
fastboot recognizes the device however,
the only command accepted is "boot". The others like "flash" doesn't work.
Any ideas?
Click to expand...
Click to collapse
Man I have one week with this problem. Some people told me who I erased the bootloader's unit they says than then this I need someone who own a hardware who has like name like "box" or something to set up the Bootloader and then Install the OS

[Help] Bricked XT1060; Unlocked with fastboot, but no ADB and USB Debugging access

After reading a lot of threads, it seems like hope is not lost since the device is unlocked. However, the methods that have come up for fixing bricked phones require adb access and or USB debugging enabled.
The file system is also corrupted somehow because flashing TWRP results in hanging at the TWRP logo. CWM works until I make it do a function and the screen hangs.
Help is greatly appreciated
Edit: Trying ADB sideload with a rom or two on hand (CM 11 & 12) induces the error "...Can't install this package on incompatible data. Please try another package or run a factory reset"
> Tried to factory reset on CWM and it hangs, back to square one
But you obviously have fastboot access in fastboot mode?
Try erase commands from there and flash recovery. As last resort flash a factory image?
I get a 'Permission Denied; Remote Failure' error when attempting any of the fastboot erase commands
If you have fastboot you should be able to use either fastboot commands or rsdlite to flash back to 100% stock
Sent from my Moto X using Tapatalk
had same twrp hanging at logo recently after some mess. Here is what brought moto back to life
In the command prompt window type the following commands
fastboot devices
fastboot erase userdata
fastboot erase cache
fastboot reboot
this was a factory reset taken from here
https://forum.technofaq.org/discussion/54/motorola-guide-to-factory-reset-via-fastboot-bootloader
flash a rom

How to install ZCX Recovery without Fastboot?

Hi, i can't get my PC to detect my phone under Fastboot with ADB so i can't do anything through there but i wan't to update my ZCX Recovery. In the installation notes it says "You can flash by either Fastboot method or TWRP methods "but what "TWRP methods" means and how to flash it?
TWRP method mean is if your phone already has TWRP recovery before and wanna change or update it..you can flash new TWRP via your current TWRP.
But anyway.. why your phone while in fastboot mode can't detected by pc.and what command you're typing to check in fastboot mode??, i mean are you sure you're already installing all driver that adb and fastboot needed..?, and are you sure you're already typing correct adb and fastboot command..?
Because recently i see someone thread that asking the same problem like this too (more or less) in en.miui.com forum too..he/she is wrong typing command while he/she's phone in fastboot mode, he/she's typing adb command while the phone is already in fastboot mode, of course adb can't recognize it.
I don't know this is you too or another person.

How to get back to Android 8.1 from Android 9?

Hello, please help me with the following.
My Moto X4 (XT1900-7) recently got the Android 9 (Pie) update. Since then I have problems with wifi and it's always dropping. Because of that I reset the phone, but now I can't even log into Play Store, because wifi keeps dropping all the time. I can't use the phone at all. Every guide I've tried getting back Android 8.1 back didn't work so far. Maybe the guides were **** or I simply didn't understand them. Also, my recovery mode doesn't even start.
I've downloaded "PAYTON_OPW27.57-40_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml". Would that be the correct version to install?
Please help.
Thanks in advance.
curious45 said:
Hello, please help me with the following.
My Moto X4 (XT1900-7) recently got the Android 9 (Pie) update. Since then I have problems with wifi and it's always dropping. Because of that I reset the phone, but now I can't even log into Play Store, because wifi keeps dropping all the time. I can't use the phone at all. Every guide I've tried getting back Android 8.1 back didn't work so far. Maybe the guides were **** or I simply didn't understand them. Also, my recovery mode doesn't even start.
I've downloaded "PAYTON_OPW27.57-40_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml". Would that be the correct version to install?
Please help.
Thanks in advance.
Click to expand...
Click to collapse
This one:
PAYTON_OPWS28.46-21-16_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
but two things:
1) Your bootloader needs to be unlocked. If you have a locked bootloader and try to go 9 -> 8.1 you are bootlooped.
2) You will still get prompts to upgrade to Android 9. You can ignore them but they won't ever go away.
Yeah, I first need to unlock the bootloader, but that's where the problems start. I found a guide on motorola web page: motorola-global-portal[.]custhelp[.com]/app/standalone/bootloader/unlock-your-device-b
I've downloaded Android SDK (1 GB??!) and installed it. Then I've installed Motorola Device Manager. I've set my X4 to Fastboot Mode. The next step "On your desktop, open a command prompt or terminal, and go to the directory where you installed the Android SDK tools (or make sure fastboot is in your $PATH)" I don't even understand. How do I "go to the directory", and what's my "$PATH"? That guide is as bad as it gets. I doesn't explain anything.
Edit: I've tried it through minimal adb fastboot command and could get my unlock-key. let's see how it goes from now on.
Thanks so far.
curious45 said:
Yeah, I first need to unlock the bootloader, but that's where the problems start. I found a guide on motorola web page: motorola-global-portal[.]custhelp[.com]/app/standalone/bootloader/unlock-your-device-b
I've downloaded Android SDK (1 GB??!) and installed it. Then I've installed Motorola Device Manager. I've set my X4 to Fastboot Mode. The next step "On your desktop, open a command prompt or terminal, and go to the directory where you installed the Android SDK tools (or make sure fastboot is in your $PATH)" I don't even understand. How do I "go to the directory", and what's my "$PATH"? That guide is as bad as it gets. I doesn't explain anything.
Edit: I've tried it through minimal adb fastboot command and could get my unlock-key. let's see how it goes from now on.
Thanks so far.
Click to expand...
Click to collapse
I only get error messages when entering all the fastboot commands.
FAILED (command write failed (Unknown error))
I could flash it using my laptop now, but when turning it on it says "verity mode is set to logging" and keeps on rebooting in a loop. Then I tried using twrp and mount it using an sd card, but that gave me error messages. are you sure this version is the right one for me? How difficult can it be? I wanna smash the phone against a wall.
curious45 said:
I could flash it using my laptop now, but when turning it on it says "verity mode is set to logging" and keeps on rebooting in a loop. Then I tried using twrp and mount it using an sd card, but that gave me error messages. are you sure this version is the right one for me? How difficult can it be? I wanna smash the phone against a wall.
Click to expand...
Click to collapse
It is the correct Oreo firmware for your device.
Re-verify the commands you're entering to flash are:
Code:
fastboot getvar max-sparse-size
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash modem NON-HLOS.bin
fastboot flash fsg fsg.mbn
fastboot erase modemst1
fastboot erase modemst2
fastboot flash bluetooth BTFM.bin
fastboot flash dsp dspso.bin
fastboot flash boot boot.img
fastboot flash logo logo.bin
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash system_b system_other.img
fastboot flash oem oem.img
fastboot erase carrier
fastboot erase userdata
fastboot erase ddr
fastboot oem fb_mode_clear
Bootloader is unlocked (the bottom of your fastboot screen says 'flashing_unlocked')?
Are you trying this in windows or linux?
I tried this version: PAYTON_OPWS28.46-21-16_subsidy-DEFAULT_regulatory-DEFAULT very often on my laptop (I guess it was a problem with the usb-ports on my normal pc), but I couldn't get my device to work. It always said "verity mode is set to logging". Then I tried installing PAYTON_OPW27.57-40_subsidy-DEFAULT_regulatory-DEFAULT once (with my laptop) and it worked without any problems. The only thing is, that the device now says it's not the correct os when booting.
curious45 said:
... It always said "verity mode is set to logging"....
Click to expand...
Click to collapse
This will display for everyone with an unlocked bootloader. I know it does for me.
jhedfors said:
This will display for everyone with an unlocked bootloader. I know it does for me.
Click to expand...
Click to collapse
But it didn't boot though. It showed this text and it kept restarting over and over again.
It's fine now with this PAYTON_OPW27.57-40_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml version, but I always get the notifications that I should update to Android 9. I don't have any wifi problems whatsoever.
Do you have a solution on how to really disable / block those?

Categories

Resources