[KERNEL] CleanSlate v1.7.13 | LED|SqueezeCntrl|Flashlight|AdBlock|WireGuard [25 Sept]

cameljockey1

Senior Member
Aug 4, 2011
937
247
73
Arlington
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.
You have to go to settings in magisk and select beta builds and works. I had the same issue when I started.
 
  • Like
Reactions: DeeZZ_NuuZZ

Cryptycat7

Senior Member
Dec 21, 2017
185
90
0
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?
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.
 
  • Like
Reactions: DeeZZ_NuuZZ

cameljockey1

Senior Member
Aug 4, 2011
937
247
73
Arlington
I don't believe magisk is removing the forceencrypt flag in vendor, only ramdisk, removing from vendor would require a module, you also need to format data before booting and after removing the flag so it's probably not working.

The next point of concern that I haven't looked into yet is trebble, the vendor partition is separate on trebble devices so the 2nd fstab may exist in there.

I'm going to grab a U11+ RUU tomorrow and look at whipping a ROM up
Do you need testers?
 

tbalden

Recognized Developer
Oct 22, 2010
9,739
16,639
263
Budapest
www.virtuousrom.com
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?
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.
 

tbalden

Recognized Developer
Oct 22, 2010
9,739
16,639
263
Budapest
www.virtuousrom.com
- 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
 

Siminica

Senior Member
Jun 1, 2015
105
26
0
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.
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.
 

tbalden

Recognized Developer
Oct 22, 2010
9,739
16,639
263
Budapest
www.virtuousrom.com
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.
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.
 

Siminica

Senior Member
Jun 1, 2015
105
26
0
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.
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
 

lyfkevin

Senior Member
Sep 27, 2010
381
352
0
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! @tbalden
 

Attachments

tbalden

Recognized Developer
Oct 22, 2010
9,739
16,639
263
Budapest
www.virtuousrom.com
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
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
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.
 

tbalden

Recognized Developer
Oct 22, 2010
9,739
16,639
263
Budapest
www.virtuousrom.com
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! @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)
 

Cryptycat7

Senior Member
Dec 21, 2017
185
90
0
@DannyXX81 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.
 

Cryptycat7

Senior Member
Dec 21, 2017
185
90
0
Rolling it out in companion app premium right now.
Initiating new call and answering will vibrate if set on.
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.
 

Attachments

  • Like
Reactions: tbalden