ADB_VENDOR_KEYS

417 views
Skip to first unread message

Bob Pfingsten

unread,
Dec 16, 2019, 5:12:08 PM12/16/19
to android-platform
Can anyone help on this topic in regards to the build.  I am trying to figure out how to include my public key in the build so that it shows up at /data/misc/adb/adb_keys after being installed.  Documents are vague at best and very little info from a google search.

Thanks

Colin Cross

unread,
Dec 16, 2019, 5:46:22 PM12/16/19
to android-...@googlegroups.com
If you set PRODUCT_ADB_KEYS point to a public key in your product config somewhere then it will be installed to /adb_keys for userdebug and eng builds.  See https://cs.android.com/android/platform/superproject/+/master:build/make/target/product/security/Android.mk;l=36?q=PRODUCT_ADB_KEYS.  I don't think we have any mechanism to install to /data/misc/adb/adb_keys, writing files to /data during the build is generally not very useful, as using them would require flashing userdata.img overwriting any existing user data.

On Mon, Dec 16, 2019 at 2:12 PM Bob Pfingsten <bobpfi...@gmail.com> wrote:
Can anyone help on this topic in regards to the build.  I am trying to figure out how to include my public key in the build so that it shows up at /data/misc/adb/adb_keys after being installed.  Documents are vague at best and very little info from a google search.

Thanks

--
You received this message because you are subscribed to the Google Groups "android-platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-platfo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-platform/7564d571-f419-4f3c-90f8-a4d772ef227e%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages