yashsingh1/xdaforums huggingface dataset:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] :
How can I change the pulse settings without using ICE configurator?

Which files I have to edit?

I don't like using a seperate app :p

(An AROMA installer would be cool :fingers-crossed:)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
/sys/class/leds/button-backlight/bln_rgb_batt_colored --- 0/1 on off for Charge led coloring

/sys/class/leds/button-backlight/bln_rgb_blink_light_level --- 0-20 divider for brightness level, lower = brighter

/sys/class/leds/button-backlight/bln_rgb_pulse --- pulse green led on off 1/0

I don't plan on aroma installer, sorry. Read what Leonardo thinks about it in the OP. :D

ICE and soon other apps will be capable of handling my settings in no time like it happened with all other features i've created/invented/implemented for htc 10 so far ;)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
i've reproduced the issue on sprint. I'll try to resolve it on my phone

EDIT: it's a generic problem, not just sprint.. wow, strange, i checked it earlier, maybe the gradient charge feature is playing fun with me :)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] jascolli:
The only issue im having when using the ice configurator, is that the changes i make dont survive a reboot.

Great work!!!! Superb kernel & features
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
i'll think about a separate installer for init.d support. I didnt want to touch that part. (Remembering settings is working with init.d support, like in ICE10) But I understand that with stock firmware you don't have and you miss that feature. will think about it
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Consider this issue fixed on all carriers. Found that I needed to reset the LEDs for this to work correctly.

Will have a look at incorporating full red color in the charging gradient, so it wouldn't start with amber but full red when battery is ~0-30 or so... I hope it will go well, and I can release an alpha2 with that :)

if not i'll release an alpha 2 with just the fading LED bug + screen off->on thingy fixed.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
TESTERS WANTED still: update 1.4.0- alpha2 -

Tho I've tried my best to test it, I'll still call this version alpha 2 test version before risking a real stable release. So please test and report back.

Changes from Alpha1:

- Fixed stuck Fading LED/pulsation

- Lowest charge values (0-5 / 5-15 / 15 -20) now have a slightly lower red colors

The main concern here still is that all the previous features and new ones work together well.

Namely:

NEW ONES:

- Chromatic battery charging led (amber to green based on battery level percentage, then at full charge it starts to smoothly change from full bright green to golden and the back to full green cycling, signalling 100% battery for easy spotting)

--- upper grill led while charging show level of battery charge (the more it's amber the less it's charged, the greener it gets the more juice, growing between the battery percentage 0-100%), can be switched to stock amber and 100% green in ICE configurator (it's on by default)

- Fading notification led (blinking is now of fading/pulsating type by default, can be switched to stock short blinks in ICE configurator)

- Upper grill RGB LED light brightness level you can lower the brightness level of the upper grill RGB led now (use ICE configurator's latest version!)

--- some people asked for this, so upper RGB LED won't be that bright as it is on stock. You now have this option.

OLD ONES

- Button light notifications

- notifications in general

- charging led in general

- all around green/amber notification led working

Use ICE Configurator from playstore to tweak the settings to your liking: https://play.google.com/store/apps/details?id=com.ice.tweaks&hl=en

If you find any issue please report back as usual in this thread :)

DOWNLOAD alpha2:

Normal/WWE editions (for base 1.80, non-sprint / non-verizon-locked-to-rom-1.19 installer):

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

SPRINT version (for base 1.80)

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

VERIZON version (for ROM base VZW 1.19)

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

Chromatic gradient colors for battery percentages, check attached img

FEATURE VIDEO:

[youtube]BV794d_LG54[/youtube]
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] pettigrew95:
What is the best kernel app to tweak this kernel? Thanks!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
I can recommend ICE configurator from play store by [MENTION=7558666]baadnews[/MENTION] which is already compatible with the alpha version.

If you want color profiles, I can recommend Kernel-Adiutor mod which has predefined color profiles. http://xdaforums.com/android/apps-games/kernel-adiutor-mod-singularity-kernel-t3333549 , or a simpler one the original color profile settings app http://downloads.codefi.re/savoca/kcal
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] beastlymonkey:
Hey tbalden, just a quick update on my sprint device. If I receive a message while the screen is on, the pulsing works. However if I receive a notification with screen off and turn on the screen it stays on like before. Thanks for another update though!

Edit: still on leedroid 126
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
I don't exactly get what your issue is. Is it staying blinking or is it erroneously staying non blinking green. Because the former is how it's working on stock notification. If there latter then it's strange, I have no issue with that on alpha 2

