yashsingh1/xdaforums huggingface dataset:
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] The Great Dane:
Hahahahah yes would be awesome ????
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Bahahaa guessing a visit to Denmark will swiftly tune up Lee's productivity to epic proportions. I know, those beers got me once or twice as well :cool::laugh:
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
You could use my new trick up in the sleeve, called configuration via a simple text file in the root of the internal storage. The file should be named uci_user.cfg . Right now installing the zip will place a file uci_user.cfg_sample to your /sdcard/

You could either copy it to your PC, edit and copy back with the proper name, or edit it on your phone, like with es text editor of es file manager.

In that config every feature can be tweaked.

Or check second post for [MENTION=271041]p50kombi[/MENTION] 's custom exkm exported properties, import, and you could access all settings again.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] guidogsbn:
Thank you, good to mention that. I missed, that nearly every kernel update install puts a new Companion.app on internal SD Card, which has to be installed manually after TWRP kernel install.

Now I´m up to date, mwuaaahaaahaa :good::cool:
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] DroidIt!:
Sounds good there Me Baldin. Will give a play today. :)
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
New enhancement planned:

Option for: placing phone face down on a table will simply switch off the screen immediately.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
indeed, I couldn't resolve to install it to /data/app/ directory correctly, it has messed up things when I tried, so for now only copying it there without actually updating...

I should set up a google play store acc so I can push updates there too, but that's gonna be for later :good:
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] mick_soul:
Wonderful idea :D
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Thanks :)

The more I think about phone user experience and ergonomic, the lazier I get.

Even pressing a button seems too much now :laugh:
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] mick_soul:
Me too :laugh:
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] beartiger:
Got button light rgb pulse set to 0 but it still pulses when charging, what am I doing wrong?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
well, bln_rgb_batt_colored should be set 0. To show that battery is full, in colored charging led mode green is not enough, as that is almost the same as 99% green, so it pulsates for that.

the other one is specifically for notifications only.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tetrabyt:
Think I found a bug... Got a notification and button lights wouldn't come back on, after I checked it.. Anyone else?

They blink, when I get another notification. But they don't come in otherwise. Buttons still work..
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
are you by any chance using uci_user.cfg from previous release or this set: /sys/class/leds/indicator/bln_light_level 20 ?

The button then won't turn on (which is actually a feature, but only if set to highest level = 20)... I accidentally left this setting in again in the sample config... DOH :)

BTW uploading next release with correct value (default is 6)....
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tetrabyt:
Ok, working now, thank you.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Cool! :good:
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
- Update 2.6.3 stable -

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

New feature

- option to Screen Off when putting phone Face Down (default on)

--- /sys/fpf/face_down_screen_off 1/0 (1 default), uci: face_down_screen_off

new UCI parameters:

face_down_screen_off=1

CleanSlate Companion App 1.2.0

- Idle Screen off timeout channeling to kernel (to make face_down_screen_off work fine without interfering timeout screen off)

- Fixing application to be scrollable down to version number and build time.

:cool: SO HOW DOES A CleanSlate USER ROLL... --- check video for new/old feature(s)--->

[youtube]5J6K3tnfXPM[/youtube]

Download (v2):

DON'T FORGET TO UPDATE CleanSlate Companion app from the copied 'cleanslatecompanion-1.2.0.apk' !

Installs kernel, copies Companion app to internal storage (/sdcard/) and sample /sdcard/uci_user.cfg_sample (rename and use or merge with your file)

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

APK 1.2.0 only: https://www.androidfilehost.com/?fid=817906626617948191 -- Sample config for 2.6.3: https://www.androidfilehost.com/?fid=817906626617948192
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] The Great Dane:
You are a machine, thank U, thank U and thank U:good:
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] p50kombi:
Awesome mate..

Here's the exkm file:

https://www.dropbox.com/s/bobexalind0iikp/cleanslate_2_6_3.exkm?dl=0

---------- Post added at 11:49 PM ---------- Previous post was at 11:40 PM ----------

[MENTION=3088420]tbalden[/MENTION], seems the face down value is not present in sys/fpf
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
fixed! thanks for checkin
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] smallKING81:
I'm testing kernel CleanSlate 2.6.3 together with CleanSlate Companion 1.2.0. There are no unexpected shutdowns. But from time to time, when I connect the charger to phone, LED lights very weakly. If I reboot the phone, LED lights brightly as usual.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Can you tell me what are your settings for this?

smart_trim_inactive_mins=6

smart_stop_inactive_mins=60

smart_hibernate_inactive_mins=240

smart_silent_mode_stop=1

smart_silent_mode_hibernate=0

