Created
April 10, 2016 15:55
-
-
Save th3d0g/3a48982023dcbb2952019bcb3b201e15 to your computer and use it in GitHub Desktop.
ADB over Wifi
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
///////////////////// | |
// Use ADB over WIFI. | |
///////////////////// | |
// Run ADB commands (e.g. logcat) with your device connect via WIFI rather than USB. | |
// Note; Can be slow to push/install larger APK files. | |
// 1. Set port. | |
adb tcpip 5555 | |
// 2. Connect devie to same WIFI as compuster and get mobile device IP. | |
adb shell ip -f inet addr show wlan0 | |
// 3. Remove USB then connect to device. | |
adb connect [mobile-ip]:5555 | |
// Revert back to USB mode (device must be connected via Wifi) | |
adb usb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment