Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[Q] Changing default shell?

OP gumbyx84

5th January 2014, 05:36 PM   |  #1  
gumbyx84's Avatar
OP Member
Thanks Meter: 7
 
60 posts
Join Date:Joined: Oct 2013
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.
Last edited by gumbyx84; 5th January 2014 at 05:43 PM. Reason: Changing thread title
12th January 2014, 04:34 AM   |  #2  
gumbyx84's Avatar
OP Member
Thanks Meter: 7
 
60 posts
Join Date:Joined: Oct 2013
No one? Really?
12th January 2014, 05:26 AM   |  #3  
donaldta's Avatar
Senior Member
Thanks Meter: 451
 
1,325 posts
Join Date:Joined: Aug 2013
Donate to Me
Quote:
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
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes