yashsingh1/xdaforums huggingface dataset:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] matekaneve:
Hi tbalden! First of all thx for your hard work on the kernel. I use the latest version along with your app to configure the kernel. Since I flashed the latest one the led light is very dimmed when I receive notification. I set it to "0" in your app but still seems too weak. Any suggestion on that? Thx in advance. ?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Can you share a screen shot of the smart notification settings?

Another possibility is that accidentally you got volume up and down at the same time with screen off.

That combination switches between dim and full light modes
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] kfasheldon:
Well v3 no modules installed on Lea's R46 rom and all working fine, Android Pay opens up fine, so I think it will work will try tomorrow see it pays !

On custom roms it just nice to have the options , its a slow process with what mods get adapted in what roms, but I think Lea is doing a great job and I always ene up on his roms since my Desire, brief spell with Samsung Note Edge left me feeling so let down it was a relief to come back to HTC. This is such a nice all round phone.

It would be nice if you were to add a clean stock rom with Adaway up and running, a custom kernel with battery optimizations and color controls implemented, perhaps even the FM radio enabled (if this is actually possible) and minimal changes just removing the normal bloat and gunk. Something for the future perhaps.

For now thanks for the Kernel.

---------- Post added at 10:19 PM ---------- Previous post was at 10:16 PM ----------

..Just a though on past HTC's Ondemand was always the default scheduler, I switched to it this after noon on stock kernel with EX Kernel manager and it seems better on battery than the now default Interactive, just wondering ? Any chance of trying this as default on this kernel with any adjustments to the parameters you are aware of making things better for battery/performance.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
Systemless install is the default on 6.0+ ROMs.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] kfasheldon:
R46, v3 no modules and Android Pay working well, thanks
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Thank you for testing before jumping to elementalx :) I'm going to stay on the stock path with this kernel and only add usability features for the time being. I'm not much concerned by the challenges of frequency and core slicing, it's uninteresting to me
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] kfasheldon:
No prob, I'll no doubt jump back N forth as I never settled on kernels before doubt I will now, Good to have a choice.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Just like [MENTION=4684315]flar2[/MENTION] mentioned on-demand it's not updated to work with the two clusters properly .

Honestly, as generally in this department I'm not much interested. HTC puts in months of qc to get good battery life on their stock kernel. So I'm really in a position to say, let them do that, keep kernel stable.

That's why I don't mess with that code, not too interesting to me, I see marginal improvements on custom kernels in general, so I concentrate on interaction features. Which makes me feel every day usage is better. And honestly, which core and cluster does what and when, and what it REALLY adds to performance or battery life seems hmm very subjective.

I'll leave that to those who like to look at CPU gpu graphs and guess what's a good governor, strategy and such.

It's not me to bring these, never really was. :)

So I think my kernel is for stability and usability features lovers, not for overclock uc uv whatever fanatics
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] kfasheldon:
Hi tbalden,

Please see posts in Flars and Leas thread re OTG, just tried same with your kernel in hope but same situation , just dug out my other OTG cables one generic and on multi thing from trust , same no support,

Any chance you could have a look, thanks
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Can you link me to the problem posts. Too many to look for. What's going on with it?

Unfortunately I don't yet have an adapter for usbc to old USB so my otg cable is not testable.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] kfasheldon:
Hi, capt throwback believes you can't use a USB c adaptor with an otg lead or USB stick for some reason so I have ordered a USB c otg cable will test again if still fails I'll start a troubleshooting thread and let you know... At the moment I cant mount or see the USB stick when its attached ..apps in market indicate that the phone does nit support otg fully ..will try again with correct lead ..

Cheers
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] flar2:
That will do the trick. My USB c otg cable works good. I just got the cheapest one on eBay or Amazon.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] kfasheldon:
Working fine with Amazon's cheap otg lead
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Thanks for reporting my friend.

I'm going slowly with my kernel, looking at a new screen off feature that is quite hard.

But at least you can have a stable kernel with button lights if you prefer stock stability :)

I'll keep trying with that damned screen off I have as a surprise feature ( nothing too overwhelming, I'm just having fun :))
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
seems like i'm nearing something usable with the new way of intuitive (hopefully) Power-off. A very hard nut to crack, but I will leave it as secret for now. :)

Those who love simplicity and can cope with a bit of training to get used to it (not hard training, I'm trying the best to make it comfortable :) ) and UX will certainly like it :)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Freak07:
Stop the teasing :D
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
CleanSlate kernel 0.4 alpha1 is here, no more teasing :)

The key change is the addition of the unique Fingerprint Doubletap Sleep - [FDTS] - original implementation by Tbalden :)

There's some issue yet (framebuffer on/off notifications are too slow sometimes, but in general you'll notice nothing, except when using Power button, and you need to release fingerprint button for waking the device)

This is experimental version, so report issues you find with it. Causes no stability issue, just the feature needs some polishing yet

Video

[youtube]WzORGYXliy0[/youtube]

DOWNLOAD 0.4alpha1:

http://d-h.st/DVmG

https://mega.nz/#!upozFCzY!PxNJ7ZvIKNyNga6k55Omn73ApCNwMo4DghpjLwjTXjI

This time only for base 1.21 and 1.30!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] droidrev71:
After flashing I received a warning that my sd card was corrupt. My phone wanted me to format my sd. It was able to read my sd once I booted into recovery so I was able to flash a different kernel and rebooted to sd being ok. Strange.. The double tap to sleep worked great though.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
I'll add the hack for modloading. Although I really don't like it, it helps with the many bases we have

Thanks for the feedback
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Gamesoul Master:
So with this new FDTS implementation, does this open up the door for other related features? For example, since the fingerprint scanner doubles as the Home button, doing this would cause the device to go home on the first press, yes? That being the case, would it be possible to set it up for being able to long-press it to sleep the device? Or is disabling the native long-press functions opening up another whole can of worms? Just curious.

Either way, loving the sound of this feature :)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Many is possible. Home still works of coarse, everything like on stock except the double tap. It was hard to reach this.

About long press, yes, I plan to look at it. But it collides with long press google now stuff, you know
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Gamesoul Master:
Yeah, I noticed that. I'm actually going to see if there's some way to remove that Google Now functionality, because I have absolutely no use for it and would prefer a better function for long-press Home. For a while on my M8, I had double-tap Home set to sleep the device and long-press Home set to screenshot. Worked quite nicely, but I'd be happy with that being reversed too (in compliance with your current implementation).
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] matekaneve:
Hi. I attached the screenshot, hope that's what you asked for
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
OK that's fine then.

Check this then please

Another possibility is that accidentally you got volume up and down at the same time with screen off.

That combination switches between dim and full light modes.

After a reboot, or switching screen off and press volume up and down same time shortly. You should feel a haptic feedback. It's not working perfectly on the 10 unfortunately, volume buttons not reacting always on sleep. Try again with a screen on/off cycle if you don't feel the feedback.

If it vibrates long, it switched to low light mode, if short, full light mode
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] matekaneve:
That did the trick! A short vibrate and went to full light mode! Thank you very much! (Köszönöm szépen a segitseget) ;)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
No problem :)

Tudtam, hogy valamiert ismerősen cseng a név :D
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
- Nougat update 2.7.0 stable -

...Marry X-Mas all...

​

K.AdAway feature

- adblocking -- made flash-easy, safe business

- No-Root, No system mod, No-Magisk, kernel side feature. Separate flashables and default kernel installer zip add adblocking "hosts" file into boot image (initramfs).

- Dynamically set from CleanSlate config app: UX/Gesture&Extras/K.Adaway - default off!

Fixes and Updates

- Config App: add Compact (default) and Advanced mode switching

- Face Down screen off - fix against alarm/screen waking apps (accidentally switching those off)

Download:

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

Donations appreciated! :)

Configuration APK 1.4.2

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

or PlayStore for premium version rolling out right now... https://play.google.com/store/apps/details?id=org.cleanslate.csconfig

Companion APK 1.4.11

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

or PlayStore for premium version https://play.google.com/store/apps/details?id=org.cleanslate.csservice
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] matekaneve:
Everything is working as intended! Thank you very much and I wish you and your family a merry Christmas! ? ?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] bstiti:
Thank u very much!!

Good job, works perfect for me :)

Have a break now, its christmas time :)

Merry Christmas to u and your Family :)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ali nz:
Thank you sooo much...i wish you the best moments with your family in Xmas time:)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Thank you! :highfive: Have a great xmas time all!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] stathis95194:
Guys I have a question. My phone's behaviour is the same with both adaway and k.adaway

They both block ads on WiFi, but as soon as 4G is enabled all ads appear as if nothing is blocking them.

And another question. Is there a benefit (or conflict) for that matter having both k.adaway and adaway installed? Are they using different hosts files?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Hm, firstly, if kadaway is enabled it will override adaway as far as my knowledge goes.

Make sure it's enabled in the configuration application

Let me check the thing about mobile network

Edit: seems no such issue here.

Please check conf app please, check attachment
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] stathis95194:
Yeap I enabled it there, and disabled adaway. I was just curious because with adaway had the same behaviour. How about the hosts files used? Are they the same? It's a good enough reason for me to uninstall adaway. CleanSlate rocks!!

Edit: [MENTION=3088420]tbalden[/MENTION] did some search and some trial and error and it seems ads appear if proxy is set up in APN.

I removed the proxy and all is well now. Doesn't seem to have any impact on my mobile data. But this should be the case for other carriers I guess. To use a proxy for data, any idea if this can be bypassed?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Yes, I'm using more tho Steven Black s Python script which aggregates the best around including ad away hosts

It's strange about the mobile network and ad reappearance.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Proxy is indeed having its own DNS, I'd think this isn't easy to bypass, but I'm not overly familiar with that, hmm

Question is if you have any free data for special sites.

Like some providers don't count data for accessing Facebook and such.

Maybe they do it using a proxy.

If you dont have such, maybe it doesn't matter too much.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] stathis95194:
No I don't have. I mean in my case there is no problem, I disabled it.

No idea about other carriers though. But since noone else mentioned this I guess all is good :)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Thanks for the feedback. I've checked here, and yes, it's the same like listed in common problems , but apart from what you did, no other solution

https://github.com/AdAway/AdAway/wiki/Solutions
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] acupunk:
I'm super excited about the addition of k.adaway. How do we customize our hosts sources?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
You could download the installer zip from first post.

Kadaway flashable section. Then it's a zip, you can replace the file /hosts/hosts in the zip.

Then flash and profit. :good:

Make sure that the hosts file you save is with Unix/ Linux line terminators.

Let me know if anything unclear :highfive:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] acupunk:
Thanks for the quick response! Makes sense to me. :good:

Thanks the amazing kernel. It's truly incredible. Happy christmahanukwanzasolstifestidiwalimas!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] bstiti:
Hello Mr. Tbalden :)

Im on 2.7.0 with Leedroid 4.0 since Yesterday and I have noticed a few things.

First, the power button works from time to time only to turn the Screen off. If I want to turn the Screen on, with the power button, nothing happens.

And the LED of the hardware button, which should actually only light up if I have new Notifications, light up from time to time even without notification.

The last is, the LEDs of the hardbutton light up when I have permanent notifications, or even if my battery is just below 15%.

In addition, i have extrem Battery drain.

Please excuse my bad English.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Thanks for the feedback.

First off battery drain must be something else, at least it should be very similar to stock experience as there's no tweak or change on that behalf, it's almost stock, except adrenoboost.

As for the notifications, could you please detail if you use the companion app with default settings, or do you specify anything in /sdcard/cleanslate folder?

I'll publish a new companion app where it will be easier to check what package triggers kernel part notification. So we can find out what triggers those nasty phantom notifications.

By default the Companion app is configured to allow only a short whitelist of notifcations through, so it's strange that you have this issue, so I want to investigate! :good:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] bstiti:
Okay, I was on Leedroid v4.0 with the built-in Clean Slate kernel, btw i had awesome run times of battery with this one. I used the CS apps of you and played a bit, but in the end everything was set to default, im very sure.

I am a basic user .. i dont change things in cleanslate folder, i just flash and enjoy. That's all :)

now i noticed i have a notification and swiped it away, after that, the button light notifications was on...

But after i unlocked my phone and relocked it the button notif. turns off..

I really hope u understand my English xD

ou and btw i use a fossil q hybrid a smartwatch which tell me about notification, i have a new whats app, swiped it away but my watch tell me there is a whats app after i un- and relock my phone the notif. off whats app was gone....and if i connect my htc10 to my computer there r also the blinking hardbutton of the perm notif. from usb to pc
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
OK. I'll really need to extend the companion app to let you check on this. I'll do so tonight and publish it.

Then I'll tell you what to check so we know what's causing the excessive amount of bln :good:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] bstiti:
:svetius::svetius:

---------- Post added at 09:00 PM ---------- Previous post was at 08:38 PM ----------

One more question, this Power Manager Profile ''Hawk Tail'' in Aroma installer of LeeDroid ROM, is this a ROM Option of Lee or a Kernel Option?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ali nz:
[MENTION=3088420]tbalden[/MENTION] hey dude merry Christmas i wish you have your best time with your family and fresh start a good year!;)

