FreeABL Flasher
Back up, install and remove FreeABL from your browser. Nothing to install except the USB driver on Windows. Read FLASHING.md and the disclaimer first.
This browser has no WebUSB. Use Chrome, Edge or another Chromium browser on a computer, or the command-line tool freeabl-flash.py.
1. Device and files
-
Check
Device in Android? Turn on USB debugging (Settings → About → tap Build number seven times, then Settings → System → Developer options → USB debugging), connect it, and let the page read it and restart it in fastboot mode:
If your device is not recognised, or you cannot or do not want to turn on USB debugging, boot it to fastboot mode yourself: power it off, then hold the key combination (often Volume Down + Power).
Several devices connected? The browser lists them by technical names: for the first step, connect only the one you mean. Once the page knows its serial it lists only that device, and in EDL it checks the chip is the same.
With the device in fastboot mode:
-
Back up the stock bootloader
Boot the device to EDL. The screen stays black in EDL.
If your device is not recognised, or USB debugging is off:
adb reboot edlfrom a computer, or the device's own way into EDL (a key combination, an EDL cable or a test point: see FLASHING.md).The backup downloads as
freeabl-backup-SERIAL-androidVERSION-PATCH-ID.tar. Keep it safe: it is the way back to your stock bootloader on this Android build. After an Android update, the flasher makes you back up again: keep the newest one.Reads, never writes, every partition of both slots up to 128 MiB (bootloaders, boot, vbmeta…; not your data, not
super) into one file of up to a few GB (1.5 GB on an Odin 2 Portal). It holds this device's own data: keep it private. -
Prove the backup is saved
Select the file you just saved. Flashing stays locked until it matches.
-
Flash
Writes FreeABL to the active slot only, reads it back, and puts the stock bootloader back if the copy does not match.
-
Reboot
FreeABL shows its menu with the chipset, the memory and the storage type.
For a device that already runs FreeABL: its fastboot can write the bootloader. fastboot cannot read it back, so the copy is not verified.
Over EDL the slot recorded in the backup is used; the device must not have changed slot since. A backup from another Android build is refused: its bootloader may not start the Android the device runs now.
Windows
- fastboot: install the Google USB Driver, or any WinUSB driver for the device in fastboot mode.
- EDL: in EDL the device appears as
QUSB__BULKorQualcomm HS-USB QDLoader 9008(USB ID05C6:9008). The browser can only reach it through WinUSB: open Zadig, choose Options → List All Devices, pick that device, select WinUSB and click Replace Driver. Qualcomm's QFIL then no longer sees the device until you reinstall its driver.
All systems
- Only one program may use the device at a time: one flasher tab, no adb server (
adb kill-server), no fastboot or QFIL. "Unable to claim interface" means something else has it: close it, unplug and replug the device.
Linux
- Once per computer, install FreeABL's udev rule: it lets your user open the devices, and keeps the kernel's
qcserialdriver off a device in EDL (it would take it as a modem port; real modems are left alone):curl -fsSL https://raw.githubusercontent.com/REG-Linux/FreeABL/main/tools/51-freeabl.rules | sudo tee /etc/udev/rules.d/51-freeabl.rules sudo udevadm control --reload
then unplug and replug the device. (sudo modprobe -r qcserialdoes not last: the system loads it again when the device enters EDL.) - Close the adb server first (
adb kill-server): it holds devices in fastboot mode.
macOS
No driver needed.