FORUMS
Remove All Ads from XDA

[ROM][unofficial] HTC One X CyanogenMod 12.0 (updated 2015-02-28)

666 posts
Thanks Meter: 2,398
 
By Thömy, Senior Member on 17th December 2014, 10:22 PM
Post Reply Email Thread
CyanogenMod is a free, community built, aftermarket firmware distribution of Android 5.0 (Lollipop), which is designed to increase performance and reliability over stock Android for your device.
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. 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 12.0 to your HTC One X (GSM), or coming from another ROM:
  • Read the official wiki
  • Read known issues and FAQs
  • DO A BACKUP
  • Unlock your device via http://www.htcdev.com if you haven't done so already
  • Read post #3 and flash a recovery supporting the new storage layout
  • DO A DATA WIPE / FACTORY RESET
  • Copy GApps and the CM 12.0 zip to your SD card
  • Boot into Recovery
  • Flash the CM 12.0 zip from SD card
  • Flash GApps for Lollipop from SD card
  • Flash the boot.img included in the CM 12.0 zip via Fastboot
  • Reboot (be patient, "optimizing apps" takes a while)
  • 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 12.0:
  • If you're coming from a pre-/data/media build read post #3
  • Copy the CM 12.0 zip to your SD card
  • Boot into Recovery
  • DO A BACKUP
  • Flash the CM 12.0 zip from SD card
  • Optionally flash the most recent GApps for Lollipop if you encounter problems
  • Flash the boot.img included in the CM 12.0 zip via Fastboot if necessary. If in doubt, flash it.
  • Reboot (be patient, "optimizing apps" takes a while)

Upgrading from CyanogenMod 11.0: (untested and unsupported, see FAQ below)
  • Read the known issues and FAQs
  • DO A BACKUP
  • Read post #3 and flash a recovery supporting the new storage layout
  • Copy GApps and CM 12.0 ZIP to your SDCard
  • Boot into Recovery
  • Flash the CM 12.0 zip from SD card
  • Flash GApps for Lollipop from SD card
  • Flash the boot.img included in the CM 12.0 zip via Fastboot
  • Reboot (be patient, "optimizing apps" takes a while)

DOWNLOADS

Recovery: See post #3
CM12.0 unofficial testing builds:

Old layout:
New Layout (read post #3):
CM12.0 official stable builds: Not available
CM12.0 official nightly builds: Not available
Google Apps: https://s.basketbuild.com/filedl/gap...109-signed.zip

CHANGELOG

http://github.com/CyanogenMod & http://www.cmxlog.com/12/#

2015-02-28
  • Synced with CM
  • Fixed an issue with some SIM cards
  • Fixed USB OTG
  • Fixed broken Wi-Fi after a soft reboot
  • Device encryption should work (make a backup first!)
  • Fixed Rezound Proximity Calibrator

2015-02-14
Uses new storage layout. Read post #3. New boot.img and a complete wipe is required!
  • Synced with CM
  • Maybe working Google Play Movies

2015-02-03
Fixed boot.img is not required but recommended.
  • Synced with CM
  • UMS situation unchanged from 2015-01-11
  • Included a fix to allow moving Apps to SD
  • Allow toggling NVIDIA smartdimmer under Settings -> Display -> Advanced settings -> Adaptive backlight (with fixed boot.img)
  • Allow toggling sweep2wake under Settings -> Display -> Advanced settings -> Double-tap to wake (with fixed boot.img)
  • Allow changing the vibrator intensity under Settings -> Sound & notification -> Other sounds -> Vibrator intensity (with fixed boot.img)
2015-01-11
  • Synced with CM
  • Default to MTP for new installations (set it to MTP manually in the storage settings when coming from an older build)
  • Revert some custom UMS related fixes which restores the stupid pre 2015-01-02 auto-mount behavior. DON'T UPDATE IF YOU WANT TO USE UMS
  • Enable multi-user UI (and guest mode)
  • Fix setting maximum CPU frequency
  • Fix signal strength
2015-01-02
  • Synced with CM
  • Fixed SD card / UMS mounting issues
  • Fixed tethering
  • Button backlight is now adjustable
  • Long press action for "Recents button" now available (back is still missing)
  • USB connection mode can now be set to MTP
2014-12-17
  • First testing build

KNOWN ISSUES

Roughly in order of seriousness.
  • Outgoing calls & mobile data might be problematic
    • There is currently an issue with some SIM cards (MultiSim?) that don't work properly. You are able to receive calls and SMS messages but you cannot make calls or send SMS and mobile data does not work. The cause has been identified: http://review.cyanogenmod.org/#/c/88932/
  • No mobile data after disabling Wi-Fi
    • IP routes are not updated properly (check if "ip route")
    • Disable and enable mobile data to work around this
  • Recent App switcher is broken in landscape and may cause reboots.
    • Workaround: Select "Disable HW overlays" in the Developer options.
  • Using NFC with the Smart Lock feature causes a deadlock.
  • No device encryption possible.
  • No P2P/Wi-fi Direct.
  • Battery stats list Wi-Fi as always turned on even though it was disabled.
  • Audio may be problematic with MHL.
  • Sense 5 camera features not available (no burst, no zero-shutter-lag, picture quality seems to be worse).
  • Docking stations are not properly supported
    • Dock speakers do not work
    • Select "Disable HW overlays" in the Developer options to avoid crashes
    • Dock drains the battery
  • Proximity sensor issues (screen stays black after call, hardware issue, it may not affect you).
  • SD card might not be available or might be always shown as shared.
    • Workaround: unplug the phone from your PC.
  • Moving Apps to SD is broken
  • Tethering seems the broken
  • No MTP
  • Mobile signal display is incorrect.
  • Unable to change the maximum CPU frequency through the settings.

FAQ
  • Can I dirty flash coming from CM 11.0?
    1. It should work.
  • Do I need to update the recovery?
    1. Please read post #3.
  • Where are the Sweep2Wake, Button Backlight Notifications and Fast Charge Settings?
    1. Not accessible anymore from the settings. The functionality is still in the kernel. See second post for details.
  • When do the nightlies start? When do upload the next version? When do you fix XYZ?
    1. I don't know.
  • Device not recognized in Windows (Recovery, UMS, MTP)
    1. Please follow the steps outlined under "Option 1" or "Option 2": http://mdmower.cmphys.com/htc-drivers-adb-recovery/
  • Xposed?
    1. No.

XDA:DevDB Information
CyanogenMod 12.0, ROM for the HTC One X

Contributors
Thömy
Source Code: https://github.com/CyanogenMod/

ROM OS Version: 5.0.x Lollipop
ROM Kernel: Linux 3.1.x
Based On: AOSP

Version Information
Status: Testing

Created 2014-12-17
Last Updated 2015-02-28
Attached Thumbnails
Click image for larger version

Name:	plusblue.png
Views:	29580
Size:	233.9 KB
ID:	3069426   Click image for larger version

Name:	cm1.jpg
Views:	31376
Size:	60.3 KB
ID:	3069427   Click image for larger version

Name:	cm2.png
Views:	30564
Size:	32.8 KB
ID:	3069428   Click image for larger version

Name:	cm3.png
Views:	31162
Size:	174.9 KB
ID:	3069429   Click image for larger version

Name:	cm4.png
Views:	30082
Size:	88.0 KB
ID:	3069432   Click image for larger version

Name:	cm5.jpg
Views:	30204
Size:	57.7 KB
ID:	3069433   Click image for larger version

Name:	cm6.png
Views:	30136
Size:	84.3 KB
ID:	3069434   Click image for larger version

Name:	cm7.png
Views:	28678
Size:	114.8 KB
ID:	3069435  
The Following 120 Users Say Thank You to Thömy For This Useful Post: [ View ] Gift Thömy Ad-Free
 
 
17th December 2014, 10:22 PM |#2  
OP Senior Member
Flag Stuttgart
Thanks Meter: 2,398
 
Donate to Me
More
Here are instructions to enable or disable some features that were previously in the advanced settings menu. Currently untested with Lollipop!

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
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.
The Following 38 Users Say Thank You to Thömy For This Useful Post: [ View ] Gift Thömy Ad-Free
17th December 2014, 10:22 PM |#3  
OP Senior Member
Flag Stuttgart
Thanks Meter: 2,398
 
Donate to Me
More
The New Storage Layout

To combat the space problems on Lollipop due to ART builds will be switched to the /data/media storage layout that is commonly used with newer Android devices.
The new partition layout will change our internal SD card be the /data partition. The internal SD card will also be located in this partition under /data/media. This means the 25GB can now be distributed freely between Apps, Data, Music, Picutres, Dalvik cache, ... that were previously on separate partitions. Moving apps to SD is unnecessary now.

The transition to the new layout requires a complete wipe including the SD card contents.

Advantages
  • Free disk space problems are largely gone because the sdcard and /data share the same place
  • Properly supporting UMS and supporting moving Apps to SD is getting harder and harder. This change will make both unnecessary

Disadvantages
  • 2GB (size of the old /data partition) are “lost”
  • Breaks compatibility with all existing ROMs, recoveries and boot.imgs
  • Hopping between Sense and CM based ROMs will be nearly impossible
  • No more UMS, only MTP

Downloads
Recoveries using the old storage layout.
Recoveries using the new storage layout
TWRP 2.8.4.3 (by @teemo, @Thunder07)

Migration

Basic steps for switching to the new storage layout.
  1. Flash a recovery using the new layout
  2. Reboot to new recovery
  3. Format /data (Wipe -> Format Data in TWRP)
  4. Flash ROM (don't forget the boot.img)

SD Card Data Migration

This guide uses TWRP 2.8.4.x to convert your phone without losing data.
  1. Boot into the TWRP recovery supporting the old layout
  2. Make a backup (only /data needed)
  3. Copy everything (including hidden folders) from the SD card to your pc
    • You can use UMS or MTP
    • This will include the backup
  4. Reboot to fastboot and flash the new TWRP recovery using the new layout
  5. Flash the boot.img from the ROM you are using
  6. Reboot to new recovery
  7. Format /data (Wipe -> Format Data)
  8. Go back to Mount and enable MTP if it is disabled
  9. Reboot the recovery
  10. Restore your SD card backup to the Internal SD card
    • Use the “Internal Storage” device
    • Execute “adb shell chown -R media_rw:media_rw /data/media/0/” to fix the permissions
  11. Restore your /data backup from the SD card
    • If you don’t see any backups then you might have to move /data/media/0/TWRP to /data/media/TWRP manually
  12. Flash the new ROM
    • adb push and flash it or use adb sideload, it’s your choice

More Information

You'll find more information in the New Storage Layout for HOX Endeavoru thread by @teemo and in the New Storage Layout document by myself
The Following 37 Users Say Thank You to Thömy For This Useful Post: [ View ] Gift Thömy Ad-Free
17th December 2014, 10:31 PM |#4  
raminjpr's Avatar
Senior Member
Thanks Meter: 184
 
Donate to Me
More
wow....it's christmas gift from Thomy...:)
Thanks a lot for your great work..will test it soon.. I'm the first to see this post..:P :P

I hope i'm the first to test this Unofficial Build..

Update 1 (On 18/12/14 - 2:54 (GMT +1)):

-- Flashed the rom successfully -- No black screens, no random reboots -- Wait for atleast 5-10 minutes on the first boot, it does take a long time on the first boot, but it boots successfully, don't just rush and reboot repeatedly

----------------------------------------------------

First time I'm testing Lollipop build:


1.) yeah, the interface is really amazing, pretty smooth UI compared to Kitkat
2.) every little animation is blend to perfection
3.) You'll love the Lollipop from the initial look at Unlock screen..

