![]() Ifneq (,$(filter userdebug user eng,$(TARGET_BUILD_VARIANT))) Ifneq (,$(filter userdebug eng,$(TARGET_BUILD_VARIANT))) If this option is not turned on, adb.c will not select root or shell permission according to ro.secure, and return shell permission directly. ![]() For this reason, you need to modify the compilation option ALLOW_ADBD_ROOT in system/core/adb/Android. (2) After android JB version (4.1), google directly removes user version root permission from compilation. mkĪDDITIONAL_DEFAULT_PROPERTIES += ro.secure=1ĪDDITIONAL_DEFAULT_PROPERTIES += ro.secure=0 (1) Modification of alps/build/core/main. These two modifications are described in detail below: Modify the judgment logic of opening root permission in adb. For this reason, if you want to permanently open the root permission of adb, there are two ways to modify it:ġ. ![]() ![]() secure is 0, the root permission is turned on, and when it is 1, it is confirmed whether the root permission can be turned on according to options such as ro. system and property.īy default, when the file ro. Root permissions for adb are controlled in system/core/adb/adb. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |