yashsingh1/xdaforums huggingface dataset:
[AT&T, Rogers HTC One X, Telstra One XL] thelonewolf_pav:
rc420head, thank you so much for making this ROM available to us. It's great and I love it very much.

Now, to everybody who, like myself, experience slowdowns and stutters with this ROM. Guys, enable swap. I was sure that it would slow the things down even more, but no. It makes a hell of a difference. And by swap, I mean swap, not ZRAM and the likes. Just plain swap, with a large swap partition and high swappiness (I set mine to 60 and will soon try 100). This ROM is built for 2GB RAM machines, not a 1 gigabyter like ours.

For your reference, I have GAPPS installed, everything turned on, including google now and location reporting, and I have a very decent 6ma drain at sleep and ~90% of deep sleep when the screen is off. To achieve that, I had to apply privacy to everything that starts with the word "google" and disable wakeup and keep awake for everything but play store. Besides, I used Service Disabler and disabled google analytics. Furthermore, I set location precision to "battery saver" (meaning, disable GPS), made my GPRS prefer GSM and not use LTE at all (I still get very decent speeds with HSPA+ here in Israel) and disable WIFI scanning while sleeping.

Hope this helps someone.
[AT&T, Rogers HTC One X, Telstra One XL] nicolahaye:
How do you turn swap on ? :)
[AT&T, Rogers HTC One X, Telstra One XL] thelonewolf_pav:
I'm still looking for the best way to do this. For now I just did it from the terminal via ADB:

dd if=/dev/zero of=/data/swap bs=1048576 count=128

mkswap /data/swap

swapon /data/swap

but this will not stick after you reboot. After I figure out the best settings, I'll make a script to put in your /system/etc/init.d that will do the job for you on every boot.
[AT&T, Rogers HTC One X, Telstra One XL] kateyblue:
Patiently Waiting for the script,

nice work!!!
[AT&T, Rogers HTC One X, Telstra One XL] thelonewolf_pav:
ok, so to save myself the hard work, I went here and shamelessly stole the scripts. so no credits for me, please thank delta-roh in his thread. I only slightly modified the scripts for my needs and repacked them into a simple flashable zip.

just flash it from recovery, like you would flash a ROM and you're good to go.
[AT&T, Rogers HTC One X, Telstra One XL] Aviator10:
Help

Sorry, new here, my first post....

okay i have an htc one x at&t. bootloader unlocked and on twrp 2.8.40 hboot 2.14

i had the stock 4.1.1 on which i flashed this, everything went fine the rom, gapps, and supersu.

then i hit reboot, my phone displayed the htc quietly brilliant crap and the screen went blank, as a noob i thought yeah this may the first boot and i waited 30 mins for it to turn on but it won't.

when i hold the power button the softkeys flash for sometime and then they just turn off.

i can get into my recovery and bootloader just fine, but not into the rom itself. I don't undestand what to do..... Help?
[AT&T, Rogers HTC One X, Telstra One XL] rc420head:
You need s-off or you have to fastboot the boot.img

CandyRoms Maintainer
[AT&T, Rogers HTC One X, Telstra One XL] Aviator10:
another noob question.... i should have a boot.img compatible with my firmware right? i'm on 3.18 with hboot 2.14.....

if its not too much trouble can i have a link?

---------- Post added at 04:16 PM ---------- Previous post was at 03:35 PM ----------

update..... i tried to fastboot the boot.img i found here-

http://xdaforums.com/showthread.php?t=2383174

still no luck its the same problem again.
[AT&T, Rogers HTC One X, Telstra One XL] rc420head:
No fastboot the boot.img in the candy5 zip.

CandyRoms Maintainer
[AT&T, Rogers HTC One X, Telstra One XL] Aviator10:
okay super noob question...

how do i fastboot the boot.img in the candy5.zip? i'm sorry i really suck at this
[AT&T, Rogers HTC One X, Telstra One XL] rc420head:
Use archive manger or just extract the zip and you'll see it

CandyRoms Maintainer
[AT&T, Rogers HTC One X, Telstra One XL] DanGeorges:
Extract the boot.img file from the candy5.zip file. Then fastboot the extracted boot.img file.
[AT&T, Rogers HTC One X, Telstra One XL] Dnorris55:
Extract the boot.img from the candy5.zip, then

http://xdaforums.com/showthread.php?t=1752270
[AT&T, Rogers HTC One X, Telstra One XL] Aviator10:
Thank you people!

It worked! thank you...

great ROM but double tap to wake doesn't work... if anyone find a work around 'd be grateful...:D
[AT&T, Rogers HTC One X, Telstra One XL] Aviator10:
and one more thing.. maybe two

1. google now dosen't seem to work i've updated evrything including play services still nothing.

2. When i try to access multi user its just shows my contact info....
[AT&T, Rogers HTC One X, Telstra One XL] harpin14789:
Aviator10, flash torched kernel for lp to get sweep to wake and double tap to wake.
[AT&T, Rogers HTC One X, Telstra One XL] droydr:
Do you think there's any chance that running the swap script will help with battery life?
[AT&T, Rogers HTC One X, Telstra One XL] harpin14789:
Is flashing the zip a one time thing or do we have to do it everything we reboot or connect to the computer?

---------- Post added at 06:14 PM ---------- Previous post was at 06:10 PM ----------

Is flashing the zip a one time thing or do we have to do it everything we reboot or connect to the computer?
[AT&T, Rogers HTC One X, Telstra One XL] nicolahaye:
One time thing except if you factory reset to flash a new ROM for example .
[AT&T, Rogers HTC One X, Telstra One XL] thelonewolf_pav:
well, yes, if you ask me. you see, without swap, my phone very quickly reaches a condition where is slows down terribly and overheats. the reason, as i understand it, is that lollipop is optimized for ~2GB RAM, while our phone has only 1GB. this causes the memory to get filled really quickly, and then the OOM module starts killing tasks that are necessary for the ROM to function properly. these tasks are immediately restarted because they are needed -- and killed again by the OOM. this back-and-forth continues almost endlessly, or at least until tasks that are less needed get killed and don't resurrect, and the phone settles down... until you click something again.

anyway, with swap enabled, none of this happens. everything is quite snappy, and once you find your ideal OOM values vs OOM adj vs swappiness, unused tasks just get swapped instead of getting killed, so none of the above mentioned mess is evident. with swap enabled, my phone is running pretty cool and totally snappy, almost no stutter. and that should be very good for battery life, at least theoretically.

the problem is now that the script that i gave you is almost useless because it fails to run on boot. the reason is SELinux that causes init.d scripts to run as user and not as root. i'm working on it, and until i find a solution, i recommend you guys use some app from the market that will enable swap on boot for you, without using init.d
[AT&T, Rogers HTC One X, Telstra One XL] droydr:
Thanks for the update. If you find a solution in the script for swap on boot, can this script be flashed/used along with stock CM12? Or just with Candy 5?
[AT&T, Rogers HTC One X, Telstra One XL] thelonewolf_pav:
this will be a general solution that will work with any ROM
[AT&T, Rogers HTC One X, Telstra One XL] rc420head:
1.0.1 is out, mostly just kept up with cm commits and added omniswitch

CandyRoms Maintainer
[AT&T, Rogers HTC One X, Telstra One XL] thelonewolf_pav:
ok, here we go.

1. install SuperSU from here .

2. open it and let it install its su module. this part might be tricky; for me, doing this via recovery didn't work and regular install didn't work either. i ended up having to open ADB terminal and setting SELinux to permissive manually, like so:

su

setenforce 0

and only after that did it succeed to push its su module to system/xbin.

3. go to SuperSU's settings and make sure you have checked the following:

a. Enable Superuser

b. Enable su during boot

c. Trust system user (this is not mandatory; however, if you don't check this, you will be flooded with requests to grant su to system apps)

4. after you have everything set up, reboot to recovery and install the attached zip like you would install a ROM.

5. reboot and enjoy your new silky smooth HOX :)
[AT&T, Rogers HTC One X, Telstra One XL] harpin14789:
Do I need to reinstall super su again. Or can I just enable settings in the current super su I have. And how would I change my ideal OOM values vs OOM adj vs swappiness values.
[AT&T, Rogers HTC One X, Telstra One XL] thelonewolf_pav:
of course you don't need to reinstall as long as you're on the latest version. if you're using one of the earlier versions, you might need to upgrade.

well, this is a matter of preference. the script that i uploaded includes OOM and OOM adj values that work well for me. you might want to change these values or experiment with them after the device boots or remove the script altogether.

as to swappiness, i use 100, simple as that. works best for me.
[AT&T, Rogers HTC One X, Telstra One XL] apogen:
After installing swap.zip camera stop working..

---------- Post added at 01:08 PM ---------- Previous post was at 12:54 PM ----------

also mobile data....
[AT&T, Rogers HTC One X, Telstra One XL] killerkob:
I too have lost access to camera since flashing your swap scripts. Didn't have the issue while using defiant07's swap script though.

Another bug is that it isn't creating the 512MB swap.img file on the system partition. I noticed this by typing 'free' into a terminal and it only showed 512MB of swap. Using a root file browser I could see swap folders (and files) only exist on my data and cache partitions.

Query: If I change the creation size in the /etc/init.d/98swap of a working swap.img, will it change the corresponding swap size on next reboot or do I have to flash the zip file again?

Thanks for getting it working on boot btw!
[AT&T, Rogers HTC One X, Telstra One XL] thelonewolf_pav:
Sorry, but I seriously doubt it's related.

Because 1) the script doesn't do anything that has to do with data or camera; and 2) both work perfectly for me.

Nevertheless, here's the zip to uninstall. Please let me know if after uninstalling everything is back to normal...

Also, I'm attaching a new swap.zip with better OOM values and some optimizations
[AT&T, Rogers HTC One X, Telstra One XL] thelonewolf_pav:
interesting.

you probably don't have enough space on /system, that's why the file isn't created. please try to reduce the size in 98swap and reboot.

also, if you change the size for a file that has already been created, it will not have any effect. you will need to remove the old swap file first
[AT&T, Rogers HTC One X, Telstra One XL] apogen:
i also flash your new swap file but camera still not functioning.. Also i flash unswap.zip and still camera doesn't work.. i am sure that before flashing swap file camera was functioning with no problem... i also try wipe cache but nothing.. I will clean flash rom again.. :(
[AT&T, Rogers HTC One X, Telstra One XL] killerkob:
Turns out it wasn't a space issue but an access rights issue. Changing all the system partition commands to ones executed with su fixed it. Still no camera fix though.
[AT&T, Rogers HTC One X, Telstra One XL] thelonewolf_pav:
are you guys using the 1.0.1 release by chance?

because i'm on 1.0.

i was reluctant to upgrade to 1.0.1 because the changelog wasn't impressive enough :D

anyways, camera's working just fine for me :-/
[AT&T, Rogers HTC One X, Telstra One XL] rc420head:
Camera is broken on 1.0.1 for ville and since Evita is almost identical it may be broke here too, can someone not running the script verify?

CandyRoms Maintainer
[AT&T, Rogers HTC One X, Telstra One XL] n0ub:
Running 1.0.1 and swap. No issues here with the camera.
[AT&T, Rogers HTC One X, Telstra One XL] apogen:
ok i ll try to flash 1.0 version and not 1.0.1.. maybe there is the prob
[AT&T, Rogers HTC One X, Telstra One XL] Luxoboy:
Hello,

I installed v1.0.1 and I had a problem with the camera. It actually happened when I switched to frontal camera, the app froze and I was not able to get it working after. I also had issue with the flash light: when switched on from the notification bar, it wouldn't switch off after (the button often disappeared actually).

I downgraded to v1.0 and camera is working well now.

PS. I did not use any script to activate swap.
[AT&T, Rogers HTC One X, Telstra One XL] apogen:
I flashed v1.0 and camera now works even after flashing swap.zip
[AT&T, Rogers HTC One X, Telstra One XL] rc420head:
We are doing a major clean up/redo of code to bring our users the best possible experience, we hope to have new builds in no more than 2 weeks.

