Giter Site home page Giter Site logo

ked2wm / miunlock Goto Github PK

View Code? Open in Web Editor NEW

This project forked from canny1913/miunlock

0.0 0.0 0.0 43 KB

A program that can be used to retrieve the bootloader unlock token for Xiaomi devices. (and unlock the bootloader)

Home Page: https://unlock.update.miui.com

Python 100.00%

miunlock's Introduction

NOTE:This tool CANNOT bypass the 7, 14, 30 day unlock time.

Instructions

WARNING:Do not reboot your device while performing the instructions or else you'll have to start over the unlock process!

To use this:

1)Install Python 3.9 or newer (tick the "Add Python X.X to PATH" option if you are using Windows)

https://www.python.org/downloads

2)After installing, open up Terminal (or Command Prompt) and enter:

pip3 install -r requirements.txt

3)Run the program and do what program tells you to do

Windows: py -3 main.py or python main.py

Linux: python3 main.py or chmod +x main.py && ./main.py

if the code succeeds it will give you a really long string which is the unlock token, put this into a file with a hex editor, name it token

4)Download https://github.com/penn5/fastbrute

5)Run interpreter.py just like shown in step 3

6)Type:

=token
oem unlock

The device will factory reset and unlock successfully.

F.A.Q

  1. Q)I tried to run the code and it said "python.exe is not recognized"

    A)You didn't install Python properly,re-read the instructions.

  2. Q)Fastbrute gives "Error 0xffffffff" and reboots device.

    A)I'm assuming you rebooted the device during unlocking which you shouldn't.Don't reboot the device during the unlock process or else the unlock token will change.

  3. Q)The code says my fastboot token is invalid or fastboot says "unknown command".

    A)Try using fastboot getvar token instead of fastboot oem get_token

  1. Q)The code gives "Unknown error"

    A)Open a new issue,post a screenshot of the output there and i will try to figure out what's wrong.

Credits

@GiorgioUghini @penn5 @notmarek @pcfighter @rien333

miunlock's People

Contributors

canny1913 avatar penn5 avatar tfuxu avatar

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.