Code Monkey home page Code Monkey logo

wireless-adb-script's Introduction

1719pankaj

_Wireless ADB Script

Build Status

Wireless script lets you connect to an adb device over wifi without hassles and the need to write down the same commands everytime.

Features

  • Fast AF
  • Verbose
  • Easy to understand
  • Powered by Python

Installation

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.

Usage Instructions

  • Run Shortcut (or Alt+W) alt text

  • 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 alt text

  • Hit Enter and your device should be connected alt text

  • Now disconnect the cable and roll

Development

Want to contribute? Great!

Read CONTRIBUTING.md

Idiosyncrasies

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 :)

wireless-adb-script's People

Contributors

1719pankaj avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.