Wireless script lets you connect to an adb device over wifi without hassles and the need to write down the same commands everytime.
- Fast AF
- Verbose
- Easy to understand
- Powered by Python
Wireless Script requires
Dependency | Download Link |
---|---|
Pyhton 3.6+ | https://www.python.org/downloads/ |
ADB | https://forum.xda-developers.com/t/official-tool-windows-adb-fastboot-and-drivers-15-seconds-adb-installer-v1-4-3.2588979/ |
USB Debugging Enabled | https://www.youtube.com/watch?v=Ucs34BkfPB0 |
AutoHotkey (Optional) | https://www.autohotkey.com/ |
Step 1:
copy Run.bat and wireless_script.py to a folder
Step 2:
Create a shortcut for Run.bat
Step 3:
now use this shortcut to use Script
Step 4 (optional):
paste AutoHotkeyScript.ahk in startup folder
And follow the instructions inside
Use "Alt+W" shortcut to use Script.
-
Connect your phone to pc over USB and make sure USB debugging is enabled and connected (required for the first time)
-
Enter the last digit of your android device's local IP address
-
Now disconnect the cable and roll
Want to contribute? Great!
Read CONTRIBUTING.md
ADB over wifi is quite a stable connection but the initial connection process is bit finicky (to put it lightly)
- It won't connect unless and untill you have USB debugging setup and connected (for the first time)
- Depending on your device, OEM and mood of ADB gods you'll never need to connect USB debugging ever or maybe connect it for the first 2-3 times or maybe
- Let's say you managed to make it recognise and connects all wireless well Congratulations. but be prepared just in case the lizard overlords decide to throw "device actively refused to connect" error. In that case you go hunt for the cable again.
- Imma put this on record, this behaviour has nothing to do with my tool, its the nature of ADB over wifi and anything based on it will inherit all its flaws and shortcommings.
- Ok all things aside 98% of the time it works flawlessly and you won't have many problems but its my job to let you know.
- Enjoy :)