yashsingh1/xdaforums huggingface dataset:
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] LibertyMonger:
Dang. Still waiting on my warranty repair, missing out on all the fun, it's awful. My issues was just software related unless they had to change the battery but HTC has had my phone since Oct. 19th. They promised 5-7 day turnaround once they received the device.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] aadeshiscool:
Is it possible to get htc u11+ always on display in this kernel?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
The u11plus aod is comprised of a few interlocked things which are not only kernel

A new type of smart LCD partial brightness if I understand correctly ( haven't validated)

A new oreo software with framework that adds the display code

A kernel that drives this panel

Out of these the maximum to do in kernel is the last one. But that needs a special LCD panel and framework which is not possible or for the graphical design is a ROM thing.

So, I can only tell you that kernel ambient display already implemented is the most I could do. The rest is not possible ( hardware) or waits for rom side to be done ( framework)
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
This is already beyond too much. I've heard I few times that their repair services are quite low in resources, and this is again proof of that. Well at least they shouldn't tell you 5 days when it's almost clear it's more. :(
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] p50kombi:
Little bug in my exkm settings...

Phone power in pocket seems to be set to 2 and I can't change it.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Thanks, should fix it very soon gonna upload v2
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] p50kombi:
Hold it.. Found another one.

After every reboot the uci_user.cfg is back in my internal sd even though I don't want it there and deleted it.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
It's apparently UCI sys cfg luckily so that's fine .. Thanks for testing thoroughly
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Whiskey103:
That one is the sys version needed for companion app to know phone state.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
fixed, and uploaded v2, linked... and added new motto :) .~~- no-root is a state of mind -~~. :good::good::laugh::cool:
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] p50kombi:
But why is it there?

I don't want to use the UCI, I want to use exkm:laugh:
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
You don't yet get it. :) It's created by the companion app to channel android framework events:

Proximity,

Ringing,

Lockscreen

Silent mode

This file is written and refreshed by app, kernel reads it and acts upon it. If you don't need features based on this, uninstall the application
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] p50kombi:
I do get it, I think I just got it confised with the Config file.

If you mentioned that one is written there as an assist for the kernel app in the first place I wouldn't have asked.

Man, sorry I even asked....

---------- Post added at 09:13 PM ---------- Previous post was at 09:12 PM ----------

https://www.dropbox.com/s/r7wjhe8qy97jsso/cleanslate_2_6.exkm?dl=0

If anyone cares
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Please, don't be sorry, I didn't mean to be rude, but I think I've mentioned this once. Anyway you know me, I'm happy to reply to questions and fix stuff and so on.

Sorry if it came out the wrong way. Cheers
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Thanks, updated second post with link
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] jelive:
Appreciate features but probably will not use myself...how to uninstall the app as only see disable/close choices.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Using LeeDroid right? It's added as system app by [MENTION=398245]LeeDroid[/MENTION] so you can only disable it.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Features for later with more companion app based development:

Orientation detection with companion app to facilitate landscape mode squeeze scrolling

Possibly gyroscope gesture based KAD triggering

Switch on flashlight notification based on gyro and proximity: on the table face down flashlight notification. Or the opposite, switch it off if face down...

Till then enjoy this stable 2.6.0... Have fun!
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
And one more feature to have with companion app and kernel: notification voltage booster only in pocket
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Malle355:
I don't if its only me but my device is now lagging really strong. I flashed the latest Kernel 2.6.0v2 and using Leedroid 2.2.0. With 2.5.0 my Device was butter smooth and got no problems at all. But since I flashed 2.6.0v2 and wiped cache and dalvik cache my device just freezing all the time. Am I the only one with that problem?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Pls, Flash back to 2.5 and see if it's the new version.

Do you have a lot of file on your sdcard?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Malle355:
Yes I rolled back to 2.5.0v2 and now its again working great. I've got a 120GB SD Card and its used by 55gb. So yes I got some files on it :D.

What is the problem with the new kernel?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Not yet sure. I don't have this issue at the moment, but im curious if the new UCI interface might be a problem with lots of sdcard usage...

how exactly this shows? Small lags, or full freezes?

BTW, I don't think it should cause bigger lags or any lags at all, the implementation is quite easy on locking...

Also one last test, if you flash back to 2.6 now, are these freezes coming back?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Malle355:
I will test it later but now I am at work. It really frezze nearly complete. My Alarm Clock today turned on one hour later as I setted up. I cant type any message in whatsapp and also I cant turn my device off because the the power menu isnt showing. Maybe I will do a video of the problem later today. These are real big lags.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
That's something:crying:

Hopefully we can get to the bottom of it.

I can't yet explain this, but I'm thinking...
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Do you have any special app that scans the sdcard regularly?

If you have the possibility, while testing the lags, please grab a dmesg on adb while these happen:

adb shell

$ dmesg > /sdcard/dmesg-1.log

and post here the dmesg-1.log from you internal storage.

Thanks
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Anyone else, with this very extensive lags problem on 2.6.0v2 , please share your experience, best with Dmesg logs, please.

Thanks!
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Malle355:
Ok thats weird. Just flashed it again and now it seems working fine. Also installed the App and granated permissions. I will test it the next few hours. Unfortenatly it seems working great now. Reporting later the results.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Maybe it was related to deleting cache and Dalvik cache?

Thanks for getting back to me with the results
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Malle355:
Yeah maybe. As I said, I just test it the next few hours and will report back to you soon. Thank your for your great work and even more for youre awesome help.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] dioooi:
Maybe it's needed run in time to stabilize the performance......:laugh:
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Yeah, maybe cpu felt it was too fast, and wanted a little break before full power :good::laugh:
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Malle355:
Haha yes I got a female phone. Sometimes it wants sometimes not. :p

Edit: Ok guys after hours of testing it happened again. Short Video here: https://youtu.be/2rwYGu_Qp6w

Also I noticed that my Battery drains really fast. Just check out the video. Rolled back to 2.5.0
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
OK, that's quite bad indeed.

Could you please try to reproduce this again, and meanwhile it happens capture a dmesg? Otherwise it's very hard to investigate, as I'm unable to reproduce yet, battery drain and this type of lag I cannot get.

> adb shell
$ dmesg > /sdcard/dmesg_1.txt
$ exit
adb pull /sdcard/dmesg_1.txt

Thanks!
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] sttw1fa:
FWIW....I noticed the battery drain issue. Didnt see any lags. And, not sure if it's related, but my U11 wasn't showing the toast message about quick charger connected with my 3 chargers that do always show that message (and quick charge).

I did try LD v71 with CS (the one installed by LD), and had the battery drain and charger toast message issue. Then tried installing CS 2.6v2 over it, via this thread and instructions. Same battery drain it seemed and quick charger toast message issue.

Now....I'm on LD v71. Installed with stock kernel. Then, installed CS v2.5v2, and things seem back to normal.

About to be traveling for a few days....so a little tough to test, but wanted to let you know.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Thanks for reporting !

I don't think the toast problem could relate to the kernel changes. At least on lock screen I always see the correct rapid charge message.

About battery drain, I'd need some kind of battery stat that relates to either cleanslate application or wake locks, as battery performance can change so easily under unrelated circumstances.

But if you ever experience such and see the cleanslate companion app in the top drain then let me know.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Regardless of actual logs, I've a few ideas to try and resolve this issue with 2.6.0

My idea is that some kind of background application is scanning the sdcard regularly ( probably that in itself is not a good thing, I wouldn't want to use this app maybe), but anyway I have a few ideas related
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] sttw1fa:
What does this setting relate to for fast charging?

And, the battery drain issue...obviously speculatory.....so if I see again, I'll use BBS or GSAM a little more for better reporting. But, for now, I'll stay with v2.5.0v2 release and LD v71. You had asked over on the LD thread for more feedback, so I was letting you know my experience was similar to Malle355, just never noticed/experienced a lag.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Whiskey103:
Fastcharge setting is used to let the phone think it's on "wall charger" most likely.

So it doesn't fall back to the USB charging specifications, just pull max amps from the USB output regardless.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] smallKING81:
From time to time my phone switches off at random. Only today it happened 3 times a day. I use 2.6.0.v2
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
What does switch off mean here? The screen? Or the phone fully?

Is it happenimg after a squeeze screen on?

Is it happening after a squeeze scroll?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Yep, much appreciated!

I'll check the toast myself.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] smallKING81:
The phone fully. For example, today I put the phone on the table and in 15 minutes I needed to call. I took the phone in my hand and pressed the power button to unlock it. The screen did not light up and I understood that the phone was off. I clamped the buttons of power and volume down, held them for about 40 seconds and only then the phone booted into download mode. I booted into the system only from the download mode.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Hmm, and pressing the fingerprint didn't help?

There's this option to block power button from working when proximity sensor shows proximity. Maybe you have this option on and your hand was over the upper part of the phone?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] smallKING81:
No bro, this option is disabled. And yes, I tried to unlock the screen by fingerprint too but it did not help (sorry that did not mention about it). Only hard reboot via download mode helped.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
OK, thanks for the report. It would be great to have a dmesg or console-ramoops for this, but if it didn't reboot by itself you can hardly grab one, except if the adb would still work in such a case. If it happens and adb is still working please try to grab a dmesg

