[ROM][4.4.4][AOSP][{Un,}Official] CM11.0 (KitKat)

Search This thread

stargo

Inactive Recognized Developer
Jan 7, 2011
538
1,718
Fürth
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.

Code:
#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:
  • 2015-11-15:
  • 2015-09-01:
  • 2015-06-26:
  • 2015-05-22:
  • 2015-04-26:
  • 2015-04-12:
  • 2015-04-05:
  • 2015-03-29:
  • 2015-03-2{7,8}:
  • 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 @lucize

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:

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

Source / Repositories:

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
 
Last edited:

rruleford

Senior Member
Feb 26, 2011
639
96
Can confirm this working on USA Verizon both call and data. Haven't really found reason to not use as daily driver other than keyboard backlight but tbh I don't really use the KB much. Will test on stock rom slot in a few and report back. Awesome to see cm11 on d4 and I hope development for the d4 will live on.

Sent from my XT894 using Tapatalk
 

wolf45801

Senior Member
Mar 31, 2012
733
83
Lima
Can confirm this working on USA Verizon both call and data. Haven't really found reason to not use as daily driver other than keyboard backlight but tbh I don't really use the KB much. Will test on stock rom slot in a few and report back. Awesome to see cm11 on d4 and I hope development for the d4 will live on.

Sent from my XT894 using Tapatalk

actually the pa gapps is what im using so they do work
 

rruleford

Senior Member
Feb 26, 2011
639
96
Tested and confirmed working on stock ROM slot. Are the PA gapps blacked out?

Sent from my XT894 using Tapatalk
 

stargo

Inactive Recognized Developer
Jan 7, 2011
538
1,718
Fürth
Good news everyone: It seems a fix for the black boxes was found in upstream chromium webview: http://review.cyanogenmod.org/#/c/54291/

I've started a new build which should be ready in a few hours and I will upload it as soon as it's done (probably untested, as I'm not at home at the time the build is finished).

Edit: New build ready and uploaded (and even tested).
 
Last edited:

IndiaBhai

Senior Member
Apr 23, 2012
59
12
USA
Can confirm this working on USA Verizon both call and data. Haven't really found reason to not use as daily driver other than keyboard backlight but tbh I don't really use the KB much. Will test on stock rom slot in a few and report back. Awesome to see cm11 on d4 and I hope development for the d4 will live on.

Sent from my XT894 using Tapatalk

Would you be able to check whether it works on 3G and 1X?
 

wolf45801

Senior Member
Mar 31, 2012
733
83
Lima
Hi,



Are you on Verizon or on GSM? I'm confused by the US mobile-phone system looking at it from europe ;)
Do you get service on CM10.2?

Cheers,
Michael

actually im using prepaid service and once and a blue moon I got service on 10.2 now 10.1 -10.1.3 I got data at all times I tried disabling lte over cdma but that stop all service period I couldn't even call no one
 

thelolotov

Senior Member
Nov 27, 2009
205
46
On 11/21/13, here's my report:

Data: LTE good, 3g/1x seem to be screwed.
Rotation: Working!
Camera: Cannot report, my Droid 4 suffered a nasty fall the other day, and the camera stopped working. I'll report back once I've gotten it repaired.
SD: Internal and External: Working!
Keyboard (including backlight, sym key, etc.): Working!
Back key seems screwy at times. Home key as well. Work for the most part.

Reliability: Dunno, will report back in a few days.
 

wolf45801

Senior Member
Mar 31, 2012
733
83
Lima
On 11/21/13, here's my report:

Data: LTE good, 3g/1x seem to be screwed.
Rotation: Working!
Camera: Cannot report, my Droid 4 suffered a nasty fall the other day, and the camera stopped working. I'll report back once I've gotten it repaired.
SD: Internal and External: Working!
Keyboard (including backlight, sym key, etc.): Working!
Back key seems screwy at times. Home key as well. Work for the most part.

Reliability: Dunno, will report back in a few days.


camera works with no problems for me everything seems to be working great except for the 1x or 3g once we can figure that out ill be using this as my daily driver

ps also notice that im getting google+ has closed errors randomly
 
Last edited:

thelolotov

Senior Member
Nov 27, 2009
205
46
camera works with no problems for me everything seems to be working great except for the 1x or 3g once we can figure that out ill be using this as my daily driver

ps also notice that im getting google+ has closed errors randomly

I had a similar issue with Google Keyboard, just disabled it for now, will figure it out later.
 

stargo

Inactive Recognized Developer
Jan 7, 2011
538
1,718
Fürth
actually im using prepaid service and once and a blue moon I got service on 10.2 now 10.1 -10.1.3 I got data at all times I tried disabling lte over cdma but that stop all service period I couldn't even call no one

Hmm, do you have access to a machine where you can log the output of "adb logcat" to a file when you enable the mobile data connection (you have to be disconnected from WiFi first, simply disable it) and let it run for about a minute without doing anything else on the phone and could you send me this log in a PM?

There should be messages from the MobileDataStateTracker in the log.
 
  • Like
Reactions: my2cents

Top Liked Posts

  • There are no posts matching your filters.
  • 51
    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.

    Code:
    #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:
    • 2015-11-15:
    • 2015-09-01:
    • 2015-06-26:
    • 2015-05-22:
    • 2015-04-26:
    • 2015-04-12:
    • 2015-04-05:
    • 2015-03-29:
    • 2015-03-2{7,8}:
    • 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 @lucize

    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:

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

    Source / Repositories:

    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
    15
    Congrats to Stargo on being added as an official CM Motorola OMAP4 device maintainer!

    Thanks to you for all your help :)

    I'll try to fix the bugs and will keep maintaining the OMAPs :)

    This also means that I will shortly stop building my unofficial images, when I have merged all useful changes back into the CM repositories. The officials will then have all my fixes.

    Cheers,
    Michael
    7
    Hi,

    I've just updated the first post, added a small changelog for the new build and fixed gapps-links.
    There will be another build including this shortly.

    Cheers,
    Michael
    7
    I apologize for this non-ROM related post:

    Congrats to Stargo on being added as an official CM Motorola OMAP4 device maintainer!

    (probably long over due)

    Please refrain from posting "congrats" messages in this thread and maybe find one of his messages to add a "thanks" to.

    Sent from my XT1060 using Tapatalk
    7
    Nice job man!

    I was hoping devs would step in and continue on with these great devices. You don't know how happy I was to see this build.

    (I'm not just tossing this out there, I actually flashed this build and ran through it.)