[Q] Any opinions on why I lost root? - EVO 4G Q&A, Help & Troubleshooting

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

Related

[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] [HELP] Superuser app, NO root access

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???

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.

[Q] ESPRIMG.zip update in the Bootloader wipes phone?

I'm about to finish this rooting process to put a custom rom on my brothers phone, but I want to be sure he won't lose all of his data if I do the ESPRIMG.zip update...I'm just trying to play it safe before he hates me for losing all his data
If anyone can verify this for me, I'd greatly appreciate it. I don't want to mess this up if I can avoid it.
Using the exploid method, I got to the part where you get the # in the adb shell, indicating root. However, titanium backup and such apps would not yet run, so I had to continue to make the root permanent with full access(or so I understand), and have now found myself at this step. If this zip only enables us to flash clockwork without wiping all the data on the phone, that would be awesome. I just want to make sure that is true...I haven't seen the answer anywhere else. Thanks for the help guys!
I wouldn't think anything would be wiped until you flash a new rom or do a wipe yourself... but don't quote me on that... I've only rooted 3 devices and the Slide was back in December, haha. D:
Which leads me to a kind of on-topic question... How do people back up their stuff the first time around if they're not rooted? I'm sure it's something simple. I just kinda made a list of the stuff I had.
If it's something extraordinarily obvious, I'm sorry it's 5AM anddd... I should probably know anyways. xD
SefEXE said:
I wouldn't think anything would be wiped until you flash a new rom or do a wipe yourself... but don't quote me on that... I've only rooted 3 devices and the Slide was back in December, haha. D:
Which leads me to a kind of on-topic question... How do people back up their stuff the first time around if they're not rooted? I'm sure it's something simple. I just kinda made a list of the stuff I had.
If it's something extraordinarily obvious, I'm sorry it's 5AM anddd... I should probably know anyways. xD
Click to expand...
Click to collapse
This is what I'm wondering. I've rooted a G1, G2, and nook color before (although the NC is completely automated and required no work really, as there was nothing to back up the first time around). On the G1, it was my first device obviously and I lost all my data when wiping and flashing a custom rom. In the G2 process, I was able to get apps like Ti Backup to run on the stock rom, so I was able to back up all my apps and data.
On this one, it's a bit different (at least for now), I want to know if performing that update in the bootloader will put an entirely different image on my phone, meaning I'd lose all the data that's currently on there.
It's not so much the apps, but all the application data that I'm worried about losing without warning him first...I don't want him to have to repeat all his work to get to the same spot he's currently at in angry birds or something
Its going to wipe the phone. How to back up data? Idk.
Sent from my T-Mobile myTouch 3G Slide using XDA App
I just did this myself, so take a noob's word for what it's worth.
Yes it will wipe the phone IF you tell it to do the update. If you want to back up your phone you first need to put ClockworkMod Recovery on your SD card and name it simply update.zip. When you load into the boot loader (Vol down + Power) select "Recovery" then something about "Apply from SD: Update.zip" and you will get into ClockworkMod Recovery where you can then do a Nandroid back up of your phone.
rohit275 said:
I'm about to finish this rooting process to put a custom rom on my brothers phone, but I want to be sure he won't lose all of his data if I do the ESPRIMG.zip update...I'm just trying to play it safe before he hates me for losing all his data
If anyone can verify this for me, I'd greatly appreciate it. I don't want to mess this up if I can avoid it.
Using the exploid method, I got to the part where you get the # in the adb shell, indicating root. However, titanium backup and such apps would not yet run, so I had to continue to make the root permanent with full access(or so I understand), and have now found myself at this step. If this zip only enables us to flash clockwork without wiping all the data on the phone, that would be awesome. I just want to make sure that is true...I haven't seen the answer anywhere else. Thanks for the help guys!
Click to expand...
Click to collapse
It completely wipes the phone. It REPLACES SPL, radio, recovery, rom, etc with the factory spec so the phone will be exactly as it was when first pulled out of the box.
Contacts, calendar, etc should be backed up to google. Apps can be downloaded again from the market and should be auto restored on sign-in to google.
Personal settings and data like texts, call logs, etc are gone though unless you use a program like Titanium Backup to save them.
The other thing you could do is root the stock rom, make a nandroid backup before flashing a custom rom and then if he wants to go back all he has to do is restore the nandroid backup and unroot with all his data preserved.
All right this is what i was suspecting. Is there any way to run titanium backup on the stock rom without wiping it first?
Sent from my HTC Vision using XDA App
rohit275 said:
All right this is what i was suspecting. Is there any way to run titanium backup on the stock rom without wiping it first?
Sent from my HTC Vision using XDA App
Click to expand...
Click to collapse
What do you mean? Titanium Backup requires root. You can use it in your custom rom to backup everything you want, then restore, reroot, then download titanium backup again and restore the data from your sdcard. If that doesn't answer your question please elaborate on what you are trying to accomplish so that I can help.
Where are you now? What steps did you take to get there? Where are you trying to get to and why?
EDIT - I've had an mt3g and an mt4g but never an espresso so i'm slightly out of my element. I reread the first post and it appears you have root but for whatever reason titanium isn't granted root access. Do you have superuser permissions installed? It can be installed from the market as long as you have root access.
Once you have clockwork (or amon ra) recovery installed you can make a nandroid backup of his stock rom without rooting it, but carrying all the data over to the new rom will require an app such as titanium or mybackup (free 30 day trial) from the market.
Hope that helps.
I guess it WILL then!
Yeah, this was the first device I rooted, so I just sorta flew through it. I was glad that it got rooted and I could put a rom on, so the loss of data wasn't TOO big to me.
And I've lost Angry Birds like... 4 times now, haha.
Phateless said:
What do you mean? Titanium Backup requires root. You can use it in your custom rom to backup everything you want, then restore, reroot, then download titanium backup again and restore the data from your sdcard. If that doesn't answer your question please elaborate on what you are trying to accomplish so that I can help.
Where are you now? What steps did you take to get there? Where are you trying to get to and why?
EDIT - I've had an mt3g and an mt4g but never an espresso so i'm slightly out of my element. I reread the first post and it appears you have root but for whatever reason titanium isn't granted root access. Do you have superuser permissions installed? It can be installed from the market as long as you have root access.
Once you have clockwork (or amon ra) recovery installed you can make a nandroid backup of his stock rom without rooting it, but carrying all the data over to the new rom will require an app such as titanium or mybackup (free 30 day trial) from the market.
Hope that helps.
Click to expand...
Click to collapse
I am aware of all of that.
What I've done is use the exploid method to root until you get to the "#" prompt in the adb shell, after toggling wifi and running ./exploid twice. Then to continue in order to flash a custom rom, I've got to perform the update from the bootloader with ESPRIMG.zip. All I'm asking is that since I do have root through the exploid method, can I run Titanium Backup BEFORE I flash a custom rom, since technically it is possible to gain root access before flashing custom roms. I tried installing the app but it could not properly gain the access it needed. I think this probably has something to do with no superuser app being installed either.
Does it make sense what I'm asking? Thanks guys.
rohit275 said:
I am aware of all of that.
What I've done is use the exploid method to root until you get to the "#" prompt in the adb shell, after toggling wifi and running ./exploid twice. Then to continue in order to flash a custom rom, I've got to perform the update from the bootloader with ESPRIMG.zip. All I'm asking is that since I do have root through the exploid method, can I run Titanium Backup BEFORE I flash a custom rom, since technically it is possible to gain root access before flashing custom roms. I tried installing the app but it could not properly gain the access it needed. I think this probably has something to do with no superuser app being installed either.
Does it make sense what I'm asking? Thanks guys.
Click to expand...
Click to collapse
Yeah I think so. I'll take a look at the root guide but if you have # in Terminal then you should have root. Try installing superuser and see what happens. Do you have a custom recovery installed yet? I think you'll need that to install superuser.
Why didn't you just try SuperOneClick? Much easier than all this.
Phateless said:
Yeah I think so. I'll take a look at the root guide but if you have # in Terminal then you should have root. Try installing superuser and see what happens. Do you have a custom recovery installed yet? I think you'll need that to install superuser.
Why didn't you just try SuperOneClick? Much easier than all this.
Click to expand...
Click to collapse
The # in terminal disappears as soon as I try to exit, and whatever work you've done resets upon a reboot.
I don't have clockwork installed as of yet, because the guide says I've got to update the ESPRIMG.zip through the bootloader before I can do that. I'll try flashing clockwork first and installing superuser before I do anything else.
Does a one click root exist for the slide? I thought that it wasn't possible at this time. If that's the case I'm interested as long as it allows me to run Ti Backup and such and flash clockwork with s-off to do some backups before I go ahead and flash cyanogenmod. Thanks.
EDIT: As expected, can't flash clockwork update without flashing the ESPRIMG.zip update. If I can't run Titanium, it'd be nice to get a couple files out of /data/data before doing the wipe. I tried an adb pull which would not work from the /data partition. With the # prompt in terminal, I wanted to copy some of these files, but the "cp" command doesn't seem to work in terminal, but "mv" and "rm" do. Any way to copy files from within the adb shell? If I could move them to the SD card it would be nice.
rohit275 said:
The # in terminal disappears as soon as I try to exit, and whatever work you've done resets upon a reboot.
I don't have clockwork installed as of yet, because the guide says I've got to update the ESPRIMG.zip through the bootloader before I can do that. I'll try flashing clockwork first and installing superuser before I do anything else.
Does a one click root exist for the slide? I thought that it wasn't possible at this time. If that's the case I'm interested as long as it allows me to run Ti Backup and such and flash clockwork with s-off to do some backups before I go ahead and flash cyanogenmod. Thanks.
Click to expand...
Click to collapse
You know I'm not sure, I'd have to do more research. Will let you know when I figure it out.

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.

Categories

Resources