FORUMS

[ROM][OFFICIAL][otus] CyanogenMod 12.1 for Moto E 3G

1,722 posts
Thanks Meter: 11,082
 
By squid2, Recognized Developer on 2nd May 2015, 04:36 PM
Post Reply Email Thread
CyanogenMod banner

I have ported CyanogenMod to the 2015 Moto E 3G, codenamed otus. Be sure to back up your stock rom before flashing this. Flash it with TWRP. I recommend CM gapps with this ROM.

I must give huge thanks to @scritch007 and @percy_g2 for porting CyanogenMod to the first gen Moto E (condor). I've built my device tree using their condor device tree as a base.

Changelog:
Official nightly changelogs
Code:
December 16, 2015:
- Unofficial security update build

September 12, 2015:
- First official nightly build

September 5, 2015:
- Improved RAM management
- Improved auto brightness calibration
- Cleaned up vendor blobs
- CM updates

September 3, 2015:
- Fixed camera regression in previous build
- CM updates

September 1, 2015:
- Fixed headphone detection at boot time
- Bluetooth fixes
- CM updates

August 28, 2015:
- Kernel security and reliability improvements
- CM updates

August 24, 2015:
- Added LED notification support
- Properly runs sensor hub firmware script at boot

August 22, 2015:
- Uses prebuilt libOmxVdec
- Fully fixed YouTube issues

August 21, 2015 - Build 2:
- Disabled AAC compressed offload playback
- This seems to have mostly fixed the YouTube issues

August 21, 2015:
- Further cleaned up vendor blobs
- Cleaned up device tree
- CM updates

August 9, 2015:
- Cleaned up unused vendor blobs
- Updated power management overlay for more accurate battery stats
- CM updates

August 1, 2015:
- Fixed Indian time zone issues (recents key, gapps crashes)
- Updated driver blobs and kernel
- CM updates

July 29, 2015:
- CM updates

July 16, 2015:
- Added USA XT1511 support
- CM updates

July 14, 2015:
- CM updates

July 3, 2015:
- CM updates
- Additional RIL settings for XT1506

July 1, 2015:
- CM updates
- Updated f2fs drivers

June 27, 2015:
- CM updates

June 19, 2015:
- Updated kernel to Linux 3.4.108
- CM updates

June 18, 2015 (June 17th in Canada):
- Reduced ADSP crash frequency
- CM updates
- You might need to reflash gapps

June 12, 2015:
- CM updates

June 6, 2015:
- CM updates
- Miscellaneous kernel fixes

May 29, 2015:
- CM updates
- Added missing vendor blobs

May 16, 2015 - Build 2:
- Disabled FFMPEG offload to reduce ADSP crash frequency
- You MUST wipe your system partition before installing this build

May 16, 2015:
- Updated to Linux Kernel 3.4.107
- Fixed FM radio
- Updated WiFi drivers
- Faster WiFi network detection and connection
- Various other bugfixes for issues encountered in testing
- Updated vendor apks
- Enforcing SELinux and sepolicy fixes
- Added fiops IO scheduler to kernel

May 10, 2015:
- Slightly faster WiFi network detection

May 9, 2015:
- Fixed audio
- Fixed camera
- Fixed media codecs
- Fixed auto brightness
- RIL fixes for Indian dual SIM model

May 8, 2015:
- New kernel that is appropriate for this device
- Accelerometer is fixed
- All the changes in CyanogenMod

May 2, 2015:
- Initial release
Sources:
Device Tree: https://github.com/CyanogenMod/andro..._motorola_otus
Vendor Tree: https://github.com/sultanqasim/andro..._motorola_otus
Kernel Tree: https://github.com/CyanogenMod/andro..._motorola_otus

Downloads:
December 16th Unofficial Build
OFFICIAL NIGHTLY BUILDS
Mirror of final (November 30) nightly build

Old Unofficial Builds:
September 5 Release
September 3 Release
September 1 Release
August 28 Release
August 24 Release
August 22 Release
August 21 Build 2
August 21 Release
August 9 Release
August 1 Release
July 29 Release
July 16 Release
July 14 Release
July 3 Release
July 1 Release
June 27 Release
June 19 Release
June 18 Release
June 12 Release
June 6 Release
May 29 Release
May 16 Build 2
May 16 Release
May 10 Release
May 9 Release
May 8 Release
May 2 Release


XDA:DevDB Information
CyanogenMod 12.1 for Moto E 3G, ROM for the Moto E 2015

Contributors
squid2, scritch007, percy_g2
ROM OS Version: 5.1.x Lollipop
ROM Kernel: Linux 3.4.x

Version Information
Status: Stable

Created 2015-05-02
Last Updated 2015-12-15
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2015-06-19-22-02-26.png
Views:	10686
Size:	59.5 KB
ID:	3370645  
The Following 45 Users Say Thank You to squid2 For This Useful Post: [ View ]
2nd May 2015, 04:36 PM |#2  
squid2's Avatar
OP Recognized Developer
Flag Ontario
Thanks Meter: 11,082
 
Donate to Me
More
Installation Instructions
To perform a clean install:
  1. Boot up my TWRP
  2. Go to Wipe->Advanced Wipe, select Dalvik Cache, System, Data, and Cache, then swipe to wipe
  3. Return to the TWRP home screen, go to Install, and add two zips to the queue: first my CM ROM, then the latest CM 12.1 gapps
  4. Swipe to flash the two zips
  5. Reboot once flashing is complete (and be patient for the first boot, it takes a while)

Not wiping everything correctly or installing the wrong gapps may cause issues.

To upgrade between consecutive releases of my CM without any major changes:
  1. Boot up my TWRP
  2. Go to Install, and add two zips to the queue: first my CM ROM, then the latest CM 12.1 gapps
  3. Swipe to flash the two zips
  4. After flashing is complete, wipe cache and dalvik
  5. Reboot (and be patient for the first boot, it takes a while)

If you encounter any issues after an upgrade, try performing a clean install before reporting a bug.

Video Demo
@chintu112 has made a video demo of this ROM that you can watch to see what it is like.
The Following 19 Users Say Thank You to squid2 For This Useful Post: [ View ]
2nd May 2015, 04:43 PM |#3  
squid2's Avatar
OP Recognized Developer
Flag Ontario
Thanks Meter: 11,082
 
Donate to Me
More
ClockWorkMod Recovery
Nobody needs this, I don't know why anyone would want this, but I do get a CWM recovery for free when porting CyanogenMod to a device. For anyone who for some strange reason wants a CWM recovery, I've posted one to the downloads tab of this thread. Flash it with fastboot. If you don't know how, don't use it. Use at your own risk. I haven't tested it.

I recommend TWRP to all sane people.
The Following 9 Users Say Thank You to squid2 For This Useful Post: [ View ]
3rd May 2015, 02:45 PM |#4  
Senior Member
Mumbai
Thanks Meter: 18
 
More
Thumbs up
@squid

waiting .
7th May 2015, 03:40 AM |#5  
squid2's Avatar
OP Recognized Developer
Flag Ontario
Thanks Meter: 11,082
 
Donate to Me
More
I've done a bit of fiddling with this ROM, trying to fix what is broken, but I haven't had much luck. Motorola still hasn't released kernel sources for this model, so I've been trying to make do with a hacked up condor kernel that is able to boot on this device. I expect that some of the issues I'm facing are due to the fact that I'm using a kernel that is not really meant for this device. I tried using the prebuilt stock kernel, but it would fail with binder crashes in early bootup. If anyone has any ideas or solutions to fix some of the device support issues, I'd be glad to try them out.

I might post an updated build in a few days, but development of this port may be stalled for a while till Motorola releases kernel sources for otus. I've contacted a senior kernel developer at Moto and asked for the sources, but I haven't heard back from him yet. Hopefully Motorola will release kernel sources for this device, if nothing else at least when they release the 5.1 update for otus. They are required to release kernel sources by law (the GPL compels them to do so).

If you're interested, you can also contact Motorola and ask for the kernel source. If a lot of us pester them, maybe they'll do something about it.
The Following 7 Users Say Thank You to squid2 For This Useful Post: [ View ]
7th May 2015, 06:57 AM |#6  
Member
Thanks Meter: 21
 
More
Quote:
Originally Posted by squid2

I've done a bit of fiddling with this ROM, trying to fix what is broken, but I haven't had much luck. Motorola still hasn't released kernel sources for this model, so I've been trying to make do with a hacked up condor kernel that is able to boot on this device. I expect that some of the issues I'm facing are due to the fact that I'm using a kernel that is not really meant for this device. I tried using the prebuilt stock kernel, but it would fail with binder crashes in early bootup. If anyone has any ideas or solutions to fix some of the device support issues, I'd be glad to try them out.

I might post an updated build in a few days, but development of this port may be stalled for a while till Motorola releases kernel sources for otus. I've contacted a senior kernel developer at Moto and asked for the sources, but I haven't heard back from him yet. Hopefully Motorola will release kernel sources for this device, if nothing else at least when they release the 5.1 update for otus. They are required to release kernel sources by law (the GPL compels them to do so).

If you're interested, you can also contact Motorola and ask for the kernel source. If a lot of us pester them, maybe they'll do something about it.

Well they posted the release notes of android 5.1 for our device yesterday, so we'll be getting the update in a few days i guess.
Here's the link https://motorola-global-portal.custh...il/a_id/105252

Sent from my MotoE2 using XDA Free mobile app
The Following 3 Users Say Thank You to raghavarora1997 For This Useful Post: [ View ] Gift raghavarora1997 Ad-Free
7th May 2015, 06:50 PM |#7  
squid2's Avatar
OP Recognized Developer
Flag Ontario
Thanks Meter: 11,082
 
Donate to Me
More
Good news! Chris Fries got back to me and had the source put up on GitHub. The LXC22.99 build that otus shipped with is available here: https://github.com/MotorolaMobilityL...MI-LXC22.99-13
The Following 4 Users Say Thank You to squid2 For This Useful Post: [ View ]
8th May 2015, 03:52 AM |#8  
squid2's Avatar
OP Recognized Developer
Flag Ontario
Thanks Meter: 11,082
 
Donate to Me
More
New May 8 Release
I've uploaded a new build for today. Beyond the usual CM updates, I've switched to using the suitable kernel that Motorola just released a few hours ago. Unfortunately, the kernel change didn't fix the main issues (audio and camera), but it did fix the accelerometer, which is always a good thing. I'm significantly more optimistic now compared to yesterday, since I have the kernel sources, and @scritch007 has offered to help me debug some of the issues.

I also noticed that while adaptive brightness is not working properly (it goes to full brightness always), it is possible to control the display brightness manually after disabling adaptive brightness in the display section of settings.

Indian, Brazilian, and other non-USA otus users: I need your help to get RIL working on your devices. While running the stock rom, open an ADB shell of your device on your computer, run the "getprop" command, and post the results. If you want to hide the identity of your device, you can redact unique identifiers (your serial number and WiFi MAC address) before posting the output here.
The Following 3 Users Say Thank You to squid2 For This Useful Post: [ View ]
8th May 2015, 05:01 PM |#9  
Ravx's Avatar
Senior Member
Flag Gwalior
Thanks Meter: 52
 
More
Quote:
Originally Posted by squid2


Indian, Brazilian, and other non-USA otus users: I need your help to get RIL working on your devices. While running the stock rom, open an ADB shell of your device on your computer, run the "getprop" command, and post the results. If you want to hide the identity of your device, you can redact unique identifiers (your serial number and WiFi MAC address) before posting the output here.

HI @squid2
Heres what you asked for. This is the Indian version.
I didnt knew how to export it. So i copied the output and pasted in text file.
Hope this helps.
Attached Files
File Type: txt prop.txt - [Click for QR Code] (11.1 KB, 212 views)
The Following 2 Users Say Thank You to Ravx For This Useful Post: [ View ] Gift Ravx Ad-Free
8th May 2015, 05:09 PM |#10  
squid2's Avatar
OP Recognized Developer
Flag Ontario
Thanks Meter: 11,082
 
Donate to Me
More
Quote:
Originally Posted by Ravx

HI @squid2
Heres what you asked for. This is the Indian version.
I didnt knew how to export it. So i copied the output and pasted in text file.
Hope this helps.

Thanks for the information. Your phone configuration matches the one posted by @santoshx99

I've added the necessary bits to the initialialization code, so hopefully the RIL will work on Indian devices in the next release.

I have enough Indian phone info for now, but I now need info for Brazilian and other South American devices.
The Following 2 Users Say Thank You to squid2 For This Useful Post: [ View ]
9th May 2015, 04:00 AM |#11  
Ravx's Avatar
Senior Member
Flag Gwalior
Thanks Meter: 52
 
More
Quote:
Originally Posted by squid2

Thanks for the information. Your phone configuration matches the one posted by @santoshx99

I've added the necessary bits to the initialialization code, so hopefully the RIL will work on Indian devices in the next release.

I have enough Indian phone info for now, but I now need info for Brazilian and other South American devices.

Absence of sim card makes the Rom unusable. I hope next build will contain sim card options. Thanks.
@DC07 I hope you can contribute here.

---------- Post added at 08:30 AM ---------- Previous post was at 08:24 AM ----------

I was thinking I'd downloading the Rom today. But if working RIL is going to be uploaded today then probably I will download it then. Will save me some bits.
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes