Hi, I have used some other method to create custom AIDs. Initially, modifed the <AOSP>/system/core/include/private/android_filesystem_config.h file and added my custom AID_NEW within OEM_RESERVED region. Then I have modified <AOSP>/framework/base/core/res/AndroidManifest.xml and added a new andorid.permission variable. Then modified the <AOSP>/framework/base/data/etc/platform.xml and assigned the created AID to custom android.permission variable.
Is this method is having trouble. If so, what is the recommended method. Also, is there any way to create a custom andriod:sharedUserId like system.uid.myuid, with my custom AID value. On Tuesday, 14 May 2019 00:55:58 UTC+5:30, Eric Crahen wrote: > > I've been attempting to add some custom user for an application in my AOSP > build, > > Following the notes here, I tried to add a custom vendor AID to my AOSP > build > * https://source.android.com/devices/tech/config/filesystem > > I thought I'd find an /etc/passwd entry somewhere with a mapping of the > uid 2222 -> vendor_foobar (or maybe to just a user named foobar). Maybe I'm > missing something from the notes linked above, but that's not happening. It > seems like the new user isn't getting added to either the system.img or > vendor.img > > > config.fs: > [AID_VENDOR_FOOBAR] > value: 2222 > > additions to BoardConfig.mk: > TARGET_FS_CONFIG_GEN += device/google/muskie/walleye/config.fs > TARGET_ANDROID_FILESYSTEM_CONFIG_H := > > > Does anyone know how to correctly add a custom vendor AID? Thanks! > > -- -- 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/274a7c7f-9570-4b8e-a2e8-8a76c907236b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
