I misedited my build.prop so I am trying to reflash a stock system.img to my Atrix 2 using Terminal on my mac.
When I attempt to flash it I get error messages.
localhost:android williamguy$ ./fastboot flash system /Users/williamguy/Desktop/5.5.1-EDEM-28-TNZ_cfc.xml/system.img
target reported max download size of 1056964608 bytes
sending 'system' (491264 KB)...
OKAY [ 23.605s]
writing 'system'...
(bootloader) Preflash validation failure
FAILED (remote: )
I only need to flash the system.img to fix my phone, other images from the rom flash successfully - only boot.img and system.img get this error message.
williamguy said:
I misedited my build.prop so I am trying to reflash a stock system.img to my Atrix 2 using Terminal on my mac.
When I attempt to flash it I get error messages.
localhost:android williamguy$ ./fastboot flash system /Users/williamguy/Desktop/5.5.1-EDEM-28-TNZ_cfc.xml/system.img
target reported max download size of 1056964608 bytes
sending 'system' (491264 KB)...
OKAY [ 23.605s]
writing 'system'...
(bootloader) Preflash validation failure
FAILED (remote: )
I only need to flash the system.img to fix my phone, other images from the rom flash successfully - only boot.img and system.img get this error message.
Click to expand...
Click to collapse
You need to get the moto-fastboot utility. Google search for it.
You use the moto-fastboot command and not the fast boot command to flash. I have used it on my macs many times without issue.... The fastboot command does not work on moto phones/images.
Related
I'm trying to flash a recovery image to a Razr Maxx HD, but I'm not entirely sure that I'm doing it correctly.
Code:
$ sudo fastboot flash recovery ~/recovery.img
(bootloader) Variable not supported!
target reported max download size of 31457280 bytes
sending 'recovery' (7340 KB)...
OKAY [ 0.589s]
writing 'recovery'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.734s
Afterwards, my phone says “invalid image size for partition recovery.” The image I'm using is at goo .im /devs /Hashcode /vanquish, and I've tried all three versions. Am I on the right track at all or no?
Edit: Never mind. Gotta unlock the phone first. Problem solved.
I also saw that error when it was the wrong carrier recovery image
NOTE: Says when on rsd mode failed to boot 0x00001
on fastboot same + is says failed to format pds and does't connect to the pc after that
i have over 50 hours in 5 days looking for way to fix no luck .
i try my luck with Fastboot. I first tried flashing the recovery with no luck. I then tried flashing over the official moto files (boot/sytstem/....)
adb reboot bootloader
fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash recovery recovery.img
fastboot flash userdata userdata.img
fastboot erase cache
C:\SDK_tools>fastboot flash boot boot.img
sending 'boot' (8192 KB)... OKAY [ 0.694s]
writing 'boot'... FAILED (remote: (19000008))
....
If i follow that order boot/system and recovery fail then userdata says it works and it lets me flash the other options (but clearly just says they work it looks like it's lying)
C:\SDK_tools>fastboot flash boot boot.img
sending 'boot' (8192 KB)... OKAY [ 0.694s]
writing 'boot'... FAILED (remote: (19000008))
.......
C:\SDK_tools>fastboot flash userdata userdata.img
sending 'userdata' (139233 KB)... OKAY [ 11.598s]
writing 'userdata'... OKAY [ 0.164s]
finished. total time: 11.764s
C:\SDK_tools>fastboot flash boot boot.img
sending 'boot' (8192 KB)... OKAY [ 0.688s]
writing 'boot'... OKAY [ 3.462s]
finished. total time: 4.151s
.....
If I try fastboot oem unlock I'm prompted with the unlock message and after hitting accept. I see the following error on the screen
ERROR: Failed to format UDA.
Error while unlocking device.
My next try was with RSD light. I tried flashing all of the images for my xoom off this site . all of them give me the following error:
Failed flashing process. Failed Flashing process. Interface AP-OS: Error flashing subscriber unit. Device API error: 0xE0020085 Address: 0x1F870 Command: ADDR (0xE0222085); phone connected
I ran out of ideas on what to do next. One post i saw said try using a nand backup but I can't find one that will work.
Any help would be great. I really love my XOOM and I'm sad i can't fix it.
Dear all,
I own a XT1541 and updated to Marhsmallow via OTA few weeks ago. I encountered some troubles with the performance. I also had the issue that a single app was attempted to be optimized on every boot. Therefore, I decided to reset it to factory settings. However, it seemed that this process failed (waited nearly for an hour to complete but nothing happened).
After rebooting then manually, I am stuck in a fastboot message
AP Fastboot Flash Mode (Secure)
failed to validate boot image
ERROR: failed to pass validation, backup to fastboot
Fastboot Reason: Fall-through from charger boot mode
CID Read Failure
Invalid CID status 0x69
I can access the device via my Linux using fastboot command. What do you propose to recover from my problem.
Thanks
IK1981 said:
Dear all,
I own a XT1541 and updated to Marhsmallow via OTA few weeks ago. I encountered some troubles with the performance. I also had the issue that a single app was attempted to be optimized on every boot. Therefore, I decided to reset it to factory settings. However, it seemed that this process failed (waited nearly for an hour to complete but nothing happened).
After rebooting then manually, I am stuck in a fastboot message
AP Fastboot Flash Mode (Secure)
failed to validate boot image
ERROR: failed to pass validation, backup to fastboot
Fastboot Reason: Fall-through from charger boot mode
CID Read Failure
Invalid CID status 0x69
I can access the device via my Linux using fastboot command. What do you propose to recover from my problem.
Thanks
Click to expand...
Click to collapse
Try flashing the factory image here are the instructions
http://forum.xda-developers.com/2015-moto-g/general/guide-fastboot-flashing-factory-t3187750
bobby0724 said:
Try flashing the factory image here are the instructions
http://forum.xda-developers.com/2015-moto-g/general/guide-fastboot-flashing-factory-t3187750
Click to expand...
Click to collapse
Already tried this. Already fails at first command... When doing this for the first time, it takes up to one minute to get a response. When retrying, it fails immediately
Code:
~/Downloads/XT1541_OSPREY_RETEU_6.0_MPI24.65-33.1_cid7_subsidy-DEFAULT_CFC__v2.xml# fastboot oem fb_mode_set
...
FAILED (remote failure)
finished. total time: 55.425
Try usuing my Motorola downgrade tool , or Motorola utility , created by me , to try and fix problems like this. Links can be found in the general section of Moto g 3 forums , or in Moto g 3 devdb. Therealduff1 is the username you are looking for . I am happy to try and help you with this !
therealduff1 said:
Try usuing my Motorola downgrade tool , or Motorola utility , created by me , to try and fix problems like this. Links can be found in the general section of Moto g 3 forums , or in Moto g 3 devdb. Therealduff1 is the username you are looking for . I am happy to try and help you with this !
Click to expand...
Click to collapse
Thanks for your help. Tried it with your tool but as far as I could see I land in the same troubles.
Code:
OSPREY_RETEU_6.0_MPI24.65-33_cid7_subsidy
please move all of the firmware files into the moto toolkit directory (the same folder containing toolkit.py)
Please make sure usb debugging is turned on in developer settings, then type 'done' into this promptdone
error: device '(null)' not found
Has your device successfully loaded bootloader mode ? please type 'yes' if it has successfully loadedyes
Press enter to confirm you would like to upgrade to android marshmallow ;)
target reported max download size of 268435456 bytes
sending 'partition' (32 KB)...
OKAY [ 0.000s]
writing 'partition'...
(bootloader) This may take a few seconds, if a
(bootloader) different partition table is being
(bootloader) flashed since we need to backup
(bootloader) and restore a few partitions
(bootloader) Flashing primary GPT image...
(bootloader) Failed to write primary GPT.
(bootloader) Failed to program partition table
FAILED (remote failure)
finished. total time: 55.795s
Partition table has been flashed
target reported max download size of 268435456 bytes
sending 'bootloader' (2546 KB)...
OKAY [ 0.094s]
writing 'bootloader'...
(bootloader) flashing sbl1 ...
(bootloader) Failed to erase partition
(bootloader) Failed to flash sbl1
FAILED (remote failure)
finished. total time: 1.438s
Bootloader has been flashed
target reported max download size of 268435456 bytes
sending 'logo' (1352 KB)...
OKAY [ 0.062s]
writing 'logo'...
(bootloader) Failed to erase partition
(bootloader) Failed to flash partition logo
FAILED (remote failure)
finished. total time: 0.172s
boot logo has been flashed
target reported max download size of 268435456 bytes
sending 'boot' (16384 KB)...
OKAY [ 0.530s]
writing 'boot'...
(bootloader) Failed to erase partition
(bootloader) Failed to flash partition boot
FAILED (remote failure)
finished. total time: 1.093s
boot.img has been flashed
target reported max download size of 268435456 bytes
sending 'recovery' (16484 KB)...
OKAY [ 0.531s]
writing 'recovery'...
(bootloader) Failed to erase partition
(bootloader) Failed to flash partition recovery
FAILED (remote failure)
finished. total time: 1.094s
Stock marshmallow recovery has now been flashed
target reported max download size of 268435456 bytes
sending 'system' (238438 KB)...
OKAY [ 7.500s]
writing 'system'...
(bootloader) Failed to erase partition
FAILED (remote failure)
finished. total time: 15.891s
System part 1 has been flashed
target reported max download size of 268435456 bytes
sending 'system' (238552 KB)...
OKAY [ 7.492s]
writing 'system'...
(bootloader) Failed to flash sparse image
FAILED (remote failure)
finished. total time: 9.608s
System part 2 has been flashed
target reported max download size of 268435456 bytes
sending 'system' (256695 KB)...
One thing that confuses me is the fact that the tool tells me that I shall turn on the USB debug mode. However, since Android does not boot any longer, I have no chance to do this in the Settings. Is there any way to enable this debug mode in another way?
im trying to flash my original google pixel back to stock but i cant, i can flash the bootloader image , boot image, and radio image , but i try to flash to flash the system image , the command sends the img to the phone and it starts writing it, but it fails mid process , here's the error. please any help would be appreciated, thanks.
C:\Users\USER\Desktop\pixel stock firmware>fastboot devices
FA75G0300919 fastboot
C:\Users\USER\Desktop\pixel stock firmware>fastboot flash system_a "C:\Users\USER\Desktop\pixel stock firmware\system.img"
Sending sparse 'system_a' 1/4 (524284 KB) OKAY [ 12.060s]
Writing 'system_a' OKAY [226.410s]
Sending sparse 'system_a' 2/4 (524284 KB) FAILED (Write to device failed (Unknown error))
fastboot: error: Command failed
C:\Users\USER\Desktop\pixel stock firmware>
Ayman el alami said:
im trying to flash my original google pixel back to stock but i cant, i can flash the bootloader image , boot image, and radio image , but i try to flash to flash the system image , the command sends the img to the phone and it starts writing it, but it fails mid process , here's the error. please any help would be appreciated, thanks.
C:\Users\USER\Desktop\pixel stock firmware>fastboot devices
FA75G0300919 fastboot
C:\Users\USER\Desktop\pixel stock firmware>fastboot flash system_a "C:\Users\USER\Desktop\pixel stock firmware\system.img"
Sending sparse 'system_a' 1/4 (524284 KB) OKAY [ 12.060s]
Writing 'system_a' OKAY [226.410s]
Sending sparse 'system_a' 2/4 (524284 KB) FAILED (Write to device failed (Unknown error))
fastboot: error: Command failed
C:\Users\USER\Desktop\pixel stock firmware>
Click to expand...
Click to collapse
Welcome to XDA
Please read and respect the rules, duplicate threads are not permitted.
Help us to keep the forums neat
Thanks
trying to install twrp,the bootloader is already unlocked.
this is what happens:
fastboot flash recovery recovery.img
target reported max download size of 805263360 bytes
sending 'recovery' (34200 KB)...
OKAY [ 0.728s]
writing 'recovery'...
(bootloader) Invalid partition name recovery
FAILED (remote failure)
finished. total time: 0.841s
fastboot boot recovery twrp.img also give a error
what is the solution ?
neozbr said:
trying to install twrp,the bootloader is already unlocked.
this is what happens:
fastboot flash recovery recovery.img
target reported max download size of 805263360 bytes
sending 'recovery' (34200 KB)...
OKAY [ 0.728s]
writing 'recovery'...
(bootloader) Invalid partition name recovery
FAILED (remote failure)
finished. total time: 0.841s
fastboot boot recovery twrp.img also give a error
what is the solution ?
Click to expand...
Click to collapse
OK:
1. First you need to root the device. Follow this guide. You will use adb to patch the boot.img file of your current firmware.
2. After you have rooted, you can install the unofficial TWRP for Android 10 Moto G8 Plus from here. The zip file will install through magisk. Works fine; I tested it last night.