Blinking on led shouldn't stop only if you dismiss the notification or check it in pull down in some cases like hangouts
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
ok, i got to it finally, without Lock screen I can reproduce the issue. Hmm...will look into this a bit more
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
[MENTION=6405122]beastlymonkey[/MENTION]

oh, it's very hard to reproduce it consistently. Do you have a replication steps where it surely happens?

I've tried, only once it happened. I'm adding something to prevent this, and try to test it out, but i've little luck yet :)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] beastlymonkey:
Okay good. Almost there! Everything else is working fine for new though.

---------- Post added at 09:35 PM ---------- Previous post was at 09:32 PM ----------

I reproduced it by getting a notification with screen on, then locking phone with power button, and then unlocking phone. The green will stay lit like it was for me in alpha 1. Right now my notification light is staying green without a notification haha.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
hmm, i cannot easily reproduce this. Once when it happened it was stuck with the green light, but once i got a second notification it started to work fine, and cannot reproduce. So it seems hard to reproduce kind of thing...i'm still trying :)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
[MENTION=6405122]beastlymonkey[/MENTION] can you reproduce it any times? What type of notification it is, which application? What type of lock screen do you use?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
[MENTION=6405122]beastlymonkey[/MENTION] Try this alpha3 for sprint, freshly baked, if you can still reproduce it:

Download for sprint testing alpha3: https://www.androidfilehost.com/?fid=24651429356503308
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Is it the net that doesn't work, or it didn't pick up the sim at all., so no sim pin code?

Have you installed them at the same time, rom and kernel? Or was leedroid already running well and you just flashed kernel over it?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Freak07:
This I don't know because i've got ne Sim PIN. But if it didn't pick up the Sim it would Show no Sim card icon right? See attachment for the Icon.

Leedroid was already up and running with no problems. I just flashed the Kernel over it.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] peteri8706:
Yes my friend - flash was 100% ok. My about screen is like yours :)

---------- Post added at 08:41 AM ---------- Previous post was at 08:39 AM ----------

Yep, my radio everything working. I am s-off and also flashed FW 1.30.xx.

Flash speed is ok, just not in unison with the LED flash. No big deal, I like it :)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Seems like no radio at all, because it's striked through icon.

That's strange as the most it could cause is no LTE or tdd band found.

Could you please flash back to leedroid stock kernel and see if that fixes?

It looks like the decryption issue where the radio doesn't start at all if the partition was not formatted with correct keys. It then didn't ask pin didn't show no simcard, simply radio icon was like on your screen shot

When using stock leedroid, have you rebooted at least once successfully with radio working?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Freak07:
Yes many times. I hope I don't have to Format data. I'm flashing now the backup Kernel and Report back.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
I hope that too. The installer only replaces the kernel image inside the boot partition, so it doesn't change anything in encryption or data. So I'm clueless yet :(

Maybe it will be a radio thing related to your network. Some GSM freq difference my bet is to Verizon USA freqs. Do you know which GSMfreqs your provider uses?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Freak07:
Okay restored leedroid Boot.img Radio still not working.

But i've seen that in su.d there is now a permissive script? And it deleted another script from me. Is this by purpose?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
I'll check installer, I used anykernel installer and didn't check these. Sorry.

I thought anykernel doesn't change those.

Will check those in this installer [MENTION=1162986]Captain_Throwback[/MENTION] any ideas about this?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Here it remains enforcing like on stock it was
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Freak07:
Well than this was a crap App i Installed last night. Have to try to verify this.

On a side note. I think the rom i was on used supersu 2.72 not 2.74. May this be the cause?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
I don't think it matters for this kernel, anykernel installer just replaces the actual kernel zimage and leaves Ramdisk original repacking it into the boot.img and flash it. I haven't lost my root at any moment using anykernel installer used with this kernel zip

What kind of app was that? Do you think it might be the cause for no radio? Have you rebooted at least once after installing and booting up with that app you mention with radio working?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Freak07:
https://play.google.com/store/apps/details?id=com.glgjing.stark

I formatted data in twrp and Radio still not working on my restored nandroid. :eek:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Have you formatted it with format encryption option? I guess so
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
This app looks harmless, doesn't even uses root rights.

There's something different going on. Will check anykernel installer when I get there. Strange that very similar setup worked for some. (leedroid)

Hope we can figure this out

Do you have any other thing installed together with leedroid, before installing kernel?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Have you restored data partition as well? That might matter, cause problem.

I'm not perfectly aware what is restorable and what not. [MENTION=1162986]Captain_Throwback[/MENTION] advice about that or the above scenario?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Freak07:
it asked for root access yesterday evening if i recall correctly.

no i dont think so. i just had a script for the cpu governor in su.d.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] kfasheldon:
Installed on latest LeaDroid all working fine, no signal issues at all, UK GSM 3 branded phone... Thanks
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Freak07:
how exactly do i get to the format encryption option? just to check if i did it right.

i must have done something wrong.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] peteri8706:
[MENTION=3088420]tbalden[/MENTION] and all, if flashing kernel breaks signal (which didn't for me), then wouldn't the right thing to do be just to dirty flash the ROM which has the stock kernel/boot img set up and everything should be back to normal?

This is what I'd do in the M8/M7 days and any kernel changes would be reverted with a quick dirty flash of the ROM....

Also, one thing, may be wrongwrong, but if signal broken and encryption not enforcing, then could it be that people just need to select from settings to encrypt data? That is, from within phone settings after boot up....

Just a thought....
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Freak07:
i did restore the stock boot.img from leedroid and it was still broken....
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] beastlymonkey:
I will soon. The problem doesn't happen when I use the fingerprint to unlock. But it does happen when I have a notification and press the power button to turn on the screen and go to the lock screen. I'm using AOSP lock screen.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Hmm AOSP lockscreen... I reproduced it once with Sense lock screen, but now i'm unable... hope this alpha3 helps, or i'll need to install AOSP lockscreen :D
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
alpha 3 - removed obsolete
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Any other reports on bugs with alpha3?
[MENTION=6405122]beastlymonkey[/MENTION] is it still reproducing every time with the new alpha3?

I am still working on smaller ideas to make it as stable as I can to be content with it.

Let me know if any of you find a new problem.

Probably a final alpha4 today and then soon bumping it to stable..
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] beastlymonkey:
I still get the same issue, not sure how to reproduce every time though. Is it happening to you somtimes?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Very very rarely, but I'm on sense lock screen not AOSP.

Maybe that's the thing related. I have yet another idea for fix before I try AOSP lock screen...
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Ok folks, finally I've found the proper solution for the rgb led pulsation parametrization, without need for retrigger (which caused those bugs [MENTION=6405122]beastlymonkey[/MENTION] reported and I could reproduce)

But I still have two minor issues to look at now, as I've cleaned out my codes now.

One is that with colored charge LED and a notification hidden behind the charge when screen is off and charging is pulled off, almost every time the LED doesn't start to pulse to signal the earlier notification although the function that does that runs properly... Of course, switching to single color charge LED mode, and it works... Lol pulling out my hair

The other one is to test 100% state

It works but today morning my phone was solid bright green at full charge, and didn't warp to yellow and back to signal 100%. When I tested on a short time it worked just fine, but you know, perfection has a price.

Two really small thing, but still I can't call it real stable lol.

Although I played around with this dammed thing around 4am in the morning and now to work at 9am

Lol... So whoever plans to borrow the feature to other kernels when it will be out, consider oneself lucky son of a beach
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ibrokemypie:
does this kernel have exfat support?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Hi

Texfat works as intended by htc. Do you mean the open source one? That's not included

Texfat seems to be ok tho
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Alpha4 coming soon to all carriers... seems like I nailed it finally, cannot really find any issues remaining with the new features... it will be your time to hunt for bugs :)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] razrlover:
Ready to flashy flashy
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
alpha4 deprecated - alpha 4 became 1.4.0 stable (check OP)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] munkyvirus:
No bugs for me on LeeDroid/Alpha 3. I do have BLN disabled, but everything else works 100%.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Thanks for the report. There were some very rare issues with alpha 3, which I could hardly reproduce, but on AOSP lockscreen it happened much more often with some trickery.

Now those too should be gone, and all bug free :)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] munkyvirus:
I'll switch over to AOSP lock and keep an eye for bugs, just in case. Thanks for the work!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ElementRn:
Here I am again. Somebody broke into my flat and stole my phone which was charging. My laptop is also gone, with all the kernel development process I made. A friend stores a backup for me, but he went on holiday, so the backup is out of date. I have to redo all the work and start from scratch. I just unboxed my brand new replacement HTC 10, which is currently 100 percent stock. Next step is to get a new Linux laptop to start from scratch. So far no break through in terms of undervolting, but I am working on it. Good to be back on XDA. [MENTION=3088420]tbalden[/MENTION] your alpha releases go far beyond what I've imagined. Can't wait to get my bootloader unlocked.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Sorry to hear that, that's very very annoying as hell.

There's almost 0 chance to get it back in any way so generally so you just have to keep going on in some way
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ElementRn:
Thank you for the kind words. I am the type of person, that never gives up. Expect a better result, then the previous build. Hope somebody gives me his computer for 30 minutes, so that I can get my hands on this stunning alpha release you just published.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
- Update - 1.4.0 -

