Mobile phone developers often need to use adb to connect multiple devices of the same product model on one PC at the same time, many times the usb serial number is the same, so that the same PC cannot be connected to multiple identical devices at the same time. For example, some occasional problems require a large sample size for testing.
1. First, the mobile terminal requires the root permission, and then drag/data/usb_serial_num.txt from the mobile phone to the PC through adb pull, and then modify the corresponding number.
2. Add the modified usb_serial_num.txt file to the mobile phone/data Directory through adb push.
3. You only need to connect all numeric strings in usb_serail_num.txt of the same PC using the adb method.
4. connect multiple mobile terminals on the same PC using the adb-s device serial number
In the following command, 19761202 is the modified usb serial number.
Adb-s 19761202 shell
Adb-s19761202 logcat
Adb-s19761203 logcat
Adb-s19761204logcat