Thanks
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] smallKING81:
Yes, I will try. Anyway, this is an amazing kernel! Thank you for your work!
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Malle355:
This is so strange. Flashed 2.6.0 again and after 12hours testing no problems. Cant reproduce the lag bug yet. ?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Whiskey103:
Most likely because you cleared cache and system needed to rebuild then.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
- Update 2.6.1 stable -​

Critical (UCI) Updates:

- replacing mutual exclusion protection and variable based protections of "parse/read of UCI files" with proper spinlocking,

-------- to avoid hidden concurrency issues that could potentially cause temporary pauses or hangs in kernel

- add notify of "write-mode" open of UCI files for less unneeded parsing of the files.

https://github.com/tbalden/htc-kernel-ocean/commit/e6c2bab13c58903cd8177e74ff243c039a6dd52a

Download:

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

[MENTION=4305326]smallKING81[/MENTION] [MENTION=6918218]Malle355[/MENTION] thanks for reporting. Please test if possible!

Coudln't reproduce this myself, but I think the stuff changed here potentially could cause your issues.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
I advice to flash the new version, potentially could fix the issue. If it returns, then you could grab the logs probably. Thanks for helping out
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] smallKING81:
Thanks man, will test and report! :)
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Works great with latest security update for India and Hongkong
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] mick_soul:
...and with firmware 1.27? :)
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Yep yep :)
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Malle355:
Using 2.6.0 now more than 24hours without any problems. Also updatet to 2.6.1 now without any problems.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Cool!

I'm working and progressing well with phone Face Down detection in Companion app.

Going to add the following bindings with Face Down and Proximity state:

Flashlight Notif only if FaceDown true

NotificationBooster only if in Proximity and FaceDown is false (e.g. really in pocket)
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] mick_soul:
That sounds nice :cool:

FYI: it seems like battery drain is gone now with 2.6.1 :good:
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Ainz_Ooal_Gown:
Installed 2.6.1 on the Sprint side with wiping both caches, and boot took a little longer but booted just fine, so far running for 10 minutes I will report if anything doesn't work
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
:good::good: Coding worked out cool...Testing these till tomorrow :cool:
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] TravisH997:
Hey all, I've just installed CleanSlate 2.6.1 over LeeDroid 2.2.0 as well as loaded the EXKM setting as downloaded from here: https://www.dropbox.com/s/r7wjhe8qy97jsso/cleanslate_2_6.exkm?dl=0

Do these EXKM settings also change CPU governor settings? If not, does anyone have recommendations for the best settings for battery life, CPU/GPU Governor or anything else EXKM, to set? I don't use my phone for anything intensive, and am simply looking for the best battery life possible - well, not super laggy, but, I can deal with some. Any help?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
My advice is, you could just as well leave things as their are by default.

The new Qualcomm chip in the phone in itself gives a fantastic battery life compared to previous ones.

Settings that mattered on earlier phones can give or take in a way that results the same as the defaults.

Maybe others can give you some advice, but if your applications are not ones that tend to waste battery then you'd be good to go already.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
one last thing to add and test "kad_start_after_proximity_left" --> if ambient display was blocked by phone being in pocket, face down etc, if you pick up phone from face down or pull from pocket/pouch, will start pending ambient display.

Works nicely... 2.6.2 impending this noon or tonight (GMT)
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
- Update 2.6.2 stable -

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

New features

- option to Flashlight notify only face down (default on)

--- /sys/class/leds/indicator/flash_only_face_down 1/0 (1 default)

- option to do Notif Vibration booster only in pocket -- do in proximity and NOT face down

--- /sys/fpf/boost_only_in_pocket 1/0 (1 default)

- adding logic to delay in-pocket blocked KAD and schedule KAD screen to the event of leaving proximity state. Will start KAD like if just triggered at that moment.

Keep your phone in your pocket, incoming notification won't start Ambient Display in the pocket/face-down/poach, but will remember to do it when you pull it out.

--- /sys/fpf/kad_start_after_proximity_left 1/0 (1 default)

new UCI parameters:

kad_start_after_proximity_left=1
flash_only_face_down=1
boost_only_in_pocket=1

CleanSlate Companion App 1.1.0

- Face Down detection added and channeled towards kernel

Check attached screenshot, you should see the version 1.1 if you start the app

Download:

DON'T FORGET TO UPDATE CleanSlate Companion app from the copied 'cleanslatecompanion-1.1.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=889964283620767323