I have an issue here...i'm using stock Rooted Rom (2.41.401.41) with supersu and your kernel and some tweaks like ivicask's Pnp tweak...but after quite some time after flashing your kernel i lose some special features of your kernel like turning off display after putting it on table or block power botton when in pocket and maybe others which i have not been discovered yet...I've noticed this after my i restarted my phone couple of times(donno it's related or not) but anyway i can have those options again after flashing your kernel again...

Ps. I'm also using AIK toolkit by osm0sis
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Have a great holiday and festivities you as well ! Thanks

The problem should be only that the companion app for some reason didn't start on reboot.

If this would happen again, please try manually start it.

If there was no app crash popup then it must be simply that for some reason it didn't start on the boot completed event of Android framework.

I usually start companion app right after a reboot.

Hope it's the case and this helps

Edit: also if by any chance the cleanslate service companion app is on stop list for running in background like by boost+ remove from the stop list.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ali nz:
Tested and didn't fix but anfter uninstalling and reinstalling the app i gave my gift from papa Noel and my problem solved!?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] minazukix:
Can I change the default vibration voltage in init.d?

If so, what path should I use?

Thank you.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
It is a

Rom option, pnpmgr related. Although needs a running pnpmgr which with eas kernels and aosp roms might miss or disabled

They work with this kernel and sense roms
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Thanks for the support! Much appreciated.

Hopefully it will remain working fine. Let me know if it doesn't
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Somewhere around /sys/ class/timed_output/vibrator/level

I haven't checked it right now, but it should be around there.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Working on a more intuitive default notification channeling in the companion app with some additional toggle to help where you get a bit excessive notification lights...

Progressing nicely
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Rolling out to play store CleanSlate Companion App 1.5.0 https://play.google.com/store/apps/details?id=org.cleanslate.csservice

- add smarter auto filtering of notifications/duplicates
- add Extra Notification Detection switch (on charger/always/off)
- add SENT and ALL notifications tabs with extended info

This will help greatly to reduce your excessive notification detection if you facing that. Personally I'm fine with how it works now. With this version it's easy to follow what triggers and when, and also a "Charger only mode" can help out as well, because these extra detections are most useful when on-charger and non-vibrating notifications arrive.

Soon to follow with the free version here.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
1.5.3 companion app rolled out to play store.

Some crash fix, debug log tab, better notification handling

Free download

https://www.androidfilehost.com/?fid=962157660013068379
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Premium version feature CS Configuration App themes rolling out to Play Store.

Config App version 1.5.0

Light/Dark/Grey themes in 4 color variants each (Red,Green,Blue, or Contrasted)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] matekaneve:
Keep getting CleanSlateService has stopped message since installed the latest comp.app. Any idea what it could be? It pops up like every 10-15 minutes, I tap ok then open up the comp.app again then the message comes up again in a few minutes.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Which version is this of the companion app?

1.5.3? There's been a problem on 1.5.2

https://www.androidfilehost.com/?fid=962157660013068379
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] matekaneve:
1.5.3 that is linked in the previous page. I try to uninstall and reinstall it to see if that makes any difference
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
If it crashes, a logcat would be great

adb shell

logcat >/sdcard/log1

exit

adb pull /sdcard/log1
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Tirofog:
Same here on 1.5.3, hope this helps..
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] matekaneve:
For me reinstalling the app seems to help. Since last night I had no problems.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] bstiti:
thx :good:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Finally it turns out it was just partially solved, still crashing with sensor events triggering the application logging.

Rolling out 1.5.4 already to fix it.

Here's the androidfilehost link to 1.5.4:

https://www.androidfilehost.com/?fid=745849072291697633
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Tirofog:
No issues on 1.5.4, thanks :good:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Bradden1:
I'm running the latest version of leedroid. Just wondered if there would be any conflicts if I update cleanslate and install the companion app? Thanks
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
should be fine. If you install the companion app you could still use leedroid tweaks to config kernel,

but I advice to install the configuration app as well, after the first save the settings will take precedence and survives reboots. That way you'll get all the new settings too

To go back to leedroid tweak kernel settings, uninstall cs config app, and delete /sdcard/uci_user.cfg
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Bradden1:
Thank you for such a speedy reply! I've got some free time to tinker with my phone but didn't want to break anything.

Thanks
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] stathis95194:
[MENTION=3088420]tbalden[/MENTION] regarding this

Fastcharge for USB 2.0 -- PC's, Laptop's will now be able to charge your phone (bumping 0.5A draw to 1A from USB2.0 port, retaining the data connection all working)

Any configuration needed?

I'm still drawing max 500mA from USB 2.0