Help - setCPU can't get root access any more - Desire Q&A, Help & Troubleshooting

Grrrrr ... I am not sure what happened ...
I was integrating some app updates into my ROM (Gmail, Market).
Cleared settings, dalvik cache, ...
Reboots fine, etc. All looked fine. New Gmail and Market came up.
But ... now suddenly ... setCPU can't seem to get root access any more ???
It says: "setCPU could not obtain root access. Did you allow setCPU through Superuser permissions? If you checked Superuser permissions and SetCPU still cannot get root, there may be a permission problem with your ROM".
Grrr ... my ROM (stock Froyo Sense) has been rooted from day 1 ... and all was working very fine (2 months now).
Any idea why this is now happening?
When I run SuperUser Permissions, it just shows a black screen (previously I am pretty sure that setCPU, Titanium, .. were listed).
Help ... please ...
p.s.
When I do:
> adb shell
# whoami
-> root
# busybox whoami
-> whoami: unknown uid 0

Grrr. Gave up looking for the cause of the problem. Just re-installed from backup and everything back to normal now.

Related

[Q] Rooting the Creative Zio

Hi there!
I'm trying to root Ziio 7 unit I got for a review for PurePC.pl, and so far so good I installed SuperUser app and su and busybox binaries. Now using terminal I can su without any problems. But the thing is, SU only seems to be working in terminal emulator. I've tried using some apps that should use root like ShootMe and ScreenshotIt, SetCPU and they just doesn't work.
ShootMe says "Starting Server failed", plus info that i need to have root access and enabled access to lower graphics (whatever it is).
ScreenshotIt just doesn't work without any information why, and SetCPU FC's after selecting profile. Although it gets me a nice SuperUser dialog, but that's as far as it goes, cause it crashes right after that.
Am I missing something to have a complete root? Interesting thing is that on this device, preferred PATH for executable binaries is /data/busybox/, and not a usual /system/bin. Interestingly, my su binaries refused to work from /data/busybox directory, so I moved them to /system/bin. Rest of the utilities and such are still in /data/busybox, but I don't know if this information is important in any way Have I missed something along the way? Please help. Cheers.
OK, I know why su gave me permission denied when running from /data/busybox. The /data partition was mounted with nosuid. But still the applications such as ShootMe won't work.
I waiting for. If who has a good new. Please tell me to private message.
Have you made any progress on this bagienny?

[Q] unrevoked worked but phone still not rooted?

