[Q] Superuser permission - Galaxy Spica General

Hi !
I try to overclock my Spica with CPU Master Pro.apk but when i start it i get the message that Superuser has denied CPU Master Pro permissions.
I have rooted my phone with z4root.apk and with the program from the Unlockroot.com.
I use stock room (Original)
I found this:
__________________________________
1. USB debugging off
2. Plug in the phone to your computer.
3. Turn USB debugging on
4. Open a command prompt and cd to C:\android-sdk-windows\tools
5. type adb shell
6. type su
7. On your phone open up setCPU. It'll then prompt you to allow or disallow SU permissions!
__________________________________
but it didn't work.
Any ideas ?

seriously anyone? almost 100 views..

bump..?

Related

[Q] ADB "Permission Denied"

hey guys need help so my Mytouch 4G updated and perm rooted, and i keeep gettin gthe permission denied everytime i try and execute a command thru adb thru my pc or on the Terminal Emulator. Did something not go thru on root or am i missing something simple? any help would be greatly appreciated. Thanks
mrpanic7 said:
hey guys need help so my Mytouch 4G updated and perm rooted, and i keeep gettin gthe permission denied everytime i try and execute a command thru adb thru my pc or on the Terminal Emulator. Did something not go thru on root or am i missing something simple? any help would be greatly appreciated. Thanks
Click to expand...
Click to collapse
You may have to run visionary and reboot a few more times to make root privileges stick.
My MyGlacier 4G MINE!!!
Try this:
: adb shell (this should give $)
:$ su (next line type su, this should give you prompt on Super user to allow permission)
:# ( once you get this your good)
Sent from my HTC Glacier using Tapatalk
Try to install visionary and then re install open click temp root then permoot super user should ask to approve click yes. After that restart
Sent from my HTC Glacier using XDA App
Please post questions in Q&A forum. Thank you
ok everytime i try adb shell in terminal emulator it says the permission denied, im gonna try the first reply again and then see....any other ideas?
also guys, when i try and run visionary again it says your device is already rooted, along with when i type su in TE, it gives # with superuser permissions quote showing on bottom of screen, but i was trying to run adb commands from pc or from te and they still show permission denied. SetCPU works.
mrpanic7 said:
also guys, when i try and run visionary again it says your device is already rooted, along with when i type su in TE, it gives # with superuser permissions quote showing on bottom of screen, but i was trying to run adb commands from pc or from te and they still show permission denied. SetCPU works.
Click to expand...
Click to collapse
Ok, go into adb shell and type su + enter. Watch your phone when you do this. Superuser should ask if you want to allow "unknown" root privileges. "unknown" is adb. Click allow and your problems should go away.
My MyGlacier 4G MINE!!!
So typing su works and the message terminal emulator is granted permissions, but then any other commands dont work
Sent via MyTouch 4G
Whats a test command I could try?
Sent via MyTouch 4G
mrpanic7 said:
So typing su works and the message terminal emulator is granted permissions, but then any other commands dont work
Sent via MyTouch 4G
Click to expand...
Click to collapse
I ran into this same issue and it drove me crazy. I would not get prompted by the phone to allow su permissions when going through ADB- kept getting "permission denied"
I did finally get SU permissions through ADB, but I dont recall exactly what I did to get prompted to allow access.
I will try to retrace what I did... believe I had ADB shell running (without su permissions "$"), but I also had terminal emulator running on my phone. I entered the su command on my phone, then I did the same from ADB shell.
Finally the phone prompted me to allow access - accepted - and no problems from that point.
Basically, I just had to keep f'n with it.
Yeah thats my problem exactly. Yeah I appreciate any assistance you can provide. I mean my pc reads my device when I adb devices command, but it wont allow nothing past that. Please keep me informed on anything I can try, also im not thag most fluent with using sdk/adb stuff so any additional info with using that is much appreciated thanks again fellow enthusiasts!
Sent via MyTouch 4G
Have you tried to bacup su, then uninstall su. Reinstall su, Then try it again. MIGHT work
Sent from my HTC Glacier using XDA App
yeah i re-installed su and didnt help, @dbiggs-what can i do thru adb to initiate the su permissions to the device like you did?
I wish I could help more specifically, but I dont remember exactly what I did that allowed me access- just kept trying
Maybe try this...(dont be offended if any of these steps are ones that you already know or have tried, I am just trying to be as thorough as I can from memory)
Open up super user, then go back to the terminal emulator and enter the "su" command to gain superuser permissions.
Plug the phone into the computer, select charge only, enter ADB through tools (probably "C:\Android\tools" if your Android folder is in the root of your harddrive).
from the prompt C:\Android\Tools, enter:
adb shell
then you will get the "$" that you mentioned.
enter the "su" command, and hopefully you will get prompted to allow superuser permissions for ADB.
I am pretty sure these are the steps that I took, just had to keep trying.
Lemme know how it works out.
I see some people here asking about getting su privileges in adb, however I do have SU and I can run su in adb shell. My problem is that I am trying to push some files and use Android Commander. I can't run "adb remount" (remount failed: Operation not permitted), I can't copy files in Android Commander (it's says that I do not have ROOT)
How can I get Read-Write in ADB ??
Edit: Oh, now I got it, I don't have root in ADB, when i type "adb root" it says "adbd cannot run as root in production builds"
Did anyone figure this out? I'm being denied on TE and PC also.
I have managed to be able to get around this issue by going into recovery mode on my phone.
If the end result that you are looking for is to adb push files, then the easier way to do this is to flash clockwork recovery to your phone, then start your phone into recovery mode, mount system and you should be able to push files no problem.
Lemke know if this helps.
Sent from my HTC Glacier using XDA App
mrpanic7 said:
hey guys need help so my Mytouch 4G updated and perm rooted, and i keeep gettin gthe permission denied everytime i try and execute a command thru adb thru my pc or on the Terminal Emulator. Did something not go thru on root or am i missing something simple? any help would be greatly appreciated. Thanks
Click to expand...
Click to collapse
I'm pretty sure your issue has nothing to do with SU access. Most likely, your phone is simply mounting as r/o (read only) when it boots up, so ADB is unable to change anything to the system folder. The easiest way to mount as r/w (Read/Write) is to go into Root Explorer and click the r/w button in the top right corner, and then go to ADB and see if it will allow you to do the same commands that it previously denied.
I have the same issue with my phone mounting as r/o by default, but I haven't been able to figure out how to automount as r/w on the MT4G. If anyone knows how, please share.
I had this same issue, on several android phones including MT4G. Here is how I fixed it.
1. Connect phone via usb (I was in "charge only" mode, not disk drive mode)
2. Open command prompt and navigate to the android tools folder
3. type "adb shell"
4. MAKE SURE YOUR PHONE SCREEN IS ON AND UNLOCKED
- The above step is very important otherwise you will not get the SU prompt
5. At the "$" prompt type "su"
6. Your phone should now display the SU screen asking you to allow the connection root access.
7. Once you allow it, you are golden.
I did this on a windows pc. Hope it helps.

myTouch 4G: adb push su /sdcard/su ... error: device not found

I installed JDK and the Android SDK on this Windows XP 32bit system.
Copied the busybox, rage, root, su and Superuser.apk files into the platform-tools folder.
Connect the MT4G to the computer via USB.
The MT4G mounts as "G:\" on this Windows XP system.
Made sure USB debugging is enabled.
In the Command Prompt window:
C:\android-sdk\platform-tools> adb push su /sdcard/su
error: device not found
What did I do wrong?
Did you run "HTCDrivers.exe"? It's found on your SD card.
You should check out this this thread. It has an excellent write-up on setting up ADB as well as a much smaller installation file that makes the entire SDK unnecessary.
Can you access the contents of the SD card in windows explorer? If so you need to right click the G: and "eject". Now try it.
No, I did not install the "HTCDrivers.exe"
When I connected the MT4G to the XP system initially, it did not prompt me to do so.
Still I was able to view the G drive with Windows Explorer.
Anyway, I did install the "HTCDrivers.exe" and that took care of the "error: device not found" message. Don't see that anymore.
But now ...
...\platform-tools> adb push su /sdcard/su
failed to copy 'su' to '/sdcard/su': Permission denied
employee said:
But now ...
...\platform-tools> adb push su /sdcard/su
failed to copy 'su' to '/sdcard/su': Permission denied
Click to expand...
Click to collapse
I don't recognize that command. "su" is used to initiate root access in ADB shell, but you don't 'push' su to the phone to get that root access. What exactly are you trying to do?
TeeJay3800 said:
I don't recognize that command. "su" is used to initiate root access in ADB shell, but you don't 'push' su to the phone to get that root access. What exactly are you trying to do?
Click to expand...
Click to collapse
I am trying to follow these instructions:
http://wiki.cyanogenmod.com/index.php?title=TMobile_myTouch_4G:_Full_Update_Guide
I have already installed the Android SDK.
So ...
failed to copy 'su' to '/sdcard/su': Permission denied
... means I am stuck at step 6 under "Gaining Temporary Root Access".
Well, apparently after you connect the USB cable to XP and phone - you must select "Charging" on phone.
Once I did that it did not display the "failed to copy 'su' to '/sdcard/su': Permission denied" anymore and I am able to complete those adb commands.
employee said:
Well, apparently after you connect the USB cable to XP and phone - you must select "Charging" on phone.
Once I did that it did not display the "failed to copy 'su' to '/sdcard/su': Permission denied" anymore and I am able to complete those adb commands.
Click to expand...
Click to collapse
Glad you figured it out.
employee said:
Well, apparently after you connect the USB cable to XP and phone - you must select "Charging" on phone.
Once I did that it did not display the "failed to copy 'su' to '/sdcard/su': Permission denied" anymore and I am able to complete those adb commands.
Click to expand...
Click to collapse
LOL I was having the same problem. Switch to charging it worked like a charm. thanks mate
I just don't know if I still want CM 7.01 RC1 now. I kinda like the sense time and weather widget

Skype installation

I am trying to install the Skype from market by every time it gets downloaded full and when the installation starts it says insufficient memory. Pls i need this app very much is this a known issue? or only with my phone?
Clear cache by going to recovery seems to solve that problem for me.
i used "Android Terminal Emulator" app from market. and did the following as described in another thread
[*]Root your device.
[*]Get a shell on your device, for example by using "Android Terminal Emulator" (easier option) – or by enabling "USB debugging" in Settings => Application => Development, connecting your device to your computer via USB and using the Windows command line tool "adb.exe shell" (Android Debug Bridge).
[*]Type "su" [ENTER] in the shell to gain root permissions. (You might have to confirm granting root permission on your device.)
[*]Type "cd /data/data" [ENTER] and then "ls" [ENTER]. You should see a folder named "com.skype.raider".
[*]Type "rm -R com.skype.raider" [ENTER] to delete Skype's leftovers.
[*]Type "exit" [Enter] twice, close the shell and re-install Skype.
[/list]
it worked perfect on my Samsung indulge from metro.

Pershoot Kernel question

Hi guys,
could anyone explain me please how to enable usb charging with Pershoot´s Kernel (boot-cm_2636.4_ux-oc-xtra-vfpv3-d16_fp-101811)?
I rly don´t get this:
adb shell echo 1 > /sys/class/power_supply/battery/force_usb_charging
Thank you very much.
Sure bud,
The script you posted is meant to be run in a command prompt using the tablet's ADB interface. To access this you need the Android SDK (that is the tool for app development) installed on your PC. You can look up how to do this all over the interweb.
To make your life easier though, download a terminal emulator app from the Market, there are plenty of free ones. Once you've done that open it and run the script as follows
su
echo 1 > /sys/class/power_supply/battery/force_usb_charging
The "su" command gives you root access just as "adb shell" would in command prompt.
The catch is the script is not persistent after reboot. So you will need to run it again if you reboot the tab. This doesn't really bother me cause I only use it for charging in the car and it takes like 30 seconds to type in the script.
Enjoy!
Thank you very much!
Now it´s working.
FillTheVoid said:
Sure bud,
The script you posted is meant to be run in a command prompt using the tablet's ADB interface. To access this you need the Android SDK (that is the tool for app development) installed on your PC. You can look up how to do this all over the interweb.
To make your life easier though, download a terminal emulator app from the Market, there are plenty of free ones. Once you've done that open it and run the script as follows
su
echo 1 > /sys/class/power_supply/battery/force_usb_charging
The "su" command gives you root access just as "adb shell" would in command prompt.
The catch is the script is not persistent after reboot. So you will need to run it again if you reboot the tab. This doesn't really bother me cause I only use it for charging in the car and it takes like 30 seconds to type in the script.
Enjoy!
Click to expand...
Click to collapse
how do you make it stick ?
I ask this question in another forum and the result was, it´s not possible (maybe wrong).
By the way, after I enable USB charge, my notebook can´t find my Tab anymore.
Mondfahrer said:
I ask this question in another forum and the result was, it´s not possible (maybe wrong).
By the way, after I enable USB charge, my notebook can´t find my Tab anymore.
Click to expand...
Click to collapse
I found a way to very easily get it running.
download terminal emulator.
Go to system preference of terminal emulator and there is an option to enter initial command to after you start terminal emulator.
so just type in:
su - root
echo 1 > /sys/class/power_supply/battery/force_usb_charging
Whenever you start teminal emulator, it will enable usb charging
I use this app to NTSF http://forum.xda-developers.com/showpost.php?p=13337600&postcount=6

How to access the hidden menu from adb (MUST BE ROOTED)

Ive noticed alot of you are having trouble accessing the hidden menu on the N910P to enable GCF for your domestic unlocks so here you go
1. Must be rooted
2. adb sdk tools installed on your PC
3. Enable USB Debugging
4. Open up a command prompt and type the following commands below make sure you grant Root access when you type the "su" command
adb devices
adb shell
su
Once you allow adb root access your going to to see the # sign now copy and paste this command below and your hidden menu will appear. PROFIT
am broadcast -a android.provider.Telephony.SECRET_CODE -d android_secret_code://IOTHIDDENMENU
Will this work on Oreo?

Categories

Resources