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.
More Related Contents:
- INSTALL_FAILED_NO_MATCHING_ABIS when install apk
- Retrieve database or any other file from the Internal Storage using run-as
- How do I get an apk file from an Android device?
- How can I deploy and execute an application on a device connected to a remote system?
- Adb won’t start
- Set up adb on Mac OS X
- “unable to locate adb” using Android Studio [duplicate]
- Why do I get a “sqlite3: not found” error on a rooted Nexus One when I try to open a database using the adb shell?
- Send data back to the script which started the activity via adb shell am start
- Installing ADB on macOS [duplicate]
- Where to find info on Android’s “service call” shell command?
- Why is Eclipse’s Android Device Chooser not showing my Android device?
- Android Studio – Lollipop, ADB, & Genymotion issues: Devices won’t show up. “adb server is out of date. killing…” [duplicate]
- Android ADB stop application command like “force-stop” for non rooted device
- Sending intent to BroadcastReceiver from adb
- error “activity class does not exist” when launching android app with adb shell am start
- get launchable activity name of package from adb
- Nexus 7 not visible over USB via “adb devices” from Windows 7 x64
- Trying to add adb to PATH variable OSX
- Android: adb pull file on desktop
- How do I get MEID and IMEI information using adb commands on Android 5.0?
- How can one pull the (private) data of one’s own Android app?
- Android Studio – ADB Error – “…device unauthorized. Please check the confirmation dialog on your device.”
- Install app via usb: The device is temporarily restricted
- How to get the phone number of an android phone via adb?
- Can’t connect Nexus 4 to adb: unauthorized
- Getting “error: closed” twice on “adb reverse”
- How to define and use a system property in Android Instrumentation test?
- How to measure time from adb shell with milliseconds resolution?
- Set date/time using ADB shell