oops - screwed up rom upgrade nandroid restore - Desire General

hi all,
so I saw that unrevoked3 is out and read that it makes installing other ROM's really easy.
so I installed the windows hboot driver and unrevoked3 automatically installed ClockworkMod 2.5.0.1
i didn't really know what todo next so I did a nandroid backup... that took a while, so I assumed it had backedup everything (old rom + apps + user settings etc)
anyways then I rebooted back into my stock ROM and copied opendesire 2.2 onto the SD.
then I rebooted into ClockworkMod and installed the opendesire2.2.zip
then I tried booting normally and it sort of sat on the initial screen for a long while, so I rebooted back into CWM and did a wipe/factory reset.
then rebooted again.
this time it loaded up opendesire fine.
after playing around for a bit I wanted to go back to my old rom.
so i rebooted into CWM and just did a nandroid restore...
now when I boot into my old ROM I am missing all my apps.
the home screens are blank
there is a new "super user privs" app
various other things are missing.
so what did I do wrong?
doesn't nandroid backup everything?
Cheers
D.

I forgot to say, I havn't rooted the phone - I dont know if that makes a difference... I actually thought the unrevoked thing was going todo more that just install a different debug boot loader...

Hi, got my first andriod, the desire, only 6 weeks ago so still a n00b myself! Hopefully someone can answer better and correct my mistakes but here goes:
With Linux you have to be a root (or superuser) to access, modify, execute, etc any and all files. Our Desires, with stock ROMS, do not allow us to do these things - hence we need to 'root' our phones.
I think the internal memory of the phones has two parts - one holds the ROM (the operating system) and the other is a 'cache' which holds user/system info relevant to the ROM. The cache is specific to the ROM which is why if you change from say the stock ROM to opendesire you need to wipe the cache. However, if you upgrade the ROM, eg opendesire 2.1 to opendesire 2.2 you do not need to wipe the cache.
To be able to access the part of the phone which holds both the ROM and the cache you need to be root/superuser. If unrevoked worked without errors and you have been able to change ROMS (i recommend ROM manager) then you have 'rooted' your phone.
When ROM manager asks if you wish to back up your ROM I think it only backs up the cache, not the ROM itself, as that would already be on your SD card as a .zip file.
If you wish to go back to stock I think you need to download stock ROM, use ROM manager to install it, then go back to ROM manager and use the backup/restore option and restore your initial backed up cache.
Hope this helps a little!

tephra said:
I forgot to say, I havn't rooted the phone - I dont know if that makes a difference... I actually thought the unrevoked thing was going todo more that just install a different debug boot loader...
Click to expand...
Click to collapse
You rooted the phone when you ran Unrevoked3, that's why you have superuser permissions.
It doesn't install a different boot loader, it installs a new recovery which allows you to easily flash custom roms without having to use fake-flash.
Something must have gone wrong during your nandroid backup.

ok i understand about the root bit and also the recovery bit now - thanks
my nandriod backup folder has:
boot.img
cache.img
data.img
nandroid.md5
recovery.img
system.img
one thing, is this desire is a telstra branded phone. Now i have read that i might require a goldcard.
could this be causing the problems I am seeing?
last night I loaded the original RUU on, now I will see if the nandroid restore fixes my apps and stuff...
edit - hrmm the original RUU has removed CWM recovery... i will load up unrevoked3 again...

tephra said:
ok i understand about the root bit and also the recovery bit now - thanks
my nandriod backup folder has:
boot.img
cache.img
data.img
nandroid.md5
recovery.img
system.img
one thing, is this desire is a telstra branded phone. Now i have read that i might require a goldcard.
could this be causing the problems I am seeing?
last night I loaded the original RUU on, now I will see if the nandroid restore fixes my apps and stuff...
edit - hrmm the original RUU has removed CWM recovery... i will load up unrevoked3 again...
Click to expand...
Click to collapse
You shouldn't need a goldcard with ClockworkMod, I didn't need one for my branded Desire.

Related

Rooting issues

My evo got pretty ****ed over the past day, originally I rooted it by installing the hboot drivers then using unrevoked,I assumed everything would be done from there, I never got to flash Amon ra or any custom roms so I wanted to try it out, every guide I found involved using adb shell and a Tom of other steps I never used while originally rooting.
I got so fed up with all the error messages that I decided to start from the absolute beginning and root again and then try unlocking nand, one method involved me putting all these files on the sdcard and using adb a lot, I followed all if these steps exactly and DEFINITELY DID A NAND BACKUP but then after rebooting in one step my phone went back to eclair 2.1 and all my info was deleted and now its as if I bought it today, its not even rooted anymore so all the apps I backed up with titanium I can't even access anymore since it requires root
One step told me to do the nand restore and when I went the folder was empty, I would kill to have my old evo back or at least all my apps, any and all help would be HIGHLY appreciated
Sent from my PC36100 using XDA App
If youre back on 2.1, just root it, put whatever recovery you used to make your nandroid on there and then restore your nandroid.
Sent from my PC36100 using XDA App
I assumed onceI was on 2.1 I would be rooted again, I tried unrevoked once it was on 2.1 but it just stayed saying "running root" and never changed, and my nandroid restore didn't show up before so why would it now
Sent from my PC36100 using XDA App
The root method you used was older, and was the way to go before Froyo was officially rooted. It involved downgrading (which you did) and then rooting 2.1 and then flashing a froyo ROM. It sounds like you made it to the downgrade part and then you stopped for whatever reason. You aren't in bad shape, you just need to get that 2.1 rooted and you're good to go.
As far as the nandroid is concerned, if you made it, then it should be there. You said you never got to flash a custom recovery but you must've if you were able to do a nandroid. Now if you made your nandroid with clockwork you won't be able to restore it with Amon and vice versa, which is where I think the confusion lies. Do you remember what recovery you made the nandroid with?
Your only real option at this point is to root your 2.1 and restore your nandroid with the correct recovery. Check your SD card, if there is a folder called Nandroid then it was made with Amon, and I'm pretty sure clockwork puts it's nandroid into a folder called Clockwork.
As far as why the root wasn't finishing, I'm not really sure because it's been a while since I used that method. It could be a driver issue. Have you installed the proper drivers?
_MetalHead_ said:
The root method you used was older, and was the way to go before Froyo was officially rooted. It involved downgrading (which you did) and then rooting 2.1 and then flashing a froyo ROM. It sounds like you made it to the downgrade part and then you stopped for whatever reason. You aren't in bad shape, you just need to get that 2.1 rooted and you're good to go.
As far as the nandroid is concerned, if you made it, then it should be there. You said you never got to flash a custom recovery but you must've if you were able to do a nandroid. Now if you made your nandroid with clockwork you won't be able to restore it with Amon and vice versa, which is where I think the confusion lies. Do you remember what recovery you made the nandroid with?
Your only real option at this point is to root your 2.1 and restore your nandroid with the correct recovery. Check your SD card, if there is a folder called Nandroid then it was made with Amon, and I'm pretty sure clockwork puts it's nandroid into a folder called Clockwork.
As far as why the root wasn't finishing, I'm not really sure because it's been a while since I used that method. It could be a driver issue. Have you installed the proper drivers?
Click to expand...
Click to collapse
yae the recovery is where the whole issue began, i assumed i was good so i tried flashing amon RA with the terminal emulator and whenever i typed 'su' it always said permission denied, i was rooted for sure so some people said i had to probably unlock NAND and more errors came from there so i tried that other rooting method so i definitely flashed with clockwork and i remember seeing the build name on the bottom as well which makes me pretty happy as well since i found it in the directory which you said under my sdcard with the date name and whatnot so major kudos for that
i installed the hboot drivers before so i assumed i didnt need to do it again but when unrevoked kept staying at "running root" i tried installing again, and on this video online from djr3z he said under 'My Devices' that Android 1.0 would show up where I could click to install it but it never showed up so I've been stuck since that point, are there any other alternative root methods you recommend/should i try updating the drivers? or perhaps i can delete the driver and reinstall?
Check your hboot, are you S-ON or S-OFF? Also, what hboot version are you?
im definitely S-OFF, saw it all the time in the bootloader screen, how do i check the hboot version exactly?
R1pTheJacka said:
im definitely S-OFF, saw it all the time in the bootloader screen, how do i check the hboot version exactly?
Click to expand...
Click to collapse
you load it up with volume down and power button, same way you go as if your going to boot into recovery
ok and my hboot version is .76.2000
can anyone confirm if .76.2000 is the latest hboot driver? everytime i connect my phone and check device manager it shows android bootloader interface which, from what i heard, is what im supposed to see
everytime i run unrevoked it stays at "running root..." and doesnt change from there
The latest hboot is 2.02 I believe but you don't want that one, I hear it's a pain to root. Yours is the engineering hboot which must have gotten put on there from whatever rooting method you were using. It's fine to leave that one on there, it will allow you to flash CM6 if you ever decide to. What happens when you select recovery from the hboot menu?
Have you tried downloading ROM manager from the market and using it to flash clockwork? I would give that a whirl.
when i select recovery from bootloader it gives me the black screen with the phone and red triangle, i started button mashing and it seemed like a recovery image but it said 'Android system recovery <2e>' with a few commands like wipe/reboot etc.
i was trying the clockwork before, i installed rom manager, then tried "Flash ClockworkMod Recovery" but it kept giving me error messages about attempting to run privilleged commands, assuming that means im not rooted again
i dont even think i have the clockwork recovery image on my sd card, it does however show my amon RA one, but there's no point in flashing that if the clockwork has my nandroid backup right? and couldn't i just put the clockwork recovery image on my sdcard from online somewhere?
Try this- Download THIS FILE, put it on the root of your SD card, and boot into hboot. It will automatically find it, load it and ask you if you want to run it. Choose yes and let it go. It *should* install clockwork recovery on your phone. If it doesn't work, no harm no foul and we can try something else. If it does work, you should be able to restore that nandroid that you made. It will only work if you are S-OFF, which you say you are so it's worth a shot.
okay and if it works, before i do the restore should i wipe everything?
It won't hurt but when doing a nandroid restore wiping is not necessary.
so close...your method worked, but i couldnt restore it gave me an error messgae..
ClockworkMod Recovery v2.5.0.1
Checking MD5 sums...
Erasing boot before restore...
Restoring boot image...
Error whille flashing boot image!
takes me back to the main menu of the recovery =\
do you think it has to do with me still being on 2.1 rather than 2.2?
So you now have clockwork on there? That's a step in the right direction! Try restoring your nandroid once more and if that doesn't work, you can flash a ROM and then restore your titanium backups.
It shouldn't matter what ROM you're on when restoring a nandroid. Do you remember what hboot version you were on when you made the nandroid? If I remember correctly that could cause an issue but I'm not entirely sure about that.
hmm i cant even get out of the bootloader screen now though..even when i reboot it takes me straight to bootloader
and also if i flash a rom will have to be designed for 2.1 since im still technically on that?
no idea about the hboot version =\ just assumed it was upgraded to the most advanced version when i updated the driver
but i cant even put any ROMs on my sdcard now because i cant even leave the bootloader screen?
No, flashing a 2.2 ROM will upgrade you from 2.1, it should work fine. You must have made your nandroid on a different hboot version then the one you have now.
What I would do in this situation is run the 3.29 RUU found HERE which will bring you back to full stock, and then you can run Unrevoked and reroot it. The whole process should only take you a half hour or so. I don't know if you will be able to restore your nandroid because of the hboot discrepancy, but at the very least you will be able to restore your titanium backups.

