From 2def63d6a941e85e2eb82e9ee73102514555f078 Mon Sep 17 00:00:00 2001 From: harvey186 Date: Tue, 9 Jan 2024 12:22:32 +0100 Subject: [PATCH] January --- .../0001-secure_0_rw_system.patch | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 patches/leos/platform_device_phh_treble/0001-secure_0_rw_system.patch diff --git a/patches/leos/platform_device_phh_treble/0001-secure_0_rw_system.patch b/patches/leos/platform_device_phh_treble/0001-secure_0_rw_system.patch new file mode 100644 index 00000000..cb840789 --- /dev/null +++ b/patches/leos/platform_device_phh_treble/0001-secure_0_rw_system.patch @@ -0,0 +1,31 @@ +From 4b800e04249254a798ce2c5f120501084cad2579 Mon Sep 17 00:00:00 2001 +From: harvey186 +Date: Tue, 9 Jan 2024 10:15:21 +0100 +Subject: [PATCH] secure_0_rw_system + +--- + rw-system.sh | 5 ++--- + 1 file changed, 2 insertions(+), 3 deletions(-) + +diff --git a/rw-system.sh b/rw-system.sh +index 867a954..6cf1919 100644 +--- a/rw-system.sh ++++ b/rw-system.sh +@@ -822,12 +822,11 @@ copyprop() { + resetprop_phh ro.boot.veritymode enforcing + resetprop_phh ro.boot.warranty_bit 0 + resetprop_phh ro.warranty_bit 0 +- resetprop_phh ro.debuggable 0 +- resetprop_phh ro.secure 1 ++ resetprop_phh ro.debuggable 1 ++ resetprop_phh ro.secure 0 + resetprop_phh ro.build.type user + resetprop_phh ro.build.selinux 0 + +- resetprop_phh ro.adb.secure 0 + + for abi in "" 64;do + f=/vendor/lib$abi/libstagefright_foundation.so +-- +2.34.1 +