-
Notifications
You must be signed in to change notification settings - Fork 82
Open
Labels
help wantedExtra attention is neededExtra attention is needed
Description
For debugging purposes, it'd be incredibly useful to be able to declaratively enable ADB on boot and have your keys be trusted.
The following props need to be set in order to enable ADB on boot:
persist.service.adb.enable=1
persist.service.debuggable=1
persist.sys.usb.config=mtp,adb
There probably is a way to set these but I haven't found it yet or how to do it via robotnix.
Trusted ADB keys go in /data/misc/adb/adb_keys
. This is a lot harder to bake into the ROM as that's a runtime state directory. It also gets reset frequently. Perhaps there's a way to bake in the key into the ROM though.
Metadata
Metadata
Assignees
Labels
help wantedExtra attention is neededExtra attention is needed