
Free SC9863A smartphone firmware flash via CVE-2022-38694 — works on Philips S6210T, itel V654L, ZTE Blade A5x, Realme C11 2021, Nokia C3, and other Unisoc SC9863A devices. No paid tools, no paid firmware.
Complete, tested and working procedure to re-flash a smartphone based on the Unisoc / Spreadtrum SC9863A chipset (s9863a1h10_go and variants) without paying for commercial Windows tools (paid SPD Flash Tool, HalabTech, FirmwareWorld, etc.) and without paying for the firmware.
Method successfully tested on a completely dead Philips S6210T (Essence 12) ("OS not found"), revived to a clean boot version. The procedure applies to all SC9863A smartphones:
⚠️ Warning: flashing a phone is destructive. There is a real risk of bricking if the operation is done incorrectly or if power is interrupted. This project is provided "AS IS", without any warranty. Use at your own risk and only on your own devices.
Recent SC9863A smartphones have a read-only signed FDL2: the official Spreadtrum tool (SPD Research Tool) refuses to write to the flash via the stock FDL. CVE-2022-38694 (discovered by NCC Group) makes it possible to bypass the BootROM signature check by exploiting a stack overflow, and thus to load an unsigned "download mode" FDL that accepts writes.
This project:
spd_dump commands for a full flash (repartition, write_part × N, erase_part × N) while preserving the IMEI and radio calibration.super.img > 3 GB).git make gcc libusb-1.0-0-dev python3 unzip wget (minimum)# Dépendances
sudo apt update
sudo apt install -y git make gcc libusb-1.0-0-dev python3 unzip wget
# spd_dump (fork TomKing avec support CVE)
git clone https://github.com/TomKing062/spreadtrum_flash.git
cd spreadtrum_flash && make && cd ..
# unpac (ilyakurdyukov) — pour extraire les partitions du .pac
git clone https://github.com/ilyakurdyukov/spreadtrum_flash.git ilya_sprd
cd ilya_sprd/unpac && make && cd ../..
sudo cp udev/80-spreadtrum.rules /etc/udev/rules.d/
sudo udevadm control --reload-rules
sudo udevadm trigger
.pac)Free account on Needrom.com (1 download/day). Search for the exact phone model. If nothing, search by platform code (visible in the file name of other firmwares from the same manufacturer). For all SC9863A, the platform code often contains A605-V-OP or F069MJa.
Extract the .zip → you should get a *.pac file of 2-4 GB.
Tip: if the Needrom page name indicates a close model (e.g., "S6210 Essence 10"), look at the description — the .pac inside may be that of your exact model (e.g., S6210T-A605-V-OP-V018.pac). Confirm with:
./ilya_sprd/unpac/unpac list /chemin/vers/firmware.pac | head -5
Download from the TomKing062/CVE-2022-38694_unlock_bootloader Releases any SC9863A pack. The simplest: sc9863a_Itel_Vision_3.zip (1.2 MB).
mkdir exploit && cd exploit
wget "https://github.com/TomKing062/CVE-2022-38694_unlock_bootloader/releases/download/1.72/sc9863a_Itel_Vision_3.zip"
unzip sc9863a_Itel_Vision_3.zip
cd ..
You need 3 files from this pack:
fdl1-dl.bin (~52 KB)fdl2-dl.bin (~700 KB)custom_exec_no_verify_4ee8.bin (128 B) — the CVE shellcodemkdir extracted_pac
./ilya_sprd/unpac/unpac -d extracted_pac extract /chemin/vers/firmware.pac
You should obtain ~35 files (.img, .bin, .xml).
Edit scripts/build_flash_cmd.py and adjust the paths at the beginning:
PAC = "/chemin/vers/firmware.pac"
XML = "/chemin/vers/extracted_pac/s9863a1h10_go.xml" # le .xml extrait du .pac
OUT_DIR = "/chemin/vers/extracted_pac"
FDL1 = "/chemin/vers/exploit/fdl1-dl.bin"
FDL2 = "/chemin/vers/exploit/fdl2-dl.bin"
UNPAC = "/chemin/vers/ilya_sprd/unpac/unpac"
SPD_DUMP = "/chemin/vers/spreadtrum_flash/spd_dump"
Then generate the script:
python3 scripts/build_flash_cmd.py
# → /tmp/flash_cmd.sh prêt à l'emploi
The SC9863A BROM has an idle timeout of about 2 minutes. If you take too long to launch spd_dump, the BROM becomes inert (visible over USB but refuses commands). Tight timing is required.
Mandatory procedure:
How to check that the BROM is properly in "fresh" mode:
dmesg | tail -5
# Tu dois voir :
# usb 1-X: new high-speed USB device
# usb 1-X: idVendor=1782, idProduct=4d00, bcdDevice= 2.02
# usb 1-X: New USB device strings: Mfr=0, Product=0, SerialNumber=0
Signs of a real fresh BROM:
bcdDevice= 2.02 (and NOT 24.16)Mfr=0 Product=0 (empty strings)high-speed (not full-speed)If you see Mfr=1 Product=2 ... Sprd Gadget Serial / spreadtrum with musb-hdrc → that's the secondary bootloader, NOT the BROM. Redo the procedure.
From the folder containing custom_exec_no_verify_4ee8.bin (spd_dump looks for it in the cwd):
cd /chemin/vers/exploit
(yes yes; sleep 10000) | bash /tmp/flash_cmd.sh 2>&1 | tee /tmp/flash.log
The yes yes automatically answers the interactive confirmations of spd_dump.
Events to watch for in the log:
BSL_REP_VER: "SPRD3\0" → BootROM OKEXEC FDL1 then EXEC FDL2 → FDLs loadedFDL2: incompatible partition → NORMAL, it's just the message warning that the current partition table doesn't matchWrite Part Done: <partition> or Force Write <partition> Done → each partition written successfullyErase Part Done: <partition> → erase OKTypical speed: ~40-45 MB/s. A full flash takes 10-15 min if everything goes smoothly in one go.
The FDL2 "download mode" of Itel/ZTE/others isn't very stable over long runs. It can crash after 5-15 consecutive writes, or in the middle of a large file (e.g. super.img at 7%).
Signs: the log shows usb_send failed : LIBUSB_ERROR_TIMEOUT and the spd_dump process dies.
Solution — Resume:
Done in the log)ALREADY_WRITTEN list in build_flash_cmd.pyFor super.img (3-4 GB) which often crashes: use scripts/flash_super.sh.template, which flashes it in isolation (a single write in a "fresh" FDL2 session). On our side it completed in 76 sec at 44 MB/s.

Marco de pruebas de seguridad automatizado para aplicaciones móviles en Android, iOS y Windows. Realiza análisis estático y dinámico, detección de malware y pruebas de seguridad de API con integración CI/CD.

Herramienta de línea de comandos y GUI para descompilar archivos Android Dex y APK en código fuente Java legible, con capacidades de decodificación de recursos, desofuscación y depuración de Smali.

Una herramienta para la ingeniería inversa de archivos apk de Android.