¶ ADB in windows and WSL
enable developper mode in your phone and enable usb debugging
https://developer.android.com/studio/releases/platform-tools
https://developer.android.com/studio/run/win-usb
sudo apt-get install android-tools-adb android-tools-fastboot
- Extract downloaded zip files.
- Connect phone with usb.
- Open Device Manager of Windows from System Properties.
- Your device should appear under Other devices listed as something like Android ADB Interface or 'Android Phone' or similar. Right-click that and click on Update Driver Software...
- Select Browse my computer for driver software
- Select Let me pick from a list of device drivers on my computer
- Double-click Show all devices
- Press the Have disk button
- Browse and navigate to Google Usb Driver extracted zip folder and select android_winusb.inf
- Select Android ADB Interface from the list of device types.
- Press the Yes button
- Press the Install button
- Press the Close button
- Optional (reconnect your phone)
- navigate to platform-tools (extracted zip folder)
- run
.\adb.exe kill-server
- run
.\adb.exe start-server
- check if device is listed with
.\adb.exe devices
- Restart adbd listening on TCP on 5555
.\adb.exe tcpip 5555
- connect to your phone via TCP/IP (replace 192.168.0.11 with your phone IP)
adb connect 192.168.0.11:5555
- check if device is listed with
adb devices