yashsingh1/xdaforums huggingface dataset:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Thanks! I always try to forge usability and aesthetics into the best possible. Flashlight tweaking begun with my disdain over how application based flashlight apps look when they use the flashlight. It's impossible on application level to achieve what kernel can...

Bln is a longer story, begun back on one x :)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] X46X:
Still not working flashlight notifications for me in latest beta, I´m on LeeDroid R111 and I have turned everything about flashlight notification ON in Tweaks (Ambient switched OFF)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ordeniz:
Hi! Do you have double tap to wake on lock screen on dirty unicorns with CleanSlate kernel?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] DeeZZ_NuuZZ:
yea I had it, why?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ordeniz:
When I was on DU with stock kernel I didn't have this feature,DU guys don't give it with stock kernel,that's why I asked. I'm now on stock US ul. rom,may be I'll try DU with CleanSlate kernel. Thanks for the answer.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] DeeZZ_NuuZZ:
Ah ok
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ordeniz:
Hi [MENTION=3088420]tbalden[/MENTION] ,İ flashed Dirty Unicorns with your kernel (2.35) but I couldn't get double tap to wake on lockscreen to work,can you please help me?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] DeeZZ_NuuZZ:
Oh wait. I read it wrong. There was no doubletapwake on DU and not his kernel. Or do you confuse now some things? You mean the wake feature like sense has? Or something else?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ordeniz:
I mean when you double tap on the screen on the lockscreen (when the screen is off and locked),it wakes and you can check time and notifications etc.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Is it possible on any rom other than sense?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
[MENTION=1205214]SacredDeviL666[/MENTION] thanks for the detailed feedback. much appreciated
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] kfasheldon:
Hi, thanks for this v1 worked fine but I've uped my fw to 1.3 and reflashed leas 46 all working well was about to flash v2 but noticed it modifies system.. So will this affect Android Pay safety net as that is kinda fussy.. Even a normal install of adaway or supersu kills it..
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
I can give an installer that doesn't replace modules, should work as before. I'll upload it soon.

It was added for Verizon 1.19 base where modules were not compatible in the stock rom, but 1.21 1.30 are fine bases without system modification.

Wait a bit...
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] SacredDeviL666:
[MENTION=3088420]tbalden[/MENTION]

how long does button light notification stays active for a notification received? is it active till we read that notification?

if so could we change it to stop after a specific interval to avoid unwanted battery consumption.....if i receive a msg or email or any notification after 15-30seconds it goes off..
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
[MENTION=2664373]kfasheldon[/MENTION]

I don't know whether AndroidPay checks System RW mounting to validate it, but let's assume that.

So here's an installer without the kernel modules (but should work with 1.21 and 1.30 base modules, and not on Verizon 1.19 and older):

kernel 0.2 no modules installer (system partition intact):

http://d-h.st/RF3y

https://mega.nz/#!zgQAEZgT!Y8pURaN7-PVZbTMnweV1L-85QSDehey-cfkbZ7NGCpA
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
Or you could just copy the modules to /su/lib/modules and add a script to /su/su.d that bind mounts that folder to /system/lib/modules, and then you ensure your modules get used and you don't have to modify /system :good:.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
well, it stays just as long as the other notification, that's right.

Adding a kernel work that would expire after a while, it could save some battery, but that would keep the CPU awake a bit more....hmm...

i'll have a look at if i could make the dark period a bit longer instead, and leave it as it is now, ad infinitum :) whatcha think?

(or you can use custom roms and set length of nofitication led blinking...supposedly that would limit the BLN too)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
can you elaborate? is su.d present without Rooting (i'm lagging behind on this topic sorry)? If not, we're there with the supersu problem mentioned, which already mods the system image (or not? but it block androidpay).

thanks
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] SacredDeviL666:
the rom i am now is of lee's gets the notification off after a certain duration....

think this way we get a notification while we are snoring... it would keep blinking till i wake my lazy ass to check it( i am a fan of hibernation when i go to sleep ) :p ...so i guess adding a timer to stop the notification or add a duration for the light to blink would save battery than letting it run forever....

its just an idea....
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
"for example the rom i am already on lee's gets the notification off after a certain duration...." - you mean that this notification off thingy doesn't stop BLN even when the grill led stopped? I thought it would (haven't tried). So the BLN keeps blinking when the RGB LED has stopped? Strange
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] SacredDeviL666:
yes thats what i believe so... didn't had the patience to check it till the end... will send a notification to myself and see when i am out of hibernation it still does the blink :p

ambient display goes off in few seconds for sure!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
i'd think that it should work thus: when the RGB led is off, it should trigger BLN off as well, i coded so. But as I'm on stock rom, haven't tested. Let me know how it goes :) thanks
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
su.d requires SuperSU. SuperSU does not mod the system on 6.0+. It installs in "systemless" mode. I think you need to read up on this ;). It does not block Android Pay in this mode either.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
but [MENTION=2664373]kfasheldon[/MENTION] reported it does block.

So does it or not? :)

also any good reads on the topic ? thx

Anyway, I don't want to require supersu for the kernel mod, so tough nut to crack... :)
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] Captain_Throwback:
I figured everyone that's flashing a custom kernel is already rooted....I guess that's not a safe assumption?

The latest SuperSU Beta DOES NOT block Android Pay in systemless mode. That is a fact :).

The SuperSU forum/threads will be the most complete reads on the subject. I don't think there's one specifically about bind mounting, but I know AdAday uses that method for the hosts file in a systemless installation.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
OK. gotcha. well I don't necessarily think Root is always there.

In fact I use it only because of adaway :P Otherwise I don't like the notion of root apps escalation (not the notion of su in itself) :D (I'm tinfoil hat :P )
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Kernel updated to 0.3

Two packages: one with no modules for most custom roms and stock 1.21 and 1.30 and one installer with modules for Verizon 1.19 base stock roms

Changelog (24-may-2016):

- fine tuned Button Light Notification flash pace, more unlighted period, and smoother lights fade transition

- two types of installers (one without modules for 1.21/1.30)

Installers:

CleanSlate for HTC 10 v0.3 without modules (1.21 / 1.30 base should work fine, Verizon 1.19 use the other! This DOES NOT modify system partition)

http://d-h.st/J4x8

https://mega.nz/#!OpA1zJaR!ONW0XcyMGUjjGYGdamT6CFa-wADZWUFOavPWcrhnD-I

CleanSlate for HTC 10 v0.3 for Verizon 1.19 (with kernel modules, This DOES modify system partition)

http://d-h.st/muFO

https://mega.nz/#!iwh2XZZI!o0thE3SiIZAAdzwmGv8UUEZ6GTsnHZ_gytdnQqojnDk

PANDA's Demonstation of finetuned BLN cycles:

[youtube]5zKCjzDEQyc[/youtube]
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] kfasheldon:
Thanks .. I'll give it a try - see how Pay likes it, if it opens OK then will test in morning on way to work see if it allows payments ok.

---------- Post added at 10:00 PM ---------- Previous post was at 09:54 PM ----------

Hi Guys, so long as a system-less install (which is no automatic on mm) then no problem with Su, I was only using it as an example of something that mods the system and messes Pay up.

We need to be careful on this 10 device so that we don't break comparability with Pay, Encryption(Radio Issues) - so the cleaner we do things the better.

It's great that with all your skills and the other Devs we have coming on board this device is sure to be a great one for playing about, already in such a short time we have a simple easy to flash system with a twrp recovery working with the encryption, a customer kernal booting across all variations and a modded SuperSu that allows anyone to root a stock rom.

Gonna try v3 now see if it plays nice.

Thanks
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Okay, now it's clear what you meant with system being mounted R/W, modified. Thanks! I'm happy too, to see HTC flagship flourishing again so much! :)

Some thoughts, randomly from me :

I didn't know it's not the default behaviour of SuperSU to install systemless... looks like that should be the way for Stock rom users it would be more convenient.

I prefer stock as well for now, and I'll start to dwell into custom roms when either I cook them :P (this won't happen on Htc 10, because it's already full of great ROMs) or when there's features that are a must have. I have to say all these custom ROMs are really tempting, I really like the customization they brought, but not yet fully convinced I should use them at the moment.

I rather keep my system SeLinux enforcing, and if possible without SuperSu or root...just install AdAway once, and remove SU is my way to feel comfortable :P
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ordeniz:
I don't know. I don't know much about these things. but when I asked for this feature in DU g+ thread, they told me that I need a different kernel for that. That's why I asked,I thought this feature is kernel related. Sorry for my ignorance.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] DeeZZ_NuuZZ:
That's a ROM not kernel feature afaik. Only doubletap2sleep is a kernel feature afaik
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] VFL:
so far on beta 2 working all the best flash light blink ambeint display working button key flash, douple tab 2 sleep and on battyr good now thank

update and also virbration is back normal now
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ordeniz:
Oh,I didn't know that . It seems I misunderstood. Thank you.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] DeeZZ_NuuZZ:
Everything's good. But normally it needs to be implemented by ROM, at least that's what I know and have seen
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] X46X:
Hi, I still don't know how exactly flashlight notification work. I see it only for message notifications. Can anyone explain how it works? How to turn flashlight notification for WhatsApp, Alo, etc..
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Are these applications with vibrating notification? By default only those will trigger it.

If you set flash haptic blink to 0 then non vibrating notifications will work too
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] X46X:
Nope dont using vibration on these aplication. Where can I set it to 0?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
/sys/class/leds/button-backlight/bln_flash_haptic_mode 1/0 - 1 = flash only when DND is off (vibration notifications will trigger the blinking) ( default value: 1 )

Or check LeeDroid tweaks or exkm
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] X46X:
Thanks, I don't have this setting in leedroid tweaks
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Thing is, since a few years and new nanohub is programmed with certain oem firmwares of stock roms it's generally now became a borderline thing.

On stock roms you have it in rom with nanohub mini programs running on it.

My shortcoming here is that I don't know if this is possible to do on aosp rom dev side.

Actually a few models back this was certainly kernel feature, and now a stock rom thing hidden from kernel space.

BTW this kernel has sweep to wake / sleep which is something similar , credit going to [MENTION=4684315]flar2[/MENTION]

Well since the fingerprint can wake the device I find double tap obsolete.

Fingerprint tap isn't a good one for you? I guess you want the lock screen without unlocking, right?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
[MENTION=398245]LeeDroid[/MENTION] is quite busy these days, but I think he has a plan to add them.

I create too many new configuration possibilities in a short time, so it's hard to follow :D
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Cool, thanks for reporting back!!
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] VFL:
Can u Check when ambient display on and when the message r coming and the vibration is bit slow like bit quieter then display off
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ordeniz:
Yes, that's right, lockscreen without unlocking, just to check the notifications and/or clock.

I didn't know about the sweep to wake feature. Thanks.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Yep, noticed, notification booster is not acting because screen is on.

I'll fix that up in the next release
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
- Update 2.4.0 stable -​

Ambient Display support:

- new feature: supporting AOSP/Sense custom ROM google AmbientDisplay

-- notification features now work together with that

Flashlight Notification Blink update

- adding Flashlight Blink Bright switch with Bright number to let specify how often blink bright

Download:

https://www.androidfilehost.com/?fid=673791459329054964
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
[MENTION=1864964]VFL[/MENTION] should be fixed in 2.4.0 stable above
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] VFL:
Yah now bit better but can not more vibration strong.? The alarm vibration going be quieter
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
after a few vibration, alarm vibration gets to strong, just wait a bit. I've a checking for that, so you'll feel, about 4 vibrations after it gets strong
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] VFL:
i have test it from beging all some, nothing fell be bit stronger, is their on lee tweak system Vibration Voltage can be change or ??
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Hm will test this, don't worry. It should be a bug then
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] MeltdownSpectre:
Currently using RR with Clean Slate 2.3.5 and Magisk.

If I dirty flash 2.4.0, would I have to re-flash Magisk as well?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
This is not needed, you can simply flash over it

as this only modifies the so called zimage inside your boot partition, in practice it will itself be unzipping adding then rezipping and then flash the boot partition.

So magisk ramdisk remains intact
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] gsw5700:
Wow, latest version 2.4.0 has broken the record for lowest CPU temp when idling at room temp. It was 22c, now down to 21c. Good work
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] VFL:
No just flash kernel magisk is not touching it just kernel

---------- Post added at 12:29 PM ---------- Previous post was at 11:56 AM ----------

if virbration all bit more stronger then is best kernel sofar not hot and not drain
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Stronger Vibration for notifications, right, not for keyboard input?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] VFL:
yes notficatiom and alarm, keyboard i put disabled
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] arodey:
what is the best app to use to tweak settings for this kernel? i tried both of the recommended but they kept saying i need busybox. i can't seem to get busybox to install on lineageOS. sorry for noobing out on this one, i am normally pretty good about working thru these things.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
hmm, ok, well for that, i'll check if there's a bug with alarm, or what goes on.

As for the maximum voltage, there's about ~100-200 mV to raise it a bit more, i'll try maxing this out (I've calibrated the maximum on the htc u11, and not on the htc 10), and will most probably change to that.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
well, that's something I used to do with some Root app for busybox installation from PlayStore, but I'm not sure what's the current method for that.... Probably others can help out
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] MeltdownSpectre:
I used to use this for Busybox:

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

I'm on RR with the Clean slate kernel, and I use Kernel Auditor (root) to mess around with stuff.

Very happy with the results.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] VFL:
i think i have issue for me, today happned me 2 time random reboot, adn seem bit slower thne beta version, now i m in beta version is different from 2.40 i ll check it over night
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
What were you doing on the phone while this happened?

Any special notification happening when this reboot occurred?

Also was it freezing before rebooting or rebooting usually l instantly?

Also was it a full reboot with bootloader screen or a soft reboot with only the LeeDroid/htc/ lineage/aosp logo?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] VFL:
nothing i was checking whatsapp message, and it seem slow open, then it going black screen mean full reboot. then i check everything fine, later when i m use mobile again on whatsapp and they open delay bit then it agaon going blackscreen. now i m use beta2 kernel and nothing happned,seem faster then 2.4 ill flash agaon kernel 2.4 after 1 houer, the 2.4 seem better and better battry then beta2,

ill update when i m done with 2.4 for now use beta2
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] old.splatterhand:
Is there any news for the mtp bug on lineage/RR?

Really want to use this kernel, but this slow, hard to use mtp is holding me back.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
do i remember right that you're on AOSP / lineage or RR?

I don't have issues on Sense, but I'm planning on getting again back to LOS to check this and the MTP stuff.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
not yet. I'll need to flash LOS again, now that I've stabilized stuff with latest release on Sense ROMs.

I'll do so next, and check why MTP worked fine for me...

btw have you tested, and are you on Nougat firmware or MM?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] old.splatterhand:
Latest Nougat EU firmware. I checked it after it was mentioned here in this thread and mtp was unusable slow.

Restored my backup then.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Ok, one last thing, what speed it had while testing mtp? I'll check the speed that worked for me on los
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] old.splatterhand:
It took ages to recognize all files on my 128 Gb. After 5 minutes it wasn't finished, so i stopped it and did not copy anything.

With "normal" mtp mode this only takes a few seconds.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] VFL:
so on my kernel result is for beta2 best then 2.4
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
MTP issue workaround for AOSP (on Sense works without this)

OK, here's why it works for me and [MENTION=6354498]ali nz[/MENTION]

[MENTION=3142060]old.splatterhand[/MENTION] [MENTION=3787726]romixer[/MENTION]

There's some issue with initializing the USB modes.

What I did earlier and turns out it helps and perfectly works (probably this is a RAMDISK difference between sense and AOSP?):

Go into Software info. Tap Version number till you get Development mode. Go into Development options, there check "USB Debugging" enabled. Then connect USB, allow USB debugging for PC when it pops up.

The change to MTP mode. It will be working fast and perfect.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] old.splatterhand:
I will check and try. But not before the children are in bed.

But tbh, i normally have USB Debugging always enabled.

We will see.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Hmm, well I don't have many files on my phone... But without that it won't even appear the browser window to copy files...

And then it copies a one gigabyte file in a minute or so
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] ali nz:
Never ever had issues with USB file transferring here
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
I'd like to understand the nature of the problem..

Maybe it's related to quantity of files on the internal mem?

Here's how it goes to internal card

[YOUTUBE]-QToBhHafyk[/YOUTUBE]

At the end of the video you can see my htcsync version
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] old.splatterhand:
I will give it a go.

But i need to do a backup first. And some free time...;) :laugh:
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Ok, thanks, no need to back up only the boot partition.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] old.splatterhand:
Good news. For the first try the mtp problem seems to be gone. Before i tried, i disabled/enabled USB debugging, maybe that did the trick.

But i will keep an eye on this and report if i'll see something.

Now its time to config Vibrating Notification Reminder.
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Yeah easily. Ramdisk switches can be tricky, don't know how they stand now but a simple adbd start stop start can change what is enabled in kernel.

As for the reminder, there's a restriction that you need to have flashlight notification on as well, these share the same cpu waking time scheduling. If that bothers, the most close to make this less problematic is to set flashlight dim=1 and set dim use period to 0

Also if you want these for non vibrating notifications set haptic mode to 0
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] romixer:
Strange, I don't have the mtp bug. Maybe cuz debugging is set by my default setup... Anyway, speed over 3.0 usb is nice. Huge files not a problem at all
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
Ok, cool thanks for the feedback.

USB is a rather sensitive mix of code base, intensively being developed at qcom, so it's nice that at least for now it's working at least this much
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] chrisftlse:
Hi,

Just want to add that everything is running very well from my side.

very good battery life (interactive mode)

Half gaming Half Surfing and Multimedia (around 5h45 SoT )

Camera 2 api enable to play with camera port functionnality

And Robust... not a single issue nor Reboot.

Huge thanks
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
thanks for the feedback. Glad it works well!

May I ask if this is on sense or aosp?
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] chrisftlse:
Hi

Currently running the MHD 3.9

Your kernel

Exkm paid version

Lee's short cutter paid version too

So Sense version ?

Very good work
[HTC 10 ROMs, Kernels, Recoveries, & Other Developm] tbalden:
wrong thread lo