Skip to content

About

No description, website, or topics provided.

Resources

Stars

230 stars

Watchers

9 watching

Forks

Repository files navigation

SVE-2026-3546 - Unsigned code loading for S-LK

This PoC uses it to fuse Secure Boot KEY2 and flash re-signed bootloader files on s5e8825 and s5e9925.

Exynos SoCs where it is possible to easily fuse KEY2 with this SVE:

  • s5e8365
  • s5e8535
  • s5e8825 (Implemented in this repo)
  • s5e8835
  • s5e8845
  • s5e8855
  • s5e9830
  • s5e9840
  • s5e9925 (Implemented in this repo)
  • s5e9945
  • s5e9955
  • Probably more

Possible but not straight forward:

  • s5e8865
  • s5e9965

Demo

Demo

Requirements

  • Python 3
  • clang
  • aarch64-linux-gnu binutils
  • libusb access to the phone

Install the Python packages:

python3 -m pip install -r requirements.txt

Build the Android resigner:

cargo build --release --manifest-path android-resigner/Cargo.toml

Android signer commands: android-resigner/README.md.

1. Sign BL and PIT

./sign_bl.py --soc s5e9925 BL.tar.md5 device.pit

Outputs:

BL_RESIGNED.tar.md5
device_RESIGNED.pit

2. Find offsets

./resolve.py --soc s5e9925 BL_RESIGNED.tar.md5

3. Build the loader

./build_loader.sh --soc s5e9925 BL_RESIGNED.tar.md5 device_RESIGNED.pit

Outputs:

loader.bin
loader.elf
loader/bundle.bin

4. Run

./flash_and_fuse.py --soc s5e9925

Disclaimer

This repo is for research purposes. No one else than you is responsible for what you do to your phone, especially if you're modifying it with LLMs.

About

No description, website, or topics provided.

Resources

Stars

230 stars

Watchers

9 watching

Forks

Releases

Packages

Contributors

Languages