FORUMS
Remove All Ads from XDA

[ROM][Unofficial][5.1.1] CyanogenMod 12.1

1,240 posts
Thanks Meter: 2,088
 
By m11kkaa, Recognized Developer / Contributor on 16th February 2015, 02:31 PM
Post Reply Email Thread
CyanogenMod is a free, community built, aftermarket firmware distribution of Android 5.1.1 (Lollipop), which is designed to increase performance and reliability over stock Android for your device.

Code:
#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* We are 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 us for messing up your device, we will laugh at you.
*/
Introduction
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. You can also view the Changelog for a full list of changes & features.

Images






Features (Device Specific)
  • LCD Color/Gamma Settings
  • LCD Adaptive Backlight
  • LCD Color Enhancement
  • LCD QCOM PostProcessing(PP) support
  • Disable Touch keys and enable NavigationBar
  • Set Vibrator Intensity
  • 1+1 QuickBoot

Differences to CM11
  • Removed TrueDualBoot(TDB) support. And pls don't try to bring it back by using TDB enabled versions of CWM or TWRP. It's dead and will be replaced by GRUB4Android in March.
    CM12 still supports Dualsystem the way Xiaomi designed it. That means that it can be installed to both System partitions but the userdata partition will be shared.
  • SDCARD filesystem detection You now can format your internal sdcard to whatever filesystem is supported by VOLD and the CM kernel. The only alternative that would make sense is F2FS though.
  • Improved Power consumption Use Xiaomi's MPDecision, thermald and libqc-opt together with QCOM's power HAL.
  • Added QCOM time services
  • Added Oppo QuickBoot
  • Use Xiaomi blobs I replaced some Nexus4 blobs with the originals from Xiaomi'S MIUIv5 ROM to prevent some unpredictable bugs
  • Encryption support another reason why TDB is dead now

Known Bugs
  • Bluetooth connection and Audio issues

Installation instructions
!ATTENTION!
Quote:

There are two (annoying) problems with GoogleApps:
1) CM12 is huge and doesn't leave much space for GAPPS on MI2
2) recovery ignores errors in update.zip's which means even though it tells you the installation was successful it failed.

this means you have two options:
1) resize your system partition(recommended) this miflash package resizes your system partition without taking space from your data partition by removing the system2 partitions:
http://forum.xda-developers.com/mi-2...y-qdl-t3036730
2) install very small gapps packages and check /tmp/recovery.log and the remaining space after the installation to make sure it was successful.

First time flashing CyanogenMod 12.1 your device, or coming from another ROM?
  • Download the zip(s).
  • Optional: adb backup
  • Perform a NANDroid backup of your current ROM.
  • Wipe data & cache partitions of your device (required when coming from stock!).
  • Flash CyanogenMod.
  • Optional: Install the Google Apps addon package.

Issues?
Report them on github:
https://github.com/M1cha/android_dev...i_aries/issues

IMPORTANT: if you use xposed - pls disable it and try again because it can cause problems in some cases.
Also the issue must contain important information like your phone model(mi2(s)(c)), and the exact build version of the ROM.

Download
DevHost

Changelog
Code:
20150730:
[changed] total rewrite
[changed] new kernel: CAF(LA.AF.1.1_rb1.18) + 3.4.108(upstream) + android-3.4(kernel/common)
[changed] support for merged partitions
[bug] some features like hw tunables are still missing

20140228:
[fixed] fix audio HAL by comparing values with MIUIv5
[changed] fix ACDBLoader
[changed] update WIFI config
[changed] update system.prop from CAF (should improve battery life a little bit)
[changed] rename CM perf profile properties for Xiaomi's thermald
[changed] use CM's default wallpaper
[changed] update kernel from mako
Older changelogs:

Code:
20140218:
[changed] set SELinux to Enforcing mode
[changed] disable flashing FMRadio FW
[fixed] Haptic Feedback for touch keys
[changed] disable ACDBLoader as an attempt to fix random call bugs
[fixed] attempt to fix Atmel touchscreen driver crash
Code:
20140217:
[new] F2FS support
[fixed] Installation on resized system partitions
[changed] switch to CAF HAL's and add FMRadio support
[changed] Update WLAN driver to LA.AF.1.1_rb1.12
Code:
20140216.
[new] Initial Release


Thanks To/Credits
Code:
* CyanogenMod
* Nexus 4 Maintainers
* QCOM for generic Sources
XDA:DevDB Information
CyanogenMod 12.1, ROM for the Xiaomi Mi 2

Contributors
m11kkaa
ROM OS Version: 5.1.x Lollipop
ROM Kernel: Linux 3.4.x

Version Information
Status: Beta

Created 2015-02-16
Last Updated 2015-07-30
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2015-02-16-18-48-29.jpg
Views:	105736
Size:	49.8 KB
ID:	3168663   Click image for larger version

Name:	Screenshot_2015-02-17-14-56-42.png
Views:	105106
Size:	44.2 KB
ID:	3170165   Click image for larger version

Name:	Screenshot_2015-02-18-17-02-14.png
Views:	90952
Size:	100.0 KB
ID:	3172009  
The Following 48 Users Say Thank You to m11kkaa For This Useful Post: [ View ]
 
 
16th February 2015, 02:58 PM |#2  
linuxxxx's Avatar
Recognized Developer
Thanks Meter: 2,208
 
More
First :P

Sent from my A0001
The Following User Says Thank You to linuxxxx For This Useful Post: [ View ]
16th February 2015, 05:32 PM |#3  
CBpbxEcmecmBeH's Avatar
Senior Member
Leuven
Thanks Meter: 375
 
More
Oh wow, finally
16th February 2015, 06:51 PM |#4  
Senior Member
Flag Madrid
Thanks Meter: 50
 
More
You are just awesome thanks for your work
16th February 2015, 06:56 PM |#5  
_Roysten's Avatar
Member
Thanks Meter: 48
 
More
Thank you very much M1cha for you excellent work and dedication! I will try this rom immediately.

Can I ask you a question? Where did you learn to mess with the kernel and the firmwares? Did it took long for you to learn it? I have always wanted to mess with these things myself, but I always get overwhelmed with the required knowledge
16th February 2015, 07:06 PM |#6  
m11kkaa's Avatar
OP Recognized Developer / Contributor
Thanks Meter: 2,088
 
Donate to Me
More
Quote:
Originally Posted by _Roysten

Thank you very much M1cha for you excellent work and dedication! I will try this rom immediately.

Can I ask you a question? Where did you learn to mess with the kernel and the firmwares? Did it took long for you to learn it? I have always wanted to mess with these things myself, but I always get overwhelmed with the required knowledge

Since there's not much documentation for such things u just have to start doing it and learn everything by yourself.
Also, these projects are too big to study them or trying to find a task just for learning.
The best way is to find a project idea and then u have to work on it until u succeed
The Following 4 Users Say Thank You to m11kkaa For This Useful Post: [ View ]
16th February 2015, 07:15 PM |#7  
Senior Member
Thanks Meter: 59
 
Donate to Me
More
Thank you M1cha,

2bad no dualboot and xposed (yet).
16th February 2015, 07:23 PM |#8  
m11kkaa's Avatar
OP Recognized Developer / Contributor
Thanks Meter: 2,088
 
Donate to Me
More
Dualboot(the Xiaomi way) works, and TDB shouldn't be used anymore.(u have to wait for G4A).

The information about Xposed doesn't mean that Xposed isn't compatible(it should be), it just means that before reporting any crashes you should disable Xposed and check if u still have the same problem.
The Following User Says Thank You to m11kkaa For This Useful Post: [ View ]
16th February 2015, 07:28 PM |#9  
Alecsandru90's Avatar
Senior Member
Thanks Meter: 26
 
More
incall working , also quick-boot
The Following User Says Thank You to Alecsandru90 For This Useful Post: [ View ] Gift Alecsandru90 Ad-Free
16th February 2015, 07:31 PM |#10  
mehdoux's Avatar
Junior Member
Flag Marseille
Thanks Meter: 9
 
More
Post
Quote:
Originally Posted by SWADED

Thank you M1cha,

2bad no dualboot and xposed (yet).

Hi,

You're wrong ! TDB is working (even if it shoudln't be now, GRUB is coming thanks to @m11kkaa) and xposed is now available for Lollipop : http://forum.xda-developers.com/xpos...lipop-t3030118
Btw, thank you for your job michael !
The Following User Says Thank You to mehdoux For This Useful Post: [ View ] Gift mehdoux Ad-Free
16th February 2015, 09:02 PM |#11  
Junior Member
Thanks Meter: 5
 
More
[Now that we dont have TDB (with kitkat i only used it a few times) is there any way to eliminate the system 1 and increase the system0 and sdcard partitions?
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes