• If you are experiencing issues logging in, we moved to a new and more secure software and older account passwords were not able to be migrated. We recommend trying to reset your password, then contacting us if there are issues.
  • Nearly done! Migration cleanup is mostly done. There are a small number of issues left that we continue to work on, but all the heavy lifting is done. We still would love to hear feedback over at this thread and also check out the new XDA app! Thanks and we hope you enjoy the new forums, and thanks for your support of XDA <3

[ROM][5.1][UNOFFICIAL] CyanogenMod 12.1

root-expert

Inactive Recognized Developer
Sep 28, 2014
471
504
0
Greece
CyanogenMod is a free, community built, aftermarket firmware distribution of Android, 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.
 *
 * Submitting bug reports on nightly builds is the leading 
 * cause of male impotence.
 */
CyanogenMod is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. CyanogenMod does still include various hardware-specific code, which is also slowly being open-sourced anyway.

All the source code for CyanogenMod is available in the CyanogenMod Github repo. And if you would like to contribute to CyanogenMod, please visit out Gerrit Code Review. You can also view the Changelog for a full list of changes & features.

What works
  • Booting (yeyyy)
  • RIL (calls,sms etc)
  • Wifi
  • Bluetooth
  • Sensors
  • GPS

What doesn't work
  • Audio (Mic, Music, Notifications, etc.)
  • Camera
  • Fingerprint
  • Haven't test anything else.

Known Bugs
  • LTE doesn't work
  • App switcher button doesn't work (hopefully fixed in the next build)

How to install it?
  • Download TWRP recovery from here
  • Flash the recovery (fastboot flash recovery BLU_PURE_XL_twrp.img)
  • Download CyanogenMod zip.
  • Boot to TWRP recovery
  • Do a wipe /Factory reset (IMPORTANT)
  • Flash the CyanogenMod zip
  • Flash Gapps zip(optional)
  • Done reboot and test :p

Download: Here


XDA:DevDB Information
[ROM][5.1][UNOFFICIAL]CyanogenMod 12.1 , ROM for the Blu Pure XL

Contributors
root-expert, acheron1502, redmi-note2 dev team, mtker
Source Code: https://github.com/root-expert/android_device_BLU_BLU_PURE_XL

ROM OS Version: 5.1.x Lollipop
ROM Kernel: Linux 3.10.x
Based On: CyanogenMod

Version Information
Status: Alpha

Created 2016-05-03
Last Updated 2016-05-05
 
Last edited:

acheron1502

Senior Member
Apr 27, 2009
83
120
0
MI
Still a few things to iron out, but wanted to show everyone how far we have come :D

NOTE: I have only tested this ROM with my version of TWRP (link in my signature)
 
Last edited:

bemolx

