yashsingh1/xdaforums huggingface dataset:
[AT&T, Rogers HTC One X, Telstra One XL] flar2:
I'm very busy, but it came together quickly. It's basically the same as the ICS kernel. I'll be late for work tomorrow, but I couldn't resist staying up to work on this.

Edit: I just have to say, this phone is really fast now :cool:
[AT&T, Rogers HTC One X, Telstra One XL] mircony:
Re: [KERNEL][Feb3]ElementalX-JB-v2.5 | Sense 4+ | OC | UV | ZRAM | Intellidemand | FI

Any thoughts on why install hangs at 60%... I'm dying to try this.
[AT&T, Rogers HTC One X, Telstra One XL] Kole_Ackerson:
Re: [KERNEL][Feb3]ElementalX-JB-v2.5 | Sense 4+ | OC | UV | ZRAM | Intellidemand | FI

Installed like a charm! Have it set at 17?? Max and 192 min with lagfree gov zram, undervolted, S2W :). Damn good job! You are awesome! So far so good no reboots and about to use system test app to stress test it

sent from my envenomed HTC One XL running ViperXL 3.2.1
[AT&T, Rogers HTC One X, Telstra One XL] Genetic517:
Re: [KERNEL][Feb3]ElementalX-JB-v2.5 | Sense 4+ | OC | UV | ZRAM | Intellidemand | FI

So having source really helps with the performance that much? Clearly, I don't know anything about kernels, I'm just curious.
[AT&T, Rogers HTC One X, Telstra One XL] currydude:
Re: [KERNEL][Feb3]ElementalX-JB-v2.5 | Sense 4+ | OC | UV | ZRAM | Intellidemand | FI

Leaving zRam on caused major lags after about 10 minutes of high usage - loading chrome and various other apps(turning it off has rectified the problem). This was not the case with 2.5 though, leaving zRam on for 2.5 was just fine.
[AT&T, Rogers HTC One X, Telstra One XL] thedailyl3af:
Re: [KERNEL][Feb3]ElementalX-JB-v2.5 | Sense 4+ | OC | UV | ZRAM | Intellidemand | FI

So my phone just got stuck in a boot loop flashing the newest elementalxl and I tried to reflash 2.5 but got stuck in a boot loop. Then I tried to flash viper 3.2.1 for the stock kernal but no success. Any help?

---------- Post added at 09:21 AM ---------- Previous post was at 09:11 AM ----------

Any help bro im freaking out a little lol first boot loop im running 1.14hb
[AT&T, Rogers HTC One X, Telstra One XL] c5satellite2:
Re: [KERNEL][Feb3]ElementalX-JB-v2.5 | Sense 4+ | OC | UV | ZRAM | Intellidemand | FI

Did you "fastboot flash boot boot.img"?
[AT&T, Rogers HTC One X, Telstra One XL] thedailyl3af:
Re: [KERNEL][Feb3]ElementalX-JB-v2.5 | Sense 4+ | OC | UV | ZRAM | Intellidemand | FI

How can I do it from my phone cause I dont have a pc
[AT&T, Rogers HTC One X, Telstra One XL] c5satellite2:
Re: [KERNEL][Feb3]ElementalX-JB-v2.5 | Sense 4+ | OC | UV | ZRAM | Intellidemand | FI

I think you need pc to flash boot.img on 1.14 if you can't boot android.

Did you do a backup in recovery? If so just restore it and you should be ok.

Flash gui app in play store should work from android.
[AT&T, Rogers HTC One X, Telstra One XL] HTC_Phone:
For the life of me I cannot get it to boot with the newest kernel, any of the three builds. I'm on HBoot 1.14, and everything installs just fine, and it will boot to the splash screen, then into the animation. Then back to the splash and will continue to reboot the splash screen until I manually get into recovery by holding volume down and reflashing my back up.
[AT&T, Rogers HTC One X, Telstra One XL] thedailyl3af:
Re: [KERNEL][Feb3]ElementalX-JB-v2.5 | Sense 4+ | OC | UV | ZRAM | Intellidemand | FI

Thats the thing I forgot to nandroid backup and I acciedntly restored from my stock rom backup. I think ill have to try and do this tomorrow on my cousins laptop. But would you mind sending me a pm on how to do this? Also would that mean I would have to reflash my boot img for the stock rom back from jb since I have the stock rom nandroid
[AT&T, Rogers HTC One X, Telstra One XL] currydude:
Re: [KERNEL][Feb3]ElementalX-JB-v2.5 | Sense 4+ | OC | UV | ZRAM | Intellidemand | FI

Yeah... Flar definitely needs to go back to using beta testers, some people just don't want to listen
[AT&T, Rogers HTC One X, Telstra One XL] thedailyl3af:
Re: [KERNEL][Feb3]ElementalX-JB-v2.5 | Sense 4+ | OC | UV | ZRAM | Intellidemand | FI

Sorry dude just a little new at this. I had the htc inspire before and flashing things wasnt as tedious as this but ill get it
[AT&T, Rogers HTC One X, Telstra One XL] Dacra:
Can anyone confirm they've got this working on hboot 1.14 yet?

I'm getting boot loops whatever I do, flashing viper to go back to stock fixes it, but really want this to work!
[AT&T, Rogers HTC One X, Telstra One XL] currydude:
Re: [KERNEL][Feb3]ElementalX-JB-v2.5 | Sense 4+ | OC | UV | ZRAM | Intellidemand | FI

Edit: Looks like I'm an idiot as well
[AT&T, Rogers HTC One X, Telstra One XL] liamstears:
Must say this latest beta is really fast, nice work flar!
[AT&T, Rogers HTC One X, Telstra One XL] burton813:
Re: [KERNEL][Feb3]ElementalX-JB-v2.5 | Sense 4+ | OC | UV | ZRAM | Intellidemand | FI

It's working with hboot 1.14.
[AT&T, Rogers HTC One X, Telstra One XL] c5satellite2:
Re: [KERNEL][Feb3]ElementalX-JB-v2.5 | Sense 4+ | OC | UV | ZRAM | Intellidemand | FI

Instructions for hboot 1.14 are right in the first post of the thread.
[AT&T, Rogers HTC One X, Telstra One XL] inphamous36:
Is this stable? Has anyone on 1.14 tried this with flash image GUI? I'm at work all day and have a little down time and was gonna try it out
[AT&T, Rogers HTC One X, Telstra One XL] Red5:
So did I? :eek:

My new replacement has the 1.14 hboot on it.
[AT&T, Rogers HTC One X, Telstra One XL] jrlatta:
did yours flash properly? mine acted like it was ok and got a few seconds into the bootanimation then started bootlooping
[AT&T, Rogers HTC One X, Telstra One XL] Red5:
I havent made the jump to JB yet. Was waiting to see what the results were first.
[AT&T, Rogers HTC One X, Telstra One XL] jrlatta:
first time i flashed it it took a few minutes to install just like normal when you flash a kernel, now everytime i try its done in just a few seconds
[AT&T, Rogers HTC One X, Telstra One XL] CheesyNutz:
yeaaaa just tested the kernel i was able to remove some bloat and reboot ... GONE !!!
[AT&T, Rogers HTC One X, Telstra One XL] craig0r:
I'm running ViperXL 3.0 and HBOOT 1.09, and I still get the boot loop. I've flashed both via TWRP and fastboot, with the same results. Anyone have any thoughts?

EDIT: And I used the default CPU speed when I flashed from TWRP. And when I restore my nandroid backup, it still loops. wtf.
[AT&T, Rogers HTC One X, Telstra One XL] josh3794:
Using titanium I can uninstall any app or freeze apps and it sticks through reboots.

The only thing that does not stick through reboots is when I use No Frills to set my cpu speed, . It comes up with unclean values after the reboot and you have to apply the settings again. this is on jokerONEXL ROM.
[AT&T, Rogers HTC One X, Telstra One XL] c-prodigo:
so if am on 1.14 I shouldn't flash this fix ?
[AT&T, Rogers HTC One X, Telstra One XL] InflatedTitan:
Setcpu is working fine for me.. no frill won't stick through reboot
[AT&T, Rogers HTC One X, Telstra One XL] ethantarheels123:
Damn. This is one of those times when I am proud that a community such as xda probably has more intelligent and better devs than HTC's software team :thumbup:
[AT&T, Rogers HTC One X, Telstra One XL] CheesyNutz:
with powersaver checked is a cpu app really needed ?
[AT&T, Rogers HTC One X, Telstra One XL] yobbei:
0.3 is boot-looping for me
[AT&T, Rogers HTC One X, Telstra One XL] ECEXCURSION:
0.3 works great for me at 1.7GHz. Nice work flar2.

Sent from my HTC One XL
[AT&T, Rogers HTC One X, Telstra One XL] rdannar:
Installed.. took a little bit to settle in but no reboots. Have no issues come up yet. Been using most of day. Deleted system apps with root explore.
[AT&T, Rogers HTC One X, Telstra One XL] gilmerd:
Kernel seemed to install fine...but when i go to settings and look at software..it does not say elementalx-jb..is it supposed to?
[AT&T, Rogers HTC One X, Telstra One XL] yobbei:
I find that when I have overclock on the scrolling in Facebook is very choppy.

After I deleted the script in init.d folder it is smooth again.
[AT&T, Rogers HTC One X, Telstra One XL] jbm76:
Boot looped for me too... I reinstalled the kernel through viper 3.0 and when I rebooted I lost all my icons and lost all my settings for my apps

Seemed when the kernel was flashed and the viper boot animation was strange graphical glitch

Flashed at 1698 and 1.7

On hboot 1.11 using latest jb radio
[AT&T, Rogers HTC One X, Telstra One XL] carl1961:
I have boot loop to even set permissions on the modules
[AT&T, Rogers HTC One X, Telstra One XL] ethantarheels123:
Flar2 is it possible for you to make a kernel at stock frequencies just with system write?
[AT&T, Rogers HTC One X, Telstra One XL] mircony:
Re: [KERNEL][Feb3]ElementalX-JB-v2.5 | Sense 4+ | OC | UV | ZRAM | Intellidemand | FI

I just flashed boot.IMG with flash GUI, and all seems well....only thing I could get to work with 1.14 boot.
[AT&T, Rogers HTC One X, Telstra One XL] flar2:
My thought is that your hboot is 1.14 or higher, which means it could take ten minutes to install.

I'm only giving one warning: don't fastboot flash or you'll have problems.

The installer works on any hboot, it just takes a long time. It looks like it hangs at 60% but that's how it works. Be patient!
[AT&T, Rogers HTC One X, Telstra One XL] zerocoolak:
Try flashing 2.5 with no over/under modules everything disabled. My phone is usually very stable with flars kernals, but 4.1's also a no go for me. :(. Had to flash 2.5 without modules then edit in config after it booted to get the modules running.
[AT&T, Rogers HTC One X, Telstra One XL] xxBrun0xx:
Re: [KERNEL][Feb3]ElementalX-JB-v2.5 | Sense 4+ | OC | UV | ZRAM | Intellidemand | FI

Without any performance options selected, the most current version of elemental randomly reboots. If I change it to undervolt to 875, this problem disappears. However, stock ViperXL kernel does not have this problem. What's the difference?

ViperXL baby!
[AT&T, Rogers HTC One X, Telstra One XL] flar2:
What Rom are you guys using?

Make sure you use stable settings.

The beta works very well. If it doesn't work for some reason, the first thing you should do is a full wipe and reinstall.

I already warned not to use this if you don't know how to get back to where you were before (nandroid backup!)

I also said don't just post here that it doesn't work :)
[AT&T, Rogers HTC One X, Telstra One XL] flar2:
You solved out yourself. The stock kernel probably set your voltage to 900 or 950
[AT&T, Rogers HTC One X, Telstra One XL] zerocoolak:
Cleanrom jl beta Rom. Kernal: your 2.5, performance, 1728, zram enabled. Guess full wipe is in order to try 4.1 again. :)
[AT&T, Rogers HTC One X, Telstra One XL] scottie720:
I tried flashing over 2.5, and on a clean install even fastbooted the boot.img still bootlooped everytime, also I'm on hboot 1.14
[AT&T, Rogers HTC One X, Telstra One XL] dave-:
Re: [KERNEL][Feb3]ElementalX-JB-v2.5 | Sense 4+ | OC | UV | ZRAM | Intellidemand | FI

Great work as usual mate, working fine here on viper 3.2.2. Nice to have S2W back!
[AT&T, Rogers HTC One X, Telstra One XL] area51avenger:
Re: [KERNEL][Feb3]ElementalX-JB-v2.5 | Sense 4+ | OC | UV | ZRAM | Intellidemand | FI

On the download link flar said DO NOT FLASH IF YOU DON'T KNOW WHAT YOU'RE DOING. Therefore stop flashing and complaining. He also said DO NOT FASTBOOT FLASH BOOT.IMG yet I see a bunch of complaints that its not working.

We need a reading comprehsion class for xda

Sent from my VENOMized HoxL
[AT&T, Rogers HTC One X, Telstra One XL] Dacra:
My limited knowlegde has failed me, time to admit defeat and wait for an official release!
[AT&T, Rogers HTC One X, Telstra One XL] monkboy24:
im gettin nothing but pure bootloops at the splashscreen after trying to install 4.1 beta with clean rom. HBOOT 1.09 btw
[AT&T, Rogers HTC One X, Telstra One XL] InflatedTitan:
Re: [KERNEL][Feb3]ElementalX-JB-v2.5 | Sense 4+ | OC | UV | ZRAM | Intellidemand | FI

Same here, tried 3 different combos of settings and they all resulted in splash screen loop. Hboot 1.09 cleanrom
[AT&T, Rogers HTC One X, Telstra One XL] jacobas92:
Re: [KERNEL][Feb3]ElementalX-JB-v2.5 | Sense 4+ | OC | UV | ZRAM | Intellidemand | FI

Both 4.0 and 4.1 working fine for me. I'm on newt's jb sense rom. Gpu overclocked and cpu to 1.7 with stock voltage.

And my hboot is 1.09
[AT&T, Rogers HTC One X, Telstra One XL] WarRaven:
Re: [KERNEL][Feb3]ElementalX-JB-v2.5 | Sense 4+ | OC | UV | ZRAM | Intellidemand | FI

Boot loops on fresh cClean Rom install, tried every variable I could use in aroma.

Is all good, just happy to try something special as this.

WR
[AT&T, Rogers HTC One X, Telstra One XL] zerocoolak:
Hmmm. Just tried system wipe and factory reset of both CleanRom jl beta and venom 3.2.2. Couldn't get past the splash on either with 4.1. My phone handles overclocking very well. :eek: tried just about every combo on both. Under and overvolt. (Have a lot of time on my hands during the night shift) no biggie. Just doesn't like my phone I guess. Haha. 2.5 is solid though. Keep up the good work. :highfive:
[AT&T, Rogers HTC One X, Telstra One XL] scottie720:
Is it a problem if my fone is a AT&T model
[AT&T, Rogers HTC One X, Telstra One XL] BizzLeonDaCouch:
Re: [KERNEL][Feb3]ElementalX-JB-v2.5 | Sense 4+ | OC | UV | ZRAM | Intellidemand | FI

Only if you can't read

Sent from my Dirty Rootbox Nexus 7
[AT&T, Rogers HTC One X, Telstra One XL] arhung:
Re: [KERNEL][Feb3]ElementalX-JB-v2.5 | Sense 4+ | OC | UV | ZRAM | Intellidemand | FI

I just think the 4.1beta is not stable enough and except this, everything is perfect.
[AT&T, Rogers HTC One X, Telstra One XL] itzsnookums:
Hey guys, just thought everyone would like to know....I SEE SOURCE CODE!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[AT&T, Rogers HTC One X, Telstra One XL] doc_v15:
Re: [KERNEL][Feb3]ElementalX-JB-v2.5 | Sense 4+ | OC | UV | ZRAM | Intellidemand | FI

Yeah!

