Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,729,266 Members 41,917 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 3
Posts: 7
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!
 
ohmpsy
Old
#2  
Junior Member
Thanks Meter 0
Posts: 3
Join Date: Jul 2013
Default working fine

this work fine on my gt-s5303b
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes