Hikey960 adb multiple devices same serial number


#1

Hi,

we have some 5 Hikey960 boards, all are showing the same serial number with “adb devices” command. Because of which not able to use multiple devices at same time.
Can somebody please suggest how to use multiple devices with usb cable.

Thanks


#2

I think you can change serial number somehow


#3

Any idea How to change it??


#4

Try adding below to device/linaro/hikey960/BoardConfig.mk

BOARD_KERNEL_CMDLINE += androidboot.serialno=0123456789


Adb connection issue: no device number seen
#5

You can also use fastboot to assign a serial number:
$ fastboot getvar nve:SN@16_DIGIT_NUMBER

source https://source.android.com/source/devices


#6

Thanks vchong and Loic.

Below method for changing random number at runtime worked.

fastboot getvar nve:SN@16_DIGIT_NUMBER