It took me 4 hours to get unrevoked root my phone (turned out that the actual version is buggy) but somehow it seems not "really" rooted.
I want to install titanium backup, so when I start it I get this popup to grant root access but titanium still says it is not ok.
I can do a "su" in the shell but not a whoami. - I don't understand why.
If I go into the recovery menu it says ClockworkMod Recovery v.3.0.0.5
Bravo PVT1 SHIP S-ON
HBOOT 0.93.0001
Microp-031d
Radio-5.10.05.23
If you bothered to check the Titanium website you'd see you need to click the 'Problems' box to install BusyBox. Without this TB won't work
http://matrixrewriter.com/wiki/tiki-index.php?page=TB+-+User's+guide
EddyOS said:
If you bothered to check the Titanium website you'd see you need to click the 'Problems' box to install BusyBox. Without this TB won't work
http://matrixrewriter.com/wiki/tiki-index.php?page=TB+-+User's+guide
Click to expand...
Click to collapse
It even says on first Titanium Backup launch!
Yep...pops up a message. Click "Problems?" at the bottom for a reliable busybox.
Believe me I bothered a lot to look around and I tried for hours and hours.
Titanium complained about not having root privileges not about busybox. And in the help on their homepage there was this guide "how to check if your phone is rooted properly" by issuing the su command followed by whoami which is obviously misleading.
However, thank you for pointing me in the right direction. It seems to work now.
OK. Now I am convinced - this was completely not my fault. Not only is the documentation missleading, the software is buggy as well.
Going to the Problems? Menu suggests it would fix your issues with busybox by installing it and such...
Well, it does download it to your device but it is not usable until you install it manually via the android sdk in recovery mode. Until then you will not get an app listing. I wonder where to find this little detail in the docu (talking about laziness)
No one else seems to have this issue so not sure what you're doing differently
I just went to running a custom ROM so once rooted didn't have any issues
When you flash your phone with unrEVOked, try using Clockwork 2.5.0.7 as I used this version and it worked 1st time.
SOLVED
Thanks guys. I already solved all problems. It was horribly difficult to get over all these pit falls but finally I reached my goal (a Titanium Backup).
What caused me most trouble was the unclear description of Titanium Backup, especially the part in which they state "if whoami does not respond so and so you are not root"... BULL****!!!
"Short" list of how I got my Desire with HBOOT 0.98 rooted and installed Titanium Backup:
Unrevoked root, but not the latest version 3.32. This one will stop with an Error: Cannot get root. Is your firmware too new? or something similar. Instead use version 3.2
Install Titanium and start it. Superuser will popup and ask for permissions - grant.
Make the changes in the application settings that Titanium asks for (I think usb debugging and allow applications that are not from market) and forget about the message telling you you have no sufficient root privileges, that is not true - I guess what they really mean is that busybox is not installed on your system (would be nice if they'd said what they mean).
Go to the "Problems?" button and let Titanium install Busybox.
... not over yet!
Titanium will now not complain about root privileges any longer but you will still not see any application listings in the software. So maybe there is still something wrong. But what could that be? The root priviliges? WRONG!. Titanium downloaded busybox but did not bother to also install it, although it said it did ;-)
Get the android SDK from Google and install it. (you will also need the Java JDK). You can uncheck most of the packages during installation, probably all. We are only interested in the adb tool that is included in the base installation (I think it is, I also installed the Android SDK Platform tools, SDK Tools and SDK Platform Android 2.2 - just because I was not sure about it).
Boot phone into recovery and connect with the adb shell. (this is a little tool that you will find in the tools subdirectory in the android sdk. You need to start it from the command prompt)
Once connected you need to install busybox manually. Titanium did download the data but did not install! How to do this is described by Loccy here:
Code:
Actually, what I did was use Titanium's busybox:
* install Titanium
* run Titanium
* click the "problems" button and install Busybox
* boot into recovery
* adb shell from my Mac
* mount /system
* cp /data/data/com.keramidas.TitaniumBackup/files/busybox /system/bin
* cd /system/bin
* ./busybox --install -s .
Instead of using the mount commands, listed above I mounted the mentioned directories with the mount option in the ClockworkMod recovery menu, that comes with the unrevoked rooting, because the mount commands did not work properly for me. Also, I had to cd into the /data/data/com.keramidas.TitaniumBackup/files/busybox directory and copy busybox to /system/bin/. from there.
Code:
cd /data/data/com.keramidas.TitaniumBackup/files
cp busybox /system/bin/.
cd /system/bin
./busybox --install -s .
But I might have had a typo.
reboot the device and enjoy.
I should mention, if you NOW issue the suggested "su" and "whoami" commands in a shell that according to Titaniums super HOWTO should tell you if you have root privileges, THEN you will get the right response.
In Conclusion:
Forget about the Titanium howto. If Unrevoked finished with no error you HAVE root privileges, no matter what Titanium tells you. Another indicator: If the superuser popup appears, you should be rooted as well.
Install Busybox either completely manually or with the above described method via Titanium. The busybox setup has worked if you can issue the "su" and "whoami" command in a shell.
@EddyOS: "Noone" might not be entirely true - If Titanium was so clear you would not find tons of "how do I install it" questions in the forum. If it works on some *or most* devices but on others not, this is just an indication for sloppy coding. And a user should not have to spend hours over hours to surf some forums for solutions that should have been provided by the developers in the first place. Some people have a life...

[Q] factory reset after permroot....still rooted or not !!!

after permroot i did factory reset and then the visionary app and superuser app went away. now even after reinstalling both of them my proxy app doesnt work , it gives an error saying failed to start redirect.sh (permission denied) . now is my DHD still rooted or not , if it is still rooted then how can i make the proxy app work ?
thanks
try to root using visionary again, if you are rooted at the moment simply nothing will happen if you use it
Edit; You shouldn't have lost root by factory reset alone, but stranger things have happened. Not sure about the proxy app.
DL Superuser again (or as suggested/implied), reintall the Visionary will install Superuser as well.
Certain apps need required SU permissions from Superuser. When prompted by Superuser, grant SU rights to that app you are running.
Alternatively;
1. DL & install Superuser & Terminal Emulator from the Market
2. Run Terminal emulator
3. Type "su"
4. When prompted give superuser rights
5. Terminal Emulator prompt will change to "#" if you still have root
Edit: If you still have root & Superuser permission for the proxy app, try reboot in CWM Recovery & "fix permissions". You can do from within ROM Manager, but I prefer to do in CWM Recovery when the phone hasn't booted the partitions.
Make a backup in CWM Recovery prior to doing anything.
Just sharing.. once I accidentally denied the permission to root access for one app and the setting was to remember it. It took me a while before I realized this and change it in superuser setting.
i tried the terminal emulator and after typing su it said permission denied , and yeah my titanium backup isnt working coz it says dat it needs root now.
Yep, you lost root.
Try visionary again, and make sure superuser rights are given when asked by superuser.
Sent from my Desire HD using XDA App

[Q] can't install busybox

my device is rooted and I want to backup all my apps before flashing a new ROM
but titanium backup wont start saying that im not rooted although I am and it stated that I need busybox installed. But when installing busybox it says failed to copy over /system/xbin and my device suddenly reboot. please help
will thank every useful post
Please help
From recovery:
mount /system
mount /sdcard
cp /sdcard/busybox /system/xbin/busybox
chmod 755 /system/xbin/busybox
cd /system/xbin
./busybox --install
TouchPal-d from my Desire running Starburst Classic Rom - 450 apps and counting. .
Obviously you have to put a good busybox binary within /sdcard/
Sibere's Data2sd thread had one attached
TouchPal-d from my Desire running Starburst Classic Rom - 450 apps and counting. .
Droidzone said:
From recovery:
mount /system
mount /sdcard
cp /sdcard/busybox /system/xbin/busybox
chmod 755 /system/xbin/busybox
cd /system/xbin
./busybox --install
TouchPal-d from my Desire running Starburst Classic Rom - 450 apps and counting. .
Click to expand...
Click to collapse
I'm sorry but I don't understand what ur trying to say
im really a new to the desire. I dont understand what cp, chmod 755, cd is
Droidzone said:
Obviously you have to put a good busybox binary within /sdcard/
Sibere's Data2sd thread had one attached
TouchPal-d from my Desire running Starburst Classic Rom - 450 apps and counting. .
Click to expand...
Click to collapse
it's busybox.zip attached to this thread rite? http://forum.xda-developers.com/showthread.php?t=852219. If so Ive downloaded.
and I can't do nandroid backup please help me.
thanks for the respond btw I really appreciate it
You're a newbie...why didnt you say so at first?
Never mind, just flash this..
Well, did it work?
TouchPal-d from my Desire running Starburst Classic Rom - 450 apps and counting. .
Droidzone said:
You're a newbie...why didnt you say so at first?
Never mind, just flash this..
Click to expand...
Click to collapse
thank you so much! I'll try and report back later cos the phone is not currently in my hand
thank you!!
Droidzone said:
Well, did it work?
TouchPal-d from my Desire running Starburst Classic Rom - 450 apps and counting. .
Click to expand...
Click to collapse
Umm... Sorry for the long reply n not being really active. I flashed succesfully but after i go to busybox installer it says that i dont have busybox installed. I think i may have done something wrong with rooting....
When i go to the recovery it says:
E: cant find misc
E: cant mount cache: recovery/ command
E: cant find misc
E: cant mount cache: recovery/ log
E: cant find misc
And when i want to do a nand backup it says
Error while dumping boot image!
E: cant mount cache: recovery/ log
E: cant find misc
What did i do wrong?
Troble Installing Could Do With Some Help Thanks .
* NEED HELP INSTALLING BUSYBOX *
I have joined this form as i have finally came to my wits with trying to get Busybox installed but i am getting nowhere with it. I found and old HTC desire 620 phone lying around and i thought i would use it as a project phone its running on Android Kitkat 4.4.4 i unblocked it first for any sim and its network is BT it use to be with O2 then i paid One Click Root to Root my phone (PROBS A STUPID THING TO DO AS THERE IS LOADS OF WAYS TO DO IT BUT I JUST WANTED IT DONE THERE AND THEN ) and i dont no much about the android system but would like to get familiar with it tho at somepoint. Once the phone was rooted my boot menu is with TWRP But i think i can change that to Clockwork or would it matter what one i have.
I have watched lots of vids and read a good few forms aswell but still cant get this app to install. If i download anymore apps to try helping me install this app i wont have any more room at all and this is the part is where you are probs going to see how stupid i am with android below are a list of apps i have downloaded to try help me :-
I paid for SuperSu Pro, Paid for Busybox Pro, ROM Installer, ROM Toolbox Lite, ROM Manager, Busybox on Rails, ES File Explorer, Mount /system RO/RW App, ASTRO, Hack App Data, SU Update Fixer, SU Root Tools, Total Commander, Terminal Emulator and i even downloaded Titanium Backup as someone said it could help with the install of Busybox but hasnt got me anywhere. I also have dsploit and Lucky Patcher both apps that i would like to work but both require Busybox to be installed.
Now i have downloaded a few Busybox apks and even the free vrsion from the app store Stephen (stericson) version and nothing happend then i paid to get the full version thinking it should work straight away as i have now paid for it but still wont install. This is my situation when i open up the app i am on the install page i select the box in the top right hand corner (Auto Update Busybox), the version is Busybox 1.26.2 and the install path to /system/xbin and when i hit the install button the message i get back says :- ( It looks like the installation of Busybox was not successful, try installing to a differant location, that may resolve the issue) the i hit the red X button and the app cuts of back to the home page. When i reopen the app i change the path to /system/bin the i get the same message and a split 2 seconds l8r my phone just cuts of then reboots only happens everytime i press the install button and the location selected is /system/bin. When i even tryed the other to paths :- /su/xbin and /su/bin at the bottom of my screen a quick message flashes up saying :- (Systemless root is not configured, please choose another install location)
I do apologize for this very long message but it would be appreciated if there is anything someone could do for me or point me in the right direction as every where else i have looked it has been unsuccessfull or its been far to confussing to even understand. I guess there would be most of use saying if i dont no what i am doing i shouldnt be playing around i do no that i could brick the phone or end up in a constant bootloop but as i said i found a spare phone that was still working and though i would give it a go and you can always learn along the way from help by others. If you need more info just message me and i will give u as much info u need but i hope with what i have said so far will give you a chance to see where i have went wrong as i have said its prob been something so basic that is right under my nose but i just havnt noticed it lol.
I hope there is something you can do for me and i hope to hear back soon thanks for your time if you even get to read this.
Kind Regards
Davie
davie6098 said:
* NEED HELP INSTALLING BUSYBOX *
I have joined this form as i have finally came to my wits with trying to get Busybox installed but i am getting nowhere with it. I found and old HTC desire 620 phone lying around and i thought i would use it as a project phone its running on Android Kitkat 4.4.4 i unblocked it first for any sim and its network is BT it use to be with O2 then i paid One Click Root to Root my phone (PROBS A STUPID THING TO DO AS THERE IS LOADS OF WAYS TO DO IT BUT I JUST WANTED IT DONE THERE AND THEN ) and i dont no much about the android system but would like to get familiar with it tho at somepoint. Once the phone was rooted my boot menu is with TWRP But i think i can change that to Clockwork or would it matter what one i have.
I have watched lots of vids and read a good few forms aswell but still cant get this app to install. If i download anymore apps to try helping me install this app i wont have any more room at all and this is the part is where you are probs going to see how stupid i am with android below are a list of apps i have downloaded to try help me :-
I paid for SuperSu Pro, Paid for Busybox Pro, ROM Installer, ROM Toolbox Lite, ROM Manager, Busybox on Rails, ES File Explorer, Mount /system RO/RW App, ASTRO, Hack App Data, SU Update Fixer, SU Root Tools, Total Commander, Terminal Emulator and i even downloaded Titanium Backup as someone said it could help with the install of Busybox but hasnt got me anywhere. I also have dsploit and Lucky Patcher both apps that i would like to work but both require Busybox to be installed.
Now i have downloaded a few Busybox apks and even the free vrsion from the app store Stephen (stericson) version and nothing happend then i paid to get the full version thinking it should work straight away as i have now paid for it but still wont install. This is my situation when i open up the app i am on the install page i select the box in the top right hand corner (Auto Update Busybox), the version is Busybox 1.26.2 and the install path to /system/xbin and when i hit the install button the message i get back says :- ( It looks like the installation of Busybox was not successful, try installing to a differant location, that may resolve the issue) the i hit the red X button and the app cuts of back to the home page. When i reopen the app i change the path to /system/bin the i get the same message and a split 2 seconds l8r my phone just cuts of then reboots only happens everytime i press the install button and the location selected is /system/bin. When i even tryed the other to paths :- /su/xbin and /su/bin at the bottom of my screen a quick message flashes up saying :- (Systemless root is not configured, please choose another install location)
I do apologize for this very long message but it would be appreciated if there is anything someone could do for me or point me in the right direction as every where else i have looked it has been unsuccessfull or its been far to confussing to even understand. I guess there would be most of use saying if i dont no what i am doing i shouldnt be playing around i do no that i could brick the phone or end up in a constant bootloop but as i said i found a spare phone that was still working and though i would give it a go and you can always learn along the way from help by others. If you need more info just message me and i will give u as much info u need but i hope with what i have said so far will give you a chance to see where i have went wrong as i have said its prob been something so basic that is right under my nose but i just havnt noticed it lol.
I hope there is something you can do for me and i hope to hear back soon thanks for your time if you even get to read this.
Kind Regards
Davie
Click to expand...
Click to collapse
First of all, the topic chosen for Desire Bravo A8181, which means that you have chosen badly.
If you want to be sure to busybox from the root, then first check that you have the root with a root checker.
For busybox you do not need to have root, however.
Check the Install BusyBox (No Root).
It works for me. I have Android 4.3 on Samsung.

