[Q] [HELP] Superuser app, NO root access - Droid Incredible Q&A, Help & Troubleshooting

Ok here's my problem.
I've been playing around with a ton of ROMs lately. Which means i've been doing a lot of backing up, restoring, nandroid, you know the drill. But once I restored my nandroid backup today and tried to access ROM Manager to install a ROM, it won't boot into recovery automatically. This also goes for every other root app. Wireless Tether, Root Explorer, Titanium Backup, Busybox, etc. I removed all superuser permissions that were contained inside the app to see if that would help, but sadly, it didn't. But the thing that confuses me is I boot into HBOOT, my phone is still S-OFF, and I can get into clockwork recovery just fine.
My device is the HTC Incredible Stock Froyo firmware with Hydra kernal and Clockwork Recovery 2.5.0.5
Any way to fix this???

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] Any opinions on why I lost root?

I started out with netarchy's stock rooted froyo and amon-ra recovery.
I wanted to install the battery mods by barnacles but I couldn't flash it with amon-ra because it wasn't signed at the moment.
So I got rom manager and flashed clockwork recovery within the program. Then I selected 'flash rom' on rom manager and selected the mod zip file.
Then it rebooted and mod was installed. Then I reflashed amon-ra recovery through fastboot.
Since then it seems that I have no more root access (typing su in terminal returns permission denied)
I was still able to make a nandroid of the rom. Then I flashed an earlier nandroid and booted up and I had root access in that rom. I flashed back the latest nandroid and no root.
So what measures do I take next time to avoid losing root again?
And is there a way to gain root in this rom again?
sure fire way is to just try the whole root process over, what ever method you use. Not sure what caused your problem though.
Very weird but I've been tryin to replicate the cause, and it seems like the froyo full market apk that was floating around seems to cause it... I remembered I had flashed that too. I guess it wasn't meant for sense roms? Hmm

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.

Trying to restore a backup with clockwork mod recovery

hello I just replaced a broken EVO and now that it is rooted I am trying to restore my old backup from my previous evo.. I am having a problem though
I go through all the normal process to restore a backup and everything works fine the super user permission pops up and the phone reboots but instead of rebooting directly into the reboot session it just boots me into the clockwork mod recovery recovery menu.. when i select the folder the recovery files are located in it shows up blank.. what am I doing wrong here? In the past when I selected to restore a backup from inside the os it just rebooted and started restoring automatically.. I feel like an extra step has now been added and I dont know what it is?
I should also not that while I do not know if it is related or not when I try to restore the backup from the nandroid section of the recovery menu it hangs on checking md5 sums and then says error while flashing boot image!
mind you this is on 2 separate backups I created in the past with clockwork mod recovery
It's probably not a good idea to use an old nandroid backup on a new phone. Think of how kernels run well on some EVO phones and not others. Your current phone might even be one of the EVOs with new hardware.
Sent from my HTC EVO using XDA app
ok but can I still get all my apps and data back?
it would be terrible to lose all of that
and now to make matters even worse my phone is stuck on an endless loop on clockwork mod recovery I every time I select reboot system now instead of it booting into the stock rooted rom it just reloads the clockwork mod recovery menu.. what gives?
yeah, not good to load a backup from a different phone. This has been documented as happening. Just reflash whatever rom you want then radios then kernel. Sorry but if you didn't use a backup prog I thinkyou will have to manually restore apps. You may want to try titanium backup, solves the problem, use it and follow the backup instructions in Titanium backup wiki on their web site and you should be good to go next time.
Did you try a battery pull and reboot?
Sent from my HTC EVO using XDA app
Nandroid backups are phone specific, you can't move them from phone to phone. You probably hosed your RSA keys which means your 4g may be broke. If I were you I would try to flash a stock rom and then reroot if needed. If that gets you out of the bootloop your in. You maybe visiting a Sprint store for a replacement phone again.
guys I could really use some help here please!
I went back to the stock rooted rom today.. all day I was adding apps making changes restarting the phone no problems.. I finally get my phone set up how I like it so I decided it was a great time to make a backup so I open clockwork mod recovery and select backup it gives me the superuser permissions prompt and restarts.. instead of starting the backup automatically it sends me directly to the clockwork mod recovery menu and now it will not load the phone's OS at all just reboot after reboot into clockwork mod recovery this is a 1 day old evo what is going on here!!??
KingKash420 said:
guys I could really use some help here please!
I went back to the stock rooted rom today.. all day I was adding apps making changes restarting the phone no problems.. I finally get my phone set up how I like it so I decided it was a great time to make a backup so I open clockwork mod recovery and select backup it gives me the superuser permissions prompt and restarts.. instead of starting the backup automatically it sends me directly to the clockwork mod recovery menu and now it will not load the phone's OS at all just reboot after reboot into clockwork mod recovery this is a 1 day old evo what is going on here!!??
Click to expand...
Click to collapse
Hey that exact thing happened to me. it happened the first time i ever loaded anything on my phone. I freaked out. Turned out the Clockword mod recovery I had must have had something wrong. I went back into the part where you load the CWM from the computer. My phone is different than yours so I cant be sure but you go into bootloader by pressing stuff, its where the logo stays there the whole time. then you flash the CWM again. and then reload the operating system and stuff. should work but just redo the CWM again. Hope it works out for you. Hope thats what it is for you too.

[Q] DZ Recoery Mode

Sorry if this sounds stupid, but I'm a little confused. I'm aware of all the S-OFF, permarooting etc and the necessary ways to get them. Before I go through with these guides however, I'd like a backup of some sort.
I know ClockworkMod is a custom recovery and you can perform nandroid backups with it, but I also understand there is a default recovery mode you can access from the bootloader that can also do that. Obviously I'd like to make a full nandroid backup before I make any permanent changes.
However, when I select 'Recovery' from the bootloader, my phone goes to a black screen with a generic phone icon and a red ! in a triangle. Why could this be? It is a standard UK T-Mobile Desire Z with no modifications aside from a Gfree S-OFF that was reversed again by copying the backup partition back.
That is the splashscreen of the stock recovery. Press Vol-Up and Power to get past that screen - but you won't be able to do a nandroid unless you have a custom recovery installed - sorry!
Thanks very much for that info. So there's no way of making a nandroid backup before I do things like permarooting? Will the unroot option in Visionary reverse that?
Presumably there's a way of reverting from ClockworkMod to the stock recovery?
the only time you will be able to make a backup is when you install clockwork. No clockwork no backup.
Use titanium backup for the settings and apps and then install clockwork and then do nandroid. if that doesnt work you have your TB to restore.
You can also try to "adb pull /system" and pull everything to your desktop.,... but pushging it back will require skillz.
If you want to revert from clockwork to stock recovery you need to flash stock recovery but do not do it with an incompatible rom.
Thank you, oh wise one!
Don't worry about the fact you can't do a nandroid backup before you root the phone, because it's easy enough to un-root.
You can do the nandroid backup as soon as you've got root/S-OFF, installed ROM Manager and flashed Clockwork recovery. It's very important to do this before you flash any sort of custom ROM. I am amazed by the number of people who seem to flash a custom ROM straight away with no backup whatsoever !

Categories

Resources