Monday, 14 November 2016

[GUIDE] Tutorial untuk Install Official Cyanogenmod 13 di Xiaomi MI5 ( By Captain_Obviyus )

First : Warning !!!

* Your warranty is now void.
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.

Each step of the guide REQUIRES you to have completed the step prior to that one for it to work. For example, you can't go installing TWRP on your device without unlocking the bootloader first.

  1. Xiaomi Mi5
  2. TWRP for Mi5 by Cofface
  3. Latest Cyanogenmod 13 Nightly Build
  4. You can follow this guide to see how to install ADB on your system.
  5. OpenGApps. I suggest you download the micro package.

Let's get started:

  1. Unlocking the Bootloader:
    The first thing any Mi5 owner NEEDS to do is to unlock their bootloader.Here is a great guide for unlocking the bootloader of the Mi5 (or any Xiaomi device for that matter) by TheUltrametricSpace. It's much better than anything I can make. So before you do anything go here and unlock the bootloader.
  2. Installing TWRP:
    When I use the Official TWRP from here, my touchscreen doesn't work. I haven't a found a solution yet. If any of you know how to fix this then please post it down below. If it works out I'll put it up in this guide. For now, we'll use TWRP by Cofface for Mi5. So far this is the only TWRP that seems to work for me.
    1. You're most likely coming from MIUI 8 and thus, running Marshmallow. I'm not sure but there is some sort of encryption that Google has put in so you cannot use TWRP to flash your .zips from Internal Storage. So before you go any further, backup your files/apps or anything you might need.
    2. Go to the platform-tools folder and extract the .rar file that you downloaded earlier containing TWRP there.
    3. Rename the .img file extarcted from the TWRP .rar to twrp.img
    4. Run the CMD shortcut you pasted in the ADB folder from the guide above as an administrator.
    5. Connect you Mi5 to your computer. Hold both the Power and Volume Down button to boot into the bootloader. You should see this image.
    6. [At this point, you MUST have fastboot.exe and twrp.img inside the platform-tools folder.
    7. Now go back to the CMD window you opened. Type in the follwoing:

      adb devices
      Press enter. You should see your device in the window after typing this.
      fastboot flash recovery twrp.img
      Press enter. On the command window you should see a few lines popup and at the end it will show time taken to complete operation. So far so good.
      adb reboot recovery
      Press enter. You should now see the TWRP flash screen.
    8. If TWRP is in Chinese, worry not.

      Tap on the second box to select language. Scroll down and select English.
    9. Swipe to allow modifications.
    10. You should be in TWRP now.

  3. Installing Cyanogenmod 13:
    Of all the ROMs that I have used, I find that CM13 is far better. It's mostly personal preference. If you want to install any other ROM, the process is more or less exactly the same. Follow the instructions below:
    1. Tap on Wipe.
    2. Tap on Advanced Wipe.
    3. Select everything except USB-OTG.
    4. Swipe to Wipe.
    5. Go back to the main TWRP screen.
    6. Tap on Mount.
    7. Tap on Enable MTP.
    8. Connect your phone to your computer via USB.
    9. Copy and from your computer to the Internal Storage folder inside Mi5 in My Computer.
    10. Come back to TWRP.
    11. Tap on Install.
    12. Scroll down and find the file and tap on it. Installation will start and will take about a minute and a half.
    13. Now come back and flash the file. This should be much faster.
    14. Now go back to the Wipe section and select only the Dalvik & cache.
    15. Now press Reboot System.
  4. And that's it. The first boot will take quite some time. You're running Cyanogenmod 13 now!

You can also install Falcon Kernel by Harrynowl to get a few more extra features. Install it like you would Cyanogenmod by flashing the .zip.

  1. Cyanogenmod 13
    1. bgcngm
    2. Mi5 Developers
    3. Cyanogenmod Developers
  2. TWRP by Cofface
  3. User TheUltrametricSpace for his excellent Bootloader Unlocking Guide.
  4. User iamareebjamal for the awesome ADB Guide.
  5. User Harrynowl for the Falcon Kernel.

Emoticon Emoticon