From 4f16b1303bc6d2b91cfc60992b8b8dab476a5830 Mon Sep 17 00:00:00 2001 From: caleb_liu Date: Fri, 1 Mar 2024 11:13:38 +0800 Subject: [PATCH 1/3] Enable Wireless Adb --- system.prop | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/system.prop b/system.prop index 30be83d..a020fca 100644 --- a/system.prop +++ b/system.prop @@ -3,4 +3,6 @@ ro.adb.secure=0 persist.service.adb.enable=1 persist.service.debuggable=1 -persist.sys.usb.config=mtp,adb \ No newline at end of file +persist.sys.usb.config=mtp,adb + +service.adb.tcp.port=33445 \ No newline at end of file From 20de29b2d590bd4b0b78df03f317159885b98e1a Mon Sep 17 00:00:00 2001 From: weiba Date: Mon, 13 May 2024 11:40:03 +0800 Subject: [PATCH 2/3] Update module.prop --- module.prop | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module.prop b/module.prop index 85d9af6..e740175 100644 --- a/module.prop +++ b/module.prop @@ -1,6 +1,6 @@ id=Adb-Root-Enabler name=ADB Root Enabler -version=1.2 +version=1.3 versionCode=1 author=anasfanani -description=Enable ADB root & authenticate \ No newline at end of file +description=Enable ADB root & authenticate From 4c1bdfd77db07270f8230107a10efee69ef48d65 Mon Sep 17 00:00:00 2001 From: caleb_liu Date: Tue, 14 May 2024 14:03:42 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E5=88=B7=E5=85=A5?= =?UTF-8?q?=E5=90=8E=E6=97=A0=E6=B3=95=E5=90=AF=E5=8A=A8=E9=97=AE=E9=A2=98?= =?UTF-8?q?=20=E4=BF=AE=E5=A4=8Dmomo=E6=A3=80=E6=B5=8B=E5=88=B0debug?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- module.prop | 4 ++-- sepolicy.rule | 23 ----------------------- system.prop | 6 +++--- 3 files changed, 5 insertions(+), 28 deletions(-) delete mode 100644 sepolicy.rule diff --git a/module.prop b/module.prop index 85d9af6..e740175 100644 --- a/module.prop +++ b/module.prop @@ -1,6 +1,6 @@ id=Adb-Root-Enabler name=ADB Root Enabler -version=1.2 +version=1.3 versionCode=1 author=anasfanani -description=Enable ADB root & authenticate \ No newline at end of file +description=Enable ADB root & authenticate diff --git a/sepolicy.rule b/sepolicy.rule deleted file mode 100644 index 85e22ec..0000000 --- a/sepolicy.rule +++ /dev/null @@ -1,23 +0,0 @@ -#https://android.googlesource.com/platform/system/sepolicy/+/master/private/adbd.te -#userdebug_or_eng -allow adbd adbd process setcurrent -allow adbd su process dyntransition -#https://android.googlesource.com/platform/system/sepolicy/+/master/private/su.te -allow su * * * -#https://android.googlesource.com/platform/system/sepolicy/+/refs/heads/master/public/init.te -allow init overlayfs_file dir relabelfrom -allow init overlayfs_file dir mounton -allow init overlayfs_file dir write -allow init overlayfs_file file append -allow init system_block_device blk_file write -#https://android.googlesource.com/platform/system/sepolicy/+/refs/heads/master/public/fsck.te -allow fsck system_block_device blk_file ioctl -allow fsck system_block_device blk_file read -allow fsck system_block_device blk_file write -allow fsck system_block_device blk_file getattr -allow fsck system_block_device blk_file lock -allow fsck system_block_device blk_file append -allow fsck system_block_device blk_file map -allow fsck system_block_device blk_file open -allow fsck system_block_device blk_file watch -allow fsck system_block_device blk_file watch_reads diff --git a/system.prop b/system.prop index a020fca..2999088 100644 --- a/system.prop +++ b/system.prop @@ -1,8 +1,8 @@ -ro.debuggable=1 +ro.debuggable=0 ro.adb.secure=0 persist.service.adb.enable=1 -persist.service.debuggable=1 +persist.service.debuggable=0 persist.sys.usb.config=mtp,adb -service.adb.tcp.port=33445 \ No newline at end of file +service.adb.tcp.port=33445