sudo apt install policycoreutils-python-utils
adb remount adb pull /sys/fs/selinux/policy
adb logcat -b events -d | audit2allow -p policy