yashsingh1/xdaforums huggingface dataset:
[HTC One X+] Dangerously:
If you read the first post "NOTE: The kernel has all necessary modules embedded, it should work with any ROM without any additional flashing steps."

If you see "lag" in games, which games are you talking about? I have not seen any lag unless I'm charging the phone with my computer and playing a game (will heat up quite fast also).

This new kernel looks to resolve the over heating when charging by computer so I'm off to install and test.
[HTC One X+] Amroo1988:
thanks...

try wild blood and nova 3, you will see many lag.​
[HTC One X+] somemadcaaant:
Those games are not even optimized for any Tegra device, use google to find out why.

Testing this thru out the day it seems alot faster in general then stock kernel and temps have dropped by at least 5 degrees but I have experienced some occasional sound stutter or ticking in HD youtube videos.

Removing the 2 core limit for USB is genius, excellent work and nicely stable.

Maximus+ 3.0.0

oxp_elitekernel_121203.zip

-smc
[HTC One X+] baste07:
great! just flashed the latest.

hey nik3r are you still on arhd?
[HTC One X+] maxwen:
nice :)

thanks a lot for your hard work on this!!!

BTW: since I saw that you also "played" with memory allocators

NEVER try SLOB - its broken and will lead so kernel reboots
[HTC One X+] nik3r:
Actually I was hoping for SLQB to work, had it on ICS with great success. But dam thing keeps freezing randomly. SLUB is the next best choice I think and it's stable so far :)

Sent from my Desire Z powered by EliteMod.

Btw still on ARHD5.1 with apex and custom build.prop
[HTC One X+] nik3r:
EliteKernel 140208 is released

It may be listed as stable, but don't trust it until you extensively test it!

Changes:

- removed unnecessary kernel parts

- tweaks for maximum smoothness

- possible fix for GPU OC inconsistency

- marked as stable to avoid confusion

- updated the thread information to reflect current state of affairs

~ Enjoy

BTW @ reaper90: You could add Notepad2 binary to the userinit script and make a bat file that opens it for editing, making it foolproof. It has unix endline support and it's just one exe file, I did something similar in my UV tools package for Desire Z to prevent people screwing up by saving in regular notepad ;)
[HTC One X+] reaper90:
That's a nice idea, I'll look into this! Thanks for the kernel update!:good:

---------- Post added at 09:38 AM ---------- Previous post was at 08:44 AM ----------

userinit.sh updated! Added Notepad2 to simplify editing process. Use "edit_userinit.bat" to start editing, as soon as you've finished, saved the file and closed Notepad2, press any key to start installation!
[HTC One X+] Tazmaniiac:
Stable 4.2.x downloads: (NOT for AOSP / AOKP / CM10)

I am using AOSP lockscreen which is a tweak for viperx, will there be troubles or is it only not recommened for the pure AOSP rom?

When using the 3.5 version of SpeedyKernel which is based on your Kernel it always took around 20-30 seconds to wake up the phone, but only on AOSP lockscreen,

in the regular Sense lockscreens it worked fine. When I switched to SpeedyKernel 2.5 which is not based on your kernel everything worked fine. Is it because of the lockscreen?

Edit: I just tried it out, works fine so far so I don't think that the problems were your kernels fault, must be a SpeedyKernel issue
[HTC One X+] djgodlike:
Updated to 140208 but now it seems that the userinit.sh script doesn't apply the settings after boot. Not even after a couple minutes.. Gov stays on ondemand but have set it to smartmax in the script. Do i forget to do something?

I don't need it, but the edit_userinit notepad2.exe isn't working on my win7 32bit system..
[HTC One X+] nik3r:
Ondemand? It should be smartmax even if you don't use the script at all. Something else must be changing it.
[HTC One X+] zetnord:
Thanks for updated..everything seems really great..since the 140207 really hurt my phone :D ..lets try a couple day ;)

yes its smartmax with sio as default
[HTC One X+] reaper90:
I'm sorry, i probably took the x64 binary... reuploaded with 32 bit version :) Thanks for the hint!
[HTC One X+] djgodlike:
I think the Ondemand setting was from my last script, before i flashed new kernel and pushed new script v6..

How can i check if the script is executed?

Update: got it working now.. Don't know if it helped or wat i did wrong but i updated busybox from 1.21 to 1.22. Sorry i'm kinda new in this hacking stuff..

One small detail in the userinit.sh script v6:

##########################################################

# userinit.sh V5 script for Elitekernel on-boot settings #

##########################################################

Thanks for all the work from you guys!
[HTC One X+] ChefChaudart:
freezes

