yashsingh1/xdaforums huggingface dataset:
[HTC One X+] nik3r:
Sleeping is a luxury, so...

EliteKernel 140106 EX6 is released

This is experimental, that means don't trust it until you extensively test it!

Changes:

- added Read over Write IO scheduler as default (ROW)

- updated Smartmax

- updated CPUQuiet (CPU core on/off balancing)

- using load_stats instead of rq_stats for better battery/temperatures

- last change to get sixaxis to work, if this doesn't work, the only way is degrading the HCI drivers completely and that's no fun

- more performance improvements

You can see more details and unreleased changes on my github https://github.com/niker/elitekernel_oxp_42/commits/elitekernel_oxp_42

~ Enjoy
[HTC One X+] tecno321:
Nice work, continue please. Thanks.

Enviado do meu HTC One X+ através de Tapatalk
[HTC One X+] Drefsab:
Thank you very much for the continued work on this device and the six axis stuff, I will flash it tonight when I get home from work to try it :)
[HTC One X+] dttung80:
Yeh yeh yeh, new update. Big thanks. :D
[HTC One X+] phikal:
Thx, ex6 working nicely here ! :)

Verstuurd van mijn HTC One X+ met Tapatalk
[HTC One X+] ryaneu:
Hi Can i check with you is init.d support enabled in your kernel?
[HTC One X+] nik3r:
It is, don't forget all init.d scripts need to start with

#!/system/bin/sh

have chmod 775 and chown 0:2000 in order to work properly.
[HTC One X+] dttung80:
My Sense have a litle lagging than old version. :(
[HTC One X+] nik3r:
If you're getting lags, you can try to alternate these settings until you get the best results:

echo "sio" > /sys/block/mmcblk0/queue/scheduler
echo "row" > /sys/block/mmcblk0/queue/scheduler

echo "rq_stats" > /sys/devices/system/cpu/cpuquiet/current_governor
echo "load_stats" > /sys/devices/system/cpu/cpuquiet/current_governor
[HTC One X+] dttung80:
Thanks for your guide, but i use default settings. I will try there command.

1 question that with this kernel, can be use Ram Manager to create and manager 512mb virtual ram?

Thanks
[HTC One X+] saitch76:
nik3r,

Have you tested or benchmarked the new ROW scheduler? I remember some benchmarks comparing schedulers posted a whole ago and noop was quicker than SIO. I've never come across ROW before.
[HTC One X+] nik3r:
ROW should do very poorly in benchmarks, it's user-oriented scheduler. Lower raw performance, but smoother responses. It's difficult to measure these. From experience, IO scheduler that is the fastest on paper/bench usually lags UI the most :/

The difference between rq_stats and load_stats is load_stats favors lower frequencies per core and more cores online, which saves battery and reduce temperatures a lot.

rq_stats will favor full power cores more, which increases heat but could be a bit smoother.

I'm not really sold on which of these is the best as default, hence the word "experimental" :D

I haven't seen much difference in game performance, but there are differences in low-medium CPU usage scenarios.
[HTC One X+] grega_slo:
Hi nik3r!

Kernel is stable but painfully slow in certain apps.

iGO is super slow with smartmax governor...

also wifi signal is not so good with latest version... Ex4-5 all was ok...

---------- Post added at 10:49 PM ---------- Previous post was at 10:16 PM ----------

Also forgot to add, browsing with chrome feels a lot slower...

But it is not heating up :)
[HTC One X+] Drefsab:
Tested EX6 with sixaxis app sadly it still isnt working. Method type 1 and 2 both failed to load HCI Library and method 3 and 4 could not set HCI raw mode.

If theres any help that I can give/provide let me know, or if its worth looking at im almost certain there's a sense 5 compatible kernel on the HOX (alex-v's one) that it used to work with.
[HTC One X+] boe323:
Great work dude ....still get jumpy app draw though ....but im sure its viper rom.
[HTC One X+] ryaneu:
I'm on stock 4.2.2 .

I have some bugs to report.

Capacitive buttons always ON.

Sometimes phone will not wake up or it will switch off from sleep

have to press and hold the power button to turn on the phone again.

And sometimes restarting the phone using power button > restart will switch off the phone too.
[HTC One X+] nik3r:
Stock ROM? Why would you... :D

Update su, update busybox, disable on/off animations.

And/or get a custom ROM for your custom kernel.

It's one of the worst written apps ever when it comes to power management. You can try EX5 if it's any better, since EX6 added a lot to decrease heat at the cost of some performance. If it's not better, tough luck, use ondemand/interactive with it.

Or you can try the 2 cpuquiet governors and 2 ioscheds on EX6 and see which works best (commands above). That would actualy help me, because there really is no "default" yet.
[HTC One X+] grega_slo:
Hmmm would it be possible in nay way to add SmartAssV2 to your kernel?

I lowered freq to 1.5GHz and use SmartassV2 for me, best performance/battery...
[HTC One X+] nik3r:
I love that governor but it has serious problems on multicore CPUs, locking on high frequencies for no reason, ignoring per core load. Take ADB and look at how smartass acts in realtime, how many cores it uses and what is the current frequency, you will see some pretty crazy things and scaling lockups.

Smartmax is closest you will get to it without problems.
[HTC One X+] schinge:
I have problems with the smartmax governor and the power saver mode: after some time, the frequency locks on 1150 MHz, even when only one core is active at 1-5%. If I deactivate the power saver and then reactivate it the frequency goes down as it should. I noticed this on EX5 and EX6 - I will try it with earlier versions this evening.
[HTC One X+] grega_slo:
LOL I was just looking at it when I read your post :)

OK, maybe another proposition...

WHAT if you add SmartMaxV2 :)

And make V2 like in EX4-5 ?

So SmartMax really power save oriented and SmartMaxV2 trying to balance power/performance like in EX4-5 ?

Regards,Greg
[HTC One X+] Super-Android:
I am on elegancia ROM, the latest version, flashed elite kernel, the device is not powering on any more...
[HTC One X+] saitch76:
Try this:

Download nik3r's fallback kernel from the OP.

Then try pressing and holding the power button on your One X+ until the capacitive buttons flash and your device (re)boots. Hold down the volume button as your phone reboots and you should get into fastboot. Connect you One X+ to the computer you flash kernels from. Flash nik3r's fallback kernel then let your One X+ reboot.
[HTC One X+] Super-Android:
Yeah tried that, but does this mean, I wont be able to use dis kernel in elegancia Rom?
[HTC One X+] saitch76:
I haven't tried Elegancia. This is obvious, but it is a 4.2.x rom isn't it? Have you tried installing NowenUI's 4.2.2 sense 5 kernel to check if it works with Elegancia?
[HTC One X+] dttung80:
Should i use the 3rd party app to create 512mb swap file on Sd Card? :)
[HTC One X+] zetnord:
i'm not sure where the problem begin :( ..but i use this Elite kernel EX6 with Elegancia 7.3.1 since yesterday and everything still fine:rolleyes:
[HTC One X+] boe323:
How can I adjust the GPU? .....its taking to long to wake up from 200mhz ..... which I think is what's making the app draw jumpy, something like 20/30secs before full power 520mhz. Adjusting the response time will stop it I'm sure.
[HTC One X+] pfzmomo:
Phone didn't charge when it was plugged in last night (discharged then blocked at 2%), I managed to stay with 2% for the half of the day

I let it charge when it's off, I'll see if it is really charging...

I'm on EX6, I experienced many crashes too
[HTC One X+] kuihome21:
So far didnt experience any crash with the latest release.. i installed it yesterday afternoon, hmm only one thing is the battery take at least 4hr to fully charge
[HTC One X+] aliko007:
I have no problem also :)
[HTC One X+] nik3r:
EliteKernel 140107 EX7 is released