Is your phone in silent mode when this happens?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] smallKING81:
1. Where can I find this settings? I use EXKM.

2. No, my phone is not in silent mode when this happens. It is in normal mode (the volume is switched on).
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Don't worry then if you didn't change those, I need to investigate this a bit more.

Can you tell me about how much time you left the phone inactive after which this dimming happened?

If it happens and you do some activity like touchscreen, and reconnect, will it stay still dim?

I indeed made some changes around this, maybe I missed some use case, as I tested this rather briefly.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] smallKING81:
It happens like this:

1. The display of phone is off (but phone is on). I connect the charger and LED immediately lights weakly.

2. Actions with the phone does not affect LED in any way, it still lights weakly.

3. I reconnect the charger and LED still lights weakly.

4. I reboot the phone and LED begins to light normally.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
How long is the phone on/ rebooted when this happens?

Is it about the same or varying much?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] smallKING81:
The phone reboots normally, as usually a few seconds without delay and freezes.

I did not follow how long the phone was on before the charge. Usually I do not charge it all day.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] roboprint:
Sample config for 2.6.3. zip is flashable zip? I couldn't open it... md5 is correct
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
No, it's not flashable. But the full kernel installer zip will copy the sample config to your internal storage at installing it in twrp.

You can find it there (/sdcard/uci_user.cfg_sample)
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
OK, I'm going to test and think about this. On a fresh reboot I had this, but only until I did some input on the phone.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
If it happens another time, please try capturing a dmesg right close to the time when you plug the charger. I'm trying to reproduce, but no luck yet. Thanks
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] smallKING81:
How to do dmesg? Sorry, but I am not good at this
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
I suppose you're on windows (but Linux is very similar), and have a working ADB with the phone

(If not, enable Developer mode, and there enable USB debugging)

Then open shell or cmd:

When the problem happens (I advice to try plugging in to PC instead of charger, as it's the same for testing the charging led light level, then if it's dim type to command line: )

> adb shell "dmesg" > dmesg.1.log

And upload the dmesg.1.log file
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
OK, I think I know the problem, discovered a thing that explains it all :)

So, in order to fix this, install the CleanSlate Companion APK and make sure you start it upon reboot.

Although the app should start after a while, it's not perfect in this regard, and/or if you uninstalled it, in the uci_sys.cfg file you'll find this: 'silent=1'. This causes your issue in my theory.

Meanwhile your phone is not in Do Not Disturb mode, without the companion app, this file is stuck in DND silent mode, and kernel will dim lights, stop flashlight etc.

If you don't want the Companion app running, uninstall it, and also delete the uci_sys.cfg from your /sdcard/ folder

If you want to use the CS Companion, then after a new install, don't forget to start it!
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
working on:

Notification Access usage in CleanSlate companion app, to be able to start ambient display on any new notifications without Vibrations as well + BLN on charger without vibrations required to be on... so notification Vibration pattern recognition won't be needed...

Also adding two finger KAD interruption gesture...
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] smallKING81:
OK, thank you for explanation! I want to use CleanSlate Companion APK. I opened uci_sys.cfg file and I see that 'silent=0'. And all another items have zero as well.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
OK, so the issue persist. Then please read my other reply about capturing dmesg, when the issue happens. That would hopefully give some pointers what's happening
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
This works cool. Still gathering a list of notification types to filter, like system ui ones for plugged in USB, htc sync manager, Wi-Fi network found etc...

Probably will include a possibility for a blacklist text file on sdcard so you can blacklist certain apps for yourselves, and also a log file where you can check the package names appearing as notification so you can copy it to the blacklist
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] mick_soul:
A blacklist would be really fine, cause I would like to see all the alarms coming from the alarm clock app insted of KAD :good:

Thought about the possibility already, but forgot to mention and ask you :o
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Great that you mention this. earlier I was only checking alarms in the morning which I think already is ignored, but I missed the others I think.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] slashray:
Hi im on leedroid with cleanslate 2.6.3 i accidentally set the short edge squezee to edge launcher so my question is how can i get the squeeze to peek and another squeeze to work?

Thx in advance [MENTION=3088420]tbalden[/MENTION]
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] aliveanddead86:
Love the kernel and the mods, but dislike the app using silent to dim the lights and stopping BLN.

Is there anyway to bypass this without removing the app? In EXKM I have "respect do not disturb" disabled, which used to keep BLN flashing.

After I uninstalled the app, the phone would flash while not on charge correctly whilst on silent mode, but when it is on charge the BLN nor flash would light up. I'm sure it did on 2.5?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
You can disable those:

/sys/fpf/smart_silent_mode_stop=0 --. Use DND silent mode to switch to smart stop mode

