yashsingh1/xdaforums huggingface dataset:
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] Cryptycat7:
I edited my previous post a bit. So I unlocked the bootloader. Ensured that adb recognizes my device which it does. Rebooted to bootloader with adb reboot bootloader. Flashed twrp with fastboot boot recovery name.img. It went fine says booting. I see the bootloader unlocked warning screen, it continues booting to recovery, but instead of twrp splash screen all I get is a black screen with display backlight on. I can reboot to bootloader, if I try to reboot to recovery from there, I see that screen shown in the picture. Phone is fully functional, typing this on my U11+ right now.

Edit it's the wrong command, that happens if you follow guides on the internet. Was wondering why the heck they write fastboot boot twrp, thought they gave a new name to the flash command. Let me try again.

Edit 2 Genius crypty used the Boot instead of the Flash command....

Edit 3: get a ? on me. Cleanslate up and running.
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] bnwg:
For U11+ we can't boot custom recovery from fastboot command (fastboot boot recovery twrp.img). Instead the custom recovery needs to be flashed in order to boot up (fastboot flash recovery twrp.img).

The red exclamation mark is the screen before going into stock recovery. You can get into stock recovery from the screen by pressing volume up and power.

I'm still waiting for fully functional twrp before flashing this awesome kernel.
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Great, very glad to hear [MENTION=8802903]Cryptycat7[/MENTION]

Thanks for the ? much appreciated:good:

Edit: appended the list of hall of donators.

In the best spirit of xda
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] Cryptycat7:
Oh, that's a huge honour, people don't buy your companion app? :eek: I'll never understand humanity..

Thanks for your patience, guess my brain needs a Cleanslate kernel as well.. So google delivered the transaction, never trust them lol. Regarding the VPN on kernel level. This is turned on by default?
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] tbalden:
There's luckily a nice group of people purchasing it.

Check the u11 thread for the u11 list of donators.

Vpn is usable with the WireGuard client by default.

But there's a need to read the steps, please check the WireGuard site . you'll need magisk root to be able to use the client.
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] Cryptycat7:
Thank you. Guess this is the time to flash magisk

So I can confirm all the essentials are working LTE, Wi-Fi, GPS, Bluetooth. Will report back once I spent half the night playing with this beauty. I am mindblown by your work already, how is it even possible to blind develop such a masterpiece.

Edit: the notification light switches to red once I power off the device. That's the only nitpicky thing I found so far.
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Power off or screen off on charger? Or screen off without charging?

If the screen off : how are notifications signalled on the charger on stock kernel?
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] Cryptycat7:
I charge the phone, notification light shows the nice color transition. I turn off the phone, keep the power supply connected and the LED turns to red like on stock kernel, it's really nitpicky, no bummer. Will buy the companion as well once I have credit on my prepaid sim card.
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] tbalden:
That's not possible to do, while phone is off much of the kernel stuff cannot start up, so it won't be able.

And, Thanks much appreciated!
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] Cryptycat7:
I have to thank you for making this device a joy to use, already loved it on stock. Just got the VPN to work. All perfect now. Is there anything, you'd like me to test? Can provide last_kmsg or any other logs required. Flashing devices for a while now, just had to refresh my HTC knowledge, has been a while...

Edit 2:

Cleanslate feels like coming home already. Can't pronounce enough how much I appreciate your work. Just noticed that the notification LED fades red while charging, how amazing is that? Could we get red/amber notification LED assignable to third party app notifications?
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] Cryptycat7:
Edit 3:

About to finish my second charging cycle. Kernel is going strong already. Planning on start some crowdfunding to get you a development unit. Anybody experienced with that kind enough to recommend a platform? Thanks in advance.
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Setting Profiles premium feature rolling out to play store, app version 1.6.0

- Set up a max of 7 profiles for your different environments, needs, to easily switch between the kernel settings

- Disable unneeded profiles to keep the menu with the needed profiles only
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Thanks for the feedback, happy to hear! :)

"Could we get red/amber notification LED assignable to third party app notifications?" - no on this phone blinking the led with a mixed color is not possible, driver is not capable to do that.

Solely red and green that would be possible to blink, but the task to accomplish it is not trivial. At the moment I don't have configuration UI for all the apps installed on the phone. I'll add it to my to think about list.
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] Cryptycat7:
Thank you for taking the time to reply to user request, I do some press work for Paranoid Android, I am aware those users can be a pain. Don't want to fall in that category.

I write for a living, so if I can contribute with a kernel review, I'll request the good ghost of the Portal and see if we can drag some attention in the direction where it belongs. You are blind developing, yet your kernel feels smoother than the stock kernel. Think that's Adreno Boost doing it's magic?

