Lost SU access - Hero CDMA Q&A, Help & Troubleshooting

Using nfx stock 2.1 rom with chainsdd superuser app. I had a problem with an app that was looping the launcher and had to restore a nandroid. All seemed to be ok until I tried to use terminal. Su was denied. I then tried anything that required SU access and nothing would work. I have tried the update from the market for the SU apk. I uninstalled it. re-downloaded the eclair version 2.3.6.1 and flashed the Zip and got this error.
"E:wrong digest: META-INF/com/google/android/updater-script E:Verification failed"
Not sure what I am doing wrong or what might be the cause for the SU apk to have stopped working, but any help would be appreciated.
I also have unchecked the debugging and rechecked it to make sure a setting was not screwed up.

Try going into settings / applications //manage applications / and find the super user app. Then force close it and clear data. The try a app that requires su. Aslo you might wanna change the notifications in the super user app to regular notification / normal instead of the toast notification. Good luck
Root-Hack-Mod-Always™

Your OP is a little confusing, but it sounds like the zip was bad (not signed), not the apk. You could try to update the SU binary inside the superuser app, otherwise..... Go into your titanium backup and hit the "problems" button, see what happens. I am wondering if you lost busybox. Report back

Thanks for all the feed back. I did go into the application and clear data and Force Closed it. That did not fix the problem. I also changed the notifications and nada. I tend to think I lost busybox. I am not sure what it is for, but I think that was it. I did try to use titanium backup, and it gave me an error about busybox. I was going to download it again but was not sure if it was compatible with the rom I was using.
I needed to get SU access so I ended up starting over. Wiped everything, repartitioned, and then flashed a newer version of the Rom. Thanks for all the help guys.

Glad you got it fixed.
Root-Hack-Mod-Always™

Macanage said:
Thanks for all the feed back. I did go into the application and clear data and Force Closed it. That did not fix the problem. I also changed the notifications and nada. I tend to think I lost busybox. I am not sure what it is for, but I think that was it. I did try to use titanium backup, and it gave me an error about busybox. I was going to download it again but was not sure if it was compatible with the rom I was using.
I needed to get SU access so I ended up starting over. Wiped everything, repartitioned, and then flashed a newer version of the Rom. Thanks for all the help guys.
Click to expand...
Click to collapse
For future reference, busybox from TI backup is always the most up to date and safe/needed for any custom rom, so yes you could've updated it and it would've been fine. I don't know how you lost it but now you know how to fix it if it happens again, WITHOUT having to start over. On a side note I love being right, happy trails.

Related

Wiping Question[look at post #12,19]

Hey all.
After installing CM-v4.0.2 and the Dark Dream Theme I was golden.
Then I wanted to try Jac xrom. So I ran recovery, wiped, and installed and loaded the rom.
Everything was ok. But I noticed my apps were still showing up even after wiping. I think this is because of the A2SD feature....some would FC but I just uninstalled those ones and reinstalled and they worked.
So I ran recovery, wiped, and then installed CM 4.0.4. My apps are still there.
So now you know my history, how can I "WIPE" my SD card from my phone, if that is even possible?
I know how with my partition manager, but that is such a hassle....
Code:
mount -o rw /dev/block/mmcblk0p2 /system/sd
cd /system/sd
rm -r *
try that
Is that from Virtual terminal, or from recovery terminal?
Since u have cyan's 1.4 recovery u can fix it without deleteing them and installing agian. Go into the recovery console and run fix_permissions reboot and you sould be good. Should look like this:
Fix_permissions (press enter)
Reboot(press enter)
After it reboots u shouldnt have anymore fc!
rakjer said:
Is that from Virtual terminal, or from recovery terminal?
Click to expand...
Click to collapse
its better to do it in the recovery terminal, but you can do it in terminal but you will receive massive force closes till your wipe your phone and flash a new rom. but try to do what pistol4413 said first, if you want to keep you apps
So if I wanted to start from scratch(no apps on SD) I would:
-Run the code david1171 provided from terminal
-flash a fresh rom
-flash a fresh theme
and if I want to change roms after that I would:
-wipe
-flash new rom
-run fix_permissions
[EDIT]
Would it be smart to do a nandroid backup so if I dont like a rom I can just reflash the backup?
rakjer said:
So if I wanted to start from scratch(no apps on SD) I would:
-Run the code david1171 provided from terminal
-flash a fresh rom
-flash a fresh theme
and if I want to change roms after that I would:
-wipe
-flash new rom
-run fix_permissions
Click to expand...
Click to collapse
yep you got it or for changing roms you shouldn't have to wipe if going between cupcake builds but a wipe is needed if changing from a hero to cupcake or vice versa.
Wow you posted fast. Thanks. I couldnt even edit that fast.
Would it be smart to do a nandroid backup so if I dont like a rom I can just reflash the backup?
rakjer said:
Wow you posted fast. Thanks. I couldnt even edit that fast.
Would it be smart to do a nandroid backup so if I dont like a rom I can just reflash the backup?
Click to expand...
Click to collapse
yeah i nandroid before flashing any new rom that i think could mess up. and i just go between forums a lot. i have the dev, theme, and Q&A in my toolbar on firefox so i just click between them frequentlly lol
So that code you provided only deletes the contents of the partitions, and not the partitions themselves?
rakjer said:
So that code you provided only deletes the contents of the partitions, and not the partitions themselves?
Click to expand...
Click to collapse
that is correct. to delete the actual partition you would have to go into parted via the recovery console and type rm x(substitute with whichever partition needs to be removed)
Ok. So I formatted my SD. Re-flashed 4.0.4.(no theme this time)
Now all is ok EXCEPT, when I go to my downloads, everything I have purchased/downloaded says it is still installed ,and I try to uninstall and it gives an "uninstall unsucessful". After that it highlights the app and makes it "purchased" so I can DL it again.
I tried to run fix_permissions but this had no effect.
Anyway around this?
Has this already been addressed? If not should I post this in Cyanogens thread?
It is possible that it is your market database connected to your gmail account, I wouldn't worry about it if the programs are no longer there
gridlock32404 said:
It is possible that it is your market database connected to your gmail account, I wouldn't worry about it if the programs are no longer there
Click to expand...
Click to collapse
that's correct don't worry about it. if they say free beside them that should mean that they are no longer on your phone but it is still linked to the market database
He is saying that he is trying to uninstall them though so it would have to be saying installed so it is sounding more like some type of remains possibley on there
gridlock32404 said:
He is saying that he is trying to uninstall them though so it would have to be saying installed so it is sounding more like some type of remains possibley on there
Click to expand...
Click to collapse
now i am confused bc he says it says free... wouldn't it say installed if the phone still thought the app was installed
oh wait i went back and reread what he said a few times, and from what i understand it could be that the phone registers the apps being on it but when he tries to uninstall it the phone can't find the app, then it says uninstall unsuccessful and gives the option to reinstall it. maybe thats what it is
That is exactly what is going on, it's nothing to worry about though
gridlock32404 said:
That is exactly what is going on, it's nothing to worry about though
Click to expand...
Click to collapse
at least now he has a reason behind it yay for logical deduction
That is what is happening guys. Thanks for the insight.
All my purchased apps say installed, even though they are not installed.
When I select one from the "my downloads" it gives the option to run or uninstall.
-If I choose run, it says app not found
-If I choose uninstall, it says uninstall unsuccessful.
After all that, the app goes back to "purchased" status do I can DL again.
Same goes for the free apps.
This is quite bothersome.
Now I am just in need of a fix
Does any one have a fix or any suggestions to fix?
rakjer said:
That is what is happening guys. Thanks for the insight.
All my purchased apps say installed, even though they are not installed.
When I select one from the "my downloads" it gives the option to run or uninstall.
-If I choose run, it says app not found
-If I choose uninstall, it says uninstall unsuccessful.
After all that, the app goes back to "purchased" status do I can DL again.
Same goes for the free apps.
This is quite bothersome.
Now I am just in need of a fix
Does any one have a fix or any suggestions to fix?
Click to expand...
Click to collapse
try going to settings- applications- manage applications- market- clear cache.

Android Market even close when i open

Hi,
i have a rooted G1 with CyanogenMod.
My problem is when i open the market it instantly close himself....
Update and wipe dalvik-cache haven't helped, yet...
How do i get the market app working???
ScorqYoN
Edit:
Fixed. The reason for that problem seems:
borodin1 said:
FYI... your problem was because you deleted Gtalk as it contains something used to authenicate you with Google. Don't touch Google apps to be safe, amazon is fine to remove.
Click to expand...
Click to collapse
Please help! I want to go through the market.
Noone????
Did you run from terminal:
$su
#fix_permissions
Could help. Not sure.
did you try fix_permissions in console of recovery screen (or via adb in recovery screen)?
billquinn1 said:
Did you run from terminal:
$su
#fix_permissions
Could help. Not sure.
Click to expand...
Click to collapse
Good idea. I tried, but didn't help...
I also tried to delete all permissions in superuser but didn't help, too...
shmigao said:
did you try fix_permissions in console of recovery screen (or via adb in recovery screen)?
Click to expand...
Click to collapse
I have Recovery-RA-dream-v1.5.2 and i can't write the " _ " in the console with "alt" and "r".
Update and clearing dalvik-cache also didn't help...
Slowly i become desperate with this problem.
It came when I deleted Ndrive, because i wanted to update to newest version...
Oh, i also can't open the setting option "Data synchronization"...
Last time i have deleted some apps in system/apps with root explorer because i wanted to delete amazon mp3 etc.
Have i delete a important app???
How do i fix it without a complete wipe???
Noone idea what i can do???
Update/Reflash of CyanogenMod didn't help and i don't want to wipe all...
ScorqYoN said:
Good idea. I tried, but didn't help...
I also tried to delete all permissions in superuser but didn't help, too...
I have Recovery-RA-dream-v1.5.2 and i can't write the " _ " in the console with "alt" and "r".
Click to expand...
Click to collapse
RA-Recovery has an option under "Other" called "fix uid mismatch", this is the command you want, same as fix_permissions in cm-recovery. if you cannot type an underscore in RA-recovery console, you should check that thread to see if this bug has been reported, if not you should please report it so it can be fixed. thank you. good luck, just run "fix uid mismatch" under "other" in recovery and let us know if that fixes it...
-BMFC
Can you Log in to Gtalk and Gmail or do you get the same Issues?
I had this In all google apps when I had a google.partner.setup FC. Kept me logged out of my Google account with no way of getting back in (That I could see)
I had to Wipe, Install a previous (older) version, Sign in, and then Reinstall ROM WITHOUT a data wipe. Worked a treat as a work around
KYI
bmfc187 said:
RA-Recovery has an option under "Other" called "fix uid mismatch", this is the command you want, same as fix_permissions in cm-recovery. if you cannot type an underscore in RA-recovery console, you should check that thread to see if this bug has been reported, if not you should please report it so it can be fixed. thank you. good luck, just run "fix uid mismatch" under "other" in recovery and let us know if that fixes it...
-BMFC
Click to expand...
Click to collapse
Didn't help....
killyouridols said:
Can you Log in to Gtalk and Gmail or do you get the same Issues?
I had this In all google apps when I had a google.partner.setup FC. Kept me logged out of my Google account with no way of getting back in (That I could see)
I had to Wipe, Install a previous (older) version, Sign in, and then Reinstall ROM WITHOUT a data wipe. Worked a treat as a work around
KYI
Click to expand...
Click to collapse
Oh yes, i also can't use GMail. When i open it, it come the failure that the process com.google.gapps was aborted...
GTalk have i deleted, such as amazon mp3 etc., with root explorer...
It's possible that i also have deleted an app named gapps... because i haven't gapps in /system/app...
Where do i get it back without wipe and flash???
Where do i get this app???
Ahhh, i reflashed the "devphone_userdebug-ota-14721" image and then the cyanogenmod...
Now market work fine! GMAil etc. also!
Thanks for helping
ScorqYoN
please edit your first post to you have fixed the problem, thanks
FYI... your problem was because you deleted Gtalk as it contains something used to authenicate you with Google. Don't touch Google apps to be safe, amazon is fine to remove.
OK, thanks for tip borodin1.
Just want to add this in case anyone runs into same thing. I switched from CM to Super D, I used backup for root users and let it restore everything and had this problem. It may confuse your apps so I had to wipe and reload apps a different way. Market works fine now. Just wanted to throw that in.

[Q] Root Explorer Help Needed

Long time lerker, first time poster. I have been active on AndroidCentral, but need help from the experts in XDA.
I am running Nookie Froyo off the card. Everything is running great except the google market is absolutely TERRIBLE. It is missing tons of apps. Therefore, I was going through the directions posted in the forum...i.e. change the build.prop file
I can open Root Explorer, then can open /system; but then I can NOT mount as rw. When I hit Mount as rw the button lights up but will NOT switch it to rw. Therefore, I can not rewrite the needed file. Any help? Ideas?
Any other options to get Market to show more apps?
jrid32 said:
Long time lerker, first time poster. I have been active on AndroidCentral, but need help from the experts in XDA.
I am running Nookie Froyo off the card. Everything is running great except the google market is absolutely TERRIBLE. It is missing tons of apps. Therefore, I was going through the directions posted in the forum...i.e. change the build.prop file
I can open Root Explorer, then can open /system; but then I can NOT mount as rw. When I hit Mount as rw the button lights up but will NOT switch it to rw. Therefore, I can not rewrite the needed file. Any help? Ideas?
Any other options to get Market to show more apps?
Click to expand...
Click to collapse
Does Root Explorer have Superuser permissions? If so you might try wiping data with Titanium BU or uninstalling and reinstalling RE.
bdcrim said:
Does Root Explorer have Superuser permissions? If so you might try wiping data with Titanium BU or uninstalling and reinstalling RE.
Click to expand...
Click to collapse
I tried reinstalling RE. I will try the wiping data route.....
No luck with wiping data. Any other ideas?
Are other apps, like SoftKeys, getting superuser permissions?
Homer
Homer_S_xda said:
Are other apps, like SoftKeys, getting superuser permissions?
Homer
Click to expand...
Click to collapse
Yes.......
jrid32 said:
Yes.......
Click to expand...
Click to collapse
If you haven't already, may try going into Superuser and forget RE. Open it back up and allow.
bdcrim said:
If you haven't already, may try going into Superuser and forget RE. Open it back up and allow.
Click to expand...
Click to collapse
Completed, but still doesn't work. I just want updated market will all the apps...
jrid32 said:
Completed, but still doesn't work. I just want up updated market will all the apps...
Click to expand...
Click to collapse
If I remember right, superuser is linked to busybox. Try going to Titanium BU and choose problems tab. Update busybox and see if that makes any difference. Grasping for straws here.
bdcrim said:
If I remember right, superuser is linked to busybox. Try going to Titanium BU and choose problems tab. Update busybox and see if that makes any difference. Grasping for straws here.
Click to expand...
Click to collapse
Didn't work. This is becoming quite frustrating!!!
jrid32 said:
Didn't work. This is becoming quite frustrating!!!
Click to expand...
Click to collapse
I assume you have tried rebooting. Other things maybe to try; run the fix permissions utility in Rom Manager (some have had new issues after this, most don't); Get the new market apk on the "themes and apps" forum if you don't have one and try to install it with root explorer from your download after a short press. Is your 2.1 stock or rooted? If rooted, pull your nookie card and try to update from 2.1. If none of those work, I would not have any other ideas. Good luck.
Had the same problem a while back. Installed busybox from the market and it seemed to fix Root Explorer. Maybe using Titanium Backup to get busybox isn't working. I'd try getting busybox straight from the market...

Titanium Backup now showing all elements

Busybox updated in the market. After updating to 1.18.4 Titanium backup shows all apps, not just the 5 elements.
Edit: Backup complete. It seems to work completely. Lets me uninstall and restore.
Ty grabbing now
Yep! It works!
One step closer to custom ROMs.
Just a note. If it's not working for you, clear the TiBu cache in the apps manager.
IT WORKS...i just backed up 2 games and restored them on my evo
great news
Woot! Just backed up to Dropbox, too! "To the cloud!"
Worked for me as well! Just had a bit of a hard time getting the newest BusyBox installed for some reason...
funnycreature said:
Worked for me as well! Just had a bit of a hard time getting the newest BusyBox installed for some reason...
Click to expand...
Click to collapse
I am having a tough time getting it installed what did you do to get it to install.
NVM: I found a older version of busy box in the development section and now I have TB working.
I had a hard time after the app updated; it would freeze at the open screen. I went into Settings>Applications>All>Busyboxy and cleared cache and data and then it installed the latest 1.19.0.
I've tried everything and it won't install, any other ideas. Install from market hangs after I hit ok....cleared cache of this and Titanium
VegUnited said:
I've tried everything and it won't install, any other ideas. Install from market hangs after I hit ok....cleared cache of this and Titanium
Click to expand...
Click to collapse
Just to make sure, you have to be rooted.
When I first installed Titanium backup, I installed busybox from there by clicking 'Problems?'. So I had busybox installed first.
What exactly is it doing or not doing? For me the busybox app was freezing and not letting me press "OK". Clearing cache and data fixed it, but the next time I opened it it did it again and I had to reclear the cache and data.
Do you get any error messages?
Edit: There is something wrong with the latest version. I started getting hung at "OK" and nothing I tried would fix it. I used titanium backup to restore the version from yesterday and it works fine.
might want to thry busybox installer instead of the steig version... worked for me on first try after failing with normal one
https://market.android.com/details?id=com.jrummy.busybox.installer&feature=search_result
Busybox 1.19 is working very well with Titanium Backup. Excellent find.
Eeeeeeeeeeeyeeeeaaaaaah... good find indeed. Latest updated busy box + titanium + root = tigerblood
Sent from my Xoom using XDA App

Root not working after update

So I updated my D4 last week to the new build number. I kept root using the RootKeeper app. It indeed stayed rooted after, as I can still see the Superuser app in my app drawer. However, none of the privileges don't seem to work. For example, drocap2 won't take pictures and when I open Titanium, it tells me it couldn't get root access. It says "this attempt was made using the '/system/bin/su' command."
I haven't modded a phone since the OG, and I'm a bit rusty. Could someone help me solve this problem? Thanks!
AMTrombley0924 said:
So I updated my D4 last week to the new build number. I kept root using the RootKeeper app. It indeed stayed rooted after, as I can still see the Superuser app in my app drawer. However, none of the privileges don't seem to work. For example, drocap2 won't take pictures and when I open Titanium, it tells me it couldn't get root access. It says "this attempt was made using the '/system/bin/su' command."
I haven't modded a phone since the OG, and I'm a bit rusty. Could someone help me solve this problem? Thanks!
Click to expand...
Click to collapse
Stupid question but after you updated did you restore root with the Root Keeper app?
Sent from my DROID4 using XDA
Ha! No I didn't. I didn't know you had to restore it. I just saw the su app in my drawer and though I was good. This was the first time using that app. Thanks!
AMTrombley0924 said:
Ha! No I didn't. I didn't know you had to restore it. I just saw the su app in my drawer and though I was good. This was the first time using that app. Thanks!
Click to expand...
Click to collapse
Glad it was something easy!
Sent from my DROID4 using XDA
AMTrombley0924 said:
Ha! No I didn't. I didn't know you had to restore it. I just saw the su app in my drawer and though I was good. This was the first time using that app. Thanks!
Click to expand...
Click to collapse
I am having the same issue, I restored using the root keeper app however the device rooted and root permission granted check boxes never go green. When I click restore root the su.apk pops up say permission was granted.
When I try and run such via the terminal app it command not found. I did look in /system/bin and such is there but no dice
---------- Post added at 04:39 AM ---------- Previous post was at 04:29 AM ----------
jnc8651 said:
I am having the same issue, I restored using the root keeper app however the device rooted and root permission granted check boxes never go green. When I click restore root the su.apk pops up say permission was granted.
When I try and run such via the terminal app it command not found. I did look in /system/bin and such is there but no dice
Click to expand...
Click to collapse
Well it turns out a backup was dropped in /system and it was called su-backup. I was able to obtain root that way then I remounted system and copied it over to /system/bin
So, as it turns out, I did not think to backup my root with Rootkeeper, and now after the update, I still have Superuser but I'm unable to grant any apps superuser permissions. I got the Droid 4 utility .3 and tried to reroot. Unroot, then reroot, and basically everything I could think of, and still, no luck.
PS - Isn't unrooting supposed to remove superuser? It did not.
I had the same problem. Basically what has happened is you have lost root access, but the apps that use root are still there, and without root access, the unroot function is unable to remove them.
What I did, was manually push the files using adb :
adb push motofail /data/local/motofail
adb shell chmod 755 /data/local/motofail
Then I tried the running the exploit to get root:
adb shell "/data/local/motofail exploit"
but it failed... I also tried remounting the system folder as rw and it failed so I couldn't get root.
After this, I booted into fastboot/recovery and wiped my data/cache. Then, I tried the rooting process again, got read/write permission errors (did not originally), wiped data/cache again, and finally tried the unroot process.
This got rid of my superuser.apk and su binary somehow.
After all of this, the rooting utility worked. So, once you manage to get rid of those files, you should be good to go. I apologize I cannot narrow it down any better.
Well, I appreciate your response, but I'm still not having any luck.
Here is what I did:
Rooted phone few weeks back, left it alone.
Installed update
Did a factory reset, superuser still intact, but not granting permissions
Came to these forums
Booted into recovery and wiped (Holding volume buttons at boot, pressing down then up, formatting cache and data/factory reset)
Tried to root using Droid 4 Utility .3 - Did not get many errors
Waited for that process, then again, booted into recovery and wiped
Ran Droid 4 Utility .3 UNROOT option.
Recieved errors in removing superuser.apk due to read-only file system. Permission was denied to remove the app data, system/bin, etc....
Please, I know there's a lot of topics/posts around here and other sites, but I feel like I've tried everything to the best of my knowledge and refuse to give up!
I had a similar problem. I had tinkered with my framework and the update would not install. Got that fixed but forgot to unroot before running the update and got stuck just like you. Tried several things but could not get root back nor completely unroot. In a fit of frustration i tried pete's roottools that i had used for my d2g and it uninstalled the superuser and then i was able to root with the d4 utility. The phone works fine but i suppose it could have upset some other part. So try at your own risk.
can you give me some details about your uninstalled the superuser ?i use the peter's roottool and can't find how to do it...
jsnweitzel said:
I had a similar problem. I had tinkered with my framework and the update would not install. Got that fixed but forgot to unroot before running the update and got stuck just like you. Tried several things but could not get root back nor completely unroot. In a fit of frustration i tried pete's roottools that i had used for my d2g and it uninstalled the superuser and then i was able to root with the d4 utility. The phone works fine but i suppose it could have upset some other part. So try at your own risk.
Click to expand...
Click to collapse

Categories

Resources