Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

change android development device id

Tags:

android

adb

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.

like image 700
tback Avatar asked Apr 14 '26 18:04

tback


1 Answers

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.

like image 98
fadden Avatar answered Apr 16 '26 07:04

fadden



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!