How Android turns on and off ADB's authentication mechanism (Google adb secure) (ADB RSA fingerprint authentication)

Source: Internet
Author: User

Objective
Welcome everyone I share and recommend useful code Snippets ~ ~
Statement
Welcome reprint, but please keep the original source of the article:
CSDN:
http://www.csdn.net
rainy season o mo away:http://blog.csdn.net/luckkof

Body

[Description]
How to turn on and off the ADB authentication mechanism (Google adb secure)
[Keyword]
ADB secure, ro.adb.secure, ADB RSA fingerprint authentication
[Solution]
MTK version by default to turn off the ADB address authentication mechanism, if you need to open, you can modify ALPS/BUILD/CORE/MAIN.MKIfeq (true,$ (Strip $ (enable_target_debugging)))
# Target is more debuggable and ADBD are on by default
Additional_default_properties + = ro.debuggable=1
Additional_default_properties + = ro.adb.secure=1 ==> If you want to add this feature to ENG load, add this line
# Include The debugging/testing OTA keys in this build.
Include_test_ota_keys: = True
else #!enable_target_debugging
# Target is less debuggable and adbd are off by default
Additional_default_properties + = Ro.debuggable=0
Additional_default_properties + = ro.adb.secure=1 ==> If you want to add this feature to user load, add this line
endif #!enable_target_debugging  Property _get ("Ro.adb.secure", Value, "0");
auth_enabled =!strcmp (Value, "1");
if (auth_enabled)
    adb_auth_init ();
Related Article

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.