I built Dioxamine, an open-source Android app that runs ADB, Fastboot, and a Scrcpy client entirely phone-to-phone —l, connect a second Android device over USB OTG or Wireless ADB, and mirror its screen, flash partitions, unlock bootloaders, sideload apps, etc., without a PC or root on either device.

The trickiest parts were:

- Implementing an ADB/Fastboot client natively on Android (rather than shelling out to a PC binary)

- Getting scrcpy's video pipeline working with Android's hardware decoders, since decoder support varies a lot across devices

- A plugin system that lets people write custom tools in HTML/JS that hook into the ADB layer

Repo: https://github.com/rhythmcache/Dioxamine

submitted by /u/KaliYugaSufferer
[link] [comments]