On Tue, Dec 21, 2021 at 1:10 PM Abhayadev S <[email protected]> wrote:
>
> Hi,
>
> I have a headless Android 10 device where i am trying to enable the adb by 
> default on a "user" mode build.
> Also, I am trying to integrate a custom adb key and hoping to skip the 
> usb/adb debugging confirmation on screen.
>
> I have tried to integrate a custom ADB KEYS as per the official steps here -
> https://source.android.com/setup/develop/new-device#ANDROID_VENDOR_KEYS
> but it ended with an error that in my code the "PRODUCT_ADB_KEYS" is set as 
> read only...
> i am still debugging and hoping that at some makefile i could override it.

copy & paste the exact error?

where did you add this? a new vendor_key.mk file in your product, and
then added a
```
$(call inherit-product, vendor/my-company/security/adb/vendor_key.mk)
```
in your vendor/my-company/products/product.mk file?

> also, looking for any pointers on how to approach debugging the user mode 
> builds where not even serial logs are available!
>
> thanks and appreciate your comments..
> regards,
> abhay
>
> --
> --
> You received this message because you are subscribed to the "Android 
> Building" mailing list.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-building?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups 
> "Android Building" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/android-building/ce4057b5-d378-4cfe-9f75-f631f8d95b0en%40googlegroups.com.

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-building/CAJgzZornMtG1ZJ9heA0EY0yiQgsfuQbxpVyz7QvKNxHw18WmiQ%40mail.gmail.com.

Reply via email to