LeOS-GSI/patches/LeOS-V/leos/platform_device_phh_treble/1003-A15-sytem-rw.patch

33 lines
938 B
Diff
Raw Normal View History

2024-10-24 09:22:44 +02:00
From 49d384546a086874dc38ce96ccc5e882d829567c Mon Sep 17 00:00:00 2001
From: harvey186 <harvey186@hotmail.com>
Date: Fri, 13 Sep 2024 09:41:28 +0200
Subject: [PATCH] sytem-rw
---
rw-system.sh | 6 ++----
diff --git a/rw-system.sh b/rw-system.sh
index 9a1eea5..109e2bc 100644
--- a/rw-system.sh
+++ b/rw-system.sh
@@ -816,13 +816,11 @@ if [ -f /system/phh/secure ] || [ -f /metadata/phh/secure ];then
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 --delete ro.build.selinux
- resetprop_phh ro.adb.secure 1
-
# Hide system/xbin/su
mount /mnt/phh/empty_dir /system/xbin
mount /mnt/phh/empty_dir /system/app/me.phh.superuser
--
2.34.1