yashsingh1/xdaforums huggingface dataset:
[One (M8) Original Android Development] MassStash:
If you Google around flar has explained before why he leaves it at 512 now, and I totally agree with him. Turning off pnpmgr is bad idea on elex or stock as that and mpdecision mostly run cpu. On hypernova I've renamed them/disabled then as the hotplug structure runs cpu instead

~m8whl on the Always Solid ViperOneM8 Latest

Hypernova mako_hotplug kernel at 2.572 Max ¦ 300 Min ¦ 1.190 Sleep

interactive (Franco tweaked)*

row
[One (M8) Original Android Development] flar2:
pnpmgr actually has a list of applications and changes CPU settings when they are running. It's basically per app mode. For benchmarks, HTC has gotten in trouble for this, because they crank up the cpu settings when benchmark apps are running. They were accused of cheating, but I don't see a problem with it. Benchmarks are quite arbitrary in the first place, so why not make sure performance is optimal?
[One (M8) Original Android Development] fizbanrapper:
I'm having trouble finding detailed info about pnpmgr and Google hasn't been very helpful. I'm just looking to learn more about it in general. Anything you might be able to link me to?
[One (M8) Original Android Development] _purple_:
I'm in the process of finding the cause of a problem I'm dealing with and I'd like to learn a few things more advanced than my current knowledge. Is the switch to anykernel method related in any way to the new systemless root? Like for example because they both modify boot partition and one has to be compatible with the other? Do I have to flash EX and systemless root in a specific order or they both work regardless of which is installed first? Have there been further changes in Marshmallow on M8 Sense that bring stronger restrictions in modifications of system partition from within the OS even when systemless root and EX, which disables system write protection, are installed?
[One (M8) Original Android Development] high_voltage:
It also detects things like bluetooth file transfer and bump up the speeds and so on. Actually it's not that bad to have it on.
[One (M8) Original Android Development] MassStash:
Ahhhhh, that sounds more familiar

~m8whl on the Always Solid ViperOneM8 Latest

Hypernova mako_hotplug kernel at 2.572 Max ¦ 300 Min ¦ 1.190 Sleep

interactive (Franco tweaked)*

row
[One (M8) Original Android Development] fzn136:
Compatibility

Can it be flashed on unlocked verizon model with skydragon marshmellow.
[One (M8) Original Android Development] Giblet-dono:
nope, no verizon support at the moment
[One (M8) Original Android Development] Forsaked:
I still (an year) have a little problem, the CPU max. frequency won't stick after a reboot.

When i wake it up directly after the reboot is performed and before ElementalX-App requests SU rights, i have the right max.frequency which was marked as stick in the App.

But if i leave the phone alone after a reboot and wake it up after the ElementalX-App requested SU rights, i get a random lower max. frequency which is still marked as stick in the App.

Reflashing the Kernel and clearing and setting up the App-Settings again won't help.

The other question is, where do i find the export function for Settings in the ElementalX-App?

Tools -> User Settings -> Save Settings = creates only a empty 0 KB file
[One (M8) Original Android Development] flar2:
CPU frequencies should not be changed with apps. What ever is set in the app can be overriddent by many things in the system: thermal, battery, pnpmgr, powersave mode, etc

Please don't mess cpu freuqencies. Just let it be and let the system manage it.

For your other question, you need to make custom settings before you try to save them.
[One (M8) Original Android Development] Forsaked:
So there is no way to save the settings?
[One (M8) Original Android Development] flar2:
I don't know what you mean?

Did you add any settings o the User Settings screen? If so, you can save them. This is not a feature to save the app settings, that's messy and unnecessary. The User Settings page allows you to add your own custom settings, for anything that doesn't appear in the app.
[One (M8) Original Android Development] Mayank7795:
I am using ElementalX 6.03 on ARHD 53.1 and even when I've not selected "Disable Fsync" option while flashing the kernel, after finishing reboot and opening Kernel Adiutor to check settings it always shows me disabled and it's effects too have occurred once when the battery died in between and the phone shut down unexpectedly.
[One (M8) Original Android Development] flar2:
Use EX Kernel Manager, Kernel Adiutor doesn't work properly with my kernels.

fsync has no effect on system stability
[One (M8) Original Android Development] Mayank7795:
It's effect in the sense that a partial data reset kind of thing happened for all apps when I rebooted after it shut down unexpectedly which I think is because of fsync (as it's description explains).
[One (M8) Original Android Development] kalel77:
+1

Reboot and the value isn't the same that I set and locked in ElementalX app.

This problem is random (anytime don't happen) and is present with all rom I used untill now.

But this kernel is great as the dedicated app:D
[One (M8) Original Android Development] Forsaked:
Since i turned off the max. frequency and max. offscreen frequency it works like charm, the CPU goes up to max. frequency when needed.
[One (M8) Original Android Development] ishemes:
I read about Seeder and wanted to try it out. But then I realized I saw 'entropy' in Ex Kernel Manager as well. I played with the read_wakeup and write_wakeup values and increased them so there is usually around 14% entropy available, but I don't notice any difference on my phone. Are the standard values in ElementalX already increased from the standard kernel and is the 1.6% available entropy already enough to reduce lag caused by not having enough entropy?

Also, is there a battery penalty to keeping more entropy available all the time?
[One (M8) Original Android Development] jkolner:
When I set the "Read ahead size" to 1024, it's back to 512 after restart

I used the ElementalX paid app.

6.03 Kernel and Viper 5.0.1.

/ Sent from my phone /
[One (M8) Original Android Development] flar2:
It's all default on elementalx.

It works. Something else is changing it, maybe the vipet settings , or maybe something that HTC does. Or you have an app that disables services (like Greenify). Or you aren't waiting long enough to check. Give it a minute after booting.
[One (M8) Original Android Development] psyberheist:
Does this kernel support Xbox 360 controllers?

and what about PS3 controllers?

In the change log I see "add PS3 controller support".

Can someone explain what is needed for this to work in MM?
[One (M8) Original Android Development] flar2:
They should work, the kernel drivers are there.
[One (M8) Original Android Development] Gamesoul Master:
EX Kernel Manager just noticed me a few minutes ago that there was an update. Clicked it, saw nothing. Came here, no update. Random glitch? lol
[One (M8) Original Android Development] mjh1978:
[MENTION=4684315]flar2[/MENTION] going to give it a few more days but ever since I updated to SD Redbulled v4.0 MM and flashed your kernel, my battery life has been very bad. I was on SD Lollipop with your 4.05 kernel for the longest time with amazing battery life. Any thoughts or ideas? Phone info below.

HTC One M8 SD Redbulled v4.0

ElementalX 6.03

Dragon-Fi 26.1

S-off!

---------- Post added at 09:15 AM ---------- Previous post was at 08:59 AM ----------

Did you select "apply on boot"?

HTC One M8 SD Redbulled v4.0

ElementalX 6.03

Dragon-Fi 26.1

S-off!
[One (M8) Original Android Development] flar2:
We don't have proper source code, so who knows? But battery life is the same for me on Marshmallow, so I assume the kernel works.

Generally, a kernel cannot "cause" bad battery life. Unless there is some kind of mismatch between firmware and drivers.
[One (M8) Original Android Development] psyberheist:
Thanks - your kernel combined with "Sixaxis Enabler" did the trick for using the PS3 controller as a wired controller.
[One (M8) Original Android Development] _purple_:
I had this crazy idea. Since TWRP has a file manager, would it be possible to revert changes that EX does to the system by deleting specific files and restoring their stock backups? This way it would be possible to revert back to stock kernel. Now, a stock system partition restore is also necessary, but this will probably result in many unwanted changes. Not that I'm not happy with EX or intent to revert back to stock but I'm just curious for educational purposes. What I want to know specifically is, what are the files that EX creates or edits in the system partition besides those mentioned in the first post?

One more question. "gboost enhances gaming performance by giving a slight boost to cpu frequencies" Does this mean keeping cpu frequency constantly at max set frequency or OC?
[One (M8) Original Android Development] Forsaked:
Or just flash the stock ROM again and all changes of the Kernel are gone...
[One (M8) Original Android Development] _purple_:
That's exactly what I said I'm trying to avoid. This will "re-install" system apps that have been uninstalled, "uninstall" apps that have been converted to system apps, it will remove gsam battery root companion and will probably result in other unwanted changes. I'm looking for help on troubleshooting something. I just want this piece of info, the list of files that EX creates and modifies in system partition and do my own experimentations.
[One (M8) Original Android Development] Forsaked:
Do you consider to open the zip file and just check the folder called "system", to check which files get replaced or modified?
[One (M8) Original Android Development] _purple_:
Yes but it's not just those files. system/etc/elementalx.conf is one example I know. There might be others, created after the installation, I don't know of. As I'm not a developer I don't know if and how the rest of the changes are going to affect the replacement of EX with stock.
[One (M8) Original Android Development] flar2:
/etc/elementalx.conf and the modules in /system/lib/modules are changed. HTC continues to use kernel modules, and they need to match the kernel .
[One (M8) Original Android Development] smeejaytee:
Thanks for the update downloading now
[One (M8) Original Android Development] Aaren11:
Flar,

I'm currently having issues with the latest gpe kernel (6.03). My notification / charging LED is very dim, almost impossible to see unless it's pitch black. I've tried running without any user apps to see if they may be the cause, but changing the values of 'pwm_coefficient' and 'brightness' to 255 in sys/class/leds/amber, sys/class/leds/green and sys/class/leds/:rgb_blue - fixes the issue until the next reboot.

Is it possible that the kernel is for some reason, resetting the values down to such low integers every boot? Because that seems to be what's happening. I've tried changing the permissions of these files to read only, but this seems to have no effect.
[One (M8) Original Android Development] seilogeo:
I have tried to disable screen dimmer and every reboot brings it back.

I use this kernel a long time even on my nexus 5 in which you are able to choose in aroma if you want the dimmer to be installed.

In m8 we cannot choose to not install it at all. Problem is that in low light environment the phone turns off the screen completely.

I dont know if this happening only to me, I am on gpe laypota rom.

Thank you for your work, I also use your ex manager paid app in both my devices.
[One (M8) Original Android Development] flar2:
I think HTC has not included grep, and somehow screwed up paths so that busybox doesn't automatically link, which completely breaks my start up script and elementalx.conf
[One (M8) Original Android Development] seilogeo:
Can I kindly ask if it Is possible to have an option to disable it in aroma. Will it be survive the reboot that way??
[One (M8) Original Android Development] flar2:
That's exactly what doesn't work (if it's the same problem I just discovered on the m9). Assuming it is the same problem, I will fix it when I have a chance.
[One (M8) Original Android Development] coupetastic-droid:
Still stuck

You lost me here...

Thank you all for the suggestions.

I am pressing power+up to hard reset the device. I've done it a few times before, this time it just won't work.

The pc is recognizing the device, which gives me a lil hope that I can recover it. It won't respond to fatboot nor adb command though.

At this point I'm just letting the battery die. It's already the next day and the device is still on, stuck on the cpu settings screen and the device is super hot.

I didn't think it would take this long for it to die. I only had about 65% of battery.

I'm hoping when I get home this afternoon, the device is dead.
[One (M8) Original Android Development] Maedhros:
Had this exact same issue. You need to keep pressing the volume up and power. Hold it for like 30 seconds. It should sort itself out.

This bug occurred for me when I clicked next and than clicked back. But hardware resetting the device fixed it.
[One (M8) Original Android Development] dipole:
Quick question, I'm on converted GPE, if I flash this kernel, do I just need to reflash original kernel to uninstall or do I need to remove anything else?
[One (M8) Original Android Development] HolyAngel:
In order to uninstall you need to flash stock kernel and replace lib/modules folder with the same folder from the stock gpe Rom you're running. Could also remove elementalx in system/etc/init.d folder and elementalx.conf in system/etc folder. Almost easier to reflash the Rom though.
[One (M8) Original Android Development] Snah001:
In fact the binning goes from 0 to 15.

15 is the highest and runs stock on lowest voltage of all. Means nothing to speed. All binnings perform the same but the higher the binning the more stable it is. Voltage drops with each binning 0,1Volt so pvs15 runs with a voltage that is 1,6Volts lower than pvs 0.

Verstuurd vanaf mijn HTC One_M8 met Tapatalk
[One (M8) Original Android Development] Tiffany84:
So what app are you guys using to see screen on time because I've noticed it doesn't show anything in the settings menu like every other device I've owned. Or at least I can't find it. Don't understand why they would leave that out of the settings menu.

---------- Post added at 03:50 PM ---------- Previous post was at 03:48 PM ----------

I've had this issue before and pressing the volume up and power button at the same time always worked for me so not sure why it isn't working for you. That's the one thing I absolutely hate about not having a removable battery is in situations like this.
[One (M8) Original Android Development] ccw1134:
Personally I've found that GSam Battery Battery Monitor gives me what the native power monitor on the HTC phones lack.
[One (M8) Original Android Development] Tiffany84:
Ok, thanks. I'll give that a try. Still don't understand why they chose to leave that out of the settings menu. This is the first device I've owned where screen on time wasn't included in the settings app and I've owned a lot. It's something I checked after every battery cycle. Oh well.
[One (M8) Original Android Development] Veniceee:
will this delete everything?
[One (M8) Original Android Development] marcoxx626:
No, it'll only replace your stock kernel
[One (M8) Original Android Development] Prod1702:
Isn't it 0 to 16 not 0 to 15? I am all for it being 0 to 15 since I got a 15. I reading earlier that it was 0 to 16.
[One (M8) Original Android Development] seniorstew:
Can't seem to get the min frequency to stick.. Goes back to 172800 everytime using trickster.. Any suggestions?
[One (M8) Original Android Development] Johnny424:
Try frequency lock..from your pic looks like it's not enabled?

Edit. Also make sure to hit the apply check at the top right after every selection you make..
[One (M8) Original Android Development] flar2:
I strongly suggest that you don't try to set frequencies with apps. Sometimes pnpmgr sets the min freqency higher to ensure smooth performance. If you happen to set with TricksterMod while the min frequency is boosted, it can get stuck there.

Beyond that, it is far better to let the governor, mpdecision and pnpmgr work as they are intended to work. They have been optimized first by HTC, then by me, to be as smooth and balanced as possible. There is no reason ever to change the min frequency, and if you want to temporarily lower the max frequency, just use power saving mode.
[One (M8) Original Android Development] BWA80:
Hi!

So you are saying that its not good to under clock MAX frequency (stay at 2.3mhz)?

and what is the best value for read ahead buffer size? I've heard 128 gives best ui performance.

sorry for being a nooby noobster
[One (M8) Original Android Development] Toni10:
Thank you!

Hello flar2,

I'm using your kernel since the one M7 and I'm happy that it goes on with the one M8.

Thank you for your contribution, for adding new features and improving that device.

And I think it's time to give something back.

8BA78036DU9207728

Best regards,

Toni
[One (M8) Original Android Development] waz675:
A rule of thumb (all depends what the' usual' lower threshold clock the CPU sits about of course) is lowering a minimum clock speed too low can be self defeating for battery consumption because changing clock speeds uses more energy/battery than a CPU sitting on the same clock speed that isn't too far above that (new) minimum.

It's all relative but as flar stated, it's probably better trusting the device makers who probably spent a fair bit of r&d on getting a good minimum clock speed to boost the time needed in between needed charges to make the device sound enticing as can be with the hardware given. Plus as well as the combination of known ( good ) devs who most likely have a fair bit of experience of optimization themselves, usually kernel related in our circumstances on usually more than the current device's sub forum one is in at the time.

Tl/Dr, trust the device makers and experienced devs usually more than our own logic that pure low clock speeds will result in lower consumption.

It sometimes might, sometimes won't, but best to listen to and/or ask devs for advice usually regarding kernel mods/ configs
[One (M8) Original Android Development] GelullaBarr:
Keep pressing volume up and volume down and power for 20 sec, I have some problems when some apps like xposed or other asking for restart an the phone just dies
[One (M8) Original Android Development] Gamesoul Master:
Definitely loving this kernel as it progresses. Everything runs perfectly, and I even undervolted. Min: 700 Max: 975 (with 300Mhz/2265Mhz). Ran a test with AnTuTu to make sure it was stable, and I'm not sure how much of an undervolt that is because I prefer nice even numbers, but it runs smooth. Even if it barely does better than the M7 in the benchtest (using Interactive). I didn't even test below that, because I'm pretty sure I'm approaching a -70 or more undervolt, which is already quite enough, right?

The phone is snappy and has amazing features. Everything runs amazingly smooth.
[One (M8) Original Android Development] flar2:
It's okay to underclock, what I mean is don't try to set frequencies with software, because it will conflict with other userspace stuff trying to change frequencies (eg: pnpmgr). This is why I put the max frequency option in the installer. If you specify a hard limit there, all the software stuff will work without issues.
[One (M8) Original Android Development] seilogeo:
Thanks for explaining. Now I undertood.

Hope it is something fixable for you.

Thanks for your time anyway.
[One (M8) Original Android Development] playludesc:
Hey! Now that Sunshine is reliably getting S-Off for us VZW guys, is there any chance for a GPe Marshmallow kernel that's compatible with VZW HTC One M8's? Downloaded EXKM from the app store, checked for kernel updates, EXKM said, "Yep, here's one for ya!" Installed it, it bootlooped, but it was easy enough to fix. Got my refund, but if you get us a port, I'd gladly buy it again!
[One (M8) Original Android Development] Anonaru:
Perhaps I'm just missing something, but when I flashed this kernal, I got softbricked :( It was extremely easy to fix (I just flashed a boot.img that I know works, had a nandroid just in case too), but I can't seem to get it to work with my preferred custom ROM, which is the SD 2.0 ROM

Is there any particular intricacies I should be considering in order to force these two to work together? I am in love with the features the ElementalX Kernal offers and would be darn sad if I couldn't get it to work !

Allow me to add a little more relevant information-- This was on the HTC One M8 Sprint Edition, S-ON. Build 6.12.154.0.4, Build 2.0 of Skydragon's February 2nd ROM. After flashing, phone will not pass bootloader.

Nevermind, I had the ultimate moron moment and realized this Kernal is NOT FOR SPRINT haha

Thank you guys for your hard work :)
[One (M8) Original Android Development] sceryavuz:
Thanks for the Kernel.

I installed to my AT&T One M8 Marshmallow (AR HD 53.1) it works perfectly now.

Before ElementalX 6.03, AnTuTu 54k+

After ElementalX 6.03, AnTuTu 64k+

with Root Booster and Kernel Adiutor (ROOT) and ElementalX 6.03, AnTuTu 71k+

Kernel Adiutor (ROOT) - com.grarak.kerneladiutor

Root Booster - com.ram.memory.booster.cpu.saver
[One (M8) Original Android Development] smeejaytee:
Hi I downloaded 6.0.3 sense kernel but when I install I get error 7 some elements failed,

Here is log I hope it helps,

ATM it's just set everything @ stock values.

https://www.dropbox.com/s/n3ukdgfqioms4a9/ElementalX-m8-6.03-Sense.zip.log.txt?dl=0
[One (M8) Original Android Development] high_voltage:
Try 6.0.2, as 6.0.3 gave me problems too(restarting the phone after setup, etc, was second restart and bammmm app optimizing and then crashes all over the ROM making it unsuable to the point I can't call/run app/nothing, had to reflash the whole rom...). I guess it's something with anykernel feature using the ramdisk of the rom. Still I don't think it's a good idea + a lot of roms comes with custom kernel in them out of the box(say hi to sd 1-1.6.5 :D).
[One (M8) Original Android Development] smeejaytee:
Thanks man I'm currently running LeeDroid, how come your on 1.6.5 now I found 1.5.1 perfect the others all seem to have issues.
[One (M8) Original Android Development] high_voltage:
Nah, I mean from 1 till 1.6.5. I am currently on 1.5.1 + it's customized from me + EX 6.0.2@2.45GHz/performance thermal/stock voltage. Not sure if I will change it soon as it's uber fast and I got 7H SOT and whole day use most of the time. My highest is over 8H SOT/whole day(whole day =16-20hours from up till bed)/heavy usage on wifi 90% of the time tho and my minimum is around 6h with heavy youtube FHD/3G and games. Nothing to complain about + dragonfi is installed by default. Thumbs up to check, btw, google location service. Go check it in APP section(not power section) and there is battery drained in percent + memory usage. When I did I found that it drains like around 10% per day like in the good old times, but the power android section DON'T SHOW IT ahhahah sneaky google, they didn't fix the drain like it was in kitkat, they hide it hahah and after pressing the battery section in APP details it actually showed it in power statistics and BAM 20 percent on it. Just something to note, I fixed it in the standard way - data usage - google services - restrict mobile background. The result is around 1% on charge and a lot better mobile data standby time. :) Hope I make sense, if not will give screenshots and put more effort to explain.
[One (M8) Original Android Development] smeejaytee:
If you restrict background data doesn't it stop notifications ?

Also if give anything to match your sot time ever since I rooted my m8 I've only ever been able to get around 4hrs.

P.s the dragon_fi included with srom is an old version 25 I believe the current version is 27 just thought I'd inform you in case you didn't know this already it was in their lollipop rom too but it hasn't been updated zero said about this not long ago in his thread.