Softbrick, need to retrieve pictures, xt890 AP Fastboot Secure - RAZR i Q&A, Help & Troubleshooting

Hi all,
My RAZR i softbricked almost a year ago. I am determined that I will get my holidays pictures from it... please help me do so!
It gets stuck on the intel page when booting normally, I can access fastboot however I think the phone must be locked. In AP fastboot the options are:
Normal Powerup
Recovery
Factory
BP Tools
Switch Console
Power Off
Recovery will ocassionally take me to the sick looking droid.
When trying through RSD Lite I get stuck at 3/10 "boot_signed", and the phone says "preflash validation failed". I think this may be because the fastboot is locked?
When running through this guide: https://forum.xda-developers.com/showthread.php?t=2390573 unbrick.bat can't find libusb0.dll (possibly a windows 10 issue?).
I can't actually remember what version of Android I was running, however I'm pretty sure it was JB.
If anyone can advise as to what I should try next, or whether I can't recover my pictures at all, then please do get in touch.
Greg

GrogSym said:
Hi all,
My RAZR i softbricked almost a year ago. I am determined that I will get my holidays pictures from it... please help me do so!
It gets stuck on the intel page when booting normally, I can access fastboot however I think the phone must be locked. In AP fastboot the options are:
Normal Powerup
Recovery
Factory
BP Tools
Switch Console
Power Off
Recovery will ocassionally take me to the sick looking droid.
When trying through RSD Lite I get stuck at 3/10 "boot_signed", and the phone says "preflash validation failed". I think this may be because the fastboot is locked?
When running through this guide: https://forum.xda-developers.com/showthread.php?t=2390573 unbrick.bat can't find libusb0.dll (possibly a windows 10 issue?).
I can't actually remember what version of Android I was running, however I'm pretty sure it was JB.
If anyone can advise as to what I should try next, or whether I can't recover my pictures at all, then please do get in touch.
Greg
Click to expand...
Click to collapse
First u can try to flash those images manually. The fastboot command then will say a bit more than just that error.
So flash the system and boot image manually.
We can't unlock the bootloader because u will lose all data from the phone.

Hazou said:
First u can try to flash those images manually. The fastboot command then will say a bit more than just that error.
So flash the system and boot image manually.
We can't unlock the bootloader because u will lose all data from the phone.
Click to expand...
Click to collapse
When I try to flash the boot image through fastboot, I get the following:
C:\Users\Greg\Desktop>fastboot boot boot_signed
creating boot image...
creating boot image - 11536384 bytes
downloading 'boot.img'...
OKAY [ 1.432s]
booting...
(bootloader) Command restricted
FAILED (remote failure)
finished. total time: 1.626s
Presumably because this is restricted (ie no root)?
When I try the image file I get:
C:\Users\Greg\Desktop>fastboot flash system system_signed
(bootloader) Variable not supported!
target reported max download size of 104857600 bytes
Invalid sparse file format at header magi
error: write_sparse_skip_chunk: don't care size 733045500 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 626995964 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 515375868 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 407782140 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 296858364 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 185189116 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 74765052 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 8956 is not a multiple of the block size 4096
sending sparse 'system' (90258 KB)...
error: write_sparse_skip_chunk: don't care size 733045500 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 733045500 is not a multiple of the block size 4096
OKAY [ 8.452s]
writing 'system'...
FAILED (remote: Preflash validation failed)
finished. total time: 8.825s
Am I doing something wrong?

GrogSym said:
When I try to flash the boot image through fastboot, I get the following:
C:\Users\Greg\Desktop>fastboot boot boot_signed
creating boot image...
creating boot image - 11536384 bytes
downloading 'boot.img'...
OKAY [ 1.432s]
booting...
(bootloader) Command restricted
FAILED (remote failure)
finished. total time: 1.626s
Presumably because this is restricted (ie no root)?
Click to expand...
Click to collapse
Nope, "root" is only a system thingy and is most commonly used in Android when u can access system files while u are on a running system.
In this case the command "boot" is restricted in the bootloader. No way to enable that one for us. U need to use "flash"
GrogSym said:
When I try the image file I get:
C:\Users\Greg\Desktop>fastboot flash system system_signed
(bootloader) Variable not supported!
target reported max download size of 104857600 bytes
Invalid sparse file format at header magi
error: write_sparse_skip_chunk: don't care size 733045500 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 626995964 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 515375868 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 407782140 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 296858364 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 185189116 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 74765052 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 8956 is not a multiple of the block size 4096
sending sparse 'system' (90258 KB)...
error: write_sparse_skip_chunk: don't care size 733045500 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 733045500 is not a multiple of the block size 4096
OKAY [ 8.452s]
writing 'system'...
FAILED (remote: Preflash validation failed)
finished. total time: 8.825s
Am I doing something wrong?
Click to expand...
Click to collapse
Are u using the "fastboot" executable from the Android sdk? I recommend in this case to use the "mFastboot" executable.
The mfastboot executable in the RSD-Lite package should work just fine.
Just make sure u are using the latest JB (4.1.2) rsd-lite package.