I'm happy that many users are happy with kernel, but for me, since a few releases, I got many freezes :(

Problem is that I do not remember when it happened first ...

What can I do to prevent this ? ( I use default parameters )
[HTC One X+] reaper90:
The kernel is undervolted by default, which is probably too much for your phone. Try userinit.sh script which uses default variant 4 voltage. Worst case wold be you need to change the 0 to a 25 in voltage script line, but then your phone's SoC must be really bad^^

Otherwise i think there's nothing that could cause the freeze with latest version.

---------- Post added at 02:48 PM ---------- Previous post was at 02:42 PM ----------

I think i will simply remove the version number in script file in next release. I will probably forget to change it there again, so i'll only change version number on .zip package^^
[HTC One X+] saitch76:
I've added this section to your script:

# Read Ahead Buffer

echo 2048 > /sys/block/mmcblk0/queue/read_ahead_kb

Good work on the script!
[HTC One X+] tecno321:
[MENTION=4085040]reaper90[/MENTION] What exactly does the edit_userinit.bat? I make the changes with ES Explorer, what exactly does "edit" script?
[HTC One X+] reaper90:
userinit.sh is a script that you can use to apply settings on boot. The zip file contains 2 batch files that are meant to be used on a computer and using these allows you to easily change settings in userinit.sh on your computer and then install it onto your phone.
[HTC One X+] ChefChaudart:
Thanks :good:

Seems stable now.

Before, I used to undervolt to -10 without any issue.

Do I have to set echo 10> /sys/kernel/tegra3_dvfs/cpu_millivolts to get it ?
[HTC One X+] nik3r:
Battery Monitor Widget says 140208 only used 31% of battery in last 24 hours, including light texting and some iFunny time in bed :highfive:

Also 100% stable so far, no reboot since the original flash.

No, use 25, it's in the steps of +/- 25.
[HTC One X+] adamkx7xdesire:
echo -10 /sys/kernel/tegra3_dvfs/cpu_millivolts
[HTC One X+] ChefChaudart:
:crying:[EDIT]

I got freezes once I used tried to take pictures ..

In /sys/kernel/tegra3_dvfs/cpu_millivolts I got "current mv changes -25" does the modification has been made ?

I put ; echo 25 > /sys/kernel/tegra3_dvfs/cpu_millivolts

Should I put ; echo -10 /sys/kernel/tegra3_dvfs/cpu_millivolts
[HTC One X+] reaper90:
default (without any on boot script or app that applies this on boot) is already -25mV while 0 means default variant 4 (best SoC build quality) voltages. If you've got a variant 3 SoC (not as good as variant 4), the elitekernel default voltage may be already a 50mV undervolt for your phone. I also need to set this to 0 or i'll get random reboots and freezes. Also stability when undervolted may vary depending on battery level, temperature and/or frequency transition speed.

I'd recommend to set it to 0 no matter how much you could undervolt with another kernel. Just one single reboot already shoots down the battery savings you hoped for, so better have a stable kernel with default values than an unstable one but undervolted.

---------- Post added at 07:30 PM ---------- Previous post was at 07:21 PM ----------

@nik3r:

just saw gpu_oc and gpu_quick_oc entries have disappeared, did you remove it on purpose?
[HTC One X+] ChefChaudart:
So I put echo 0 > /sys/kernel/tegra3_dvfs/cpu_millivolts

But is it normal that I see after reboot in cpu_millivolts ;

Current mv change -25
475mhz: 725 mV
:
1700mhz: 1187mV
[HTC One X+] nik3r:
I downgraded it to older static 520 OC, do you remember a kernel that did the variable 600 OC where the calls actually worked? Because I previously took this straight from Blade.
[HTC One X+] reaper90:
no, this means it is not executed. did you use my script or did you make one yourself? In case you've made your own or you didn't install mine using install_userinit.bat file, you might need to grant right permissions.
[HTC One X+] ChefChaudart:
I used you script. But I modified manually the userinit.sh otherwise what I changed is not saved using edit_userinit.bat !?

BTW I think the kernel shouldn't be undervolt by default, but this choice let to user. ( in Venom ROM you can do it easely )
[HTC One X+] reaper90:
Do you use any other app to set kernel or cpu settings on boot? there may be a conflict.

Also what rom do you use?
[HTC One X+] ChefChaudart:
I got Venom 2.02 and CPU Master.
[HTC One X+] tecno321:
Today I installed Viper ROM and by default I have ondemand, I don"t understand why? Any help?

Regards
[HTC One X+] nik3r:
Disable any apps that modify CPU settings and reboot.
[HTC One X+] reaper90:
I also experienced this on Insertcoin and Magiorom when testing your EX9/10 kernels, seems like your scripts aren't executed although they're called in init.rc
[HTC One X+] dubdroid_:
hey!

maybe the guys with problems should delay the execution of the userinit.sh script a bit by adding a "sleep xx" line at the beginning (!) of the script (xx means time in seconds, try 40 sec or more...)

I had to do this often for my settings, cause especially Venom ROM changes many (unwanted) things somewhere between first appeareance of bootscreen and phone fully booted, and I don't know how to disable this or even which scripts do the things set in venom tweaks app.
[HTC One X+] tecno321:
I disable venom tweaks, ondemand and 1.7max continues...
[HTC One X+] nik3r:
No, the userinit is fired after kernel tweaks automatically, which is already 60s after boot.

Look to /data/local/ folder, you should see a file named em_delayed_tweaks last modified at the date and time of last boot.

If it's there, something overrides the settings more than a minute after boot (likely an app or init.d script).

If it's not there at all, you need to update your busybox most likely.

Userinit.sh has precedence over any settings in the kernel, it is executed as last.
[HTC One X+] tecno321:
May you share with me the link to update busy box? Thank you for your support.

Enviado do meu HTC One X+ através de Tapatalk
[HTC One X+] nik3r:
https://play.google.com/store/apps/details?id=stericson.busybox

That should help, also update superuser if you haven't.
[HTC One X+] tecno321:
EDIT: I updated busybox and disable built-in superuser venom rom, and install supersu. Now it works.
[HTC One X+] reaper90:
Sorry, never tested this on blade kernel. But maybe it is/was "bugged" in Blade kernel too? I'll see if i can get latest Blade kernel for HOX+ and some rom that works with it and try will try this. But the freezes sometimes when using gpu_quick_oc switch (mostly back from 600 to 520MHz) were the same, so i guess behaviour is the same on blade kernel...
[HTC One X+] nik3r:
Well I'll revisit this later and check the code for bugs when I have more time.
[HTC One X+] tecno321:
Hello. In technical terms what does fast charge? May reduce battery life and daily duration...?

Enviado do meu HTC One X+ através de Tapatalk
[HTC One X+] reaper90:
Fastcharge allows (up to) AC charging speed when connected via USB.
[HTC One X+] xenoche:
noticed some stuttering during music playback using the latest kernel. not sure if anyone has experienced the same.
[HTC One X+] nik3r:
Check your background processes, could be facebook updates or something similar going off and eating more CPU than 475MHz when screen off can handle. Some light music clipping can occur in power saving mode when something heavy is going on. Without power saving it should not happen unless some app is going nuts without your knowledge.
[HTC One X+] adamkx7xdesire:
The same thing on my side!! I'm sick and tired of this device because of the music playback :(
[HTC One X+] reaper90:
As nik3r already said, Facebook app (maybe also the messenger) is really bad when it comes to screen off... If you don't need the newsfeed all time, turn it off in sync settings and/or lower update interval in app settings. Try Greenify from google play store to prevent unwanted apps completely from doing any background activities.

Also you may check the script in my signature if all this doesn't help, it's easy to use/install and allows you amongst other things to increase screen maximum frequency, core count and minimum frequency on media playback. As for screen of maximum frequency, 475000 means low power core only, anything higher allows two cores by default. Normally the next step 640000 should be definitely enough to get rid of any audio stuttering, maybe 760000 when using bluetooth headphones, but this also increases battery drain when low power core isn't used.

If you really need that high frequencies when screen is off, then you should definitely check for bad apps again!
[HTC One X+] nik3r:
Well you have 3 options:

- don't use power saving

- clean up your system and disable garbage background tasks

- use stock kernel and deal with the terrible battery instead

I was just doing my taxes and was playing music just to test it. Power saving mode enabled, default settings, PowerAmp and it yet has to skip after 2 hours of music.

Just be aware this has no effect in power saving mode, there are no low limits on CPU when PS is on.

And yeah Facebook Messenger is utter garbage all around when it comes to optimization, seems to me that FB devs don't really get the concept of multithreading and caching.
[HTC One X+] adamkx7xdesire:
Yeah cool but why this problem didn't appear on ex11? Now I have a lot of scratches even on screen on. Even video playback on YouTube lags sometimes :( So it doesn't come from facebook or other garbage... I have posted my script setup few posts ago and it was working perfectly on ex11 ... Some changes since that version must have bad influence on sound/video playback...

