yashsingh1/xdaforums huggingface dataset:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
updated Camera lib downgrade patch with smallest possible lib set. Credit goes to : [MENTION=1186202]baadnewz[/MENTION] for gathering which libraries are really causing the incompatibility with older kernel source.

You can use it in case your ROM or vanilla system base doesn't already support custom kernels, as supports ICE and LeeDroid.

http://xdaforums.com/showpost.php?p=67351231&postcount=220

If you installed cleanslate and camera doesn't work (so you have base 1.80+), don't worry! Install this patch and it should work again.

Backup before installing! Especially if you want the untouched system image restored for OTA or revert to stock kernel.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] razrlover:
Installed with icerom, 1.80.617.1 is my base.

Kernel with 2nd patch. Pics look fine to me
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
1.80 sources out... i'll have a very busy evening today, but i'll try to push out the updated CleanSlate today, so we can profit :)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
UPDATE 1.2.0 -

Changelog:

- Added Sprint compatibility files (please report back! Thanks go to [MENTION=3989587]~clumsy~[/MENTION]

- Updated to super stable official kernel source base 1.80.401.1 -- with CleanSlate features :)

-- Camera ISP / focus fixes

-- WiFI driver updates

-- charger updates

-- SPI driver optimizations

-- usb port fixes

-- core kernel scheduler optimizations

-- USB alsa minor fix

Downloads:

http://d-h.st/JKhj

https://mega.nz/#!HkYVgTgA!3Q6lSEJdSmRZYtHYfdVWf7zQS0mPRwCA_6G2FN0v1Vs

md5sum: f40373f730dd04a0dc7600d49bd00462 *CleanSlate-kernel-v1.2.0.zip

NOTE:

If you're still not updated to latest 1.80 base: for bases 1.55 and below use CleanSlate 1.1.0.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] vegetaleb:
Thanks bro will try it on Leedroid
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jascolli:
So just to confirm, on Verizon I should use 1.1 not.1.2. Thx!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Yes, I'll keep the old version updated till Verizon gets over to 1.80 firmware version. 1.1.0 is reported to be working with Verizon bases.

Let me know if something went wrong. Also make a backup of your boot partition and you can easily revert if any problem
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] SPEEDYX911:
Hey :)

I flashed the new kernel and everything works fine. But I had the camera patch on the 1.1.0 and now the camera again doesn't work. How can I get the new files from 1.80 base?

Do I need to reflash the ROM?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Shaffer678:
Smoooooth as butter over here! Thanks
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
yes, i restored my System partition backup myself to get back to a system parttition that is working with the cleanslate 1.2.0. (1.80 base)

Or you can try and extract the following libs from the zip (all of them is safest):

/system/vendor/lib/libmmcamera*

/system/vendor/lib64/libmmcamera*

Or simply dirtfy flash the rom as you mention, shouldn't cause an issue
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Meme for today... I'm off for a week, but I follow the thread day to day when I have some internet :D
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
And don't forget till I'm away, with [MENTION=1186202]baadnewz[/MENTION] ICE ROM and configurator you'll have best experience for tweaking, and also 1.2.0 is compatible with all ROM bases on 1.80, like [MENTION=398245]LeeDroid[/MENTION] and Venom.

Now even Sprint is supposed to work. Don't have that Sprint phone myself, but you may try it (backup before! :) ) and report if everything's fine.

Have fun, tbalden out for a summertime mountain vacation! :D :p :cowboy: :cool:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] w0rdie:
I've got the camera working but get an odd green line in low light photos. :\
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Thanks for reporting. What official base Verizon is at currently?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jascolli:
1.19.605.22
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
UPDATE 1.2.1 -

Changelog:

- added Button Light Notification default maximum number of blinks 15, after 15 it will stop blinking for energy efficiency, and added possible configuration for tweak apps:

-- sysfs path: /sys/class/leds/button-backlight/bln_number Values: 0 = not limited, blinks till screen switched on, 1-50 -> exactly that number of button light blinks

-- sysfs path /sys/class/leds/button-backlight/bln_number_max value: maximum possible bln_number value (currently 50)

Thanks to flar2 for advice on alarmtimer

- added [MENTION=4684315]flar2[/MENTION] Backlight Dimmer functionality (you can use EX utility to set this up as you want, or your own su.d scripts based on sysfs path below)

-- sysfs path: /sys/module/mdss_fb/parameters/backlight_dimmer - valuess: Y or N (on or off)

-- sysfs path: /sys/backlight_dimmer/backlight_min -- minium brightness value, by default 10

Download:

http://d-h.st/UZ0O

https://mega.nz/#!z553SaxQ!zw6KFhTsdOXetJegToMJxOq-3VpB_3ryoskGj-XsRzo

md5sum: ed616a1b085b946ca91704e30ce90b0e *CleanSlate-kernel-v1.2.1.zip
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Black_Eyes:
Hi, Which Toolchain are you using?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
gcc 4.9, not risking with pioneer toolchains here, as this is a feature oriented stable kernel. Linaro etc optimizations are backported/gated back to gcc when they prove stable enough, so as always, I'm using gcc.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] SacredDeviL666:
thanks man for implementing the timer....
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
I'm not sure what that might be. I've only just finished this feature, and added it to my sources. (https://github.com/tbalden/htc-kernel-pmewlvzw/commit/299d2737849647ab9be540c06c2d7c34fc03e147) Previously I haven't released anything related.

Are you sure you're looking at the right thing? I can't see such stuff in ElementalX git repository commits.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] SacredDeviL666:
my bad sorry... it was bln-speed-max and not bln-number-max
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
i see, ok. Well, this feature was a great new thing to learn with, as I haven't used alarmtimer before to trigger stuff, and for this feature it was a must. I was looking for this kernel service, but luckily flar2 pointed it out in his bullhead kernel how it can be used for deepsleep timing of events where other means (like scheduling a delayed work fails when CPU sleeps, yet alarmtimer works as it's not bound to live CPU cores).

So now it's ready and working well even if the device is in deep sleep, it will switch off the BLN after the set number.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] SacredDeviL666:
thanks a bunch again :D hope flar includes in his kernel too this one :D

i tried to create a file or copy the file but seems to fail.... so i would have to wait hehe
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Hopefully he will have some time for it. Development takes a lot of time and Flar is working on many devices at the same time, so maybe in a couple of days or so.

I know that many flashing people like his additional well tested tweaks over stock so it's natural you want those tweaks.

I'll remain here as always without thermal, freq, cpu core tweaks or non standard toolchains, as stock as possible with the most usable features, for those who prefer stockish experience with the added value.

Lucky we have some nice variety of possible kernels for the 10 already :)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] SacredDeviL666:
agree but your idea is what it makes tweaks more effective so kudos to you as well :)

i know man he is got a ton load of devices!!! i have no idea how does he even remember which is what loll i get confused with 2 device :eek:

those are his current number --- > http://xdaforums.com/showpost.php?p=67494840&postcount=81

crazy his brain would be thinking of all those codes for those many devices
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Thanks my friend.

I'm glad you see so.

Tho I wouldn't really want to modify the performance, throttling part like others do, so that's why I still keep most tweaks out of my kernel.

Only features I add. Big difference :)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] SacredDeviL666:
well will have to wait for the XDA gods to reload my thanks quota now lol....:cyclops:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Good news! [MENTION=1186202]baadnewz[/MENTION] just updated ICE configurator in play store, all new functionality configurable

-- Button Light Notification blink number

-- Backlight Dimmer on/off, minimum brightness

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

Update app, install latest cleanslate kernel 1.2.1 and profit! :)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
and a meme for this Sunday... :D

Update post: http://xdaforums.com/showpost.php?p=67578578&postcount=236

ICE configurator: https://play.google.com/store/apps/details?id=com.ice.tweaks&hl=en

Enjoy your weekend!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] flar2:
I added support for the settings in EX Kernel Manager last night. I will add the new settings to my kernel next update.

Good work on this feature [MENTION=3088420]tbalden[/MENTION]
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Thanks Flar!

It even turned out better than it was back on the good old m7 and one x, with these new speed and number of blinks parameters.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
UPDATE 1.2.2

Chengelog:

Button Light Notification:

-- Doubled the time between blinks. Still with highest bln_speed you can achieve fast blinking, but default behavior is longer time between blinks now.

-- slightly slower fade-in/out speed, and shorter hi brightness pause time for a more pleasing fade effect.

DOWNLOAD:

http://d-h.st/xEYW

https://mega.nz/#!jhAmVAoI!CvJL2_llSObTxHPQf_oZd4hooOx0vzxCXFu4dcxgO7U

md5sum: 00ad4d4ff4f8587a17de18a83c561e16 *CleanSlate-kernel-v1.2.2.zip
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] SacredDeviL666:
you my SIR is becoming an ACE amongst bln tweaks... beware HTC might nick you :p
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Hehe... well, for now I'm done with bln for a good while... at least I think so ;)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] SacredDeviL666:
Won't happen else it would be static and boring . . . keep exploring :D
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Well, you called for it.

Today i've almost finished experimenting with a new BLN feature.

Vibration pattern detection! :D

even when on battery charging (without ROM tweak of notification blink while charging) and with Vibration notifications on on your phone, it will start blinking buttons :)

And also now when notification vibrations are on, re-triggering of BLN blink has become possible, so after each new notifications, counting of blink numbers can begin from zero, so now with blink time off feature this makes much sense and will work just fine :)

yay, that was a long overdue thing I wanted to have...

next release gonna have this
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] SacredDeviL666:
AND its time for you to have a pint or two and enjoy the rest of your time :D

4VB663583S8223241 cheers :highfive:

sorry ran out of thanks quota as usual....
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Thanks, mate, much appreciated.

I'll have the pint soon. :D It's Uefa championship time after all
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] SacredDeviL666:
Indeed so my pint is on time lol :p

for me i have to wait for my fasting period to get over which is tomorrow then i would stock mine with corona :D and its heavy summer here so got all the more reason to stock up beer :p
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
finally I got around to get my great androidfilehost account dev validated, so now i'll start using that too as main host.

the previously released 1.2.2 is available here: https://www.androidfilehost.com/?fid=24591000424944658
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] w0rdie:
Any sense of what is causing the weird green line?

Is this necessarily going to persist until the Verizon update is available?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
A little video for you teasing the next pending release of CleanSlate 1.2.3 version's notification vibration pattern based BLN :D (and showing BLN number parameter possibility in ICE configurator, the feature which was already released in 1.2.1+)

[youtube]sCoobFqjnwY[/youtube]

Hope you like the video ;)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] SacredDeviL666:
lmao as per british scientists :p
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
yeah, i've asked for a quick research, and results show, CleanSlate is really cool :P :D
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] SacredDeviL666:
hahahahahahahahahaa nice meme :D
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Sorry , I'm short on my time, I still need to create a sprint version as well for 1.80.

Do we know when Verizon will update at last?

If I catch myself and Verizon still didn't roll out update I'll have a look at 1.19..

I gather that on stock kernel for Verizon 1.19 you don't face this issue?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jascolli:
I'm another 1.19 user that is interested in this kernel.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
ok.

I'll roll out a Sprint and a Verizon specific zip for ya soon. Working on both from latest Sprint and Verizon specific sources.

Can't test, so will wait for your reports :)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
UPDATE 1.2.3 -

Changelog:

- Button Light Notification:

--- adding vibration based triggering of BLN. If you have vibration set for notifications on your phone, BLN can work even if your phone is on Charger (constant orange light). Also BLN based on notification vibration pattern detection now can retrigger the blinking even while Green/Amber led is not retriggered to blink by HTC stock ROM. (Check video here http://xdaforums.com/showpost.php?p=67619610&postcount=262 )

- Added Verzion version for 1.19 stock ROM

- Added Spring version for 1.80 stock/custom ROMs

Download

CleanSlate 1.2.3 (for 1.80 base, for all phones except Sprint, and Verizon on base 1.19):

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

CleanSlate 1.2.3 (v2) - Sprint Version for Bases 1.80:

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

CleanSlate 1.2.3 - Verizon version for VZW Base 1.19

https://www.androidfilehost.com/?fid=24591020540823939
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] SPEEDYX911:
Hey :)

I flashed the new 1.2.3 kernel, but I have the problem that if I want to unlock my phone per fingerprint, Sense crashes (no FC dialog) and I need to wait until it loaded the lockscreen.

I returned to 1.2.2 for now.

Hope you find a fix for this :D
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Thanks for reporting. I don't have this issue on stock 1.80 or custom ROMs so far.

Also the kernel is not supposed to interfere with Sense at all at that level.

Which ROM is this, which carrier and which base? Do you use custom Firmware with S-Off? And which version have you flashed of the ones provided? The CleanSlate generic, the Sprint or the Verizon version?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] SPEEDYX911:
I use Viper 2.2.0 on an international s-on phone and flashed the normal version of this kernel :D

---------- Post added at 09:37 AM ---------- Previous post was at 09:32 AM ----------

Ok I think I found the problem.

I installed a xposed module yesterday, but restarted today, which started the problem :D

I'm sorry :D

I'll install the 1.2.3 again!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
ok, let me know how it goes [MENTION=4070209]SPEEDYX911[/MENTION]
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] SPEEDYX911:
Seems everything allright :)

Thanks!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Hi,

let me know if the separate verizon-locked-1.19 kernel download helped [MENTION=410309]w0rdie[/MENTION]

Thanks
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jascolli:
I have Verizon 1.19... running Viper 2.2. Is there a workaround for the broken camera?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Hi,. Viper 2.2 is not 1.19. you should use the default version for base 1.80

Isn't that working?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] w0rdie:
I'm using viper 2.2 but with the older Verizon firmware. Happy to test, let me know what you suggest.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
oh guys, i totally misunderstood what you were going for...

i thought you're on stock 1.19 Verizon firmware and ROM, that's why I created a kernel for you guys so you could have it with the stock rom...

