First, you need to modify the udev file after this method is completed.
My mobile phone is Huawei C8812 and adb cannot be connected in any way. It always displays:
List of devices attached
????????????Device
Although adb shell can be used, eclipse cannot be used at all. All the methods on the network cannot make it no longer contain garbled characters.
It is said that this problem is not about android, but about Huawei mobile phones. Finally, I found a method that is feasible for most Huawei (Huawei C8812 is feasible ):
10th floor of the original website
The problem is found. Take C8812 as an example.
Dialing: * #2846579 #*#*
ProjectMenu-> background settings-> USB port configuration-> Google Mode
Some other Huawei mobile phones do not have USB port configuration in the background settings, so I still don't know how to do this.
Then you can!
List of devices attached
0C37DC0E2827Device
Debug now!
Note:
How to modify udev?
Here is Google's standard solution
The second method of this URL is the same thing.