Skip to content

Instantly share code, notes, and snippets.

@railson-ferreira
Created February 5, 2024 13:42
Show Gist options
  • Select an option

  • Save railson-ferreira/f0863f230ded09be1d16f7ee9dbe7f9b to your computer and use it in GitHub Desktop.

Select an option

Save railson-ferreira/f0863f230ded09be1d16f7ee9dbe7f9b to your computer and use it in GitHub Desktop.
Script to set up the adb over Wi-FI and auto-connect
#!/bin/bash
adb tcpip 5555
cat ~/adb-devices.txt | while read adb_device
do
adb connect $adb_device &
done
# file: ~/adb-devices.txt
# 192.168.0.10
# 192.168.0.11
# 192.168.0.12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment