Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
nebenezer
Old
(Last edited by nebenezer; 13th December 2009 at 07:38 PM.)
#1  
nebenezer's Avatar
Senior Member - OP
Thanks Meter 130
Posts: 3,103
Join Date: Dec 2009
Default Terminal Emulation

I downloaded a terminal emulator (a free one first then Better Terminal Emulator Pro") just to have it and carefully familiarize with the OS on this phone.

Before I installed fresh 1.0 when I opened it a screen with a lone "$" and would appear and function just as ADB SHELL does from my PC (XP).

After fresh the initial screen displays:

$ export PATH=/data/local/bin:$PATH
$

From this screen if I type "su" it goes to another screen titled "su request" and times out to a FC in about a minute or two.
Also in the Preferences menu the Command Line option is set to:

/system/bin/sh -#/

I can navigate into folders in "$" but no matter how deep I go "exit" closes the emulator instead of going back one level.

I am not using almquist shell, just android shell.

Any insight into what this means would be appreciated.
 
x99percent
Old
#2  
Senior Member
Thanks Meter 112
Posts: 352
Join Date: Dec 2007
Location: Detroit

 
DONATE TO ME
Quote:
Originally Posted by nebenezer View Post
I downloaded a terminal emulator (a free one first then Better Terminal Emulator Pro") just to have it and carefully familiarize with the OS on this phone.

Before I installed fresh 1.0 when I opened it a screen with a lone "$" and would appear and function just as ADB SHELL does from my PC (XP).

After fresh the initial screen displays:

$ export PATH=/data/local/bin:$PATH
$

From this screen if I type "su" it goes to another screen titled "su request" and times out to a FC in about a minute or two.
Are you on fresh 1.0 now? I *think* the issue with the "su request" screen being blank was in an older version of the fresh ROM.


Quote:
Originally Posted by nebenezer View Post
I can navigate into folders in "$" but no matter how deep I go "exit" closes the emulator instead of going back one level.
Completely normal... "exit" will exit the current shell you're in. If you want to go back one directory, then "cd .."
 
nebenezer
Old
(Last edited by nebenezer; 13th December 2009 at 08:02 PM.)
#3  
nebenezer's Avatar
Senior Member - OP
Thanks Meter 130
Posts: 3,103
Join Date: Dec 2009
Default Answer found

I had USB debugging off, switched it on and terminal emulator works.

Quote:
Originally Posted by x99percent View Post
Are you on fresh 1.0 now? I *think* the issue with the "su request" screen being blank was in an older version of the fresh ROM.

Completely normal... "exit" will exit the current shell you're in. If you want to go back one directory, then "cd .."
That was quick! Thanks x99%

Yes, using 1.0.

I tried cd.. before, it did nothing. Allowing usb debugging has done the trick, works fine.
 
obelisk79
Old
#4  
Senior Member
Thanks Meter 6
Posts: 661
Join Date: May 2008
also cd.. should be cd .. has to have space between cd and the ..
 
nebenezer
Old
#5  
nebenezer's Avatar
Senior Member - OP
Thanks Meter 130
Posts: 3,103
Join Date: Dec 2009
Quote:
Originally Posted by obelisk79 View Post
also cd.. should be cd .. has to have space between cd and the ..
did not know that, Thanks!
 
x99percent
Old
#6  
Senior Member
Thanks Meter 112
Posts: 352
Join Date: Dec 2007
Location: Detroit

 
DONATE TO ME
Quote:
Originally Posted by nebenezer View Post
I had USB debugging off, switched it on and terminal emulator works.
Ah... good catch.
 
posguy99
Old
#7  
Senior Member
Thanks Meter 2
Posts: 775
Join Date: Nov 2009
Quote:
Originally Posted by nebenezer View Post
After fresh the initial screen displays:

$ export PATH=/data/local/bin:$PATH
$
<shrug> The fresh ROM's busybox has something in its rc file. Is this a problem for some reason?

Quote:
From this screen if I type "su" it goes to another screen titled "su request" and times out to a FC in about a minute or two.
Turn USB Debugging back on. Why people can't search, I'll never understand.

Quote:

I can navigate into folders in "$" but no matter how deep I go "exit" closes the emulator instead of going back one level.
Uh, that's because that's what exit is supposed to do.
 
david279
Old
#8  
david279's Avatar
Senior Member
Thanks Meter 734
Posts: 3,932
Join Date: Sep 2007
Location: New Orleans
try "cd -" that works for me.

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

Open Source CPU Info App for Windows

So you’re playing with your shiny new Windows 8 tablet PC, when one of your like-minded geeky … more

Guide to Using Adobe Air on Android

When writing an app with performance in mind, you most likely want to write it native code using the … more