- Install Terminal Emulator for Android on your phone (requires root-access).
- Open terminal emulator on your phone and enter the following commands:
su setprop service.adb.tcp.port 5555 stop adbd start adbd
- Find the IP address on your phone.
For example, on
Xiaomi Redmi Note 5
IP address is inSettings > About phone > All specs > Status > IP adress
. - Run
Start ADB server.bat
and wait for the request to enter the IP address. - Enter the IP address.
- Done.
Last active
December 24, 2020 01:52
-
-
Save Bodix/a833a8118a859185d83919892bef8813 to your computer and use it in GitHub Desktop.
ADB over Wi-Fi
This file contains 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
@echo off | |
echo "Killing the old ADB server" | |
adb kill-server | |
echo "Starting the new ADB server" | |
adb tcpip 5555 | |
set /P ip="Enter the device IP address: " | |
echo "Connecting device" | |
adb connect %ip% |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment