Jump to content

Weird problem with ADB Shell


Recommended Posts

Guest Simon O
Posted

I'm trying to use ADB shell whilst booted into Android. Running an LS gives results like this:

Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Users\Flibblesan>adb shell
# ls
ls
←[1;34mcache←[0m ←[1;32minit←[0m ←[1;34msbin←[0m
←[1;34mconfig←[0m ←[1;32minit.goldfish.rc←[0m ←[1;34msdcard←[0m
←[1;36md←[0m ←[1;32minit.qcom.rc←[0m ←[1;34msqlite_stmt_journals←[0m
←[1;34mdata←[0m ←[1;32minit.qcom.sh←[0m ←[1;34msys←[0m
←[0;0mdefault.prop←[0m ←[1;32minit.rc←[0m ←[1;34msystem←[0m
←[1;34mdev←[0m ←[1;34mproc←[0m
←[1;36metc←[0m ←[1;34mroot←[0m
#[/code]

Any idea why?

Guest Josh04
Posted

I've always had that with 2.1 roms on windows. I think it's something to do with Microsoft's crappy terminal emulator, maybe.

Guest Jan M
Posted

yeah...that's how windows displays colors...and I didn't find a way to turn it off with busybox v.1.8.1

Guest agitate
Posted

I had that problem too. Installed the latest version of the SDK (r06) and the terminal output is now normal again.

(First post here. So, hello, and thanks for all the great info.)

Guest Speckles
Posted

There's always:

ls --color=never

Since what you see are escape codes for coloring.

Guest Dave Blencowe
Posted

Just a wild guess as I'm running Linux but couldn't you use a shell alternative like Windows Power Shell as this supports colour formatting?

Guest Simon O
Posted

Powershell didnt solve the problem. Anyway I found that puttycyg with Cygwin does, so I'm using that.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.