Skip to content
KitploitKITPLOIT
ツールエクスプロイトブログ
Log in
提出
ツールエクスプロイトブログ
提出

ハッキング、侵入テスト、サイバーセキュリティツールをあなたのセキュリティアーセナルに!

Kitploitはハッキング、サイバーセキュリティ、ペネトレーションテストのツールディレクトリです。最新のプロジェクトアップデートを見つけて、脆弱性の発見、システム分析、テストの自動化、セキュリティの強化を行いましょう。

フィードお問い合わせプライバシー© 2026 Kitploit

ツールディレクトリ

カテゴリ

すべてのカテゴリを見る
Loading categories
ツール/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向けの自動モバイルアプリケーションセキュリティテストフレームワーク。静的・動的解析、マルウェア検出、CI/CD統合によるAPIセキュリティテストを実行します。

  • jadx

    AndroidのDexファイルやAPKファイルを読み取り可能なJavaソースコードに逆コンパイルするためのコマンドラインおよびGUIツール。リソースデコード、難読化解除、Smaliデバッグ機能を備えています。

  • Apktool

    Android apkファイルのリバースエンジニアリングツール

人気

すべて見る →

コミュニティで最も使われているツールを見つけましょう。

  • 1

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock ワンタップ実行アプリ(CVE-2026-43499)

    745
  • 2

    IMSIcatcher

    28zaaky/imsicatcher

    不正なGSMセルを展開してSMSを傍受し、メッセージを注入し、モバイル端末を追跡するIMSI Catcherプラットフォーム

    732
  • 3

    Callisto

    jetp1ane/callisto

    Ghidraを介して実行可能ファイルを逆コンパイルし、Semgrepで擬似Cコードをスキャンし、GPT-3.5-Turboを使用して検出結果を検証することで誤検知を低減する、自動化されたバイナリ脆弱性解析ツール。

    610
  • 4

    opencti

    opencti-platform/opencti

    オープンサイバー脅威インテリジェンスプラットフォーム

    546
  • 5

    ARTEX

    baarai/artex

    プランナー/ワーカーエージェント、資産グラフと探索グラフ、MITMトラフィック記録、脆弱性の再テストを備えたLLMマルチエージェント自律ペネトレーションテストプラットフォーム。

    414
  • 6

    DFRoot

    a2333c/dfroot

    Samsung Galaxy S25 Ultra (SM-S938B) 向けの Android root ツール。DirtyFrag CVE-2026-43284 と CVE-2026-43499 を連鎖させ、KernelSU 経由で起動時に自動的に root を取得します。

    413

すべてのツールを探索

ツールコレクションを閲覧

すべてのツールを見る →