yashsingh1/xdaforums huggingface dataset:
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] tbalden:
rolling out premium app update to playstore, to add Battery Optimization quick access when Battery Optimziation is not set off. If you want to use Wifi based auto profile activation, battery optimization for the app should be off. It won't eat your battery, but if not set, the background service is removed by Android battery optimization.
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] DeeZZ_NuuZZ:
hey [MENTION=3088420]tbalden[/MENTION] I will probably get my u11+ tomorrow too and I thought, if you can make a boot.img of your kernel, so we can patch it manually with magisk and flash it afterwards? don't want to bother with twrp right now, especially since nkk71 is gone (RIP, he was very kind and helped me with my 10 too), there might be long time no properly working twrp or proper decryption.
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] tbalden:
I think someone here could share their boot image backup. What region do you need it for?

But beware that verity will be breached by a non-matching boot image, most certainly and you will need RUU or adb sideload OTA zip to avoid "System is corrupted, cannot update" message when reverting to stock recovery/system image.

I'd advice to still go on with twrp just to have your back covered, but let's see if we can find someone who wants to share their backup for this purpose.
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] DeeZZ_NuuZZ:
don't know yet which region it is. gonna check it in the evening when I get home. it's bought from UK. maybe it's WWE.

yea, if no one will share it, gonna try twrp, but I had so many fails lately on the 10, that I want to be really careful this time with the new device :D nearly bricked my htc 10.
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] cameljockey1:
It is really not that bad. Just follow the instructions to the t and you'll be fine. When you need to flash anything you would just need to use micro SD card or adb sideload. Make sure to take a backup first. You'll need boot system and vendor image and keep files on a micro SD card so you are about to go back if needed.
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] DeeZZ_NuuZZ:
okay, so data will be encrypted, but magisk flashes fine, even though it can't mount it? yea doing always backup first, need to get some space free on my card :D
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] Cryptycat7:
You are most likely to receive the European model. 1.24.401.2 If this matches your build number after installing the latest update, just tag me. Can give you the boot image within a couple of minutes if you need it.

I recommend to flash TWRP tho. Magisk will break booting when you flash it, you mentioned the reason. So keep read only, Flash Magisk, tap wipe, format userdata and reboot, you'll be rooted afterwards. Setup your phone and you'll have root along with a fully functional Magisk. Updating Magisk required the same procedure for me. Updated from within the app and it refused to boot, so be aware. Kernel flashing works flawless without any additional steps if you are using external SD card.
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] DeeZZ_NuuZZ:
okay thanks, that sucks with magisk. but can't we, after an OTA just patch the boot.img and it should work fine? or is it then preventing from booting the phone, too?
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] cameljockey1:
You have to go to settings in magisk and select beta builds and works. I had the same issue when I started.
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] Cryptycat7:
I tried that method, neither booted for me, but might be an issue on my end.

I was trying to update to a beta build and it didn't work for me. Had no pin on startup enabled back then.
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] cameljockey1:
Do you need testers?
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] tbalden:
December sec update sources rolled out on htcdev.com. Gonna update soon. )
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] Cryptycat7:
Thank you very much for your endless efforts. Only security related updates or did they publish other kernel commits, that were implemented into the 1.24 builds?
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Only the patch for the u11. U11plus source is not yet up, but I expect that those trees move together for the plus, life and original u11. In fact I'm using one source tree for all three.
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] tbalden:
- U11 Plus update 1.7.5 stable -​

Updates

- December security patches, update from official htcdev.com

U11 Plus 1.7.5 Download:

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

Configuration APK 1.7.5

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

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] Siminica:
Hi,

I would like to ask you a question: considering there is no custom ROM for this device and TWRP is unofficial and Magisk can be installed without decryption (at least theoretically as I haven't successfully did it myself yet) - could it be possible to flash this kernel through "fastboot flash kernel"? (this way later modules like Xposed could be installed through Magisk as for doing some tweaks because there is no LeeDroid ROM and TWRP would not be needed anymore... ok, I know is needed for back-ups but being unofficial I am not even sure back-up/restore will work).

Thank you in advance for your response.
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Hi

Very similar question raised, situation is that if someone shares a backup of a boot partition for your region it could work, but I'm not owning the device so I cannot produce such boot image. But yes, it's possible. Beware that this will very likely create a wrong Verity check, and from that point, updating through OTA could have issues that you cannot resolve, only with a RUU or falling back to 'adb sideload' OTA updating in stock recovery.

If there wouldn't be a twrp at all, I'd try to achieve this what you have just described to produce a release, but right now , without the device I cannot.
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] Siminica:
Thank you for your complete answer.

