Rooting issues - EVO 4G Q&A, Help & Troubleshooting

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.

Related

oops - screwed up rom upgrade nandroid restore

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.

[Q] Rooted and can not Flash A Recovery

I am rooted through Unrevoked 3.21 as of today, I insalled ROM Manager from the Market and I am trying to Flash A ClockworkMod Recovery so I can do a nandroid backup. However when I click t o flash recovery and select my phone a message pops us saying an "error occurred while flashing your recovery" any suggestions or help please. Looking to install some custom roms and kernels but I want to make sure I can recover.
Thanks in advance
Anyone have an idea?
Uninstall, reinstall, reboot
This is the absolute easiest way... works when just about everything else fails...
let me know if it worked for you:
http://forum.xda-developers.com/showthread.php?t=764062&highlight=forever
And actually, this will give you AMON recovery... but that is way better anyway. You can NAND backup from there... and you will actually have wipes that are complete.
Follow the directions for applying the OTA update, but skip the OTA flash.
http://forum.xda-developers.com/showthread.php?t=790394
BTW you can hold up either leg with one foot one the ground...but you cannot hold up both... You can't flash a recovery from a recovery... (it would over-write itself and execution would resume at some random coincidental opcode).
someone in the development section said this was possible... he explained that he flashed clockwork while already in amon recovery. said he was able to make a nandroid backup thorugh the clockwork recovery then when he rebooted he was still on amon's recovery. i thought it was pretty cool.
i am sorry but i cannot remember who it was that said it.

[Q]stock reflash complete - bootloader cycling

I was able to successfully flash my stock nandroid through amon ra. But now every time i boot my evo it keeps going back to boot loader. Am i in trouble?
I had this happen to me, and what I was able to do is this: I pulled the battery, then booted into recovery. I wiped data/cache/dalvik. I then flashed one of my nandroids, and it booted up just fine after that. Do you have more than one nandroid? You stated that you are using amon RA, did you use amon
RA to create your nandroid backup? If you used clockwork to create the backup, you need to use clockwork to flash the backup, they are not interchangeable. Hopefully this was helpful to you.
After going about... i think it has to do with the hboot being .76 insted of .79 which is what is suppose to be for 2.2. Or am i wrong? - and every time i try to do the hboot update it keeps telling me an error about a update file, cant figure it out.
Yes i have other nandroid's but, i'm really wanting to get some stuff back from my original stock 2.2. I try doing a titanium backup, but it just kept telling me i wasnt root, but i am.
FIXED!!! It was the bootloader. Spent a good time trying to look for a flashable hboot, and finally had to restore my phone back to stock 2.2, then root and restore. The solution was here, the files.
http://forum.xda-developers.com/showthread.php?t=780141

[Q] CM nightly build caused problem. Don't know what to do.

Alright, I may have a brick on my hands but after playing with Android for two years I've found that's pretty tough to actually do so I'm still hopeful. Using Clockwork recovery, I did a factory reset and flashed the cm vision full 5 nightly build onto my G2/Vision. It gave me a boot loop so I went into hboot and tried to flash the PC10IMG. I'm getting a "Main version is older! Update fail!" message and have no idea what to do. Somehow I'm back to S-ON so I can't even try to flash a different update. If anyone has any ideas I will try anything. I love my phone and would hate to lose it three days after root happened.
I hate to be the one to say this, but didn't the thread say not to not to try it yet?
ruleftbehind said:
I hate to be the one to say this, but didn't the thread say not to not to try it yet?
Click to expand...
Click to collapse
If you hate to say it and it doesn't help then why say it? And no it does not say that anywhere in the thread. Others have tried and had success.
You didn't make a nandroid backup?
No offense, but you said you've been playing with Android for 2 years. You should've known that the first rule is to backup what you already have!
Have you tried installing the stock ROM pre OTA in the "Downgrading ROM" thread?
tazz9690 said:
You didn't make a nandroid backup?
No offense, but you said you've been playing with Android for 2 years. You should've known that the first rule is to backup what you already have!
Have you tried installing the stock ROM pre OTA in the "Downgrading ROM" thread?
Click to expand...
Click to collapse
I'm attempting it but adb won't copy my misc.img to my SD card, nor will it detect the miscnew.img I've made from someone else's misc.img.
Edit: Oh, and I WAS using the first release of the Clockwork mod for the G2 and I did not see a nandroid option there or I would have made a backup. I guess I shouldn't have tried it without a backup. Is there any way to use nandroid to flash someone else's backup?
What you need to do is mount your phone to your PC using Clockwork Recovery and copy over the misc files that way.
I had to downgrade to the stock rom myself and I used the misc files located in the below file.
http://forum.xda-developers.com/attachment.php?attachmentid=437017&d=1289270330
Jigga0o7 said:
What you need to do is mount your phone to your PC using Clockwork Recovery and copy over the misc files that way.
I had to downgrade to the stock rom myself and I used the misc files located in the below file.
Click to expand...
Click to collapse
I already downloaded those files, and copied miscnew onto my sd. But when I try the
"dd if=/sdcard/miscnew.img of=/dev/block/mmcblk0p17" command it says the file does not exist. It doesn't work with the card mounted or unmounted.
If you can get into clockwork you should be OK. i think your mistake was doing a full factory reset rather than install CM and then wiping data and cache. go into clockwork and wipe everything.
Find the official pre-ota zip, go into hboot, and flash. if this fails, go into clockwork, wipe everything, then go into fastboot, flash the original recovery, then go into hboot and flash the pre-ota zip.
Otherwise, find the thread when people had problems flashing the OTA after removing goggles and use that method to reflash the pre-ota.

