adb debug

To activate adbd logs (stored under /data/adb/adb-<date>.txt):

# setprop persist.adb.trace_mask 0xF

Then, kill daemon or reboot.

Windows host adb trace activation:

C:> set ADB_TRACE=all
C:> adb kill-server
C:> adb nodaemon server

To activate dynamic kernel traces regarding adb:

# mount -t debugfs /d /d
# echo -n "file f_adb.c +p" > /d/dynamic_debug/control
# echo -n "file composite.c +p" > /d/dynamic_debug/control

Then:

# grep usb /data/logs/aplog

posted on 2014-12-13 09:54  阿加  阅读(359)  评论(0)    收藏  举报

导航