Skip to content

Instantly share code, notes, and snippets.

@yrezgui
Created May 1, 2020 16:14
Show Gist options
  • Save yrezgui/c98fc88ec468f86efdb857c82fff17a2 to your computer and use it in GitHub Desktop.
Save yrezgui/c98fc88ec468f86efdb857c82fff17a2 to your computer and use it in GitHub Desktop.
Android 11 Wifi debugging
# 🤖Android 11 WiFi debugging
# Connect your device to the same WiFi as your computer
# Enable WiFi debugging in developer settings of your device
# Disable USB debugging if it's already enabled
# Plug your device to computer via USB
# You may have to kill adb server
adb kill-server
adb tcpip 5555
# Grab your device local IP address
adb shell "ip addr show wlan0 | grep -e wlan0$ | cut -d\" \" -f 6 | cut -d/ -f 1"
# Remove your device USB cable
adb connect [device_ip_address]:5555
# Enjoy 🎉
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment