[ROM][lux] CyanogenMod 12.1 for Moto X Play

Search This thread

squid2

Recognized Developer
Mar 9, 2015
1,722
10,973
0
Ontario
1oXkC6z.png


We are pleased to share with you our port of CyanogenMod to the Moto X Play. It's fairly stable now, most things are working. If you encounter a new issue that hasn't already been mentioned here, please make a post describing it and I'll try to attend to it when I can. If the RIL doesn't work properly on your model, please PM me the output of 'getprop' on the stock ROM, along with information about your region and carrier. Be aware that this ROM expects you to be running the correct modem for your region. If you are running Asia firmware on a Europe device, or Brazil firmware on a Canadian device, or any other such mix, you will need to go back to your region's correct modem.

If you encounter issues and have constructive feedback, please share. If you encounter a performance issue and have properly profiled it or identified a root cause, please share. Also, after doing a clean install or upgrade or even a reboot, give the phone a minute to sort itself out after you first log in before you start paying attention to performance. Android carries out a bunch of background tasks initially after bootup. The ROM runs smoothly on my device, and I'm using it as a daily driver now.

If anyone wants to help us out with development, contributions are welcome.

Downloads:
January 25 Release
January 17 Release
January 1 Release
December 1 Release
November 15 Release
November 11 Release
November 9 Release
November 7 Release
November 1 Release
October 29 Release
October 24 Release
October 21 Release
October 18 Release
October 17 Release
October 12 Release
October 11 Release
October 1 Release
September 27 Release
September 21 Release
September 20 Release
September 19 Release
Other development/test builds

Installation:
Flash it with TWRP. I recommend the newest TWRP build I posted on vache's TWRP thread. For gapps, I have been using OpenGApps.

Release History:
Code:
January 25, 2016:
- Updated kernel (adapted Squid Kernel r14b)
- Fixed all the regressions in the last build

January 17, 2016:
- Updated kernel (adapted Squid Kernel r14)
- Noticeably smoother UI (due to kernel update)
- Security fixes for ROM and kernel

January 1, 2016:
- Vendor blobs cleanup
- Source built NFC HAL
- Added support for retail Mexico variant
- Comes with a variant of my Squid Kernel r12
- CM updates and security fixes

December 1, 2015:
- Changed stock WiFi driver behaviour
- CM updates

November 15, 2015:
- Integrated ClusterPlug hotplug
- New custom PowerHAL
- New thoughtfully tuned performance profiles
- Support for Motorola Camera and Slo-Mo video
- Overlay corrections

November 11, 2015:
- Switched to older Motorola stock f2fs
- Patched Pronto WLAN security vulnerability

November 9, 2015:
- New CM stock kernel based off Moto Maxx 2 source
- Should be more stable

November 7, 2015:
- Newer Adreno drivers taken from Yu Yureka
- Slightly smoother UI overall
- CM updates

November 1, 2015:
- Audio config changes
- Cleanup
- CM updates

October 29, 2015:
- Speakerphone echo fix
- German "retde" variant support
- Removed nonexistent buttons from Settings
- CM updates

October 24, 2015:
- RIL configuration updates
- Speakerphone mic config updates

October 21, 2015:
- Refixed speakerphone
- Fixed encryption
- Reverted commit causing WiFi keep awake

October 18, 2015:
- Fixed high impedance audio line out

October 17, 2015:
- Added support for Australian "vfaus" variant
- CM updates

October 12, 2015:
- Switched to stock-ish kernel planned for official support
- Switched back to source built HALs with h2o64 fixes
- Added support for Brazilian "tefbr" variant

October 11, 2015:
- Fixed call audio issues (speakerphone mic etc.)
- Fixed GPS reboot issue
- Kernel fixes and updates
- CM updates

October 1, 2015:
- Kernel updated with proper Motorola changes
- Other kernel updates
- CM updates

September 27, 2015:
- Enabled multistream zRAM compression
- Updated kernel to Linux 3.10.89
- CM updates

September 21, 2015:
- Dual SIM Brazilian XT1563 support
- Vendor blob cleanup 

