Raxone / amlogic-usbdl_s905x2

s905x2 Dump Bootrom BL1
GNU General Public License v3.0
12 stars 4 forks source link

unsigned code loader for Amlogic bootrom

Changes

Disclaimer

You will be solely responsible for any damage caused to your hardware/software/warranty/data/cat/etc...

Description

Amlogic bootrom supports booting from USB. This method of boot requires an USB host to send a signed bootloader to the bootrom via USB port.

This tool exploits a vulnerability in the USB download mode to load and run unsigned code in Secure World.

Supported targets

Scripts

Usage

Box must be in usbdl mod. To put box to usbdl mod with toothpick in AV hole on box push button and connect box with USB-A to USB-A cable with PC, keep pressed (10sec) after connect usb cable with pc.

./amlogic-usbdl <input_file> [<output_file>]
    input_file: payload binary to load and execute (max size 65280 bytes)
    output_file: file to write data returned by payload

Payloads

Payloads are raw binary AArch64 executables. Some are provided in directory payloads/.

License

Please see LICENSE.