• 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

[PORT][ROM][6.0.1] CyanogenMod 13.0

bemolx

Senior Member
Nov 12, 2013
243
462
63
bemideas.pl

CyanogenMod 13.0 for BLU Pure XL (and clones)

Hi everyone! I'd like to tell there's always a hope for a custom ROM for any device. Maybe I couldn't compile any working ROM from source but there're always people trying to... PORT!

One of them is my friend Alfredo Carmo (Alfredosp on XDA)!
He's made booting CM13.0. It's not 100% functional but all about that later.

As always there's standard warning...
Code:
Warning
/*
 * 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.
 * bemolx
 */

What's working:
  • Booting!!
  • Screen & touch input
  • RIL (signal, data not tested on my side)
  • Vibrations
  • WiFi
  • Bluetooth (sometimes lol)
  • Home & Back buttons
Anything else is either not working or untested. ROM only for showing purposes!

Install:
  • Flash TWRP (download here)
  • Download CyanogenMod (and GApps optionally)
  • Make a backup
  • Flash packages
  • Reboot and test!

Download: here

Please do not ask when will be the next version or if I would like to update it. You can test it and comment what is working and what isn't. If you have any advice or want to help fixing bugs send private message either to me or Alfredo.
Thanks!​

XDA:DevDB Information
Port CyanogenMod 13.0, ROM for the Blu Pure XL

Contributors
bemolx, AlfredoSP
ROM OS Version: 6.0.x Marshmallow
ROM Kernel: Linux 3.10.x
ROM Firmware Required: Latest TWRP
Based On: CyanogenMod

Version Information
Status: Testing

Created 2017-03-18
Last Updated 2017-03-18
 

Alfredosp

Member
Oct 28, 2016
7
0
0
Guarulhos-Sao Paulo
Haven't looked but do you guys think it may have to do with the AKM4375? Back to Lib .so shuffle
Hi afbcamaro, i try to replace many libs unsuccess, in same cases with bootloop. I think the problem is in boot.img files, but where!?
In logcat, the problematic lines point files and process dificult for me. We need an experient developer to help solve. But none interest in this device. Unfortunately.
 

afbcamaro

Senior Member
Dec 23, 2006
209
18
0
Alfredo what problematic files does the logcat point too.

I found some libs for an obscure device that has cm13 and the same audio DAC and processor.. hope it makes a difference. I will upload it if you want to try with these libs Alfredo.. I have a backup phone coming so I can work on it to but you may be able to get at it first ... I'll upload soon if you want them..
 

Alfredosp

Member
Oct 28, 2016
7
0
0
Guarulhos-Sao Paulo
Alfredo what problematic files does the logcat point too.

I found some libs for an obscure device that has cm13 and the same audio DAC and processor.. hope it makes a difference. I will upload it if you want to try with these libs Alfredo.. I have a backup phone coming so I can work on it to but you may be able to get at it first ... I'll upload soon if you want them..
I remember from 2 now, lisoundpool and from lib/hw folder hwcomposer.mt6795. But the 2 or one by one gives bootloop. And 1 more time, i think the problem is in the boot.img also, only replace libs files is not enough. Thanks for help.

---------- Post added at 10:28 PM ---------- Previous post was at 10:25 PM ----------

Man the rom is awesome, i like so much but have a little problem :p . I just want to know if you going to fix the error with the sound ?
Me and Bartosz to. Is not easy to discover.
 

Alfredosp

Member
Oct 28, 2016
7
0
0
Guarulhos-Sao Paulo

tbirdguy

Senior Member
Feb 14, 2010
251
41
0
Springfield
do we have any info regarding the audio dac in the phone, is it possible that the "hi-fi" chipset for enhanced​ audio is causing the issues? ive been poking around but dont have enough experience to get this up and​ running ...
 

washingtondels

New member
Jul 26, 2018
3
0
0
Uma pena que o áudio não pega, outra coisa, não consegui acessar a playstore... Mas o visual é show de bola...gostei bastante. Enfim, por conta do áudio... Acabei voltando para rom original 5.1 :crying:
 

Azax2019

New member
Jun 27, 2019
4
0
0
Tikapur Kailali,Nepal
Doesn't Boot....

Successfully flashed Lineage for MT6795 but doesn't boot at any cost. I think Problem occurred due to attached kernel by GMC .
Using Elife E8 with twrp installed...
Any help to boot up Lineage OS...???
 
Last edited:

dexterxx

Senior Member
Jan 6, 2012
89
44
0
Rybnik
dexterxx.pl
Bump.

Maybe some new experiments with our old buddy ;p ?

Facing right now with banking apps on stock ROM, I've didn't noticed that there was any other OS for our X2/E8/XL... oh.. why there's no audio, but CM vs stock is already impressive even on that state.

OK. What to do, what to try? On what did you finished @bemolx, @Alfredosp?
Any new hopes?
 

dexterxx

Senior Member
Jan 6, 2012
89
44
0
Rybnik
dexterxx.pl
Anyone still here? Bcuz it's time again time to cry ;)

I've figured out problem with audio.
(I've also recorded video that proofs it... using other device, which have broken microphone, lol.. so I wont show you right now, video is silent; my wife sleeping)

Long story short: you need to copy from stock ROM at least:
* system/lib/libtfa9887_interface.so
* system/lib64/libtfa9887_interface.so

not sure about that below, but probably too:
* system/etc/smartpa_params/ whole dir, there're interesting files, like GiooneeL.speaker etc., which filename strings I've greped in above libs.

All related to TFA9887 Amplifier chip which it's (I guess) built in our device.
BTW It's very interesting piece of magic, If you're interested in electronics look at brochure demo: https://youtu.be/oLMXCTvCB70. Other xda devs also faced with it - https://forum.xda-developers.com/showpost.php?p=67558892&postcount=3

RIght now I've very dirty working repository, so can't say precisely, but last months gave me so much experience that I've already made some mods in OPs ROM Port flashing and testing last days.
Most of mandatory features works, so probably I'll try to publish after some fixes whole ROM-ZIP...

@Alfredosp it was luck, that You took CM nighty newer than
> Starting with 20160803 nightly we ship partial TFA9887 support for ZE601KL.

(we have at least ~20160823) or that was planned/known?


---
If you thinking why I'm still resuscitating that peace of s*it with that crappy mediatek soc... I'm to lazy to change phone to new, which I've choose finally after 5 month reading/waiting... (OP 8 Pro).
With working CM13 on X2 I'll probably move again buying decision to another months.. :D
 
Last edited:

dexterxx

Senior Member
Jan 6, 2012
89
44
0
Rybnik
dexterxx.pl
Here,

OP's zip original reupload: https://mega.nz/file/hlVDVYbC#ZntMhOb8JPo9qDhr5viYWFLn1m2hC7qyzXcHv0jmQqI

My enhanced last build (probably with working audio, HW buttons, sensors, naming fixed and maybe something more, but still unstable to daily use): https://mega.nz/file/AxVHlCaR#fmOfCSqBS0zsvhZ0OdwkKUhFgejIewtUKfd_SgySB6Y

And prepaired description before publishing which never comes ;)

Code:
NOT WORK

- URU ID fingerprint
- Camera core features (manual focus, ...)
-- Missing 4k video record / 21MPix photo
-- Missing 720p selfie video record
- NFC
- DRM #nobody

NOT TESTED / UNSTABLE / TODO
- Headphones
- Dual SIM on/off, switching, LTE/4G band select
- Baseband: MOLY.LR9.W1423.MD.LWTG.MP.V40.P27, 2015/11/23 19:50 vs Baseband: MOLY.LR9.W1423.MD.LWTG.MP.V40.P18, 2015/08/22 17:01
- Front and rear camera some features
- Sensor temp: mtktspa
- Codecs: OMX.MTK.AUDIO.DECODER.APE: audio/ape
- LCM -- dunno what's that / TODO needed research
- TODO: WiFi: CONSYS_MT6795 -> MT6630 (lol?!)
- TODO: Cmdline fps=5934 (a jest 5935)
- Battery charging statistics shows dump data
- TODO: driver: mtk-kpd
- MTK Engeenier mode
- VendorID change in ramdisk to allview
- BatteryWarning.apk / battery overheat
- CM13 upgrade to last build
- Heartbeat sensor

PROBABLY WORKS:
- HW supported Keystore (I've interesting hardware issue in my device https://forum.xda-developers.com/android/help/bank-apps-rsa-crashes-mediatek-mt6795-t4019379 )

WORKS:
- Booting!
- Screen, Multi Touch (10)
- Camera, taking pictures and video recording - rear and front
- Career signal
- BT
- Wifi
- GPS
- Buttons: Home, Apps, Back and hardware buttons
- Microphone on calls, recording
- Audio!
- Calls
- OTG
- USB: charging, file sharing, media sharing
- Notification LED
- Flashligth, rear LED
- Vibra
- SD Card
- Sensors/Brightness (SensorHub)

NO WARRANTY

But you may test it at your own risk and give feedback. Maybe someday we will born something stable...?

HF, GL