/sys/fpf/smart_silent_mode_hibernate=0 - use DND silent mode to switch to smart hibernate mode

Check second post for custom exkm settings provided by [MENTION=271041]p50kombi[/MENTION]

After this using the app will work fine, but if you want to keep it uninstalled, after that remove the file /sdcard/uci_sys.cfg too
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
You can enable/disable those gestures anytime in settings/edge sense

Full details here https://xdaforums.com/showpost.php?p=73322717&postcount=98

Attached the screen where I have the toggle off
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] smallKING81:
Sadly, but today I had 3 random shutdowns again :( Difference between 2 last shutdowns was less than 10 minutes.

I connected the phone to laptop to grab dmesg but there was no any reaction. The phone was like dead and LED did not shine. Only hard reboot helped.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Ouch, that's bad... How much time you left it frozen? If it would reboot to system again by itself then you could grab /sys/fs/pstore/console- ramoops

adb shell

cat /sys/fs/pstore/console-ramoops > /sdcard/log
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] p50kombi:
I had a complete lockup tuesday evening whilst in the car, I couldn't grab a log whilst I was driving and it hasn't happened since.

The phone went completely dead and didn't respond to the charging cable being plugged in either.

Had to reset holding power and volume.

I'll grab you a log next time it happends, but like I said, it hasn't happened since
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Oki. Thanks!
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] smallKING81:
I left it frozen about 30 seconds. Then I started to panic and rebooted the phone:)

I input command:

adb shell

cat /sys/fs/pstore/console- ramoops > /sdcard/log

I get:

/system/bin/sh: cat: /sys/fs/pstore/console-: No such file or directory

/system/bin/sh: cat: ramoops: No such file or directory

1|htc_ocndugl:/ $
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Sorry it's

adb shell

cat /sys/fs/pstore/console-ramoops > /sdcard/log

This will only work if you could boot directly to system and not bootloader or download or recovery.

Otherwise memory device is flushed and won't exist
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] smallKING81:
"No such file or directory" again. I checked by Root Exporer: the folder /sys/fs/pstore is empty.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
I'm really unhappy to hear that freeze can happen occasionally.

I'll try to think where are sensitive changes and parts that could cause this.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Yep, as I wrote this will only work if right after freezing you can reboot instantly to system again. So right now this file won't be there
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] thicklizard:
Any one with freezes running leedroid with PNP mod?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Is there an issue with pnp mod on stock?
[MENTION=271041]p50kombi[/MENTION] or [MENTION=4305326]smallKING81[/MENTION] are you using pnpmod?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] thicklizard:
Not sure about stock but I have had issues running the balanced profile on leedroid on a personal kernel. Switching back to the stock PNP I had no issues switch back to balance and the phone would freeze again so I have stayed stock PNP and haven't had issues since. That's why I brought it up maybe others have the same situation and it's not kernel related.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] p50kombi:
I'm using the latest pnp mod balanced also, its not the one that's included with Lee's rom I think
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] thicklizard:
There could still be something that doesn't play nice with the PNP mod and Lee's ROM even if it's not the one included. Let's call out [MENTION=398245]LeeDroid[/MENTION] and call it a ROM bug he's been begging for bug reports :p
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] jelive:
Using CS that is in Lee r71 with battery saver pnp from Lee...no issues.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] p50kombi:
Yeah, to be fair, I only had one hangup and it could have been anything really.. Sometimes **** just happens ;)
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
What buggers me is that it was first reported after introducing the unprivileged configuration interface, which could cause some trouble, but my idea is that if it were a kernel lock up it should reboot normally after the watchdog kicks in...

So it's strange that it does not panic kernel...

Meh, now I'm badly curious whether [MENTION=4305326]smallKING81[/MENTION] uses pnpmod...
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Could you tell me which alarm app is that?

I checked with the stock alarm and timer and it's showing fine without trouble.

Is the problem with receiving other notifications meanwhile the alarm is happening and KAD interferes?

Edit: OK, I've reproduced the problem. It's when KAD is already displaying and the alarm happens just in that time frame, the Kad will switch screen off even tho the alarm should still continue..

Will see how this could be fixed
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
So progressing well with 2.6.4...

Notification detection in silent state (no vibrations required anymore) revamped with a new CS Companion app version.

Also added a configuration list file for blocking packages with normally silent notifications (like USB connection notification and such) to be interpreted as real notifications.

Also a config list file to specify packages of apps that should block starting/continuing a KAD screen. Like Alarm clock / Phone call app.

More testing, and waiting for this freezing issue to settle, if it's related to PNPmod...
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] smallKING81:
Yes I am using pnpmod from EXKM (item HTC pnp is enabled) and I think that the problem is pnpmod because yesterday I flashed the kernel ElementalX 1.0.8 and I got the same situation with random shutdown.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Thanks for checking and reporting!

Then this might be interesting for [MENTION=398245]LeeDroid[/MENTION] [MENTION=4905624]j to the 4n[/MENTION] and [MENTION=4684315]flar2[/MENTION] as well.

I haven't tried pnpmods on the u11 yet.

Thanks to [MENTION=4165809]thicklizard[/MENTION] for bringing up this important piece of information
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] grega_slo:
I should mention it earlier but didn`t have time.

PNP mod also from [MENTION=1792279]ivicask[/MENTION] does this with non stock kernels.

I think that he confirmed it weeks ago :)
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] mick_soul:
it is PocketBell and I miss the nice gesture control when alarm is coming ;)

great that you are making good progress :good:

Thank you for all the hard work :)
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
That's then still somewhat strange.

What I gathered so far then that it's happening on non stock only, and since a longer period.

So stock looks fine then tested.., and it's absolutely sure that works fine. Right?

Then the open question is what is the change in all the non stock ones that causes this.

Hmm hmm...
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Regardless I consider current state stable, and discourage the usage of pnpmod especially balanced mode. I'm not sure incompatible pnpmgr Vs other version of kernel sources is the issue, or something on the custom kernel features.

As I've not ever encountered such issue, and also it isn't a reboot, but freeze, I also consider it a kind-of user space issue, innocent until proven guilty lol. Give me dmesg. :p The fact that it's not an actual watchdog initiated auto reboot

after deadlock, underpins this approach.

Expect next release this weekend with the revamped notification detection feature and alarm/timer KAD fix.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
- Update 2.6.4 stable -

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

New features

- option for KAD stop with Two finger gesture

--- /sys/fpf/kad_two_finger_gesture (0 default, 1 ON)

- compatible with new CleanSlate Companion app 1.3.0 features:

--- now all notifications events trigger BLN/Flashlight/KAD without vibration pattern detection or interception of the LED blinking. You can receive KAD/BLN/Flashlight notif even when your notifications does not trigger the LED or vibrate. (E.g. instagram)

--- now screen waking apps should not be blocked by KAD like Phone/AlarmClock, new kernel works together with Companion app to avoid this. Check App changes.

new UCI parameters:

kad_two_finger_gesture=1

CleanSlate Companion App 1.3.0

- Needs Notification Access to work, upon start please grant it!

- All application's each Notifications' interception and channeling to Kernel UCI sys interface

---- With possibility to Blacklist apps to not trigger kernel side (LED blink and Vibration will still trigger tho' as of now). (/sdcard/cs_filter_notif.cfg_sample)

- Now blocking of Kernel Ambient Display triggering while a list of exceptional applications are actively running, like Phone / AlarmClock

---- Config: /sdcard/cs_screen_wake_notif.cfg

- Gathering of app packages for intercepted Notifications to an sdcard txt file, for your convenience, so you can add them to the above config files:

---- log written to /sdcard/uci_notif.txt

Make sure you install it manually after TWRP flashing!

Download:

DON'T FORGET TO UPDATE CleanSlate Companion app from the copied 'cleanslatecompanion-1.3.0.apk' !

Installs kernel, copies Companion app to internal storage (/sdcard/)

sample /sdcard/uci_user.cfg_sample / cs_filter_notif.cfg_sample / cs_screen_wake_notif.cfg_sample (rename and use or merge with your file)

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

APK 1.3.0 only: https://www.androidfilehost.com/?fid=745849072291690854 -- Sample configs (uci cfg and companion app cfgs) for 2.6.2 (non flashable): https://www.androidfilehost.com/?fid=673791459329063554
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] p50kombi:
Can I make a suggestion?

Why don't you pop all the cleanslate files in one place in the internal sd card, like cleanslate folder instead of just plonking everything at random in the root.

Would be nice addition for us clean freaks... Lol
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
"Everything at random" is contradictory. But I like the suggestion. :good:

Thanks
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] mick_soul:
Blocking of KAD for alarm working fine here :good:

Thank you again :o
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] p50kombi:
Well not really. There's some stuff in the root already so it might get confusing for since to see what's cleanslate and what's not ;)
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] android_patrizian:
Cool that there is someone else who likes the things stored in the right folders. Apart from finding things and not messing up evening it"s easier to back up.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Thanks for reporting.

Let me know of suggested popular app packages to add to the notif filter config or to the screen waking apps list like alarm clock.

I've added a few music players to filter list already but there should be much more and so on..

:good: