Showing posts with label Android. Show all posts
Showing posts with label Android. Show all posts

Tuesday, 15 November 2016

[OFFICIAL] CyanogenMod 14.1 - mi4 [cancro] By Linuxxxx


CyanogenMod is a free, community built, aftermarket firmware distribution of Android 7.1 (Nougat), which is designed to increase performance and reliability over stock Android for your device.


Code:
#include "std_disclaimer.h"
/*
 * 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.
 */
CyanogenMod is based on the Android Open Source Project with extra contributions from many people within the Android community. All the source code for CyanogenMod is available in the CyanogenMod Github repo. And if you would like to contribute to CyanogenMod, please visit Gerrit Code Review.

Wiki
Official CyanogenMod Wiki: http://wiki.cyanogenmod.org/w/cancro_Info

Installation
First time CyanogenMod 14.1 installation on your Xiaomi Mi4:
  • Read the official Wiki page
  • Unlock your bootloader if you haven't done so already
  • Flash a custom recovery via Fastboot
  • Push GApps (arm) and the CM 14.1 zip to your device
  • Boot into Recovery
  • Perform factory reset
  • Flash the CM 14.1 zip from SD card
  • Flash GApps from SD card
  • Reboot
Upgrading from earlier version of CyanogenMod (even from 13.0 and 12.1) :
  • Push the new CM 14.1 zip to your SD card
  • Boot into Recovery
  • Flash the CM 14.1 zip from SD card
  • Flash the most recent GApps for 7.1 if you are upgrading from earlier android version
  • Reboot

Supported devices
  • Mi3w
  • Mi4 (WCDMA)
These devices are supported, but the maintainer WILL NOT fix bugs that are reproduceable just in those devices
  • Mi4 LTE

Downloads -----------------------------------------------------------------------------
Reporting bugs
  • DO NOT report bugs if you're running a custom kernel
  • DO NOT report bugs if you've modifies system files
  • DO NOT report bugs if you've installed xposed and/or other mods
  • Grab a logcat right after the problem has occurred. (Please include at least a few pages of the log, not just the last few lines, unless you know what you're doing.)
  • If it is a random reboot, grab /proc/last_kmsg. (Do not bother getting a logcat unless you can get it just before the reboot. A logcat after a reboot is useless)
  • If the problem disappears after running "setenforce 0" from a root shell, grab /data/misc/audit/audit.log
Remember to provide as much info as possible. The more info you provide, the more likely that the bug will be solved. Please also do not report known issues or bugs reported in the lastest 5 pages of this thread. Any bug not reported in the bug report format below may be ignored.

Code:
Phone Informations
* Model (Mi3 / Mi4 / Mi4 LTE)
* CM version
* Gapps version
What you did:
* Wipe data: y/n
* Upgrade from previous official cm build: y/n
* Restore with titanium backup: y/n
You're using (if yes write which one) :
* Task killer
* Phone cleaner / Battery enhancer apps
* Non-stock kernel
* Modified kernel settings
* Other mods
Bug info:
* Last version it worked on
* Repro steps
F.A.Q.
  • I get error 7 while flashing this rom, what does it mean?
  • Read what the recovery says: "You're running on an unsupported (Kitkat) baseband". In order to flash the lastest CM builds you must have Miui MM baseband and partition layout installed. Visit http://bit.ly/cancroCMBaseband to learn how to update these
  • ROOT! ROOT! Give me root or i'll die!!! Where root is???
  • First of all DO NOT flash any SuperSu/SuperUser/SuperMan zip package to get root. Go to Settings>Developement Settings>Root access and select "Apps Only"
  • Why no nightly today?
  • Build failed. Check again tomorrow
  • When do I have to wipe data?
  • You must wipe data only when you're switching from another rom or migrating to Snapshot branch from Nightly and vice versa. You don't need to wipe data when you update in the same release channe (this applies to 13.0 -> 14.1 upgrades too)
  • Why no <insert miui feature here>?
  • Because this is CyanogenMod
  • Will you add <insert awesome feature here>?
  • I won't. If you write it, submit a commit to gerrit, where it will be reviewed.

The CyanogenMod team would like to thank everyone involved in helping with testing, coding, debugging & documenting! Enjoy!

XDA:DevDB Information
[OFFICIAL] CyanogenMod 14.1 - mi4 [cancro], ROM for the Xiaomi Mi 4

Contributors
linuxxxx
Source Code: https://github.com/cyanogenmod

ROM OS Version: 7.x Nougat
ROM Kernel: Linux 3.4.x
ROM Firmware Required: MiUi MM baseband and partition layout

Version Information
Status: Nightly

Created 2016-11-08
Last Updated 2016-11-14

[ROM] [Android 7.1] [Libra] [MI4C] Unofficial CM14.1 by AndropaX

Unofficial Cyanogenmod 14.1 (Android 7.1 Nougat) for Xiaomi Mi4c brought to you by @AndropaX (I am not author of this ROM, all respect to @AndropaX)

Download build 20161105 - 497.8MB - MD5 - 2686946d15d929f8c8e6a60c60dcf9aa

Flash together with OpenGapps ARM64 7.1 Pico

Works:
RIL (calls/messaging/mobile data)
Wifi
GPS
IR blaster (tested with Peel on LG TV)
camera incl. video/120fps/HDR
and pretty much everything else except Bugs

Bugs 20161029:
- battery saver and performance menu crash - fixed, can be changed to Efficiency
- battery indicator style - fixed, can be changed to big text percentage
- missing reboot in power menu - fixed, also Advanced power menu through developer options works
- button brightness settings - not fixed
- fingerprint sensor notification - removed, fixed
- double twist for camera - removed, so i guess fixed
- preferred network type in system profiles crash - not fixed
- default SIM for calls/data blank (select manually in SIM settings)

short review
boot is faster than Hikari No Tenshi, default theme seem to be a bit darker than HnT at least in quick tiles, Last app through Menu button works fine, no wifi 5/2.4ghz switch (as in other CM14 builds), switching from full brightness in camera to previous brightness elsewhere seem to work OK, default vibration has normal intensity, not as strong as in HnT

new (untested) - lift to wake, power on sounds option, extra settings edge double tap (was in HnT build too actually), force allow apps on external, force activities to be resizeable

[ TUTORIAL ] Unlock Bootloader MI4C Tanpa Verifikasi Xiaomi

This evening I had the same problem like many of you and I just did not want to wait 2-3 weeks for the unlock code from Xiaomi. I went through a lot of threads and different forums to create this guide.

Requirements
- ADB up and running (I am an Android developer, so I have this installed already - unsure if you need specific ADB drivers for Xiaomi devices though)
- Xiaomi MI4c
- MiFlash: http://bigota.d.miui.com/tools/MiPhone20151028.exe (via http://en.miui.com/a-234.html) - Install
- Mi4c Image: libra_images_6.1.7_20151221.0000.11_5.1_cn_b09dac7 0a0.tgz - unpack until "images" directory is visible!
- [Optional] Mi4c Fastboot Image: miui_MI4c_6.1.21_d1d054460d_5.1.zip
- [Optional] Latest TWRP: http://forum.xda-developers.com/mi-4...p-3-0-t3315059
- [Optional] Latest build of CM 12.1: http://forum.xda-developers.com/mi-4...evice-t3291631

Step-by-step

Step 1 is optional: I was not sure, if I could use the "fastboot oem edl" command in a higher version of MIUI... feedback required. Thus following is a list of known Xiaomi ROMs which support this procedure:
If you are using one of the following ROM versions, you should be able to unlock the device easily with the provided guide. However, I have messages that the versions don't work with higher MIUI ROM versions.

CONFIRMED WORKING
V8.6.9.15 MIUI Dev ROM
V8.0.16.0 MIUI Dev ROM
V7.5.4.0
V7.5.3.0.LXKCNDE
V7.1.4.0.LXKCNCK
V6.1.21 (Download link above)
V6.3.24
V6.3.17
V6.4.21
V6.4.14
V6.5.26
V6.8.25
V6.9.15 (China Dev)

Not confirmed (?)
None

Not working
None

  1. (Optional) Downgrade your Mi4c by flashing any image from the list above via the "Updater" app (use top right icon to select image).
  2. Reboot into fastboot mode (Power + Vol Down) until you see the MIUI rabbit and "FASTBOOT"
  3. Command: fastboot oem edl (this brings your device in a kind of emergency recovery state) -> the device does only show a black screen. Do the next step.
  4. Use MiFlash to flash 6.1.7 image (Browse -> select the "images" directory of the 6.1.7 package and start flashing)
  5. When completed, reboot the phone by holding the Power button long (~8s)
  6. Wait until 6.1.7 is completely loaded (this may take a while)
  7. Reboot into fastboot mode (Power + Vol Down)
  8. Command: fastboot oem unlock -> at this point you should have an unlocked bootloader
  9. Now optionally install TWRP and subsequently CM 12.1 and enjoy (see respective linkes in the requirements for a howto) - TWRP: fastboot flash recovery <twrp>.img


With this post, I want to say thank you to all the developers who take their time to port Cyanogen to exotic Android devices. You are heroes!


In case you want to donate him something: https://paypal.me/wolkenjaeger

Video Tutorial Unlock Bootloader dan Root Huawei P9

 somboons Video 

[TOOL] SRK Tool Huawei Bootloader/ROOT/Recovery/Backup/Utility

[VDO-GUIDE] Unlock Bootloader/TWRP/Root Huawei P9/P9+ 




[Warehouse] All Stock Firmware Huawei P9 - 20161113 ( BY Somboons Xda )

I would like to share download link of huawei P9

Donate paypal: droidthpage@gmail.com
If you like my work, you can buy me a Beer 


EVA-L19C185B170
http://update.hicloud.com:8180/TDS/d.../changelog.xml
http://update.hicloud.com:8180/TDS/d...ull/update.zip
http://update.hicloud.com:8180/TDS/d...l/filelist.xml

EVA-L09C432B166
http://update.hicloud.com:8180/TDS/d.../changelog.xml
http://update.hicloud.com:8180/TDS/d...ull/update.zip
http://update.hicloud.com:8180/TDS/d...l/filelist.xml

EVA-L09C185B170
http://update.hicloud.com:8180/TDS/d.../changelog.xml
http://update.hicloud.com:8180/TDS/d...ull/update.zip
http://update.hicloud.com:8180/TDS/d...l/filelist.xml

EVA-C432B030
http://update.hicloud.com:8180/TDS/d.../changelog.xml
http://update.hicloud.com:8180/TDS/d...ull/update.zip
http://update.hicloud.com:8180/TDS/d...l/filelist.xml

EVA-L09C02B132
http://update.hicloud.com:8180/TDS/d.../changelog.xml
http://update.hicloud.com:8180/TDS/d...ull/update.zip
http://update.hicloud.com:8180/TDS/d...l/filelist.xml

EMUI-EVA-C432B029
http://update.hicloud.com:8180/TDS/d.../changelog.xml
http://update.hicloud.com:8180/TDS/d...ull/update.zip
http://update.hicloud.com:8180/TDS/d...l/filelist.xml

EVA-L09C688B139
http://update.hicloud.com:8180/TDS/d.../changelog.xml
http://update.hicloud.com:8180/TDS/d...ull/update.zip
http://update.hicloud.com:8180/TDS/d...l/filelist.xml

EVA-L09C02B132
http://update.hicloud.com:8180/TDS/d.../changelog.xml
http://update.hicloud.com:8180/TDS/d...ull/update.zip
http://update.hicloud.com:8180/TDS/d...l/filelist.xml

EVA-L19C636B168
http://update.hicloud.com:8180/TDS/d.../changelog.xml
http://update.hicloud.com:8180/TDS/d...ull/update.zip
http://update.hicloud.com:8180/TDS/d...l/filelist.xml

EVA-L29C636B168
http://update.hicloud.com:8180/TDS/d.../changelog.xml
http://update.hicloud.com:8180/TDS/d...ull/update.zip
http://update.hicloud.com:8180/TDS/d...l/filelist.xml

EVA-L09C636B168
http://update.hicloud.com:8180/TDS/d.../changelog.xml
http://update.hicloud.com:8180/TDS/d...ull/update.zip
http://update.hicloud.com:8180/TDS/d...l/filelist.xml

EVA-L09C605B13
http://update.hicloud.com:8180/TDS/d.../changelog.xml
http://update.hicloud.com:8180/TDS/d...ull/update.zip
http://update.hicloud.com:8180/TDS/d...l/filelist.xml

EVA-L19C605B135
http://update.hicloud.com:8180/TDS/d.../changelog.xml
http://update.hicloud.com:8180/TDS/d...ull/update.zip
http://update.hicloud.com:8180/TDS/d...l/filelist.xml


EVA-L09C451B130
http://update.hicloud.com:8180/TDS/d.../changelog.xml
http://update.hicloud.com:8180/TDS/d...ull/update.zip
http://update.hicloud.com:8180/TDS/d...l/filelist.xml

EVA-L09C02B131
http://update.hicloud.com:8180/TDS/d.../changelog.xml
http://update.hicloud.com:8180/TDS/d...ull/update.zip
http://update.hicloud.com:8180/TDS/d...l/filelist.xml

EVA-L09C02B131
http://update.hicloud.com:8180/TDS/d.../changelog.xml
http://update.hicloud.com:8180/TDS/d...ull/update.zip
http://update.hicloud.com:8180/TDS/d...l/filelist.xml

EVA-L09C432B167
http://update.hicloud.com:8180/TDS/d.../changelog.xml
http://update.hicloud.com:8180/TDS/d...ull/update.zip
http://update.hicloud.com:8180/TDS/d...l/filelist.xml

EVA-L09C432B167
http://update.hicloud.com:8180/TDS/d.../changelog.xml
http://update.hicloud.com:8180/TDS/d...ull/update.zip
http://update.hicloud.com:8180/TDS/d...l/filelist.xml

NXT-L09C521B140
http://update.hicloud.com:8180/TDS/d.../changelog.xml
http://update.hicloud.com:8180/TDS/d...ull/update.zip
http://update.hicloud.com:8180/TDS/d...l/filelist.xml

EVA-L09C432B166
http://update.hicloud.com:8180/TDS/d.../changelog.xml
http://update.hicloud.com:8180/TDS/d...ull/update.zip
http://update.hicloud.com:8180/TDS/d...l/filelist.xml

EVA-L09C432B166
http://update.hicloud.com:8180/TDS/d.../changelog.xml
http://update.hicloud.com:8180/TDS/d...ull/update.zip
http://update.hicloud.com:8180/TDS/d...l/filelist.xml


EVA-L09C212B138
http://update.hicloud.com:8180/TDS/d.../changelog.xml
http://update.hicloud.com:8180/TDS/d...ull/update.zip
http://update.hicloud.com:8180/TDS/d...l/filelist.xml


EVA-L09C605B135
http://update.hicloud.com:8180/TDS/d.../changelog.xml
http://update.hicloud.com:8180/TDS/d...ull/update.zip
http://update.hicloud.com:8180/TDS/d...l/filelist.xml

EVA-L09C706B138
http://update.hicloud.com:8180/TDS/d.../changelog.xml
http://update.hicloud.com:8180/TDS/d...ull/update.zip
http://update.hicloud.com:8180/TDS/d...l/filelist.xml

EVA-L09C02B130
http://update.hicloud.com:8180/TDS/d.../changelog.xml
http://update.hicloud.com:8180/TDS/d...ull/update.zip
http://update.hicloud.com:8180/TDS/d...l/filelist.xml

EVA-L09C109B132
http://update.hicloud.com:8180/TDS/d.../changelog.xml
http://update.hicloud.com:8180/TDS/d...ull/update.zip
http://update.hicloud.com:8180/TDS/d...l/filelist.xml

EVA-L09C432B161
http://update.hicloud.com:8180/TDS/d.../changelog.xml
http://update.hicloud.com:8180/TDS/d...ull/update.zip
http://update.hicloud.com:8180/TDS/d...l/filelist.xml

EVA-L19C432B161
http://update.hicloud.com:8180/TDS/d.../changelog.xml
http://update.hicloud.com:8180/TDS/d...ull/update.zip
http://update.hicloud.com:8180/TDS/d...l/filelist.xml

EVA-L09C432B161
http://update.hicloud.com:8180/TDS/d.../changelog.xml
http://update.hicloud.com:8180/TDS/d...ull/update.zip
http://update.hicloud.com:8180/TDS/d...l/filelist.xml

EVA-L29C185B162
http://update.hicloud.com:8180/TDS/d.../changelog.xml
http://update.hicloud.com:8180/TDS/d...ull/update.zip
http://update.hicloud.com:8180/TDS/d...l/filelist.xml

EVA-L19C185B162
http://update.hicloud.com:8180/TDS/d.../changelog.xml
http://update.hicloud.com:8180/TDS/d...ull/update.zip
http://update.hicloud.com:8180/TDS/d...l/filelist.xml

EVA-L09C185B162
http://update.hicloud.com:8180/TDS/d.../changelog.xml
http://update.hicloud.com:8180/TDS/d...ull/update.zip
http://update.hicloud.com:8180/TDS/d...l/filelist.xml

EVA-L19C10B162
http://update.hicloud.com:8180/TDS/d.../changelog.xml
http://update.hicloud.com:8180/TDS/d...ull/update.zip
http://update.hicloud.com:8180/TDS/d...l/filelist.xml

EVA-L09C636B152
http://update.hicloud.com:8180/TDS/d.../changelog.xml
http://update.hicloud.com:8180/TDS/d...ull/update.zip
http://update.hicloud.com:8180/TDS/d...l/filelist.xml

EVA-L19C636B150
http://update.hicloud.com:8180/TDS/d.../changelog.xml
http://update.hicloud.com:8180/TDS/d...ull/update.zip
http://update.hicloud.com:8180/TDS/d...l/filelist.xml

EVA-L29C636B136
http://update.hicloud.com:8180/TDS/d.../changelog.xml
http://update.hicloud.com:8180/TDS/d...ull/update.zip
http://update.hicloud.com:8180/TDS/d...l/filelist.xml


EVA-L09C432B166
http://update.hicloud.com:8180/TDS/d.../changelog.xml
http://update.hicloud.com:8180/TDS/d...ull/update.zip

EVA-L19C10B162
http://update.hicloud.com:8180/TDS/d.../changelog.xml
http://update.hicloud.com:8180/TDS/d...ull/update.zip

EVA-AL10C00B183
http://update.hicloud.com:8180/TDS/d...ull/update.zip
http://update.hicloud.com:8180/TDS/d.../changelog.xml

EVA-L19C636B170
http://update.hicloud.com:8180/TDS/d.../changelog.xml
http://update.hicloud.com:8180/TDS/d...ull/update.zip

EVA-L09C150B170
http://update.hicloud.com:8180/TDS/d.../changelog.xml
http://update.hicloud.com:8180/TDS/d...ull/update.zip

EVA-L19C10B170
http://update.hicloud.com:8180/TDS/d.../changelog.xml
http://update.hicloud.com:8180/TDS/d...ull/update.zip


EMUI-A168-L19C605B045-log
http://update.hicloud.com:8180/TDS/d.../changelog.xml
http://update.hicloud.com:8180/TDS/d...ull/update.zip

EMUI-A168-L09C185B045-log
http://update.hicloud.com:8180/TDS/d.../changelog.xml
http://update.hicloud.com:8180/TDS/d...ull/update.zip

EMUI-A168-L19C636B045-log
http://update.hicloud.com:8180/TDS/d.../changelog.xml
http://update.hicloud.com:8180/TDS/d...ull/update.zip

EMUI-A168-L29C636B045-log
http://update.hicloud.com:8180/TDS/d.../changelog.xml
http://update.hicloud.com:8180/TDS/d...ull/update.zip

EVA-L09C109B170
http://update.hicloud.com:8180/TDS/d.../changelog.xml
http://update.hicloud.com:8180/TDS/d...ull/update.zip

EVA-L09C440B139
http://update.hicloud.com:8180/TDS/d.../changelog.xml
http://update.hicloud.com:8180/TDS/d...ull/update.zip

EVA-L09ITAC555B142
http://update.hicloud.com:8180/TDS/d.../changelog.xml
http://update.hicloud.com:8180/TDS/d...ull/update.zip

EVA-L09C530B123
http://update.hicloud.com:8180/TDS/d.../changelog.xml
http://update.hicloud.com:8180/TDS/d...ull/update.zip


EVA-L09C02B135
http://update.hicloud.com:8180/TDS/d...ull/update.zip
http://update.hicloud.com:8180/TDS/d.../changelog.xml

EVA-L09C432B180 with EMUI 4.1.1
http://update.hicloud.com:8180/TDS/d.../changelog.xml
http://update.hicloud.com:8180/TDS/d.../changelog.xml


EVA-L09C150B170 by @thankyouann
http://update.hicloud.com:8180/TDS/d...ull/update.zip
http://update.hicloud.com:8180/TDS/d.../changelog.xml


EVA-L09C150B180
http://update.hicloud.com:8180/TDS/d.../changelog.xml
http://update.hicloud.com:8180/TDS/d...ull/update.zip

EVA-L19C636B180
http://update.hicloud.com:8180/TDS/d.../changelog.xml
http://update.hicloud.com:8180/TDS/d...ull/update.zip

EVA-L29C636B180
http://update.hicloud.com:8180/TDS/d.../changelog.xml
http://update.hicloud.com:8180/TDS/d...ull/update.zip

EVA-L09C40B180
http://update.hicloud.com:8180/TDS/d.../changelog.xml
http://update.hicloud.com:8180/TDS/d...ull/update.zip

EVA-L19C20B150
http://update.hicloud.com:8180/TDS/d.../changelog.xml
http://update.hicloud.com:8180/TDS/d...ull/update.zip

EVA-L29C20B150
http://update.hicloud.com:8180/TDS/d.../changelog.xml
http://update.hicloud.com:8180/TDS/d...ull/update.zip

[BETA] Android NOUGAT 7.0 EMUI 5 (L19C432B322) for EVA-L19C432

SERVER HUAWEI

EVA-L19C432B322 (Huawei P9 Dual-Sim 3Gb/32Gb)

Filelist: http://update.hicloud.com:8180/TDS/d...l/filelist.xml
*************************************************
Changelog: http://update.hicloud.com:8180/TDS/d.../changelog.xml
MD5: 6F5AC56475F83AEC685E6783B45EB1D2
*************************************************
Update: http://update.hicloud.com:8180/TDS/d...ull/update.zip
MD5: 8D2F6B06791409671E23A46396FBBFC6
Update.zip weighs: 1.4GB
*************************************************
More information on the Filelist.xml
http://update.hicloud.com:8180/TDS/d...l/filelist.xml
*************************************************

NOTES:
- Installation must be made by TWRP using an unlocked bootloader (dload method doesn't work)
- Additional update that contains missing apps from the beta build. Also contains build number corrected. Have to be flashed just after the update.app (without rebooting between flashes): https://yadi.sk/d/PzGiKXn6yYS2b (thanks to sand_phoenix and kep2008)
- It is possible to rollback to stock EMUI 4.1.1 / Android 6 without any problems using the offical rollback package from Huawei.

USE IT AT YOUR OWN RISK, I'M NOT RESPONSIBLE FOR ANY BROKEN RELATED TO IT
Attached Thumbnails
Click image for larger version

Name: Screenshot_20161113-203641.png
Views: 236
Size: 170.4 KB
ID: 3935683   Click image for larger version

Name: Screenshot_20161113-203649.png
Views: 228
Size: 134.7 KB
ID: 3935684   Click image for larger version

Name: Screenshot_20161113-205240.png
Views: 212
Size: 94.5 KB
ID: 3935685   Click image for larger version

Name: Screenshot_20161113-205232.png
Views: 188
Size: 106.8 KB
ID: 3935686   Click image for larger version

Name: Screenshot_20161113-205223.png
Views: 192
Size: 117.8 KB
ID: 3935687   Click image for larger version

Name: Screenshot_20161113-205157.jpg
Views: 198
Size: 65.2 KB
ID: 3935688   Click image for larger version

Name: Screenshot_20161113-205203.jpg
Views: 198
Size: 84.6 KB
ID: 3935690   Click image for larger version

Name: Screenshot_20161113-203717.jpg
Views: 214
Size: 135.2 KB
ID: 3935691  

Unlock Xiaomi Mi 5 Bootloader (with Screenshots)

Unlock Xiaomi Mi 5 Bootloader (with Screenshots)


Introduction
There are some myths and misbeliefs around unlocking the Xiaomi Mi 5. And as I got lucky and got my Mi 5 early and unlocked it, I will share some screenshots as well as my opinion on this matter. 


What shall I do? How to increase my chances?
Right now there is no custom ROM, and if you want root access, you can get it through the Security App of MIUI. So that means you can spend the next weeks to become a Diamond member on the forum, post a bit everyday and you get it fast. As Diamond members on the MIUI forum are whitelisted, it will increase your chances. 

Good to know, good to have
  • Your MI Account must be allowed to unlock phones
  • One Account can Unlock one phone within 30 days
  • Xiaomi Mi5 with Chinese Rom installed
  • MI Unlock App

How to get the unlock Permission
Click here: http://en.miui.com/unlock

How to get the unlock Tool
Click here: http://en.miui.com/unlock/download_en.html

Mi unlock tutorial and F.A.Q.
Click here: Mi Devices Bootloader Unlocking Tutorial & English Unlocking Tool Download

Screenshots






Question and Answers:

Q: Will the bootloader be locked after I update?
A: Not out of the box, so no.

Q: Can I lock the bootloader again?
A: Yes, the Fastboot-ROM includes a flash_all_lock script

Q: Can one Mi Account unlock several phones?
A: Yes and No. One Mi Account can unlock one phone every 30 days. 

Q: Does the fingerprint scanner work after unlock?
A: Yes, I noticed no difference, so far it works like a charm.

Q: Why do I need / want an unlocked bootloader?
A: It allows you to flash custom Recovery and Custom ROMs as well as use the Mi-Flash tool.

Q: Is the Mi 5 encrypted? 
A: By default it is yes. (See the following screenshot)

Screenshot of Privacy setting page (Shows that phone is encrypted)