6386c3207b
The debug ramdisk can only be used if the device is unlocked.
When it's used, init will load adb_debug.prop and the userdebug
sepolicy from the debug ramdisk, to allow adb root on a user build.
Bug: 126493225
Test: 'make' and checks the file is installed
Change-Id: Id6962414197fc8f47f7c07818e8fb16107dc17a3
Merged-In: Id6962414197fc8f47f7c07818e8fb16107dc17a3
(cherry picked from commit 05f07d89a6
)
12 lines
418 B
Text
12 lines
418 B
Text
# Note: This file will be loaded with highest priority to override
|
|
# other system properties, if a special ramdisk with "/force_debuggable"
|
|
# is used and the device is unlocked.
|
|
|
|
# Disable adb authentication to allow test automation on user build GSI
|
|
ro.adb.secure=0
|
|
|
|
# Allow 'adb root' on user build GSI
|
|
ro.debuggable=1
|
|
|
|
# Introduce this property to indicate that init has loaded adb_debug.prop
|
|
ro.force.debuggable=1
|