Skip to content

Instantly share code, notes, and snippets.

@vinhjaxt
Created March 15, 2025 03:52
Show Gist options
  • Save vinhjaxt/0037f0af2e65b00728464415f20a1c86 to your computer and use it in GitHub Desktop.
Save vinhjaxt/0037f0af2e65b00728464415f20a1c86 to your computer and use it in GitHub Desktop.
su
cat > /data/adb/service.d/adb.sh <<EOF
stop adbd
setprop service.adb.tcp.port 7612
start adbd
EOF
chmod +x /data/adb/service.d/adb.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment