36 lines
1.1 KiB
Diff
36 lines
1.1 KiB
Diff
From fd621da49491bdb2272a076778c7c0374b3f6d1f Mon Sep 17 00:00:00 2001
|
|
From: Andy CrossGate Yan <GeForce8800Ultra@gmail.com>
|
|
Date: Tue, 22 Nov 2022 00:36:15 +0000
|
|
Subject: [PATCH 6/9] treble: Stop securing ADB
|
|
|
|
Seems to kill USB Debugging altogether on certain devices,
|
|
and unrelated to SN anyway
|
|
Build-time macro coupled with vendor/lineage might do better...
|
|
|
|
Change-Id: I0215b3ed970dd53a124f48e30ca2cf4b0c6d2899
|
|
---
|
|
rw-system.sh | 3 ---
|
|
1 file changed, 3 deletions(-)
|
|
|
|
diff --git a/rw-system.sh b/rw-system.sh
|
|
index d78d6f2..dfd9305 100644
|
|
--- a/rw-system.sh
|
|
+++ b/rw-system.sh
|
|
@@ -786,13 +786,10 @@ 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.build.type user
|
|
resetprop_phh ro.build.selinux 0
|
|
|
|
- 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
|
|
|