Hazou said:
Nope, "root" is only a system thingy and is most commonly used in Android when u can access system files while u are on a running system.
In this case the command "boot" is restricted in the bootloader. No way to enable that one for us. U need to use "flash"
Are u using the "fastboot" executable from the Android sdk? I recommend in this case to use the "mFastboot" executable.
The mfastboot executable in the RSD-Lite package should work just fine.
Just make sure u are using the latest JB (4.1.2) rsd-lite package.
Click to expand...
Click to collapse
Thank you so much for your continued help - I'm afraid I'm no further ahead. I have tried the following:
C:\Users\Greg\Desktop>mfastboot flash boot boot_signed
(bootloader) Variable not supported!
target max-download-size: 100MB
sending 'boot' (11264 KB)...
OKAY [ 1.421s]
writing 'boot'...
FAILED (remote: Preflash validation failed)
finished. total time: 1.799s
C:\Users\Greg\Desktop>mfastboot flash system system_signed
(bootloader) Variable not supported!
target max-download-size: 100MB
Multi-Flash is enabled!
sending 'system' (102400 KB)...
OKAY [ 9.850s]
writing 'system'...
FAILED (remote: Preflash validation failed)
finished. total time: 10.479s
C:\Users\Greg\Desktop>
The phone returns: (...security version downgraded then)
PIV block validation failed
EIV block validation failed for system
Invalid PIV image: system
Fastboot command failed
Does this suggest I am using the wrong image file? CFC_9.8.2I-50_SMI-29_S7_USASMIJBRTGB.xml
I can't see an alternative for a UK phone on 4.1.2
Maybe I could just fly you to my house and you can fix it for me If there is a tutorial that I should be following that I have missed, then please do let me know.
Many thanks again,
Greg

GrogSym said:
Thank you so much for your continued help - I'm afraid I'm no further ahead. I have tried the following:
C:\Users\Greg\Desktop>mfastboot flash boot boot_signed
(bootloader) Variable not supported!
target max-download-size: 100MB
sending 'boot' (11264 KB)...
OKAY [ 1.421s]
writing 'boot'...
FAILED (remote: Preflash validation failed)
finished. total time: 1.799s
C:\Users\Greg\Desktop>mfastboot flash system system_signed
(bootloader) Variable not supported!
target max-download-size: 100MB
Multi-Flash is enabled!
sending 'system' (102400 KB)...
OKAY [ 9.850s]
writing 'system'...
FAILED (remote: Preflash validation failed)
finished. total time: 10.479s
C:\Users\Greg\Desktop>
The phone returns: (...security version downgraded then)
PIV block validation failed
EIV block validation failed for system
Invalid PIV image: system
Fastboot command failed
Does this suggest I am using the wrong image file? CFC_9.8.2I-50_SMI-29_S7_USASMIJBRTGB.xml
I can't see an alternative for a UK phone on 4.1.2
Maybe I could just fly you to my house and you can fix it for me If there is a tutorial that I should be following that I have missed, then please do let me know.
Many thanks again,
Greg
Click to expand...
Click to collapse
We can't get around that. The error message indicates that the wrong system or other images are flashed into the device. Sry, I have no clue on how to restore that.

Kitkat?
Could it be that failed OTA updates won't allow downgrades?
I have a xt890 that is bootlooping with the very same errors while trying to fastboot flash 4.1.2 en.GB.
I'm coming to the conclusion that the OTA Update partially succeeded and its no longer accepting JB firmware...
Hazou said:
We can't get around that. The error message indicates that the wrong system or other images are flashed into the device. Sry, I have no clue on how to restore that.
Click to expand...
Click to collapse

Related

[Q] Blank phone?

