Hi there,

I think the only way to debug through serial port is to use a serial
console, like setting "console=/dev/ttyS0,115200n1
androidboot.console=/dev/ttyS0" (is it right?). Using adb through
serial seems not possible (unless you can emulate the adb protocol or
ethernet through the serial port, but this would be very rare).

I suppose you should be able to use adb through network (tcp). Are you
using it now? I now debug my device through WiFi, even when I have
`adb logcat`, `adb shell` and `adb shell cat /proc/kmsg` all running
at the same time the speed is quite fast. When I `adb push` some
files, the speed is 141 KB/s (10104 bytes in 0.069s), which is quite
acceptable. I expect running through wired ethernet can be much
faster.

I just add `setprop adb.tcp.port 5555` to init.rc to be able to use
adb via network. Don't even think of using serial port as the speed
would be much much slower.

Good luck,
Alvin Wong

On 2月3日, 下午2時25分, ji fei <[email protected]> wrote:
> I am now connecting my development device through ethernet because the usb
> port hasn't been enabled. But every time i restart some thread the
> connection is disconnected and dispatching a app to device is also very
> slow. So i doubt is it possible to using serial port to connect?
> thanks

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to