Sent from my HTC One X
[AT&T, Rogers HTC One X, Telstra One XL] InflatedTitan:
Re: [KERNEL][Feb3]ElementalX-JB-v2.5 | Sense 4+ | OC | UV | ZRAM | Intellidemand | FI

Which Rom? I'm seeing more bootlops on cleanrom
[AT&T, Rogers HTC One X, Telstra One XL] rdannar:
Re: [KERNEL][Feb3]ElementalX-JB-v2.5 | Sense 4+ | OC | UV | ZRAM | Intellidemand | FI

Works great. Was able to fully overclock for a 30 minutes no reboots or errors. I don't like max oc so only did a quick run through at that speed. Seems fast and stable on my home built rom
[AT&T, Rogers HTC One X, Telstra One XL] thedailyl3af:
Re: [KERNEL][Feb3]ElementalX-JB-v2.5 | Sense 4+ | OC | UV | ZRAM | Intellidemand | FI

I'm actually still stuck... I don't have a computer next to me so I don't know what I can do. I flashed 4.1 got stuck in a boot loop. Tried ref lashing 2.5 still stuck. So flashed the whole rom viper 3.2.1 rom still stuck. I forgotnandroid backup of my viper rom so i have the stock rooted rom nandroid backup but i know it has a different boot img. But I don't know what to do from here
[AT&T, Rogers HTC One X, Telstra One XL] jacobas92:
Re: [KERNEL][Feb3]ElementalX-JB-v2.5 | Sense 4+ | OC | UV | ZRAM | Intellidemand | FI

Newtoroot's jb sense rom, 2.0.1
[AT&T, Rogers HTC One X, Telstra One XL] thedailyl3af:
Re: [KERNEL][Feb3]ElementalX-JB-v2.5 | Sense 4+ | OC | UV | ZRAM | Intellidemand | FI

Would you mind pm me how you did it cause I'm sorta noobish at this
[AT&T, Rogers HTC One X, Telstra One XL] WarRaven:
Re: [KERNEL][Feb3]ElementalX-JB-v2.5 | Sense 4+ | OC | UV | ZRAM | Intellidemand | FI

I found cause of my boot loops on clean room, just had to delete unit.d folder before installing elemental 4.1.

I deleted it, rebooted into twrp and installed 4.1 and booted right up.

WR

---------- Post added at 08:26 AM ---------- Previous post was at 08:23 AM ----------

Sweet , gpu is at 312 for 2d and 512 for 3d, it freaking flies like it did in ics days... You rock Flar :)

WR
[AT&T, Rogers HTC One X, Telstra One XL] utkaar099:
Re: [KERNEL][Feb3]ElementalX-JB-v2.5 | Sense 4+ | OC | UV | ZRAM | Intellidemand | FI

Working fine on my rom, no random reboots or anything of the sort, and everything is just flying :) I never realized how much I missed s2w lol
[AT&T, Rogers HTC One X, Telstra One XL] WarRaven:
Re: [KERNEL][Feb3]ElementalX-JB-v2.5 | Sense 4+ | OC | UV | ZRAM | Intellidemand | FI

Running at 2Ghz, o/c Gpu @ 320/512, Zram enabled, S2W enabled, on Clean Rom JB and its stable at stock voltage.

Muhahahaha

WR
[AT&T, Rogers HTC One X, Telstra One XL] ImagioX1:
Re: [KERNEL][Feb3]ElementalX-JB-v2.5 | Sense 4+ | OC | UV | ZRAM | Intellidemand | FI

Well for once it looks like I'm having great success. 1809 with sweep to wake on hboot 1.14. Everything working fine here. Thanks flar!

Sent from my VenomXL using Xparent Red
[AT&T, Rogers HTC One X, Telstra One XL] yobbei:
Thank you now my phone boots up fine!!
[AT&T, Rogers HTC One X, Telstra One XL] Kole_Ackerson:
Re: [KERNEL][Feb3]ElementalX-JB-v2.5 | Sense 4+ | OC | UV | ZRAM | Intellidemand | FI

Lol. Youre kind if late to the party. But no biggie I do that all the time :P

sent from my envenomed HTC One XL running ViperXL 3.2.1
[AT&T, Rogers HTC One X, Telstra One XL] =JKT=:
Re: [KERNEL][Feb3]ElementalX-JB-v2.5 | Sense 4+ | OC | UV | ZRAM | Intellidemand | FI

viper xl 3.2.2 Experimental kernel, 1.7 GHz, overclocked gpu (2D is at 320, 3D is at 400), undervolted 825 to 1300mV, s2w. No zRAM.

Everything is running really smooth no issies. I really missed s2w. Thanks!

Antutu up 1000 points to 11958 using same settings from 2.5 (for those who care).

How did you find the time to do this?

Edit: also being able to undervolt individual frequencies is nice again. Bonus/win!
[AT&T, Rogers HTC One X, Telstra One XL] dragunbayne:
Re: [KERNEL][Feb3]ElementalX-JB-v2.5 | Sense 4+ | OC | UV | ZRAM | Intellidemand | FI

Confirmed deleting contents of init.d folder on Cleanrom JL fixes bootloop.
[AT&T, Rogers HTC One X, Telstra One XL] flar2:
I mentioned this earlier in the thread...

if you try to load the write protect module (wp_mod.ko) you will get an instant crash!!

This is what causes the bootloops. My installer deletes /system/lib/modules/wp_mod.ko, but if it is located somewhere else, you'll have to manually delete it. I suspect Cleanrom puts it somewhere else, then the init script tries to load it.
[AT&T, Rogers HTC One X, Telstra One XL] doc_v15:
Plus one for this... I had bootloop on 850...reflashed the 4.1 again to 875 and it worked
[AT&T, Rogers HTC One X, Telstra One XL] dragunbayne:
Re: [KERNEL][Feb3]ElementalX-JB-v2.5 | Sense 4+ | OC | UV | ZRAM | Intellidemand | FI

It is in fact located there. I tried that suggestion previously by deleting it manually and it did not resolve the bootloop. I was also coming from your 2.5 kernel fwiw.
[AT&T, Rogers HTC One X, Telstra One XL] WarRaven:
Re: [KERNEL][Feb3]ElementalX-JB-v2.5 | Sense 4+ | OC | UV | ZRAM | Intellidemand | FI

I seen that WP line in 99tweaks but was not sure about editing it out .

(it installs on fresh install of Rom, must be cooked in and had no idea of its existance until viper users sais they could boot np,...figured it had to be something minor between two roms and that worked for me)

After reading your post, I looked an you 're correct that the module is gone from normal location, not sure where to look for it myself really but I can say all is working well after removing 99tweaks.

Ha, thought I had found something again an sol/shot down again lol.

WR
[AT&T, Rogers HTC One X, Telstra One XL] Dacra:
Ive tried, boot looped, reverted to venom stock at least 20 times today trying different things :D

Should probably have tried downloading the file again in case i just got a bad download..
[AT&T, Rogers HTC One X, Telstra One XL] flar2:
What else is in the init.d folder of Cleanrom?
[AT&T, Rogers HTC One X, Telstra One XL] WarRaven:
Re: [KERNEL][Feb3]ElementalX-JB-v2.5 | Sense 4+ | OC | UV | ZRAM | Intellidemand | FI

On mine, just tweaks.

WR
[AT&T, Rogers HTC One X, Telstra One XL] flar2:
Could someone please post the contents of the tweaks script in Cleanrom? (I don't want to download a 500MB file at work just to look at one tiny file ;))
[AT&T, Rogers HTC One X, Telstra One XL] WarRaven:
Re: [KERNEL][Feb3]ElementalX-JB-v2.5 | Sense 4+ | OC | UV | ZRAM | Intellidemand | FI

As requested

#!/system/bin/sh

# CleanTWEAKS!

#Remove WP

insmod /system/lib/wp_mod.ko

# Optimized remounts

busybox mount -o remount,noatime,noauto_da_alloc,nodiratime,barrier=0,nobh /system

busybox mount -o remount,noatime,noauto_da_alloc,nosuid,nodev,nodiratime,barrier=0,nobh /data

busybox mount -o remount,noatime,noauto_da_alloc,nosuid,nodev,nodiratime,barrier=0,nobh /cache

#CPU and VM Tweaks

echo 50 > /sys/devices/system/cpu/cpufreq/interactive/go_maxspeed_load

/system/xbin/sysctl -w fs.file-max=524288

/system/xbin/sysctl -w fs.inotify.max_queued_events=32000

/system/xbin/sysctl -w fs.inotify.max_user_instances=256

/system/xbin/sysctl -w fs.inotify.max_user_watches=10240

/system/xbin/sysctl -w fs.lease-break-time=10

/system/xbin/sysctl -w kernel.random.read_wakeup_threshold=128

/system/xbin/sysctl -w kernel.random.write_wakeup_threshold=256

/system/xbin/sysctl -w kernel.sched_latency_ns=18000000

/system/xbin/sysctl -w kernel.sched_wakeup_granularity_ns=3000000

/system/xbin/sysctl -w kernel.threads-max=524288

/system/xbin/sysctl -w net.core.rmem_max=524288

/system/xbin/sysctl -w net.core.wmem_max=524288

/system/xbin/sysctl -w vm.dirty_background_ratio=70

/system/xbin/sysctl -w vm.dirty_expire_centisecs=250

/system/xbin/sysctl -w vm.dirty_ratio=97

/system/xbin/sysctl -w vm.drop_caches=3

/system/xbin/sysctl -w vm.min_free_kbytes=4096

/system/xbin/sysctl -w vm.vfs_cache_pressure=1

echo "0" > /proc/sys/vm/oom_kill_allocating_task;

echo "0" > /proc/sys/vm/panic_on_oom;

echo "0" > /proc/sys/vm/laptop_mode;

echo "0" > /proc/sys/vm/swappiness

WR
[AT&T, Rogers HTC One X, Telstra One XL] flar2:
^^thanks man (out of thanks for today)

This is the problem right here:

#Remove WP
insmod /system/lib/wp_mod.ko

Don't delete the cleantweaks file (it's a good thing), just delete /system/lib/wp_mod.ko and problem solved.

Note that my installer deletes /system/lib/modules/wp_mod.ko

Tonight I'll change the installer so it also deletes /system/lib/wp_mod.ko

Please let me know if other ROMs put wp_mod.ko in a different location. I already know that Viper and Elemental both put the module in /system/lib/modules/

Like I said earlier, as soon as this module is loaded, the kernel panics and crashes. Since this is done right away at boot, it appears as a bootloop. Now that we have source, there is no longer system write protection and wp_mod.ko is not needed.

*********************************************************

As an update, I've been using the beta since last night and it's very solid once you solve that problem. I have no issues so far.

I had a small bit of lag due to zram at one point, which corrected itself once the memory cleared out a bit. This is not a bug, the small performance penalty of zram is just more noticeable on JB compared to ICS because JB is so fast and responsive. I'm going to work on the memory management a bit, maybe try to flush things out more often or something.

Also, I found that Venom Tweaks was set to disable sweep2wake and this was overriding my setting in elementalx.conf. It was fighting with my init script, whichever sets it last wins.

.
[AT&T, Rogers HTC One X, Telstra One XL] WarRaven:
Re: [KERNEL][Feb3]ElementalX-JB-v2.5 | Sense 4+ | OC | UV | ZRAM | Intellidemand | FI

Alright, I'll scoop file from back up, edit out then lines an test.

WR
[AT&T, Rogers HTC One X, Telstra One XL] flar2:
Easier just to delete /system/lib/wp_mod.ko

Reason being that if you edit the init file, you must change the permissions to execute after you're done and also ensure that whatever editor you're using doesn't make a backup copy of the file (e.g. cleantweaks.bak, or cleantweaks~)
[AT&T, Rogers HTC One X, Telstra One XL] WarRaven:
Re: [KERNEL][Feb3]ElementalX-JB-v2.5 | Sense 4+ | OC | UV | ZRAM | Intellidemand | FI

I already did it.

Used ES file explorer, set permission an rebooted with no issue.

WR
[AT&T, Rogers HTC One X, Telstra One XL] Dacra:
I see lots of people are having success on viper, anyone else struggling getting this to work on that?