Skip to content
KitploitKITPLOIT
工具漏洞利用博客
Log in
提交
工具漏洞利用博客
提交

黑客、渗透测试和网络安全工具,武装您的安全武器库!

Kitploit 是一个黑客、网络安全和渗透测试工具的目录。发现最新的项目更新,查找漏洞、分析系统、自动化测试并加强你的安全。

订阅源联系隐私© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
sc9863a-flash-free — 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. | Kitploit
工具/GitHubGitHub/dazbot13-boopt/sc9863a-flash-free
Android SecurityEmbedded Systems SecurityExploitationMobile SecurityUtilities & FrameworksHardware & IoT SecurityLearning & EducationPayload DevelopmentFirmware Analysis
GitHubdazbot13-boopt/sc9863a-flash-free

sc9863a-flash-free

12026年11月22日尚未审核
分享

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.

查看仓库
内容在请求的语言中不可用。显示英文版本。

Free flashing of an SC9863A phone via CVE-2022-38694

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:

  • Philips S6210 / S6210T / S6211 / S6311
  • itel V654L / Vision 3
  • Villaon V50s / V651L
  • Hisense HLTE229
  • Nokia C3
  • Realme C11 2021 (RMX3231) / Narzo 50i (RMX3235)
  • ZTE Blade A31 / A51 / A52 / A5_2019 / A7_2019 / v2020_smart / Voyage 40se
  • Vankyo S30, FOXXD A67L, Welcome C37 Ultra, Infinix Smart 6, etc.

⚠️ 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.


Why this method works

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:

  1. Contains no proprietary binaries (no firmware, no FDL, no shellcode). Everything is downloaded from the listed public sources.
  2. Provides a Python script that parses the firmware XML and generates the complete sequence of spd_dump commands for a full flash (repartition, write_part × N, erase_part × N) while preserving the IMEI and radio calibration.
  3. Handles resume if the FDL2 crashes during the flash (a common case with large firmwares such as super.img > 3 GB).

Prerequisites

  • Linux (tested on Kali/Debian — works on any recent distro)
  • Packages: git make gcc libusb-1.0-0-dev python3 unzip wget (minimum)
  • A reliable data USB cable (not a charge-only cable)
  • A little patience

Step 1 — Install the tools

# 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 ../..

Step 2 — udev rule (avoids sudo for spd_dump)

sudo cp udev/80-spreadtrum.rules /etc/udev/rules.d/
sudo udevadm control --reload-rules
sudo udevadm trigger

Step 3 — Retrieve the stock firmware (.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

Step 4 — Retrieve the exploit tools (FDL unlocked + shellcode)

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 shellcode

Step 5 — Extract the partitions from the firmware

mkdir extracted_pac
./ilya_sprd/unpac/unpac -d extracted_pac extract /chemin/vers/firmware.pac

You should obtain ~35 files (.img, .bin, .xml).

Step 6 — Configure the script generator

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

Step 7 — Enter "fresh" BROM mode (the most important step)

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:

  1. Unplug the phone's USB
  2. Press and hold Power + Volume Down together for 15 seconds (force off, even if frozen)
  3. Release. Wait 5 seconds.
  4. Press and hold Volume Down (alone)
  5. Plug in the USB while keeping Volume Down pressed
  6. Keep Volume Down pressed for 10 seconds after plugging in
  7. Within the next 30 seconds, run the flash command

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.

Step 8 — Start the flash

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 OK
  • EXEC FDL1 then EXEC FDL2 → FDLs loaded
  • FDL2: incompatible partition → NORMAL, it's just the message warning that the current partition table doesn't match
  • Write Part Done: <partition> or Force Write <partition> Done → each partition written successfully
  • Erase Part Done: <partition> → erase OK

Typical speed: ~40-45 MB/s. A full flash takes 10-15 min if everything goes smoothly in one go.

Step 9 — Handle FDL2 crashes (if they happen)

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:

  1. Note the partitions already done (grep Done in the log)
  2. Add them to the ALREADY_WRITTEN list in build_flash_cmd.py
  3. Redo the fresh BROM procedure (Step 7)
  4. Regenerate and rerun the script (Step 6 + 8)

For 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.

Step 10 — Test

下载工具

相关工具

  • Mobile-Security-Framework-MobSF

    适用于Android、iOS和Windows的自动化移动应用安全测试框架。执行静态和动态分析、恶意软件检测以及API安全测试,并支持CI/CD集成。

  • jadx

    命令行和GUI工具,用于将Android Dex和APK文件反编译为可读的Java源代码,支持资源解码、反混淆和Smali调试功能。

  • Apktool

    一个用于逆向工程安卓apk文件的工具

最受欢迎

查看全部 →

发现我们社区最常用的工具。

  • 1

    ghostlock-app

    yukonga/ghostlock-app

    针对 CVE-2026-43499 的一键式 Android 内核漏洞利用应用,通过内核模块加载实现权限提升,并提供偏移提取与设备端分析工具。

    745
  • 2

    IMSIcatcher

    28zaaky/imsicatcher

    IMSI Catcher 平台,可部署伪基站 GSM 小区以拦截短信、注入消息并追踪移动设备

    732
  • 3

    Callisto

    jetp1ane/callisto

    自动化二进制漏洞分析工具,通过Ghidra反编译可执行文件,使用Semgrep扫描伪C代码,并利用GPT-3.5-Turbo验证发现以减少误报。

    610
  • 4

    opencti

    opencti-platform/opencti

    开放式网络威胁情报平台

    546
  • 5

    ARTEX

    baarai/artex

    基于LLM的多智能体自主渗透测试平台,具备规划器/执行器智能体、资产与探索图谱、MITM流量记录以及漏洞复测功能。

    414
  • 6

    DFRoot

    a2333c/dfroot

    Android root tool for Samsung Galaxy S25 Ultra (SM-S938B) that chains DirtyFrag CVE-2026-43284 and CVE-2026-43499 to gain root automatically at boot via KernelSU.

    413

探索所有工具

浏览我们的工具集合

查看所有工具 →