Restore Nandroid Backup over Fastboot?? - HTC Desire S

can i Restore a Nandroid Backup over Fastboot??
like this:
fastboot erase system -w
fastboot erase boot
fastboot flash system system.img
fastboot flash userdata data.img
fastboot flash boot boot.img
fastboot reboot
after s-off and back to s-on i stuck in the Bootloader.
Can only run fastboot comands,no adb comands.
A Ruu will not go to flash gives error like: Bootloader version error,User Id Error,Device id error i try all the ruus avaibled for de DS.

fastboot will allow flashing like that, if the signature matches for the img files (or if S-OFF).
The question is - if RUU refused to flash, the signature might not match either.

thanks for reply.
have the nandroid (CWM) Backup not the right signature for my Device??
it was a Vodafone 1.47 Rom. The Avaibled Vodafone Ruu iss Version 1.31.
I think it will me not let downgrade to 1.31. i need the 1.47 Ruu that it works.
Can i edit the versions number from the vodafone Ruu whit a Hex Editor and flash?
See my other post for more info:
http://forum.xda-developers.com/showthread.php?t=1212633

Related

How to get the original ROM back?

Well I need to send in the Chacha because of some Hardware issues, so I'd like to restore the original ROM.
What's the easiest way getting it back (maybe with the option not having to root it again afterwards, or restoring the Clockwork-Backup)?
The best way is to download RUU, extract from it rom.zip and from that zip extract system.img, boot.img and recovery.img. Then flash those three via fastboot using these commands:
fastboot flash recovery recovery.img
fastboot flash boot boot.img
fastboot flash system system.img
And reboot your phone and you will have stock rom with stock recovery on it. Then you can use OTA update if available.

Which RUU is suitable for a ChaCha with CID: HTC_622 ?