CandyRoms Maintainer
[AT&T, Rogers HTC One X, Telstra One XL] izak1982:
Hi everyone

first off all, thank you for releasing your rom, ist always the best

but i have some problems with the last release, if you could solve for the next release, would be excelent

After i installed this rom i have the following problems:

reboots when various apps are open

in camera freezes sometimes

apps closed for no reason (not even an error displayed)

cant answer calls when i am in a video or youtube, some apps too but mostly on the first two (i have to hit power button and answer the call from lockscreen)

thanks for your attention

sorry for my english (is not good enough)
[AT&T, Rogers HTC One X, Telstra One XL] harpin14789:
I can say the same. I, just in case clean installed version 1.0.1, and installed swap and everything is working awesomely
[AT&T, Rogers HTC One X, Telstra One XL] thelonewolf_pav:
looks exactly like what i used to have. try enabling swap. you can find the script that does it here.
[AT&T, Rogers HTC One X, Telstra One XL] izak1982:
Thanks i´ll try this and report back if it works
[AT&T, Rogers HTC One X, Telstra One XL] Rick Lazo:
Thank you. I hope we can keep updating with new improvements! :D

---------- Post added at 09:27 PM ---------- Previous post was at 09:16 PM ----------

sorry. Wrong window :p
[AT&T, Rogers HTC One X, Telstra One XL] Luxoboy:
Hi,

I just gave the feature "protected apps" a try.

I expected it would then require me to swipe the pattern to access the app (it is the described behavior in what I found).

Instead, nothing changed. The only thing that changed is that the app cannot be deleted.

Am I getting anything wrong? Or was the feature not fully implemented in CM12?

Thanks.
[AT&T, Rogers HTC One X, Telstra One XL] harpin14789:
I take back my statement. I am on 1.0.1 and my camera is now broken. I tried other camera apps and none of them worked. With the swap enabled, I got a decent increase in performance, better but not perfect. I can't re-amped and reworked rom, I hope it that it will improve performance and fix the camera. The camera was working when in clean installed 1.0.1, and was working well for a while, and then it randomly stopped working, rebooting does not fix it. I have my selinux set to permissive instead of enforcing, because I have xposed framework and viper4android installed, and I don't think that those are the cause of my problem.

But Nice Work on the rom. :D, can't wait for the next update.
[AT&T, Rogers HTC One X, Telstra One XL] sathish804:
On latest version camera not working. I please suggest a workaround
[AT&T, Rogers HTC One X, Telstra One XL] rc420head:
No work around, wait for next release soon, or 1.0.0 works

CandyRoms Maintainer
[AT&T, Rogers HTC One X, Telstra One XL] Cyan-o-man:
When is the next update may i ask? Been waiting for 2 weeks haha
[AT&T, Rogers HTC One X, Telstra One XL] harpin14789:
To downgrade to 1.0 do I just flash zip, and dash gapps, and reboot into rom, right?
[AT&T, Rogers HTC One X, Telstra One XL] rc420head:
Were still working on navi bar and heads up but of we cant get them in by tomorrow we will release what we have, just a FYI navigation bar might be a while

CandyRoms Maintainer
[AT&T, Rogers HTC One X, Telstra One XL] harpin14789:
Is it true that u are changing the stock kernel to frosted kernel?
[AT&T, Rogers HTC One X, Telstra One XL] Cyan-o-man:
Well I'll keep an eye out tomorrow to see what's new
[AT&T, Rogers HTC One X, Telstra One XL] rc420head:
[MENTION=4678269]Flashalot[/MENTION] will take it from here.

CandyRoms Maintainer
[AT&T, Rogers HTC One X, Telstra One XL] Cyan-o-man:
Any eta on the next release??
[AT&T, Rogers HTC One X, Telstra One XL] Flashalot:
Today Maybe... If nothing is wrong with it
[AT&T, Rogers HTC One X, Telstra One XL] Flashalot:
1.5.0 is up, not all features made it back in yet we will be working on it.
[AT&T, Rogers HTC One X, Telstra One XL] c5satellite2:
I will try it out in a little while. What FW do I need to be on?
[AT&T, Rogers HTC One X, Telstra One XL] azirgi:
The new version is so far so good,:good:
[AT&T, Rogers HTC One X, Telstra One XL] Jaheen:
Awesome rom

As'salamualaikum,

Bro the rom is perfect as stock but multitasking is not properly working. 1.5 is fixed with laggs? , whenever i swtich app, it re-opens the app. and sometimes laggy(thats fine).

I flashd froasted kernel, thats awesome on battery. Does this kernel support tap2wake feature, if then how to turn on?

Is there anyupdate ia waiting.

Thanks for the roms guys. It gave my Htc a new life :)
[AT&T, Rogers HTC One X, Telstra One XL] Flashalot:
you should be ok with the firmware you have in installed right now

I didn't have any lag while I flashed it and I don't know about FrostedKernel as I don't use custom kernels maybe try asking the dev in his thread
[AT&T, Rogers HTC One X, Telstra One XL] harpin14789:
I have used frosted kernal, and DT2W and Sweep2Wake DO NOT work, even through in Kernal turner or Trickster mod you will see the option. If you turn them on you will get a hard reset (aka a forced reboot), so don't turn them on. Also frosted was ported from another device to the evita, so that is why this is happening. Also, make sure flash the voltage tables that is in the first few posts in Frosted kernal thread, because the voltages are dangerously high out of the box. I would recommend going with Torched Kernal 1.3 until Frosted fixes these issues, Torched has support for DT2W and Sweep2Wake.
[AT&T, Rogers HTC One X, Telstra One XL] Jaheen:
As'salamualaikum,

Flashed Candy5 v1.5.0, multitasking is back to life. Im settled with the kernel came in the pack. Thanks for ur reply brothers. Is Torched kernel good in battery backup? Does the kernel loves the Rom? ?
[AT&T, Rogers HTC One X, Telstra One XL] harpin14789:
As far as I know Torched undervolts the device giving it better battery life.
[AT&T, Rogers HTC One X, Telstra One XL] Jaheen:
Alright, thanx bro. Can you share the download link? , i dont know which file to download for lollipop.
[AT&T, Rogers HTC One X, Telstra One XL] harpin14789:
Hi Jaheen,

Here is the Torched Kernal Download link: http://downloads.codefi.re/jrior001/Torched-kernel download Torched-LP.Build1.3-F2FS.zip.

look into this thread if you notice any performance issues with lollipop on the evita. http://xdaforums.com/one-x-att/development/lollipop-improvements-hoxl-t3033031
[AT&T, Rogers HTC One X, Telstra One XL] prateek244024:
good rom but battery drain fast

working good rom but battery drain fast
[AT&T, Rogers HTC One X, Telstra One XL] Jaheen:
2bugs yet....

1. Dialer app freeze on hanging up *not often*

2. Pressing home button on no recents screen, makes the home screen blanky white.

Both requires reboot. Any fix?

---------- Post added at 11:49 AM ---------- Previous post was at 11:30 AM ----------

Peace!!! Harpin14789,

I vl try the link u provided.

Can u tell what is swap, d2dt,f2fs or those related? It appear to me new. ☺
[AT&T, Rogers HTC One X, Telstra One XL] killerkob:
Swap allows you to increase your ram as seen by the operating system by allocating space on non-volatile memory to be used like ram (I.e. on your internal memory or sdcard). From my time on Candy5 it was essential since Lollipop is a memory hog (I believe this is due to ART). However swap doesn't seem to be as necessary on pacman ROM since they're using zRAM. This means they're compressing how files are stored on RAM. Both cause performance hits to both read and write speeds.

f2fs is a new partition format designed by Samsung for nand memory (the type in our phones). Many people have measured faster write speeds when using this format.

dt2w means double tap to wake. This function means you can wake your phone by double tapping the screen.
[AT&T, Rogers HTC One X, Telstra One XL] Jaheen:
Killerkob,

You own my respect!!! ☺
[AT&T, Rogers HTC One X, Telstra One XL] Jaheen:
Does the v1.5.0 is SWAP inbuilt?

Does swapping helps me in the dialer bug?
[AT&T, Rogers HTC One X, Telstra One XL] arvu2k:
Issue with Bluetooth Pairing

I recently installed this ROM after moving away from CM12 nightlies due to frequent reboots. No issues so far and performance is pretty awesome.

I do have one major issue. I am not able to pair my Moto 360 to Android Wear. Once I start pairing, I get an option to enter a passcode and then a different passcode shows up on Moto 360. Due to this, the pairing fails and even reboot/reset of phone/watch hasn't helped. I wasn't facing this issue with CM12 nightlies. Have anybody faced a similar issue?
[AT&T, Rogers HTC One X, Telstra One XL] azirgi:
I Have the same question...
[AT&T, Rogers HTC One X, Telstra One XL] Jaheen:
Dialer bug fix:

Dialer -> settings -> number look up, turn off everything. It worked for me. ?
[AT&T, Rogers HTC One X, Telstra One XL] ebubeawachie:
Can I use the Torched Kernel build 1.4?
[AT&T, Rogers HTC One X, Telstra One XL] thelonewolf_pav:
yes
[AT&T, Rogers HTC One X, Telstra One XL] sathish804:
[MENTION=4678269]Flashalot[/MENTION] : Could you please give any workaround or fix to resolve the Camera issue.
[AT&T, Rogers HTC One X, Telstra One XL] ThisWasATriumph:
The camera was fixed in V1.5.
[AT&T, Rogers HTC One X, Telstra One XL] sathish804:
Sure I will try.. Thank You!!

Edit: Camera Fixed on the 1.5 version. Thank You!!
[AT&T, Rogers HTC One X, Telstra One XL] minachika:
help

hi my friends plz can someone helps me I got att htc one x and I want to root it .. its working one android 4.1.1 I cant all links r dead and I couldn't root at all am waiting an answer thanks for the rom I gonna try it after root ......... waiting ))
[AT&T, Rogers HTC One X, Telstra One XL] Zach1928:
Is V1.5.1 based on 5.0.x or 5.1 ?
[AT&T, Rogers HTC One X, Telstra One XL] Neorift:
Nevermind! My bootloader was too old a version, got it fixed and enjoying the ROM so far!

Thank you for your work!
[AT&T, Rogers HTC One X, Telstra One XL] tokilladeadman:
I just installed 1.5.1 (build candy5-Release.v1.5.1-20150326-OFFICIAL-evita) and the Camera seems to be semi-functional. I tested with just taking a few pics...worked fine. Tried again yesterday, and it froze the entire phone...couldn't boot into recovery and had to wait until the power drained. Is there a patch, workaround, etc for this ?

Let me know where I can find the logs if you require additional info :)

Thanks for any help on this !
[AT&T, Rogers HTC One X, Telstra One XL] DvineLord:
are we going to receive official support again for 5.1.x? i see that we got dropped!
[AT&T, Rogers HTC One X, Telstra One XL] cannonleo:
how did you update it and how did you flash the ruu.

please do answer my questions on my thread

https://xdaforums.com/one-x-att/help/partial-noob-qhtc-evita-ruu-selection-t3619033
[AT&T, Rogers HTC One X, Telstra One XL] Tmobilefan906:
sorry to post on an old thread, but does anyone know where i can get some roms for the att one x+? evitare. thanks
[AT&T, Rogers HTC One X, Telstra One XL] cannonleo:
please can i flash this rom on hboot 2.10

---------- Post added at 02:57 PM ---------- Previous post was at 02:56 PM ----------

please can i flash this rom on hboot 2.10

---------- Post added at 02:57 PM ---------- Previous post was at 02:57 PM ----------

please can i flash this rom on hboot 2.10

---------- Post added at 03:00 PM ---------- Previous post was at 02:57 PM ----------

please can i flash this rom on hboot 2.10