Skip to content

Instantly share code, notes, and snippets.

View halal-beef's full-sized avatar

Umer Uddin halal-beef

View GitHub Profile
@halal-beef
halal-beef / split-sboot.sh
Last active April 17, 2025 18:03
sboot.bin splits for Exynos 990 (9830) based devices
dd if=sboot.bin of=fwbl1.img bs=1 skip=$((0x0)) count=$((0x3000))
dd if=sboot.bin of=epbl.img bs=1 skip=$((0x3000)) count=$((0x16000 - 0x3000))
dd if=sboot.bin of=bl2.img bs=1 skip=$((0x16000)) count=$((0x82000 - 0x16000))
dd if=sboot.bin of=lk.bin bs=1 skip=$((0xDB000)) count=$((0x35B000 - 0xDB000))
dd if=sboot.bin of=el3_mon.img bs=1 skip=$((0x35B000)) count=$((0x39B000 - 0x35B000))