su commands running via adb shell or terminal emulator freezing up

cobot2004

New member
Aug 31, 2012
2
0
0
When I start an adb shell (or use the android terminal emulator) and run commands as root I am not returned to a command prompt after the output is listed. So, for example, if I run the 'date' command the output is listed and I can't do anything after that except for Ctrl-C to kill the shell. If I run the same command but not as root there is no problem and after the output is listed I am returned to command prompt. (HTC Incredible 2, AN. 2.3.4) Any ideas as to what's going on? BTW, this happens with other commands as well ls, etc.

$ date
date
Fri Jan 3 03:57:47 EST 2014
$ su
su
# date
date
Fri Jan 3 03:57:55 EST 2014
^C
C:\Android\platform-tools>adb shell
$ su
su
# date
date
Fri Jan 3 03:58:08 EST 2014

^C
C:\Android\platform-tools>adb shell
$ date
date
Fri Jan 3 03:58:19 EST 2014
$
 
Open terminal emulator and type su <press enter>

That should return the # result (if rooted) or $ (if not rooted). You should then be given a new line to continue a new command prompt. If not, uninstall the emulator, reboot the device then re-install terminal emulator.
 
Thanks for the response. I tried what you suggested but I'm still having the same problem. The problem also occurs when I use adb.
 

Forum statistics

Threads
954,200
Messages
6,960,886
Members
3,162,941
Latest member
steve_niceguy