[ROM][JB][4.3][2013-12-29] CyanogenMod 10.2


M1cha

Members
May 29, 2011
1,747
297
Ok, say goodbye to xiaomi - you have a Google Nexus device now!!

Well, CM10.2 is nice but that's not all this is about.
I've build this with the aim to have max compatibility with Nexus 4 sources and that really was a success.
I'm using device repository, kernel source and 90% of the proprietaries from Nexus 4.

What does that mean to the Users?
You have maximum stability, security and speed and you'll get the latest Android versions at least as long as Google supports the Nexus 4.

What does that mean to the Developers?
Google did a very good job with the code style of the device. It's clean and easy to understand.
The changes that we need for MI2 are that minimal that we should be able to port any Nexus 4 ROM or kernel within hours.

Messages to xiaomi:
1) IN YOUR FACE!!
2) Your hardware is great but if you want a quality product you should talk with your software developers about their code style.
It's NOT ok to replace drivers with old versions to "fix" them.
And it's also not good to keep tons of old useless stuff inside the code which is bad for performance.
And please stop giving proprietary binaries root permissions for no reason!!!

Back to topic:
Issues:
http://miuiandroid.com/community/threads/dev-opensource-kernel.19934/
You can discuss issues in this topic ofc, but pls create them on github, too so I don't have to read 100 pages again to check if I've forgot sth.
https://github.com/M1cha/android_device_xiaomi_aries/issues?state=open


Installation:
Just flash the zip via CWM

Downloads:
CM-10.2: http://d-h.st/users/M1cha/?fld_id=24416#files
Google Apps: http://goo.im/gapps
Mirror for latest version: http://uploaded.net/file/3szgqx2z

Sourcecode:
Device-Tree: https://github.com/M1cha/android_device_xiaomi_aries
Proprietaries: https://github.com/M1cha/proprietary_vendor_xiaomi
Kernel: https://github.com/M1cha/android_kernel_xiaomi_aries

Quote from CM team which apply's to my work, too:
"If you're going to reuse our work, which we're doing for free, be fair and give proper credits.
This is the only payment we're really demanding and we deserve it to be mentioned because of the countless hours we've put into this project.
Open-Source doesn't meant Out-of-Respect!!!"

Screenshots:
Screenshot_2013-09-08-11-25-15.pngScreenshot_2013-09-08-11-25-55.pngScreenshot_2013-09-08-11-26-02.pngScreenshot_2013-09-08-10-54-08.pngScreenshot_2013-09-22-10-17-42.pngScreenshot_2013-09-22-10-18-39.pngScreenshot_2013-09-22-10-18-48.png

Donations:


Every update contains updates from CyanogenMod.
Changelog:
Code:
2013-12-29:
- fix camera crashes

2013-12-03:
- remove radio.img
- update proprietaries from MIUI
- remove libqc-opt
- fixed RILJ wakelocks

2013-11-30:
- fix s5k3h7 sensor
- use builtin custom radio.img and revert some libs and configs to mako

2013-11-27:
- fix audio when incall using a headset(thx to ivan)
- some camera tests
- fix wlan bootup issues

2013-10-22:
- update to 4.3.1
- switch to new CM kernel
- fix earpiece poweron delay
- massive cleanup and rewrite
- fix typo in Italia operator name
- fix setting cpu frequency in power menu
- maybe more :P

2013-09-30:
- updates from cm10.2 for mako
- use CM libril
- fix headset buttons

2013-09-22:
- use cm-10.2 audio HAL
- fmradio support
- wlan improvements

2013-09-14: !!audio broken!!
- add support for Synaptics RMI4 touchscreen
- add support for setting vibrator intensity
- fix vibration patterns(for touch keys and some other things, too)

2013-09-09:
- fix boot on MI2S
- fix transients when turning on screen

2013-09-08:
- initial release

We should have a party to celebrate 8 months of hard work ...
 
Last edited:
Ganz Toll ! M1cha :)
Count me in for your Party....

M1cha, does it mean that we can use MODs & Tweaks meant for Nexus 4 CM 10.2 ROM in our devices with your ROM also ? that would be just great ;)
 
  • Like
Reactions: M1cha
@manohar: Depending on what these mods are about, yes.
BTW I saw that cyanogenmod forked msm-3.4 branch from codeaurora and is using it as a multi kernel for google msm devices now.
Maybe I'll do that switch, too in future but as of now it sounds too unstable to me.

@nick14: which bugs?(I've never tried a xiaomi rom). All bugs are listed in OP under issues
And I don't have a battery drain. when I don't have any apps installed and I use default governor(ondemand) I loose 1% per hour when not using the phone.
 
  • Like
Reactions: xeGox and manohar
@manohar: Depending on what these mods are about, yes.
BTW I saw that cyanogenmod forked msm-3.4 branch from codeaurora and is using it as a multi kernel for google msm devices now.
Maybe I'll do that switch, too in future but as of now it sounds too unstable to me.

@nick14: which bugs?(I've never tried a xiaomi rom). All bugs are listed in OP under issues
And I don't have a battery drain. when I don't have any apps installed and I use default governor(ondemand) I loose 1% per hour when not using the phone.

I was thinking about Touchscreen driver bug :)
 
Thank you m1cha! You ve done something special for us... Thank you so much!

Inviato dal mio MI 2 con Tapatalk 2
 
  • Like
Reactions: M1cha
Can i use Fly on Mod tweak & Extended Power Menu with this ROM ? and also Themes meant for Nexus CM10.2 ?
 
@nick14: Ah ok. Yes the bug is still present but I don't think you'll have problems with it because as of my experience it only happens when hardly turning off the phone in fastboot mode(which I needed to do very often). I won't use opensource kernel in CWM before fixing this so u have a easy way to fix it.
When camera and fmradio are fixed I'll take a look at touchscreen and lcd drivers to optimize them.

@manohar: these sounds like general framework mods which would work on any device.
 
Awesome work! Can't wait until camera and mhl are working!

The possibilities you opened up... simply great!

Sent from my MI 2 using Tapatalk 4
 
  • Like
Reactions: M1cha
Thanks a lot M1cha for your wonderful work.
Hope to see official CM builds too with everything open source and perfectly aligned to CM framework
 
Amazing work! With your kernel is the overclock now possible?

Inviato dal mio MI 2S usando Tapatalk 4
 
@phani audio-caf is the only repository I needed to replace. fmradio will need some changes to framework but I think that would be ok for CM because they're minimalistic.

@giacky98: I didn't try it. But even if not we could port custom kernels like franco's.

@manohar: You have to provide logcat. the problem is that due to secure adb you cannot do that before successful boot.
I can upload a insecure boot.img for you
EDIT: here is the insecure boot.img: http://d-h.st/Yxt
just do fastboot boot boot_insecure.img
 
Can I use this rom with true dual boot?

Sent with my Xiaomi MI2 with Tapatalk 4
 
I am not able to get logcat also.... it says logcat not found... Sorry i cannot be of some help to you.
can you pls upload the insecure boot.img ?
 
Thank you for your hard work and dedication. We all appreciate it very much, gonna try your ROM now! I would buy you a coffee, and I suppose I wouldn't be the only one. You should get a paypal link ;).
 
  • Like
Reactions: M1cha

Similar threads