Senior Member
Nov 12, 2013
243
462
63
bemideas.pl
Good job guys!
From what I see from your code my version of TWRP should also allow users to flash CM (untill you add exact assert device line).
Can you post here some screenshots? My Allview seems to be dead :(
 

Ashalinia

Member
Mar 15, 2016
46
2
0
TX
Hello, I've been testing this build for a few days. Things I noticed:

  • Mobile hotspot missing
  • Strict mode is forced on even with the setting turned off
  • Haptic feedback missing from regular taps on hardware keys
  • Videos freeze (possibly audio related)

Also, I've been noticing some weirdness with the notification light. It stays solid green off the charger and with no notifications and turns... yellow while charging.
 
Last edited:
  • Like
Reactions: gionfj

root-expert

Inactive Recognized Developer
Sep 28, 2014
471
504
0
Greece
Hello, I've been testing this build for a few days. Things I noticed:

  • Mobile hotspot missing
  • Strict mode is forced on even with the setting turned off
  • Haptic feedback missing from regular taps on hardware keys
  • Videos freeze (possibly audio related)

Also, I've been noticing some weirdness with the notification light. It stays solid green off the charger and with no notifications and turns... yellow while charging.
Thanks for reporting!

  • I'll look into hotspot
  • Don't bother about strict mode i'm building in eng cause these are alpha builds
  • I'll check vibrator too
  • I believe they are audio related. I have to take a look at the logs though.
 
Last edited:
  • Like
Reactions: Gio_ital

acheron1502

Senior Member
Apr 27, 2009
83
120
0
MI
Audio still not fixed yet :(
@root-expert is doing school exams right now & I am working crazy hours for my job.

We are trying to find time here and there, but Life does come first.

Please be patient as we squash bugs.

If you have logcats that you can post, that might also help us out. :highfive:
 

Ashalinia

Member
Mar 15, 2016
46
2
0
TX
This is what I got when I played a song through the default CM music player, hopefully this helps.

Code:
05-10 16:52:22.945 W/AudioPolicyManager(25217): getOutput() could not find output for stream 1, samplingRate 0,format 0, channels 3, flags 0
05-10 16:52:22.945 W/AudioPolicyManager(25217): getOutput() could not find output for stream 1, samplingRate 0,format 0, channels 3, flags 0
05-10 16:52:22.945 W/AudioPolicyManager(25217): getOutput() could not find output for stream 1, samplingRate 48000,format 1, channels 3, flags 4
05-10 16:52:22.945 E/AudioTrack(25444): Could not get audio output for stream type 1, usage 0, sample rate 48000, format 0x1, channel mask 0x3, flags 0x4
05-10 16:52:22.946 E/SoundPool(25444): Error creating AudioTrack
05-10 16:52:22.949 I/MediaFocusControl(25444):  AudioFocus  requestAudioFocus() from [email protected][email protected] req=1flags=0x0
05-10 16:52:22.953 E/MediaPlayer(16725): Attempt to call getDuration without a valid mediaplayer
05-10 16:52:22.953 E/MediaPlayer(16725): error (-38, 0)
05-10 16:52:22.955 E/MediaPlayer(16725): start called in state 0
05-10 16:52:22.955 E/MediaPlayer(16725): error (-38, 0)
05-10 16:52:23.091 E/        (25444): cyw:virtual int CwMcuSensor::readEvents(sensors_event_t*, int):985:id:0,data:-1.39:5.30:8.10:T:78594939796932:now time:78595077298846:diff:137
05-10 16:52:23.369 E/MediaPlayer(16725): Error (-38,0)
05-10 16:52:23.369 W/MusicPlaybackService(16725): Music Server Error what: -38 extra: 0
05-10 16:52:23.372 E/MediaPlayer(16725): Error (-38,0)
05-10 16:52:23.372 W/MusicPlaybackService(16725): Music Server Error what: -38 extra: 0
05-10 16:52:23.749 E/        (25444): cyw:virtual int CwMcuSensor::readEvents(sensors_event_t*, int):985:id:0,data:-0.99:5.21:8.19:T:78595599796932:now time:78595735398769:diff:135
 

root-expert

Inactive Recognized Developer
Sep 28, 2014
471
504
0
Greece
This is what I got when I played a song through the default CM music player, hopefully this helps.

Code:
05-10 16:52:22.945 W/AudioPolicyManager(25217): getOutput() could not find output for stream 1, samplingRate 0,format 0, channels 3, flags 0
05-10 16:52:22.945 W/AudioPolicyManager(25217): getOutput() could not find output for stream 1, samplingRate 0,format 0, channels 3, flags 0
05-10 16:52:22.945 W/AudioPolicyManager(25217): getOutput() could not find output for stream 1, samplingRate 48000,format 1, channels 3, flags 4
05-10 16:52:22.945 E/AudioTrack(25444): Could not get audio output for stream type 1, usage 0, sample rate 48000, format 0x1, channel mask 0x3, flags 0x4
05-10 16:52:22.946 E/SoundPool(25444): Error creating AudioTrack
05-10 16:52:22.949 I/MediaFocusControl(25444):  AudioFocus  requestAudioFocus() from [email protected][email protected] req=1flags=0x0
05-10 16:52:22.953 E/MediaPlayer(16725): Attempt to call getDuration without a valid mediaplayer
05-10 16:52:22.953 E/MediaPlayer(16725): error (-38, 0)
05-10 16:52:22.955 E/MediaPlayer(16725): start called in state 0
05-10 16:52:22.955 E/MediaPlayer(16725): error (-38, 0)
05-10 16:52:23.091 E/        (25444): cyw:virtual int CwMcuSensor::readEvents(sensors_event_t*, int):985:id:0,data:-1.39:5.30:8.10:T:78594939796932:now time:78595077298846:diff:137
05-10 16:52:23.369 E/MediaPlayer(16725): Error (-38,0)
05-10 16:52:23.369 W/MusicPlaybackService(16725): Music Server Error what: -38 extra: 0
05-10 16:52:23.372 E/MediaPlayer(16725): Error (-38,0)
05-10 16:52:23.372 W/MusicPlaybackService(16725): Music Server Error what: -38 extra: 0
05-10 16:52:23.749 E/        (25444): cyw:virtual int CwMcuSensor::readEvents(sensors_event_t*, int):985:id:0,data:-0.99:5.21:8.19:T:78595599796932:now time:78595735398769:diff:135
Don't worry about the logcats guys i have collected infos and i haven't understood yet why audio is crashing. For your rom i have removed one lib so the phone can boot. If i add this lib it will bootloop with audio flinger crashing. :D