What's working so far (tested till now):

Wifi, Bluetooth, GPS -- Working fine..
Apps -- almost every app worked perfectly,

Broken:

App2SD is not working-- yeah, known as many reported about it earlier.. when updating the app, it says out of storage, so the best way is to uninstall and then reinstall the app...temp solution..

As of now, it's a perfectly stable build...will update later in detail..

Haven't checked so far: Normal Phone call...I hope it's perfect too.. also i didn't check the mobile data...
The Following 4 Users Say Thank You to raminjpr For This Useful Post: [ View ] Gift raminjpr Ad-Free
17th December 2014, 10:49 PM |#5  
paulh1978's Avatar
Senior Member
Flag st helens
Thanks Meter: 186
 
Donate to Me
More
Ohh can't wait
17th December 2014, 11:25 PM |#6  
Member
Flag Szczecin
Thanks Meter: 25
 
More
Any screenshots?
17th December 2014, 11:51 PM |#7  
OP Senior Member
Flag Stuttgart
Thanks Meter: 2,398
 
Donate to Me
More
Quote:
Originally Posted by kicikk

Any screenshots?

Added.
The Following 2 Users Say Thank You to Thömy For This Useful Post: [ View ] Gift Thömy Ad-Free
18th December 2014, 12:05 AM |#8  
Namautoenx's Avatar
Senior Member
Thanks Meter: 50
 
More
Wake up and see THOMY'post,it is very very wonderful day.thanks lot Thomy.

Sent from my One X using XDA Free mobile app
18th December 2014, 12:28 AM |#9  
Member
Thanks Meter: 7
 
More
Thanks, will report back after a day or so of use.
18th December 2014, 01:12 AM |#10  
PaKii94's Avatar
Senior Member
Thanks Meter: 53
 
More
Quote:
Originally Posted by Thömy

Added.

hey thomy thanks a lot for this man! You are literally rebreathing life into this phone LOL. I upgraded to an S4 in anticipation of lollipop but then it broke so im happy that there is progress for this phone!

im very tempted to install this experimental build but its been a while since ive done any flashing... i dont wanna ef anything up. Maybe ill wait for a more stable copy.... but knowing me i probably will end up flashing it.
18th December 2014, 01:13 AM |#11  
lalit387's Avatar
Senior Member
Flag Delhi
Thanks Meter: 760
 
More
Finally LP has arrived on HOX thanks @Thömy you are the Xman of HOX.

Downloading......
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