
Fastboot Assistant – Documentation
Fastboot-Assistant is the tool that facilitates the flashing of GSIs, Custom ROMs and other system images on Android devices. This is an application for Android enthusiasts and developers, power users, IT support and repair services, community-based developers and users with an interest in Custom ROMs or GSIs.
The Fastboot Assistant is intended for the following purposes:
- Firmware and custom ROM installation
- System management and recovery
- Data and system backup
- Device repair and recovery after system failures
With the following functions:
- Checking the ADB/fastboot connection
- Check whether the bootloader of the device is unlocked.
- Booting in fastboot mode.
- Reboot from fastboot mode.
- Reboot into download mode.
- Reboot into recovery mode.
- Locking and unlocking the bootloader.
- Deleting the user data.
- Backing up the entire system (only for users with root access to the system) or Open Android Backup to back up the user data.
- Renaming files and unpacking images (recovery.img, boot.img, vendor.img, system.img, payload.zip) and unpacking (only with xz compressed files)
- Flashing recovery.img, boot.img, init_boot.img, vendor_boot.img, vendor.img, system.img, vbmeta.img, dtbo.img, userdata.img, metadata.img, preloader.img, preloader.bin, super.img and many others.
- Flashing the system.img into the inactive slot.
- Flashing of all images in a folder.
- Retrieving device information.
- Some instructions for the fastboot and flashing images.
- Setting the active slot (a/b devices only).
- Changing/removing and creating the boot/vendor/system partition
Installation
Linux (Debian/Ubuntu)
Install the .deb package as follows:
sudo apt install /path/to/fastboot-assistant.deb
Linux (Ubuntu)
This method only works for the following OS:
- Ubuntu 24.04 Noble Numbat
- Ubuntu 24.10 Oracular Oriole
- Ubuntu 25.04 Plucky Puffin
Add the PPA to your device:
sudo add-apt-repository ppa:nachtstern12/fastboot-assistant
sudo apt update
Now install the package via APT:
sudo apt install fastboot-assistant
Other Linux
Install it from the Snap Store or with:
sudo snap install fastboot-assistant
Windows (WSL)
- Install ADB and Fastboot (e.g. from Google or SDK Platform Tools).
- Unzip the
fastboot-assistant.zip
into a directory of your choice. - Execute
Enable_WSL.bat
with administrator rights. - Restart the PC and execute
WSL_install.bat
. - Set up the Ubuntu subsystem (note the user name).
- Update the subsystem with:
sudo apt update && sudo apt distro-upgrade
- Install the package via WSL:
sudo apt install /mnt/c/Path/to/fastboot-assistant.deb
Uninstallation
To remove the Fastboot Assistant:
sudo apt remove fastboot-assistant && sudo apt autoremove
sudo snap remove fastboot-assistant
sudo dpkg -r --force-all fastboot-assistant
Notes
- Use at your own risk.
- Back up all important data before each flash process.
- Samsung devices: Use Odin/Heimdall, not Fastboot.
- Mainly developed for Debian/Ubuntu. Other systems require customization.
- Only suitable for devices with an open bootloader.
Setup
A setup wizard appears the first time you start the program:
- Design selection: light or dark
- Language selection (German/English)
- After setting the language, the application must be restarted.
- Other setup processes
Updates
Automatic updates
Automatic updates are provided by:
- APT/PPA
- Snap
- Internal updater
Internal updater:
- Click on "Updater" in the program
- If a new version is detected, select "Install".
- Enter password (root rights required)
Manual updates
sudo apt install /path/to/fastboot-assistant.deb
sudo snap install /path/to/fastboot-assistant.snap
Usage
1. Connect device & Activate debugging
- Enable USB debugging in the developer options.
- Connect device via USB
- Fastboot Assistant automatically recognizes ADB connection.
2. Flash from Custom-ROM or GSI
- Boot in fastboot, unlock bootloader if necessary.
- Recovery (z. B. TWRP) flashen
- Install ROM or GSI via ADB sideload mode.
3. Flash Images
Fastboot Assistant can automatically flash all images from a folder, e.g:
system.img
,boot.img
,vendor.img
, etc.
4. Root with Magisk
- Install Magisk-APK on the device.
- Patch a
boot.img
from Magisk. - Flash the patched image with Fastboot Assistant.
Build on Linux
- Install dependencies:
sudo apt update && sudo apt install gcc libgtk-4-dev adb fastboot desktop-file-utils make dpkg-dev debhelper ccache libsecret-1-dev build-essential libadwaita-1-dev rsync git
- Download the source code:
git clone https://github.com/NachtsternBuild/fastboot-assistant.git
- For the Snap build you need this tools:
qtbase5-dev, qtchooser, qt5-qmake, qtbase5-dev-tools, snapcraft, lxd
sudo apt update && sudo apt install qtbase5-dev qtchooser qt5-qmake qtbase5-dev-tools
sudo snap install snapcraft --classic
sudo snap install lxd
sudo usermod -a -G lxd $USER
sudo reboot
lxd init --minimal
- Edit the source code with an editor of your choice according to your requirements. Note that the Makefile must also be changed if you change the name.
- Change to the directory Applications:
cd ~/fastboot-assistant/Anwendung
- Start the Build-Skript:
bash Build/build-fastboot-assistant.sh
The project can be built for the following operating systems:
- Linux
- Windows (WSL)
The following package types are available for Linux:
- Debian package
- Snap
For Windows, a zip file is packed which contains the Debian package included for the WSL.
Note: Building the WSL package only works on Debian/Ubuntu systems, as the build script automatically builds a Debian package.