So I did a major mistake here. I had the liquid rom but it was so glitchy and all that nothin worked. so then i went to my cwm 6.0.2.8 recovery to delete cache and wipe data to flash the new rom but then it turns out the new rom I wanted to flash was incomplete and now my phone is completely blank now. Oh i am unlocked bootloader too. please help me guys! plus i now have a problem that it says (internal sd card) E: cant mount /sdcard/ and also android_secure is gone. I was able to flash a rom within my sdcard but it gets into a bootloop and wont boot up since of the internal sd card error.
wadamean said:
So I did a major mistake here. I had the liquid rom but it was so glitchy and all that nothin worked. so then i went to my cwm 6.0.2.8 recovery to delete cache and wipe data to flash the new rom but then it turns out the new rom I wanted to flash was incomplete and now my phone is completely blank now. Oh i am unlocked bootloader too. please help me guys! plus i now have a problem that it says (internal sd card) E: cant mount /sdcard/ and also android_secure is gone. I was able to flash a rom within my sdcard but it gets into a bootloop and wont boot up since of the internal sd card error.
Click to expand...
Click to collapse
I've been in the situation a couple of times all you need to do is fastboot flash back to stock using skeevydudes tutorial under general or use rsd lite
I will surely try that. I cant use rsd since i have mac though.
help
frog1982 said:
I've been in the situation a couple of times all you need to do is fastboot flash back to stock using skeevydudes tutorial under general or use rsd lite
Click to expand...
Click to collapse
plus can u post the link to the guide and please to which exact stock rom i need for my unlocked bootlaoder. thanks so much.
wadamean said:
plus can u post the link to the guide and please to which exact stock rom i need for my unlocked bootlaoder. thanks so much.
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2226527
There is a section for going back to stock jelly bean with links to the different firmwares. I would suggest mexico retail it is the most bug free and has very little bloat. But if you've never read this post by skeevydude I was just read the whole initial post because it is extremely good to know all this information so that way you can fix anything that goes wrong software wise with your phone. If you have a more questions about it just let me know. Also there is a small section on how to regain root after you do this but your unlocked boot loader will not be affected.
frog1982 said:
http://forum.xda-developers.com/showthread.php?t=2226527
There is a section for going back to stock jelly bean with links to the different firmwares. I would suggest mexico retail it is the most bug free and has very little bloat. But if you've never read this post by skeevydude I was just read the whole initial post because it is extremely good to know all this information so that way you can fix anything that goes wrong software wise with your phone. If you have a more questions about it just let me know. Also there is a small section on how to regain root after you do this but your unlocked boot loader will not be affected.
Click to expand...
Click to collapse
For the /data wipe (not necessary for switching ROMs, just /system and factory reset) you need to fastboot to stock. Checked out that link, and I don't believe that is for fastbooting. That's for flashing a stock ROM via CWM, which won't do anything for you. You need to fastboot a real stock ROM (from the android sbf site) to fix this. And I would recommend flashing manually because I haven't used RSD and Myth always gave me problems.
Sent from my MB886 using xda app-developers app
EDIT: Took a sip of coffee, reskimmed that thread and it's the right one. My bad.
can I have step by step instructions? and the exact file i need. thanks a bunch!
wadamean said:
can I have step by step instructions? and the exact file i need. thanks a bunch!
Click to expand...
Click to collapse
Step by step instructions are located in the link.
instructions please
penser said:
For the /data wipe (not necessary for switching ROMs, just /system and factory reset) you need to fastboot to stock. Checked out that link, and I don't believe that is for fastbooting. That's for flashing a stock ROM via CWM, which won't do anything for you. You need to fastboot a real stock ROM (from the android sbf site) to fix this. And I would recommend flashing manually because I haven't used RSD and Myth always gave me problems.
Sent from my MB886 using xda app-developers app
EDIT: Took a sip of coffee, reskimmed that thread and it's the right one. My bad.
Click to expand...
Click to collapse
can I have step by step instructions? and the exact file i need. thanks a bunch!
ohhhh
frog1982 said:
Step by step instructions are located in the link.
Click to expand...
Click to collapse
where exactly? i cant seem to find them. and which file do i need to fastboot to stock?
i have the MX retail one zip file.
wadamean said:
where exactly? i cant seem to find them. and which file do i need to fastboot to stock?
i have the MX retail one zip file.
Click to expand...
Click to collapse
unzip the file, download the snapdragon fastboot file and put it in the same folder as the unzipped Mex retail then run these fastboot commands while the phone is hooked up to the computer and fastboot mode
fastboot flash boot boot.img
fastboot flash devtree device_tree.bin
fastboot flash system system.img
fastboot -w
fastboot reboot
FAiled
frog1982 said:
unzip the file, download the snapdragon fastboot file and put it in the same folder as the unzipped Mex retail then run these fastboot commands while the phone is hooked up to the computer and fastboot mode
fastboot flash boot boot.img
fastboot flash devtree device_tree.bin
fastboot flash system system.img
fastboot -w
fastboot reboot
Click to expand...
Click to collapse
Last login: Fri Aug 16 04:43:13 on ttys000
-bash: sdkfolder: No such file or directory
Hector-Garnicas-iMac:~ hectorgarnica$ cd /Users/hectorgarnica/Atrix\ hd/MB886_niimx-user-4.1.2-9.8.2Q-50_MB886_NII_TA-2-16-release-keys-NII-MX.xml
Hector-Garnicas-iMac:MB886_niimx-user-4.1.2-9.8.2Q-50_MB886_NII_TA-2-16-release-keys-NII-MX.xml hectorgarnica$ ./fastboot devices
-bash: ./fastboot: No such file or directory
Hector-Garnicas-iMac:MB886_niimx-user-4.1.2-9.8.2Q-50_MB886_NII_TA-2-16-release-keys-NII-MX.xml hectorgarnica$ cd /Users/hectorgarnica/adt-bundle-mac/sdk/tools Hector-Garnicas-iMac:tools hectorgarnica$ ./fastboot devices
TA300036RY fastboot
Hector-Garnicas-iMac:tools hectorgarnica$ ./fastboot flash boot /Users/hectorgarnica/adt-bundle-mac/sdk/tools/MB886_niimx-user-4.1.2-9.8.2Q-50_MB886_NII_TA-2-16-release-keys-NII-MX.xml/boot.img
(bootloader) Variable not supported!
target reported max download size of 31457280 bytes
sending 'boot' (10240 KB)...
OKAY [ 0.800s]
writing 'boot'...
(bootloader) Battery Low!!
FAILED (remote failure)
finished. total time: 1.057s
Hector-Garnicas-iMac:tools hectorgarnica$ ./fastboot flash /Users/hectorgarnica/adt-bundle-mac/sdk/tools/MB886_niimx-user-4.1.2-9.8.2Q-50_MB886_NII_TA-2-16-release-keys-NII-MX.xml/device_tree.bin
unknown partition '/Users/hectorgarnica/adt-bundle-mac/sdk/tools/MB886_niimx-user-4.1.2-9.8.2Q-50_MB886_NII_TA-2-16-release-keys-NII-MX.xml/device_tree.bin'
error: cannot determine image filename for '/Users/hectorgarnica/adt-bundle-mac/sdk/tools/MB886_niimx-user-4.1.2-9.8.2Q-50_MB886_NII_TA-2-16-release-keys-NII-MX.xml/device_tree.bin'
Hector-Garnicas-iMac:tools hectorgarnica$ ./fastboot flash devtree device_tree.bin
(bootloader) Variable not supported!
target reported max download size of 31457280 bytes
sending 'devtree' (512 KB)...
OKAY [ 0.047s]
writing 'devtree'...
(bootloader) Battery Low!!
FAILED (remote failure)
finished. total time: 0.300s
Hector-Garnicas-iMac:tools hectorgarnica$ ./fastboot flash system /Users/hectorgarnica/adt-bundle-mac/sdk/tools/MB886_niimx-user-4.1.2-9.8.2Q-50_MB886_NII_TA-2-16-release-keys-NII-MX.xml/system.img
(bootloader) Variable not supported!
target reported max download size of 31457280 bytes
Invalid sparse file format at header magi
error: write_sparse_skip_chunk: don't care size 517990560 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 486529184 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 455063712 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 423610528 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 392153248 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 360532128 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 329078944 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 297834656 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 266279072 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 236382368 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 204929184 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 173467808 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 142014624 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 111741088 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 81475744 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 50006176 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 18520224 is not a multiple of the block size 4096
sending sparse 'system' (30716 KB)...
error: write_sparse_skip_chunk: don't care size 517990560 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 517990560 is not a multiple of the block size 4096
OKAY [ 2.865s]
writing 'system'...
(bootloader) Battery Low!!
FAILED (remote failure)
finished. total time: 3.122s
Hector-Garnicas-iMac:tools hectorgarnica$ ./fastboot -w
erasing 'userdata'...
OKAY [ 2.347s]
formatting 'userdata' partition...
(bootloader) Variable not supported!
Erase successful, but not automatically formatting.
Can't determine partition type.
OKAY [ 0.106s]
erasing 'cache'...
OKAY [ 1.321s]
formatting 'cache' partition...
(bootloader) Variable not supported!
Erase successful, but not automatically formatting.
Can't determine partition type.
OKAY [ 0.105s]
finished. total time: 3.879s
Hector-Garnicas-iMac:tools hectorgarnica$ ./fastboot reboot
rebooting...
finished. total time: 0.006s
Hector-Garnicas-iMac:tools hectorgarnica$
what i kept getting failed. i did all step by step.
wadamean said:
Last login: Fri Aug 16 04:43:13 on ttys000
-bash: sdkfolder: No such file or directory
Hector-Garnicas-iMac:~ hectorgarnica$ cd /Users/hectorgarnica/Atrix\ hd/MB886_niimx-user-4.1.2-9.8.2Q-50_MB886_NII_TA-2-16-release-keys-NII-MX.xml
Hector-Garnicas-iMac:MB886_niimx-user-4.1.2-9.8.2Q-50_MB886_NII_TA-2-16-release-keys-NII-MX.xml hectorgarnica$ ./fastboot devices
-bash: ./fastboot: No such file or directory
Hector-Garnicas-iMac:MB886_niimx-user-4.1.2-9.8.2Q-50_MB886_NII_TA-2-16-release-keys-NII-MX.xml hectorgarnica$ cd /Users/hectorgarnica/adt-bundle-mac/sdk/tools Hector-Garnicas-iMac:tools hectorgarnica$ ./fastboot devices
TA300036RY fastboot
Hector-Garnicas-iMac:tools hectorgarnica$ ./fastboot flash boot /Users/hectorgarnica/adt-bundle-mac/sdk/tools/MB886_niimx-user-4.1.2-9.8.2Q-50_MB886_NII_TA-2-16-release-keys-NII-MX.xml/boot.img
(bootloader) Variable not supported!
target reported max download size of 31457280 bytes
sending 'boot' (10240 KB)...
OKAY [ 0.800s]
writing 'boot'...
(bootloader) Battery Low!!
FAILED (remote failure)
finished. total time: 1.057s
Hector-Garnicas-iMac:tools hectorgarnica$ ./fastboot flash /Users/hectorgarnica/adt-bundle-mac/sdk/tools/MB886_niimx-user-4.1.2-9.8.2Q-50_MB886_NII_TA-2-16-release-keys-NII-MX.xml/device_tree.bin
unknown partition '/Users/hectorgarnica/adt-bundle-mac/sdk/tools/MB886_niimx-user-4.1.2-9.8.2Q-50_MB886_NII_TA-2-16-release-keys-NII-MX.xml/device_tree.bin'
error: cannot determine image filename for '/Users/hectorgarnica/adt-bundle-mac/sdk/tools/MB886_niimx-user-4.1.2-9.8.2Q-50_MB886_NII_TA-2-16-release-keys-NII-MX.xml/device_tree.bin'
Hector-Garnicas-iMac:tools hectorgarnica$ ./fastboot flash devtree device_tree.bin
(bootloader) Variable not supported!
target reported max download size of 31457280 bytes
sending 'devtree' (512 KB)...
OKAY [ 0.047s]
writing 'devtree'...
(bootloader) Battery Low!!
FAILED (remote failure)
finished. total time: 0.300s
Hector-Garnicas-iMac:tools hectorgarnica$ ./fastboot flash system /Users/hectorgarnica/adt-bundle-mac/sdk/tools/MB886_niimx-user-4.1.2-9.8.2Q-50_MB886_NII_TA-2-16-release-keys-NII-MX.xml/system.img
(bootloader) Variable not supported!
target reported max download size of 31457280 bytes
Invalid sparse file format at header magi
error: write_sparse_skip_chunk: don't care size 517990560 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 486529184 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 455063712 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 423610528 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 392153248 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 360532128 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 329078944 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 297834656 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 266279072 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 236382368 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 204929184 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 173467808 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 142014624 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 111741088 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 81475744 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 50006176 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 18520224 is not a multiple of the block size 4096
sending sparse 'system' (30716 KB)...
error: write_sparse_skip_chunk: don't care size 517990560 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 517990560 is not a multiple of the block size 4096
OKAY [ 2.865s]
writing 'system'...
(bootloader) Battery Low!!
FAILED (remote failure)
finished. total time: 3.122s
Hector-Garnicas-iMac:tools hectorgarnica$ ./fastboot -w
erasing 'userdata'...
OKAY [ 2.347s]
formatting 'userdata' partition...
(bootloader) Variable not supported!
Erase successful, but not automatically formatting.
Can't determine partition type.
OKAY [ 0.106s]
erasing 'cache'...
OKAY [ 1.321s]
formatting 'cache' partition...
(bootloader) Variable not supported!
Erase successful, but not automatically formatting.
Can't determine partition type.
OKAY [ 0.105s]
finished. total time: 3.879s
Hector-Garnicas-iMac:tools hectorgarnica$ ./fastboot reboot
rebooting...
finished. total time: 0.006s
Hector-Garnicas-iMac:tools hectorgarnica$
what i kept getting failed. i did all step by step.
Click to expand...
Click to collapse
did you download the snapdragon fastboot file from the link and place it in the folder as the unzipped stock file
frog1982 said:
did you download the snapdragon fastboot file from the link and place it in the folder as the unzipped stock file
Click to expand...
Click to collapse
yes i did
frog1982 said:
did you download the snapdragon fastboot file from the link and place it in the folder as the unzipped stock file
Click to expand...
Click to collapse
unless i have the wrong file. i have had it from a long while ago plus the link doesnt provide it. i loooked.
wadamean said:
unless i have the wrong file. i have had it from a long while ago plus the link doesnt provide it. i loooked.
Click to expand...
Click to collapse
Don't use the stock\SDK fastboot binary for flashing /
system.
An updated fastboot binary for Lin\Win\Mac can be found here on
the Batakang FTP from our local, neighborhood Mattlgroff.
Linux -- Rename the file to moto-fastboot and add it to a directory
in your $PATH -- Ubuntu\Debian users can just add it to ~/bin
(enabled by default)
Windows -- Rename the file to moto-fastboot and put it somewhere
handy...that's on you to decide.
that is second paragraph in the link and I double checked the link it is active.
when you download it there will be three folders just copy the files from the Mac folder and put them in your Mex retail file then everything should work fine.
let me know how it goes.
PS I keep this file setup on both my Linux and windows so that at anytime I can fix my phone and suggest that everybody who is flashaholic or developer do the same.
frog1982 said:
Don't use the stock\SDK fastboot binary for flashing /
system.
An updated fastboot binary for Lin\Win\Mac can be found here on
the Batakang FTP from our local, neighborhood Mattlgroff.
Linux -- Rename the file to moto-fastboot and add it to a directory
in your $PATH -- Ubuntu\Debian users can just add it to ~/bin
(enabled by default)
Windows -- Rename the file to moto-fastboot and put it somewhere
handy...that's on you to decide.
that is second paragraph in the link and I double checked the link it is active.
when you download it there will be three folders just copy the files from the Mac folder and put them in your Mex retail file then everything should work fine.
let me know how it goes.
PS I keep this file setup on both my Linux and windows so that at anytime I can fix my phone and suggest that everybody who is flashaholic or developer do the same.
Click to expand...
Click to collapse
ima try it and let you know
frog1982 said:
Don't use the stock\SDK fastboot binary for flashing /
system.
An updated fastboot binary for Lin\Win\Mac can be found here on
the Batakang FTP from our local, neighborhood Mattlgroff.
Linux -- Rename the file to moto-fastboot and add it to a directory
in your $PATH -- Ubuntu\Debian users can just add it to ~/bin
(enabled by default)
Windows -- Rename the file to moto-fastboot and put it somewhere
handy...that's on you to decide.
that is second paragraph in the link and I double checked the link it is active.
when you download it there will be three folders just copy the files from the Mac folder and put them in your Mex retail file then everything should work fine.
let me know how it goes.
PS I keep this file setup on both my Linux and windows so that at anytime I can fix my phone and suggest that everybody who is flashaholic or developer do the same.
Click to expand...
Click to collapse
i still keep getting the failed (remote failure)
wadamean said:
i still keep getting the failed (remote failure)
Click to expand...
Click to collapse
are you putting your phone into ap fastboot first
also does mac have any kind sudo, superuser or admin mode that you can try it in.
Yes of course I go to ap fastboot mode first prior to hooking it up to my mac and starting the process. And idk about the sudo or superuser but I'm sure there is administrator stuff for the mac
Sent from my Droid using xda app-developers app

