[KERNEL] CleanSlate 🚀 R 2.6.1 |KCal|Dimmer|AdBlock|SafetyNet|FlashLight|Dtap [Dec6]

tbalden

Recognized Developer
Oct 22, 2010
9,716
16,608
263
Budapest
www.virtuousrom.com

dijia1124

Senior Member
May 12, 2017
105
28
28
Flashed kernel normally, while after reboot, I found the fingerprint feature seems to be missing.. there is no fingerprint option in settings, neither could I unlock the phone with fingerprint ..don't know how to deal with it :crying:

System version: OOS 10.5.12.IN21AA

Restored the stock kernel and the fingerprint feature went back. But once reinstalled the kernel, fingerprint is still missing.

Edited:
Quite strange.
Reflashing stock ROM via TWRP, on stock kernel, fingerprint is OK.
Once I flash any custom kernels, fingerprint feature get lost.
Restoring stock kernel, fingerprint is OK again.
I've already tried Cleanslate, ElementalX and Radioactive Kernel, so I suppose it may not be kernel-related.
 
Last edited:

tbalden

Recognized Developer
Oct 22, 2010
9,716
16,608
263
Budapest
www.virtuousrom.com
Flashed kernel normally, while after reboot, I found the fingerprint feature seems to be missing.. there is no fingerprint option in settings, neither could I unlock the phone with fingerprint ..don't know how to deal with it :crying:

System version: OOS 10.5.12.IN21AA

Restored the stock kernel and the fingerprint feature went back. But once reinstalled the kernel, fingerprint is still missing.

Edited:
Quite strange.
Reflashing stock ROM via TWRP, on stock kernel, fingerprint is OK.
Once I flash any custom kernels, fingerprint feature get lost.
Restoring stock kernel, fingerprint is OK again.
I've already tried Cleanslate, ElementalX and Radioactive Kernel, so I suppose it may not be kernel-related.
Strange. I wonder what is causing this, but I don't have any ideas..
Could you try to grab a dmesg while booting up?
Like:
adb shell
dmesg>/sdcard/log1
exit
adb pull /sdcard/log1

Sent from my Pixel 4 XL using Tapatalk
 

dijia1124

Senior Member
May 12, 2017
105
28
28
Strange. I wonder what is causing this, but I don't have any ideas..
Could you try to grab a dmesg while booting up?
Like:
adb shell
dmesg>/sdcard/log1
exit
adb pull /sdcard/log1
Thank you for your reply !
Currently I'm on OxygenOS 11 so I'm sorry that I'm not able to grab logs on 10, since this is my daily driver ...
But I got information from a Chinese developer's description, that some OP8s manufactured in from around June to July (don't know for sure if especially the ones sole in China) may use different fingerprint hardware, even though the hardware model name looks the same . He's waiting for the complete open source codes from oneplus to look into the issue further.
 
Last edited:

dijia1124

Senior Member
May 12, 2017
105
28
28
Strange. I wonder what is causing this, but I don't have any ideas..
Could you try to grab a dmesg while booting up?
Like:
adb shell
dmesg>/sdcard/log1
exit
adb pull /sdcard/log1
Hi I rolled back to OOS10 and grabbed the log for you
Hope it will be helpful
https://drive.google.com/file/d/10scghf9sSvnciwjVynEcKpk8HrEEQffY/view?usp=drivesdk

Here is a github link for reference about other users having this issue :)
https://github.com/OnePlusOSS/android_kernel_oneplus_sm8250/issues/7
 
Last edited:

tbalden

