Skip to content
New

DeepSeek V4.1 Flash free for 7 days: 10M tokens a day after a top-up of $10 or more. Until Nov 30.

How it works
aeondave/spi-flashMobile, firmware and hardware

spi-flash

⁨In-circuit and out-of-circuit SPI/NAND flash dumping and writing using flashrom and CH341A/FT232H.⁩

v2026.11.13-21cd5683 installs+3 in 7 days39 Starssynced 10 hours ago

Install

No NotHoly CLI yet? Install it first.

$ curl -fsSL https://notholy.com/install.sh | sh
$ notholy skills install aeondave/spi-flash

Writes to ⁦~/.notholy/skills⁩ after checking the signature and the SHA-256.

SignatureSigned, ed25519
v5XyOWYRGA…fXEtnnBA==The CLI checks the SHA-256 and the signature before it writes a file.
Package96823dca…0ef16f49
96823dca88f9…d17a0ef16f492 files · ⁦1.6 KB⁩
ScanMedium1 finding
  • No license found
See the full scan
Sourcegithub.com/AeonDave/malskill/tree/main/offensive-hardware/spi-flash@21cd568

Use when UART is unavailable, or a full firmware extraction/patching loop is required.

1. Identification and connection

  • Look for 8-pin or 16-pin SOIC chips near the SoC (e.g., Winbond W25Q*, Macronix MX25L* or GigaDevice GD25Q*).
  • In-circuit: Attach a SOIC clip. Ensure the target board is completely powered off to prevent SoC interference.
  • Out-of-circuit: Desolder using hot air, clean pads, mount in programming socket. (Safest for signal integrity, but destructive).

2. Reading firmware (flashrom)

Rule: Read at least twice, and ensure hashes match before proceeding. Variance indicates bad clip contact or SoC contention.

bash
# Read attempt 1
flashrom -p ch341a_spi -r fw_dump1.bin

# Read attempt 2
flashrom -p ch341a_spi -r fw_dump2.bin

# Verification
md5sum fw_dump1.bin fw_dump2.bin

If hashes differ, reseat the clip, shorten cables, or power the target board VCC slightly if SoC is draining programmer current.

3. Writing firmware

Rule: Always backup original raw dump offline before writing.

bash
# Write modified firmware back
flashrom -p ch341a_spi -w fw_patched.bin

4. Flash layout verification

Use binwalk to verify the read was successful and contains expected headers (not just 0xFF or 0x00).

bash
binwalk fw_dump1.bin
# Expect: U-Boot header, Squashfs, JFFS2, TRX, or CramFS

References

  • references/ch341a-voltage-fix.md — Load when using a CH341A programmer on 1.8V or 3.3V target flash chips.

Files in this version

Permissions

PermissionDeclaredFound by the scan
Reads filesNoNo
Writes filesNoNo
Runs shell commandsYesYes
Uses the networkNoNo
Uses connectorsNoNo
Drives a browserNoNo

Scan findings

Reviewed on Nov 13, 2026

  1. MediumLicense · No license found

A clean scan lowers the risk but does not prove a package is safe. Read what you install.

VersionPublishedCommitSHA-256SignaturePermission change
v2026.11.13-21cd568Nov 13, 202621cd56896823dcaSigned–

Ask anything your scope allows.

Create an account, add credits and ask the first question in the chat or the terminal.

  1. 1/3

    Create the account

    Individual or company. You can switch to a company later without losing balance or keys.

    IndividualCompany
  2. 2/3

    Add credits

    By card. Pay per token, no subscription.

    $5.00minimum deposit
  3. 3/3

    Ask

    In the chat, or install the CLI and run notholy login in your terminal.

    $ notholy login