yashsingh1/xdaforums huggingface dataset:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Tried elemental X 0.04 of [MENTION=4684315]flar2[/MENTION] to compare based on your feedback [MENTION=5110913]Viper4713[/MENTION]:

A few things:

- i don't have the unlock sound working at 1.30 base at all with EX. A lot of button sounds are just clicks instead of the sounds (this is present on my 1.21 based kernel as well, so i think it's a generic issue maybe, unless I'm doing something wrong with setting sounds. I have applied default theme and keyboard sounds are weird on both kernels!)

- There's an issue, that it won't properly switch back after powerdown, you have to wait a bit, and there's just a buzz on EX without turning screen on, until a few seconds (which is not present on my kernel because of a bit different approach)

So there's only 1 issue i'll fix regarding this topic, the others I cannot test at the moment, probably you can give me some feedback if the keyboard sounds really work for ya. Thanks in advance

EDIT:

OK, On bone stock kernel unlock sound works.

Tried EX3 again, and indeed unlock sound works! I'll have a bit more look at this

EDIT2:

It's the same problem on EX3, when you just quickly tap on the FP, then try to unlock when it should display PIN, it won't., except that when starting with screen off - you try to get directly through without pausing in pressing FP sensor, where i have a bit of a fault, and EX don't. I'll fix that soon

This is present of course because [MENTION=4684315]flar2[/MENTION] uses the same methodology for the input remapping, I mean re-used my code and modified it a bit for simpler workings and user space tweakings instead of kernel-space. Which is a good step, but inheriting this problem from my kernel code. the good thing is he mentioned me in the commit message, which I'm at least happy about ;) https://github.com/flar2/perfume/commit/9c6dd65aab1de4f565a30357268e75ecbdd7307f
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
UPDATE 0.6

Thanks for [MENTION=5110913]Viper4713[/MENTION] for the very useful reports

Changelog:

- fix forced pin screen when wrong fingerprint read too many times

--- (still present the issue, that when you do this with a quick tap on screen, screen is on, and going with fingerprint, and PIN should appear, it won't appear. It's present on the other kernel as well as my tests show, because of the shared codes and approach)

- fix "no screen unlock sound" issue

- added configuration filesystem sysfs endpoints for tweaking apps later use:

-- /sys/fpf/fpf Value 1 -> work simple HOME input button, Value 2 (default) - work with doubletap sleep, value 0 fully off

-- /sys/fpf/vib_strength -> set it to 0 to have no vibration, set about 20 for normal

-- /sys/class/leds/button-backlight/bln Value 1 -> on, Value 0 -> off

Download:

http://d-h.st/CrFv

https://mega.nz/#!a9RR3KZK!dCc4-d90HE1H-F4n7J4X59e4_bQzQotX1uJ1Wzmbc74
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
ok, still in some cases (if device is not really fully-fully powered down and pressing fp sensor very early) it can happen that forced PIN won't appear. I'll look at this minor annoyance yet.

This is a funny one, really cool to debug it, thanks [MENTION=5110913]Viper4713[/MENTION] for pointing it out.

Now I'll be OCD about fixing this :D

I'll get to it probably today, or tomorrow, tho' it's really a marginal issue, so just my OCD self won't let me pass on it.

Hopefully [MENTION=4684315]flar2[/MENTION] might fix the other issue when screen is already on (very short FP button press) and you can't get to the forced pin screen, then I can just copy it into my code. :P For some reason they're really very compatible on source code level. Even using the same QWERTY device name, hmm hmm :highfive:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
my double entendre meme for today :D
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Good news is that [MENTION=1186202]baadnewz[/MENTION] went ahead with light speed and added kernel tweaks support to the ICE Configurator app for ICE Rom or for these kernel tweaks it can be used standalone as well! :)

You can find it here as usual:

https://play.google.com/store/apps/details?id=com.ice.tweaks

Major functionalities in the new version of the app for now include:

- Switch BLN on/off

- Switch between Fingerprint Double Tap Sleep / Fingerprint simple input device mode (double tap sleep off, acts as an input device, remap can be done on it)

- Switch on/off Vibration for Fingerprint Home button now, useful if it bothers you when it vibrates tho' you prefer that it doesn't

Many thanks for his great work!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] flar2:
Letting the input event fall through the filter while screen is off is sufficient to fix these issues. The thing where the button doesn't turn on the screen for a second or two after the screen goes off seems to be a userspace thing HTC has implemented.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
I have a slightly more intricate solution that keeps some cases open for me. Fixed for default case, but for early suspend maybe it will be trickier for my original version.

About the second one, pattern after very short tap, I'm aware it's not fixable on kernel side, I was just joking because you didn't mention me in your xda credits yet regarding your button map stuff, which is such a nice thing on xda. I don't care too much but you had a nice practice regarding that back on m7 and that was so xda
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
I have a slightly more intricate solution that keeps some cases open for me. Fixed for default case, but for early suspend maybe it will be trickier for my original version.

About the second one, pattern after very short tap, I'm aware it's not fixable on kernel side
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Another happy update:

Thanks to [MENTION=398245]LeeDroid[/MENTION] and [MENTION=3989587]~clumsy~[/MENTION] devs hard work on Leedroid rom tweak app in latest snapshot versions

and [MENTION=1186202]baadnewz[/MENTION] on Ice 10 tweak app

now CleanSlate kernel is compatible with these roms settings possibilities.

Except sweep 2 sleep setting , which feature I won't add, it's cumbersome compared to double tap sleep.

Thank you guys again!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
quick notice, removed from feature list TCP Congestion settings on OP, because I think it doesn't really interest 99% of the users. It's still there, but really, who the F cares about TCP Congestion these days on a phone? :D
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] rav101:
I read somewhere once maybe possibly that westwood was the best TCP Congestion control. Did a little reading about tcp but didn't fully get it. Are you saying it doesn't really make a difference or that people are interested in other things now to improve the performance of their phones??
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Well, I'm just saying, it's a feature STILL there, i'll leave it on.

What I tried to say, that it really matters on Wide area networks, and more sophisticated systems than a phone where Wifi signal and Radio connection will easily eat up whatever the congestion strategy would win.

But of course, it's up to anybody to use that feature, but I'm not sure any tests would show real life difference on a personal device.

Didn't want to offend people who care about it, just I can't really count it as a feature for my kernel, as I intend to indicate such stuff, that is there set up out of the box.

I'll maybe create a "settable things lists" and add it there instead of showing it as a feature.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] rav101:
No problem and you answered my question with the answer "I'm not sure any tests would show real life difference on a personal device".
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] belsj:
Thanks [MENTION=3088420]tbalden[/MENTION] for this Kernel. I love it together with the tweak apps in the ICE Rom.

Wonderful combination.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] sickwitit:
File not found error
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
What do you mean? Where?

nevermind, found my link was broken
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
OK, corrected link for mega. Thanks for reporting!! it was copy paste url issue (https://mega.nz/#!a9RR3KZK!dCc4-d90HE1H-F4n7J4X59e4_bQzQotX1uJ1Wzmbc74)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Bob in Northern NJ:
Another question...how does the KAdaway hosts file update?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] svenkerst:
The kernel side ad blocking replaces the host file, and therefore Adaway cannot change it, I guess

---------- Post added at 07:55 PM ---------- Previous post was at 07:54 PM ----------

It gets updated when the kernel is updated
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
yep., indeed.

Note:

If you switch off KAdaway, you can use normal Adaway blocking too, and then it should be able to update the file as well.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Bob in Northern NJ:
Thanks for the response. I installed CleanSlate with the R140 update of LerDrOiD ROM. It's smooted out some of the minor lag I was seeing with the ROM, & I'm seeing battery life improvement as well.

FYI I turned off Kadaway, rebooted, and I still cannot install normal Adaway. Still the case after uninstall - reinstall of Adaway. I'm thinking I have to Dirty Flash?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] stathis95194:
Get Adaway from here mate:

https://xdaforums.com/showthread.php?p=75452546

Definitely working
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Bob in Northern NJ:
Yeah, that's what I have. Worked until I turned on Kadaway in kernel. Turned it off in kernel, still didn't work. Uninstalled, rebooted, and reinstalled. Still didn't work. Probably need to dirty flash. Or wait for next release from LeeDrOiD. No big deal.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] svenkerst:
Did you save changes in the cleanslate configurator? (just checking :silly: )
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Bob in Northern NJ:
Actually, that's a good question, and yes, I did. Before the reboot.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Bob in Northern NJ:
Dirty Flashed and now everything works. I'm able to switch back and forth as it's supposed to.

Thanks for all the suggestions.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Great, thanks for reporting back! :good:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] FluffyDiscord:
Any chance of implementing voltage control? Would love to undervolt my cpu.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Mr Hofs:
I'm not sure if the CPU that is onboard of the HTC 10 is capable to handle undervoltage ?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] FluffyDiscord:
Should be, other devices with 820 can be, so there must be a way
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Mr Hofs:
Would be nice in that case, i can remember it made a great difference on my HTC One X back in the day.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] TotallyAnxious:
Could you add a setting for screen off and screen on vibration strength? I was doing this via Tasker but realized you could probably do it too. (Use case, I don't need the vibration to be as strong on screen on because I'm using the phone)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] FluffyDiscord:
Can I request adding option to disable fingerprint sensor while in pocket?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Actually, Vibrating Notification booster is something very similar. Do you have it set up?

When screen is on it will vibrate normally.

When screen off, and longer than 100msec vibration happens, it pushes up to max voltage. It's highly likely that a notification vibration is over 100msec, so basically, what you described in a bit different fashion.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Hmm, If I remember well, i've tried this once, but did not succeed. On kernel level blocking it made it stuck in unresponsive state after the first such instance.

I wanted this as well, so I've tried back then

Maybe in the ROMs it can be done, but that does not sound easy, as it's deeper framework smali.. [MENTION=398245]LeeDroid[/MENTION]?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Minor update on premium config app, to save previous profile between reboots. Now it's gonna revert to previous profile after a reboot when tapping the profile quick tile.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] galaktiker:
Hi! Is there any third party applications, that supports convenient Kcal Control at CleanSlate Kernel? I need something like this:

CleanSlate Kernel Configuration doesn't support meanings like in the screenshot.

Savoca colour control application doesn't work at Android 8.0 (constant forceclose)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Dlind:
If you use magisk or super su, use ka-mod reborn

https://xdaforums.com/android/apps-games/approot4-0-ka-mod-reborn-v18-t3714105
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Boeing747x:
Hello, does this kernel support AOSiP 8.1 please?:)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Dlind:
It does, but please do read the very first post. It has all the info you need.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Superlanboy:
I want to try this kernel but already have ElementalX kernel installed. Can I just flash this straight over the top or do I need to reflash the original kernel first?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] matekaneve:
Just flash cleanslate, uninstall Xkernel manager if you use it and install the two APK files that appeared on the root of your internal memory. (cleanslate companion app and cleanslate configuration app.)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] w1000i:
Can we disable touchboost on this kernel ?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] frostnicko:
Why ? For AKT ? :rolleyes:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] w1000i:
Yes
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Since we have Flashlight notification, I just realized it has been missing the Call ringing with flashlight option.

Working on it :)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
- OREO update 3.7.11 stable -

...thus the Unrooted Kernel Era ruled on...​

Update

- Flashlight blinking for incoming Calls option added (needs kernel and new Config app)

- Update k.adaway Hosts file from Steven Black's project

OREO 3.7.11 Download:

https://www.androidfilehost.com/?fid=674106145207486422

Config app 1.10.9 Free version Download:

https://www.androidfilehost.com/?fid=890278863836284924

Premium version rolled out to play store
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] JohnFawkes:
[MENTION=3088420]tbalden[/MENTION] i know you like to stay close to stock but do think tberes anyway you could patch this in for us please?

https://github.com/Havoc-Devices/an...mmit/586ba4b3f54bad67697f4c54b6c4933bb35e653a
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
What's this for? I'm intrigued to know
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] JohnFawkes:
[MENTION=7836278]LazerL0rd[/MENTION] kernel driver for wcd9335 to enable hi res
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
And how can you get that resolution out onto an audio system. It's for the internal dac I guess. What's needed to listen to such resolution
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] JohnFawkes:
something like poweramp or neutron
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] LazerL0rd:
A custom driver I made for wcd9335. It disables core collapse (also known as power gating), enables HiFi mode (using Class AB), adds 32-bit support, and then a few more Hz levels.

Android audio policy needs modification for it to fully work however Neutron and latest beta of Poweramp bypass it and work anyway.

You may need patches to other stock audio stuff too (eg. equaliser).
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] mattie_49:
Can't get device to notify with flashlight or incoming texts after latest kernel install. Configuration app and companion installed and permissions allowed.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Working in discrete colors option for chromatic charging led feature.. 3 well distinguished charge colors plus full green at 100
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Dlind:
Nice work with the custom driver. I love the idea of at least trying out on build. But I'm running nougat still. I'm not quite ready for the jump.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Thanks LazerL0rd.. I need to understand the patch a bit more, before I can test. Gonna look at it on github a bit
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
This is ready for release, across multiple devices, so this weekend I'm gonna roll out
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] X46X:
[MENTION=3088420]tbalden[/MENTION] are you planing add option to disable touchboost?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
- OREO update 3.7.12 stable -

...thus the Unrooted Kernel Era ruled on...​

Update

- Adding Discrete Colors for Chromatic Charging Led feature. Set your own levels in advanced mode (LED settings in config app)

- New material Icons for both Companion and Config apps

OREO 3.7.12 Download:

https://www.androidfilehost.com/?fid=818222786056031671

Config app 2.0.0 Free version Download:

https://www.androidfilehost.com/?fid=746163614322265726

Premium version rolled out to play store

Companion app 2.0.0 Free version Download:

https://www.androidfilehost.com/?fid=818222786056031673

Premium version rolled out to play store
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] okkbojan:
Did you implement custom audio driver script from LazerL0rd?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Not yet. I'm evaluating the patch before pulling the trigger. We identified a smaller code fix. Next release I'm gonna be ready with it.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
New icons screenshot for the apps attached..
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] kend0g:
Wow they are really good.. Did you you do them yourself?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] JohnFawkes:
not sure if you've been messaging [MENTION=7836278]LazerL0rd[/MENTION] but him me and a few others have been working on dts/hpx and porting the kernel stuff. hes got the commits on his github/gitlab if you want to look at those and implement those as well. would be nice to have fully working hw/sw dts on the 10 :good: i can message you the telegram group we are working on it. there's no link so id actually need you to pm me your @ telegram name if you have one. if not, these are the commits weve been working on https://github.com/lazerl0rd/zestyhead/commit/7e6c4c51976a909a6cdb90c0f35dbd102dba111d

https://github.com/lazerl0rd/zestyhead/commit/5d576afb013e12948d39304130b3d0bd00506d75
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Thanks. yes, did it myself. I was long time planning on this. Took me a good bunch of hours in GIMP, but I'm not a pro. :)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Only a brief discussion. This sounds great. I'm gonna check the repo
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Hey there.

I've been reading up on the topic a few weeks back, and I wasn't yet sure if it really helps battery life on socs like that of the 10. So I put it on the list for further investigation.

Do you know a kernel where it's added for the same or similar chipset?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] aqua_hopps:
[MENTION=3088420]tbalden[/MENTION] ElementalX
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Oh.. didn't know. I was reading flar2s post on the probability that it's outdated to have touchboost off tweak. I'll check then there
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] TotallyAnxious:
I don't think the sysfs is in Oreo, or I've completely missed it.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] JohnFawkes:
https://github.com/lazerl0rd/zestyhead/commit/730ab4d5add9b646967cd47cc888233ff71a51dc

more dts/eagle stuff :) finally fully working. hopefully you're able to add this to cleanstale and we can get better audio out of 10 and u11:good:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] LazerL0rd:
If you want I've also got a DTS Port for newer Android variants that uses HTC's default SW processing SA+ as a fallback, it's here. However, you'll also need this commit and move all wcd9330 references and changes I added to wcd9335.

PS - what did you think of it in the end?

---------- Post added at 11:11 AM ---------- Previous post was at 10:48 AM ----------

Nicee :cowboy:

---------- Post added at 11:13 AM ---------- Previous post was at 11:11 AM ----------

Try avoid using the commit than John shared and use the newer ones in my reply above this. (The newer ones have full DTS functionality including configuration).
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] JohnFawkes:
[MENTION=3088420]tbalden[/MENTION]

https://github.com/lazerl0rd/android_hardware_qcom_audio/

modified hal :)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] kend0g:
Hey tbalden you think next time you update your kernel can you add the ability to disable touchboost? I think this is the commit from flar2's ex kernel, not 100% sure but looks like this is it.

https://github.com/flar2/perfume/commit/66152406f72844f25ce6dd42fbaab077f87df216
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Yes, I'll do so. Thanks for the link
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
- OREO update 3.7.13 stable -

...thus the Unrooted Kernel Era ruled on...​

Update

- Updating WireGuard to June snapshot

- Update adblocking hosts file from Steven Black site

- added touchboost switch for disabling (not supported by CS config app, use other kernel managers with root)

OREO 3.7.13 Download:

https://www.androidfilehost.com/?fid=746163614322275068

Config app 2.0.0 Free version Download:

https://www.androidfilehost.com/?fid=746163614322265726

Premium version rolled out to play store

Companion app 2.0.0 Free version Download:

https://www.androidfilehost.com/?fid=818222786056031673

Premium version rolled out to play store
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
OK, latest release has this now :good:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] mattie_49:
This is huge. Thank you for all you do tbalden
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] FluffyDiscord:
Do you think you can add these latest features to Nougat release please?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] frostnicko:
Latest kernel's CPU and GPU governor is interactive or conservative ? i am not understand. I use helix engine and automatic change to interactive governor.this affect battery life ?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Always interactive is the default

Gpu is adreno tz
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ali nz:
:laugh:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] frostnicko:
Adrenoboost version 2.2 - smooth gaming, battery friendly, fixing GPU handling of stock HTC kernel -- battery friendly conservative governor. But this say conservative governor
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Right, it's a bit confusing. It's a battery friendlier version of the original adrenoboost, but no need to change gpu governor to use it.

Instead activate the adrenoboost feature in the settings.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] frostnicko:
1 is default and battery friendly ? 2 and 3 is boosting gpu ? So no need change for more battery