Git Product home page Git Product logo

free-xiaomi-mi-mix-2-to-e.foundation-rom's Introduction

Device : Xiaomi Mi Mix 2


Very important: please read the following carefully before proceeding!

Installing a new operating system on a mobile device can potentially

1. lead to all data destruction on the device
2. make it an unrecoverable brick.

So please only flash your device if you know what you are doing and are OK with taking the associated risk. I deny any and all responsibility about the consequences of using /e/ software and/or /e/ services.


  1. Start configuration
    • Backup your current files and data
    • Make sure your device battery is charged above 50%
    • Settings > About phone, enable
      • Developer Options (Tap on the MIUI version 7 times)
    • Settings > SYSTEM SETTINGS > Additional settings > Developer Options, enable
      • OEM unlocking
      • USB Debugging
      • Mi Unlock Status
        • Give permission
        • Add mi account
  2. Unlock bootloader
    • On PC Windows, go to https://en.miui.com/unlock/
    • Log to mi account and download Mi Unlock
    • Shut down your phone. Hold volume down key and power button to enter Fastboot mode
    • Connect your phone to PC using USB cable and click miflash_unlock.exe
  3. Replace recovery : TWRP
    • Install ADB drivers
    • Shut down your phone and connect phone to pc
    • Enter Fastboot mode (hold volume down key and power button)
    • Check usb link2
      • $ fastboot devices -l

        6bb90eca fastboot usb:1-1.2

      • $ fastboot flash recovery recovery.img
      • $ fastboot boot recovery.img
      • $ adb devices

        List of devices attached 6bb90eca recovery

    • Transfer zip
    • Install zip with TWRP > Home > Install > Select
  4. Install /e/
    • Download /e/ rom5
    • TWRP > Home > Advanced > ADB Sideload, then swipe to begin sideload.
    • On the host machine, sideload the package using
    • Once finished, TWRP > Home > Reboot > System

1 https://eu.dl.twrp.me/chiron/twrp-3.3.1-1-chiron.img.html

2 adb usb link help

  • $ lsusb

    Bus 002 Device 009: ID 18d1:d00d Google Inc. vendor id: 18d1 product id: d00d

  • $ sudo vim /etc/udev/rules.d/51-android.rules

only fasboot menu

  • $ sudo udevadm control --reload-rules
  • $ sudo usermod -aG adbusers $LOGNAME
  • $ sudo adb kill-server
  • $ sudo adb start-server

3 https://www.cyanogenmods.org/downloads/disable-force-encryption-twrp-flashable-zip-treble/

4 https://github.com/topjohnwu/Magisk/releases/

5 This rom has been modified because of error when flashing

assert failed : xiaomi.verify_trustzone("TZ.BF.4.0.6-00124","TZ.BF.4.0.6-00130") == "1"

solution

free-xiaomi-mi-mix-2-to-e.foundation-rom's People

Contributors

ionl avatar

Watchers

 avatar

Forkers

xserveraws

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.