Linux under the ADB drive problemLinux under the use of mobile phone USB debugging mode to connect ADB to the Android program debugging, configuration driver without windows to intuitive.The first step is to confirm that the phone is connected to the computer, LSUSB check the device record.[Email protected]:~$ LsusbBus
between the two modes. When the Android device is in host mode, it acts as a USB host and powers the bus. When the Android device is in Attachment mode, the connected USB hardware (in this case, an Android USB attachment) plays t
Android Developers all know that real machine debugging requires connecting the mobile phone to the PC, and then deploying the application to the real machine for installation and debugging. The long USB cable is troublesome, And it is inconvenient to connect the USB interfa
Android development under Ubuntu, found that their mobile phone even if the USB connection, USB debugging or not connected, has always been displayed??????. Baidu a lot, found to change the "/etc/udev/rules.d/50-android.rules" file, but the problem came, this is specifically for a mobile phone to use, in case you use s
Find the manufacturer ID of the USB device, which is the Vendor IDMethod 1:terminal Enter " system_profiler spusbdatatype"to find the USB device;Method 2: About the system report->USB find;
Add to Adb_usb.iniMethod 1:Terminal Enter "echo" Vendor ID ">> ~/.android/adb_usb.ini"Method 2:vi ~/.
1, in the mobile phone we click "Settings" and then in the system will not see [developer options] This option in the previous version of this feature, but in the Android4.2.2 is to hide the item Oh, then how to find out.
If we want to show [developer Options] just keep clicking continuously in the system [about Mobile]
2, like here I click 4 consecutive [version number] This item, on the line (different phone clicks are not the same OH)
3, click will be prompted to open the
1. Run sudovi/etc/udev/rules. d/51-Android.rules, create the 51-android.rules configuration file 2, add an entry according to the following data format: SUBSYSTEM = "usb", ATTR {idVendor} = "xxxx1 ", ATTR {idProduct }== "xxxx2", MODE = "0600", OWNER = "xxx
1. Run sudo vi/etc/udev/rules. d/51-Android.rules to create the 51-android.rules configuration file.
2. Add an entry in the following data format:
SUBSYSTEM = "
1. Run sudo vi/etc/udev/rules. d/51-Android.rules to create the 51-android.rules configuration file.
2. Add an entry in the following data format:
SUBSYSTEM = "usb", ATTR {idVendor} = "xxxx1", ATTR {idProduct} = "xxxx2", MODE = "0600", OWNER = "xxxx3"
3. Enter xxx1, xxx2, and xxx3 based on your device information.
Where,
(1) xxx3 is the user name when you log on to mongout.
(2) how to search for xxx1 and xxx2,
Run the command lsusb to find
1. Check whether the kernel supports USB to serial port
2. Set minicom
3. link the android Development Board and restart the system.
Note:
1, if not normal link, please check the serial first TXD-RX, RXD-TX, GND-GND is correct, link OK, you can see the onlie, instead of offline. See the figure below:
2. If the minicom file is garbled, enter gedit. bashrc, add the export lang = zh_CN.UTF-8 at
1 we found the "Setup" in the Red Meter note "system" and there will be a "about cell phone" in the phone's system.
2 We click on "about the phone" and then we will see you "Android version", now we just click on the Android version four times, then there will be the USB developers you want the option of OH.
3) Now we return to the mobile home page, then al
1 in the Mobile desktop Click "Settings" and then open the Open interface to click "Advanced Settings" to enter, as shown in the following figure.
2 then enter the "Advanced settings" you will see there is a "developer option" We click on the "Developer Option" will be entered into the phone-related interface will see a "USB debugging", now we open on it.
Friendly Tips
Hammer Phone
1. This handset uses the Android 4.3 system, 2013 on the market, but the Samsung handset's setup interface all the same, we clicked "the application".
2. Here you will see a "set" click on it to enter.
3. Then we click on "General" as shown in the picture.
4. Then we click on the open interface of the "about device" entry.
5. After opening, you will see a "build numbe
1. As shown in the following figure, we click the "Settings"-"All settings" interface in the Millet 3 phone.
2. Then in the following figure you will see a "about the phone" option, click Enter, and then see the Android version of the option.
3. Here I can open the developer option by simply clicking "Android Version" four times in a row.
4. In the developer options interface can be found in the
1. Because the default USB debug mode has been hidden, we have to open it and then open the USB mode, in the mobile phone "application."2. Select "Set" after we click Enter.3. Click the "General" tab, as shown in the following figure.4. Then we'll find "about the device" in the inside and click Enter.5. Click on the "build number" 7 times until the prompt "developer mode is enabled".6. After we click on the
1. Crap does not say that more than Samsung mobile phone access applications are on the desktop click "Application."
2. Click "Set" again in the mobile interface.
3. Then you will see a "General" after we click on it and then click on the following "about the device".
4. Then click the "build number" seven times into the interface until the prompt "developer mode is enabled".
5. Click on the "
6. OK now you will see that there is a "de
1 we found in Tcl s720t "Settings" click to enter, as shown in the figure, and then in the settings list to find "about the phone" below the "version number" We use our fingers to connect click 4 times, as shown in the picture
2 waiting for the prompt to open the USB success, we go back to the phone's "settings", you will find a miracle happened, see the "Developer option", into the "developer option" can be opened, then you want to do what you do.
Method One:
Click "Settings" on your phone to see that there is a "help setting"-"Developer Tools", and then directly find the USB debug mode on it, which is much simpler than the Android system, as shown in the following illustration.
Method Two:
Enter the phone interface directly input "*#* #6961 #*#", access to the USB interface, we click
1 in the Millet 2S desktop to find "settings" and then we click to enter, and then see below there is a "developer option" Now we click on it to enter.
2 Then we find "USB debugging" after entering the interface to open it, when we open will pop up a prompt, the content is "whether to allow USB debugging" click OK.
To enable the hidden "developer options" and "USB debugging" options, follow these steps:1. Click the application icon on the standby page.2. Click set ].3. Click general and about devices ].4. Move up the right-side screen and click internal version number seven times until the prompt "developer mode enabled" is displayed ".5. You can see [developer options ]. Click devel
1 We click on the mobile desktop "settings" and then find "about the phone" to enter after the click "More" specific as the figure.
2) and then we find the version number, and then we click on 4 consecutive times, and then from "General"-"more".
3 good so in more inside will see there is a "developer option, and finally the USB debugging appears
Summarize
In fact, all
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.