Skip to content

Instantly share code, notes, and snippets.

#!/bin/sh
ip=$( adb shell ifconfig wlan0 | cut -f 3 -d ' ' )
port=5555
adb tcpip $port
adb connect $ip:$port
@lampapos
lampapos / system_remount.sh
Created December 3, 2014 11:52
Remount /system on Android device
#!/bin/bash
adb root
sleep 5
adb shell "mount -o remount,rw /system"