[WIP] Edit android version/security patch based on boot.img
diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts
index e4a62b8..3cdbabe 100644
--- a/sepolicy/file_contexts
+++ b/sepolicy/file_contexts
@@ -1,4 +1,4 @@
/system/bin/phh-su u:object_r:phhsu_exec:s0
/system/bin/vndk-detect u:object_r:vndk_detect_exec:s0
/system/etc/usb_audio_policy_configuration.xml u:object_r:vendor_configs_file:s0
-/system/bin/resize-system.sh u:object_r:update_engine_exec:s0
+/system/bin/rw-system.sh u:object_r:phhsu_exec:s0
diff --git a/sepolicy/resize.te b/sepolicy/resize.te
deleted file mode 100644
index 12d95c6..0000000
--- a/sepolicy/resize.te
+++ /dev/null
@@ -1,6 +0,0 @@
-allow update_engine { toolbox_exec system_file }:file rx_file_perms;
-allow update_engine labeledfs:filesystem remount;
-
-allow update_engine sysfs_fs_ext4_features:dir r_dir_perms;
-allow update_engine sysfs_fs_ext4_features:file r_file_perms;
-allow update_engine self:capability { sys_resource };