APK 1.1.0 only: https://www.androidfilehost.com/?fid=889964283620767327 -- Sample config for 2.6.2: https://www.androidfilehost.com/?fid=962021903579493648
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] p50kombi:
Exkm file...

https://www.dropbox.com/s/s5z74j51bo9l0py/cleanslate_2_6_2.exkm?dl=0

---------- Post added at 03:35 PM ---------- Previous post was at 03:12 PM ----------

@tbalden any chance of a version number in the text when you open the companion app?

Would be easy with Lee putting it in his rom to quickly check which version we're running
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Exactly today I've put it in the main screen already. Check screenshot in previous post
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] p50kombi:
It's not on the one included in the 2.6.2 zip ;)
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Double checked, it's correct showing version on screen...I think problem is, it conflicts with [MENTION=398245]LeeDroid[/MENTION] rom system app installation.

Maybe remove from recovery or root explorer and install from zipped version
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Whiskey103:
Scroll down ;)

It's not visible for me either on startup screen at first glance.

Needed to scroll a bit.

And the bottom part of the screen doesn't actually scroll in your app, just the middle.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Thanks for clearing up, I'm on higher dpi lol

Gonna check this next app version
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] p50kombi:
That clears it.. I tried scrolling, but only from the bottom and it didn't do anything... Lol
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Whiskey103:
Yea lol, that's why I explicitly stated to scroll from the middle.

I just figured it out accidentally haha.
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Yeah, I'm really new to this android user interface thingy. Thought I'll get away with something simple, but I'm still in need to learn the basics it seems ?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] DroidIt!:
When did Android start having a user interface? :p
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Yeah, didn't notice since I was only using terminal and adb so far

:p:laugh::cool:
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Maybe some of the new comers might be interested... So I'll just share my unrooted experience on stock 1.27.400.21, how do I actually use this kernel.

- First of all, I am now using fully DEFAULT kernel customization settings on the phone coming with the uci_user.cfg_sample, except the followings now since 2.6.2

--- I've switched to kad_disable_touch_input=0 , since in pocket now it won't show KAD so it's not necessary to disable touch inputs, and pulling out will auto show it

--- I switch this on: phone_ring_in_silent_mode=1 (so at night in Silent mode, there's a chance that I notice a call still)

--- I switch this on also block_power_key_in_pocket=1

--- switch smart_silent_mode_hibernate=1 (to have all lights down and Notification led dimmed at night when switching to Silent mode)

--- bln_light_level=20 to have no button lights at all when screen is on.

- When I reboot the device I do:

--- switch screen off, then Double press VolUpDn to enable Kernel Ambient Display

- At night, I turn volume down to Silent mode, and thus leave every vibration and powerful lights OFF.

---> as phone ring in silent is on, I'll still have two vibrations at calls

---> smart hibernate is set to on, and so all lights off and Notification LED dimmed

That's all...

And yeah now I can put the phone face up or carry around without flashlight notification, and when showing off the back of the phone on the table, I'll still have the flash lights turn on for notifications...
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] DroidIt!:
Too much tricky stuff! My head hurts! :p Lol, seems I got a lot more playing to do with this kernel. Thanks for updaters Baldy :)
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Yeah, sometimes I wonder how I ended up here. (Motto been "Why bother with so many settings, Install cleanslate and profit!") :D

But after considering a few things, I might change the defaults soon with my listed edits, as with latest updates this could be conveniently and intuitively the defaults...

Each new release refined this notification control further... now with putting Companion App in place, I feel like it's humbly top notch. :good::cool:
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] DroidIt!:
Well, I for one am pretty pleased with the kernel as is. Lol, I'm a pretty easy customer though: no discernible lags, decent battery, stable....done! :D Which tweaker app do you reccomend btw? I use EXKM. Is that good for making all tweaks visible or should I use something like Kernel Adiutor?
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] The Great Dane:
Your a devile (in the good way) my head is hurting to, you litterly saved us flashoholics from ending up dead. Causr the developer [MENTION=398245]LeeDroid[/MENTION] is just sooooooo lazy these days.

So thanks for all the goodies [MENTION=3088420]tbalden[/MENTION] your simply brilliant :good:
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] p50kombi:
Oh my... Drunken Danish twoddle..

Guess you and Lee are hitting the massage parlours next? ;)
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] The Great Dane:
Lmfao Yap:victory:
[HTC U11  ROMs, Kernels, Recoveries, & Other Develo] Whiskey103:
Want me to edit his nick in "LeezyDroid"? [emoji14] [emoji1]