Xiaomi Redmi 2 CM 12.1 | Lollipop

Posted By Fikri on Friday 20 November 2015 | 15:21

This ROM known as the first completely open source Lollipop that boot Redmi 2
MISSION:
Embarrass Xiaomi because refuse to release Redmi 2 kernel source

Remember, no contribution from Xiaomi yet. That's the reason why I try to avoid "Xiaomi" string in my source as possible but Wingtech. For a perfect Lollipop experience, official kernel source still needed.

Dedicated for MIUI development engineer, Sun Peng: http://www.gizmochina.com/2015/0 ... ipset-manufacturer/

SUPPORT US:
Petition to Xiaomi to Release Redmi 2 Kernel Source
KNOWN ISSUE: 
  • Use VOL UP + VOL DOWN + POWER button to enter recovery mode
  • Before you install this ROM, check your device magnetic sensor. Currently Yamaha YAS537 compass chip not supported! The driver available in one or more Xiaomi developer's computer if they really have the kernel source. Asahi AKM09911 works flawlessly.
  • [SOLVED] At the start of video or any stereo recording, audio noise in about 5 seconds. Use Camera Next app and set the audio format to AMR-NB as a workaround
  • If you experiencing a random freeze, tell me your MMC type. You can check it using "dmesg | grep mmcblk0" command as root or use GotBrickbug app from Chainfire. Known chip in Redmi 2 variant:

Redmi 2 8 GB:
H8G2d 7.28 GiB - Hynix - inside my Redmi 2, no freeze
QN1SMB 7.28 GiB - Samsung
P1J95K 7.29 GiB - Numonyx Micron - reported random freeze
Redmi 2 16 GB:
HAG2e 14.6 GiB -  Hynix
R1J96N 14.6 GiB - Numonyx Micron


 

Still under development, built from sources, no hidden sources, not a binary dirty hack ROM

The following will not be supported in this thread:
- Custom Kernels
- Mods, including CPU management mod or any strawberry mod
- Modified system files
- Xposed

If you reuse even a part of my work, a proper credit is a must, keep it open source!
Download:


AFH give me a space for "free", don't create any mirror without a permission! Upload at Google Drive just a bonus.

Cyanogen recovery above just like a standard AOSP recovery without a lot of features compared to TWRP, but you can temporary boot it using "fastboot boot cyanogen-recovery-wt88047.img" command to check if CyanogenMod 12.1 ROM possibly  working on your device variant.

Don't even try this ROM on Redmi 2A variant!
Sources:

Changelog:


Credits:

  • Google, AOSP, Cyanogen, CyanogenMod community, Qualcomm's CodeAurora
  • @balika011, @zwliew, @Flour_Mo
  • Introducing me: XDA Recognized Developer, CyanogenMod contributor
  • My wife, she always believed I could restore back her device in minutes
  • Some tools: Kate (text editor), Kompare (diff viewer and generator), qgit (git GUI)
  • Smarfren Indonesia for Andromax Q source code
  • Micromax India for Yuphoria and Yureka source code


A brief history of this ROM:
A developer known as balika011 https://github.com/balika011 start working on kernel, based on CAF's QRD SKUI kernel source and known working on stock Xiaomi's KitKat ROM. I develop it further and rebase it to Cyanogen's MSM8916 kernel source. Device tree source based on CyanogenMod's rendang, including vendor proprietary binaries. Only camera blobs taken from Redmi 2 KitKat ROM. After a lot of fix, I managed boot CM 12.1 Lollipop. Zwliew https://github.com/zwliew also contribute some fix to my source.

Current status:

  • Boot to Android, this is my first ROM that really boot on the first try
  • Touchscreen works, all hardware button mapped corectly
  • No screen flicker, fluid graphics
  • Voice call and SMS works, data over WiFi and GSM works (radio config in build.prop fix previous GSM issue)
  • Vibration and screen rotation works
  • All sensors seem works including GPS and compass but light sensor still need a fine tuning
  • Both camera working, the author found a super clean solution
  • No boot animation (fixed, kernel issue) Disable splash screen break Android boot animation but if I enable it, Cyanogen recovery covered by Tux the penguin logo in the center. The workaround solution, move Tux to the top right of the screen
  • No sound (fixed, kernel and user space issue) This also fix slow boot because of logcat flooding. BUG: Speaker output ignore headset jack insertion, sound out from both speaker and headset
  • Bluetooth file transfer fail (~42MB zip, failed at 17%) WiFi file transfer way faster
  • FM radio works
  • WiFi hotspot works
  • YouTube and local video 720p works
  • LED driver working great, multi color and blink

I use CyanogenMod resources as much as possible, including common MSM8916 device tree and kernel. Maintain device source tree and leave common part to CyanogenMod community. I'll strictly follow CyanogenMod coding style and source structure. This is about source code quality.

More screenshots: 

        
Source http://en.miui.com/thread-148731-1-1.html
say Thanks To KumaJaya Who make this rom !
Blog, Updated at: 15:21

0 komentar:

Post a Comment