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
Dotfiles & list of programs

dotfiles & list of programs So I wanted to just backup my most used files. I have a bad habit, sometimes I get tired of a distro and do a wipe and sta

2 Sep 04, 2022
Wordle is fun, so let's ruin it with computers.

ruin-wordle Wordle is fun, so let's ruin it with computers. Metrics This repository assesses two metrics about each algorithm: Success: how many of th

Charles Tapley Hoyt 11 Feb 11, 2022
A tool to help plan vacations with friends and family

Vacationer In Development A tool to help plan vacations with friends and family Deployment Requirements: NPM Docker Docker-Compose Deployment Instruct

JK 2 Oct 05, 2021
Wordler - A program to support you to solve the wordle puzzles

solve wordle (https://www.powerlanguage.co.uk/wordle) A program to support you t

Viktor Martinović 2 Jan 17, 2022
App and Python library for parsing, writing, and validation of the STAND013 file format.

python-stand013 python-stand013 is a Python app and library for parsing, writing, and validation of the STAND013 file format. Features The following i

Oda 3 Nov 09, 2022
carrier.py is a Python package/module that's used to save time when programming

carrier.py is a Python package/module that's used to save time when programming, it helps with functions such as 24 and 12 hour time, Discord webhooks, etc

Zacky2613 2 Mar 20, 2022
Comprehensive Python Cheatsheet

Comprehensive Python Cheatsheet

Jure Šorn 31.3k Dec 30, 2022
Nag0mi ctf problem 2021 writeup

Nag0mi ctf problem 2021 writeup

3 Apr 04, 2022
Prints values and types during compilation!

Compile-Time Printer Compile-Time Printer prints values and types at compile-time in C++. Teaser test.cpp compile-time-printer

43 Dec 26, 2022
IPython: Productive Interactive Computing

IPython: Productive Interactive Computing Overview Welcome to IPython. Our full documentation is available on ipython.readthedocs.io and contains info

IPython 15.6k Dec 31, 2022
Cross-platform MachO/ObjC Static binary analysis tool & library. class-dump + otool + lipo + more

ktool Static Mach-O binary metadata analysis tool / information dumper pip3 install k2l Development is currently taking place on the @python3.10 branc

Kritanta 301 Dec 28, 2022
Practice10 - Operasi String With Python

Operasi String MY SOSIAL MEDIA : Apa itu Python String ? String adalah urutan si

Maulana Reza Badrudin 1 Jan 05, 2022
A python script for osu!lazer rulesets auto update.

osu-lazer-rulesets-autoupdater A python script for osu!lazer rulesets auto update. How to use: 如何使用: You can refer to the python script. The begining

3 Jul 26, 2022
This code makes the logs provided by Fiddler proxy of the Google Analytics events coming from iOS more readable.

GA-beautifier-iOS This code makes the logs provided by Fiddler proxy of the Google Analytics events coming from iOS more readable. To run it, create a

Rafael Machado 3 Feb 02, 2022
A few of my adventures with Devito.

Devito-playbox A few of my adventures with Devito. This repository contains a few notebooks and scripts that will lead me in the road of learning this

Átila Saraiva Quintela Soares 1 Feb 08, 2022
Exercicios de Python do Curso Em Video, apresentado por Gustavo Guanabara.

Exercicios Curso Em Video de Python Exercicios de Python do Curso Em Video, apresentado por Gustavo Guanabara. OBS.: Na data de postagem deste repo já

Lorenzo Ribeiro Varalo 0 Oct 21, 2021
tgEasy | Easy for a Brighter Shine | Monkey Patcher Addon for Pyrogram

tgEasy | Easy for a Brighter Shine | Monkey Patcher Addon for Pyrogram

Jayant Hegde Kageri 35 Nov 12, 2022
A simple website-based resource monitor for slurm system.

Slurm Web A simple website-based resource monitor for slurm system. Screenshot Required python packages flask, colored, humanize, humanfriendly, beart

Tengda Han 17 Nov 29, 2022
Terrible sudoku solver with spaghetti code and performance issues

SudokuSolver Terrible sudoku solver with spaghetti code and performance issues - if it's unable to figure out next step it will stop working, it never

Kamil Bizoń 1 Dec 05, 2021
A simple and usefull python calculator.

simplepy-calculator Your simple and fresh calculator. Getting Started Install python3 from the oficial python website or via terminal. Clone this repo

Felix Sanchez 1 Jan 18, 2022