aosp_beryllium: Add initial support for AOSP on Xiaomi Poco F1
Boots Xiaomi Poco F1 device to console. ADB is working.
Display is broken due to missing drm and panel drivers
and firmware files.
Signed-off-by: Amit Pundir <pundiramit@gmail.com>
diff --git a/sepolicy/hal_memtrack.te b/sepolicy/hal_memtrack.te
new file mode 100644
index 0000000..51bd527
--- /dev/null
+++ b/sepolicy/hal_memtrack.te
@@ -0,0 +1,4 @@
+# Memtrack reads proc/<pid>/cmdline to check if process is surfaceflinger.
+# Grant access if that's the case; don't log denials for other processes.
+allow hal_memtrack surfaceflinger:file read;
+dontaudit hal_memtrack { domain -surfaceflinger}:file read;