Jump to content

adb ls -l weird output?


Recommended Posts

Guest sprucas
Posted

guys,

i have rooted htc hero - i loaded RA 1.2.3 recovery image and installed MoDaCo 2.9 ROM

am running adb to connect and view system

when i run ls -l to show the files & directories i get a really weird output

ls -l

drwxrwx--- 1 1000 2001 2048 Nov 27 02:32 ←[1;34mcache←[0m

drwxrwx--x 1 1000 1000 2048 Nov 27 02:32 ←[1;34mdata←[0m

-rw-r--r-- 1 0 0 118 Jan 1 1970 ←[0;0mdefault.prop←[0m

drwxr-xr-x 11 0 0 1340 Nov 27 02:32 ←[1;34mdev←[0m

lrwxrwxrwx 1 0 0 11 Nov 27 02:32 ←[1;36metc←[0m -> ←[1;34

m/system/etc←[0m

-rwxr-x--- 1 0 0 106764 Jan 1 1970 ←[1;32minit←[0m

-rwxr-x--- 1 0 0 1677 Jan 1 1970 ←[1;32minit.goldfish.rc←

[0m

-rwxr-x--- 1 0 0 2781 Jan 1 1970 ←[1;32minit.hero.rc←[0m

-rwxr-x--- 1 0 0 10746 Jan 1 1970 ←[1;32minit.rc←[0m

-rw-r--r-- 1 0 0 11336 Jan 1 1970 ←[0;0mlogo.rle←[0m

dr-xr-xr-x 110 0 0 0 Jan 1 1970 ←[1;34mproc←[0m

drwx------ 2 0 0 0 Jan 1 1970 ←[1;34mroot←[0m

drwxr-x--- 2 0 0 0 Jan 1 1970 ←[1;34msbin←[0m

drwxrwxrwx 10 1000 1000 4096 Nov 27 06:38 ←[1;34msdcard←[0m

drwxrwxrwt 2 0 0 40 Nov 27 08:47 ←[1;34msqlite_stmt_journ

als←[0m

drwxr-xr-x 14 0 0 0 Jan 1 1970 ←[1;34msys←[0m

drwxr-xr-x 1 0 0 2048 Jan 21 1980 ←[1;34msystem←[0m

what are all the ←[1;34m everywhere and other bits of characters?

any ideas?

thanks

sprucas

Posted

Those are colour codes from the updated LS in busybox, your terminal app isn't interpreting them correctly.

You could use 'ls --color=never' until such time as I rebuild that into busybox... :D

P

Posted
Those are colour codes from the updated LS in busybox, your terminal app isn't interpreting them correctly.

You could use 'ls --color=never' until such time as I rebuild that into busybox... :D

P

or you could use an operating system with an actual terminal, not a crappy "command line". works fine in linux, windows just doesn't have any functionality udner the gui.

Posted

For those having issues with garbled LS output (incorretly interpreted colour codes), I posted a fixed busybox in this topic.

P

  • 2 weeks later...
Guest sprucas
Posted
For those having issues with garbled LS output (incorretly interpreted colour codes), I posted a fixed busybox in this topic.

P

Hi Paul,

Thanks very much for your help

I loaded your new 3.0 rom and everything works fine now

the garbled output was coming when i used adb

adb to the new rom works fine - i will also try busybox

regards

Luke

Guest Dan Mullen
Posted
Hi Paul,

Thanks very much for your help

I loaded your new 3.0 rom and everything works fine now

the garbled output was coming when i used adb

adb to the new rom works fine - i will also try busybox

regards

Luke

Use PuTTY - the output is fine :D

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.