So from your previous experience on other HTC devices - if I already managed to install Magisk by patching boot.img and I will install TWRP (taking pin setting precautions to not decrypt anything and keeping system read only) in order to flash CleanSlate - will I be able to take further OTAs just by flashing stock recovery?

Best regards
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] lyfkevin:
Questions about fingerprint senor configuration:

1. I set mode=1 mappble. Does it comes with "Home" function by default? Because I got this effect.

2. I tried to map fingerprint via xposed edge pro.

It recognizes as HOME key. Then I binded single click as BACK. It turns HOME instead of BACK.

Screenshots attached.

Thanks for your great works anyway! [MENTION=3088420]tbalden[/MENTION]
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] tbalden:
With Magisk Hide it might be ok, because that protects the system from verity check. But i'm not sure if it protects the verity.

i'll still need to build a stock verity version for non-magisk root u11+ installation, so that even without magisk one could use it without risking the verity being hurt.

But if verity is once not OK, it will cause "Filesystem corruption" type of problem even with stock Recovery. In that case you still can flash, if you have the OTA zip, and do enter the Stock recovery for an adb sideload xy_ota.zip type of flashing.
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] tbalden:
I think you can leave it on stock (0), and probably that could work. I'm not sure how that xposed module works, I only know that flar2's rooted app Button Remapper works with mode Mappable (1)
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] DannyXX81:
Info

With this kernel the battery manages to last longer? If so, how much?
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] Cryptycat7:
[MENTION=8902482]DannyXX81[/MENTION] only able to add my two cents.

Tbalden is the one.

This kernel is advanced on all UX layers; as a consequence the governor isn't "tweaked".

Never change a running system, unless you have to add something. Hope it's okay, that I chimed in at this point.

No root is a state of mind, took me years to understand.
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] Slok 00:
installed on european model with allowed system modifications everything smooth a lil bit ram usage and battery drain when using apps and games but BIG PERFORMANCE IMPROVE!

check 3dmark results screen... with stock kernel was around 3690!
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Rolling out premium config app update with QuickTile toggle for KAdaway

KCal is not useful on the U11+ as KCal is not possible to add for the U11+ panel color profile type. But Kadaway toggle can be useful to quickly switch it on / off when a site needs ads enabled to allow display.
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] tbalden:
ah, rolling out config app version fixing some critical issues in new quicktiles reported by [MENTION=271041]p50kombi[/MENTION] ... sorry for my sloppy testing this time, it was 2AM :D
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Rolling it out in companion app premium right now.

Initiating new call and answering will vibrate if set on.
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] Cryptycat7:
Really loving your kernel. Has been my daily driver for the entire year 2018.

A few small things, that I noticed on the U11+.

The notification LED blinking while charging only works sometimes, most of the time it just stays on. The great new feature "call off hook vibration" didn't work for me on the U11+, but I am using HTCs ROM feature, that answers a phone call, once you bring up the phone to the ear.

Third thing the USB port fast charging is working, but keeps asking me if I want to use the phone for file transfer after using it for a minute after unlock. It also switches back to regular USB port charging, when I enable USB fast charge, lock the screen and leave the phone alone for a few minutes.

Using Manjaro Linux, just wanted to mention this to give a complete picture, but I suspect this to be a ROM side issue, but maybe you can influence it with the kernel to allow the supply power option to stick?

And one last thing after a clean installation it doesn't seem to recognize the Wi-Fi ap, so the dynamic profile switching based on which network I am using doesn't work. Latest releases of your apps and kernel.

Thanks again for your fantastic work, the issues I mentioned are pretty nitpicky, but I thought to mention them. I know my little text is nothing but words without a log, if you need one let me know. I would attach a last kmsg, but I am currently not rooted and probably using the wrong terminal command. Wish you a nice evening.
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Could you please try the vibration with silenced phone?

Wi-Fi is strange. So reconnection to Wi-Fi solves it I guess but when installing fresh on Wi-Fi it's like this, right?
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] Cryptycat7:
Turned off my land-line a few weeks ago, so will have to ask a friend to call me, will report back, when I have a result. Not receiving many phone calls at the moment.

Currently I am struggling to get the profile switching to work on my home network, will try from a different Wi-Fi.
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] tbalden:
strange about the second one. Thought it's just a temporary issue that is worked around by switching on/off wifi so that the app detects it correctly. So it always displays NULL as the name of the current wifi AP?
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] Cryptycat7:
Yes, but had it working on the exact same network on a previous clean installation.
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] tbalden:
try this:

Go into the settings page. Connect wifi, then in drawer tap Profile activation page again. Does it refresh to the good AP name?

I have this null there too as long as I don't retap the menu.
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] Cryptycat7:
That did the trick, thank you very much. Regarding the quick charging I think Android is the culprit here. It probably just doesn't fully that the kernel supports USB fast charging, just a guess.
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] tbalden:
I see, yeah, easily possible

I'll check the Wi-Fi bug then, should be easy to fix
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] Cryptycat7:
Thanks again for your help and your continuous work on the kernel. Really makes the difference between a good and an excellent phone. Will tinker around a bit with the USB fast charge, to bad, that google is building more and more barriers into custom development. The USB fast charge would have most likely worked out of the box on lollipop.
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Fixed, rolling out on PlayStore. Thanks [MENTION=8802903]Cryptycat7[/MENTION] for reporting :good:
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] Cryptycat7:
Thank you very much for the lightning fast fix.

Edit: Tapping the profile activation tab results in a force close of the app. I created a log with the options from the developer options. Uploaded it to Gdrive, hope it has useful information in it. https://drive.google.com/file/d/1IU8caQySx0OZC5q9a7dECkaGgKrnY8UE/view?usp=drivesdk
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] tbalden:
just noticed your edit, found the exception tracelog, thanks for the bugreport.

Going to check it soon.

org.cleanslate.csconfig, PID: 1522
02-14 23:00:16.145 10185 1522 1522 E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.startsWith(java.lang.String)' on a null object reference
02-14 23:00:16.145 10185 1522 1522 E AndroidRuntime:	at org.cleanslate.csconfig.MainActivity.pageToProfileActivationSetup(MainActivity.java:343)
02-14 23:00:16.145 10185 1522 1522 E AndroidRuntime:	at org.cleanslate.csconfig.MainActivity.access$100(MainActivity.java:69)
02-14 23:00:16.145 10185 1522 1522 E AndroidRuntime:	at org.cleanslate.csconfig.MainActivity$19.onMenuItemClick(MainActivity.java:1267)
02-14 23:00:16.145 10185 1522 1522 E AndroidRuntime:	at android.support.v7.view.menu.MenuItemImpl.invoke(MenuItemImpl.java:167)
02-14 23:00:16.145 10185 1522 1522 E AndroidRuntime:	at android.support.v7.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:973)
02-14 23:00:16.145 10185 1522 1522 E AndroidRuntime:	at android.support.design.internal.NavigationMenuPresenter$1.onClick(NavigationMenuPresenter.java:342)
02-14 23:00:16.145 10185 1522 1522 E AndroidRuntime:	at android.view.View.performClick(View.java:6256)
02-14 23:00:16.145 10185 1522 1522 E AndroidRuntime:	at android.view.View$PerformClick.run(View.java:24779)
02-14 23:00:16.145 10185 1522 1522 E AndroidRuntime:	at android.os.Handler.handleCallback(Handler.java:789)
02-14 23:00:16.145 10185 1522 1522 E AndroidRuntime:	at android.os.Handler.dispatchMessage(Handler.java:98)
02-14 23:00:16.145 10185 1522 1522 E AndroidRuntime:	at android.os.Looper.loop(Looper.java:180)
02-14 23:00:16.145 10185 1522 1522 E AndroidRuntime:	at android.app.ActivityThread.main(ActivityThread.java:6950)
02-14 23:00:16.145 10185 1522 1522 E AndroidRuntime:	at java.lang.reflect.Method.invoke(Native Method)
02-14 23:00:16.145 10185 1522 1522 E AndroidRuntime:	at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
02-14 23:00:16.145 10185 1522 1522 E AndroidRuntime:	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:835)
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Rolling out fix for Profile Activation crash
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] vegetaleb:
Hello [MENTION=3088420]tbalden[/MENTION], do you know if leedroid is finalising his rom for u11+? You are the only one here to work for this phone :)
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] Cryptycat7:
I know this would be normally a simple ROM side change, but since I am not sure if this device is going to see any ROMs, I was wondering if this could be done on kernel level.

The 1.24 build changed the color of the status bar from a sleek black with white font to a white tone with grey font, that jumps right into the eye. This change doesn't seem to receive any positive feedback from the community, at least not from what I read.

Would it be possible to invert the color of the navigation bar to black on kernel level? Attached a screenshot really looks weird, especially with a dark keyboard theme applied.
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] Siminica:
how is the flash blinking on notification supposed to react when a notification is dismissed without unlocking the screen?

I will explain the context (sorry if this behavior is already known): I run whatsapp on my mobile and also on my laptop, when a new message comes if the laptop whatsapp window is not active and I don't see/react to message on laptop in a given amount of time, a phone notification is created so the flashlight starts blinking; I see the blinking and switch to the laptop whatsapp window, read/respond to message and the phone notification is dismissed. In this context the blinking should stop by itself?

same scenario could apply to emails - when I delete them on laptop the corresponding notifications are dismissed

thank you
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Hi,

Answer is two fold:

if the blinking is started by the Notification LED, and that stops blinking then it will stop the flashlight too.

If the notification is gathered from Vibration pattern or by Companion app channeling it, it won't stop until you turn screen on.
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] Siminica:
uh oh - what will the settings be in your app settings or companion in order to achieve first behavior where flashlight is connected to notification led? (I have the companion app installed)

thank you
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] tbalden:
This is typically a ROM thing, not in the kernel domain. Let's hope there'll be some customization for that for u11plus too. :)
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] Cryptycat7:
That's what I thought, thanks for clarifying.
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] tbalden:
If you switch off in companion app the extra notifications, and have no vibration for notifications then it will behave like that.

For now the vibration pattern detection is not optional.

I'll think about making it optional.
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] tbalden:
- U11 Plus update 1.7.6 stable -​

Updates

- Fix Bluetooth drain issue (props to [MENTION=3428502]Freak07[/MENTION] !)

- Add Ignore Vibration Notif detection to BLN / Flashlight advanced options (kernel and Config app)

U11 Plus 1.7.6 Download:

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

Configuration APK 1.9.4

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

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] tbalden:
Added to latest kernel update and config app update.

Config app: Go into BLN/Flashlight -> Advanced mode. Set Ignore Vibration Detection

In companion app, set Extra Notification Detection off.

This way, only off-charger Notification led blinking will start Flashlight or Button light notif.
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] Siminica:
Could you please point me to the thread discussing this bluetooth drain?

Currently on 1.7.5 and not feeling hit by any drain, so I wonder if to update or not, as current configuration is pretty stable for me

Thank you

And another question please: I've seen there is no update in the 10 thread - maybe because the problem is only hitting 11 (and+) - should I update my 10's config app or will it break things?
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Check u11 thread in my signature.

Also new version is needed to let your requested feature work together with the config App. You can achieve now to flashlight notify only when the led starts to blink.

New app won't break stuff on the 10.
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] Slok 00:
but if i am already on 1.7.5 i still need extSD to update?
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] Cryptycat7:
Yes, TWRP doesn't support decryption yet, so it's not possible to read the internal storage from recovery. The external SD card works around that.
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] Cryptycat7:
Just noticed that the changes in 1.7.6 broke Bluetooth entirely for me. I attached a logcat.

Can't imagine to use my U11+ without CleanSlate at this point. [MENTION=3088420]tbalden[/MENTION]
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Great report. Going to check. Till then please revert to previous version.

What exactly happens?
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] Cryptycat7:
Glad if I was able to add some useful information. I get this popup, notifying me about an unexpected Bluetooth error. I am prompted to report the issue to HTC. If I deny, the pop up reappears three times. Really missing the report to [MENTION=3088420]tbalden[/MENTION] option there. :victory:;) Won't hear anything from HTC, but received a reply from you within minutes, much appreciated. In other words Bluetooth just remains off, no matter from where I toggle it. Quick tiles, doesn't work, same goes for settings and for sharing from a user app.

Wondering where the phone stores the log, that it sends to HTC? If theres any other information you want me to provide, certain logs, et cetera I am glad to add my two cents.

Flashed back to 1.7.5, which didn't fix the problem. I know dirty flashing on top of cleanslate kernel is cheeky :eek:, still wanted to give it a shot.

Going for a RUU.zip flash now.
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] tbalden:
Wow. Hmm. Then my humble guess it's not the kernel presumably.

But please try 1.7.4 maybe which doesn't contain the December patches yet. If that doesn't help I'm clueless.
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] Cryptycat7:
I am tempted to downgrade to 1.10. Liked everything about that build. Never noticed any of the system enhancements HTC claimed in the update notification. Only concern I have is the backwards compatibility, not having enough experience with flashing HTC to come to a conclusion. Would much appreciate your take on that. Not sure, if we are going to see 8.1. on the U11 family, if the answer to this question is no, I don't expect many updates before Android P lands.

In any case I'll flash 1.7.4 first for debugging purposes. I can certainly say that Bluetooth was working fine for me on 1.7.5 not using it often, so I can't tell when it broke. Flashing Magisk is the only system change I made recently. So I am going to unroot first.
[HTC U11+ ROMs, Kernels, Recoveries, & Other Develo] Siminica:
Hi, U11+, 1.24.401.2, Cleanslate 1.7.6, Magisk, Xposed - no issues with bluetooth, connects fine with car audio (skoda), jabra steel, avantree.