integrate android 11 into pytech pollux

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

integrate android 11 into pytech pollux

2,323 次查看
prashantha
Contributor I

I am building android 11 in pytech pollux board (aosp) and i need to enalbe android debugger(adb shell) in pytech pollux board which is based on i.MX 8M  

Is there a default CONFIG_ option which needs to be turned on in phytec phyboard pollux board for this to work /
 which port should be connect to enable adb environment ??
 

can you please share method to enable adb in android 11 with respect to pytech pollux board 

 

Thanks 

0 项奖励
回复
2 回复数

358 次查看
yisey
Contributor I

To enable ADB on the Phytec Pollux board (i.MX 8M) running Android 11, make sure the kernel has USB gadget and ADB support enabled (CONFIG_USB_GADGET, CONFIG_USB_ANDROID, CONFIG_USB_FUNCTION_ADB). In the device tree, set the USB controller to peripheral mode (dr_mode = "peripheral"). In your Android build configuration, enable ADB with BOARD_USES_ADB := true or persist.service.adb.enable=1. You might even test with нулс бравл for reference. Connect your host PC to the board’s micro-USB OTG port. After boot, run adb devices to verify the connection; you should then be able to use adb shell and other ADB commands.

0 项奖励
回复

1,919 次查看
manu_d
Contributor I

I have a same question. Can someone from a community please answer to this question ? If it's a basic, please educate us. 

 

0 项奖励
回复