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 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. 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 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
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.
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.
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
USB charging and plugging and USB debugging connect prompt
Find the code about USB debug enable in packages/apps/settings/src/COM/Android/settings/developmentsettings. Java:
Java code
Settings. Secure. putint (getcontentresolver (), settings. Secure. adb_enabled, 0 );
In
. batterypluggedusb) {log. D (TAG, "ADB enabled, battery plugged USB"); If ("0 ". equals (systemproperties. get ("persist. ADB. Y ") {log. D (TAG, "Return directly"); return;} If (! Madbnotificationshown ){//... Omitting some code madbnotificationshown = true; icationicationmanager. Y (COM. Android. Internal. R. String. adb_active_notification_title, madbnotification) ;}} else if (madbnotificationshown ){//
What is the USB debug mode?
USB Debug mode is an Android-enabled feature that allows you to copy data between your computer and Android devices, install applications on mobile devices, read log data, and so on. By default, the USB debug mode is turned off, so you need to ma
based on the CDMA network. So according to the article, enter the project mode.
Dial on your mobile phone: * #2846579 #*#*
After entering the project mode, select projectmenu, and then "3. set "in the background, and then" 4. USB port configuration, you will see a long list, as long as you select "Google mode. Then exit the engineering mode and restart the machine. Try again to connect to the Mac, and a prompt will appear on the mobile phone that has
1. We click on the "Settings" in the phone to enter after we find "about the phone" and then click Open.
2. Then on the move to the phone we click on the Android version 7 times and then return to setup.
3. The developer option is found at this point, and click Open. Under the developer option, click USB Debugging.
4. So the millet mobile phone
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.