Wireless adb
September 2020
How to use adb wirelessly
- Connect your system to the phone via adb using cable (how-to below)
- Enter the following in shell
adb tcpip 5555
- Your adb server should restart; now type the following
adb connect <phone-ip>:5555
where phone-ip is the wireless internet address of your phone
- Enter
adb devices
again, it should show your phone’s ip
- Remove cable. Done!
Wireless adb will work until you reboot the phone
Your phone and laptop/pc should be on the same network
How to connect laptop/pc to phone with adb
- Ensure adb debugging is enabled (how-to below)
- Attach cable to your system and phone
- Type
adb devices
in your shell
- A pop-up will show up on your phone to “Allow USB Debugging”, click allow
- Done! You device string will show up in the shell below the command
How to enable adb debugging
- In your android phone, navigate to Settings > About Phone > Software Information
- You should see your “Build Number”, tap on it a few times until you see “Developer mode has been enabled” pop-up
- Go to Settings again, Developer Options > Toggle USB Debugging
- Click allow on the pop-up. Done, debugging is now enabled, yay!
While the overall process is same on all phones, the placement of setting options may be different. You can use the search option in your Settings
Useful links