Fastboot Assistant Logo

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:

With the following functions:

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:

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)

  1. Install ADB and Fastboot (e.g. from Google or SDK Platform Tools).
  2. Unzip the fastboot-assistant.zip into a directory of your choice.
  3. Execute Enable_WSL.bat with administrator rights.
  4. Restart the PC and execute WSL_install.bat.
  5. Set up the Ubuntu subsystem (note the user name).
  6. Update the subsystem with:
    sudo apt update && sudo apt distro-upgrade
  7. 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

Setup

A setup wizard appears the first time you start the program:

Updates

Automatic updates

Automatic updates are provided by:

  1. APT/PPA
  2. Snap
  3. Internal updater

Internal updater:

  1. Click on "Updater" in the program
  2. If a new version is detected, select "Install".
  3. 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

2. Flash from Custom-ROM or GSI

3. Flash Images

Fastboot Assistant can automatically flash all images from a folder, e.g:

4. Root with Magisk

  1. Install Magisk-APK on the device.
  2. Patch a boot.img from Magisk.
  3. Flash the patched image with Fastboot Assistant.

Build on Linux

  1. 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
  2. Download the source code:
    git clone https://github.com/NachtsternBuild/fastboot-assistant.git
  3. 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
  4. 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.
  5. Change to the directory Applications:
    cd ~/fastboot-assistant/Anwendung
  6. Start the Build-Skript:
    bash Build/build-fastboot-assistant.sh

The project can be built for the following operating systems:

The following package types are available for Linux:

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.