Android Marshmallow on Mi Red 2 Prime

Mi Red 2 Prime is an excellent phone with 2 GB RAM and 1.2 GHz quad-core processor. Xiaomi is leaving no stone unturned to make it a smooth experience both in terms of UI and ease of upgrade via upgrade app. However, if you want a feel of stock Android Marshmallow using standard Android upgrade process, this post will help you. It assumes you have a Linux computer.

Note: Take a backup of your data before you start. Recovery, android ROM and google apps packages can be downloaded from internet.

Tools

You'd need some tools on your computer to help you with the upgrade. viz, adb and fastboot. Run the following command as root.
# bash <(curl -s https://raw.githubusercontent.com/corbindavenport/nexus-tools/master/install.sh)

Fastboot

If you have a computer, it's easier to upgrade the ROM via Fastboot. Also, if you are unable to boot into recovery mode, fastboot allows you to recover from this situation.
  • Connect the phone to computer using USB cable.
  • Press low volume button and power button simultaneously till the phone vibrates indicating it's booting up. Phone starts in Fastboot mode.
  • Run the following command.
$ fastboot flash recovery recovery.img

Sideload

Sideload is the process of installing a package using android debugger adb. Sideloading works ONLY in recovery mode.
  • Connect the phone to computer using USB cable.
  • Press high volume button and power button simultaneously till the phone vibrates indicating it's booting up. Phone starts in Recovery mode.
  • Choose the sideload option.
  • Run the following command.
$ adb sideload package.zip

Feel free to experiment with different ROMs!! 

Comments

Popular posts from this blog

GNU Emacs as a Comic Book Reader

Tinylisp and Multi-threaded Emacs

Data Visualization with GNU Emacs