Skip to content

Instantly share code, notes, and snippets.

View vanbwodonk's full-sized avatar

Arif Darmawan vanbwodonk

  • Surabaya, Indonesia
  • 11:35 (UTC +07:00)
View GitHub Profile
@vanbwodonk
vanbwodonk / revive-dead-emmc-bootloader.md
Created May 15, 2026 17:29 — forked from FarelRA/revive-dead-emmc-bootloader.md
Revive Dead eMMC or Corrupt Bootloader for HG680P & B860H TV Boxes with Armbian

Revive Dead eMMC or Corrupt Bootloader for HG680P & B860H TV Boxes with Armbian

This guide details how to flash and configure a high-performance Linux server OS (Armbian) on old Indonesian TV boxes. This specific method uses a bootloader injection technique that forces the device to boot from the SD card, even if the internal storage is dead, the original Bootloader is corrupted, or Android OS is bricked.


🛠 Prerequisites & Downloads

Hardware

  • TV Box: HG680P or B860H (Amlogic S905X).
@vanbwodonk
vanbwodonk / verify_fitgirl_files.sh
Last active April 4, 2026 08:23
Verify Fitgirl Files in Linux
sed 's|^\([a-f0-9]\{32\}\) \*..\\\(.*\)$|\1 \2|' MD5/fitgirl-bins.md5 | md5sum -c -
@vanbwodonk
vanbwodonk / read-stm32-firmware.md
Last active May 26, 2026 20:46
Read stm32 firmware binary with openOCD

read-stm32-firmware

OpenOCD scripts for read STM32 firmware binary

Requirements

Linux

OpenOCD (Open On-Chip Debugger) is open-source software that interfaces with a hardware debugger's JTAG port. OpenOCD provides debugging and in-system programming for embedded target devices. OpenOCD provides the ability to flash NAND and NOR FLASH memory devices that are attached to the processor on the target system. Flash programming is supported for external CFI compatible flashes (Intel and AMD/Spansion command set) and several internal flashes (LPC2000, AT91SAM7, STR7x, STR9x, LM3 and STM32x).

OpenOCD was originally developed by Dominic Rath at the University of Applied Sciences Augsburg. The OpenOCD source code is now available through the GNU General Public License (GPL).