Giter VIP home page Giter VIP logo

magisk-wifiadb's Introduction

Magisk-WiFiADB

A Magisk module that adds the equivalent of "Wireless(WiFi) Debugging Option" to Stock ROM's running Magisk.

With this module one can have WiFi ADB enabled at all times irresepctive of whether an app is using it(ADB) or not.

Feature

  • Configure WiFiADB to be activated on boot.
  • Toggle WiFiADB - ON/OFF using Magisk Manager App.
  • Configure your OWN private custom port for your device.
  • Enable log to view WiFiADB status.

Usage

Configuring WiFiADB to start on boot :

  • Download the latest release of the module.
  • Install it manually using the Magisk Manager App.
  • Enable WiFiADB module in magisk.
  • Reboot Your Device.
  • Your Wireless Debugging is enabled.

Commands to establish wireless ADB connection

Connect using the command adb connect your-device-IP:1234 - once connected all other adb commands work as they should.

Disconnect using the command adb disconnect

Toggling WiFiADB ON/OFF : Open Magisk Manager App -> Modules

use the Module switch to enable / disable WifiADB

Note : If you accidentally happen to reboot device when this module switch is turned OFF then WiFiADB will not be started on boot.

Configuration

You can configure module settings by creating a config file in module root dir (usually in /data/adb/modules/magisk-wifiadb) with the following lines of code.

ADB_PORT=1234 # your custom port no.
ENABLE_LOG=1 # 0 to disable logging.

Commands to add the above lines to the config file.

adb shell
su
cd /data/adb/modules/magisk-wifiadb/
echo -e "ADB_PORT=1234\nENABLE_LOG=1" > config

Note :

  • grant root permission when prompted on the device.
  • 1234 is the eg port, replace it with your own secret port number as your wireless debugging port.

Logs

Logs if 'enabled' can be viewed at /data/local/tmp/wifiadb.log.

How Does It Work (under the hood)

WiFi adb

By setting properties in Android to enable WiFi ADB:

su
setprop service.adb.tcp.port 5555
stop adbd
start adbd

magisk-wifiadb's People

Contributors

aiamuzz avatar mrh929 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

magisk-wifiadb's Issues

Does not seems to work on Android 14

I have installed the module on Magisk, but wirelss debugging status does not seem to be preserved and I have to manually turn on Wireless debugging after reboot. My device is Pixel Tablet Android 14

instead of always-ON ... ?

@mrh929 ...

now that we can toggle real time the wifiadb status.

I was wondering if a button/gesture that could be configured to enable and disable the wifiadb ?

Instead of a check every 5 secs the status(i think my battery is getting drained real fast / bad) so you can re-enable the service ... how about if there was another way i could enable it ... may be say when i wake the phone(Power button) up ... keep it ON for a set time after which it gets disabled.

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.