September 20, 2015:
- Single SIM XT1562 support
- Miscellaneous smaller fixes

September 19, 2015:
- Initial release for general public consumption

Known Issues:
  • Some users have reported echo when using the speakerphone. While it seems to work fine for me now, your results may vary.

Sources:
Device: https://github.com/boulzordev/android_device_motorola_lux/tree/cm-12.1
Vendor: https://github.com/boulzordev/android_vendor_motorola_lux/tree/cm-12.1
Kernel: https://github.com/sultanqasim/android_kernel_motorola_msm8916/tree/lux

XDA:DevDB Information
CyanogenMod 12.1 for Moto X Play, ROM for the Moto X Play

Contributors
squid2, vache, Shreps, scritch007, Alberto97
Source Code: https://github.com/boulzordev

ROM OS Version: 5.1.x Lollipop
ROM Kernel: Linux 3.10.x

Version Information
Status: Stable
Stable Release Date: 2016-01-25

Created 2015-09-19
Last Updated 2016-01-25
 

pyr0sphere

Senior Member
Aug 26, 2011
608
157
0
Never owned a Motorola phone before this. Does the Moto app run on CM? Can it be side loaded?

Thanks for the great work on the ROM and kernel. Great to have dev support for this phone

Sent from my XT1563 using Tapatalk
 

CharlesW123

Senior Member
Sep 19, 2008
195
44
0
Sheffield, UK
Installed fine but also not getting a mobile signal after install? When going through the Cyanogenmod install mobile was working and got an LTE signal? But after all installed and accounts logged in and on WiFi getting no mobile signal? Tried a reboot, even manually going in to pick mobile network (Three UK in my case but the phone is sim unlocked) and although the UK networks show up once Three selected its not working and states I try later?
Nandroid backup of stock Moto restoring now but happy to test further, or get a logcat, etc on this if needed?
I've got the single sim version, model XT1562

Sent from my Nexus 9 using XDA Premium HD app
 
Last edited:

dictionary

Senior Member
Dec 3, 2009
4,509
1,562
0
Service works just fine for me. I'm curious what model everyone has that isn't working. I'm on a xt1563 single sim from Canada.
 

squid2

Recognized Developer
Mar 9, 2015
1,722
10,973
0
Ontario
RIL Configuration

I have a Canadian XT1563 and I made sure it worked on my own device. Are you saying that the UK model is a single SIM XT1562? That's interesting. I had assumed that all XT1562 devices were dual SIM and wrote the RIL configuration code accordingly.

Could one or two UK XT1562 users PM me the output of running "getprop" on the stock ROM, and confirming as to whether your device is single or dual SIM? It would be much appreciated.
 
Last edited:

ALD76

Member
Dec 6, 2014
34
27
0
I have a Canadian XT1563 and I made sure it worked on my own device. Are you saying that the UK model is a single SIM XT1562? That's interesting. I had assumed that all XT1562 devices were dual SIM and wrote the RIL configuration code accordingly.

Could one or two UK XT1562 users PM me the output of running "getprop" on the stock ROM, and confirming as to whether your device is single or dual SIM? It would be much appreciated.

All XT1562 are dual sim but its only activated in the Retasia firmware not the Reteu. I have a UK phone flashed with the asia firmware and your builds work fine.
 

sjaakd

Senior Member
Oct 6, 2014
51
30
0
I have a Canadian XT1563 and I made sure it worked on my own device. Are you saying that the UK model is a single SIM XT1562? That's interesting. I had assumed that all XT1562 devices were dual SIM and wrote the RIL configuration code accordingly.

Could one or two UK XT1562 users PM me the output of running "getprop" on the stock ROM, and confirming as to whether your device is single or dual SIM? It would be much appreciated.

I have send you an getprop from xt1562 singlesim EU model
 
  • Like
Reactions: squid2

dictionary

Senior Member
Dec 3, 2009
4,509
1,562
0
Thanks, I've updated the RIL configuration based on information from Charles and you. I read somewhere that dual sim XT1563 models also exist. If anyone has a dual sim XT1563, please PM me your getprop for CM support to be added.
The dual sim xt1563 are from Mexico. Honestly though, I'm pretty sure it's the same, just with the added flags. All the hardware is there.
 

ephumuris

Senior Member
Dec 7, 2008
3,680
634
258
34
Hull
So is it possible to just flash some sort of modem file or something or do I need to flash a full other regions rom for this to work on my UK XT1562.

Sent from my XT1562 using Tapatalk
 

Marco Lomas

Senior Member
Feb 17, 2012
801
206
0
Sorry for ask, how its the performance on the rom? Compared to stock i ask. Thanks for bring cm to x play :)

Enviado desde mi XT1563 mediante Tapatalk
 

Top Liked Posts

  • There are no posts matching your filters.
  • 85
    1oXkC6z.png


    We are pleased to share with you our port of CyanogenMod to the Moto X Play. It's fairly stable now, most things are working. If you encounter a new issue that hasn't already been mentioned here, please make a post describing it and I'll try to attend to it when I can. If the RIL doesn't work properly on your model, please PM me the output of 'getprop' on the stock ROM, along with information about your region and carrier. Be aware that this ROM expects you to be running the correct modem for your region. If you are running Asia firmware on a Europe device, or Brazil firmware on a Canadian device, or any other such mix, you will need to go back to your region's correct modem.

    If you encounter issues and have constructive feedback, please share. If you encounter a performance issue and have properly profiled it or identified a root cause, please share. Also, after doing a clean install or upgrade or even a reboot, give the phone a minute to sort itself out after you first log in before you start paying attention to performance. Android carries out a bunch of background tasks initially after bootup. The ROM runs smoothly on my device, and I'm using it as a daily driver now.

    If anyone wants to help us out with development, contributions are welcome.

    Downloads:
    January 25 Release
    January 17 Release
    January 1 Release
    December 1 Release
    November 15 Release
    November 11 Release
    November 9 Release
    November 7 Release
    November 1 Release
    October 29 Release
    October 24 Release
    October 21 Release
    October 18 Release
    October 17 Release
    October 12 Release
    October 11 Release
    October 1 Release
    September 27 Release
    September 21 Release
    September 20 Release
    September 19 Release
    Other development/test builds

    Installation:
    Flash it with TWRP. I recommend the newest TWRP build I posted on vache's TWRP thread. For gapps, I have been using OpenGApps.

    Release History:
    Code:
    January 25, 2016:
    - Updated kernel (adapted Squid Kernel r14b)
    - Fixed all the regressions in the last build
    
    January 17, 2016:
    - Updated kernel (adapted Squid Kernel r14)
    - Noticeably smoother UI (due to kernel update)
    - Security fixes for ROM and kernel
    
    January 1, 2016:
    - Vendor blobs cleanup
    - Source built NFC HAL
    - Added support for retail Mexico variant
    - Comes with a variant of my Squid Kernel r12
    - CM updates and security fixes
    
    December 1, 2015:
    - Changed stock WiFi driver behaviour
    - CM updates
    
    November 15, 2015:
    - Integrated ClusterPlug hotplug
    - New custom PowerHAL
    - New thoughtfully tuned performance profiles
    - Support for Motorola Camera and Slo-Mo video
    - Overlay corrections
    
    November 11, 2015:
    - Switched to older Motorola stock f2fs
    - Patched Pronto WLAN security vulnerability
    
    November 9, 2015:
    - New CM stock kernel based off Moto Maxx 2 source
    - Should be more stable
    
    November 7, 2015:
    - Newer Adreno drivers taken from Yu Yureka
    - Slightly smoother UI overall
    - CM updates
    
    November 1, 2015:
    - Audio config changes
    - Cleanup
    - CM updates
    
    October 29, 2015:
    - Speakerphone echo fix
    - German "retde" variant support
    - Removed nonexistent buttons from Settings
    - CM updates
    
    October 24, 2015:
    - RIL configuration updates
    - Speakerphone mic config updates
    
    October 21, 2015:
    - Refixed speakerphone
    - Fixed encryption
    - Reverted commit causing WiFi keep awake
    
    October 18, 2015:
    - Fixed high impedance audio line out
    
    October 17, 2015:
    - Added support for Australian "vfaus" variant
    - CM updates
    
    October 12, 2015:
    - Switched to stock-ish kernel planned for official support
    - Switched back to source built HALs with h2o64 fixes
    - Added support for Brazilian "tefbr" variant
    
    October 11, 2015:
    - Fixed call audio issues (speakerphone mic etc.)
    - Fixed GPS reboot issue
    - Kernel fixes and updates
    - CM updates
    
    October 1, 2015:
    - Kernel updated with proper Motorola changes
    - Other kernel updates
    - CM updates
    
    September 27, 2015:
    - Enabled multistream zRAM compression
    - Updated kernel to Linux 3.10.89
    - CM updates
    
    September 21, 2015:
    - Dual SIM Brazilian XT1563 support
    - Vendor blob cleanup 
    
    September 20, 2015:
    - Single SIM XT1562 support
    - Miscellaneous smaller fixes
    
    September 19, 2015:
    - Initial release for general public consumption

    Known Issues:
    • Some users have reported echo when using the speakerphone. While it seems to work fine for me now, your results may vary.

    Sources:
    Device: https://github.com/boulzordev/android_device_motorola_lux/tree/cm-12.1
    Vendor: https://github.com/boulzordev/android_vendor_motorola_lux/tree/cm-12.1
    Kernel: https://github.com/sultanqasim/android_kernel_motorola_msm8916/tree/lux

    XDA:DevDB Information
    CyanogenMod 12.1 for Moto X Play, ROM for the Moto X Play

    Contributors
    squid2, vache, Shreps, scritch007, Alberto97
    Source Code: https://github.com/boulzordev

    ROM OS Version: 5.1.x Lollipop
    ROM Kernel: Linux 3.10.x

    Version Information
    Status: Stable
    Stable Release Date: 2016-01-25

    Created 2015-09-19
    Last Updated 2016-01-25
    33
    Work in Progress

    T2Tzu26.png
    26
    December 1st Build

    I've posted a minor maintenance release. It includes the past two weeks of bug fixes in CyanogenMod, and I changed the stock WiFi driver's behaviour to make it more like the one in my "Squid Kernel". If you recall, there's an issue affecting all Motorola MSM8916 family devices on custom ROMs where the stock Motorola WiFi drivers will fail to connect to certain networks, and modified drivers will connect to all networks but prevent the device from sleeping when connected to certain other networks. It comes down to some changes that Motorola must have made in the WiFi HAL that are not in CyanogenMod. Anyway, I've heard more people complain about the unable to connect issue than the failing to sleep enough on certain networks issue, and I suppose being unable to connect is a more annoying problem, so I reverted Motorola's change that broke connecting to certain networks on custom ROMs withtout Motorola's proprietary WiFi HAL. You should now be able to connect to any WiFi network out of the box without having to flash my "Squid Kernel".

    With regards to CM13 for lux, I apologize for the slow progress. It's a bit of a mess right now, as I had been focusing on getting otus ready for CM13 nightlies and have been busy with other parts of life. Now that CM13 for otus is ready and moving on to official nightlies, I will shift my attention back to lux. I'll be working on it over the course of the week and will post a better build when it's ready.
    17
    Hey, @squid2 is there a possibility that we will get official cm support for our device any time soon ? Because I have seen that when you worked on osprey that almost immediately got the official support , please give us some info

    I plan to go for official support with CM13. I've been in discussions with various people about commonising the Motorola MSM8916 devices to simplify maintenance and bringup. This CM12.1 port is stable but will probably remain unofficial, as the plan is to go for a common device tree.
    17
    Clean Flashed 15Nov and r11d kernel. Build is so smooth. No issues so far. Better than all the previous ones.

    Sent from my Moto X Play using TapaTalk

    Yeah, I'm very happy with the smoother performance of the last build.

    Just wait for CM13, I'm almost ready to release a preview build. ;) All the animations will be even smoother, with zero microstutters, just like my victara.
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone