Just a simple HOW TO to centralize everything I found on Russian, Italian, xda and these forums.
M2 Mini has good hardware but very poor software, going to CM is a relief !
I’m not responsible for bricked device.
You may loose warranty.
You need basic knowledge of using adb tools and rooting phones.
Boot in Recovery and Fastboot
Boot in recovery : power on holding Volume Up and Power
Boot in fastboot mode : power on holding Volume Down and Power
King Root works well http://www.kingroot.net
Google drivers won’t recognize M2 Mini, you have to edit the inf file.
You have to activate USB Debugging in the Developer Options for ADB to work.
Download drivers at: http://developer.android.com/sdk/win-usb.html
Go to [Google.NTamd64] section and add this to the end of the section :
%CompositeAdbInterface% = USB_Install, USB\VID_0E8D&PID_201D&MI_01
%CompositeAdbInterface% = USB_Install, USB\VID_2A45&PID_0C02&MI_01
Reboot Windows without driver signature enforcement
HOW TO: http://www.howtogeek.com/167723/how-to-disable-driver-signature-verification-on-64-bit-windows-8.1-so-that-you-can-install-unsigned-drivers/
Install modified driver
HOW TO : http://developer.android.com/tools/extras/oem-usb.html
You have to be on Flyme OS 4.5.4i for bootloader unlocking to work.
DOWNLOAD LINK : https://forum.meizufans.eu/topic/3905/flyme-os-4-5-4-stable-m2
You need busybox on the phone
DOWNLOAD LINK : https://play.google.com/store/apps/details?id=stericson.busybox&hl=en
You have to download the unlock_bootloader.sh
DOWNLOAD LINK: http://www37.zippyshare.com/v/fvm5edpr/file.html
Copy file to sdcard via MTP or ADB
adb push unlock_bootloader.sh /sdcard
Execute the file as root from ADB
(accept warning on the phone)
adb reboot bootloader
fastboot oem unlock
(wait for the phone to display confirmation)
“Volume Up” to accept
(wait for unlocking)
Reboot your phone into Flyme OS
It is very important to restart your phone and wait for Flyme OS to boot up completely before flashing a custom recovery.
Custom recovery (TWRP)
If you didn’t boot into Flyme OS at the previous step, you might be stuck in boot loop in recovery and need to go back to the stock recovery (Uploaded on XDA by @murtaza1326)
DOWNLOAD LINK: https://drive.google.com/file/d/0B6kCPdWyvl3xa1RDWVRDRHlfS2c/view
XDA LINK: http://forum.xda-developers.com/showpost.php?p=66476298&postcount=574
Download last TWRP 3
DOWNLOAD LINK: https://mega.nz/#!PVcihSST!0yHN3p6dsKqAgW2-2krUSvvzRA-bFQmPR16wUbC7aKs
FOUND ON: http://www.movilesdualsim.com/tema/twrp-3-0-2_modnat-ltt-multilanguage.132746/
fastboot flash recovery_18.104.22.168NAT<T.img
Last version seems to be 0.9 from April,16th 2016 on Russian forums.
FORUM LINK: http://4pda.ru/forum/index.php?showtopic=715935
DOWNLOAD LINK: https://drive.google.com/file/d/0Bwzrxcf3P6N6S1hzaUYtNGFwMDA/view
Download Google Apps
GITHUB LINK: https://github.com/AlexLartsev19/cgapps/releases
DOWNLOAD LINK: https://github.com/AlexLartsev19/cgapps/releases/download/20160423/cgapps-arm-5.1.1-201604241754.zip
Boot into recovery
Hold “Volume Up” and Power
Copy everything to sdcard via MTP
Go to Wipe > Advanced wipe > check Dalvik, System, Cache, Data > Wipe
Flash CM and Gapps
Go to Install, select your CM zip file and install.
Do the same with Gapps.
Restart your phone