So I noticed galaxo is using a colour term profile which is really nice, except for us poor windows users
You could of course enable SSH, reboot, and turn wifi on and then ssh in using putty, but that's not really that convenient. Especially if you dont like to leave ssh running.
Instead you can run dropbear manually and redirect the port using adb, then putty in directly.
You can change 'password' to anything you like. The SSH_OFF just finds the dropbear pid and kills it.
After running SSH_ON just putty to 127.0.0.1 and port 9999, make sure to select ssh as the protocol. And hey presto a nice colour shell, and stuff like vim also works!
I have no clue when it comes to linux but I love my phone so I'd like to know everything about it.. can you please tell me what all those things that you wrote could help me to?
you can use adb (part of the android sdk) to open a shell (like a command prompt) to your phone. The above just lets you do it through putty, which gives you a nice colour version of that window, instead of loads of wierd characters.
If you don't know what adb is, don't worry. This post isnt really for you
You can also just type "sh", after adb shell, to use simply shell without color prompt
Yeah, i tried that first, but if you type ls, or try vim its a mess. Anyway I prefer using putty over cmd. I can copy and paste easily, set a huge buffer and stretch the screen width past 80 chars
Yeah, i tried that first, but if you type ls, or try vim its a mess. Anyway I prefer using putty over cmd. I can copy and paste easily, set a huge buffer and stretch the screen width past 80 chars
You right, in the case of ls, you can add an alias with "ls --colors=never"...but like you i think using putty is better
c:\android-sdk-windows-1.5_r3\tools>adb shell "/system/xbin/dropbear -E -A -N ro
ot -U 0 -G 0 -C password -p 2222"
[3047] Oct 17 08:17:11 Failed reading '/etc/dropbear/dropbear_rsa_host_key', dis
abling RSA
[3047] Oct 17 08:17:11 Failed reading '/etc/dropbear/dropbear_dss_host_key', dis
abling DSS
[3047] Oct 17 08:17:11 premature exit: No hostkeys available/CODE]
where am i going wrong?
EDIT sorry im ******** :P
worked it out
too early for me had a hard week and im sorting both my kids out this morning
You must turn at least once ssh using GalaxoConf (and reboot to apply) to enable rc to create the keys. (after that you can disable it in GalaxoConf, reboot again, and use kam197 method).
Here is some work around the coloring on WinNT+ (XP, etc).
Add the line:
DEVICE=%SystemRoot%\system32\ANSI.SYS
in file :
C:\WINDOWS\system32\CONFIG.NT
Then lanch a command.com (and not a "cmd")
Try color mode using :
PROMPT $E[0;32;40m$P$G$E[0;32;40m
This shows the the ANSI X3.64 syntax/escaping work.
Now, the problem is that if you launch an "adb shell" you still do not get get ASCII sequence work
You get sequences like :
"←[01;32m[root@galaxy←[01;31m:←[01;34m/]←[00m"
My current understanding is that the ESC char might be the wrong one (some unicode char is displayed instead of the ESC used, why ?!?).
If you dont like the limitations of command.com you can also use TCC LE (previous version was called 4NT) and use the command SETDOS /A1 that enables the ANSI translation under TCC. You will used then the same commands and fail at the same place : this really make me thing there is an problem with the ESC value send thru ADB
I messed around with all of this too! In the end I just gave up and used ssh. I'll have another look when I have some time, but with the bat files, the ssh method is pretty easy too.
I'm trying to putty/ssh into my phone, username is root but whats the password ? I just enabled SSH in galaxo config so i assume there must be a default pw or something?
Thank you for signing up to receive updates for the 4
An email has been dispatched to confirm your signup. Please click the link in the email.
Buy the Samsung i7500
Sign up for instant notification when the Samsung i7500 goes on sale!
When Samsung joined the Open Handset Alliance, excitement and anticipation engulfed the mobile world. With industry leading mobile phones such as the Samsung Instinct and Samsung Omnia already on the market, expectations soared. The speculation can f... Read More