HELP! Boot loop on stock ROM

Hi guys!
I am sorry if this has already been answered somewhere, but I searched pretty thoroughly and I couldn't find a solution
I am trying to S-OFF an HTC Desire for a friend of mine and install CyanogenMod using this guide http://forum.xda-developers.com/showthread.php?t=1016084.
We rooted the phone without any issues, but before going through Alpharev I decided to make a nandroid backup through the phone's original recovery image (just as advised on Alpharev's site: "We try to leave the current ROM and datastructures completely intact. It is, however, advised to ALWAYS nandroid backup your phone before you run this procedure.
You will then always have a correct/current backup to fall back on in case something breaks."). So I just went into the Backup and Recovery menu and I chose backup.
Unfortunately after backing up, the phone went into a boot loop. We tried taking-out the battery and even doing a hard reset but nothing helped. Eventually we flashed the original RUU from O2 (it's an O2 Germany phone) and this fixed the issue.
I am a bit concerned since I wasn't able to find anyone who had the same problem and it is a bit weird that the phone should go into a boot loop without even installing another ROM or anything - just trying to do a backup of the stock ROM. I am thus a bit hesitant to go on with the S-OFF...
Any help would be deeply appreciated!
Well, first of all, you don't need to be S-Off to install CyanogenMod7. Only root. Usually, people do S-Off so they can change the Boot Splash image.
Make a Gold Card for your SD. Some Desire's need it, some don't. Better safe than sorry.
Secondly, after root, I would goto the market and install ROM Manager. Then flash to the latest Clockwork Recovery.
Then,I would make sure I have a recent Recovery image (NandBackup)
Download Gapps.zip to the root of the SD.
Download the CyanogenMod7 to the root of the SD, boot phone to recovery, Wipe cache memory, also goto Advanced and wipe the Delvik memory.
Then Install from SD, do the CM7, then after it finishes, Select Install from SD again, and install the Gapps.zip
Why your backup failed, who knows. I suppose you were using Unrevoked?
Thanks! Do you know why the boot loop could happen?
Moscow Desire said:
Well, first of all, you don't need to be S-Off to install CyanogenMod7. Only root. Usually, people do S-Off so they can change the Boot Splash image.
Make a Gold Card for your SD. Some Desire's need it, some don't. Better safe than sorry.
Secondly, after root, I would goto the market and install ROM Manager. Then flash to the latest Clockwork Recovery.
Then,I would make sure I have a recent Recovery image (NandBackup)
Download Gapps.zip to the root of the SD.
Download the CyanogenMod7 to the root of the SD, boot phone to recovery, Wipe cache memory, also goto Advanced and wipe the Delvik memory.
Then Install from SD, do the CM7, then after it finishes, Select Install from SD again, and install the Gapps.zip
Why your backup failed, who knows. I suppose you were using Unrevoked?
Click to expand...
Click to collapse
I suppose, there was some code that didn't get deleted due to the rooting process, if you used unrevoked. Although it rarely happens, sometimes it does.
Or maybe it didn't like some Application. Who knows. All it takes, is 1 peice of bad code.
With AlphaRev, although many use it, I believe it changes your bootloader code.
And, you can sometimes have problems as well.
But follow the steps I mentioned, and you should be ok.
Just make sure you create and use the Gold Card first.
The boot loop is a common issue with the first nandroid. All you had to do was restore the nandroid you just made.
Sent from my HTC Desire using XDA Premium App
TheGhost1233 said:
The boot loop is a common issue with the first nandroid. All you had to do was restore the nandroid you just made.
Sent from my HTC Desire using XDA Premium App
Click to expand...
Click to collapse
Right - I thought about that, but then I was hesitant, because I figured if it went into a boot loop then it probably did not create the backup image properly... So can I still restore the backup image now? It is saved on the sdcard so it should be intact after the RUU, right?
It "should be", but, one can only assume so.
Typically, I make a couple of backups each week. One never knows. Yeah, it will tell you successsful. but, better safe than sorry.

Upgrading to GB on the DInc

Hey guys, so I'm a noob and need a little bit of help. I just downloaded this:
http://forum.xda-developers.com/showthread.php?t=1219407
Now, what do I do with it? Also, will I lose all of my data by flashing this onto my phone? (ie: my texts and my homescreens, etc?)
Thanks!
are you rooted? if not...
http://www.jonamerica.com/technology/updated-root-the-htc-droid-incredible/
once you have clockwork recovery and all that, boot into recovery, 'flash rom from sd card' (after putting the zip file on ur sd) and ur good.
If you dont want to lose everything, after root, download titanium backup and run that. you will be able to apply most of your stuff back on once you flash a new rom.
howbout some thnx -.-'
I'll give you some thanks for that succinct explanation of steps to take.
I'm ready to root with unrevoked - guessing I should use the "flash and recover" version instead of their "forever" one?
I installed Titanium backup, which I'll use after rooting to backup pretty much everything that it can grab.
Then, I'll use the SD card-based install that you mentioned.
I've read that I should do a full wipe before installing the OTA ROMs being offered - is another tool needed for that, please?
- ooofest
You've got it. The newest version of Unrevoked has made the "forever" one obsolete.
You will be able to perform all the wipes required from within Clockwork Recovery.
Also, make a clockwork backup (nandroid) as soon as you have root, so if you run into any problems flashing roms you have something to restore.

[Q] Help Flashing Custom ROM

Hi had the official 2.3 RUU installed on my Desire, I have used Reveloutinary.io to S off my phone, i have now r0oted my phone.
I have created an ext 3 partition on the SD card and took a nandroid backup.
The info i really need is my HBOOT v is 6.93, i want to install the "[ROM][15/08][STABLE][Sense2.1+3.0 GB]InsertCoin CM7 HBOOT/STOCK 1.1.1" on my phone, the question i have is can i simply flash the ROM straight on the phone, or will i have to downgrade the ROM to an official 2.2 RUU first.....
Sorry for the noobness but this is my first post ever so please go easy on me.
If you successfully s-off'd you dont need to downgrade anything, just copy the ROM to the SD Card and for this particular ROM make sure your ext partition is atleast 1GB.
Then Full Wipe/Factory rest + Cache wipe + Dalvik Cache Wipe in recovery.
Now flash the .zip file, after turning off signature verification (should be under "install from sdcard")
Also make sure you download right version of the ROM.
Stock A2SD version if you didnt changed HBOOT, and CM7 version if you changed your HBOOT to CM7.
Also if this is your first ROM, then take a look if you have any WIFI/GSM problems after you booted up, if so it means you might need to update your radio to 32.56.00.32U_5.17.05.23 (search forum for it, there are guides how to flash it too), if you dont have any issues then just ignore it.
Thank you so much for your help, will try it tomorrow and see how i get on.
I jumped the gun and tried it, i took an online backup using My backup pro and whe i have come to restore all of my apps and settings it has restored nothing.
Is there anything i have missed off this?
Sorry no idea i have no experience with My backup pro.. using Titanium Backup.

[Q] 4.4.4 rooted with TWRP and S-Off but still on stock ROM

I am very new to rooting etc, but managed to root my HTC One M8 Developer Edition 4.4.4 and flash TWRP Recovery with the help of the guides in this forum. Also got S-off with Sunshine. I have not installed any custom ROM and still have stock
My question is - will I still receive OTA's (if and when HTC releases lollipop for the Developer Edition?
You can't take an OTA with a non-stock recovery. It will download, but not install.
Root, on the other hand, hasn't typically caused a problem. (though you almost invariably lose root in the process)
Being S-OFF and actually already being Dev edition all you need is to have a stock backup the way it is before you flash a ROM and when the time comes just wipe from whatever ROM you've chosen and restore the backup along with flash your stock recovery.
Or if you want less steps just download the bone stock no root, stock recovery RUU and rename it to "0P6BIMG.zip" and place it in the root of your external sdcard.
Boot into hboot and when it asks what you want to do just press up ,give it plenty of time to flash and when it finishes just reboot and it will be stock just the way it came out of the box only it will still be bootlooader unlocked and S-OFF
Thanks
Thanks jball and jshamlet
You bet
jball said:
Being S-OFF and actually already being Dev edition all you need is to have a stock backup the way it is before you flash a ROM and when the time comes just wipe from whatever ROM you've chosen and restore the backup along with flash your stock recovery.
Or if you want less steps just download the bone stock no root, stock recovery RUU and rename it to "0P6BIMG.zip" and place it in the root of your external sdcard.
Boot into hboot and when it asks what you want to do just press up ,give it plenty of time to flash and when it finishes just reboot and it will be stock just the way it came out of the box only it will still be bootlooader unlocked and S-OFF
Click to expand...
Click to collapse
OK. I have gone through several guides and posts but am still confused. I had installed TWRP recovery and before rooting had taken a backup of apps, data and system. After rooting I have downloaded several paid apps including Titanium Backup. If I restore from the backup that I had made, these apps will not be available right?. Also I have paid apps running off my SD Card. These would not have been included in the backup and also might not be available?
Is there anyway of flashing stock recovery alone. WIll be grateful for any guidance or link to other posts.
Thanks & Regards
ramsabi said:
OK. I have gone through several guides and posts but am still confused. I had installed TWRP recovery and before rooting had taken a backup of apps, data and system. After rooting I have downloaded several paid apps including Titanium Backup. If I restore from the backup that I had made, these apps will not be available right?. Also I have paid apps running off my SD Card. These would not have been included in the backup and also might not be available?
Is there anyway of flashing stock recovery alone. WIll be grateful for any guidance or link to other posts.
Thanks & Regards
Click to expand...
Click to collapse
After flashing a ROM I do the out of box setup and allow Google to restore what apps I normally use,I haven't used titanium backup sense my S2 days cause it's a tossup that it even works right at any given time in my opinion.
As far as recovery goes
Download and install "Flashify" from the playstore and find the stock
recovery.img file.
After installing Flashify go ahead and open the app,give root permission and choose recovery image,now choose file and navigate with whatever root explorer you use and choose the stock recovery.img you downloaded and tap "yup" and it will flash it for you.
ramsabi said:
OK. I have gone through several guides and posts but am still confused. I had installed TWRP recovery and before rooting had taken a backup of apps, data and system. After rooting I have downloaded several paid apps including Titanium Backup. If I restore from the backup that I had made, these apps will not be available right?. Also I have paid apps running off my SD Card. These would not have been included in the backup and also might not be available?
Is there anyway of flashing stock recovery alone. WIll be grateful for any guidance or link to other posts.
Thanks & Regards
Click to expand...
Click to collapse
Thanks Amber, And just tobe sure - do you know if I will still have root and S-Off after I flash the stock recovery?
ramsabi said:
Thanks Amber, And just tobe sure - do you know if I will still have root and S-Off after I flash the stock recovery?
Click to expand...
Click to collapse
Flashing a recovery in fastboot or with Flashify will do just that: flash a recovery to the recovery partition. Nothing else changes.
Root lives on /system. So as long as you don't flash a non-rooted stock rom you will keep root.
Your paid apps are yours. If you wipe them you can just reinstall them from the PS. If you paid for a root app like TiBu and you don't have root anymore, you still own it but it's not very useful...
You have apps on your external SD??? That is so ICS - don't know if they have libs or app data stored on internal anyway, but let's say you nandroid your current installation, take out your SD card, then wipe everything and install new firmware, recovery and rom. You should still be able to restore just your data partition from the nandroid, re-insert your SD and be good as gold.
As long as your new rom can live with the restored /data that is....
But seriously: Move data to external and install apps to internal - so much easier to manage....
Oh, and once S-off you're always S-off unless you run the code to S-on again. Not even flashing RUU will turn you S-on automatically.

Categories

Resources