Patch PL to disable LK verification. Patch LK to disable boot/recovery verification.

Overview

Amazon Tethered BL Unlock

License GitHub release (latest by date including pre-releases) GitHub Issues

Simple Python(3) script to disable LK verification in Amazon Preloader images and boot/recovery image verification in Amazon LK ("Little Kernel") images.

Requirements

  • Python 3 (with json5 - pip3 install -r requirement.txt).
  • Preloader &/or LK from an amazon device.

Notice

  • Use this tool at your own risk. I am not responsible for bricked devices. Please BACKUP your PL/LK before using this tool.
  • Please do not redistribute images that have been modified with this tool as after all, all images are property of MediaTek Inc and Amazon.
  • When reporting an issue, provide a detailed report (Android Version, device, and attach both images).

Usage

patcher.py pl  
patcher.py lk   

Usage example

# PL
[email protected] $ python3 patcher.py pl preloader_cupcake.bin preloader_patched.bin
[?] Product name: cupcake.
[?] Using default on/off bits.
[?] Using default bit position.
[?] LK verification: True (0x11e8) (b'\xff').
[*] Disabling LK verification...
[+] Successfully patched PL and saved it as preloader_patched.bin!
[email protected] $

# LK
[email protected] $ python3 patcher.py lk lk_sheldon.bin lk_patched.bin sheldon
[?] Product name: sheldon.
[?] (1/2) Using default on/off bits.
[?] Image verification: True (0x1198) (b'\x00').
[*] Disabling image verification...
[?] (2/2) Using default on/off bits.
[?] Fastboot verification: True (0xdd38) (b'\x01').
[*] Disabling fastboot verification...
[+] Successfully patched LK and saved it as lk_patched.bin!
[email protected] $

Supported devices

Device Model Android Version Tested
Amazon Fire 7 2017 austin - mt8127_evb1 5.1 Yes
Amazon Fire 7 2015 ford - mt8127_evb1 5.1 Yes
Amazon Fire HD8 2016 giza 5.1 Yes
Amazon Fire HD8 2017 giza 5.1 Yes
Amazon Fire HD10 2017 suez 5.1 Yes
Amazon Fire HD10 2019 maverick 9.0 Yes
Amazon Fire HD10 2021 trona 9.0 No
Amazon Fire TV Stick Basic tank - mt8127_evb1 5.1 Yes
Amazon Fire TV Stick 4K mantis 7.1 No
Amazon Fire TV Stick Lite sheldon 9.0 No
Amazon Fire TV 2 (2015) sloane 5.1 Yes
Amazon Echo Input cupcake 7.1 Yes
Amazon Echo Dot 2 biscuit 5.1 No

License

  • This tool is licensed under the GNU (v3) General Public License. See LICENSE for more details.
Owner
Roger Ortiz
Roger Ortiz
AdventOfCode 2021 solutions from the Devcord server

adventofcode-21 Ein Sammel-Repository für Advent of Code 2021-Lösungen der deutschen DevCord-Community. A repository collecting Advent of Code 2021 so

Devcord 12 Aug 26, 2022
Svg-turtle - Use the Python turtle to write SVG files

SaVaGe Turtle Use the Python turtle to write SVG files If you're using the Pytho

Don Kirkby 7 Dec 21, 2022
Distribute PySPI jobs across a PBS cluster

Distribute PySPI jobs across a PBS cluster This repository contains scripts for distributing PySPI jobs across a PBS-type cluster. Each job will conta

Oliver Cliff 1 Feb 10, 2022
Retrying library for Python

Tenacity Tenacity is an Apache 2.0 licensed general-purpose retrying library, written in Python, to simplify the task of adding retry behavior to just

Julien Danjou 4.3k Jan 02, 2023
tg-nearby Trilateration of nearby Telegram users as described in my corresponding article.

tg-nearby Trilateration of nearby Telegram users as described in my corresponding article. Setup If you want to toy with the code in this repository

Maximilian Jugl 75 Dec 26, 2022
Python library to decorate and beautify strings

outputformater Python library to decorate and beautify your standard output 💖 I

Felipe Delestro Matos 259 Dec 13, 2022
A compilation of useful scripts to automate common tasks

Scripts-To-Automate-This A compilation of useful scripts for common tasks Name What it does Type Add file extensions Adds ".png" to a list of file nam

0 Nov 05, 2021
A basic ticketing software.

Ticketer A basic ticketing software. Screenshots Program Launched Issuing Ticket Show your Ticket Entry Done Program Exited Code Features to implement

Samyak Jain 2 Feb 10, 2022
An a simple sistem code in python

AMS OS An a simple code in python ⁕¿What is AMS OS? AMS OS is an a simple sistem code writed in python. This code helps you with the cotidian task, yo

1 Nov 10, 2021
Set up a sidechain for the XRPL quickly and easily

Sidechain Launch Kit Introduction This directory contains python scripts to tests and explore side chains. This document walks through the steps to se

Xpring Engineering 15 Dec 08, 2022
Python code to control laboratory hardware and perform Bayesian reaction optimization on the MIT Make-It system for chemical synthesis

Description This repository contains code accompanying the following paper on the Make-It robotic flow chemistry platform developed by the Jensen Rese

Anirudh Nambiar 11 Dec 10, 2022
Developed a website to analyze and generate report of students based on the curriculum that represents student’s academic performance.

Developed a website to analyze and generate report of students based on the curriculum that represents student’s academic performance. We have developed the system such that, it will automatically pa

VIJETA CHAVHAN 3 Nov 08, 2022
Opendrop - An open Apple AirDrop implementation written in Python

OpenDrop: an Open Source AirDrop Implementation OpenDrop is a command-line tool that allows sharing files between devices directly over Wi-Fi. Its uni

Secure Mobile Networking Lab 7.5k Jan 03, 2023
The functions we created are included in a script. The necessary parts for pre-processing were taken. Analysis complete.

Feature-Engineering The functions we created are included in a script. The necessary parts for pre-processing were taken. Analysis complete. Business

Ayşe Nur Türkaslan 4 Oct 17, 2021
Attempt at creating organized collection of little handy snippets of code I'm receiving along the way

ChaosCode Attempt at creating organized collection of little handy snippets of code I'm receiving along the way I always considered coding and program

INFU 4 Nov 26, 2022
Export transactions for an algorand wallet to a CSV file

algorand_txn_csv_exporter - (Algorand transaction CSV exporter) This script will export transactions for an algorand wallet to a CSV file. It is inten

TeneoPython01 5 Jun 19, 2022
Shows a pixel art of any Pokémon in your terminal!

pokemon-icat This script is inspired by this project, but since the output heavily depends on the font of your terminal, i decided to make a script th

ph04 52 Dec 22, 2022
A very terrible python-based programming language that uses folders instead of text files

PYFolders by Lewis L. Foster PYFolders is a very terrible python-based programming language that uses folders instead of regular text files. In this r

Lewis L. Foster 5 Jan 08, 2022
Viewflow is an Airflow-based framework that allows data scientists to create data models without writing Airflow code.

Viewflow Viewflow is a framework built on the top of Airflow that enables data scientists to create materialized views. It allows data scientists to f

DataCamp 114 Oct 12, 2022