Max download size error Fastboot system.img

Is there another way to flash system.img from Fastboot?
I'm trying to flash system.img onto my VZW X, extracted from VZW_XT1060_4.2.2-13.9.0Q2.X-116-MX-17-57-X-1_CFC_1FF.xml.zip using fastboot. I'm getting the following output:
Code:
(bootloader) Variable not supported!
target reported max download size of 805306368 bytes
Invalid sparse file format at header magi
error: write_sparse_skip_chunk: don't care size 46961884 is not a multiple of the block size 4096
sending sparse 'system' (777329 KB)...
error: write_sparse_skip_chunk: don't care size 46961884 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 46961884 is not a multiple of the block size 4096
OKAY [ 50.993s]
writing 'system'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 51.393s
On the phone screen it says:
Code:
Mismatched PIV partition name for system
Invalid PIV image: system
I rooted my phone using RockMyMoto. It has the latest OTA.
What's going on? Phone doesn't boot and I'm trying to avoid using RSD and wiping it.
jonnythan said:
I'm trying to flash system.img onto my VZW X, extracted from VZW_XT1060_4.2.2-13.9.0Q2.X-116-MX-17-57-X-1_CFC_1FF.xml.zip using fastboot.
Click to expand...
Click to collapse
try one of these fastboots
http://forum.xda-developers.com/showthread.php?t=2489249
jayboyyyy said:
try one of these fastboots
http://forum.xda-developers.com/showthread.php?t=2489249
Click to expand...
Click to collapse
Ah very nice. Thank you. I got the idea to try RSD, but edit the XML to exclude all the other steps besides flash system.img. If that doesn't work I will try this new fastboot. Wish I had been a little more patient
Looks like flashing via RSD but editing the XML to remove all the other flash lines worked. Thanks!
jonnythan said:
Looks like flashing via RSD but editing the XML to remove all the other flash lines worked. Thanks!
Click to expand...
Click to collapse
thats because rsd uses the right fastboot to run its commands fyi. from my experience at least. you really need the motofastboot because for vzw phones and maybe others, there are issues with the sdk fastboot file.
jayboyyyy said:
thats because rsd uses the right fastboot to run its commands fyi. from my experience at least. you really need the motofastboot because for vzw phones and maybe others, there are issues with the sdk fastboot file.
Click to expand...
Click to collapse
Good info, thank you.

