[Motorola Droid 4] stargo:
CM11.0 (KitKat) unofficial builds for the Droid 4

I'm now pushing my changes directly to CM, so nearly everyone can just use the official nightlies (except if you are still using BMM).

CyanogenMod is a free, community built, aftermarket firmware distribution of Android 4.4 (KitKat), which is designed to increase performance and reliability over stock Android for your device.

#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* We are 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 any of us for messing up your device, we will laugh at you.
* Collectively, and at the same time.
*/

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 our Gerrit Code Review.

These are WIP builds of porting CM11.0 to the Droid 4 (and probably also other devices using the same device/motorola/omap4-common-infrastructure). They probably won't work, so don't expect too much. Use on your own risk!

Builds:

Final official build (XNG3C):

http://download.cyanogenmod.org/ maserati spyder targa umts_spyder

Current manual builds:

http://droid.cs.fau.de/cm-11.0/unofficial/

Official builds (for everyone not using BMM):

http://download.cyanogenmod.org/?device=maserati

Obsolete automatic nightly builds:

http://droid.cs.fau.de/cm-11.0/maserati/

Obsolete old/manual builds:

http://bork.cs.fau.de/~michael/d4/cm11/

Changes:

2016-01-04:

Unofficial build: http://droid.cs.fau.de/cm-11.0/unofficial/

Resync with CM, specifically this is the head: http://review.cyanogenmod.org/123858/ (most changes security related)

Many kernel patches to filesystem-, block- and mmc-layers

2015-11-15:

Unofficial build: http://droid.cs.fau.de/cm-11.0/unofficial/

Resync with CM, specifically this is the head: http://review.cyanogenmod.org/119228/

Fixes multiple security vulnerabilities, including more stagefright fixes

2015-09-01:

Update for XNG3C released, fixing several security vulnerabilities (including stagefright): maserati, spyder, targa, umts_spyder

2015-06-26:

Final official CM-11.0 build XNG3C released: maserati, spyder, targa, umts_spyder

This is the head: http://review.cyanogenmod.org/#/c/97434/

2015-05-22:

Resync with CM, specifically this is the head: http://review.cyanogenmod.org/99078

Applied multiple security-fixes for recent vulnerabilities

2015-04-26:

Resync with CM, specifically this is the head: http://review.cyanogenmod.org/95955/

2015-04-12:

Resync with CM, specifically this is the head: http://review.cyanogenmod.org/94180/

2015-04-05:

Resync with CM, specifically this is the head: http://review.cyanogenmod.org/93344/

2015-03-29:

Reverted a memory cgroup change from mid-november: http://review.cyanogenmod.org/92590

Resync with CM, specifically this is the head: http://review.cyanogenmod.org/92323

2015-03-2{7,8}:

Resync with CM, specifically this is the head: http://review.cyanogenmod.org/91669

Look at another device for all changes, most notably fixes for Play Services wakelocks.

2014-02-21:

Switch to CM kernel, all relevant kernel-patches are now upstream

Added fixes for audio, usb and modem

2014-02-18:

Add wakelocks to ALS/proximity-sensor to prevent I2C-stalls

2014-02-04:

Enable camera-sensor calibration

2014-01-26:

Fix permissions for sdcard0, fixes apps on sd-card

2014-01-25:

Increased suspend-delay in USB-host, next try to fix the suspend_wakelock

2014-01-24:

Re-add MDM6600 reset on boot, might fix signal-loss issues. Users with a SIM PIN get a PIN-dialog after flashing the GSM patch.

2014-01-22:

Fixed wireless driver writing to foreign kernel memory

2014-01-21:

Fixed permissions of the DRM device-files, enable playback of secure content

2014-01-19:

Apply omapzoom-fix for the st_wake_lock and remove my hack. This improves powersaving on some devices, where UART4 would not get disabled

2014-01-17:

Reverted a motorola-workaround for an USB bug as the upstream omapzoom-fix is already applied and seems to be more correct. Probably fixes suspend_backoff wakelock

Completely switch back to ti wpa_supplicant

Fix permissions of battd-files, now battd can even read and write its calibration information

2014-01-16:

Added a possible fix for the display not always waking up

2014-01-13:

More camera fixes. HD recording (and the camera itself) should be stable now.

2014-01-11:

Updated domx and kernel rpmsg-interface. This fixed many camera problems (hangs/mediaserver crashes). Additionally it makes focal usable now

2014-01-10:

Enabled HD video recording. If the camera app crashes after taking a video, just reopen it (sometimes twice), this will be fixed in a future update.

2014-01-06:

Enabled KSM

2014-01-02:

More fixes for USB-problems (suspend related)

2013-12-30:

Merge upstream changes (enables BLE)

2013-12-25:

More camera tweaks

2013-12-24:

Workaround for CM now depending on QCOM camera and crashing with everything else

Emit set_perms in updater-script again

Don't mount / as ro, fixes sd-cards again

2013-12-23:

More fixes for USB-erratas

5s timeout for the st_wake_lock

2013-12-22:

Cherry-picked fixes for USB-erratas on omap4430 (suspend/resume)

2013-12-18:

set_perms-hack removed

2013-12-17:

Don't hold st_wakelock until BT/GPS is used for the first time

Some power-management fixes cherry-picked from omapzoom

2013-12-14:

set CMUpdater-URL to own backend

2013-12-13:

Torch-tile (Quick Settings) fixed

2013-12-11:

Use hostapd from wpa_supplicant_8_ti and wpa_supplicant from wpa_supplicant_8 (fixes WiFi-tether)

3G fixed by setting the data registration-state

2013-12-07:

Update to Android 4.4.1

2013-12-05:

Just a build with the latest CM11.0-changes

2013-12-01:

Re-enable building TI WPAN support (fixes bluetooth)

2013-11-30:

Just a build with the latest CM11.0-changes

2013-11-28:

Revert "Reset MDM6600 on bootup", this should be safe to flash again for users having a SIM-PIN

2013-11-27: *DO NOT FLASH*

Respect "usevoicetechfordata" RIL-setting again

Reset MDM6600 on bootup, this leads to problems with SIM-PINs, do not flash!

2013-11-26:

Merge upstream fixes

Enable new boot-animation

Fix a crash in the hwcomposer

2013-11-24:

Disable fsck_msdos for now to see if this solves the sd-card-problems

2013-11-23-2:

Revert sd-card changes, sd-cards are now writeable again

2013-11-23:

Some more sd-card related changes, this now breaks sd-cards completely...

Unconditionally enable gsm-preferences

Revert new boot-animation, as it crashes the system on boot

Merge upstream kernel/motorola/omap4-common-commits by dhacker29

2013-11-22:

Merge upstream devices/motorola/omap4-common-commits by dhacker29

2013-11-21:

Fix black-boxes in chromium webview (using this patch)

2013-11-19:

Use CPU-path for taking screenshots (Fixes graphical glitches on rotation, and probably hangs, but not black-boxes, they are a PowerVR/chromium bug)

Fixed internal and external sd-card mounting

2013-11-18-2:

Enable (empty) methods used by audio-blob (fixes audio)

2013-11-18:

Don't use TI wpa_supplicant but stock Android one (fixes WiFi)

2013-11-17:

First booting build

What's working:

Phone (tested on Verizon and on GSM/UMTS in Europe)

Mobile Data (tested on Verizon and on GSM/UMTS in Europe)

WiFi

WiFi-tethering

GPS

3G and 1X mobile data (on Verizon)

Camera

HDMI, thanks to [MENTION=4772154]lucize[/MENTION]

What's not working:

Probably most everything else, including, but not limited to:

sd-card-location can not be swapped between internal and external sd-card

ART, as it is still in heavy development upstream (same as for all other 4.4-Roms)

Differences to official builds:

USB-Host changes trying to fix suspend_backoff issues (integrated into CM)

Many power-saving related kernel-changes (integrated into CM as of 2014-01-18)

Updated display controller-driver to fix dead display on wakeup (integrated into CM as of 2014-01-20)

HD video recording, newer camera libraries (integrated into CM as of 2014-01-14)

Camera sensor DCC file-loading fixed (integrated into CM)

Working WiFi tethering (integrated into CM as of 2014-01-17)

Installable with older recoveries

Some other small omap4-common changes (integrated into CM)

Gapps:

There are currently multiple Gapps-versions floating around, which might or might not work.

To install current Gapps-packages without errors, you should upgrade to SafeStrap 3.75.

BasketBuild: https://basketbuild.com/gapps

CM: http://wiki.cyanogenmod.org/w/Google_Apps

Dhacker29 provides gapps which are compatible with recoveries not supporting set_metadata (like SafeStrap <= 3.73) (mirror):

http://droid.cs.fau.de/cm-11.0/dhacker-gapps/

Other gapps-versions from Dhacker29 (using set_metadata, which leads to an error during installation):

http://d-h.st/EIM

http://d-h.st/F0D

Installation:

Installation has been tested in ROM-slot 1 and 2 and in the stock ROM-slot using Safestrap 3.65 and SafeStrap 3.75

GSM users:

To use this CM11.0-ROM on GSM-networks you should install Mentor.37's GSM patch

Source / Repositories:

maserati device-support: https://github.com/stargo/android_device_motorola_maserati

omap4-common device-support: https://github.com/stargo/android_device_motorola_omap4-common

omap4-common kernel: https://github.com/stargo/android_kernel_motorola_omap4-common

local manifest to build cm-11 for the Droid 4: https://github.com/stargo/local_manifests

These builds are currently just test-builds, I don't know if I will find the time to continue maintaining device support for the Droid 4 on CM11.

XDA:DevDB Information

CM 11.0 on Motorola Droid4, ROM for the Motorola Droid 4

Contributors

stargo, Hashcode, Dhacker29

Source Code: https://github.com/CyanogenMod

ROM OS Version: 4.4.x KitKat

ROM Kernel: Linux 3.0.x

Based On: CyanogenMod

Version Information

Status: Stable

Current Stable Version: XNG3C

Stable Release Date: 2015-09-01

Current Beta Version: 2016-01-04

Beta Release Date: 2016-01-04

Created 2014-11-23

Last Updated 2016-01-04