Recognized Developer
Oct 22, 2010
9,716
16,608
263
Budapest
www.virtuousrom.com
- Update 1.2.6-
- New feature: Battery Saver
--- Use new Config App 2.15.3 to be able to setup, Thanks @Freak07 for the advice on schedulers
--- Set 3 levels + Touch boost limiting (advanced settings)
---- level 1 (Gaming): 1.8GHz, 2.1GHz, 2.5Ghz
---- level 2 (normal): 1.5GHz, 1.6GHz, 1.6GHz
---- level 3 (heavy): 1.07GHz, 1.05GHz, 1.07GHz
--- Set Touch limiting in config app, to make sure even Touch boost and other boosting won't cross these limits.
- Add: USB CDC-ACM feature CONFIG_USB_CONFIGFS_ACM
- WireGuard Sep-08-2020 update


CleanSlate 1.2.6 Download:
Installer zip:https://www.androidfilehost.com/?fid=8889791610682941427
boot image:https://www.androidfilehost.com/?fid=8889791610682941426

Config app 2.15.3 Free version Download:
https://www.androidfilehost.com/?fid=8889791610682940761
Premium version rolled out to play store
 

Sleeky1532

Member
Jun 9, 2011
44
3
28
Let me know how it goes. Are you mounting your phone storage as mass storage?

Sent from my ASUS_I003D using Tapatalk
I'm trying to connect a mouse/keyboard to the phone with a usb c dongle and it never works. If i try with a normal usb otg adapter it seems to work though.

is it because of the usb acm thingy not being implemented into the stock kernel? I really don't know ;)
 

tbalden

Recognized Developer
Oct 22, 2010
9,716
16,608
263
Budapest
www.virtuousrom.com
I'm trying to connect a mouse/keyboard to the phone with a usb c dongle and it never works. If i try with a normal usb otg adapter it seems to work though.



is it because of the usb acm thingy not being implemented into the stock kernel? I really don't know ;)
I'm not sure whether these devices can cope with a multi port usb hub / dongle.

Did it ever work for you on any android device?

Sent from my ASUS_I003D using Tapatalk
 

Sleeky1532

Member
Jun 9, 2011
44
3
28
message

Let me know how it goes. Are you mounting your phone storage as mass storage?

Sent from my ASUS_I003D using Tapatalk
I'm not sure whether these devices can cope with a multi port usb hub / dongle.

Did it ever work for you on any android device?

Sent from my ASUS_I003D using Tapatalk
Yeah. any device that has usb 3.1. galaxy s10, op7, pro, 8, 8pro, etc.

on oxygen os it does not work but on pixel experience rom it works. i just think it's a kernel issue.
 

tbalden

Recognized Developer
Oct 22, 2010
9,716
16,608
263
Budapest
www.virtuousrom.com
Yeah. any device that has usb 3.1. galaxy s10, op7, pro, 8, 8pro, etc.



on oxygen os it does not work but on pixel experience rom it works. i just think it's a kernel issue.
Why do you think it's just a kernel issue? Could be rom side as well easily.
Do you know what kernel is built for pixel experience ROM? Link to repo?

Sent from my ASUS_I003D using Tapatalk
 

Sleeky1532

Member
Jun 9, 2011
44
3
28
Why do you think it's just a kernel issue? Could be rom side as well easily.
Do you know what kernel is built for pixel experience ROM? Link to repo?

Sent from my ASUS_I003D using Tapatalk
This is the device source code for a oneplus 7 (guacamoleb)
https://github.com/PixelExperience-Devices/device_oneplus_guacamoleb

Paired with this kernel
https://github.com/PixelExperience/kernel_oneplus_sm8150

The kernel link returns a 404 error

This is the rom source code though https://github.com/PixelExperience
 

tbalden

Recognized Developer
Oct 22, 2010
9,716
16,608
263
Budapest
www.virtuousrom.com
Flashed kernel normally, while after reboot, I found the fingerprint feature seems to be missing.. there is no fingerprint option in settings, neither could I unlock the phone with fingerprint ..don't know how to deal with it :crying:

System version: OOS 10.5.12.IN21AA

Restored the stock kernel and the fingerprint feature went back. But once reinstalled the kernel, fingerprint is still missing.

Edited:
Quite strange.
Reflashing stock ROM via TWRP, on stock kernel, fingerprint is OK.
Once I flash any custom kernels, fingerprint feature get lost.
Restoring stock kernel, fingerprint is OK again.
I've already tried Cleanslate, ElementalX and Radioactive Kernel, so I suppose it may not be kernel-related.
Backporting Fingerprint driver changes from Beta Android 11, seems to help on OnePlus 8 Pro.
You can try:
Installer ZIP
https://www.androidfilehost.com/?fid=8889791610682949537
Image, EU 10.5.10
https://www.androidfilehost.com/?fid=8889791610682949538


If someone with a phone which had FP already working before, tests it , that would be also very good and feedback much welcome!
 
Last edited:

SUPERUSER

Senior Member
Jan 23, 2013
1,574
535
0
Backporting Fingerprint driver changes from Beta Android 11, seems to help on OnePlus 8 Pro.
You can try:
Installer ZIP
https://www.androidfilehost.com/?fid=8889791610682949537
Image, EU 10.5.10
https://www.androidfilehost.com/?fid=8889791610682949538


If someone with a phone which had FP already working before, tests it , that would be also very good and feedback much welcome!
I flashed the kernel on newly flashed full stock rom, fully wiped phone.
10.5.10-EUROPE-OnePlus8Oxygen_15.E.19_OTA_019_all_2008080048_f62cc250-FASTBOOT
I let the system download the 10.5.12 OTA

Flashed magisk
Installed EX kernel manager

Backup kernel
And flashed this kernel and rebooted

I still have my fingerprint, fingerprint enrollment is still present in settings app, and I can unlock the phone with my fingerprint.

This is a win win :good::good::good::good::fingers-crossed:
 

tbalden

Recognized Developer
Oct 22, 2010
9,716
16,608
263
Budapest
www.virtuousrom.com
I flashed the kernel on newly flashed full stock rom, fully wiped phone.
10.5.10-EUROPE-OnePlus8Oxygen_15.E.19_OTA_019_all_2008080048_f62cc250-FASTBOOT
I let the system download the 10.5.12 OTA

Flashed magisk
Installed EX kernel manager

Backup kernel
And flashed this kernel and rebooted

I still have my fingerprint, fingerprint enrollment is still present in settings app, and I can unlock the phone with my fingerprint.

This is a win win :good::good::good::good::fingers-crossed:
Did it work for you before this new cleanslate version on custom kernels? Or is your phone one that had issues with fp on non stock custom kernels?

Thanks for the feedback

Sent from my ASUS_I003D using Tapatalk
 

SUPERUSER

Senior Member
Jan 23, 2013
1,574
535
0
Did it work for you before this new cleanslate version on custom kernels? Or is your phone one that had issues with fp on non stock custom kernels?

Thanks for the feedback

Sent from my ASUS_I003D using Tapatalk
No, flashing any custom kernel made the fp sensor disappear from settings app.
I tried all kernels here on latest stable stock oxygen rom and they all did the same except for the one you linked above.

I also posted some logs in another rom thread with full logs of errors regarding fp sensor before wiping phone going back to stock rom earlier today.
It may not be directly related to this thread, this is for stock oxygen rom, that is a gsi rom with vendor so not a stock based.
But what happened was that the fp sensor was working fine but disappeared after flashing magisk so kind of the same behavior as what happened flashing "any" custom kernel on stock oxygen rom.
https://forum.xda-developers.com/showpost.php?p=83616739&postcount=22
 

tbalden

Recognized Developer
Oct 22, 2010
9,716
16,608
263
Budapest
www.virtuousrom.com
So, according to the test results, I'll keep two versions of installer zips in the original post,
- One with official OnePlus FP sources for majority of the devices (first zip in the first post)
- One with patched FP driver for those with Fingerprint issues on Android 10 custom kernels (second zip in the first post)

I think Android 11 stable will work for all devices, but let's hope in the coming days/weeks OnePlus updates the kernel sources to the correct version on Android 10 sources too.
Until then two zips...