daivietpda / amlogic-usbdl

Unsigned code loader for Amlogic BootROM

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

amlogic-usbdl : unsigned code loader for Amlogic bootrom

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

  • Khadas VIM3L (S905D3) (Secure boot is disabled anyway)
  • Chromecast with Google TV (S905D3G)

Usage

./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.

About

Unsigned code loader for Amlogic BootROM

License:GNU General Public License v3.0


Languages

Language:C 84.3%Language:Assembly 8.5%Language:Makefile 7.2%