As always tbalden is here to bring you authentic new features to his heart's chosen phone, this year HTC 10. ;)

​

Changes from 1.3.1

- Chromatic battery charging led (amber to green based on battery level percentage, then at full charge it starts to smoothly change from full bright green to golden and the back to full green cycling, signalling 100% battery for easy spotting)

--- upper grill led while charging show level of battery charge (the more it's amber the less it's charged, the greener it gets the more juice, growing between the battery percentage 0-100%), can be switched to stock amber and 100% green in ICE configurator (it's on by default)

- Fading notification led (blinking is now of fading/pulsating type by default, can be switched to stock short blinks in ICE configurator)

- Upper grill RGB LED light brightness level you can lower the brightness level of the upper grill RGB led now (use ICE configurator's latest version!)

--- some people asked for this, so upper RGB LED won't be that bright as it is on stock. You now have this option.

Use ICE Configurator or LeedDroid ROM tweaker to configure the settings to your liking. ICE configurator on playstore: https://play.google.com/store/apps/details?id=com.ice.tweaks&hl=en

DOWNLOAD 1.4.0 stable:

Normal/WWE editions (for base 1.80/1.90, non-sprint / non-verizon-locked-to-rom-1.19 installer):

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

SPRINT version (for base 1.80/1.90)

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

VERIZON version (for ROM base VZW 1.19)

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

(If you wonder, 1.4.0 and 1.4.0 alpha4 is the same, because alpha4 was totally stable and I just renamed the zip files, so if you have 1.4.0 alpha4 installed, you don't need to update)

Chromatic gradient colors for battery percentages, check attached img

FEATURE VIDEO:

[youtube]BV794d_LG54[/youtube]
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] beastlymonkey:
Sweet just wanted to say didn't have problems anymore on my phone! Thanks, glad you're the official LeeDroid ROM kernel guy now.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Original post updated with the 1.4.0 stable stuff.

Thanks go to [MENTION=398245]LeeDroid[/MENTION] for the inclusion of the CleanSlate kernel and covering the LED features settings in the ROM's latest version

And as usual to [MENTION=1186202]baadnewz[/MENTION] for bringing the settings first in line to his great ICE Configurator app.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
I knew I'll nail it someday... this feature set was a tough one to complete to perfection...

but as always, I never give up once an innovative idea's got into my head, pushing the boundaries of HTC's innovation ;)

After all these weeks developing stuff, now it feels like using a much more user friendly device with BLN + Charge time vibration based BLN + Gradient charge LED + Fading/Pulsating LED...and I push a bit of saturation on the device too with the color control...

Hopefully the 1.90 kernel source will be out soon as well, so we can have that updated as well...

as soon as the OTA will be out, i'll start to bombard HTC with asking for sources...as usual :)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ElementRn:
I always run out of thanks. Got my hands on a computer, so I am back on ice and cleanslate. Never looked forward to charging my device that much. Let me know, when the OTA is available, I'll help you spamming HTC with source requests..
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Ok, we'll make it loud and clear when it has landed, [MENTION=1186202]baadnewz[/MENTION] and [MENTION=398245]LeeDroid[/MENTION] will join too I'm sure as on last occasion 1.80, as they usually look for fullest rom base compatibility, as it's the best thing to have :)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ElementRn:
I couldn't agree more. Performance of ICE ROM in combination with Cleanslate kernel is unreal. It feels like I am using a 2017 flagship.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] cobrax2:
hey [MENTION=3088420]tbalden[/MENTION] is the led really rgb? can we change its color to, say, blue? or is it just rg?

thanks
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Unfortunately even adding the missing blue dtsi configurator the thing that happens is that Amber is being used. One of the first things I've tried when I got the phone was looking at the blue part

In short it's really just RG unfortunately
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] cobrax2:
oh well, just imagine how much costier wouldve been the phone if it had a rgb led :)

at least it has a big led not that *shtty tiny dot m9 an m8 had. probably just the size added like 20 $ to the price

thanks
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] hovercraftdriver:
Installed this morning on Verizon phone running ICE and had hard lock-up about 2 hours in...had to hard reboot. Will keep monitoring.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Which one did you install? I hope not the one for base 1.19 . Did you install the international one for base 1.80/1.90? Thanks for reporting
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ElementRn:
Thank you once again. The color changing LED is just amazing. I had a lot of cost, because of that burglary, but on Monday I should receive my money, then I am going to donate immediately. Great work has to be supported.