Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,812,642 Members 44,491 Now Online
XDA Developers Android and Mobile Development Forum

[HOW-TO] [ANDROID TERMINAL EMULATOR] Switch to root user automatically

Tip us?
 
Alexandroid99
Old
#1  
Alexandroid99's Avatar
Junior Member - OP
Thanks Meter 8
Posts: 21
Join Date: Mar 2014
Default [HOW-TO] [ANDROID TERMINAL EMULATOR] Switch to root user automatically

Hey there folks!

I found something out recently that is pretty useful.
Many of you surely use the Terminal Emulator.
Most actions require root privilegies and you always have to type in 'su' to aquire them.
It is possible to run it as root automatically.
Just follow this easy steps:

1. In the app, press the menu button and click on preferences.

2. Scroll down to the command line option and click on it.

3. Now remove the old line and enter this:
Code:
/system/xbin/su
If you prefer bash over the standard sh, add this line:
Code:
-s /system/xbin/bash
That's it, you now have a rooted terminal without any interaction.
I hope this is useful to you and have a nice day!
The Following User Says Thank You to Alexandroid99 For This Useful Post: [ Click to Expand ]
 
ohmpsy
Old
#2  
Junior Member
Thanks Meter 3
Posts: 15
Join Date: Jul 2013
Default working fine

this work fine on my gt-s5303b
 
Alexandroid99
Old
#3  
Alexandroid99's Avatar
Junior Member - OP
Thanks Meter 8
Posts: 21
Join Date: Mar 2014
Quote:
Originally Posted by ohmpsy View Post
this work fine on my gt-s5303b
then hit thanks if you want
The Following User Says Thank You to Alexandroid99 For This Useful Post: [ Click to Expand ]
 
Alexandroid99
Old
#4  
Alexandroid99's Avatar
Junior Member - OP
Thanks Meter 8
Posts: 21
Join Date: Mar 2014
Quote:
Originally Posted by ohmpsy View Post
this work fine on my gt-s5303b
By the way, this depends not on the device. The su binary just has to exist in the described location, that's all.
10 of 9 voices in my head are telling me that I'm not crazy. The 10th is humming the Tetris theme.
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes