Same serial number on several android devices. Adb is useless. How can I change the serial number?

You need to populate /sys/class/android_usb/android0/iSerial sysfs file with unique values for every device. Most vendors do it with custom init script, which would read the value from a persistent system property or a regular file and put it in sysfs on every power up.


Try editing /data/misc/wifi/serialno then reboot, it worked as a permanent solution for me

The location of this number may differ between android versions

The serial number should be stored in a file with only the serial number inside and no \n