Now I see that it was without much sense, except for those who are not using custom roms, but stock verizon 1.19 firmware and rom...

I cannot really advice you then but to use the latest kernel for base 1.80 even with 1.19 verizon firmware, and unfortunately cannot really fix the green line issue with the camera for you guys :( I feel your pain... then the only thing possible is waiting for Verizon to act and update and/or revert back to stock verizon ROM 1.19 if it's even possible
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] qualitymove13:
Hello hello!

Installed latest Sprint version running stock rooted rom. After I install the ICE configurator I don't see the BLN option anywhere. Also, the options that are listed dont stick after reboot. I tried both regular ICE config as well as Pro version. Any suggestions?

TIA
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] deagleone:
use ICE Rom, instead stock rooted ;)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Thanks for reporting...

I'll have a look at this...i'm thinking sysfs paths are different for some reason on Sprint. I'll try to uncover in theory what might cause this...

To have them stick you need a system with busybox and ramdisk that supports running init scripts. This kernel installer does not give you that, custom ROMs can give you that like ICE 10.

But the BLN problem will be something different... will get back to you if I can tell it :)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
one interesting detail I'd ask [MENTION=3471484]qualitymove13[/MENTION]

Is it actually working, blinking for you with notifications? Is the problem that you don't see the settings in ICE configurator, even tho' BLN itself works?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] w0rdie:
No worries -- the updated VZ software will be around soon enough.

I can live with the line for now -- its not in every shot, so far as I can tell its low-light portrait pictures that are affected.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] qualitymove13:
No. Unfortunately, it is not working at all.

---------- Post added at 02:19 PM ---------- Previous post was at 02:17 PM ----------

Maybe I'm nutty, but I always feel like i get better battery on stock rooted roms. *shrug*
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
ok, I'll be brave and try to flash the spint build on my non-sprint device. in theory it shouldnt cause big trouble, and I can test :)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] qualitymove13:
Well good luck! Thanks for looking into this!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
found the problem, a simple merging was erroneous. Soon I'm going to publish a new zip for sprint with fix.

Thanks again for testing and feedback!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] qualitymove13:
Ill look forward to doing more testing then! Thanks again for the quick resolution!!!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Sprint UPDATE to 1.2.3-v2

Changelog:

- fix: add back missing BLN feature to Sprint version (merge issue fixed)

This should help:

CleanSlate 1.2.3 (v2) - Sprint Version for Bases 1.80:

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

Let me know how it goes!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] qualitymove13:
Installed!

Let me ask you this. Should BLN only work when charging (orange light) as opposed to fully charged (green light)? I ask because I watched the youtube video showcasing the feature.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
it doesn't matter. When it's charging, it should detect notifications based on notification Vibrations. So it requires notification vibration patterns (which from technical point of view are detectable double vibrations in qpnp haptic driver) to be on.

So it boils down to having that on for each type of notifications where you need BLN to work. (also screen must be off, while screen is on, BLN doesn't blink)

Otherwise it will only blink when off the charger.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
I'm working on a new patch for button light notification.

I wanted to ask for opinion, if you'd find it useful.

So the feature is:

Your phone is on charger.

You have vibration notifications switched on for your phone's different notifications you want bln for.

Latest cleanslate is giving you blinking for that scenario based on vibration detection in kernel.

I'd add a differentiation now where in case of charging, button light notification blinking wouldn't end when it reaches the number of maximum blinks you specified (15 by default).

This seems useful when charging, you cannot see blinking on the normal green notification led, and button blinking would switch off after a short while and you cannot see you had notification. With the new feature blinking on buttons would not stop and you can see you had a notification even when it happened minutes or a quarter hour ago, you'll know a notification waits without turning screen on while it charges.

What do you think? :) if it's on charger it doesn't really matter if buttons blink a lot, battery consumption is really little and you already have it on charger, so seems convenient.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Another feature idea I'm patching in, after the previous one (read my post above):

differentiate Vibration pattern short and long notifications:

-- if haptic vibration for notifications are on it's possible to use the vibration length information to trigger different button blink light cycle pattern.

E.g. facebook messenger and calendar notifications are shorter double vibrations than the longer GMail, standard haptic notifications.

For these shorter vibration patterns i'm adding a kind of double light-up blinking pattern. That way, if vibrations are on for notification I can at least differentiate the two big groups of notifications (short and long double vibrations), before switching on the phone screen, just by looking at button light blinking pattern. :)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] qualitymove13:
Seems like a great idea to me!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] alexpower:
Deal

Gesendet von meinem HTC 10 mit Tapatalk
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] aer0zer0:
[MENTION=3088420]tbalden[/MENTION], wasnt sure if you had any feedback for VZW yet, but it is working great here.