Kirisakura-Kernel for the Pixel 7/Pro
Hello everyone,
To keep it short: Here is Kirisakura - Kernel for the Google Pixel 7 Pro aka Cheetah and the Pixel 7 aka Panther, together Pantah.
Donations:
Donations are not mandatory but very welcome if you want to support development or just buy me a coffee/tea/beer
If you like my work: http://paypal.me/freak07
Source Code: https://github.com/freak07
I didn't see Gestures as a feature in the OP. I'm specifically looking for Sweep2Sleep. Can someone please confirm and maybe if Gestures is being considered? Thanks.
Damn, paywalled. The free CleanSlate config app is just a glorified ad. Absolutely disgusting.
So there are two apps to install, one light weight for notification event and sensor event channeling app, the companion app, while the other app is the actual heavier config app that you can set up once and then stop it after saving the config if you wish. In this second app you can set the battery stuff here:
View attachment 5743463
Because the updated firmware on the beta requires updated kernel drivers or vice versa.I'm new to Pixel modding coming from Scamsung.
Why is it not possible to flash the kernel on beta? And if a new stable update comes out, do I need to wait for a kernel update?
See fork here. Set
supported.verity=0
to enable the check. Given this may be temporary, I'll hold off on making a PR for now.That was exactly as it was in the Pixel 6 Pro for the fastboot commandFor use in the flash-all.bat, I believe this is what you want to do (just modify thefastboot update
line, removing the-w
and adding the disable commands:
Someone please correct me if I'm wrong.Code:fastboot update image-cheetah-buildnumber.zip --disable-verity --disable-verification
For the last 6+ years, I use Google's automated cloud restore. Most of my important apps work with it. I do use Swift Backup to automatically backup everything every night when the battery is >40%, but I only selectively restore a few apps' data using Swift.
Have changes applied with screen on. Powerhint module changes max freq on screen off.Anyway to make cpu clock changes persist after screen off? The power hint module resets everything after screens off.
Here you goHey, sorry for the bother, but is it possible you can upload the downloads somewhere else for now? It seems Android File Host has been having issues and haven't been able to download for a while now...
Thank you so much!!! Installing now
Thanks for the kernel. Are you planning to release also for QRP?
If you´ve wiped freshly ART cache needs to be rebuilt. That´s unrelated to the kernel, but happens in background, depending on the number/size of apps installed this will take quite a time. I guess that´s the difference you´re noticing, maybe some apps setting themselves up too. For me idle drain is around the same/slightly better as on stock kernel, but again due to some changes how the device behaves during idle, it might be better for some while worse for others.After Day 1 I can say it's working without any issues.
Idling for me is about 0,5-0,7% per hour but I'm on Wifi and Bluetooth connected 24/7.
On default Kernel I saw similar numbers around 0,5% so I would love to see stable 0,5% again but since it's fresh wiped etc it's hard to tell how it will be going.
I have found that if EZ Kernel readings are okay P7P can heat up to 85C after several booting up and connected to the charger. Quite high I can say and I'm not sure if that's normal behaviour.
Wow, that was quick response! Regarding temps that was quite surprice for me since no previous phone heat up this much at bootIf you´ve wiped freshly ART cache needs to be rebuilt. That´s unrelated to the kernel, but happens in background, depending on the number/size of apps installed this will take quite a time. I guess that´s the difference you´re noticing, maybe some apps setting themselves up too. For me idle drain is around the same/slightly better as on stock kernel, but again due to some changes how the device behaves during idle, it might be better for some while worse for others.
The GS 201 SoC of the P7Pro is allowed to get up to a 100°C (!). Since the device is basically maxed out for 2-3 minutes after boot (unlocking/entering pattern/pin for the first time), this is normal behaviour. Temps will be higher if connected to a charger, since that heats up battery and just raises the thermal floor quite a bit.
It´s just the UI that tricks you. EXKM reads just more or less random sensors, I don´t know if there´s any logic behind that. I assume there is, but every OEM handles this a bit different. Also difference between platforms like exynos, tensor, qcom, mediatek etc.Wow, that was quick response! Regarding temps that was quite surprice for me since no previous phone heat up this much at bootI really don't mind, nowadays we have so much power in these little chips that they can easily act as PC.
I was checking CleanSlate config app for powersaver options but they were not there. Did your kernel include them? You mentioned it in first post.
You're right it's there. Is it only works if I enable Power Save mode, right?It´s just the UI that tricks you. EXKM reads just more or less random sensors, I don´t know if there´s any logic behind that. I assume there is, but every OEM handles this a bit different. Also difference between platforms like exynos, tensor, qcom, mediatek etc.
Every phone has loads of sensors to monitor temps. Depending on which one you actually read, you´ll have big differences there.
If it´s one near the SOC, it´ll jump to a high value, the soon you open an app, if it´s further away from the soc, it´ll just stay the same. If it´s near the modem, that might jump immediately if you start a big download over 5g.
There are also virtual sensors that can be combinations of different sensors.
Under tools section in EXKM, temperature you´re only able to see a small fraction of sensors available, which happen to all be basically reflecting the SOC temperature. You can try other apps, such as device info HW, they might display more sensors.
Since EXKM shows one sensor that´s basically "on" the SoC, 80°C is not that special. Most socs are allowed to reach this temperature for a few minutes, until thermal throttling kicks in and they get restricted before the phone heats up too much.
CleanSlate features are included. You´re probably just not familiar enough with the CleanSlate app and didn´t find them yet.
On the bottom left make sure you´re in UX category, on the top right under gestures and extras. Tap compact and toggle to advanced, scroll down and there it is.
No, the battery saver in CleanSlate operates independently of the system power save mode.You're right it's there. Is it only works if I enable Power Save mode, right?
If it's true that's bad I want to keep my 120 Hz or at least 90 Hz
I know that there is ADB command for setting screen refresh rate but need to find it again.
If i use a log silencer magisk module, will that affect the kernel/companion in any way?![]()
as @TotallyAnxious said there´s no reason to use the module. as @dd805bb added, there´s no way to debug if there are no logs.I remember when Samsungs were first rooted with magisk, some models needed this because the log space would fill up. On pixels not so much. The log space doesn't run out. I believe most those are also not maintained anymore because they don't need them anymore. Magisk has been updated so much since a few years ago. Unless your running on debug, you don't need to worry about logs. That is the way to actually fix your phone if you have issues. Looking at the logs. The other guy is right, don't use this module at all. Or anything like it.
"Massive" as in benchmarks. Small in non benchmark scenarios, scoped storage eats up those gains for a lot of apps too.The gains from disabling fsync are massive on every device I've owned capable of having it disabled.
Because Android keeps fsync strictly enabled for very good reasons and it´s harder to disable than on PC. Only a very small number of users actually unlock their phones, and an even smaller number play with fsync.It's my understanding that the whole data loss thing is an event that PCs are sensitive to, at least often enough to where it's been reported to the point where it's spread this far throughout the internet. I've had countless reboots unexpectedly from other issues, experiments, dead batteries etc...over the last 8 years without ever experiencing data corruption...in fact the only issues with unexpected corruption I've had have been due to Google's mutilated updates. Lol. Seriously though.
Yes, there´s the possibility of "dynamic" fsync. That means you might only lose data from when your screen was last enabled and fsync will happen when the screen is off in the best case.It's also my understanding that fsync doesn't have to always be off. If dynamic fsync is introduced, it automatically switches back on when the screen turns off. I'm not arguing or trying to persuade you to do anything that you don't feel comfortable with, but it is honestly the only reason I stopped using this kernel. If anything, I'm just giving my 2 cents in case it interests you enough to look into it a bit more. Thank you for all of your amazing work.
If you find anything interesting about the exynos roots let me know.One last thing...I installed a few Samsung specific, rather Exynos specific kernel managers after digging through the galaxy threads and they expose some more options on our devices such as MIPS Dynamic voltage min/max, and IRQ control. I'm still trying to learn more about Exynos crap because it's foreign to me, so I'm wondering if this could be advantageous.
There´s not much controversy about benchmarks for me. Benchmarks are simply tools for testing very specific scenarios.I knew benchmarks are a controversial topic but I've always liked to pull every bit of performance out of everything I've owned, whether it be a phone, car, my shlong ( couldn't resist) and I've already been able to shut those annoying **** talking Xiaomi Mi10 ultra guys up by dominating 100% of their devices on 3d mark while still not having to charge my phone for 24 hours or keep a fire nearby
Additionally to that filesystems are a lot further than 5-10 years ago, where this idea originates from.Dynamic fsync (the fsync replacement driver faux123 wrote a long time ago) is pretty much dead and causes nothing else than crashes and random reboots on modern / newer versions of the Android adapted Linux kernel.
Maybe what you mean is replacing the default fsync with asynchronous fsync instead?
*girlI remember when Samsungs were first rooted with magisk, some models needed this because the log space would fill up. On pixels not so much. The log space doesn't run out. I believe most those are also not maintained anymore because they don't need them anymore. Magisk has been updated so much since a few years ago. Unless your running on debug, you don't need to worry about logs. That is the way to actually fix your phone if you have issues. Looking at the logs. The other guy is right, don't use this module at all. Or anything like it.
you need to give a lot more detail as to what you're talking about. overheating is likely related to your own personal use and background app activities. or give any details for troubleshooting
If i use a log silencer magisk module, will that affect the kernel/companion in any way?![]()
as @TotallyAnxious said there´s no reason to use the module. as @dd805bb added, there´s no way to debug if there are no logs.I remember when Samsungs were first rooted with magisk, some models needed this because the log space would fill up. On pixels not so much. The log space doesn't run out. I believe most those are also not maintained anymore because they don't need them anymore. Magisk has been updated so much since a few years ago. Unless your running on debug, you don't need to worry about logs. That is the way to actually fix your phone if you have issues. Looking at the logs. The other guy is right, don't use this module at all. Or anything like it.