I have a HTC Cha Cha from my friend. This Cha Cha is originally sold in Hong Kong (I checked it with the phone's IMEI), however when I would like to restore this phone to shipped rom, after I relocked it, I have tried so many different RUU but FAILED. All RUU occured the "Error 131 : Customer ID Error"
I checked the CID of my phone and it appeared as HTC_622.
Here are the RUU I have tried:
1. ruu_chacha_htc_asia_wwe_1.57.707.2_radio_47.23.35.3033h_7.51.35.19_release_228383_signed.exe
2. RUU_Chacha_hTC_Asia_WWE_1.21.707.2_Radio_47.14.35.3030H_7.47.35.17_release_197518_signed.exe
3. RUU_Chacha_hTC_Asia_TW_1.25.709.1_Radio_47.17.35.3033H_7.48.35.14_2_release_199798_signed.exe
4. RUU_Chacha_hTC_Asia_India_1.20.720.1_Radio_47.14.35.3030H_7.47.35.17_release_196443_signed.exe
Actually which RUU can be suitable to restore to stock in my ChaCha with CID HTC_622?
Don't know about the apropriate RUU, but if you have custom recovery you cannot flash any of them. You first need to flash stock recovery before you flash RUU. Here is how I restored my phone a while back via fastboot. I have extracted from RUU rom.zip, and from that zip extracted system.img, boot.img and recovery.img. Then I formated my phone (wipe, format system etc.), connected it in fastboot mode and flashed first recovery.img then boot.img and system.img at the end. Reboot and you will have the stock rom flashed. After that I relocked the bootloader. You can try to extract and flash only recovery.img and then try to run RUU. Hope that this helps.
Regards
didije said:
Don't know about the apropriate RUU, but if you have custom recovery you cannot flash any of them. You first need to flash stock recovery before you flash RUU. Here is how I restored my phone a while back via fastboot. I have extracted from RUU rom.zip, and from that zip extracted system.img, boot.img and recovery.img. Then I formated my phone (wipe, format system etc.), connected it in fastboot mode and flashed first recovery.img then boot.img and system.img at the end. Reboot and you will have the stock rom flashed. After that I relocked the bootloader. You can try to extract and flash only recovery.img and then try to run RUU. Hope that this helps.
Regards
Click to expand...
Click to collapse
would you mind to give me a link for HTC chacha's original firmware (RUU) in zip format? I wanna flash my phone to original firmware. tnx be4
You can find some RUUs here:
http://www.androidruu.com/?developer=Chacha
The easiest way to extract rom.zip from RUU is to run RUU, wait for the setup to start but do not click next and do not close the window. Search the temporary folder (you can find it by entering %temp% into the run command) and you will find rom.zip inside one of the folders located in this temporary folder. Copy rom.zip somewhere you can find easily for future use and then close the RUU window.
Regards.

Error with recovery after changing kernel

Hi,
I tried to install paranoid and then CM10, so i changed kerner from 3.4 to modded 3.4 and then kernel from CM10
and now i have no recovery and cant install new one.
With fastboot flash recovery recovery.img command i have an error with bad signatures.
And with RUU flashing stock in "sending..."
I can get access to hboot (2.15)
im using this tutor. http://forum.xda-developers.com/showthread.php?p=42540922
Please help what should I do
// i tried with another PC and the same
Simply download stock recovery from here and flash it with 'fastboot flash recovery ville_recovery_signed.img' to run an RUU according to your bootloader version and CID.
After that you should be able to reflash your custom recovery. You should take care to flash a working one, e.g TWRP 2.3.3.0.
100% SOLUTION:
Flash via fastboot Unlock_code.bin "fastboot flash unlocktoken Unlock_code.bin"
But ONLY via fastboot, not RUU
Regards

Softbrick, brick, dont know what the F is happening lol help!

Ok i can enter to the bootloader, and also to the recovery, but! when i flash a rom it cant boot on ! i got stucked after the HTC Logo. Also tried to to flash PD98IMG from hboot without succes and the same thing with RUU, in HBOOT the RUU software says that my battery is 30% or less and i have to chargue it, but is full! so have to enter in fastboot mode and it pass that step then it chargue the ruu but then it send an error that the image restore from ruu cant be completed.
Btw: S-on AND unlocked bootloader
i red about flash the boot.img from the ROM zip in fastboot? it work? how do i do it?
Killerin said:
Ok i can enter to the bootloader, and also to the recovery, but! when i flash a rom it cant boot on ! i got stucked after the HTC Logo. Also tried to to flash PD98IMG from hboot without succes and the same thing with RUU, in HBOOT the RUU software says that my battery is 30% or less and i have to chargue it, but is full! so have to enter in fastboot mode and it pass that step then it chargue the ruu but then it send an error that the image restore from ruu cant be completed.
Btw: S-on AND unlocked bootloader
i red about flash the boot.img from the ROM zip in fastboot? it work? how do i do it?
Click to expand...
Click to collapse
extract the boot.img file from the zip (do not extract the zip) to your PC desktop, then boot the device in fastboot usb and in a CMD session in the PC (located in the desktop folder) type:
Code:
fastboot flash boot boot.img
then when you get the OKAY, type:
Code:
fastboot reboot

[Completed] HTC one m9 restore. Re-unlock command reports success, but phone stays RELOCKED.

I am trying to restore my stock ROM so I can do a carrier reset. (I use ting and my phone was sprint).
I am using ubuntu but have a windows install as well.
I Unlocked the bootloader with htcdev, installed TWRP, and rooted with SuperSU, and flashed the ARHD 20.0 rom because sprintzone makes me angry. It read that it is actually a GSM rom and I have a CDMA sim card so I won't be using that anymore.
Current predicament:
RELOCKED
S-ON
RECOVERY MODE fails with "failed to boot to recovery mode"
phone will not boot to system, just goes straight to bootloader. Download mode works.
I want to fix recovery mode but I can't do it because the bootloader is locked.
MAIN PROBLEM: fastboot flash unlocktoken unlock_code.bin reports success, but the phone immediately reboots bootloader with RELOCKED, so I cannot flash any recovery image. I also cannot turn S-OFF because I cannot boot into system or gain access through recovery mode to install the sunshine app.
I have gathered that I need to flash an RUU image, but I can't do that because my MID and CID are not supported (according to other threads) and S-OFF.
I tried to install the RUU anyway with:
fastboot oem rebootRUU
fastboot flash zip 0PJAIMG.zip ##(sprint version)
but it threw: Invalid sparse file format at header magi fastboot: /libsparse/sparse.c:144: write_all_blocks: Assertion 'pad >= 0' failed. so no luck.
Is there another way I can restore manually from fastboot without an RUU? I couldn't find a system.img or bootloader.img or anything like that. Will it work if I go buy an external SD card and but the RUU on that? or maybe someone knows what is wrong with the unlock process.
Johnnyappleseeds said:
I am trying to restore my stock ROM so I can do a carrier reset. (I use ting and my phone was sprint).
I am using ubuntu but have a windows install as well.
I Unlocked the bootloader with htcdev, installed TWRP, and rooted with SuperSU, and flashed the ARHD 20.0 rom because sprintzone makes me angry. It read that it is actually a GSM rom and I have a CDMA sim card so I won't be using that anymore.
Current predicament:
RELOCKED
S-ON
RECOVERY MODE fails with "failed to boot to recovery mode"
phone will not boot to system, just goes straight to bootloader. Download mode works.
I want to fix recovery mode but I can't do it because the bootloader is locked.
MAIN PROBLEM: fastboot flash unlocktoken unlock_code.bin reports success, but the phone immediately reboots bootloader with RELOCKED, so I cannot flash any recovery image. I also cannot turn S-OFF because I cannot boot into system or gain access through recovery mode to install the sunshine app.
I have gathered that I need to flash an RUU image, but I can't do that because my MID and CID are not supported (according to other threads) and S-OFF.
I tried to install the RUU anyway with:
fastboot oem rebootRUU
fastboot flash zip 0PJAIMG.zip ##(sprint version)
but it threw: Invalid sparse file format at header magi fastboot: /libsparse/sparse.c:144: write_all_blocks: Assertion 'pad >= 0' failed. so no luck.
Is there another way I can restore manually from fastboot without an RUU? I couldn't find a system.img or bootloader.img or anything like that. Will it work if I go buy an external SD card and but the RUU on that? or maybe someone knows what is wrong with the unlock process.
Click to expand...
Click to collapse
Greetings and welcome to assist. Have you tried using sp flashtools instead to see if that works ? I think you may be better asking in the m9 forums here
https://forum.xda-developers.com/one-m9/help
hopefully one of the experts has come across this before
Good Luck
Sawdoctor

Categories

Resources