Android Debug Bridge: Difference between revisions

Content deleted Content added
m Spelling/grammar/punctuation/typographical correction Copyedit (minor)
Tag: references removed
Line 78:
 
=== Android device ===
In [[Android 4.2.2]] or later ([[Android version history#Overview|API level 17]]), a dialog is shown with an RSA [[Public key fingerprint|fingerprint]] that the user needs to accept. This protects against computers exploiting the debugging mechanism without consent of the device user.<ref>{{Cite web|title=Run apps on a hardware device|url=https://developer.android.com/studio/run/device?hl=de|access-date=2021-09-08|website=Android Developers|language=en|archive-date=2021-09-08|archive-url=https://web.archive.org/web/20210908120934/https://developer.android.com/studio/run/device?hl=de|url-status=live}}</ref> Starting in Android 4.2, the developer settings are hidden by default. Pressing seven times on the build number in the about menu makes them visible to the user. After that, the USB debugging option can be enabled.<ref>{{Cite web|last=Wallen|first=Jack|title=How to enable Developer options in Android 4.2|url=https://www.techrepublic.com/article/pro-tip-how-to-enable-developer-options-in-android-42/|url-status=live|access-date=2021-09-09|website=[[TechRepublic]]|language=en|archive-date=2021-09-09|archive-url=https://web.archive.org/web/20210909131841/https://www.techrepublic.com/article/pro-tip-how-to-enable-developer-options-in-android-42/}}</ref> Some Android vendors have different procedures to enable it. For example, Huawei requires entering a pincode before adb can be enabled.<ref name=":1">{{Cite web|last=Aranzulla|first=Salvatore|author-link=Salvatore Aranzulla|title=Come attivare debug USB|url=https://www.aranzulla.it/come-attivare-debug-usb-1144637.html|url-status=live|access-date=2021-09-09|website=Salvatore Aranzulla|language=it-IT|archive-date=2021-09-09|archive-url=https://web.archive.org/web/20210909140557/https://www.aranzulla.it/come-attivare-debug-usb-1144637.html}}</ref>
 
If the [[touchscreen]] of an Android device is broken, it can be possible to connect a mouse to the device using [[USB On-The-Go]] and enable USB debugging.<ref>{{Cite web|last=Ogubuike|first=Udochi|date=2019-08-09|title=How to enable USB debugging mode on Android|url=https://punchng.com/how-to-enable-usb-debugging-mode-on-android/|url-status=live|access-date=2021-09-09|website=[[The Punch]]|language=en-US|archive-date=2019-09-17|archive-url=https://web.archive.org/web/20190917190512/https://punchng.com/how-to-enable-usb-debugging-mode-on-android/}}</ref><ref name=":1" />