And I don't use PS at all...
[HTC One X+] reaper90:
ok, didn't know that, but from my experience, increasing screen off maximum frequency helps more than incresing audio min frequency.

Music stuttering when screen is on? o.O never had this, i hardly get it when screen off... Youtube also works fine here, videos are perfectly smooth. Do you have any cpu controlling apps installed?
[HTC One X+] adamkx7xdesire:
No I don't have any. Just to be sure I've wiped dalvik cache and cache and killed all background apps and turned off auto sync. Music lags on screen on&off... YouTube has lag only once after 30min of watching so it could be just a random bug.

But I remember that on some early version of elite kernel for sense 4 I've the same issues or even worse! A lot of scratches on video player music player YouTube no matter if screen was on or off...

I have CPU id 4(so as someone said the best one)....
[HTC One X+] reaper90:
cpu id/variant just indicates build quality of a chip, in terms of performance all Tegra3 in HOX+ are the same, because the SoC architecture is all the same.

Do you use stock music player? Did you try backing up your current rom, doing a full wipe and then a clean reinstall? just for testing purpose?
[HTC One X+] nik3r:
The clipping noise is most likely your CPU utilized at 100% and the buffer underrun.

I'd suggest go to settings-developers and there's the option to show CPU usage overlay, then keep an eye (ear) out for the skip, the CPU usage graph should light up like a christmas tree and the offender should be on top of the list.

If the developer settings are not there for you, you need to tap on kernel build 5 times in device info.
[HTC One X+] adamkx7xdesire:
Actually nothing interesting appear when music scratches... com.android.systemui mediaserver surfacefinger system_server kswapd0 and other process... Nothing light up like Christmas three... I've noticed that while writing this message via talk pad and listening to music at the very same time music scratches the keyboard Swype doesn't respond... So the whole system has lags at this very same time o.O
[HTC One X+] nik3r:
Hmm, low memory killer could do that if you have a leak somewhere or way too tight oom settings. Check the app memory usage if you see something suspicious.
[HTC One X+] adamkx7xdesire:
These are screenshots of task manager 3 before and 1 after killing everything. The scratches appear after ~2min on screen on w/o any new process on task manager ;( I'll back to ex11 just to be sure if it's lag free...

EDIT: Not a single scratch after ~30min listening to music ~15min on screen on (and doing some multitask stuff), ~15min screen off... on EX11..... so what is going on?
[HTC One X+] Tazmaniiac:
Sometimes music laggs here too when screen is off, but I also had this on stock kernel so I don't really mind it, it also rarely happens.

Just a random question:

What has priority: The cpu changes I made in the cpu tweaks (such as cpu min/max or cpu governor) or the powersavemode. You said something that this kernel also has a "extreme powersavemode", that's why I ask here and not in the Questions section
[HTC One X+] nik3r:
Power saving will only hard cap maximum freq to 1150, you can change the rest.
[HTC One X+] djgodlike:
I had many freezes before i used reaper90's script for stock voltage. But now i got a new problem..

Had to update busybox but after maybe a couple hours, apps don't open anymore while Sense keeps running. Tried to remove Viper 2.0.2 Superuser.apk and flashed SuperSu zip with recovery, but no luck.

I don't think its kernel or voltage related but what could?
[HTC One X+] adamkx7xdesire:
lol :P I have to say that I did the same... update busybox and now apps don't start up after few hours... that's wired xD I'll tre reinstall the rom w/o wipe.. you should Try it too
[HTC One X+] djgodlike:
Did a recovery from a backup but after busybox update same problem..

Don't think a clean rom install solves this..?
[HTC One X+] adamkx7xdesire:
sorry but I can't understand what you'd just said...
[HTC One X+] pfzmomo:
Is it normal that my phone is getting laggier with time?

I know that it is normal that it is becoming slower with time but it is becoming laggy in some hours, I use greenify and I usually have more than 250 MB of free RAM

I use interactive governor + sio scheduler, I think that these are the settings that gives me the best smoothness/performance

I'm on last stable build + Insertcoin 5.0-6
[HTC One X+] phikal:
I use fstrim, no lags anymore. :)

Verstuurd van mijn HTC One X+ met Tapatalk
[HTC One X+] ryaneu:
It seems like this kernel breaks root access and also superSU/superuser.

superSU will not prompt me when an app requires permission.

I have the latest busybox installed before flashing the kernel.

I'm on stock 4.2.2 sense 5 rom without any apps that tweak or overclock cpu/gpu

I can confirm that its kernel problem because when i go back to stock kernel, root access and superuser is back to normal.
[HTC One X+] nik3r:
Of course, this kernel requires busybox properly installed, It says the minimum usable version before flashing. Kernel module injector relies on it and all custom ROMs have it out of the box.
[HTC One X+] kuihome21:
Nik3r your last release is amazing. Thank you
[HTC One X+] Nemesis94:
Could you post your kernel settings please ? Thank you ! :)
[HTC One X+] kuihome21:
I didn't do anything at all, i installed the kernel and leave it at default setting, its been 3days now. I just underclock my cpu by 25, i will see how is the battery life and update later
[HTC One X+] djgodlike:
Sorry. I did a system restore from my latest backup (from before updating busybox) in TWRP. Updated busybox and problem is back again.

Does a clean install of the viper rom, solves the problem?

Or maybe reflashing kernel after updating busybox???

Problem: After a couple of hours not opening apps anymore.
[HTC One X+] adamkx7xdesire:
I've solved this problem by reinstalling viper rom without wipe. And I DON'T update busybox anymore... Maybe viper doesn't support busybox changes/updates...
[HTC One X+] pfzmomo:
I get "partition already trimmed" everytime I use it, so the lags are still here after I run the process
[HTC One X+] schinge:
It does not break root access, but you cannot give root access to new apps. All apps that already have permanent root access work without any issues. I have the same problem on InsertCoin 5 and now ARDH 8 - fixed permissions and reinstalled Superuser (or SuperSU) and Busybox several times, but after approx. one day the problem occured again ... I even reinstalled the ROM from scratch.

If I use the fallback kernel, the problem is gone.
[HTC One X+] djgodlike:
My phone is freezing because Venom Tweaks.. In Venom Tweaks i have set undervolting to 0mv but after a reboot it is back to -25mv but setting shows 0mv. I have ticked Apply Settings on Boot.

When i change setting to -5mv and back to 0mv it changes and keeps te setting in /sys/kernel/tergra3_dvfs/cpu_millivolts. Maybe because Elitekernel is undervolted by default..

Or is this a bug with the Apply Settings On Boot? Does it need a delay in the script of Venom Tweaks(sleep 20).. I'd rather have used reaper90 his script, but can't update busybox with Viper apparantly..
[HTC One X+] saitch76:
I have had the apps not opening problem when running all versions of EliteKernel after EX11. It seems like a kernel-specific problem as it doesn't happen on stock or SpeedyKernel.
[HTC One X+] 00mpollard:
Kernel works fantastic for me :) no issues at all at default on venom 2.02!
[HTC One X+] phikal:
Latest kernel version working perfectly.

Did a complete reinstall of the rom. (viper)

Am using tegraoverclock, no undervolting.

Working like a charm. In combination with fstrim phone stays fluid.

Verstuurd van mijn HTC One X+ met Tapatalk
[HTC One X+] fvdheide:
Is it wise to use tegraoverclock with elite kernel? i thought it's counter productive to use oc apps with this kernel?

anyone?
[HTC One X+] phikal:
Not overclocking, running smartmax on 1700 mhz.

Like the tegra prism option the app has and figured with tegra in the apps name I couldn't go wrong. :)

Verstuurd van mijn HTC One X+ met Tapatalk
[HTC One X+] fvdheide:
Why would you want to use the PRISM option? Isn't it working well on the HTC One X+ devices?

And what does running smartmax om 1.7 ghz do to your battery life?
[HTC One X+] phikal:
Just a extra option to play with :D

Not much difference in batterlife with 1600mhz.

Verstuurd van mijn HTC One X+ met Tapatalk
[HTC One X+] ivicask:
[MENTION=853294]nik3r[/MENTION] Could you maybe try smoothen up music playback? IM getting skips even with screen ON, doing simple task as pulling notification sometimes skips music, i dont want to turn off power saver for this or mess with with audio playback frequency's, or change to on-demand (seams to work ok on it)

I think stuff like this should come before power saving, but your call anyways, kernel works very smooth and battery friendly other than that.
[HTC One X+] nik3r:
That's really weird I don't have any issues with audio in PowerAMP and I barely ever disable power saving.

Can you fall back to 140207_2 and see if it's something I changed in last release?
[HTC One X+] ivicask:
Try using stock player not poweramp. Um.. am i only one here?IM on fresh rom flash and kernel, never had this issue before, except with screen off on some test kernels.

Anyone else uses default smartmax and powersaver ON, and has NO audio skipping in stock HTC player?

Dont have time or headphones to test right now.