- Your phone must have the developer mode unlocked
- You must unlock the USB debug
The last SDK is available in https://dl.google.com/android/repository/platform-tools-latest-windows.zip
Please do a favor to yourself and dont extract to root of your C drive. Using something like documents/code is enough
As you didn't added the abd in the PATH, you must run the command with relative patch like:
./adb start-server
If everything is ok, it will prompt
* daemon not running; starting now at tcp:5037
* daemon started successfully
./adb tcpip 5555
this will prompt a request in your Phone. Just accept it.
In your WSL Linux, run the command:
adb connect host:5555 # or the port u've selected in step 4
to find your phone ip:
- Open your phone wifi-settings
- Click on Advanced
- You will see your ip. It will be something like:
192.168.x.y
adb devices
List of devices attached
192.168.0.15:5555 device
./adb kill-server
Thank you!
Works here!