I am using Cuttlefish virtual Android device to build and run AOSP.
I am trying to add new native HAL service (binderized), which implements new HIDL interface.
To work on SELinux policy rules for the new HAL service, I want to run Android in permissive mode, inside Cuttlefish virtual device.
I tried adding kernel_cmdline parameter BOARD_KERNEL_CMDLINE += androidboot.selinux=permissive
to device's BoardConfig.mk
, as instructed here.
But it made Cuttlefish unable to boot, and keep on rebooting.
How do we set selinux mode to permissive when running Android in Cuttlefish virtual device?