I have Moto E5 plus (hannah XT1924-7 variant) metro pcs.
In about phone it says M8940TMO_31.20.11.66R HANNAH_NA_TMO_CUST
My device has 3GB RAM / 32GB
im using twrp 3.3.1 and rooted with magisk. and my bootloader is unlocked. running stock OTA 8.0
On this xda post someone said that if you have a 3gb version = Hannah - and - 2gb version = RHANNAH
https://forum.xda-developers.com/moto-e5/help/hannah-rhannah-t3909453
I can only successfully flash a backup ive made in twrp. I've tried numerous roms for XT1924-7 in both Hannah and RHannah and Stock IMG's. . Using both TWRP and fastboot/bootloader. All found at xda
I was able to flash one rom but went into boot loop spent hours trying to flash multiple stock roms for xt1924-7 hannah / rhannah
Twrp always errors out with either "ERROR 255" or "bootloader image not signed or corrupt, etc..."
FastBoot errors out with - "Invalid sparse file format at header, or
Invalid sparse file format at header magic error: write_sparse_skip_chunk: don't care size 919890484 is not a multiple of the block size 4096 error: write_sparse_skip_chunk: don't care size 384072244 is not a multiple of the block size 4096 Sending sparse 'system' 1/3 (523260 KB) error: write_sparse_skip_chunk: don't care size 919890484 is not a multiple of the block size 4096 error: write_sparse_skip_chunk: don't care size 919890484 is not a multiple of the block size 4096 OKAY [ 19.285s] Writing sparse 'system' 1/3 (bootloader) Invalid sparse image (bootloader) Preflash validation failed FAILED (remote: '')"
Whats goin on?
I just read that using magisk for root will caz bootloader / or something, to see the device as perry variant.?.?.? (forgot exactly)
and i'm also not quite sure if i'm GSI / Phh-Treble... most roms for MOTO E5 plus say GSI IN TITLE. I've researched some ...
any ideas why i am unable to flash any thing at all besides nandriod backup?
thx
Related
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
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.
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
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!
I'm not sure what I did but I got my phone to a place where I can only get into fastboot mode.
Booting to recovery brings up a message that the boot/recovery partition is broken.
I've tried to boot into costom recovery using `fastboot boot <image>` with both TWRP and Orangefox.
The command returns an "Okay", the display changes from the bootloader menu to a screen with just the 1+ logo and "Fastboot Mode", then just hangs there.
From there fastboot is still available, but if I repeat `fastboot boot <image>` I get an error:
`FAILED (remote: 'Failed to load/authenticate boot image: Load Error')`
Flashing recovery with `fastboot flash recovery <image>` returns successfully, but I still get the broken recovery message when trying to boot into it.
I tried to reflash the system using both the newest rom and the downgrade rom (european) using:
`fastboot flash system <zip-file>`
This get me the error:
Code:
Invalid sparse file format at header magic
error: write_sparse_skip_chunk: don't care size 3099531382 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 2294229110 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 1488926838 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 683624566 is not a multiple of the block size 4096
Sending sparse 'system' 1/5 (786428 KB) error: write_sparse_skip_chunk: don't care size 3099531382 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 3099531382 is not a multiple of the block size 4096
OKAY [ 26.846s]
Writing 'system' FAILED (remote: 'Partition not found')
fastboot: error: Command failed
I also tried the lineage ROM and related recovery but it seems to have no effect.
I tried to change the slot, use different cables, different USB ports, and every possible permutation of these. Nothing seems to work.
Any input is appreciated.
Notnearlynovel said:
I'm not sure what I did but I got my phone to a place where I can only get into fastboot mode.
Booting to recovery brings up a message that the boot/recovery partition is broken.
I've tried to boot into costom recovery using `fastboot boot <image>` with both TWRP and Orangefox.
The command returns an "Okay", the display changes from the bootloader menu to a screen with just the 1+ logo and "Fastboot Mode", then just hangs there.
From there fastboot is still available, but if I repeat `fastboot boot <image>` I get an error:
`FAILED (remote: 'Failed to load/authenticate boot image: Load Error')`
Flashing recovery with `fastboot flash recovery <image>` returns successfully, but I still get the broken recovery message when trying to boot into it.
I tried to reflash the system using both the newest rom and the downgrade rom (european) using:
`fastboot flash system <zip-file>`
This get me the error:
Code:
Invalid sparse file format at header magic
error: write_sparse_skip_chunk: don't care size 3099531382 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 2294229110 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 1488926838 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 683624566 is not a multiple of the block size 4096
Sending sparse 'system' 1/5 (786428 KB) error: write_sparse_skip_chunk: don't care size 3099531382 is not a multiple of the block size 4096
error: write_sparse_skip_chunk: don't care size 3099531382 is not a multiple of the block size 4096
OKAY [ 26.846s]
Writing 'system' FAILED (remote: 'Partition not found')
fastboot: error: Command failed
I also tried the lineage ROM and related recovery but it seems to have no effect.
I tried to change the slot, use different cables, different USB ports, and every possible permutation of these. Nothing seems to work.
Any input is appreciated.
Click to expand...
Click to collapse
What android version are you on?
What TWRP version are you using?
I checked the TWRP website and it does not list this device as a supported device, so where did you get the twrp to flash?
I would suggest changing different A/B slots and try to BOOT instead of flashing the recovery. Make sure to be on Android version 11.
immortalwon said:
What android version are you on?
What TWRP version are you using?
I checked the TWRP website and it does not list this device as a supported device, so where did you get the twrp to flash?
I would suggest changing different A/B slots and try to BOOT instead of flashing the recovery. Make sure to be on Android version 11.
Click to expand...
Click to collapse
I think you're on the nose about the android 11 thing (I'm on android 12 I believe), but it's just short of a solution.
The images I used for twrp are the unofficial ones for the opNord CE supplied on this forum. I had previously flashed them successfully but didn't realize they would not work after flashing newer software.
I managed to re-flash the stock recovery using the images here (extracted with payload_dumper). I'm trying to figure out which image to flash to which partition to also get the system partition working again as well.