[ROM][official] HTC One X CyanogenMod 11.0 nightlies + M-releases

Search This thread

Thömy

Senior Member
Aug 24, 2010
666
2,388
Stuttgart
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:
Code:
#include 
/*
 * 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.
 */
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 Gerrit Code Review. You can also view the Changelog for a full list of changes & features.


IMPORTANT INFORMATIONS

We will not support users and answer questions from users which:
  • are running a custom kernel
  • have flashed mods
  • modified system files
  • didn't follow our instructions word by word
  • are unfriendly

WIKI

Official CyanogenMod Wiki: http://wiki.cyanogenmod.org/w/Endeavoru_Info

INSTRUCTIONS

First time installing CyanogenMod 11.0 to your HTC One X (GSM), or coming from another ROM:
  • Read the official wiki
  • Read known issues ans FAQs
  • DO A BACKUP
  • Unlock your device via http://www.htcdev.com if you haven't done so already
  • Flash the preferred (touch / non-touch) HTC One X (GSM) recovery image from http://www.clockworkmod.com/rommanager via Fastboot
  • DO A DATA WIPE / FACTORY RESET
  • Copy GApps and the CM 11.0 zip to your SD card
  • Boot into Recovery
  • Flash the CM 11.0 zip from SD card
  • Flash GApps for KitKat from SD card
  • Flash the boot.img included in the CM 11.0 zip via Fastboot
  • Reboot
  • Don't restore system data using Titanium Backup!
  • Restoring Apps + Data might cause problems and is not recommended, avoid it if possible!

Upgrading from earlier version of CyanogenMod 11.0:
  • Copy the CM 11.0 zip to your SD card
  • Boot into Recovery
  • DO A BACKUP
  • Flash the CM 11.0 zip from SD card
  • Optionally flash the most recent GApps if you encounter problems
  • Flash the boot.img included in the CM 11.0 zip via Fastboot if necessary. If in doubt, flash it.
  • Reboot

Upgrading from CyanogenMod 10.2:
  • Read known issues ans FAQs
  • DO A BACKUP
  • Flash the preferred (touch / non-touch) HTC One X (GSM) recovery image from http://www.clockworkmod.com/rommanager via Fastboot
  • Copy GApps and CM 11.0 ZIP to your SDCard
  • Boot into Recovery
  • Flash the CM 11.0 zip from SD card
  • Flash the GApps zip from SD card
  • Flash the boot.img included in the CM 11.0 zip via Fastboot
  • Reboot
  • Patience, it can take a while for the device to settle. The boot animation should disappear after 2-3 minutes.

DOWNLOADS

ClockworkMod-Recovery: http://www.clockworkmod.com/rommanager (search for "HTC One X (GSM)")
CM11.0 official stable builds: http://download.cyanogenmod.org/?device=endeavoru&type=snapshot (read http://www.cyanogenmod.org/blog/cm-11-m4-post-release-items)
CM11.0 official nightly builds: http://download.cyanogenmod.org/?device=endeavoru&type=nightly
Google Apps: http://wiki.cyanogenmod.org/w/Google_Apps

CHANGELOG

BBQDroid: http://changelog.bbqdroid.org/#endeavoru/cm11.0/next
CMXLog: http://www.cmxlog.com/11/endeavoru

KNOWN ISSUES

  • Audio may be problematic with MHL.
  • Sense 5 camera features not available (no burst, no zero-shutter-lag, picture quality seems to be worse).
  • Proximity sensor issues (screen stays black after call, hardware issue, it may not affect you).
  • No P2P/Wi-fi Direct.
  • Screen corruption after unlocking when the device was rotated.
    • Just let it rotate again or close and re-open the app.
  • Crashes and freezes when using a docking station.
    • I can't test this. More reports and logcats are welcome.

FAQ
  • Can I dirty flash coming from CM 10.2?
    • Yes, generally it should work. Don't forget to flash CM 11.0 gapps and boot.img
  • Where is the Superuser App?
    • The Superuser App is now part of CM. You can find it in the Setting under the System category. Make sure you enable root access for Apps in the Superuser settings. In case you can't find it enable the "Developer options" by tapping "Build number 7" in "About phone" 7 times and enable root access there.
  • Where are the Sweep2Wake, Button Backlight Notifications, NVIDIA Smart Dimmer and Fast Charge Settings?
    • Gone or moved to other menus. But the functionality is still in the framework. See second post for details.
  • Where is the "Developer options" menu?
    • Hidden by default. Go to "About phone" and press "Build number" seven times to show it.
  • When do the nightlies start? When do upload the next version? When do you fix XYZ?
    • I don't know.
  • Does ART (the new Android runtime) work
    • Generally yes, but some apps (even from Google) have problems. Also the cache files use more space than with Dalvik. So if you have many apps installed you will run out of space.
  • But I enabled it anyway and now my phone doesn't start anymore :(.
    • The setting is persisted on the /data parition. So execute "echo -n libdvm.so > /data/property/persist.sys.dalvik.vm.lib" in the recovery (don't forget to mount /data). You can also execute is as root while the phone is trying to boot.

 
Last edited:

Thömy

Senior Member
Aug 24, 2010
666
2,388
Stuttgart
Here are instructions to enable or disable some features that were previously in the advanced settings menu.

Button Backlight Notifications (enabled by default)

Button backlight notifications are enabled/disabled by settings write permissions on a special file. To disable them remove the write permission for the sysfs file with
Code:
chmod 444 /sys/class/leds/button-backlight/slow_blink
Only execute it while the lights are not currently blinking.

The newest kernel also contains the ability to limit to the notification brightness. Do
Code:
echo 1 > /sys/class/leds/button-backlight/slow_blink_brightness_limit
to limit the brightness to your normal button backlight brightness (which you can adjust in the settings).

Fast Charge (disabled by default)

Fast charging is disabled by default and can be enabled with
Code:
echo 1 > /sys/devices/platform/htc_battery/fast_charge

Sweep2Wake (disabled by default)

Code:
# Enable s2w
echo 1 > /sys/android_touch/sweep2wake
# Adjust the needed swipe length. 325 for one button (default), 500 for two buttons and 850 for three buttons
echo 500 > /sys/android_touch/s2w_min_distance
# Disable direction independent behaviour
echo 0 > /sys/android_touch/s2w_allow_stroke

DoubleTap2Wake (disabled by default)

Like the name suggests. You can wake your device by double tapping anywhere on your hardware keys.
Code:
# Enable dt2w
echo 1 > /sys/android_touch/s2w_allow_double_tap
There are some tunables to adjust the minimum time span between taps (s2w_double_tap_duration) and maximum timespan (value of s2w_double_tap_duration + value of s2w_double_tap_threshold).

Nvidia SmartDimmer (disabled by default)

Now called "Adaptive backlight". Setting was moved to the "Display & LED" menu.


All settings where you manually have to execute a command are not persisted between reboots. You can use a third party app that supports toggling the settings or you can put the commands into /data/local/userinit.sh to apply them at boot.
 
Last edited:

Jdgp42

Senior Member
Feb 10, 2010
563
239
AWWWEESOMEEE! ;) I saw the delete post on the other forum it imagine was something like this.
 

paulh1978

Senior Member
Nov 13, 2011
479
186
st helens
Thomy thanks for the cm11 build. One question will this work on philz recovery or would you advise using the recovery on op.
 

audahadi

Senior Member
Oct 14, 2012
1,699
3,352
Dimana-mana
Thomy thanks for the cm11 build. One question will this work on philz recovery or would you advise using the recovery on op.

Better use recovery from op. Kit kat come with new permision.
Better...try flash with philz first and report if it working or not so other will know that too.

Sent from my EndeavorU using Tapatalk
 
Last edited:
  • Like
Reactions: paulh1978

Ambious

Senior Member
May 11, 2008
1,828
478
Haifa
Gives me an Error:
Code:
set_metadata_recursive: some changes failed
E:Error executing updater binary in zip '/sdcard/Zips/CM11/cm-11-201312224-UNOFFICIAL-endevouru.zip'
Error flashing zip '/sdcard/Zips/CM11/cm-11-201312224-UNOFFICIAL-endevouru.zip'
I was using TWRP, solved when I used recovery from op.
FYI.
 
Last edited:
  • Like
Reactions: cappuccina

audahadi

Senior Member
Oct 14, 2012
1,699
3,352
Dimana-mana
Gives me an Error:
Code:
set_metadata_recursive: some changes failed
E:Error executing updater binary in zip '/sdcard/Zips/CM11/cm-11-201312224-UNOFFICIAL-endevouru.zip'
Error flashing zip '/sdcard/Zips/CM11/cm-11-201312224-UNOFFICIAL-endevouru.zip'

Recovery issue. Use recovery from op

Sent from my EndeavorU using Tapatalk
 

Top Liked Posts

  • There are no posts matching your filters.
  • 202
    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:
    Code:
    #include 
    /*
     * 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.
     */
    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 Gerrit Code Review. You can also view the Changelog for a full list of changes & features.


    IMPORTANT INFORMATIONS

    We will not support users and answer questions from users which:
    • are running a custom kernel
    • have flashed mods
    • modified system files
    • didn't follow our instructions word by word
    • are unfriendly

    WIKI

    Official CyanogenMod Wiki: http://wiki.cyanogenmod.org/w/Endeavoru_Info

    INSTRUCTIONS

    First time installing CyanogenMod 11.0 to your HTC One X (GSM), or coming from another ROM:
    • Read the official wiki
    • Read known issues ans FAQs
    • DO A BACKUP
    • Unlock your device via http://www.htcdev.com if you haven't done so already
    • Flash the preferred (touch / non-touch) HTC One X (GSM) recovery image from http://www.clockworkmod.com/rommanager via Fastboot
    • DO A DATA WIPE / FACTORY RESET
    • Copy GApps and the CM 11.0 zip to your SD card
    • Boot into Recovery
    • Flash the CM 11.0 zip from SD card
    • Flash GApps for KitKat from SD card
    • Flash the boot.img included in the CM 11.0 zip via Fastboot
    • Reboot
    • Don't restore system data using Titanium Backup!
    • Restoring Apps + Data might cause problems and is not recommended, avoid it if possible!

    Upgrading from earlier version of CyanogenMod 11.0:
    • Copy the CM 11.0 zip to your SD card
    • Boot into Recovery
    • DO A BACKUP
    • Flash the CM 11.0 zip from SD card
    • Optionally flash the most recent GApps if you encounter problems
    • Flash the boot.img included in the CM 11.0 zip via Fastboot if necessary. If in doubt, flash it.
    • Reboot

    Upgrading from CyanogenMod 10.2:
    • Read known issues ans FAQs
    • DO A BACKUP
    • Flash the preferred (touch / non-touch) HTC One X (GSM) recovery image from http://www.clockworkmod.com/rommanager via Fastboot
    • Copy GApps and CM 11.0 ZIP to your SDCard
    • Boot into Recovery
    • Flash the CM 11.0 zip from SD card
    • Flash the GApps zip from SD card
    • Flash the boot.img included in the CM 11.0 zip via Fastboot
    • Reboot
    • Patience, it can take a while for the device to settle. The boot animation should disappear after 2-3 minutes.

    DOWNLOADS

    ClockworkMod-Recovery: http://www.clockworkmod.com/rommanager (search for "HTC One X (GSM)")
    CM11.0 official stable builds: http://download.cyanogenmod.org/?device=endeavoru&type=snapshot (read http://www.cyanogenmod.org/blog/cm-11-m4-post-release-items)
    CM11.0 official nightly builds: http://download.cyanogenmod.org/?device=endeavoru&type=nightly
    Google Apps: http://wiki.cyanogenmod.org/w/Google_Apps

    CHANGELOG

    BBQDroid: http://changelog.bbqdroid.org/#endeavoru/cm11.0/next
    CMXLog: http://www.cmxlog.com/11/endeavoru

    KNOWN ISSUES

    • Audio may be problematic with MHL.
    • Sense 5 camera features not available (no burst, no zero-shutter-lag, picture quality seems to be worse).
    • Proximity sensor issues (screen stays black after call, hardware issue, it may not affect you).
    • No P2P/Wi-fi Direct.
    • Screen corruption after unlocking when the device was rotated.
      • Just let it rotate again or close and re-open the app.
    • Crashes and freezes when using a docking station.
      • I can't test this. More reports and logcats are welcome.

    FAQ
    • Can I dirty flash coming from CM 10.2?
      • Yes, generally it should work. Don't forget to flash CM 11.0 gapps and boot.img
    • Where is the Superuser App?
      • The Superuser App is now part of CM. You can find it in the Setting under the System category. Make sure you enable root access for Apps in the Superuser settings. In case you can't find it enable the "Developer options" by tapping "Build number 7" in "About phone" 7 times and enable root access there.
    • Where are the Sweep2Wake, Button Backlight Notifications, NVIDIA Smart Dimmer and Fast Charge Settings?
      • Gone or moved to other menus. But the functionality is still in the framework. See second post for details.
    • Where is the "Developer options" menu?
      • Hidden by default. Go to "About phone" and press "Build number" seven times to show it.
    • When do the nightlies start? When do upload the next version? When do you fix XYZ?
      • I don't know.
    • Does ART (the new Android runtime) work
      • Generally yes, but some apps (even from Google) have problems. Also the cache files use more space than with Dalvik. So if you have many apps installed you will run out of space.
    • But I enabled it anyway and now my phone doesn't start anymore :(.
      • The setting is persisted on the /data parition. So execute "echo -n libdvm.so > /data/property/persist.sys.dalvik.vm.lib" in the recovery (don't forget to mount /data). You can also execute is as root while the phone is trying to boot.

    47
    To answer some questions

    8kulUAk.png


    No, there is no beta and no alpha. I will make a new thread once I'm comfortable with sharing the result. Don't expect it soon. Don't ask.
    42
    Merry Christmas! If you don't celebrate Christmas then have a nice week!
    40
    Here are instructions to enable or disable some features that were previously in the advanced settings menu.

    Button Backlight Notifications (enabled by default)

    Button backlight notifications are enabled/disabled by settings write permissions on a special file. To disable them remove the write permission for the sysfs file with
    Code:
    chmod 444 /sys/class/leds/button-backlight/slow_blink
    Only execute it while the lights are not currently blinking.

    The newest kernel also contains the ability to limit to the notification brightness. Do
    Code:
    echo 1 > /sys/class/leds/button-backlight/slow_blink_brightness_limit
    to limit the brightness to your normal button backlight brightness (which you can adjust in the settings).

    Fast Charge (disabled by default)

    Fast charging is disabled by default and can be enabled with
    Code:
    echo 1 > /sys/devices/platform/htc_battery/fast_charge

    Sweep2Wake (disabled by default)

    Code:
    # Enable s2w
    echo 1 > /sys/android_touch/sweep2wake
    # Adjust the needed swipe length. 325 for one button (default), 500 for two buttons and 850 for three buttons
    echo 500 > /sys/android_touch/s2w_min_distance
    # Disable direction independent behaviour
    echo 0 > /sys/android_touch/s2w_allow_stroke

    DoubleTap2Wake (disabled by default)

    Like the name suggests. You can wake your device by double tapping anywhere on your hardware keys.
    Code:
    # Enable dt2w
    echo 1 > /sys/android_touch/s2w_allow_double_tap
    There are some tunables to adjust the minimum time span between taps (s2w_double_tap_duration) and maximum timespan (value of s2w_double_tap_duration + value of s2w_double_tap_threshold).

    Nvidia SmartDimmer (disabled by default)

    Now called "Adaptive backlight". Setting was moved to the "Display & LED" menu.


    All settings where you manually have to execute a command are not persisted between reboots. You can use a third party app that supports toggling the settings or you can put the commands into /data/local/userinit.sh to apply them at boot.
    35
    @Thömy If we can somehow help you just tell us. btw how are things? I see that Snapdragon devices have more problems wit 5.0 than we, of course its bad that ours major bugs too.. But :fingers-crossed: hoping for the best!

    We could help test there. There are some good testers i think :)
    There's progress on the radio front. Patches submitted to the CyanogenMod Gerrit (not by me) enable outgoing calls and mobile internet. There are still some problems. If the remote side hangs up your phone doesn't notice that and keeps the call. Also sometimes the IP routes are empty (no connectivity) even though you are connected to a network. Disabling and re-enabling mobile data fixes this for now. Sometimes it wont work at all. Lots of restarts needed to fix problems.

    I'll wait a few days and see if the patches get updated to fix some of the remaining issues or if there are new patches.

    Sensors work normally again. Was my bad. Deleted a file I shouldn't have :).