Android 4.4 Secure ADB connection

Source: Internet
Author: User

Android security adb

For security reasons, Google has made security improvements to the ADB Connection debugging tool in Android 4.4.

When the "USB debugging" is turned on in the developer option, when the phone is connected to the computer with a USB cable, a computer authentication box will pop up, indicating that the computer is authorized later.
In fact, the information of this computer is saved to/data/misc/adb/xxx, the next time you connect it will be considered safe, connected and authorized.



Problem:
Connecting to the computer via USB cable may automatically eject the dialog box with the Allow USB debugging, click OK to connect and authorize.
The way to use the network: ADB Connect does not pop up this dialog box, that is, you can connect to the ADB but it is not authorized. Can't use


Workaround:
1, connect the computer with the USB cable, pop up allow USB Debugging dialog box, click OK, save the computer information, and then use the ADB connect connection can be
2, if the Android device does not have a USB port, such as in the Android set-top box, you can use the serial port to connect to the Android device, in the string input command setprop ro.adb.secure 0 (Shield off the security adb),
and restart Adb:stop adbd;setprop service.adb.tcp.port 5555;start adbd, you can connect and authorize the

Android 4.4 Secure ADB connection

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.