Results 1 to 3 of 3
  1. Thread Author  Thread Author    #1  

    Default su commands running via adb shell or terminal emulator freezing up

    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
    $
  2. #2  
    srkmagnus's Avatar

    Posts
    6,751 Posts
    Global Posts
    6,754 Global Posts
    ROM
    Stock 4.4 (KitKat)

    Default Re: su commands running via adb shell or terminal emulator freezing up

    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.
  3. Thread Author  Thread Author    #3  

    Default Re: su commands running via adb shell or terminal emulator freezing up

    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.

Similar Threads

  1. G2 freezing, locking up!
    By xsinfulangel in forum AT&T LG G2
    Replies: 3
    Last Post: 01-23-2014, 12:52 PM
  2. Nexus 5, LG G2 or Galaxy S4?
    By Yev91 in forum General News & Discussion
    Replies: 53
    Last Post: 01-09-2014, 03:49 PM
  3. Screen Issue (hardware or software?)
    By osubeavs728 in forum Google Nexus 7 Tablet (2013)
    Replies: 4
    Last Post: 01-04-2014, 01:30 PM
  4. Volume up key in idle
    By sanyka78 in forum Samsung Galaxy S4
    Replies: 2
    Last Post: 01-03-2014, 11:18 PM
  5. Help with tethering kindle fire hd- smartphone or mifi?
    By Aiyana Leigh in forum General Help and How To
    Replies: 0
    Last Post: 01-03-2014, 08:51 PM

Posting Permissions

B