[Q] Nandroid restore after OTA - is it possible?

I had my Evo (android 2.2) rooted with unrevoked forever but had to take it in to Sprint. I unrooted with the S-ON zip and then flashed the closest PC36IMG.zip that I could find on the forums. Finally, I did a factory restore and applied the OTA (3.70.651.1).
I've got the phone back now, but ever since the flash my 4G refuses to connect. I suspect I might have messed up my RSA keys.
I have a recent nandroid backup, but I'm afraid to restore it because the PC36IMG.zip updated my radios. My question is: is it safe to restore?
I'm aware that I'll have to re-root and install clockworkmod again.
I'm a long time reader, first time poster, and I appreciate your input
Heck, if you're able to re-root, it wont matter. Once you're S-OFF, simply reflash the radio, PRI, NV & WIMAX that you had before you unrooted and then restore your nandroid backup. You *should* be fine afterwards. By the way, the radios are independent of roms so it's not like your baseband, PRI, NV & HBOOT was backed up when you made your nandroid backup with the WIMAX being the only exception and that is if it was selected to be a part of the backup. Having said that, if you are not able to re-root then I would not attempt to restore a nandroid backup.
pecking & swyping from my EVO 4G (XDA Premium)
dougjamal said:
Heck, if you're able to re-root, it wont matter. Once you're S-OFF, simply reflash the radio, PRI, NV & WIMAX that you had before you unrooted and then restore your nandroid backup. You *should* be fine afterwards. By the way, the radios are independent of roms so it's not like your baseband, PRI, NV & HBOOT was backed up when you made your nandroid backup with the WIMAX being the only exception and that is if it was selected to be a part of the backup. Having said that, if you are not able to re-root then I would not attempt to restore a nandroid backup.
pecking & swyping from my EVO 4G (XDA Premium)
Click to expand...
Click to collapse
Alright, thanks! I won't be able to downgrade the hboot, but I'll give it a try nonetheless. I'm assuming that bricking the phone's unlikely as long as the downgrades themselves are successful. I'd just have to reinstall what I've got now if the backed up ROM is incompatible, right?
Edit: I've got the wimax.img in my nandroid backup
If you have the OTA, and its s-on as you said, you can't root it as of yet.
teh roxxorz said:
If you have the OTA, and its s-on as you said, you can't root it as of yet.
Click to expand...
Click to collapse
Do you know which OTA that was? I have a feeling that I didn't get the latest one, since I'm not on Gingerbread.
I did get some strange results after running Unrevoked - I have S-OFF but I get the red triangle/exclamation point when booting into recovery and I don't have root.
If you are S-Off then you just need to reflash the recovery. Once you do that you should be able to reload your nand backup.
kobes said:
Do you know which OTA that was? I have a feeling that I didn't get the latest one, since I'm not on Gingerbread.
I did get some strange results after running Unrevoked - I have S-OFF but I get the red triangle/exclamation point when booting into recovery and I don't have root.
Click to expand...
Click to collapse
It seems like you do not have a custom recovery flashed.
User ROMManager to install Amon or Clockwork.
As long as you are S-Off still, then you will be able to reboot into the recovery of your choice.(Didn't see you didn't have root)
Try rerunning UnrEVOked.
kobes said:
Do you know which OTA that was? I have a feeling that I didn't get the latest one, since I'm not on Gingerbread.
I did get some strange results after running Unrevoked - I have S-OFF but I get the red triangle/exclamation point when booting into recovery and I don't have root.
Click to expand...
Click to collapse
You don't have a recovery; http://dl.dropbox.com/u/19699565/PC36IMG.zip Download that, place on the root of your sd card, boot into the bootloader, apply update, reboot, reboot in recovery, and you'll be on Amon_ra 2.3 recovery.
tempe38 said:
If you are S-Off then you just need to reflash the recovery. Once you do that you should be able to reload your nand backup.
Click to expand...
Click to collapse
That's the new plan.
xNotta said:
It seems like you do not have a custom recovery flashed.
User ROMManager to install Amon or Clockwork.
As long as you are S-Off still, then you will be able to reboot into the recovery of your choice.(Didn't see you didn't have root)
Try rerunning UnrEVOked.
Click to expand...
Click to collapse
I've tried UnrEVOked three times, all to no avail. Still the same result.
And yeah, I tried ROMManager + Superuser from the Market but they didn't work. Definitely no root.
I figure that I should be able to push clockworkmod using fastboot from my computer. I'm having a bit of trouble tracking down the right recovery image though.
kobes said:
That's the new plan.
I've tried UnrEVOked three times, all to no avail. Still the same result.
And yeah, I tried ROMManager + Superuser from the Market but they didn't work. Definitely no root.
I figure that I should be able to push clockworkmod using fastboot from my computer. I'm having a bit of trouble tracking down the right recovery image though.
Click to expand...
Click to collapse
2 Posts up with link and instructions.
teh roxxorz said:
2 Posts up with link and instructions.
Click to expand...
Click to collapse
Ah that one got posted as I was typing... thanks for the upload. I'll try it now.
It worked! Thanks teh roxxorz. Now I'll go ahead and actually get superuser, install CWM, then restore the backup and hope for the best with 4G
Update: I'm done and everything works flawlessly. Including 4G. If anyone has the same question, I can tell you that it's definitely possible to restore to a nandroid backup, provided that the radios are reasonably close to the originals.

Categories

Resources