change android development device id

大兔子大兔子 提交于 2019-12-31 02:10:29

问题


I'd like to connect multiple android devices to the same machine and manage them by the adb. Unfortunately some android models show the same development device id to adb. Is there a way to change the development device id?

$ adb devices
List of devices attached 
LG_ANDROID_E0OPEN_GB_   device
LG_ANDROID_E0OPEN_GB_   device

Please note that this question is related to 9786928. As I understand it, the OP was misunderstood and the question is still not answered.

Thanks for your help.


回答1:


For the LG E400, there is a firmware update (V10i-JUN-01-2012) available that addresses this issue.

Before update I've seen the same ID like you for all devices, after update the devices have unique ids.




回答2:


Not without altering adb. The adb "server" (i.e. the part that runs on your workstation) just uses the value it gets from the device, which are in turn set by the bootloader. You could in theory modify the adb server to include additional information in the string, such as the USB device number assigned when the device was plugged in (if you're on Linux, run lsusb and imagine the "bus" and "device" values are included in the device ID).

You may also be able to do this by installing a custom ROM.



来源:https://stackoverflow.com/questions/13868411/change-android-development-device-id

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!