This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi ,ti expert
Dose ADB(Android debug bridge) full functions(Client, Service, Deamon) supported in SDK 7_0_1?
If not, could you help to support ADB functions?
thanks
qianmingzhe
Hello,
1. Can you provide more information on the purpose and usage of such capability on linux?.
2. What is the target device.
If you are looking for debug capability, you can get the serial log from the evm.
Adb underlying uses USB gadget mode. Such USB functionality as gadget mode should be present in Linux sdk.
If the purpose of adb is something else, please provide more details.
Hi,
We'll disable serial port when product release. ADB is need for debug(logcat..etc) and many other operations.
Hi Difei Ding,
I understand your requirement but unfortunately ADB is not going to be supported on Linux SDK. You will have to add this by yourself if this is needed for your project.
Regards
Karthik
Hi Karthik Ramanan
Could you help to provide some support, such as related document or comments etc...?
Regards
Difei Ding
Hi Difei Ding,
We haven't worked on adding adb support on the Linux SDK so far, it has never been a requirement.
This is a long shot and it hasn't been tried on the TISDK, you can start with rebuilding the Yocto filesystem by including the "android-tools" recipes. It is located under "./meta-openembedded/meta-oe/recipes-devtools/android-tools/android-tools_5.1.1.r37.bb"
This may be the starting point for you to explore further.
Regards
Karthik
Hi Karthik,
ADB host is work now. But adbd no function.
I think we shoud add usb_composit_driver for adbd in kernel, right?
Could you help to provide any documents or comments for how to use configfs and usb_composit_driver?
Regards
Difei Ding
Hi Difei Ding,
We don't have any document for USB configfs steps.
For reference you can look at Google (Android) kernel config options to see what they enable in kernel for configfs functionfs
https://android.googlesource.com/kernel/configs/+/refs/heads/master/android-5.4/android-base.config
And on the user space side, below files can be looked for reference
* android.googlesource.com/.../init.beagle_x15board.usb.rc
* https://android.googlesource.com/platform/system/core/+/refs/heads/android10-dev/rootdir/init.usb.configfs.rc
Regards,
Vishal