[android-building] Re: Trouble adding vendor AIDs

2019-05-30 Thread Shakir Mohammed
Hi, I have used some other method to create custom AIDs. Initially, modifed the /system/core/include/private/android_filesystem_config.h file and added my custom AID_NEW within OEM_RESERVED region. Then I have modified /framework/base/core/res/AndroidManifest.xml and added a new

[android-building] Re: Trouble adding vendor AIDs

2019-05-13 Thread Eric Crahen
Thanks, With that, I've been able to see my /system/etc/passwd file contains the generated AID now. That's great. $ cat /system/etc/passwd ... *vendor_foobar*:::::/:/system/bin/sh Now, I'm trying to use this user. Is there a mapping from this vendor_foobar unix user-name to an

[android-building] Re: Trouble adding vendor AIDs

2019-05-13 Thread 'Tom Cherry' via Android Building
It should be installed to /vendor/etc/passwd and /vendor/etc/group. I'd also be careful that TARGET_FS_CONFIG_GEN isn't overwritten anywhere. The BoardConfig.mk's for most of the google products specify this with a string similar to "TARGET_FS_CONFIG_GEN := device/google/wahoo/config.fs" so