[Q] Can't seem to get any rom to work. A beer to whomever can help me out!

I've tried a number of different combinations to get my HTC One running on a custom ROM, and none of them seem to work.
S-ON
HBOOT=1.56.0000
Click to expand...
Click to collapse
I've tried using both TWRP and CWM, and tried installing both the latest Viper and Bad Boyz roms. Regardless, installation completes successfully (apparently) and the phone reboots. It gets past the loading screen, then to a locked home screen. Upon unlock, all I see is a white screen with the HTC logo.
Sometimes, I'll get a dialog with the following error:
Process com.htc.htcdialer isn't responding
Click to expand...
Click to collapse
The phone then reboots itself, and the cycle begins again.
I will happily through a beer, coffee, or other beverage of choice (or equivalent) to whomever is able to help me out. Thank you!
You did do a full wipe in recovery correct? I've flashed both of those no problem.
Sent from my HTCONE using Tapatalk
Bairdog35 said:
You did do a full wipe in recovery correct? I've flashed both of those no problem.
Click to expand...
Click to collapse
I have, yes. Does not appear to make a difference, unfortunately. Performed full wipes, made sure to wipe both caches upon install, still stuck.
kadjar said:
I have, yes. Does not appear to make a difference, unfortunately. Performed full wipes, made sure to wipe both caches upon install, still stuck.
Click to expand...
Click to collapse
You are using a Sprint HTC one correct? May be a stupid question for me to ask, but you'd be surprised how easily people get lost here!
Sent from my HTCONE using Tapatalk
Bairdog35 said:
You are using a Sprint HTC one correct? May be a stupid question for me to ask, but you'd be surprised how easily people get lost here!
Click to expand...
Click to collapse
I am indeed I appreciate you making sure! I can't help but wonder if I did something similarly dumb to bungle this thing.
kadjar said:
I am indeed I appreciate you making sure! I can't help but wonder if I did something similarly dumb to bungle this thing.
Click to expand...
Click to collapse
You are in a pickle haha, this is what I would do. If your phone is not in a working state, RUU back to stock, then unlock the boot loader again, flash TWRP recovery, try flashing your Rom of choice. I bet after that process your Rom will boot and run just fine.
Sent from my HTCONE using Tapatalk
Bairdog35 said:
You are in a pickle haha, this is what I would do. If your phone is not in a working state, RUU back to stock, then unlock the boot loader again, flash TWRP recovery, try flashing your Rom of choice. I bet after that process your Rom will boot and run just fine.
Click to expand...
Click to collapse
Darn. Do you happen to know if there's any way to RUU on a mac? Everything I've seen so far seems to utilize a .exe
I would also re-download your ROM/S you wish to try, it's amazing how easily an error can come from the download itself and not show up until it's flashed
Process of Elimination.
Bashing away at my HTC Desire C
kadjar said:
I've tried a number of different combinations to get my HTC One running on a custom ROM, and none of them seem to work.
I've tried using both TWRP and CWM, and tried installing both the latest Viper and Bad Boyz roms. Regardless, installation completes successfully (apparently) and the phone reboots. It gets past the loading screen, then to a locked home screen. Upon unlock, all I see is a white screen with the HTC logo.
Sometimes, I'll get a dialog with the following error:
The phone then reboots itself, and the cycle begins again.
I will happily through a beer, coffee, or other beverage of choice (or equivalent) to whomever is able to help me out. Thank you!
Click to expand...
Click to collapse
try reflashing the latest radio with twrp recovery, you can find them in flashable zips here in the threads.
kadjar said:
Darn. Do you happen to know if there's any way to RUU on a mac? Everything I've seen so far seems to utilize a .exe
Click to expand...
Click to collapse
Man this is just not your day haha
Download this http://www.androidfilehost.com/?fid=23329332407573774
Unzip it, you will find Rom.zip inside the folder.
I'm assuming you have fastboot working on your Mac
Reboot your phone into boot loader, select fastboot, plug into Mac.
Make sure you relock your boot loader.
Move that Rom.zip into the folder that fastboot is found on mac.
Type the following commands
1. fastboot oem rebootRUU
2. fastboot flash zip rom.zip
3. fastboot flash zip rom.zip
4. fastboot reboot
Yes you need to do fastboot flash zip Rom.zip twice, it will fail the first time.
Let it do its thing then reboot. You should have your phone back to stock!
Sent from my HTCONE using Tapatalk
Followed your instructions, but it seems to be failing (more than once)
Any guesses as to what I'm doing wrong?
Code:
➜ platform-tools ./fastboot oem lock
...
(bootloader) Lock successfully...
(bootloader) mipi display off
(bootloader) mipi_dsi_cmds_tx_ext
(bootloader) pm8921_vreg_disable function, vreg_id = 38
(bootloader) pm8921_vreg_disable function, vreg_id = 1
(bootloader) TZ_HTC_SVC_DISABLE ret = 534642044 (0x1FDDFD7C)
(bootloader) Use PSHOLD to reset device.
ERROR: usb_read failed with status e00002c0
FAILED (status read failed (No such file or directory))
finished. total time: 1.131s
➜ platform-tools ./fastboot oem rebootRUU
...
(bootloader) Start Verify: 3
OKAY [ 0.035s]
finished. total time: 0.035s
➜ platform-tools ./fastboot flash zip /Users/garrett/Dev/android/stock.zip
target reported max download size of 1514139648 bytes
Invalid sparse file format at header magi
error: write_sparse_skip_chunk: don't care size 120085191 is not a multiple of the block size 4096
sending sparse 'zip' (1476856 KB)...
error: write_sparse_skip_chunk: don't care size 120085191 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 120085191 is not a multiple of the block size 4096
OKAY [ 86.741s]
writing 'zip'...
(bootloader) signature checking...
FAILED (remote: 12 signature verify fail)
finished. total time: 237.804s
➜ platform-tools ./fastboot flash zip /Users/garrett/Dev/android/stock.zip
target reported max download size of 1514139648 bytes
Invalid sparse file format at header magi
error: write_sparse_skip_chunk: don't care size 124279495 is not a multiple of the block size 4096
sending sparse 'zip' (1478186 KB)...
error: write_sparse_skip_chunk: don't care size 124279495 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 124279495 is not a multiple of the block size 4096
OKAY [ 70.744s]
writing 'zip'...
(bootloader) signature checking...
FAILED (remote: 12 signature verify fail)
finished. total time: 222.003s
➜ platform-tools ./fastboot flash zip /Users/garrett/Dev/android/stock.zip
target reported max download size of 1514139648 bytes
Invalid sparse file format at header magi
error: write_sparse_skip_chunk: don't care size 128047815 is not a multiple of the block size 4096
sending sparse 'zip' (1476924 KB)...
error: write_sparse_skip_chunk: don't care size 128047815 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 128047815 is not a multiple of the block size 4096
OKAY [ 69.791s]
writing 'zip'...
(bootloader) signature checking...
FAILED (remote: 12 signature verify fail)
finished. total time: 220.860s
Your fastboot exe may be bad, try installing from this thread - http://forum.xda-developers.com/showthread.php?t=2588979
Bairdog35 said:
Man this is just not your day haha
Download this http://www.androidfilehost.com/?fid=23329332407573774
Unzip it, you will find Rom.zip inside the folder.
I'm assuming you have fastboot working on your Mac
Reboot your phone into boot loader, select fastboot, plug into Mac.
Make sure you relock your boot loader.
Move that Rom.zip into the folder that fastboot is found on mac.
Type the following commands
1. fastboot oem rebootRUU
2. fastboot flash zip rom.zip
3. fastboot flash zip rom.zip
4. fastboot reboot
Yes you need to do fastboot flash zip Rom.zip twice, it will fail the first time.
Let it do its thing then reboot. You should have your phone back to stock!
Sent from my HTCONE using Tapatalk
Click to expand...
Click to collapse
You, sir, I owe a beer. Back up and running on stock, managed to root stock as well. PM me your paypal?
kadjar said:
You, sir, I owe a beer. Back up and running on stock, managed to root stock as well. PM me your paypal?
Click to expand...
Click to collapse
Seems you found it, thank you greatly. If you need anything, don't be afraid to pm me
Sent from my HTCONE using Tapatalk
Htc one A9 firmware flashing problem
htc one a9 (model: 2PQ9100) see the error below i'm facing please help me i am very upset :crying:
C:\adb>fastboot oem rebootRUU
...
OKAY [ 0.047s]
finished. total time: 0.048s
C:\adb>fastboot flash zip firmware.zip
target reported max download size of 1166400000 bytes
Invalid sparse file format at header magi
error: write_sparse_skip_chunk: don't care size 617001178 is not a multiple of the block size 4096
sending sparse 'zip' (1139061 KB)...
error: write_sparse_skip_chunk: don't care size 617001178 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 617001178 is not a multiple of the block size 4096
OKAY [ 53.554s]
writing 'zip'...
(bootloader) HOSD CL#853511
(bootloader) ERR lzipv2_init : Cannot open file /dev/fastboot_download_z
(bootloader) EOonp
(bootloader) ERR [SD_UPDATE_ERR] update_fb_ZIP_buf: can not find ZIP hea
(bootloader) der
(bootloader) ERR [SD_UPDATE_ERR] sddownload failed: 22
(bootloader) ERR Update zip file failed.
(bootloader) ERR ZIP ERROR, exit read zip loop
(bootloader) ERR ZIP signature checking failed...
(bootloader) Update zip file OK
(bootloader) ERR ZIP ERROR CODE, 22
(bootloader) [email protected]
FAILED (remote: 22 RU_HEADER_ERROR )
finished. total time: 91.572s
First thing I would do is get a fresh download of the RUU update and try that.

