Tina adb调试
-
请问各位大佬,tina(F133)怎么开启adb功能。求指教!!1
-
@shz18877605430
sdk默认已经开启了。①usb切换到device,②运行adbd。
-
@whycan 已搞定,谢谢
-
借个楼请教一下: 如何通过APP 动态地 开启与关闭 adbd 且避免变砖
-
@rayzhang 两个方法,第一个:控制usb otg。第二个,控制adbd服务
-
@whycan 你好,我现在按照这个方式出现如下报错:
root@TinaLinux:/# cat /sys/devices/platform/soc@3000000/soc@3000000\:usbc0@0/usb _device [ 593.130091] [ 593.130091] rmmod_device_driver [ 593.130091] [ 593.136883] rmmod_device_driver()222 WARN: get power supply failed [ 593.143937] android_work: sent uevent USB_STATE=DISCONNECTED [ 593.150587] [ 593.150587] insmod_device_driver [ 593.150587] device_chose finished! root@TinaLinux:/# [ 593.320672] sunxi_set_cur_vol_work()489 WARN: get power supply failed [ 593.357447] android_work: sent uevent USB_STATE=CONNECTED [ 593.370148] sunxi_set_cur_vol_work()489 WARN: get power supply failed [ 593.429780] configfs-gadget gadget: high-speed config #1: c [ 593.436336] android_work: sent uevent USB_STATE=CONFIGURED root@TinaLinux:/# adb adb_shell adbd root@TinaLinux:/# adb adb_shell adbd root@TinaLinux:/# adbd init adb main [adbd D]qemu_pipe_open: Could not open /dev/qemu_pipe: No such file or directory[adbd D]Handling main() Handling main() [adbd D]Warning: ADB_EXTERNAL_STORAGE is not set. Leaving EXTERNAL_STORAGE unchanged. cannot bind 'tcp:5037' root@TinaLinux:/# adbd init adb main [adbd D]qemu_pipe_open: Could not open /dev/qemu_pipe: No such file or directory[adbd D]Handling main() Handling main() [adbd D]Warning: ADB_EXTERNAL_STORAGE is not set. Leaving EXTERNAL_STORAGE unchanged. cannot bind 'tcp:5037' root@TinaLinux:/# adbd -D init adb main [adbd D]qemu_pipe_open: Could not open /dev/qemu_pipe: No such file or directory[adbd D]Handling main() Handling main() [adbd D]Warning: ADB_EXTERNAL_STORAGE is not set. Leaving EXTERNAL_STORAGE unchanged. cannot bind 'tcp:5037'
-
@wyljkl 在 Tina adb调试 中说:
root@TinaLinux:/# adbd
init adb main
[adbd D]qemu_pipe_open: Could not open /dev/qemu_pipe: No such file or directory[adbd D]Handling main()
Handling main()
[adbd D]Warning: ADB_EXTERNAL_STORAGE is not set. Leaving EXTERNAL_STORAGE unchanged.
cannot bind 'tcp:5037'执行 /etc/init.d/adbd start 是不是这样:
root@TinaLinux:/# /etc/init.d/adbd start root@TinaLinux:/# error: Function not implemented: cannot open transport registration socketpair
-
@wyljkl
刚刚我也出现这个问题,发现 adb_socketpair() 无法执行,检查发现内核里面把CONFIG_NET选项屏蔽了,把这个选购开起来就正常了.
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号