May I ask you, if you work in the field of IT or where you learned how to code on a professional level? Another question: how much lines of code went into Cleanslate for the U11+?

Oh and if you need a beta or alpha tester, I am always glad to gather logs.

Last question, hope I am not overdoing it. What's your take on upstreaming kernels? Don't see the benefit, but that's my personal opinion, not based on development.

Thanks for your dedication, will research on how to start with the crowdfunding for your U11+ Developer unit.
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] SlyUK:
[MENTION=3088420]tbalden[/MENTION] On that note,I hope you continue to develop Clean Slate kernel for whichever HTC flagship smartphones are unleashed for many years to come.
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Absolutely. That's what I intend to do. I don't see any smartphone manufacturer that comes this close to my taste in the industry. :good:

U12 rumors are already promising :cool:
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] SlyUK:
The one thing that truly broke my heart was end of Venom Roms :(

They will be no more.
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] Cryptycat7:
First of all thanks for the detailed reply. Did you reach out to the portal guys for an interview? I am sure the community would profit from your knowledge and patience.

Since you mentioned security. Are we effected by "meltdown" and "spectre" vulnerabilities in the U11(+)?

There is another feature, that is floating around my mind for months now. AOSPA has a dynamic CPU input boost driver, that distinguishes between taps causing little or a lot workload, AOSPA implements it on framework level; I've been told, that it isn't possible to implement such a feature on kernel level, not sure what to make out of this statement? Would be nice if you could shed some light.
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] tbalden:
The upper level framework can gather preconception about an operation being started in an application I'm speculating. So it knows that right at the exact tap at a button that will carry out heavy load needs CPU. While another tap is known to do little, and no boost is requested. This makes sense to be on the upper level instead of the kernel because it's about knowing the logical context of a user input.

As for the portal, haven't reached out. Maybe at some point. This kernel thread already got attention at the time of first build on xda portal.

I'm not that much influence to push for that I'd think. :)
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] Cryptycat7:
Thanks for patiently answering all my questions.

Seems like dynamic input boost is nothing for this device then. From what I can tell, there is some sort of dynamic input boot already in stock kernel, will investigate with CPU frequency overlay.

Stumbled upon this notification pattern setting and was wondering what it is about. If my questions are tiring, just let me know. Fans can be a pain :eek:
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] tbalden:
It's about five different led fade / blink patterns for your incoming notifications. If you long tap on the feature you'll have a tooltip for the pattern names
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] Cryptycat7:
Understood the concept, but they seem not to differ, will play around a bit. Probably my fault. Wish you a pleasant start of your week.

Edit: now it's working setting didn't stick at first..
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] cameljockey1:
I purchased both apps today for support :highfive:
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] Cryptycat7:
Feels like the good old XDA spirit found another home in this thread. Really enjoying the time here. Fingerprint scanner remapping is amazing. Is there an option to pull down notification panel with fingerprint swipe?
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] tbalden:
It starts to show at the next time you receive a fresh notification. If the led already blinks, you have to dismiss notif
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] Cryptycat7:
That's what I figured, sorry for not turning my brain on.
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] tbalden:
No, that's what I'm looking at first when checking the fingerprint scanner, but this one doesn't have gestures that can be traced. I think some other models already have that, but this has tap and scan mode.
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Highly appreciated, many thanks!

Have you found a way to get back to where pincode is asked before decryption? There should be some file that you can most probably restore some way to flip that switch.
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] cameljockey1:
No I have not. Like you said you are not worried about it and neither am I lol. As long as everything works I am not going to try and fix it. Plus I have back ups and ruu to go back if anything. :good:
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] tbalden:
OK, well, true, if you do not intend to enter the TWRP for now, you're fine. I'm just worried that when you gonna want to go back to stock for RUU, then at that time you may lose your data partition, when booting to twrp to restore stuff. Maybe [MENTION=2605798]nkk71[/MENTION] can help out what file might need repair to make data decryption pin dependent. I'd be interested as well in that too. I might try to dig around on my own how this can be fixed.
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] cameljockey1:
I am actually going to try and restore my system.img. I was messing with my phone to get Wifi calling to work and Volte to work and added the pixel unlimited at high res photo image. My status bar quick settings icons stopped showing up. not sure why.

---------- Post added at 10:28 AM ---------- Previous post was at 10:15 AM ----------

I Just restored Boot, Vendor, System.imgs. did not perform a factory reset. booted back into rom. It did say in twrp when i hit restore that i may need to format data because dycrpyt was not succeful.

---------- Post added at 10:29 AM ---------- Previous post was at 10:28 AM ----------

I Just restored Boot, Vendor, System.imgs. did not perform a factory reset. booted back into rom. It did say in twrp when i hit restore that i may need to format data because dycrpyt was not succeful.
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] tbalden:
good that at least it went somewhat successful. I could live with a fresh data wipe once in a while, tho' it can be a bit of a pain with some secure apps to restore tokens/passwords... :good:
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] tbalden:
I've started to tinker with Android quick tiles stuff for the pull down menu.

Seems handy for selecting the profiles in the donation config App. :good:

Testing and some more coding under way...
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] Cryptycat7:
Everyday I come here for guaranteed good news; kudos :highfive:

I really love your fingerprint mode feature, that allows to map the fingerprint scanner as a home button. Unfortunately the location of the fingerprint scanner is exactly, where my index finger comfortably rests while using the phone; but that's not a good reason to turn off such a convenient feature. Would it be possible to implement a threshold? The action doesn't get triggered as long as my finger rests on the scanner, once I adjust my grip a little bit, which I do often, it is triggered.

Thank you so much for your mind-blowing work, I appreciate how responsive and constructive you deal with user feedback. If a feature just doesn't match your development philosophy, you give a detailed explanation on why you won't implement it. Keep it up, enjoying every minute of reading this thread.

The cherry on the cake would be the possibility to bind the profiles (for example home and work) to a certain location or time.
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] tbalden:
[MENTION=8802903]Cryptycat7[/MENTION] hmm, i never thought about adding something as a threshold, because on the front facing FPs it's the contrary, it should be instant.

I'll think what might be done here. What about this: only do the HOME event if a doubletap is done?

About the idea for profile triggering, yeah, i have that on mind, i'm thinking about what could be done..like checking for wifi as HTC Home used to do on the m10 HTC Home widget... or a vague location service check...
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] Cryptycat7:
Sounds like the perfect solution. I think it wouldn't hurt, if double tap fingerprint scanner to sleep would be changed to triple tap to sleep.

---------- Post added at 04:07 PM ---------- Previous post was at 04:03 PM ----------

Sounds like the perfect solution. Double tap to sleep could be changed to triple tap to sleep, that's also lowers the chance of inadvertently turning off the screen.

Ignore the weird edit, XDA app is fooling around with me.
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] tbalden:
hmm, i had some code for m9+ where the fingerprint driver served to do more.

Double tap holding the second one longer, and double tap with removing finger meant different gesture... i'll have a look at what could be reused.

Triple tap seems too long for latency, but i'll revisit my ideas :)
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] Cryptycat7:
[MENTION=3088420]tbalden[/MENTION] I might have ideas, but you have the ideas and the skill to implement it just as smooth as HTC could, looking forward to what you come up with and really grateful, that you are picking up my suggestion. Time to say kudos one more time. Kudos.
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] tbalden:
I found these in HTCm9+

int fingerprint_mod_enabled = 0;int fingerprint_mod_opt_doubletap_mode = 0;

int fingerprint_mod_opt_longtap_mode = 0;

int fingerprint_mod_opt_extralong_mode = 0;

int fingerprint_mod_opt_doubletaplong_mode = 0;

Now thinking more about this I think your idea about long tap threshold was also part here.

Should I think that a long tap here on the finger print scanner doesn't trigger google assistant?

Then moving in the direction of a long tap home, question is could that be comfortable?

How exactly you imagine an ergonomic mode here?
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] Cryptycat7:
Time for the infamous mirror selfie I'd say ;)

So I tend to place my (nicotine orange index finger, this camera is just too good) on the finger print scanner. For me that's the most comfortable and stable grip, since the body of this phone is slippery as ice. It would be perfect, if a singletap would trigger nothing, so that I can rest my finger on the scanner without landing on the homescreen, while writing a message. The longtap options are great on devices with front facing scanner, but in my described scenario they would be the opposite of helpful. Double tap is probably the simpler option. An other option would be to "teach" the scanner to distinguish between a resting finger and a long tap. That way double tap and long tap could be assigned to another action. Just an idea from a non developer perspective. No idea how heavy the impact on battery drain would be.

Single tap = no action

Double tap = home

Triple tap = screen off

Seems good to me. As long as the scanner doesn't register my resting finger as an input, any implementation is very likely to float my boat.
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] tbalden:
[MENTION=8802903]Cryptycat7[/MENTION] what about this:

Double tap quickly home

Same with a longer pause between the taps finger up= screen off

Single tap , left on scanner nothing

Fingerprint started a double tap but over a time nothing when newly tapping second time.

Tried here and seemed easy to learn

Ideas?
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] Cryptycat7:
Ideas? No, just enthusiasm. :good:
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] tbalden:
- U11 Plus update 1.7.2 stable -​

Updates