Bootloop / Frozen on Unlockedd bootloader

Hello!
My RazrI got into a bootloop (red boot animation) without any reason (the phone worked since over a year without any tweaking around with stock firmware). I got it into fastboot and tried to flash CFC_9.8.2I-50_SMI-26_S7_USASMIJBRTEU.xml with RSD but at command 4 (reboot bootloader) it failed. I also tried the MEDFIELD unbrick fix, but this didn't help also. So I executed each fastboot command from the RSD xml manually. I flashed gpt, motoboot, boot, recovery and motobp with success. But I got an error on system:
Invalid sparse file format at header magi
error: write_sparse_skip_chunk: don't care size 701911720 is not a multiple of the block size 4096
a few other lines with this block size problem then:
sending sparse 'system' (99096 KB)...
error: write_sparse_skip_chunk: don't care size 701911720 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 701911720 is not a multiple of the block size 4096
OKAY [ 9.108s]
Writing 'system'...
(bootloader) BLKDISCARD ioctl /dev/block/mmcblk0 fail
(bootloader) Fail to erase partition
FAILED (remote failure)
The same result with flashing cdrom.
Then I tried to erase the system with fastboot erase system and got the following error:
erasing 'system'...
FAILED (remote: Permission denied)
I also tried to erase the cache with the following result:
erasing 'cache'...
(bootloader) BLKDISCARD ioctl /dev/block/mmcblk0 fail
(bootloader) Erase cache fail
FAILED (remote failure)
My bootloader is unlocked. After getting the first time into fastboot, now the phone hangs on the "unlocked bootloader" screen for some time and the resets und loops this way.
Is there any hope to get it working again?
Thanks!
You need to use mfastboot to flash system. It won't work with fastboot.
mfastboot is a modified fastboot to work with large system files.
Sent from my XT1095 using Tapatalk
AGISCI said:
You need to use mfastboot to flash system. It won't work with fastboot.
mfastboot is a modified fastboot to work with large system files.
Sent from my XT1095 using Tapatalk
Click to expand...
Click to collapse
Thank You for the tip. Sadly, mfastboot didn't help either. I got the following result:
Multi-Flash is enabled!
sending 'system' (102400 KB)...
OKAY [ 9.850s]
writing 'system'...
OKAY [ 0.435s]
sending 'system' (102400 KB)...
(bootloader) BLKDISCARD ioctl /dev/block/mmcblk0 fail
(bootloader) Failed to erase partition
(bootloader) Failed to write mmc
OKAY [ 10.990s]
writing 'system'...
FAILED (remote failure)
sultan70 said:
Thank You for the tip. Sadly, mfastboot didn't help either. I got the following result:
Multi-Flash is enabled!
sending 'system' (102400 KB)...
OKAY [ 9.850s]
writing 'system'...
OKAY [ 0.435s]
sending 'system' (102400 KB)...
(bootloader) BLKDISCARD ioctl /dev/block/mmcblk0 fail
(bootloader) Failed to erase partition
(bootloader) Failed to write mmc
OKAY [ 10.990s]
writing 'system'...
FAILED (remote failure)
Click to expand...
Click to collapse
U got most likely a emmc error. Can't be fixed till this date or I don't know anyone that has fixed this problem.
All Razr I's have this. Some have just luke that they will never encounter this.

