Code Monkey home page Code Monkey logo

nexus-5x-blod-fix's Introduction

Disable CPU Cores

A Python script to modify Nexus 5X boot images to disable big CPU core in order to workaround the bootloop of death (BLOD). The original fix was found by XCnathan32.

This script has been created to simplify the process of creating new boot images for every new security update. In addition, security-conscious people who do not like to download random kernel images from the Internet can use this script to create a fixed image based on the official factory image.

References:

This script requires Python 2.7 or Python 3. It has been tested on Nexus 5X Oreo (OPR4.170623.009) boot and recovery images.

Usage

Run this script in order to generate new boot and recovery images

./disable_cpu_cores.py --disable-encryption boot.img new_boot.img
./disable_cpu_cores.py --disable-encryption recovery.img new_recovery.img

The --disable-encryption flag is optional and can be used to disabled forced disk encryption.

After that, use fastboot to flash the new boot images to your device.

fastboot flash boot new_boot.img
fastboot flash recovery new_recovery.img

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.