Hello mates, I recently unlocked my boot loader, rooted, nandroid backup, then installed trips cm10 (in that order)..
My problem is when I boot into recovery I can't restore my nandroid backup of my original sense ROM.. when I restore the backup and reboot my phone just boot loops on HTC splash screen..
I tried fast boot erase cache but no luck..
Can someone guide me to restoring my nandroid.. am I doing something wrong??
Sent from my HTC One X using xda app-developers app
Extract the boot.img file from the nandroid backup. Flash it through fastboot.
Fastboot erase cache.
Fastboot flash boot boot.img
Go into recovery
Wipe data/cache & dalvik cache
Restore the nandroid
Reboot
It should boot now.
Good luck
Sent from my HTC One X using Tapatalk
faiz02 said:
Extract the boot.img file from the nandroid backup. Flash it through fastboot.
Fastboot erase cache.
Fastboot flash boot boot.img
Go into recovery
Wipe data/cache & dalvik cache
Restore the nandroid
Reboot
It should boot now.
Good luck
Sent from my HTC One X using Tapatalk
Click to expand...
Click to collapse
When I extract the boot.img, do I leave a copy of it in the nandroid..
I copied the boot.img to my fastboot folder a copy of it is still in the nandroid folder.. do I need to completely remove it?
Sent from my HTC One X using xda app-developers app
Just copy it
flaheat88 said:
When I extract the boot.img, do I leave a copy of it in the nandroid..
I copied the boot.img to my fastboot folder a copy of it is still in the nandroid folder.. do I need to completely remove it?
Sent from my HTC One X using xda app-developers app
Click to expand...
Click to collapse
No you don't.
You don't need to do anything with the nandroid beside copying the boot.img.
Sent from my HTC One X using Tapatalk
faiz02 said:
Extract the boot.img file from the nandroid backup. Flash it through fastboot.
Fastboot erase cache.
Fastboot flash boot boot.img
Go into recovery
Wipe data/cache & dalvik cache
Restore the nandroid
Reboot
It should boot now.
Good luck
Sent from my HTC One X using Tapatalk
Click to expand...
Click to collapse
EddyOS said:
Just copy it
Click to expand...
Click to collapse
ok i just followed the instructions and it still bootloops
Best way to do it mate without losing any data is first restore your nandroid backup.
Next reflash your rom you were using without wiping.
Next go straight to fastboot and flash the boot image as above and erase cache,
Then go to recovery and wipe dalvik cache and flash custom kernel.
If your were using stock kernel .
Then go straight to fastboot first and flash the boot image as above and erase cache,
Then go to recovery and wipe dalvik cache and flash ROM.
This happened to me when i tried a nandroid restore.
Sent from my HTC One X using XDA Premium App
were you using any custom kernel on your stock before taking the backup??
Related
hi, had my hox for a few weeks and all been smooth till today, i changer my rom to viper and flashed boot using the viper flasher. got bored of the rom and switched to jelly bean, followed steps properly. flashed boot erased cache, the only thing i did different was wipe dalvic or davlic. now i cant get anything to boot i can get to bootloader and recovery fine ive tried flaashing several roms but they all get stuck at the jtc boot screen? what have i done ive tried flashing superwipe and clearing everything and stil nothing? help please
A quick search could have solved your issue. But here is some help since a new thread has already been open. Re download the rom and boot.img and check the MD5 values. Get into fast boot and do commands:
Fastboot erase cache
Fastboot flash boot boot.img
Fastboot erase cache
Then get into recovery and wipe system, data, cache and dalvic cache. The install rom. Wipe cache and dalvic cache again to be safe. If the rom doesn't boot then you aren't following my instructions properly.
Sent from my HTC One X using xda app-developers app
Tw1tchy said:
A quick search could have solved your issue. But here is some help since a new thread has already been open. Re download the rom and boot.img and check the MD5 values. Get into fast boot and do commands:
Fastboot erase cache
Fastboot flash boot boot.img
Fastboot erase cache
Then get into recovery and wipe system, data, cache and dalvic cache. The install rom. Wipe cache and dalvic cache again to be safe. If the rom doesn't boot then you aren't following my instructions properly.
Sent from my HTC One X using xda app-developers app
Click to expand...
Click to collapse
The only thing i didnt do is erase cache before and after i just did it after ill try now thanks
nope still stuck at boot screen, ive tried loads of different roms, from downloads i know work. i have just flashed the viper rom and it booted straight away......... back to flash a diffent rom and wont boot
ive cleared everything possible except sd is there anywhere else something could be stuck?
Are you using the right corresponding boot.img for that rom?
Sent from my HTC One X using xda app-developers app
ive solved it, not sure how tho, i just started from scratch fresh fastboot cwm drivers ecerything and something fixed it thanks for your help
Hi, when I flash an update of tbaldens CM10 rom, I always fastboot erase cache, then flash the boot.img and then go to restore settings, erase cache and wipe dalvik. However, everytime i have to reset all my settings. I do use titanium backup to restore. Do i need to wipe everything every time or can i just flash the boot.img and flash the rom?
I just went from b2 to pre nightly didnt wipe a thing. No issues everything as is.
Sent from my HTC One X using xda app-developers app
If your upgrading the same rom your on and theres no change in kernel than i don't see what you can't just flash it right over the top without wiping data.. unless the dev tells you other wise..
Just remember to never restore system apps in Titanium Backup
Hello All,
its a bit confusing for me. many threads describe that we should "Factory reset" the device before flashing a new ROM. what does it mean ? when i did factory reset my original stock ROM it deleted all my data and brought me an "out of box" phone. now when i have rooted my phone and flashed couple of roms, i just wiped cache and dalvik cache bla bla ... and of course my previous data was there..
actually what i want to do is ... i want to install a stock 4.2 and i don't want any previous data on my phone .. can it be possible ??
A little advice would be grateful ... ... thanks in advance ..
Hi,
Have you ever used the factory image that Google released to flash your phone?
takju has 4.2 factory image now.
You can download it, extract it, connect your galaxy nexus with fastboot mode to pc. Just double click flash_all.bat in the extracted folder if you are using windows.
"fastboot -w" will erase all user data. (include sdcard partition... remember to backup your file in the sdcard before you run this command)
The last fastboot command of flash_all.bat has the "-w" parameter. It'll clean all user data.
Sent from my Galaxy Nexus using xda app-developers app
V0odo0 said:
Hello All,
its a bit confusing for me. many threads describe that we should "Factory reset" the device before flashing a new ROM. what does it mean ? when i did factory reset my original stock ROM it deleted all my data and brought me an "out of box" phone. now when i have rooted my phone and flashed couple of roms, i just wiped cache and dalvik cache bla bla ... and of course my previous data was there..
actually what i want to do is ... i want to install a stock 4.2 and i don't want any previous data on my phone .. can it be possible ??
A little advice would be grateful ... ... thanks in advance ..
Click to expand...
Click to collapse
Why not use TWP, instead of CWM?
ilu73224 said:
Hi,
Have you ever used the factory image that Google released to flash your phone?
takju has 4.2 factory image now.
You can download it, extract it, connect your galaxy nexus with fastboot mode to pc. Just double click flash_all.bat in the extracted folder if you are using windows.
"fastboot -w" will erase all user data. (include sdcard partition... remember to backup your file in the sdcard before you run this command)
The last fastboot command of flash_all.bat has the "-w" parameter. It'll clean all user data.
Sent from my Galaxy Nexus using xda app-developers app
Click to expand...
Click to collapse
yes i did flashed factory image of 4.1 .. before rooting my phone .. so unlocking bootloader did work for me that time ... i appreciate for what you have guided me to .. but what if i want to use 4.2 roms .. not stock image using fastboot .. and if i use fastboot to erase all things ... will i have to flash recovery again too .. ?
Sorry if it sound dumb ..
Sent from my Galaxy Nexus using xda premium
tufel said:
Why not use TWP, instead of CWM?
Click to expand...
Click to collapse
Does TWRP have an option to factory reset .. ?
Sent from my Galaxy Nexus using xda premium
V0odo0 said:
Does TWRP have an option to factory reset .. ?
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
They both do and in the context of a custom recovery they wipe data and cache, your sdcard is untouched in this factory reset
Sent from my Galaxy Nexus
go in the dev section download the 4.2 factory image zip.. then in cwm or twrp
wipe data
wipe system
wipe cache
wipe dalvik
flash the factory image
reboot
As far as I know all custom Recovery's leave your sd card untouched so unless u flash a factory image or relock/unlock or bootloader there's no way to reset to a factory state. Another method is to flash just the stock recovery using fast boot then factory reset using that then flash cwm again
Sent from my Galaxy Nexus using Tapatalk 2
@k786: Flash the factory image? Thought it could only be done through fastboot. Is there something I missed, like making a zip file with a factory image? If so, how? Tnx.
What people mean when they say to do a factory reset before flashing is to choose that option in your recovery. It removes your previously installed apps and configurations so that you are starting from a known configuration. They are not telling you to restore the factory rom for an "out of the box" configuration.
Sent from my Nexus 7 using Tapatalk 2
Okie .. i got that ... i use to wipe cache and dalvik .. etc... and its called factory resetting when flashing a rom ..
But what if i want to delete the contents on my phone's storage .. particularly in sd card folder .. obviously nexus has no physical sd card to format .. and it cant be mounted either to copy a flashable zip like i used to do with my wildfire ..
One option above was locking and unlocking boot loader again .. will it work now after rooting and custom recovery and custom rom .. ??
Sent from my Galaxy Nexus using xda premium
As I said flash stock recovery. It will reset everything
Sent from my Galaxy Nexus using Tapatalk 2
My HTC One X stuck on "HTC One's Logo" every time I try to format it,
so I restore my backup which works fine and when I tried to format it the same thing happened.
Whenever I try formatting my device it stuck on the logo !!
Please I need your help, what should I do with this strange problem ??
- Updated on May 26 -
Everything was okay one month ago and I was able to format my device normally but know I can't
I tried almost everything:-
1. I formatted my device then installed the ROM & Boot.img (and I was sure that it will not help)
2. I formatted my device from ARHD Aroma installation
3. I restore my ARHD backup then formatted my device again from CWM Recovery
Tips: formatting from recovery don't touch system partition, I'm sure
What do you mean by format? You mean from custom recovery? Factory reset from bootloader?
Maybe because you delete everything ? And without sytem it won't boot.
Sent from my HTC One S using xda app-developers app
vin4yak said:
What do you mean by format? You mean from custom recovery? Factory reset from bootloader?
Click to expand...
Click to collapse
From both, I tried every thing !!
sGollSv said:
Maybe because you delete everything ? And without sytem it won't boot.
Sent from my HTC One S using xda app-developers app
Click to expand...
Click to collapse
but formatting only format cache & data partitions !!
omar_bazaraa said:
From both, I tried every thing !!
Click to expand...
Click to collapse
If you Factory reset a custom rom, it will bootloop! Because there's nothing to boot beyond the logo!
1. Flash the boot.img from the nandroid backup. Then fastboot erase cache
2. Now go to recovery wipe data/cache/dalvic and then restore the nandroid backup.
3. Reboot. Let the OS load completely.
4. Go to bootloader and then do factory reset.
If your still bootlooping, then download a nandroid backup from http://forum.xda-developers.com/showthread.php?t=1975140 and then restore it! It will work flawlessly!
If you post your main-version, then we can also find a RUU for you?!
---------- Post added at 08:59 PM ---------- Previous post was at 08:58 PM ----------
omar_bazaraa said:
but formatting only format cache & data partitions !!
Click to expand...
Click to collapse
Aah! Wiping data means all the files are gone! The OS won't boot up! :cyclops:
vin4yak said:
Aah! Wiping data means all the files are gone! The OS won't boot up! :cyclops:
Click to expand...
Click to collapse
But I tried this lots of times before and it format only user data, and system partition remain as it is.
I forgot to say that also when I flashed ARHD and checked "wipe data partition" in Aroma, the phone also stuck.
omar_bazaraa said:
But I tried this lots of times before and it format only user data, and system partition remain as it is.
I forgot to say that also when I flashed ARHD and checked "wipe data partition" in Aroma, the phone also stuck.
Click to expand...
Click to collapse
which boot.img are u flashing?
sridheepan said:
which boot.img are u flashing?
Click to expand...
Click to collapse
I'm aware of all these things >> I'm flashing the stock boot.img in ARHD.zip <<
Why do you want to wipe data every now and then?
Install a clean rom and use it...
vin4yak said:
Why do you want to wipe data every now and then?
Install a clean rom and use it...
Click to expand...
Click to collapse
My rom become heavy so I want to clean it
omar_bazaraa said:
My rom become heavy so I want to clean it
Click to expand...
Click to collapse
Which ROM are you currently on? ARHD?
and what do you mean by "I want to clean it"? Use rom cleaner to remove the system apps and to de-sense it!
omar_bazaraa said:
I'm aware of all these things >> I'm flashing the stock boot.img in ARHD.zip <<
Click to expand...
Click to collapse
Ok. start from zero.
Download again ARHD.
format sd card
Put ROM in Sd
Put this one in sd: http://d-h.st/kG0 (t.y for vin4yak for link)
Put boot.img in fastboot folder.
via cmd (i recomend to copy cmd into fastboot folder ((it automaticaly gives acces to that folder))) adb reboot-bootloader
type fastboot flash boot boot.img (fastboot must be in usb)
wait
reboot in recovery. install super wipe (link given)
clear catche, dalvik
install rom
clear catche, dalvik
And IF! it still got boot loop, go to bootloader and repeat fastboot flash boot boot.img command via cmd. It should work.
And after all, if it doesn't, do a full nandroid restore.
Good luck.
Formatting does only wipe cache and dalvic, you should still be able to boot. It does not get rid of Rom. I do it all the time when flashing a custom kernel. So maybe you should try as suggested above.
from my Viped out one x
Command: fastboot erase cache after flashing boot.IMG will fix it I guess. Looks like none of you do that but I always do that and never, I say never had a bootloop. And I switch ROMs weekly with wipes and all.
Hope it helps.
Sent from my HTC One X using xda app-developers app
J_Dutch said:
Command: fastboot erase cache after flashing boot.IMG will fix it I guess. Looks like none of you do that but I always do that and never, I say never had a bootloop. And I switch ROMs weekly with wipes and all.
Hope it helps.
Sent from my HTC One X using xda app-developers app
Click to expand...
Click to collapse
His question had nothing to do with flashing a boot.IMG, I've never not fast boot erase cache either. He was asking why when he hits the format button in recovery, his phone won't boot. Format in recovery simply wipes cache and dalvic so it should still boot, just like when you format after flashing the modules from a kernel.
DroidIt! said:
His question had nothing to do with flashing a boot.IMG, I've never not fast boot erase cache either. He was asking why when he hits the format button in recovery, his phone won't boot. Format in recovery simply wipes cache and dalvic so it should still boot, just like when you format after flashing the modules from a kernel.
Click to expand...
Click to collapse
O sorry for the misunderstanding.
So basicly OP asks "i took the fuel out of my car, why won`t it drive?"
Depends on wich recovery then cause in twrp a factory reset wipes not only cache and dalvik for sure!
From twrp site: A factory reset wipes data and cache (which includes dalvik cache). A factory reset will also wipe sd-ext and android_secure if your device has those items
Sent from my ASUS Transformer Pad TF700T using xda app-developers app
vin4yak said:
Which ROM are you currently on? ARHD?
and what do you mean by "I want to clean it"? Use rom cleaner to remove the system apps and to de-sense it!
Click to expand...
Click to collapse
Yes, I'm on ARHD. I mean by cleaning the rom is to format it to return fast as it was.
omar_bazaraa said:
Yes, I'm on ARHD. I mean by cleaning the rom is to format it to return fast as it was.
Click to expand...
Click to collapse
Did you flash a custom kernel with modules?
Sent from my ASUS Transformer Pad TF700T using xda app-developers app
Thanks all for your help but unfortunately all in vain
Before a month I was able to format without any problem, but now I can't.
I tried almost everything:
1. I formatted my device then installed the ROM & Boot.img (and I was knowing that it will not help)
2. I formatted my device from ARHD Aroma installation
3. I restore my ARHD backup then formatted my device again from CWM Recovery
All these attempts but in vain, please I need your help essentially, I need to format my device as I was doing before.
So I rooted and installed the maximusHD rom with sense 5 yesterday, only to find out that there is an official update in Europe today. I've tried to unroot and return to stock but I'm kind of stuck. My computer gives me the 140 error when installing the RUU. My cid is E11. Please help me get back to android 4.1.1 and sense 4+ so I can update the official way. Thanks in advance
vaaern said:
So I rooted and installed the maximusHD rom with sense 5 yesterday, only to find out that there is an official update in Europe today. I've tried to unroot and return to stock but I'm kind of stuck. My computer gives me the 140 error when installing the RUU. My cid is E11. Please help me get back to android 4.1.1 and sense 4+ so I can update the official way. Thanks in advance
Click to expand...
Click to collapse
the update is not yet rolling out for HTC_E11 i have this cid to and i don't have it so
stekke123 said:
the update is not yet rolling out for HTC_E11 i have this cid to and i don't have it so
Click to expand...
Click to collapse
Then it's not far off I guess? I don't really mind being with the previous version for a while. As long as it's official it's okay.
and what kind of RUU are you using
stekke123 said:
and what kind of RUU are you using
Click to expand...
Click to collapse
I tried these
RUU_ENDEAVOR_U_JB_45_S_HTC_Europe_3.14.401.27_Radio_5.1204.162.29_release_298897_signed
RUU_ENDEAVOR_U_JB_45_S_HTC_Europe_3.14.401.31_R_Radio_5.1204.162.29_release_302015_signed
for this 3.20.401.1
and whats your main version? 3.14 3.18 3.20?
stekke123 said:
and whats your main version? 3.14 3.18 3.20?
Click to expand...
Click to collapse
Doing the fastboot command I get 3.20.401.1
you cant use a ruu there is no ruu for 3.20 just take a nandroid backup for 3.20 and stock recovery and boot.img and off you go
stekke123 said:
you cant use a ruu there is no ruu for 3.20 just take a nandroid backup for 3.20 and stock recovery and boot.img and off you go
Click to expand...
Click to collapse
Somewhere I started downloading a nandroid backup for 3.18.401.1 That won't work either then?
that will work to no problem with that
stekke123 said:
that will work to no problem with that
Click to expand...
Click to collapse
Okay thanks! I will try that and hope it works, do I have to do anything after that? or is everthing back the way it was before? (unrooted and such?)
It didn't work :s device won't boot anymore!
Make a full wipe in the recovery, restore the nandroid .... and flash the boot.img file from the nandroid backup !!!
Mr Hofs said:
Make a full wipe in the recovery, restore the nandroid .... and flash the boot.img file from the nandroid backup !!!
Click to expand...
Click to collapse
Which is exactly what I did. It's just stuck, it doesn't even show the 'ONE'.
Flash the recovery.img from the nandroid folder too and then full wipe it.
Did you format also in the mounts and storage section the cache,data and system. And also the dalvik cache in the advanced section ?
Mr Hofs said:
Flash the recovery.img from the nandroid folder too and then full wipe it.
Did you format also in the mounts and storage section the cache,data and system. And also the dalvik cache in the advanced section ?
Click to expand...
Click to collapse
Some minor help please. Which RUU do I need to download for CID HTC_032 before getting OTAs all the way to 4.18./Sense 5?
Mr Hofs said:
Flash the recovery.img from the nandroid folder too and then full wipe it.
Did you format also in the mounts and storage section the cache,data and system. And also the dalvik cache in the advanced section ?
Click to expand...
Click to collapse
I'll try it again tomorrow!
Mr Hofs said:
Flash the recovery.img from the nandroid folder too and then full wipe it.
Did you format also in the mounts and storage section the cache,data and system. And also the dalvik cache in the advanced section ?
Click to expand...
Click to collapse
I tried this several times, also in the same procedure you posted to someone with almost exactly the same phone as me (so I downloaded the same files). Phone boots but is stuck on htc quietly... I just flashed the maximus rom again, posted on that thread, but I don't get much response from them. I guess I'm stuck in custom roms?
Oke one more go !
Download my nandroid
http://db.tt/BBiLrMPm
Unpack to the sdcard, copy the boot.img to the fastboot folder
Flash the boot.img
Fastboot flash boot boot.img
Fastboot erase cache
Enter the recovery and make a full wipe
Factory reset
Wipe cache partition
Advanced - wipe dalvik cache
Mounts and storage - format cache, data, system
Then restore the nandroid backup and reboot.
Should work flawless ..... report back when done please
Mr Hofs said:
Oke one more go !
Download my nandroid
http://db.tt/BBiLrMPm
Unpack to the sdcard, copy the boot.img to the fastboot folder
Flash the boot.img
Fastboot flash boot boot.img
Fastboot erase cache
Enter the recovery and make a full wipe
Factory reset
Wipe cache partition
Advanced - wipe dalvik cache
Mounts and storage - format cache, data, system
Then restore the nandroid backup and reboot.
Should work flawless ..... report back when done please
Click to expand...
Click to collapse
Ok, now it tells me it cannot open a directory when I try to restore...