Terminal su permissions? - Android Software/Hacking General [Developers Only]

How do I get Terminal Emulator root access?

You have to have the superuser apk. When you type su into the terminal a window will popup and you just have to accept the root access.

evilkorn said:
You have to have the superuser apk. When you type su into the terminal a window will popup and you just have to accept the root access.
Click to expand...
Click to collapse
okay, I have superuser.apk and it's working because i am overclocking at 652MHz, but when I type su into terminal is says permission denied and no window pops up.

bchsun said:
okay, I have superuser.apk and it's working because i am overclocking at 652MHz, but when I type su into terminal is says permission denied and no window pops up.
Click to expand...
Click to collapse
do you have busybox in your rom?

not sure... i'm running CM 5.0.7ds

Related

[Q] Give super permissions to terminal emulator?

Hi, i'm currently on a donut ROM on my G1, when I type su into terminal emulator, rather then getting prompted to give terminal emulator permissions, it instead just says Permission Denied
How can I give Terminal Emulator SU permissions?
Have you went into the SU app and told it to forget Terminal then tried allowing it again?
Usually does the trick

Root and SU issues

Hello Everyone,
I have recently rooted my phone again but am having an issue. I cannot do an adb remount becase it says that permission is denied. This is going to be due to the fact that when I adb shell it starts with a $ instead of #. If I do the following it will work so that I can push files and system files:
PHP:
adb shell //enter adb shell
su //activate superuser
mount -o rw,remount /dev/block/mmcblock1p21 /system //mounts the drive and allows read/write
exit //exit superuser
exit //exit shell
adb push xxxxxxxxxx.apk /system/xxxxxxxxx/ //push whatever file is needed
My question is why can I not just adb push or remount? Does anyone know how to make it so that I auto superuser when doing adb shell so i get # instead of $?
you should be able to just type adb remount and have the /system turned either RW or RO depending on what its changing from...
Have you granted superuser permissions to adb? It should pop up on the phone.
yes superuser works on the phone. I can access superuser and it will work but I have to do it manually.
jj702561 said:
you should be able to just type adb remount and have the /system turned either RW or RO depending on what its changing from...
Click to expand...
Click to collapse
I understand that it should allow it but its not. That is exactly what this post is for. If i do the commands list in the first window this is manually change it to RW and then after I finish I set it back to RO.
theecho said:
yes superuser works on the phone. I can access superuser and it will work but I have to do it manually.
Click to expand...
Click to collapse
Right, but a superuser request will pop up when you use adb remount. Try it again and check the phone for it.
its not getting to that point. It is giving me an error on the command prompt. I have checked for it and the SU wasnt there

[Q] Superuser problem. MT4G

When I type su into terminal emulator it says "unknown root user". How do I fix this, so i could get permission granted again?

Can be closed now.

Just curious. I tried to root a Gingerbread emulator with the new Gingerbreak method, but that didn't work.
Typed by Z using the Gingerbread keyboard.
It's rooted by default. What do you want to do?
No it's not, try su-ing in a console.
GaiusM said:
No it's not, try su-ing in a console.
Click to expand...
Click to collapse
Code:
$ adb devices
List of devices attached
emulator-5554 device
$ adb shell
# <-- '#' indicates that I'm root.
# umount /cache <-- only root can do that
# su <-- su works too
#
Do you use "adb shell" or some terminal emulator app?
yes the emulator is already rooted, but it cannot run root-required app, like root explorer.
aldee_s said:
yes the emulator is already rooted, but it cannot run root-required app, like root explorer.
Click to expand...
Click to collapse
Ok, thread can be closed now.
Typed by Z using the Gingerbread keyboard.

Absolute n00b ?

How can I "officially" confirm that I successfully rooted my Samsung GT P7510 tab. I apologize in advance if my question has already been answered.
Thanks....Tom
http://www.xda-developers.com/android/root-checker-application/
there's an even better way that uses the terminal emulator, but i can't remember/find it >_<
download terminal emulator and type "su" (without " ") a window will pop up.Press allow.
Results from Root Check
Congratulations! You have root access!
Superuser.apk - com.noshufou.android.su - version 3.0.6 is installed!
Standard su binary location:
/system/xbin/su: No such file or directory
Alternate su binary location:
/sbin/su: Permission denied
Root user id:
uid=0(root)
Root group id:
gid=0(root)
Results provided by Root Checker from joeykrim in the Android Market
[email protected] said:
download terminal emulator and type "su" (without " ") a window will pop up.Press allow.
Click to expand...
Click to collapse
that's it! thanks.
I ran the emulator and allowed it. This definitely means my Tab is rooted? What about the denied portion of my previous post? Also, Titanium Backup won't work. Says my device isn't rooted. I have 4 other apps running that require root access and they all work fine. A glitch with Titanium Backup?
TIA,
Tom
mtmerrick said:
that's it! thanks.
Click to expand...
Click to collapse
no probzz
Wow, thanks for the answers folks.
test1234567
test 10987654321
1234567890111
abcderghijk
lmnopqrstuvw
xyzyadayadayadayada
one more time....yadayadayada

Categories

Resources