Remove All Ads from XDA

[Q] Changing default shell?

301 posts
Thanks Meter: 55
By gumbyx84, Senior Member on 5th January 2014, 05:36 PM
Post Reply Email Thread
Hey all,

I'm hoping I'm in the right area to post this question. If I am not, if you could direct me to where I should post it I would appreciate it.

Anyway, here is my question: How does one go about changing the shell that su uses? I am using Android Terminal Emulator and while I have changed the default shell command line to ash, I am unable to figure out how to change the shell used when going into superuser mode. The default terminal is missing my most used feature (command recall) and I'd like to get it back.

If you could help me out, I would greatly appreciate it.
12th January 2014, 04:34 AM |#2  
gumbyx84's Avatar
OP Senior Member
Thanks Meter: 55
No one? Really?
12th January 2014, 05:26 AM |#3  
donaldta's Avatar
Senior Member
Thanks Meter: 460
Donate to Me
Originally Posted by gumbyx84

No one? Really?

Well, if you were to use "/system/xbin/su -c /system/xbin/bash" in Cyanogenmod then it would give you bash shell as root. So, if you change the path to bash to ash on your ROM then you can have ash shell as root.
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes