Skip to content

About

Turn a rooted Android phone into a USB drive, CD-ROM, network adapter and keyboard at once, all from one app.

Topics

Resources

Stars

51 stars

Watchers

1 watching

Forks

Repository files navigation

USB Arsenal: boot an ISO or share a disk, network over the USB cable, keyboard and mouse on the host

Latest release License: GPL v3

USB Arsenal

USB Arsenal turns a rooted Android phone into several USB devices at once, over the one cable: a USB drive or CD-ROM holding any image, a network adapter that shares the phone's internet, and a keyboard and mouse that the phone drives.

The app sets everything up for you, and gives the USB port back to Android when you stop, so ADB and file transfer work again.

What you get

  • Boot a computer from your phone. Put an ISO or a disk image on the phone and the computer sees it as a USB drive or a CD/DVD. The app picks the right one for the image.
  • A USB drive. Share any image file with the computer, read-only or writable, up to eight at once.
  • Share the phone's internet. The computer gets online through the cable. Or let a Droidspaces OpenWrt container be the router.
  • A keyboard and mouse. Type and move the pointer on the computer from the app.
  • Script the typing. Write a Quacky script and the phone types it onto the computer at full speed, a whole install in one run (language).
  • All at once. Drives, internet and keyboard share one cable, and you can turn each on or off without touching the others.
  • Pick how it shows up. Choose the device name and IDs the computer sees.
  • Always recovers. If anything goes wrong, Stop all gives the port back to Android.
  • Eleven LCD themes, from the amber default to Game Boy green.

The same binary runs on a Linux board with a USB device port, and inside a privileged Droidspaces container.

Install a computer from your phone

A pen drive, a keyboard and a network cable, all in one USB cable. Plug the phone into a machine that has a screen and nothing else:

  1. Storage serves the installer ISO, and the machine boots from it.
  2. Keys + mouse types into the installer from the phone, by hand or from a Quacky script that runs the whole install.
  3. Tether puts the installer online through the phone, for its packages and updates.

All three run at once, and turning one off leaves the others running.

Requirements

  • A rooted phone running Android 8 or newer.
  • A kernel with USB configfs. The app checks this for you before it installs anything (kernel requirements).

Get started

  1. Install the APK from the latest release, grant it root, and let it install the backend.
  2. Put an ISO or a disk image in /sdcard/USB-Arsenal/Disks, open Storage and pick it.
  3. Flip the switch on Home and plug the phone into a computer.

Everything the app does, a root shell can do with usb-arsenal (usage). Linux boards and the KernelSU module are in the installation guide.

Screenshots


Home

Storage

Tether

Keys + mouse

Identity

Themes

Security

Warning

USB Arsenal runs as root and controls the phone's USB port.

Anyone who can write to a /dev/hidg* node can type on the computer it is plugged into. The nodes are 0660 root by default; widen that only on purpose.

A profile can borrow a real vendor's USB IDs. That is your choice to make.

Documentation

Page What it covers
The app Setup, every screen, keys and TalkBack.
Installation The KernelSU module, a manual install, Linux boards.
Usage Every usb-arsenal command and option, with examples.
Tethering NAT mode, OpenWrt gateway mode, the host side.
Containers Running USB Arsenal inside a container.
Identity profiles Vendor and product IDs, names, serial, defaults.
Kernel requirements Kernel options and the patches, by feature.
Troubleshooting Symptoms, causes and fixes.

Developer notes (architecture, kernel research, the design language, roadmap) live in docs/developer.

Credits

  • The Linux USB gadget subsystem: f_mass_storage, f_hid, f_ncm, f_rndis and configfs do the real work.
  • DriveDroid, which showed a phone can boot a PC.
  • libinput, whose tap, scroll and gesture rules the app's touchpad follows.
  • Jersey 10, Silkscreen and VT323, the app's faces, under the SIL Open Font License 1.1.

License

GNU General Public License v3.0. Copyright (C) 2026 ravindu644.

About

Turn a rooted Android phone into a USB drive, CD-ROM, network adapter and keyboard at once, all from one app.

Topics

Resources

Stars

51 stars

Watchers

1 watching

Forks

Releases

Contributors

Languages