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
Collections of python projects

nppy, mostly contains projects written in Python. Some projects are very simple while some are a bit lenghty and difficult(for beginners) Requirements

ghanteyyy 75 Dec 20, 2022
Packages of Example Data for The Effect

causaldata This repository will contain R, Stata, and Python packages, all called causaldata, which contain data sets that can be used to implement th

103 Dec 24, 2022
Скрипт позволяет выгрузить участников чатов/каналов(по чату для комментариев) и сообщения в различные форматы файлов.

TG-Parser Парсер участников и сообщений из ТГ-Чатов и чатов для комментариев в ТГ-Каналах Возможности Выгрузка участников групп/каналов(по чату для ко

50 Jan 06, 2023
A small project of two newbies, who wanted to learn something about Python language programming, via fun way.

HaveFun A small project of two newbies, who wanted to learn something about Python language programming, via fun way. What's this project about? Well.

Patryk Sobczak 2 Nov 24, 2021
This is an implementation of NeuronJ work with python.

NeuronJ This is an implementation of NeuronJ work with python. NeuronJ is a plug-in for ImageJ that allows you to create and edit neurons masks. Image

Mohammad Mahdi Samei 3 Aug 28, 2022
An easy-to-learn, dynamic, interpreted, procedural programming language

Gen Programming Language WARNING!! THIS LANGUAGE IS IN DEVELOPMENT. ANYTHING CAN CHANGE AT ANY MOMENT. Gen is a dynamic, interpreted, procedural progr

Gen Programming Language 7 Oct 17, 2022
A functional standard library for Python.

Toolz A set of utility functions for iterators, functions, and dictionaries. See the PyToolz documentation at https://toolz.readthedocs.io LICENSE New

4.1k Jan 04, 2023
A python API act as Control Center to control your Clevo Laptop via wmi on windows.

ClevoPyControlCenter A python API act as Control Center to control your Clevo Laptop via wmi on windows. Usage # pip3 install pymi from clevo_wmi impo

3 Sep 19, 2022
Direct Multi-view Multi-person 3D Human Pose Estimation

Implementation of NeurIPS-2021 paper: Direct Multi-view Multi-person 3D Human Pose Estimation [paper] [video-YouTube, video-Bilibili] [slides] This is

Sea AI Lab 253 Jan 05, 2023
An useful scripts for Misskey

misskey-scripts This place storing useful scripts which made by me. icon-repair Repair broken remote user's icon.

CyberRex 5 Sep 09, 2022
This script can be used to get unlimited Gb for WARP.

Warp-Unlimited-GB This script can be used to get unlimited Gb for WARP. How to use Change the value of the 'referrer' to warp id of yours You can down

Anix Sam Saji 1 Feb 14, 2022
Load, explore and analyse data from Scotland and rest of the world related to Covid19.

Streamlit Examples This is my first attempt with Streamlit. It is an open-source framework, free, Python-based and easy to use tool to build and deplo

Eyad Elyan 12 Mar 01, 2021
Lightweight and Modern kernel for VK Bots

This is the kernel for creating VK Bots written in Python 3.9

Yrvijo 4 Nov 21, 2021
Bitflip Fault Simulation Platform by Daniele Rizzieri (2021)

BFSP [v1.05] Bitflip Fault Simulation Platform by Daniele Rizzieri (2021) The platform injects a random bitflip in each of N copies of a binary file.

Daniele Rizzieri 2 Nov 05, 2022
An execution framework for systematic strategies

WAGMI is an execution framework for systematic strategies. It is very much a work in progress, please don't expect it to work! Architecture The Django

Rich Atkinson 10 Mar 28, 2022
This program can calculate the Aerial Distance between two cities.

Aerial_Distance_Calculator This program can calculate the Aerial Distance between two cities. This repository include both Jupyter notebook and Python

InvisiblePro 1 Apr 08, 2022
:snake: Complete C99 parser in pure Python

pycparser v2.20 Contents 1 Introduction 1.1 What is pycparser? 1.2 What is it good for? 1.3 Which version of C does pycparser support? 1.4 What gramma

Eli Bendersky 2.8k Dec 29, 2022
Runs macOS on linux with qemu.

mac-on-linux-with-qemu Runs macOS on linux with qemu. Pre-requisites qemu-system-x86_64 dmg2img pulseaudio python[click] Usage After cloning the repos

Arindam Das 177 Dec 26, 2022
Konomi: Kind and Optimized Next brOadcast watching systeM Infrastructure

Konomi 備考・注意事項 現在 α 版で、まだ実験的なプロダクトです。通常利用には耐えないでしょうし、サポートもできません。 安定しているとは到底言いがたい品質ですが、それでも構わない方のみ導入してください。 使い方などの説明も用意できていないため、自力でトラブルに対処できるエンジニアの方以外に

tsukumi 243 Dec 30, 2022