This is experimental, that means don't trust it until you extensively test it!

Changes:

- heavy performance tweakage

- optimized ROW to favor high priority blocking writes more

- CPUQuiet load_stats and SmartMax tweaked to work better together

- disabled all special CPU handling for MTP while copying files over cable (don't worry it scales wonderfully)

- couple bits and pieces from NowenUI

You can see more details and unreleased changes on my github https://github.com/niker/elitekernel_oxp_42/commits/elitekernel_oxp_42

~ Enjoy

EDIT: link back up
[HTC One X+] boe323:
Lol .... just worked out how to stop the lag on ex6 .....now I'll be spending more hours fiddling haha.
[HTC One X+] Thermaltake868:
Was lag in browser when you scroll now fixed in ex7 ?
[HTC One X+] nik3r:
It's smooth as butter for me with defaults.

It¨s only a trick, look up SmartDimmer - it increases gamma/whites slightly so darker backlight still seems bright. The actual brightness and power consumption is identical.

It doesn't for me, the wakeup is instantious, use some app to see what apps are doing stuff on wakeup. I have over 250 apps installed and there is no lag after wake. None.

...

I am also releasing this little handy tool for the more savvy of you to use.

CpuStatus Monitoring Script v1

Remember kids: With great power comes great responsibility. Don't nag me :D

http://elite-force.eu/emoxp/tegra3_cpustatus.zip

This lets you look up current CPU status over cable. You can see current frequency for each core and which cores are online in realtime. If you get really poor performance in some app, you can see what's actually going on. You can report weird behavior to me, however that doesn't mean I will or can do anything about it.
[HTC One X+] Thermaltake868:
It wasn't in ex6 to me and few other peoples.

Brightness is higher on your kernel when comparing to Sebastian on same level, why is that ? And when phone is waking up it takes longer to wake than on other kernels.
[HTC One X+] boe323:
Zram not showing up in trickstermod ?
[HTC One X+] Drefsab:
tbh with Zcache you dont need zram anyways.
[HTC One X+] nik3r:
Yeah and you need to "insmod zram.ko". It's not compiled inside the kernel, because we have zcache, which is almost the same thing, just better.
[HTC One X+] pfzmomo:
The charging problem happened when I disabled fast charge...

Can't get smartmax to work smoothly, but it's working nicely with interactive governor so it's good for me :)

Thanks for the reguliar updates nik3r! :D
[HTC One X+] xdacalvien:
Happened to me from EX5 ~ EX7

Once sleep, swipe cannot wake up, black screen.....

Me from Speedy Kernel v2.5 without problem..

Fasboot flash boot.img, fastboot erase cache, reboot phone...
[HTC One X+] pkhanh:
Venom Virtual SD support pls..
[HTC One X+] nik3r:
It should work since like EX3, I'm getting extra drive in windows but never tested it in action.

BTW: I just discovered a nasty bug in core scaling, could be the main source of lags, because it locked up to single core in some arbitrary cases. I still need some time though to fine-tune everything again.

You are probably running to the scaling bug, for example I got it every time I opened Google Maps and it would go away in a minute or two, then reappear few minutes later randomly... really weird behavior but its gone now thankfully.
[HTC One X+] nik3r:
EliteKernel 140108 EX8 is released

This is experimental, that means don't trust it until you extensively test it!

Changes:

- fixed CPUQuiet scaling bug that caused CPU to lock to one core intermittently

- CPUQuiet core, load_stats and SmartMax tweaked for even better synergy

- updated some frequency tables

- eliminated lags due to ongoing wi-fi transfers

- improved core hotswapping performance

- reduced low power core activation lags

You can see more details and unreleased changes on my github https://github.com/niker/elitekernel_oxp_42/commits/elitekernel_oxp_42

~ Enjoy
[HTC One X+] zetnord:
Thanks dude ;)

its feel better then EX7 so far..
[HTC One X+] ivicask:
So far this one sounds like a keeper, previous 2 versions lagged badly for me, browser was stuttering, swiping around screens, sometimes would be smooth for few sec than lag again and so on..

This versions is absolute smooth in browser and in general, and lookin CPU speeds its scaling very nicely and turning cores ON/OFF which means battery should be good.

If stability proves to be good, this should be ground for future updates at least regarding speed/smoothness :)
[HTC One X+] grinder19:
This one seems to be working a lot better. I still get random deep sleeps which I can't get device to wake up until manual reboot.

Can you change the defaults on gpu clock to 275mhz when it's on 200mhz my camera won't take images at all (I've coded camera to it's very limits of quality and uses gpu to render images before save)

Also can you add frandom support as this is 40-50x faster than standard random/urandom switching. (Google it for more info and the github source)

With those changes this kernel would work Perfectly with my new version of magiorom :)
[HTC One X+] ryaneu:
After installing EX8.

My phone have random shutdown/reboot while charging through USB.

And you also have to fix the random deep sleep problem and perhaps increase the GPU frequency a little or enable GPU OC.

By the way do you guys think the Min CPU frequency of 51 mhz too low? Could this be the cause of the random deep sleep , shutdown or reboot problem?

Because I see in other devices like the Nexus 7 , they set the minimum to 102 mhz.
[HTC One X+] grega_slo:
Even IGO is now functioning "OK".

Its not perfect but hey, better than on EX6-7 :)

I told u something was wrong :)
[HTC One X+] ChefChaudart:
Igo is perfect on my current EX6.

( But it´s true, in the past, I saw terrible performance on iGo/Primo )
[HTC One X+] nik3r:
Deep sleep freezes? Seriously? Does it stop responding over cable completely? Are you perhaps fiddling with cpu settings? I don't have any cpu control app at all and all is stable so far. Always was except for the intermittent slowdowns do to scaling bug. Just try not to set anything on the cpu or kernel, the defaults work fine and it makes it difficult to see the real problem.
[HTC One X+] boe323:
Gone back to stock because viper Rom is seriously lacking in performance ....trust me ....I noticed as soon as I went back to stock ....it's like night and day and boy this kernel just tops it up nice. Always sticking with stock from now on and I'll tweak it and root myself. I'm not calling viper rim down ....it's just fact for me ....my phone don't like it.

---------- Post added at 06:18 PM ---------- Previous post was at 06:13 PM ----------

How can I get zram/zcache to show in a stock Rom ? Trickster mod doesn't show it
[HTC One X+] Wlk:
Running EX8 whole day, charged through usb half day and no probs at all...
[HTC One X+] one winger:
I'm still on EX3 but yes ,every now and again experience deep sleeps where phone hangs completely,no app will open but opening animation still appears on app icon. Phone will only respond to a manual shutdown and then reboots a second time once restarted.

Using ARHD 8 with no changes to cpu speed
[HTC One X+] pfzmomo:
Smartmax is still a lot more laggy than interactive for me :(
[HTC One X+] Rat.NL:
same here phone freeze after a while when connected to charger

even when not connected..... im using smartmax with default settings on Viper rom
[HTC One X+] grinder19:
My Rom (magiorom) works flawlessly with this kernel :) since ex8 anyway lol

Still needs little more tweaking for battery life but overall I can get top benchmarks in passmark benchmark app just need the 3d score to increase might be something in kernel or a lib

View attachment 2502824

View attachment 2502826

View attachment 2502828

Antutu benchmark (as you can see magiorom beats galaxy s3)
[HTC One X+] nik3r:
If you see animation, it's not kernel freeze, press home button to get to launcher. Something you changed in sense toolbox perhaps.

If you can ADB it over cable, it's not dead. At most this would be s2w bug.
[HTC One X+] grinder19:
3d tweaking needed and battery savings need improving but needs to do it so on low demanding tasks it reduces cores on more effectively and distribution on 4 cores and gpu's in more demanding tasks. If I had pc up and running I could try learn kernel language and try to help :)
[HTC One X+] Rat.NL:
When I pushed the power button, only the 3 red buttons illuminated and the screen was black. After reset and a few min I pushed the power button again I only got the home screen. Phone did nothing. This is only with smartmax. I have not enabled s2w

Regards Rat.NL
[HTC One X+] grega_slo:
Exactly what happened to me but only when I uundervolted...
[HTC One X+] Rat.NL:
All other settings are default

Regards Rat.NL
[HTC One X+] 00mpollard:
Same here but my leds light up and my phone responds a second later
[HTC One X+] saitch76:
BTW: I just discovered a nasty bug in core scaling, could be the main source of lags, because it locked up to single core in some arbitrary cases. I still need some time though to fine-tune everything again.

What version did the scaling bug first appear in? I've found EX4 to perform best with InsertCoin 5.0-6 out of all EX versions so far.

EX8 causes occasional 1-2 second lags with Ondemand and Smartmax governors.
[HTC One X+] Rat.NL:
Ex8

Regards Rat.NL
[HTC One X+] nik3r:
Uhm, the bug was there pretty much since CPUQuiet and SmartMax were first added.

Why am I having no lags or sleep problems on ARHD? Explain that to me, please :D

Can't fix a problem I can't replicate. Did you try to freeze/disable all apps that even remotely do something with low-level settings and reboot? I can put together a script that forces all voltages to stock values, that's the most I can do for you at the moment.
[HTC One X+] ivicask:
Using kernel for 2 days, no wakeup lags, no reboots, no shutdowns, no capactive buttons problem.

This is my settings, also everyone make sure u DISABLE CRT animation, it can cause phone only leds turn on but screen doesnt...
[HTC One X+] djgodlike:
Max frequency les then Min?
[HTC One X+] ivicask:
Haha, no sorry, i accidentally pushed it while i was making screenshots didint notice, i re uploaded proper pic :)
[HTC One X+] nik3r:
51MHz max on screen off? Guess you're not listening to music on your phone :D

To be honest anything below and including 475MHz will trigger low power core, the power consumption difference between 475 and 51MHz is less than marginal in that case. It's set so that when the CPU is at 475MHz or below for at least 600ms, the LP core will trigger until a higher freq is needed, standby or not.

Setting 51MHz max *might* have the side effect of activating second core intermittently, because the load on this freq could be too high.

BTW I removed the HTC PNPMGR, it's all CPUQuiet controlled, so that switch should have no effect ;)
[HTC One X+] ivicask:
I got no music stuttering, either low power core does the job, or that option in tweaks doesn't work, heh, must check.

And I know about PnP, bu we added in tweaks that u can't change cpu settings until u tick that option.
[HTC One X+] saitch76:
The weird thing is that EX4 is butter smooth on default settings AND with a very slight undervolt, Ondemand or Smartmax governors, and noop or sio schedulers. EX8 is laggy with KControl uninstalled and with kernel and rom default settings. I don't understand it either :(
[HTC One X+] grinder19:
Really getting annoying that phone stops working at night mainly :-\

It freezes completely I reboot device it works for a minute and freezes again it will do this all night doesn't matter if reflash kernel, reinstall Rom it seems the multi tasking is the culprit I fixed it this morning by going to developer settings and settings max background processes to 4 then put it back to standard when phone booted up properly and su access started working.

Please look into multitasking at startup of device or wake up from sleep it needs to temp be increased to 4 background processes for device to work

It's killing my phone at present with device freezing.

It may also be default gpu mhz being to low so needs to be at least 275mhz default freq it's the smoothest freq I could find
[HTC One X+] Pjfaust:
I installed ex8 in InsertCoin 5.0.6 and everything works fine, but how do I view and change the governors??
[HTC One X+] grega_slo:
triksters mod

look it up on google play
[HTC One X+] nik3r:
Special for people with sleep/freezing issues, see if this helps:

http://elite-force.eu/emoxp/oxp_elitekernel_140108_EX8OV.zip

This is the best I can do on my end and it will only help for people with sensitive CPUs.

If it doesn't work for you, I recommend a clean ROM flash, no init.d scripts and don't touch anything that requires root and even remotely change low level settings :D

Btw: 45% battery left after 24h moderate usage in bed (flu)
[HTC One X+] grega_slo:
I have 60% after 7 hours of low-moderate use...

I don`t know how ppl are getting more than 1 day with it...
[HTC One X+] boe323:
which app can I use to enable disable zram ? ....trickstermod doesn't show these settings ?
[HTC One X+] nik3r:
Zram is not active, you need to insmod the module or it wont even show up in sysfs. Zcache is active.
[HTC One X+] phikal:
So the zram settings that show up in venomtweaks dont do anything ?
[HTC One X+] boe323:
Are you using android revolution HD tweaks with your boot image ?? ....my default.prop keeps being edited with android revolution HD added lines which I don't want and cant get rid of ....anyone know how to stop them being added ?? ....ive never flashed the ARHD boot.img or there rom .... don't make sense ....ive come from a completely stock rom. how do I get my original default.prop back ?
[HTC One X+] 00mpollard:
Latest release is fantastic and very very smooth on my phone!

Thank you nick3r, much appreciated :thumbup:
[HTC One X+] Rat.NL:
Sorry did not help

Regards Rat.NL

---------- Post added at 07:19 PM ---------- Previous post was at 07:10 PM ----------

Using same settings as ivicask and so far no issues. I changed io scheduler from sio to deadline and Z ram to off

Regards Rat.NL

---------- Post added at 07:37 PM ---------- Previous post was at 07:19 PM ----------

Went back to EX8 with same settings and no issues anymore, think had something to do with the Zram and sio settings. Don't know for sure

Regards Rat.NL
[HTC One X+] schinge:
I noticed the same problem today (I did not install any app which requires root access during last week): the superuser query doesn't pop up on newly installed app but apps already granted root access work without problems. I tried all prior versions and if I go back to EX2 everything works normally and the query popup is shown on new apps. But every version from EX3 to EX8 showed this issue.

EDIT: I use the superuser app by Koush/Clockworkmod
[HTC One X+] chrigel2000:
Thank You!!!

Now the problem with deepsleep is solved!!! You are the Best :)

Something is strange with Wi-Fi, although I have signal but no connection and alternately on and off. The same problem I have with Speedy kernel 3.5. Wi-Fi in SpeedyKernel 3.1 is without trouble. I believe with Elite kernel EX4 was no Wi-Fi trouble.

Do you have any idea what could be wrong? I have Elitkernel for a year and I want to continue with your kernel.
[HTC One X+] boe323:
Having WiFi issues as well .....thought it was my router till I seen the post above
[HTC One X+] dttung80:
When plug calble to pc and start/re-start phone. After load, the sceen black. :(
[HTC One X+] ryaneu:
Phone does not randomly shutdown , freeze or restart when its switched on and when I'm using it now.

But sometimes still have problem restarting / power off properly, sometimes when i restart or shutdown the phone, it will hang or freeze with black screen.

---------- Post added at 09:57 AM ---------- Previous post was at 09:56 AM ----------

I have the same problem. Sometimes phone will not shutdown or restart properly.
[HTC One X+] zuz242:
same for me with EX8OV ;(
[HTC One X+] boe323:
Noticed that sometimes the button backlight doesn't switch off when manually turning off screen
[HTC One X+] Rat.NL:
What Rom

Regards Rat.NL
[HTC One X+] phikal:
Ex 8 feels like best version till now for me.

Using cfq with smartmax governor. 30mv undervolted. Fast and fluied feeling. Excellent battery. Love the brightness tweak !

No restarts till now after 2 days use.

Indeed sometimes the buttons backlight keep on when turning screen off.