- Backlight dimmer if applied through cleanslate config app keep blocking other tweak apps to accidentally overwrite it at reboot

- Vibrating notification reminder: do not vibrate in silent mode

U11 Plus 1.7.2 Download

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

Configuration APK 1.5.5

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

or PlayStore for premium version ... https://play.google.com/store/apps/details?id=org.cleanslate.csconfig

Companion APK 1.5.6

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

or PlayStore for premium version https://play.google.com/store/apps/details?id=org.cleanslate.csservice
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] Cryptycat7:
[MENTION=3088420]tbalden[/MENTION] worse time to run out of thanks: ever..

Thank you so much. Flashing right away.
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] lukemo:
I can. confirm it works on 1.24.400.2 HK model. Today I'll try the kernel.
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Thanks for the feedback. Updated op to reflect base version number. :good:
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Rolling out QuickTile support for Premium Configuration app in playstore! :good:

After update, check your Notifiations Quick tiles Pull down, edit icon. Then add the tiles you'd like to use. :cool:
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] Cryptycat7:
[MENTION=3088420]tbalden[/MENTION]

It's working like a charm. Very nice feature and so beautifully implemented. The icon follows HTC quick tile design scheme, it looks as it was implemented by HTC. You are aiming for perfection and it shows.

I wanted to play around with kcal. Vivid mode is the same as DCI-P3? I only have the option to choose between DCI-P3 and SRGB. Even slight adjustments result in a bright teint. What am I missing here? Don't have a setting for vivid mode in display settings.
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Does DCI-P3 have the bright tint as well like SRGB when using kCal? Then we're in a bit of trouble. Vivid is on U11 and htc 10 as well, and then u11+ has a different new DCI-P3.

Thanks for the feedback.
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] Cryptycat7:
Yes, the teint kicks in even if I change any value by 1. I attached some screenshots. Turning off Kcal doesn't get me back to normal. Have to turn it off, go to display settings, switch to SRGB and back to DCI-P3 and it's all good again. If you need some testing or further details I am glad if I can my two cents to your amazing project. [MENTION=3088420]tbalden[/MENTION]
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] tbalden:
ok, so as both behave like this, i'm afraid this isn't going to work for this phone. I'll need to look for advice, if someone could get his work on the DCI-P3 color profile on another device. Vivid is the only setting that it works correctly with. :( But well, let's see if someone resolved this already...
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] Cryptycat7:
Sad, but not a big deal. We still can adjust the color temperature in display settings. That slider can't compete with kcal, but better than nothing.

Surprisingly HTC removed the 5 minutes display time out. 2 minutes is just too short, especially since I receive a lot of audio messages from talkative people. A bunch of apps fail, to keep the display timeout from kicking in while playing audio messages. The next step is ten minutes, which is also overkill. Four minute seems like the sweet spot to me. Would it be a bad idea, to add display timeout values via kernel? What is your take on mods like audio high performance mode. Sadly we can't unlink ring and notification volume in HTCs stock firmware, just speaking my mind here. Always appreciate to learn and hear the opinion of a professional. [MENTION=3088420]tbalden[/MENTION]
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] cameljockey1:
There's a module on magisk. It's called crossbreader lite. Will that module effect anything on this kernel or is it even necessary to have? Just wanted input and want to try.
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] tbalden:
I think it's not a bad idea to use it as this kernel doesn't change the default random device and such that affect the mentioned performance
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] cameljockey1:
Lol I did try it and it is for the crossbreader kernel. So it won't work with this device.

---------- Post added at 11:54 PM ---------- Previous post was at 11:42 PM ----------

Is Volte and wifi calling enabled by kernel setting or is it a system setting?
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] tbalden:
It is a telephony part, so mainly the Android framework telephony and related settings and probably radio firmware, and finally relates to what your mobile service provider allows for the sim or the device.

But this is just me reading it in rom threads, I never used these actually.
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] Cryptycat7:
1.24 update is here for the European model. Flashing stock recovery and boot image and installing the OTA is the recommended procedure? Has been a while since I dealt with HTC phones.

Edit, flashing stock recovery resulted in a failed update, so I flashed the RUU.zip. there is a good tip by root junky on YouTube. Download the Firmware zip to the SD card and rename it, only leave the first seven digits alone in my case 2Q4D and delete the rest. The file name has to end on.zip 2Q4Dimg.zip

Now power down the phone and reboot to bootloader with power and volume down, the phone finds the firmware file and asks if you want to flash cancel with volume down or confirm with volume up. Let it flash, once done press power. This method returns to full stock, but does factory reset the device. After performing this action, the update installed without any trouble.

Sorry for going OT here, but since this works around using the RUU decryption tool, I thought to share it here, maybe it helps somebody.