Skip to content

A script to automatically connect android devices in debug mode using WIFI

License

Notifications You must be signed in to change notification settings

njitsilence/ADB-Wifi

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ADB-Wifi

A script to automatically connect android devices in debug mode using WIFI

Motivation

Everyday I need to connect to a lot of diferent devices to debug applications. Some devices are Micro-USB and others USB Type-C and I lose time plugging the devices and waiting for the ADB. So, I created this script to auto connect to a device using WIFI. The diference to the other script and plugins: The script save the connections in a configuration file to try reconnect when you boot your computer or when your device lost the wifi connection.

Requirements

  • Python 2.7
  • ADB

Usage

python2.7 adb_wifi.py

Add the script to your ~/.bash_profile or ~/.bash_profile if you are using OSX.

Connect the devices to your computer and authorized the debub.

Attention: If your device turns off(battery, etc), you need to plug again the device to the computer because the adb need to open the tcpip port!
If your device has rooted you can use this application to turn on the tcpip portand ignore this step.

Created & Maintained By

Jorge Costa

About

A script to automatically connect android devices in debug mode using WIFI

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%