yashsingh1/xdaforums huggingface dataset:
[One (M9) Android Development] nik3r:
It's basically modded ElementalX 3.02 so yes, it has the CPU OC commit, didn't try it though.

But frankly if you really don't care about temperatures and want to OC, you are looking at the wrong kernel, use the stock EX instead.
[One (M9) Android Development] asacado:
Anyone tried this with the sprint variant?
[One (M9) Android Development] acat550:
Must say nik3r, this kernel is awesome. I loved Elementalx kernel, but with the premise of this kernel saving battery and being efficient, this is the cherry of top of the cake. Great work, look forward to updates of this kernel!
[One (M9) Android Development] Cryosx:
Any noticeable difference in battery life? How much more screen on time can you get?
[One (M9) Android Development] dsg2003:
Does sweep2sleep work with Elite Kernel ?
[One (M9) Android Development] nik3r:
I believe the kernel has this, if you use EX Kernel Manager, there is the option to change visual post-processing.

Sure, I disabled it by default though, use the EX Manager or userinit.sh to enable it.
[One (M9) Android Development] nik3r:
New version

EliteKernel M9 (5.1.x) 150810 is released

Just some minor tweaks.

Changes:

- added experimental integrated rngd

= you can ditch your seeder app if you have one, it should feed more than enough entropy for regular usage

- added Westwood+ TCP congestion control as default (since someone asked in EX thread and I like it)

- switched to XZ image compression (shaves 2mb off the download with no bad effects)

Enjoy :)
[One (M9) Android Development] acat550:
I only had 1 day of use and was out in the county side where signal was awful so too early to tell.. Just flashed v"150810", so will report back. So far, shes flying smooth and noticeably cooler! Thanks nik3r for the update!
[One (M9) Android Development] hgoldner:
Any reason this wouldn't be worth a spin on Verizon?

Dumped down the innertubes from my HTC One M9
[One (M9) Android Development] Alcolawl:
Hell yeah! You da man!
[One (M9) Android Development] pmacevad:
Works fine for sprint. Running out now.

Yes, must be enabled through init.d script or CPU app (I use elementalx app).
[One (M9) Android Development] BUBBA DUB'S:
[MENTION=853294]nik3r[/MENTION] , kernel booted up fine (sprint) coming from elementalx , but when I tried to flash back to elementalx kernel I got stuck in a bootloop at the white HTC screen. Any ideas why?
[One (M9) Android Development] nik3r:
See uninstall in first post. That will prevent any potential conflicts with other kernels.

For example I would just flash the ROM, Xposed and new kernel in one go. Or if you're in a hurry, restore boot and system backups.

The thing is EX only modifies ROM boot image during setup, I ship my own image that is already modified. So if it tries to modify already modified image, it can't get rid of my scripts and that can cause weirdness.
[One (M9) Android Development] dsg2003:
I tried your Kernel and I must say, that it is very awesome!

One little Thing: I run Insert Coin Rom and have choosed a smaller navbarsize (42). After install of elementalx the smaller navbar was enabled, too. But now, with elite kernel, the naval has changed to the default dpi of 48. What can I do to get the old size back?
[One (M9) Android Development] nik3r:
No idea, I'm not aware of anything that would interfere with that, try to turn the feature off and on again. It worked for me when enabled in Sense Toolbox.
[One (M9) Android Development] dsg2003:
Where can I turn on and off it in toolbox? I use toolbox, too.... But I don't find an option for that...
[One (M9) Android Development] nik3r:
Control modifications - small softkeys.

Don't forget to reboot to apply the changes.
[One (M9) Android Development] dsg2003:
Thanks... Works with toolbox..... Wonderful :)
[One (M9) Android Development] BUBBA DUB'S:
[MENTION=853294]nik3r[/MENTION] , must say I am impressed with the way you set this up to conserve battery for basic everyday use. Normally my battery would be at 50% right now due to heavy GPS use (7hrs off charger), but I'm kicking at 75% :good:

My apologies if this has been asked somewhere, but if I wanted to activate all of the cores do you have a file available to flash for that?
[One (M9) Android Development] nik3r:
If you want to change the core setup, the easiest way is to use userinit.sh

- create a new file /data/local/userinit.sh

- add your commands

- if you use more than one line, make sure you use unix line endings

(windows notepad.exe won't do, either use notepad2 or notepad++ so that you can set line ending character or do this in the phone directly since android uses it natively)

This script is executed last after kernel delayed init (60s into boot).

For example you can use one of those 4 commands:

# B0110 L1000 (3:2)
echo 104 > /sys/power/pnpmgr/thermal/thermal_cpus_offlined
# B1110 L1000 (3:1)
echo 232 > /sys/power/pnpmgr/thermal/thermal_cpus_offlined
# B1010 L1010 (2:2)
echo 170 > /sys/power/pnpmgr/thermal/thermal_cpus_offlined
# B0000 L0000 (4:4)
echo 0 > /sys/power/pnpmgr/thermal/thermal_cpus_offlined

You can do more, just get a binary to decimal converter and remember the bits L0X0X can't be disabled, system forces at least those 2 cores to be on and I was unable to find a workaround.

Just remember userinit.sh survives a ROM/Kernel reflash and I made it the priority settings, so make sure not to forget what's in there ;)
[One (M9) Android Development] veeny101:
Can I flash this on top of elemental?
[One (M9) Android Development] nik3r:
Yup, not the other way though, you would need to restore backup or reflash the ROM first.
[One (M9) Android Development] pmacevad:
This may be useful info to add to the op imo.
[One (M9) Android Development] nik3r:
Good idea, I linked the post from the "Read me first" section ;)

.. and added link to original EX thread when I was at it.
[One (M9) Android Development] Alcolawl:
Maybe I need some sleep, but is there a reason why this kernel wouldn't work with a CM based ROM?
[One (M9) Android Development] liam_davenport:
It's for sense only, Always read OP...
[One (M9) Android Development] Alcolawl:
It isn't mentioned anywhere in the OP that it's a Sense ONLY kernel. I know this is based off of EX but I thought it'd work with non-sense M9 ROMs as well... Asking questions is how people learn.
[One (M9) Android Development] nik3r:
In this particular case, making nandroid backup and trying it how people learn :D
[One (M9) Android Development] matust:
Running this kernel I'm finding that it sometimes reverts to 8 core operation. A reboot usually fixes it. Is anyone else experiencing this?
[One (M9) Android Development] nik3r:
As stated in first post, benchmark apps like Antutu can screw up cpu settings until reboot. This never happened to me but I know better and have no such apps installed at all. That could be your problem, or some mods that disable pnpmgr.
[One (M9) Android Development] matust:
Hmmm I don't have any benchmark apps installed so its not that. The only app that could be affect it is exkernel manager but I haven't changed any settings. I don't think I have disabled pnpmgr, the only mods I've done are flash elementalx then elite kernel. Thanks for your reply.
[One (M9) Android Development] sallam5010:
Phone is fast smooth and cold , but why is that ?
[One (M9) Android Development] nik3r:
Can you use an app that has detailed % statistics for all the sub-processes? It would help to know what exactly causes the drain. My kernel usage/wakelock stats show barely any battery usage.

Battery Monitor Widget calculated my average usage per charge as 3 days 1 hour so there are definitely no wakelock issues for me.
[One (M9) Android Development] k0rner:
Pretty good kernel in terms of battery life.

Phone can survive a full work day on battery,

and that means full 8h+ day of active use:
[One (M9) Android Development] k1moe:
Same here *high-five*
[One (M9) Android Development] BartLuke94:
Can I flash it without problems with the last android revolution?

Inviato dal mio HTC One M9
[One (M9) Android Development] nik3r:
Yeah I'm using ARHD12 myself, also recommend my custom /system/build.prop for this ROM for some extra oomph :p
[One (M9) Android Development] bihariel:
What ROM and config are you using?
[One (M9) Android Development] k0rner:
ViperOneM9 3.5.0, default kernel settings (3 low-power cores +2 high), brightness set to lower than medium but still auto, motion gestures disabled (so the phone does not keep touchscreen and accelerometer on all the time)
[One (M9) Android Development] k1moe:
awesome thanks a lot mate [emoji106]

Gesendet von meinem HTC One M9
[One (M9) Android Development] BartLuke94:
For apply your .prop i have to flash the kernel and after that just copy and paste your file?
[One (M9) Android Development] nik3r:
I use adb push but you can just put it on your phone storage and then copy it over to /system in root-capable file explorer.
[One (M9) Android Development] BartLuke94:
Which command do you use in adb for do this?
[One (M9) Android Development] BartLuke94:
I copied and pasted your file .prop, rebooted the phone, and now i'm stucked where i see the htc logo. The phone doesn't boot
[One (M9) Android Development] nik3r:
In recovery - mounts - mount /system manually

cd to folder with new build.prop
adb push build.prop /system/build.prop
adb shell
chmod 0644 /system/build.prop
chown 0:0 /system/build.prop

Should fix things.
[One (M9) Android Development] BartLuke94:
I restored my nandroid and it worked.

Tonight i'm going to re-flash the kernel and apply your .prop with adb.

So i have to follow your command lines and if it won't boot i have to follow your steps in recovery?
[One (M9) Android Development] nik3r:
Do it all in recovery ADB, it's easier. In normal ADB you won't have root (#) access for the push command unless you have modded ADB. Just use those commands in recovery and that's it. Don't forget to mount system first ;)
[One (M9) Android Development] BartLuke94:
Ok thank you! I'll try it tonight
[One (M9) Android Development] nik3r:
New version

EliteKernel M9 (5.1.x) 150828 is released

Changes:

- synced with ElementalX 3.05

- experimental 2:2 setup with higher frequencies for better heat : performance ratio

- possibly lower temps while charging, needs more testing

Don't forget to #comment stuff or rename your userinit if you want a taste of the new defaults after making customizations ;)

Enjoy :)
[One (M9) Android Development] nik3r:
Well, after some gaming I see the changes have hugely negative effect on heat generation, I am experimenting with the frequencies and it seems that indeed the little cluster is responsible for most of the heat generation. Currently at 960:1344MHz and I can barely cross 40°C. Just don't panic if it gets warmer than you're used to with this kernel, update is coming once I test this more ;)
[One (M9) Android Development] nik3r:
New version

EliteKernel M9 (5.1.x) 150829 is released

The core setup is now 2x960:2x1280 MHz, this seems to be the optimal solution if you try to stay below 40.5°C under all circumstances and gives excellent sustained performance compared to 1248:1344 used previously.

HTC camera app disables specific big cores by number (probably to limit overheating because of POS coding), I moved the setup to use the cores that camera app prefers, this reduced lags in this app by a lot, not perfect but definitely much better. If you want flawless camera, try the Google Camera app instead which is perfectly smooth.

Changes:

- optimized frequencies for 2:2 core setup

- improved camera performance on x:2 core setup

Enjoy :)
[One (M9) Android Development] k1moe:
Thanks for your speedupdate mate. Will check it out ASAP..

tapatalked..
[One (M9) Android Development] danielad200:
After install the kernel on android rev rom phone get very hot and not cooldown

Temp between 50-60c and battery drain faster please help :crying:
[One (M9) Android Development] nik3r:
Are you on latest firmware and ARHD12 and version from today? I would recommend to dirty flash the ROM, then the kernel on top of it, see if it settles. Try to disable (or uninstall) any CPU control apps you might have.

Also if Android is optimizing apps at startup (after cleared cache or flashing xposed), you might need to reboot again when it's done, the CPU settings can get overriden.

I did some testing after the release and could not push it beyond 42,5°C with version 150829, so it's hopefully something very specific to your setup.
[One (M9) Android Development] danielad200:
Yes i am on the last arhd 12 and on the last frimware today no cpu controls installed
[One (M9) Android Development] nik3r:
This is mine after 20 minutes of constant browsing. If the reflash won't help, I am out of ideas. Maybe try older version (not 150828, that got really hot).
[One (M9) Android Development] danielad200:
I was see your stats.. I wish i had too this temp too:(

Only for be sure.. This the frimware that need to be? I was flashed arhd from the original rom of htc and it was before the last frimware (dont look on the kernel i was back to stock)
[One (M9) Android Development] nik3r:
Looks fine to me, you could do full backup from recovery and test a clean ROM.

Or try to flash the kernel and wipe cache from recovery, let it boot up and optimize apps completely and then turn the phone off (really off, not display) and let it cool down for a moment.
[One (M9) Android Development] danielad200:
What can be the cause for this? My m9 is very special damn..
[One (M9) Android Development] nik3r:
Probably some bug in pnpmgr.
[One (M9) Android Development] danielad200:
Can you help me to figure out how to fix it? I only bought this phone yesterday and battery performance and is heating very unacceptable please...:crying: i am thinking to replace to z3+
[One (M9) Android Development] nik3r:
Try this:

1) Reflash the ROM (without wipe)

2) Download and flash latest unmodified ElementalX

See if you still have those problems.
[One (M9) Android Development] Christof-:
I would check the bootloader to see on which firmware you realy are. The listed one in the settings should be rom related (on which base the rom is). The firmware needs to be installed manually.

---------- Post added at 06:52 AM ---------- Previous post was at 06:50 AM ----------

And it will not be updated by flashing a rom which is on a new base. But if you are on a fully stock rom, you should get a update ota. So the you don't need to do it manually.
[One (M9) Android Development] danielad200:
What you mean?
[One (M9) Android Development] danielad200:
When i flashed this kernel before the install is done phone is doing restart and kernel did not installed
[One (M9) Android Development] nik3r:
Did you really get s-off and flash 2.10 firmware from here?

http://xdaforums.com/one-m9/development/ota-1-32-401-15-firmware-noredtext-t3072571

Is your camera working if you flash the kernel? That is a dead giveaway.
[One (M9) Android Development] danielad200:
I did not s-off my device this can be the cause? And i didnt flash frimware from the link you gave and camera still works i am really noob..
[One (M9) Android Development] nik3r:
Well the hypothesis is you are not really on 2.10 firmware, can you enter Download mode (hold voldown+power) and check the firmware version there?
[One (M9) Android Development] danielad200:
Check it and its Os 2.10.401.1
[One (M9) Android Development] nik3r:
Well I'm out of ideas, personally I would be trying to make ElementalX working first as this is just a mod and is potentially more prone to problems due to my modifications. If you can get EX to work, this will work as well, just remember to reflash ROM before switching kernels.
[One (M9) Android Development] danielad200:
I didnt succeced to flash ex kernel when i click install in the aroma installer the screen goes black and then phone restart
[One (M9) Android Development] nik3r:
Maybe you have too old TWRP recovery?
[One (M9) Android Development] danielad200:
Its the last version of twrp
[One (M9) Android Development] asacado:
So I decided to try out hexacore mode, I am wondering, in most anyone's experience, what are the best settings for the big and little clusters? I've wanted to be adventurous and test our full octacore mode on performance with maxed out cores just to see how high antutu got, you know, for them giggles. But for optimal performance, I was wondering what is the suggested settings. Thanks
[One (M9) Android Development] nik3r:
The defaults work fine now, enough for my gaming needs (hearthstone in tablet mode, fallout shelter...). Without gaming I use about 25-40% battery per work day depending on usage.

Remember more cores will just get you throttled faster (only minutes), they are good for burst loads, but less cores give you better and more even, sustained performance, lower maximum temps and slower raise.

If you really need extra power, I would suggest to only raise big cores max freq a notch or two, not core count, especially not little cores.
[One (M9) Android Development] grabensan:
Thanks for your hard work looking forward to testing this.
[One (M9) Android Development] grabensan:
Is it safe to use with tmobile 2.7 firmware? My phone is very hot.

I installed the first 5.1 version and it is running much cooler now.
[One (M9) Android Development] Mostafa Wael:
Hi

I have been searching for other kernels for M9 just for curiousity and csme across this Ex kernel based one

1- first i would like to point that there is a typo in the OP download link where it says 20150810 but the file is 20150829

2- i wanted to ask, do i need pnpmgr enabled or disabled before flashing this kernel ?

3- i see a warning considering AnTuTu benchmarking, does this warning include GeekBench as well ?!

4- What are exactly the default configurations for the frequencies and cores used ?!

Thanks a lot for your hardwork and wish you good luck :)
[One (M9) Android Development] Mostafa Wael:
so i caught the train here and installed latest elitex kernel 20150829 and up till now the battery life seems slightly improved, i will give it a week to analyse it properly and detect any bugs present, then i will make a battery test and report back max temps and the like :)

hope i can at least pass the 5.5 hrs SOT [MENTION=853294]nik3r[/MENTION]

for starters, i would like to inform you that first cluster can hike all the way up to 1344 MHz but in bursty manners for something like a second or two

it spends 95% of the time maxed out at 960 MHz

furthermore, i seem to be unable to modify any clocks in Kernel Aduitor app, so can you guide me how to overclock the second cluster please ? 1248 seems too harsh for some operations. I would like to raise it to, let's say for instance, 1536 MHz

last but not the least, how much time do you recommend to leave my phone settle down and judge battery life ? is week fair enough to let me judge battery life ?

thank you :)
[One (M9) Android Development] asacado:
So I am looking to make a "gaming mode" out of the M9 and wanted to flash this kernel on a performance for the maximum output of the GPU on graphic intensive games like MC5, KOTOR etc, has anyone else tried focusing on the M9's gaming aspect at all?
[One (M9) Android Development] Mostafa Wael:
Any updates here ?
[One (M9) Android Development] Mostafa Wael:
[MENTION=853294]nik3r[/MENTION] can i use your build.prop file with LeeDroid ROM ?
[One (M9) Android Development] nik3r:
Be careful there are some ROM specific things in there, I would advise to open them and mix and match your own file manually as you see fit. Vast majority of my changes ar at the bottom of the file.
[One (M9) Android Development] Mostafa Wael:
[MENTION=853294]nik3r[/MENTION] is the build.prop file of yours still valid for ARHD 14.0 ??
[One (M9) Android Development] jball:
Flashed and running well on my US AT&T branded M9 .

Thank you
[One (M9) Android Development] Mostafa Wael:
Well i get really good battery life with this kernel!! That was with a lot of drain on low-signal areas as well. All what I changed from stock configuration of kernel is changing the core setup to 3:1 instead of 2:2

In fact, that gave me better performance AND battery life. When using the default 2:2 it used to lag when opening a lot of stuff. Now i have very very very rare lags with 3:1

If there is a version of this kernel with 1.2 GHz for the LITTLE cores instead of 960 MHz, it could have even suited my modest gaming needs (Parking Mania) but that is no problem for me :) Thank you for you work [MENTION=853294]nik3r[/MENTION] :good:

P.S. really curious to test this kernel via GeekBench. AnTuTu is crap, specially AnTuTu 6.0 with its faulty UX simulations. So,... is it possible to run GeekBench ? Or will that wreck your kernel configurations ?? It is not a main thing to do as I ain't care for benchmarks if the kernel runs fine with no performance hiccups and produces great battery life :) I do it for the lols haha :laugh:
[One (M9) Android Development] Mostafa Wael:
[MENTION=853294]nik3r[/MENTION] can you tell me the command i should type to get a 1:1 core configuration? I want to test it with higher freqs ...
[One (M9) Android Development] BLEK0TA:
Plz can u put here that file with that made my kernel run in 3:1 mode like yours..
[One (M9) Android Development] Mostafa Wael:
Well i was too lazy to make a userinit.sh file or an init.d script :D also i was testing a lot of core configs so i just typed this in terminal emulator

There is a good tutorial in OP, anyways since test phase is done, i will upload a file to you as soon as i make it :)
[One (M9) Android Development] BLEK0TA:
So I made working file. I put it here it is 3:1 mode (maybe it will be helpful for someone) cuz I'm impressed for your batt life. Which kernel r u running? I can't upload it here. If someone want it pm me and I will send it
[One (M9) Android Development] Mostafa Wael:
I am running elite kernel :p :D

Anyways, when i want to game, i quickly flash Leedroid's kernel and change back to EX :)

And it looks like you were faster than me in making the file :highfive:
[One (M9) Android Development] BLEK0TA:
I mean which governor r u running

BTW here is that file which i promised
[One (M9) Android Development] Mostafa Wael:
Well other than changing the core configuration, i am running EliteKernel's default settings. The default CPU governor is elementalx with modded settings.
[One (M9) Android Development] BLEK0TA:
And htcpnpmgr is on?
[One (M9) Android Development] Mostafa Wael:
Didn't mess up with it with this kernel
[One (M9) Android Development] Mostafa Wael:
So...? Didn't get what you mean here but i guess you want to check if these are the default settings of EliteKernel. In this case yes, these are the stock settings, you are on the right track :good:
[One (M9) Android Development] Mostafa Wael:
[MENTION=853294]nik3r[/MENTION] could you please tell me how do you set the governor settings ?! What kind of commands do you type in the script?? Thank You!
[One (M9) Android Development] k0rner:
[MENTION=853294]nik3r[/MENTION], HTC kernel sources are out, as well as ElementalX 4.0 by flar2.

Any chances to see this kernel updated?

Thanks.
[One (M9) Android Development] nik3r:
I'm pretty busy right now but I will get to it eventually, been waiting to update the phone for ages :D
[One (M9) Android Development] sksal169:
I have my phone running on maximum hd android 6.0 willl thiss work? Just want some feeedback before i try it out myself
[One (M9) Android Development] liam_davenport:
Nope it's not been updated to MM you can use ElementalX only atm
[One (M9) Android Development] sksal169:
Thank you can you give me a link to that
[One (M9) Android Development] Deathmeter:
http://elementalx.org/devices/htc-one-m9/
[One (M9) Android Development] :
Can i use this with Marshmallow ?
[One (M9) Android Development] piterdemon:
Omfg... Two post earlier

Wysłane z mojego HTC One M9 przy użyciu Tapatalka
[One (M9) Android Development] :
OMG i didn't see it :p
[One (M9) Android Development] Max litcher:
Do I need to wipe my current rom then flash the kernel and reinstalling the rom or just flash the kernel as I am right now ?
[One (M9) Android Development] behrooooz69:
can i use this kernel on lineage os 16? what is the best kernel for lineage os 16? thanks