Amazon Fire TV Stick 4K (amazon-mantis)

Contributors
User:Ungeskriptet

Unlocking the bootloader

 * 1) Download and extract kamakiri-mantis-v2.0.1.zip
 * 2) Run the   script from a Linux computer
 * 3) Connect the Fire TV Stick to the computer with a USB cable. The script will now start exploiting the bootrom of the Fire TV Stick
 * 4) After the first script finished, run the   script to flash TWRP
 * 5) Your Fire TV Stick 4K is now successfully exploited and unlocked!

How to enter recovery mode
To boot into recovery/fastboot mode, run the  or   script from this archive first and connect the Fire TV Stick with a USB cable to the computer.

Installation
Follow the installation guide and create a recovery zip, then export the zip using  and copy it onto a USB drive. Boot the Stick into recovery mode and install the zip from USB drive by going to "Install", "Select storage" and select the last storage device. When plugging in a USB drive/selecting storage the device may freeze up, so only insert the USB drive when already booted in TWRP.

UART
To get UART working, solder wires the points shown below and run the  command in a TWRP shell. The baud rate is 921600.