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
andorid.permiss
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
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 th