Accidently rebooted with no os installed - Xiaomi Mi A1 Questions & Answers

Linux:
[email protected]:~/Android/Sdk/platform-tools$ fastboot oem device-info
...
(bootloader) Device tampered: false
(bootloader) Device unlocked: true
(bootloader) Device critical unlocked: true
(bootloader) Charger screen enabled: false
(bootloader) Display panel: OKAY [ 0.070s]
finished. total time: 0.070s
[email protected]:~/Android/Sdk/platform-tools$ fastboot devices
33b1ed900804 fastboot
[email protected]:~/Android/Sdk/platform-tools$ fastboot boot twrp-3.4.0-0-twrp.img
downloading 'boot.img'...
OKAY [ 0.158s]
booting...
FAILED (status read failed (No such device))
finished. total time: 5.292s
[email protected]:~/Android/Sdk/platform-tools$ fastboot boot twrp-3.2.1-0-twrp.img
downloading 'boot.img'...
OKAY [ 0.158s]
booting...
FAILED (remote: dtb not found)
finished. total time: 0.244s
Windows:
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot boot twrp-3.4.0-0-twrp.img
downloading 'boot.img'...
OKAY [ 0.120s]
booting...
FAILED (remote: dtb not found)
finished. total time: 0.220s
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot boot twrp-3.2.1-0-twrp.img
downloading 'boot.img'...
OKAY [ 0.121s]
booting...
FAILED (status read failed (Too many links))
finished. total time: 0.264s

Related

Fastboot Drivers

Hello guys,
I know this question is very common but I have looked many posts and couldn't find any that solved my problem.
I am trying to flash the stock moto X pure edition (xt1575) again in my device. The trouble starts because fastboot doesn't work.
I already installed Motorola device manager (2.5.4) and booted windows without driver signature enforcement.
I tried adb-setup-1.4.3.exe and installing android SDK, but still get same trouble.
The phone works and get normally funcional when android is loaded, but no responde in fastboot screen!
I am using windows 10.15063.296 (creators update). When I open device manager, now I see "Motorola adb device" with an exclamation.
A lot of windows, especially windows 10, users seem to struggle with drivers. I use Linux and never have any problems.
Maybe you could give this a try. https://www.xda-developers.com/forget-windows-use-linux-is-a-usb-bootable-distro-for-your-android-recovery-needs-xda-spotlight/
jason2678 said:
A lot of windows, especially windows 10, users seem to struggle with drivers. I use Linux and never have any problems.
Maybe you could give this a try. https://www.xda-developers.com/forg...or-your-android-recovery-needs-xda-spotlight/
Click to expand...
Click to collapse
Thanks. After hours trying, I could get fastboot working.
The issue now is that I got "preflash failed" when trying the officially image available.
Enviado de meu XT1575 usando Tapatalk
Belotto said:
Thanks. After hours trying, I could get fastboot working.
The issue now is that I got "preflash failed" when trying the officially image available.
Enviado de meu XT1575 usando Tapatalk
Click to expand...
Click to collapse
Just on bootloader and gpt.bin, or everything?
That happens when you try to downgrade the partition table, but usually as long as you flash all the other parts successfully it works. Keep a close eye on the output when you flash modem; it tends to fail on the first try.
https://forum.xda-developers.com/showthread.php?t=2588979
This is the one... I had this on my window's 10. I upgraded to creators update and i doubted that this might not work but it did work for me
jason2678 said:
Just on bootloader and gpt.bin, or everything?
That happens when you try to downgrade the partition table, but usually as long as you flash all the other parts successfully it works. Keep a close eye on the output when you flash modem; it tends to fail on the first try.
Click to expand...
Click to collapse
I really wasn´t successful...
PS C:\Android\sdk\platform-tools\CLARK_RETUS_MPH24.49-18_18_retus_US> adb reboot-bootloader
PS C:\Android\sdk\platform-tools\CLARK_RETUS_MPH24.49-18_18_retus_US> fastboot flash partition gpt.bin
target reported max download size of 536870912 bytes
sending 'partition' (32 KB)...
OKAY [ 0.016s]
writing 'partition'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.370s
PS C:\Android\sdk\platform-tools\CLARK_RETUS_MPH24.49-18_18_retus_US> fastboot flash motoboot motoboot.img
error: cannot load 'motoboot.img'
PS C:\Android\sdk\platform-tools\CLARK_RETUS_MPH24.49-18_18_retus_US> fastboot reboot-bootloader
rebooting into bootloader...
OKAY [ 0.000s]
finished. total time: 0.000s
PS C:\Android\sdk\platform-tools\CLARK_RETUS_MPH24.49-18_18_retus_US> fastboot flash logo logo.bin
target reported max download size of 536870912 bytes
sending 'logo' (3687 KB)...
OKAY [ 0.137s]
writing 'logo'...
OKAY [ 0.200s]
finished. total time: 0.337s
PS C:\Android\sdk\platform-tools\CLARK_RETUS_MPH24.49-18_18_retus_US> fastboot flash boot boot.img
target reported max download size of 536870912 bytes
sending 'boot' (40960 KB)...
OKAY [ 1.518s]
writing 'boot'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 1.888s
PS C:\Android\sdk\platform-tools\CLARK_RETUS_MPH24.49-18_18_retus_US> fastboot flash recovery recovery.img
target reported max download size of 536870912 bytes
sending 'recovery' (41040 KB)...
OKAY [ 1.534s]
writing 'recovery'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 1.887s
PS C:\Android\sdk\platform-tools\CLARK_RETUS_MPH24.49-18_18_retus_US> fastboot flash system system.img
target reported max download size of 536870912 bytes
sending sparse 'system' (509631 KB)...
OKAY [ 17.857s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 18.357s
PS C:\Android\sdk\platform-tools\CLARK_RETUS_MPH24.49-18_18_retus_US> fastboot reboot
rebooting...
finished. total time: 0.016s
PS C:\Android\sdk\platform-tools\CLARK_RETUS_MPH24.49-18_18_retus_US> fastboot erase userdata
erasing 'userdata'...
OKAY [ 6.423s]
finished. total time: 6.423s
PS C:\Android\sdk\platform-tools\CLARK_RETUS_MPH24.49-18_18_retus_US> fastboot erase cache
erasing 'cache'...
OKAY [ 0.031s]
finished. total time: 0.031s
PS C:\Android\sdk\platform-tools\CLARK_RETUS_MPH24.49-18_18_retus_US> fastboot oem lock
...
(bootloader) Please run fastboot oem lock begin first!
OKAY [ 0.015s]
finished. total time: 0.015s
PS C:\Android\sdk\platform-tools\CLARK_RETUS_MPH24.49-18_18_retus_US> fastboot oem lock begin
...
(bootloader) Not supported command in current status!
FAILED (remote failure)
finished. total time: 0.017s
PS C:\Android\sdk\platform-tools\CLARK_RETUS_MPH24.49-18_18_retus_US> fastboot oem lock
...
(bootloader) Please run fastboot oem lock begin first!
OKAY [ 0.000s]
finished. total time: 0.000s
PS C:\Android\sdk\platform-tools\CLARK_RETUS_MPH24.49-18_18_retus_US>
jason2678 said:
Just on bootloader and gpt.bin, or everything?
That happens when you try to downgrade the partition table, but usually as long as you flash all the other parts successfully it works. Keep a close eye on the output when you flash modem; it tends to fail on the first try.
Click to expand...
Click to collapse
Sagar_1401 said:
https://forum.xda-developers.com/showthread.php?t=2588979
This is the one... I had this on my window's 10. I upgraded to creators update and i doubted that this might not work but it did work for me
Click to expand...
Click to collapse
I have tried it before... wasn't working but i realized that i needed to push "allow oem unlock" and "usb debugging" buttons ... LOL.

XT1562 flash Android 7.1.1 run in error

Hi there,
i have a non-rooted XT1562 (16GB P2C) and try to flash the new Stock-Image Android 7.1.1
I used this HowTo:
Code:
technobuzz.net/update-moto-x-play-android-7-1-1-nougat-firmware
But i run into the error "Preflash validation failed" on the second point. I went further and ran into the same problem later.
Code:
PS C:\adb> .\fastboot flash partition gpt.bin
target reported max download size of 268435456 bytes
sending 'partition' (25 KB)...
OKAY [ 0.016s]
writing 'partition'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.047s
PS C:\adb>
PS C:\adb>
PS C:\adb> .\fastboot flash bootloader bootloader.img
target reported max download size of 268435456 bytes
sending 'bootloader' (2546 KB)...
OKAY [ 0.078s]
writing 'bootloader'...
(bootloader) flashing sbl1 ...
(bootloader) flashing aboot ...
(bootloader) flashing tz ...
(bootloader) flashing hyp ...
(bootloader) flashing rpm ...
OKAY [ 1.810s]
finished. total time: 1.888s
PS C:\adb>
PS C:\adb>
PS C:\adb>
PS C:\adb> .\fastboot flash logo logo.bin
target reported max download size of 268435456 bytes
sending 'logo' (3047 KB)...
OKAY [ 0.102s]
writing 'logo'...
OKAY [ 0.100s]
finished. total time: 0.203s
PS C:\adb>
PS C:\adb>
PS C:\adb>
PS C:\adb> .\fastboot flash boot boot.img
target reported max download size of 268435456 bytes
sending 'boot' (10775 KB)...
OKAY [ 0.347s]
writing 'boot'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.378s
PS C:\adb>
PS C:\adb>
PS C:\adb>
It's the first time, i try to flash a firmware, so i have no idea what to do.
Please help me
Greetings, Marcel
Try to follow this guide: https://forum.xda-developers.com/2015-moto-g/general/guide-fastboot-flashing-factory-t3187750

Moto G4 XT1622 Bricked......

Hi There,
I hope someone can advise and possibly provide help resolving this problem.
The Moto G4 is not able to boot to OS, It only boots into bootloader, cannot go into recovery and cannot go into Factory Mode etc.
The error i get on the phone is....
"Start Up Failed"
Failed to verify hab image boot
Failed to verify boot image
ERROR: Failed to pass validation, backup to fastboot
Fastboot Reason: Fall-through from normal boot mode
I have tried to clear fb_mode and tried to unlock the bootloader without success.
I have tried various stock roms to get this fixed. The phone has never been unlocked and not been rooted.
C:\adb>fastboot oem fb_mode_set
...
OKAY [ -0.000s]
finished. total time: -0.000s
C:\adb>fastboot flash partition gpt.bin
target reported max download size of 536870912 bytes
sending 'partition' (32 KB)...
OKAY [ 0.031s]
writing 'partition'...
(bootloader) Security version downgrade
(bootloader) Image primary_gpt failed validation
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.094s
C:\adb>fastboot flash bootloader bootloader.img
target reported max download size of 536870912 bytes
sending 'bootloader' (3651 KB)...
OKAY [ 0.172s]
writing 'bootloader'...
(bootloader) validating: bootloader.default.xml ...
(bootloader) Security version downgrade
(bootloader) Image aboot failed validation
(bootloader) Preflash validation failed
(bootloader) will fail: flash:aboot
FAILED (remote failure)
finished. total time: 0.319s
C:\adb>fastboot flash logo logo.bin
target reported max download size of 536870912 bytes
sending 'logo' (1848 KB)...
OKAY [ 0.094s]
writing 'logo'...
OKAY [ 0.078s]
finished. total time: 0.172s
C:\adb>fastboot flash boot boot.img
target reported max download size of 536870912 bytes
sending 'boot' (16384 KB)...
OKAY [ 0.687s]
writing 'boot'...
(bootloader) Image boot failed validation
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.891s
C:\adb>fastboot flash recovery recovery.img
target reported max download size of 536870912 bytes
sending 'recovery' (16484 KB)...
OKAY [ 0.664s]
writing 'recovery'...
(bootloader) Image recovery failed validation
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.883s
C:\adb>fastboot flash system system.img_sparsechunk.0
target reported max download size of 536870912 bytes
sending 'system' (257278 KB)...
OKAY [ 9.982s]
writing 'system'...
(bootloader) Image s failed validation
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 10.097s
C:\adb>fastboot flash system system.img_sparsechunk.1
target reported max download size of 536870912 bytes
sending 'system' (258607 KB)...
OKAY [ 10.125s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 10.157s
C:\adb>fastboot flash system system.img_sparsechunk.2
target reported max download size of 536870912 bytes
sending 'system' (258384 KB)...
OKAY [ 10.076s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 10.107s
C:\adb>fastboot flash system system.img_sparsechunk.3
target reported max download size of 536870912 bytes
sending 'system' (252313 KB)...
OKAY [ 9.973s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 10.004s
C:\adb>fastboot flash system system.img_sparsechunk.4
target reported max download size of 536870912 bytes
sending 'system' (254404 KB)...
OKAY [ 10.017s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 10.064s
C:\adb>fastboot flash system system.img_sparsechunk.5
target reported max download size of 536870912 bytes
sending 'system' (258060 KB)...
OKAY [ 10.114s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 10.161s
C:\adb>fastboot flash modem NON-HLOS.bin
target reported max download size of 536870912 bytes
sending 'modem' (76857 KB)...
OKAY [ 3.038s]
writing 'modem'...
OKAY [ 2.036s]
finished. total time: 5.075s
C:\adb>fastboot erase modemst1
erasing 'modemst1'...
OKAY [ 0.047s]
finished. total time: 0.047s
C:\adb>fastboot erase modemst2
erasing 'modemst2'...
OKAY [ 0.062s]
finished. total time: 0.062s
C:\adb>fastboot flash fsg fsg.mbn
target reported max download size of 536870912 bytes
sending 'fsg' (1864 KB)...
OKAY [ 0.100s]
writing 'fsg'...
OKAY [ 0.109s]
finished. total time: 0.210s
C:\adb>fastboot erase cache
erasing 'cache'...
OKAY [ 0.016s]
finished. total time: 0.031s
C:\adb>fastboot erase userdata
erasing 'userdata'...
OKAY [ 0.078s]
finished. total time: 0.078s
C:\adb>fastboot erase customize
erasing 'customize'...
OKAY [ 0.031s]
finished. total time: 0.031s
C:\adb>fastboot erase clogo
erasing 'clogo'...
OKAY [ 0.047s]
finished. total time: 0.047s
C:\adb>fastboot oem fb_mode_clear
...
OKAY [ -0.000s]
finished. total time: -0.000s
C:\adb>fastboot reboot
rebooting...
finished. total time: 0.016s
Click to expand...
Click to collapse
what have you done to your phone at the first place when it was working? did you unlock bootloader? were you flashing some customised roms? have your try to root? ... or something else?
Hi,
Nothing like rooting flashing roms etc. I think an update installed and booted to the Start Up Failed error.
Thanks,
Phatzy

Twrp flashed but not opening...dtb not found error

My device is Asus Zenfone Max(sd615) 32gb varient.
With TWRP my device can't access to recovery when i type fastboot boot recovery.img after a flash, i don't know if the problem come from my fastboot. Somebody for help me, or fix this issue.
Here is the commands I have performed as instructed....
`C:\Android>fastboot oem device-info
...
(bootloader) Device tampered: false
(bootloader) Device unlocked: true
(bootloader) Charger screen enabled: true
(bootloader) Display panel:
(bootloader) console_enabled: 0
(bootloader) exec_console_unconsole: 0
OKAY [ 0.017s]
finished. total time: 0.019s
C:\Android>fastboot flash recovery recovery.img
target reported max download size of 1073741824 bytes
sending 'recovery' (15920 KB)...
OKAY [ 0.507s]
writing 'recovery'...
OKAY [ 0.303s]
finished. total time: 0.817s
C:\Android>fastboot boot recovery.img
downloading 'boot.img'...
OKAY [ 0.516s]
booting...
FAILED (remote: dtb not found)
finished. total time: `0.556s``
Pls tell me how can I fix this dtb not found error

Moto G6 play Bootloader relock Rebloqueado Error invalid boot state

firmeware of mirrors.lolinet.com/firmware/moto/aljeter/official/RETAIL/
youtube.com/watch?v=VcMyoBCfBvY
I want to restore my MOTOROLA moto g6 play xt1922-3 from the factory and I can not
Any solution?
C:\ADB>fastboot devices
ZL6222WSJL fastboot
C:\ADB>fastboot getvar max-sparse-size
max-sparse-size: 268435456
finished. total time: 0.000s
C:\ADB>fastboot oem fb_mode_set
...
OKAY [ -0.000s]
finished. total time: 0.016s
C:\ADB>fastboot flash modem NON-HLOS.bin
target reported max download size of 535822336 bytes
sending 'modem' (68666 KB)...
OKAY [ 2.585s]
writing 'modem'...
(bootloader) flash permission denied
FAILED (remote failure)
finished. total time: 2.607s
C:\ADB>fastboot flash fsg fsg.mbn
target reported max download size of 535822336 bytes
sending 'fsg' (5972 KB)...
OKAY [ 0.222s]
writing 'fsg'...
(bootloader) flash permission denied
FAILED (remote failure)
finished. total time: 0.254s
C:\ADB>fastboot erase modemst1
erasing 'modemst1'...
(bootloader) Permission denied
FAILED (remote failure)
finished. total time: 0.016s
C:\ADB>fastboot erase modemst2
erasing 'modemst2'...
(bootloader) Permission denied
FAILED (remote failure)
finished. total time: 0.000s
C:\ADB>fastboot flash dsp adspso.bin
target reported max download size of 535822336 bytes
sending 'dsp' (16384 KB)...
OKAY [ 0.617s]
writing 'dsp'...
(bootloader) flash permission denied
FAILED (remote failure)
finished. total time: 0.638s
C:\ADB>fastboot flash logo logo.bin
target reported max download size of 535822336 bytes
sending 'logo' (1423 KB)...
OKAY [ 0.053s]
writing 'logo'...
(bootloader) flash permission denied
FAILED (remote failure)
finished. total time: 0.100s
C:\ADB>fastboot boot boot.img
downloading 'boot.img'...
OKAY [ 0.647s]
booting...
OKAY [ 0.053s]
finished. total time: 0.700s
C:\ADB>fastboot flash recovery recovery.img
target reported max download size of 535822336 bytes
sending 'recovery' (16484 KB)...
OKAY [ 0.632s]
writing 'recovery'...
(bootloader) flash permission denied
FAILED (remote failure)
finished. total time: 0.647s
C:\ADB>fastboot flash system system.img_sparsechunk.0
target reported max download size of 535822336 bytes
sending 'system' (512417 KB)...
OKAY [ 19.348s]
writing 'system'...
(bootloader) flash permission denied
FAILED (remote failure)
finished. total time: 19.364s
C:\ADB>fastboot flash system system.img_sparsechunk.1
target reported max download size of 535822336 bytes
sending 'system' (518604 KB)...
OKAY [ 19.646s]
writing 'system'...
(bootloader) flash permission denied
FAILED (remote failure)
finished. total time: 19.662s
C:\ADB>fastboot flash system system.img_sparsechunk.2
target reported max download size of 535822336 bytes
sending 'system' (487730 KB)...
OKAY [ 18.438s]
writing 'system'...
(bootloader) flash permission denied
FAILED (remote failure)
finished. total time: 18.438s
C:\ADB>fastboot flash system system.img_sparsechunk.3
target reported max download size of 535822336 bytes
sending 'system' (510601 KB)...
OKAY [ 19.297s]
writing 'system'...
(bootloader) flash permission denied
FAILED (remote failure)
finished. total time: 19.297s
C:\ADB>fastboot flash system system.img_sparsechunk.4
target reported max download size of 535822336 bytes
sending 'system' (185904 KB)...
OKAY [ 7.052s]
writing 'system'...
(bootloader) flash permission denied
FAILED (remote failure)
finished. total time: 7.052s
C:\ADB>fastboot flash vendor vendor.img
target reported max download size of 535822336 bytes
sending 'vendor' (247479 KB)...
OKAY [ 9.390s]
writing 'vendor'...
(bootloader) flash permission denied
FAILED (remote failure)
finished. total time: 9.406s
C:\ADB>fastboot flash oem oem.img
target reported max download size of 535822336 bytes
sending 'oem' (146510 KB)...
OKAY [ 5.533s]
writing 'oem'...
(bootloader) flash permission denied
FAILED (remote failure)
finished. total time: 5.548s
C:\ADB>fastboot erase cache
erasing 'cache'...
(bootloader) Permission denied
FAILED (remote failure)
finished. total time: -0.000s
C:\ADB>fastboot erase userdata
erasing 'userdata'...
(bootloader) Permission denied
FAILED (remote failure)
finished. total time: -0.000s
C:\ADB>fastboot erase DDR
erasing 'DDR'...
(bootloader) Permission denied
FAILED (remote failure)
finished. total time: -0.000s
C:\ADB>fastboot erase fb_mode_clear
erasing 'fb_mode_clear'...
(bootloader) Permission denied
FAILED (remote failure)
finished. total time: 0.022s
Click to expand...
Click to collapse
ory499 said:
firmeware of mirrors.lolinet.com/firmware/moto/aljeter/official/RETAIL/
youtube.com/watch?v=VcMyoBCfBvY
I want to restore my MOTOROLA moto g6 play xt1922-3 from the factory and I can not
Any solution?
Click to expand...
Click to collapse
You need to reboot to fastboot mode.

Categories

Resources