Error when try to flash stock RUU

Hello everyone,
some months ago i rooted my HTC One (M7) and all works great, but now my camera didn't work. Front camera work sometimes, but rear behave like didn't exist. So i want now to go back to stock ROM, maybe it can help, if not i want to send phone to service.
So far i did this:
- change CID to stock
- lock bootloader
- change bootloader flag (RELOCKED to LOCKED)
and now i must flash stock RUU, but when i try to do this CMD send me error.
I download this RUU (I can't paste link): PN07IMG_M7_UL_L50_SENSE60_MR_HTC_Europe_7.19.401.2_Radio_4T.35.3218.16_10.33Q.1718.01L_release_421790_signed.zip and i type commands:
Code:
adb reboot-bootloader
fastboot oem rebootRUU
fastboot flash zip ruu.zip
And after i do this CMD show me this:
Code:
target reported max download size of 1514139648 bytes
Invalid sparse file format at header magi
error: write_sparse_skip_chunk: don't care size 173350938 is not a multiple of the block size 4096
sending sparse 'zip' (1478649 KB)...
error: write_sparse_skip_chunk: don't care size 173350938 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 173350938 is not a multiple of the block size 4096
OKAY [ 62.557s]
writing 'zip'...
(bootloader) zip header checking...
(bootloader) shift signature_size for header checking...
FAILED (remote: 32 header error)
finished. total time: 62.771s
Sorry for my language, i'm from Poland.
Can somebody help me?
darvin55 said:
Hello everyone,
some months ago i rooted my HTC One (M7) and all works great, but now my camera didn't work. Front camera work sometimes, but rear behave like didn't exist. So i want now to go back to stock ROM, maybe it can help, if not i want to send phone to service.
So far i did this:
- change CID to stock
- lock bootloader
- change bootloader flag (RELOCKED to LOCKED)
and now i must flash stock RUU, but when i try to do this CMD send me error.
I download this RUU (I can't paste link): PN07IMG_M7_UL_L50_SENSE60_MR_HTC_Europe_7.19.401.2_Radio_4T.35.3218.16_10.33Q.1718.01L_release_421790_signed.zip and i type commands:
Code:
adb reboot-bootloader
fastboot oem rebootRUU
fastboot flash zip ruu.zip
And after i do this CMD show me this:
Code:
target reported max download size of 1514139648 bytes
Invalid sparse file format at header magi
error: write_sparse_skip_chunk: don't care size 173350938 is not a multiple of the block size 4096
sending sparse 'zip' (1478649 KB)...
error: write_sparse_skip_chunk: don't care size 173350938 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 173350938 is not a multiple of the block size 4096
OKAY [ 62.557s]
writing 'zip'...
(bootloader) zip header checking...
(bootloader) shift signature_size for header checking...
FAILED (remote: 32 header error)
finished. total time: 62.771s
Sorry for my language, i'm from Poland.
Can somebody help me?
Click to expand...
Click to collapse
You must use htc_fastboot.exe to flash the ruu (explained at post #1 of the ruu collection thread). Also relocking the bootloader is not required to flash a RUU when s-off (I'm assuming your phone is S-OFF since you were able to change your cid), also explained in at post #1 of the ruu thread. You can download htc_fastboot.exe from androidfilehost.com
I downloaded fastboot for HTC, but maybe it wasn't correct. I try find some fine fastboot and then I write here. Thanks a lot!

Categories

Resources