Proper root or not

When i first bought the t989, i rooted the phone manually by flashing cwm and the su.zip file. Everything seem to have worked then. A month or so back I updated the phone to ICS through the Kies Air application. I tried browsing through my root files and found myself unable to do so. I decided to check my superuser application and noticed another su apk. It wasnt the android face but a superman android icon (sua). I updated the binary on the sua and my phone started resetting on its own. I have flashed stock roms of ics and the problem consisted. Eventually fed up of the 4.0.4 version i flashed back to GB which seems better in phone performance.
Back into stock/unrooted T989, i flashed root again. However i used root checker pro and it verifies root access however I find myself unable to browse root files. Is there another possible way to check through? maybe via terminal emulator?
/--edit 10:28 AM----\
So i did some more searching and found the su command in terminal emulator and the "$" symbol changed to "#"
Im guessing I have root but browsing in the rooted files seems disabled in some apps
brion1020 said:
When i first bought the t989, i rooted the phone manually by flashing cwm and the su.zip file. Everything seem to have worked then. A month or so back I updated the phone to ICS through the Kies Air application. I tried browsing through my root files and found myself unable to do so. I decided to check my superuser application and noticed another su apk. It wasnt the android face but a superman android icon (sua). I updated the binary on the sua and my phone started resetting on its own. I have flashed stock roms of ics and the problem consisted. Eventually fed up of the 4.0.4 version i flashed back to GB which seems better in phone performance.
Back into stock/unrooted T989, i flashed root again. However i used root checker pro and it verifies root access however I find myself unable to browse root files. Is there another possible way to check through? maybe via terminal emulator?
/--edit 10:28 AM----\
So i did some more searching and found the su command in terminal emulator and the "$" symbol changed to "#"
Im guessing I have root but browsing in the rooted files seems disabled in some apps
Click to expand...
Click to collapse
I'm having the same issues with 4.0.4. It's getting me pissed and contemplating doing 4.0.3 where I had access to system files via root explorer. I've been going through different ROMs on 4.0.4 to see if that would alleviate the problem. So far, still issues saying something to the affect that I don't have superuser access even though I can run any rooted application.
Here is the results of using root checker pro
Code:
Congratulations! You have root access!
Super User Applications Status: Superuser application - version 3.0.5 - is installed! SuperSU application - is NOT installed.
System File Properties for Root Access: Standard Location Check Command: ls -l /system/xbin/su: Result: lrwxrwxrwx root root 2012-09-29 00:35 su -> /system/bin/su Analysis: File: su is a symbolic link pointing to another file: /system/bin/su
Standard Location Check Command: ls -l /system/bin/su: Result: -rwsr-sr-x root root 22228 2008-08-01 08:00 su Analysis: Setuid attribute present and root user ownership present. Root access is correctly configured for this file! Executing this file can grant root access!
Alternative Location Check Command: ls -l /sbin/su: Result: /sbin/su: Permission denied Analysis: File system permissions restricted and denied access.
Alternative Location Check Command: ls -l /system/xbin/sudo: Result: /system/xbin/sudo: No such file or directory Analysis: File /system/xbin/sudo does not exist.
Root User ID and Group ID Status: Root user id: uid=0(root)
Root group id: gid=0(root)
System Environment PATH: /sbin /vendor/bin /system/sbin /system/bin /system/xbin
ADB Shell Default User: ADB shell setting for standard access, stored in default.prop, is configured as: shell (non root) user - ro.secure=1
Results provided on your SGH-T989 device by
Su or superuser
Are you using Superuser or SuperSu try reinstalling the APP from the market.
if not already a system app use titanium backup to convert to system app.
[email protected] said:
Are you using Superuser or SuperSu try reinstalling the APP from the market.
if not already a system app use titanium backup to convert to system app.
Click to expand...
Click to collapse
I've tried updating superuser from the market, even bought the elite version. Tried SuperSu and thus far, no luck. Tried using titanium just now and it didn't work on superuser.
---------- Post added at 12:14 PM ---------- Previous post was at 12:11 PM ----------
I've even reflashed the su signed efghi 3.0.7 apk.
[email protected] said:
Are you using Superuser or SuperSu try reinstalling the APP from the market.
if not already a system app use titanium backup to convert to system app.
Click to expand...
Click to collapse
Ive tried updating su before and the binary which seem to have no changes. As for making su a system app, when i flashed unroot to root, su appeared without me installing. Also, su doesnt seem to appear in titanium backup
/----Edit----\
I'm returning my phone today to fix the broken power button, the stiffness of the D30 case may have caused this.
Is it possible to direct me to a fully working 100% root?
brion1020 said:
Ive tried updating su before and the binary which seem to have no changes. As for making su a system app, when i flashed unroot to root, su appeared without me installing. Also, su doesnt seem to appear in titanium backup
/----Edit----\
I'm returning my phone today to fix the broken power button, the stiffness of the D30 case may have caused this.
Is it possible to direct me to a fully working 100% root?
Click to expand...
Click to collapse
I'm kind of wondering if flashing back to completely stock via Odin, then trying all over again will do it? I know as soon as I did the Kies update from 4.0.3 to 4.0.4 caused this issue on stock rooted.
Hype As Fruck said:
I'm kind of wondering if flashing back to completely stock via Odin, then trying all over again will do it? I know as soon as I did the Kies update from 4.0.3 to 4.0.4 caused this issue on stock rooted.
Click to expand...
Click to collapse
Just Odin back to stock and then reroot. Its super simple. Maybe if you can get back to you recovery somehow you can just flash another rom and install it where you can have your supersu access back.
Sent from my SGH-T989 using xda app-developers app

Categories

Resources