From fb029ecce30220b6d4c23de086da42e0a7d20020 Mon Sep 17 00:00:00 2001 From: DataEraser <102341238+DataEraserC@users.noreply.github.com> Date: Mon, 30 May 2022 07:13:45 +0800 Subject: [PATCH] new file: .shortcuts/init.sh modified: .termux/boot/remove-modules.sh modified: .termux/boot/start-adbd.sh --- termux/.shortcuts/init.sh | 1 + termux/.termux/boot/remove-modules.sh | 2 +- termux/.termux/boot/start-adbd.sh | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) create mode 100755 termux/.shortcuts/init.sh diff --git a/termux/.shortcuts/init.sh b/termux/.shortcuts/init.sh new file mode 100755 index 0000000..a4735db --- /dev/null +++ b/termux/.shortcuts/init.sh @@ -0,0 +1 @@ +find ~/.termux/boot/ -exec sh {} \; diff --git a/termux/.termux/boot/remove-modules.sh b/termux/.termux/boot/remove-modules.sh index e4e8f37..d0b5deb 100755 --- a/termux/.termux/boot/remove-modules.sh +++ b/termux/.termux/boot/remove-modules.sh @@ -1 +1 @@ -adb wait-for-device shell magisk --remove-modules +#adb wait-for-device shell magisk --remove-modules diff --git a/termux/.termux/boot/start-adbd.sh b/termux/.termux/boot/start-adbd.sh index 61d229b..5dbc06d 100755 --- a/termux/.termux/boot/start-adbd.sh +++ b/termux/.termux/boot/start-adbd.sh @@ -1,4 +1,4 @@ #!/data/data/com.termux/files/usr/bin/sh -su -c setprop service.adb.tcp.port 33445 +su -c setprop service.adb.tcp.port 5555 su -c stop adbd su -c start adbd