yashsingh1/xdaforums huggingface dataset:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] brucethemoose:
I just cited that as an example of manufacturers cutting tolerance limits really close. They try to squeeze every last mAh out of the battery that they can.

Yeah 100% won't cause problems now, but 3/4 years from now my HTC 10 will barely even hold a charge at the rate Im using it :(. I tend to hold onto phones for a long time.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] DeeZZ_NuuZZ:
after 3/4 years you will have power banks with much mAh and less size, so should not be a problem

i'm also a power user, but no phone from HTC had battery problems after years of usage
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] brucethemoose:
I don't believe you :P. I've worn down the battery in every phone I've owned, and I was lucky enough to get a free battery replacement with the last one.

A power bank is an option, but I'd rather just preserve my battery now than carry a separate pack around later.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] flar2:
Ex Kernel Manager works for what you want to do.

I didn't know it was such a money making machine. I guess that's why I still have a day job, drive a 2007 used car and live in a ****ty rental townhouse.

Fyi, I haven't sold enough copies of my app on this device to cover the amount I paid for it.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] dukat0s:
well said my friend [MENTION=4684315]flar2[/MENTION] well said ! there always be people who want anything "free" and never gonna pay a small amount of money to support the Dev...

We know who u are here in the xda and in other forums ..Chill u are the no#1 kernel in all the devices u support =) have a nice weekend !
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] angelo.bautista5:
thanks bro
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] CharliesTheMan:
In the vape world, there's one company that puts a ton of engineering and support into their regulated motherboard with software support, called Evolv, and they make the DNA 200 temperature control chip and software, and we use LiPo batteries in some of our advanced vaporizers.

The way Evolv did this, although it's for LiPo and not the Li-Ion batteries, is allowing the user to have a variable. If the user choose Max performance and capacity, it charges to 4.2 volts. If the user chooses Max battery life, it charges the battery to 4.1 volts.

If you build your own kernel I was thinking that might be a way to go about it. Instead of using 80% capacity, maybe you could change the voltage cutoff.

The thing I think might be tough is all this cool advanced charging internal circuitry and optimizations, make tweaking things more difficult sometimes. But hopefully if you choose to do it, you can make a tweak like capacity or voltage, into/around the charge circuitry software so all the other features still work, like QC 3.0, so you don't accidentally cause more wear on the battery by trying to preserve it.

Also FYI but my M7 is a few years old and has taking a hell of a beating with kernel testing, fast charging and kernel testing, overclocking and overheating etc, and my battery is still going really strong.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] dastinger:
Hey [MENTION=4684315]flar2[/MENTION]

I updated to the latest MM compatible version and I'm having issues with the fingerprint sensor. Once the phone has been in my pocket for a while, I can try using the fingerprint sensor all I want, it won't work. Thing is, as soon as I press the power button, it vibrates and unlocks just like it should work normally.

Any idea why this is happening?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] brucethemoose:
Cool info. I'll have to look into LiPo and the undoubtedly growing vape industry.

Right, that's a better way to do it. Relatively straightforward to implement too, I'll monitor my battery as it charges/discharges and see where 4.1V falls in the cycle.

Yeah, if none of the HTC 10 kernel devs are interested in the feature, I figured tweaking it myself is the next step. I have a few ECE classes under my belt, but I know literally nothing about Android kernel development, so my odds of success are not great :P
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] TeHashX:
After flashing boot.img I will lose Magick and root :(
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] DeeZZ_NuuZZ:
Use the magisk patcher
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Kyuubi10:
Hey [MENTION=4684315]flar2[/MENTION], I updated to N... Currently on your N kernel, but the analog audio option isn't there anymore, even though I selected it in aroma.

Is that how it's meant to be or did I mess up somewhere?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] flar2:
You need to select it during install
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] TeHashX:
Sorry, how to select options during install if I don't have twrp?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Magnum_Enforcer:
Use TWRP for Nougat, which can be found here:

http://xdaforums.com/showthread.php?p=70031107

Sent from my HTC 10
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Kyuubi10:
I believe I did...

I'll try once more.

---------- Post added at 03:57 PM ---------- Previous post was at 03:30 PM ----------

I did, it still isn't appearing. :/

I'm still on MM firmware, idk if tht helps.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] duowing:
I'm glad I'm not the only one. Possibly it's just my phone, but I've noticed issues with aroma lately. Things being backwards, not installing when checked or vice versa. This primarily happens to be with leedroid aroma installer.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Alarand:
nvm
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Haldi4803:
Nope, thats because you live in Canda.... way to expensive there ^^

You could move to india though ^^

You don't need kernel stuff for that.... did it on my Sony Xperia Z2 with Stock kernel.

http://xdaforums.com/showpost.php?p=68060043&postcount=171

Big chances it also works on HTC 10.

Charging: http://xdaforums.com/showpost.php?p=69323179&postcount=77

Discharging: http://xdaforums.com/showpost.php?p=68666732&postcount=50
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] dastinger:
Hey [MENTION=4684315]flar2[/MENTION], sorry for asking again but you might have missed my post, I know you have a lot of threads to follow.

Since the latest update for M, the fingerprint sensor doesn't work after having the phone in my pocket for some time. I touch it, it doesn't vibrate or anything but, when I press the power button the phone vibrates and unlocks immediately to the home screen.

I'm stock with your kernel and Xposed.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] flar2:
Use the previous version of the kernel
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] dastinger:
So that's expected behaviour?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] CharliesTheMan:
A lot of people were requesting he add the feature to prevent the fingerprint sensor from being activated while in the pocket. People were having their body heat constantly activate the finger print sensor and drain the battery a lot from constantly attempting to wake up.

So [MENTION=4684315]flar2[/MENTION] added the commit to prevent fingerprint sensor from going off in pocket.

He may tweak it some more or revert that change but in the mean time, reverting to previous version will eliminate it being a problem for you.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] flar2:
No, it worked fine for me.

I'm not going to work on it any more though, because HTC added it for Nougat. I've now upgraded fully to Nougat and I will not be reinstalling the older firmware.

So best thing to do is use the version from before I added that feature.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] dastinger:
Thank you so much for your reply and explanation. I know that this is a new feature added by flar. What I'm not sure is if what is happening on my phone is the default behaviour of said feature.

I thought that, as soon as the proximity sensor was uncovered, fingerprint sensor functionality would return to normal. So, as soon as I pressed it with a registered finger, the screen would turn on and unlock.

But that's not what happens. What happens is, I touch the sensor with a registered finger and nothing happens. But, as soon as I press the power button, the phone vibrates to tell me that it recognised a fingerprint and unlocks automatically.

I just want to know which one of the two is the expected behaviour.

---------- Post added at 12:07 AM ---------- Previous post was at 12:06 AM ----------

Just saw your reply after posting mine, sorry.

Thank you for making it clear. No worries, I'll just downgrade. Thank you for all your work.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Alarand:
Hey [MENTION=4684315]flar2[/MENTION] ele kernel working wonderfully on nougat :). I was wondering if the notifications while charging option was part of the kernel or if that's a rom thing. Anyways great work as always :good:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jhadsfi:
Hi [MENTION=4684315]flar2[/MENTION] I had a request relating to your EXKM app. Could you please make it so that the digital gains in the sound portion can be edited by typing rather than moving the slider? It gets very annoying as the slider moves at times when you take your finger off the display. If you find it feasible please add it. Thanks a lot for the great app and kernel though.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] flar2:
I've been planning to totally revamp the sound screen, just haven't found the time.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Mikee4fun:
When attempting to reboot into recovery via apk program or even in an adb console it just reboots. This has been an issue in the past with your kernel. I forgot what you did to fix it. Just wanted to bring it up. Thanks for you work sir. Only way to enter recovery is by holding down volume down and power. This is on the N kernel.

Update I forgot, do not select disable fsync and it will reboot into recovery. heh, been a while since I used anything but stock rooted kernels.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] KACE321:
I noticed in the features list it says "Does not force encryption"

- is that the same as the official SuperSU setting the flag 'forceencryption= encryptable' ? (i.e. optional)

I plan to install LeeDroid, when I flash the ROM should I therefore choose not the encrypt the data on first run?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] DroidIt!:
This kernel works great with Lee rom btw :) Afaik you'll want to always choose to not encrypt. I don't think that TWRP bug has been worked out yet ;)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
Check again....
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] DroidIt!:
LOL, will do ;)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] KACE321:
So wait if I install LeeDroid, then this kernel, and finally SuperSU, everything should be okay and the flag=encryptable ?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] heslo.rb26:
Provided you flash the latest version of TWRP (which I think is TEST3) then yes, you'll be fine
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tibere86:
Anyone still having issues with analog gain options showing up in EXKM? I selected it during the AROMA set up, but it still doesn't show up in EXKM. I'm on Nougat and EK v1.00
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] KACE321:
Thanks for the info :)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] flar2:
Update!!!

This version fixes the sound settings.

For Nougat only!

Download

ElementalX-HTC10-1.01-Sense

Changes:

-fix sound settings
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] heslo.rb26:
Thanks mate!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Ahowe125:
Hey, hopefully quick question for you guys. I have a Verizon HTC10 that I was running EX 0.26 on with Viper ROM. I picked 0.26 because the ROM was based on 1.9x, but at that time the official Verizon firmware is still based on 1.8x.

I have since changed to a Nougat Dev port which is based on 2.28.617.8 but we (those running it) are still using 1.8x MM Firmware.

To the question.. do you match the version of the kernel to the base of the ROM, regardless of the firmware base? or is that not a good idea with the difference between MM and Nougat. Thanks!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
Kernel has to match ROM base, at least across Android versions - otherwise there's a chance it won't even boot. And if it does boot, stuff probably will be broken.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] flar2:
Update!!!

For Nougat only!

Download

ElementalX-HTC10-1.02-Sense

Changes:

-cpuidle patch

enable IP6_NF_MATCH_RPFILTER
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] DeeZZ_NuuZZ:
Aaaaaah just flashed 1.01 ???
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] keaheng:
please add option to bypass IPA_WS
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jhadsfi:
Can a kernel do that? That wakelock has been killing my battery since forever.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] keaheng:
EXKM can
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jhadsfi:
How?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] keaheng:
https://github.com/franciscofranco/bullhead/commit/2a4f67b88e1518e15e2b21684a06ec65af335472
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jhadsfi:
But this is Franco kernel is it not?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] keaheng:
Then merg in Ex Kernel lol
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Quadrider10:
Thank you for all your hard work flar2!!!!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] MrH871:
is it normal when i flash kernel n wipe both caches that the optimizing app box doesnt show before booting into OS?? u know that annoying thing that takes forever... is it a Nougat thing??
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] HaTrED_:
It seems so! There's no optimization dialog box anymore under nougat!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] RogerF81:
But how? Where to find it?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] DeeZZ_NuuZZ:
Nougat uses a hybrid compiler which creates dalvik/art cache while system is running. You might notice higher cpu usage and higher temps. But that is normal. Therefore no optimizing before boot and new compiler is also a bit better for battery as it doesn't drain and let the phone get high temps like old compiler
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tibere86:
v1.01 & 1.02 break Android Pay for me. Flashing the v1.00 boot image restores Android Pay functionality. Can anyone else confirm?

Edit: I have ruled out EX kernel as the culprit. No sure why flashing latest unofficial TWRP seems to break Android Pay for me.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] bloodhawk:
I have been trying to get Android Pay working for a while now, with no results. Would it possible to know what your setup is and what steps you took to get it up and running on a custom ROM? Would really appreciate it.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] sdamark:
Working fine without issues on latest Viper rom with latest EX kernel.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tibere86:
Okay I have done a few more experiments and have ruled out EX Kernel. Sorry [MENTION=4684315]flar2[/MENTION].

Scenario1 = Flash RUU, flash EX kernel boot image, Android Pay works.

Scenario2 = Flash RUU, flash EX kernel boot image, flash latest unofficial TWRP, Android Pay doesnt work.

Scenario3 = Flash RUU, flash EX kernel boot image, flash latest unofficial TWRP, decrypt data, Android Pay doesnt work.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] bloodhawk:
So i just followed these steps and its up and running on ICE 3.2.0 + EX Kernel + Magisk with PHH. (With the latest TWRP Test3 image and decrypt data)

http://xdaforums.com/htc-10/develop...tweaks-hub-t3379151/post69967584#post69967584

Hope this helps!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] RogerF81:
[MENTION=4684315]flar2[/MENTION] It is recommended to leave pnpmgr enabled, right? I ask because I had/have some issues. With pnpmgr enabled, I am not able to get rid of lags while playing the game "Alto's Adventure" (though every other game/app seems to be fluid). Even with AdrenBoost set to high an the MaxPerfomance PnP script flashed, no success. I've tried now the Nebula Kernel 7.0.2 beta, which has another approach and disables pnp completely - Alto is running smooth (while temps are looking good for now and battery, too, at first glance). So what do you suggest for ElementalX Kernel? Leaving pnpmgr on or trying to disable it?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] DeeZZ_NuuZZ:
yea because nebula kernel uses another cpu control. so if you disable pnpmgr without having another one in system you will run into issues, like crazy heat and such. you can find high performance mdoe in developer settings. try using that
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] RogerF81:
Test: ElementalX 1.02 (both cores overclocked), with pnpmgr on, and [MENTION=1792279]ivicask[/MENTION]'s performance pnp tweak vs Nebula 7.0.2 beta (no oc), without pnpmgr, custom interactive profiles. Both kernels tested within the same environment (LeeDroid10 V3.0.1, same scheduler [FIOPS], tried to use the same apps for about the same time). Looks very similar I would say. Only difference which I noticed: Nebula without pnpmgr feels snappier when playing (Alto's Adventure e.g. is stuttering on ElementalX).
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Eliminater74:
a little seret is this, I started my dev work on a LG G3, There was no helper programs that change things on the fly for you.. I am also a big believer in allowing USERS to control what they want.

everyone uses their device Differently, I for one am not a gamer. so I dont need to have high performance everything. but some are.. If you learn all about the govs and the settings and what they all mean,

you can make the kernel do the same thing the pnpmgr does, and more.......... pnpmgr hampers your true performance that this device is capable of doing..... All I did was remove that lock..

allowing the true speeds to show........... and I only just began..........

Also im am just one of them crazy Devs that do things most others would never attempt..

[MENTION=4684315]flar2[/MENTION] is a very respectful Dev, and hes more of a keep it close to stock but with a good kick to show its worth it.....................

I have used his work in almost all my kernels.... And yes I did ask his permission to do so..... Even know I didnt have too.. but its out of Respect for other devs hard work......

But I am a little impressed with the scores my self...............
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] prstorero:
It isn't much (college student here), but here's a token of my appreciation.

1JA58013BU119081F
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] mikenjen0524:
Which version do I need?

I'm running SantoD's Nougat Beta with MM firmware on Verizon. Should I run 1.02?

Thanks.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] DeeZZ_NuuZZ:
yes
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] mick_soul:
Thanks [MENTION=4684315]flar2[/MENTION] for all your hard work, it is much appreciated!

Merry Xmas to you and your family.

Enjoy the holidays and take a break now!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] flar2:
Merry Christmas to all those who celebrate Christmas, and Happy Holidays to those who celebrate other traditions at this time of year.

Thanks to everyone here for a great year of development on the best phone of 2016.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Ahowe125:
Very much agreed, I love this phone, and love your work. Thanks for everything!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] DroidIt!:
:) Yeap. Noticed you've been pushing out updates to your ExApp and Button Mapper like a mad man. Thanks a ton flar for all the continued updates and hope you have a good Christmas. :svetius:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Pizzo78:
Thanks. Merry Christmas to all
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] JourNo:
When i flash ex 1.02 the red led when charging replaced by the orange, is it right my friend?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] flar2:
There's probably nothing I can do about Sprint, people will have to wait for source.

The other problem I can fix, I have logs because I can reproduce it myself.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] holofractal:
Sorry if I come off as a noob, but could I extract the Sprint modules from the kernel somehow and add them to your kernel or /system? Is there anything I could do to make it work?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] flar2:
I was thinking maybe if the dtb could be taken from the boot.img it might help, but I don't know if that can be extracted and decompiled or not. But all kinds of thing were wrong in the log [MENTION=1238555]MassStash[/MENTION] posted.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
I have some Sprint dtbs extracted on my build box somewhere. I manually extracted and combined them when I built TWRP and it seemed to provide compatibility for all the variants, so I can only assume it worked okay.

I'll try and do the same with the current Sprint image and give you a dump of them. I'm not sure whether you'll be able to build with them or not.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] flar2:
Update!!!

The instability should be fixed now. If you do have a reboot, please post /sys/fs/pstore/dmesg-ramoops-0 here so I can take a look. But I'm 99.9% sure the GPU throttling patch was the cause and there shouldn't be any more problems.

This still won't work on Sprint.

Download

ElementalX-HTC10-0.03-Sense

Changes:

-return tick rate to 300Hz to improve speed

-revert GPU throttling patch
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] acm1108:
I'm curious, what sort of SOT you're getting? Just bought your companion app this thing is pretty decked out with features!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] peteri8706:
Changes:

-return tick rate to 300Hz to improve speed

-revert GPU throttling patch[/QUOTE]

Hey [MENTION=4684315]flar2[/MENTION].

On play store it says you updated with butterfly profile once kernel manager was updated to latest.

Might be a silly question, I've updated to v .3, is this profile embedded in the kernel itself, or we have to enable in EX manager?

Thanks
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] l2icky:
Flashed v3, T-Mobile running Venom 1.2. Under clocked, deadline, brightness selected, no sweep to sleep, wouldn't boot. Cleared both caches. Unfortunately, it's bedtime. I'll try again when I get time and try to get a log.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] -viperboy-:
I flashed v3 on latest venom, default options in installer except I disabled sweep2sleep, booted just fine.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] mazubo:
Hey [MENTION=4684315]flar2[/MENTION], I just flashed .3 and noticed the CPU temp doesn't change from 0Â°C. (Canadian here :) ) Not sure if it was like that prior to flashing the latest kernel release.. Cheers!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] kfasheldon:
V3 all smooth and fine at the moment, will keep an eye and grab logs if it falls over thanks flar
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] kaosb0x:
Ftwz

Try bad Boyz Rom then.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] heslo.rb26:
Thanks for all your hard work mate. Running the latest version now with no issues. Bought your app to show support :)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] vincenzo697:
I have a problem. When i flash the kernel i lose signal, anything i am doing wrong?

i flashed the ICE rom after the SuperSU 2.74-2 With ForceEncrypt Set to Default and last the elemental kernel. Am i missing something?