GROOVYJOSHCLARK
Senior Member
it looped to fastbootd on my pixel 4 XL with official LOS 20 (Android 13) so it didnt work for me
it looped to fastbootd on my pixel 4 XL with official LOS 20 (Android 13) so it didnt work for me
Based on all the reports here it seems while using magisk 24.3 on custom roms it works.it looped to fastbootd on my pixel 4 XL with official LOS 20 (Android 13) so it didnt work for me
I'm good with it, I know it keeps changing with Android, I keep watching and testing. Its all goodBased on all the reports here it seems while using magisk 24.3 on custom roms it works.
Any higher magisk version breaks.
Why this is I don't know.
It works just fine on stock ROM. I assume it's due to the magisk rewrite and maybe verity.
Pixel 4 和 Pixel 4 XL 的 Kirisakura 内核
大家好,
在 Pixel 3/XL 论坛上上升到最流行的内核之后,这里是 Pixel 4 (FLAME) 和 Pixel 4 XL (CORAL) 的 Kirisakura-Kernel,以及 FLORAL。
Kirisakura - Kernel 旨在为设备带来一些有益的功能,同时确保出色的性能和流畅度,让您安全度过一天!
内核旨在保持大部分子系统更新,远远领先于库存内核,从而提高安全性、稳定性和性能!
这包括 Linux-Stable、CAF-Upstream、F2FS-Mainline 和 kernel/common。
如果这让您感到好奇,请阅读有关 linux-stable 及其重要性的信息。每个子系统的稳定过程并不相同,但总体思路、经验法则和好处也适用于其他子系统。
主要特点:
- 基于谷歌最新的内核源代码,内核专为 Android 13 打造
- Linux-Stable-Upstream包含在最新的 4.14.302 中
- CAF-Upstream 通常基于 sm8150 的最新标签之一
- 包括来自内核/通用的所有重要修复/改进
- 使用来自 Google prebuilts 的最新 Clang 16.0.2 编译并使用 -O3 优化构建
- F2FS 实现已更新到由 Jaegeuk Kim 维护的kernel/common和kernel.org的最新状态。
- devfreq 从 5.4 向后移植(sd 888 qcom 内核基础)
- 包含 Safety Net 补丁 -> 内核通过 Safety Net(硬件证明与这些内核补丁无关)
- 闪烁内核将保留 root 权限!
- 经过测试可在自定义 ROM 上工作
- 可在有根系统上通过 EXKM 和 FKM 刷写!
- 从谷歌删除大量的内存管理日志
- 删除了 nolog 用法,从内核中删除了 rtb 日志记录
- 从内核中删除 selinux 审计以降低开销
- 从内核中删除 IPC 日志记录
- 引入 kmalloc 可回收缓存以改进内存管理
- AnyKernel3 由 @osm0sis 提供支持(非常感谢!)
EAS相关功能:
- CleanSlate 选项可动态控制 powerhal 的频率提升和计划提升
- 对任务放置的小改进
- 从内核/通用到 EAS 的修复
- Pixel 5 的改进
CPU相关特性:
-默认启用节能工作队列(在 EXKM 中可切换)
在这里阅读:https ://lwn.net/Articles/731052/
这总体上补充了 EAS
- 将各种驱动程序(WLAN、MM、音频、充电器、电源、热、glink 等)更改为用户节能工作队列。这应该与 EAS 结合使用
- 包括来自 CAF 的 cpuidle 补丁
- 主线的 s2idle-flow 改进
- 提高音乐播放效率
- arm64:lse:预取操作数以加速原子操作
文件系统相关特性:
- 包括在f2fs stable git上发现的最新 f2fs 更改
- 包含 @arter97 的快速 GC(最好阅读此处链接的提交说明。我比较了 stock google f2fs、上游 f2fs 和 f2fs 上的 GC 与快速 GC。快速 GC 是最有效的,然后是上游的 f2fs。)
GPU相关特性:
- KCAL 控制各种 RGB 相关显示配置(RGB、色调、饱和度等 -> 可通过 CleanSlate Config App 访问)
- 增加降低最低亮度的能力
- 添加高亮度模式 (HBM)
- 将 GPU 驱动程序更新到最新的 CAF 状态
- 提高 GPU 性能(整体更流畅的体验)
- 减少渲染静态图像时的功耗
- 启用 SD855+ GPU 频率作为可选功能
CleanSlate 的 UI/UX/可用性相关功能:
- @tbalden制作的 CleanSlate 功能
- 使用CleanSlate-Thread中的 CleanSlate-Apps 调整所有 CleanSlate 功能(如果您从 CleanSlate 功能中获利,请确保在 Play-Store 上购买高级版本以支持
@tbalden
- 不包括以任何方式需要许可 selinux 的 CleanSlate 选项,因为它们可以在有根环境中轻松实现,并且该内核不打算在无根环境下使用(广告拦截、道具欺骗等)
- 手电筒通知/来电闪烁
- 振动通知提醒
- 扫一扫进入睡眠触摸屏手势 - 高度可定制
- 双击 Sweep2Sleep 的区域手势 - 下拉 android 通知区域的新方法
- 面朝下屏幕关闭 - 新手势,例如方便地与“翻转到嘘”一起使用以关闭屏幕
网络相关功能:
- Wireguard 支持(详细信息)
内存相关特性:
- 使用最新更改更新 PSI 监视器
- 使用来自最新主线的补丁改进了 mm
- 主线的各种其他变化
- 包括 zstd 和 lz0-rle 作为 ZRAM 算法的选项(lz4 可能是最好的,所以只有当你知道为什么和你在做什么时才改变它)
- 允许 swappiness 值高达 200
- 反向移植以启用 CONFIG_HAVE_MOVE_PMD(参见此处)
- 反向移植以启用 CONFIG_HAVE_MOVE_PUD (请参阅此处) (由于它破坏了音频驱动程序而暂时恢复)
- 改进 ZRAM 写回(感谢 @arter97)
- 通过 psi 禁用每个 cgroup 跟踪以减少开销
安全相关功能:
- CFI和 LTO都保持完好,用于保持 Google 为我们实施的额外安全性!
-从 3.9.0 开始使用ThinLTO
-影子调用堆栈
调谐 PowerHal
- 允许内核在没有交互发生时以最低频率空闲
- 在没有交互的情况下增加 swappiness 以支持交换内存,否则放宽 swappiness
- 当使用面部解锁时,调度程序相机处理到大集群和主要核心
- 使用相机时调整强大的行为
其他特点:
TCP 拥塞算法:
- 启用高级算法
- 包括新的 bbr2
唤醒锁拦截器:
- 高级唤醒锁拦截器,能够阻止任何唤醒锁(危险,谨慎使用)
- 请阅读 [URL="https://arstechnica.com/gadgets/2018/08/p-is-for-power-how-google-tests-tracks-and-improves-android-battery-life/"] 这个了解更多信息
其他特性:
- 禁用日志记录以使内核在各个地方更轻量级(包括 mm、vma、gpu、ipa 等)
- 从内核中删除 VLA(更多信息)
- 添加对蒸汽控制器的支持
- 添加对任天堂开关控制器的支持
- 合并 PM/Wakeup 驱动程序的上游解决方案,减少不必要的垃圾邮件并改善休眠行为
- 合并来自 google gerrit 的 freezer v2 backport(开发者选项“暂停缓存应用程序的执行”是必需的)
“不可见”但可察觉改进的功能部分:
- 更新活页夹部分(负责进程间通信)
- 更新了 sdcardfs;在这里阅读:
要求
- 解锁引导加载程序
- 启用开发者选项中的 USB 调试
- 最新的 adb 和 fastboot 二进制文件
- 工作 adb 和 fastboot 环境
- 工作 magisk 环境
- 最新的库存 rom(自定义 rom 可能有问题,一些用户报告说使用 magisk 24.3 而不是最新的 root 时成功)
如何刷入内核:
1. 将 kernel.zip 下载到您的设备
1a. 虽然在来自另一个自定义内核时可能并非总是有必要:您可能想要恢复原厂 boot.img 和原厂 dtbo.img,它们都可以在出厂映像中找到。如果您使用的是自定义 ROM,只需对 ROM 进行脏刷。使用 magisk 重新根目录并可选择安装 twrp.zip(如果存在)。在报告问题之前,请确保您这样做了!谢谢!
1b. 如果您过去使用过 SQLITE3 Magisk 模块和 GPay Fix Magisk 模块,请查看这篇文章:点我
您只需要执行 2a 或 2b
2a. 如果 TWRP 可用于此设备和特定的 android 版本,请引导至 TWRP 并刷新我的 kernel.zip。根将被保留!
或者
2b. EX 内核管理器或 FKM 应用程序中的 Flash 内核 zip。根将被保留!如果内核管理器尚未更新以在特定的 Android 版本上工作,您需要等到它更新或使用另一个。
4.重启盈利!
下载:
下载始终位于此文件夹中或附加到发布帖子,以防它现在在 AFH 中。
https://www.androidfilehost.com/?w=files&flid=301179
另请检查发布帖子以获取下载链接或附加文件。AFH最近经常掉。
重要:下载后阅读
刷完内核请看第二篇!
变更日志:
Android 10/Q 内核
1.0.0 初始版本
1.0.1 https://forum.xda-developers.com/showpost.php?p=80712545&postcount=51
1.0.3 https://forum.xda-developers.com/showpost.php?p=80791393&postcount=181
2.0.0 https://forum.xda-developers.com/showpost.php?p=81069625&postcount=341
2.1.0 https://forum.xda-developers.com/showpost.php?p=81168297&postcount=424
2.3.0 https://forum.xda-developers.com/showpost.php?p=81244627&postcount=491
2.3.4 https://forum.xda-developers.com/showpost.php?p=81311861&postcount=561
2.6.0 https://forum.xda-developers.com/showpost.php?p=81408591&postcount=611
2.9.0 https://forum.xda-developers.com/showpost.php?p=81527369&postcount=692
2.9.2 https://forum.xda-developers.com/showpost.php?p=81575075&postcount=702
3.1.0 https://forum.xda-developers.com/showpost.php?p=81625099&postcount=725
3.2.0 https://forum.xda-developers.com/showpost.php?p=81679343&postcount=761
3.9.0 https://forum.xda-developers.com/showpost.php?p=81926617&postcount=802
3.9.1 https://forum.xda-developers.com/showpost.php?p=81943269&postcount=824
4.2.0 https://forum.xda-developers.com/showpost.php?p=82189985&postcount=851
4.5.0 https://forum.xda-developers.com/showpost.php?p=82485339&postcount=892
4.5.6 https://forum.xda-developers.com/showpost.php?p=82562029&postcount=941
4.7.5 https://forum.xda-developers.com/showpost.php?p=82725499&postcount=986
5.0.0 https://forum.xda-developers.com/showpost.php?p=83019609&postcount=1022
5.2.2 https://forum.xda-developers.com/showpost.php?p=83206123&postcount=1066
5.2.6 https://forum.xda-developers.com/showpost.php?p=83387505&postcount=1078
安卓 11/R 内核
6.0.0 https://forum.xda-developers.com/showpost.php?p=83476821&postcount=1092
6.1.3 https://forum.xda-developers.com/showpost.php?p=83649491&postcount=1131
6.2.4 https://forum.xda-developers.com/showpost.php?p=83849179&postcount=1143
6.6.0 https://forum.xda-developers.com/t/kernel-03-11-2020-4-14-203-kirisakura-6-2-4-for-pixel-4-xl-aka-floral .3992213/后84068177
6.6.6 https://forum.xda-developers.com/t/kernel-04-01-2021-4-14-213-kirisakura-6-6-6-for-pixel-4-xl-aka-floral .3992213/后84227741
6.8.2 https://forum.xda-developers.com/t/kernel-04-01-2021-4-14-213-kirisakura-6-6-6-for-pixel-4-xl-aka-floral .3992213/后84408147
7.1.0 https://forum.xda-developers.com/t/kernel-01-02-2021-4-14-218-kirisakura-6-8-2-for-pixel-4-xl-aka-floral .3992213/后84588667
7.1.1 https://forum.xda-developers.com/t/kernel-05-03-2021-4-14-222-kirisakura-7-1-1-for-pixel-4-xl-aka-floral .3992213/后84603881
7.2.3 https://forum.xda-developers.com/t/kernel-05-03-2021-4-14-222-kirisakura-7-1-1-for-pixel-4-xl-aka-floral .3992213/后84747379
7.4.0 https://forum.xda-developers.com/t/kernel-30-03-2021-4-14-227-kirisakura-7-2-3-for-pixel-4-xl-aka-floral .3992213/post-84900715
7.4.1 https://forum.xda-developers.com/t/kernel-25-04-2021-4-14-231-kirisakura-7-4-0-for-pixel-4-xl-aka-floral .3992213/后84951399
7.4.2 https://forum.xda-developers.com/t/kernel-04-05-2021-4-14-231-a11-a12-preview-kirisakura-7-4-1-for-pixel-4 -xl-aka-floral.3992213/post-85000553
7.4.3 https://forum.xda-developers.com/t/kernel-12-05-2021-4-14-232-a11-a12-preview-kirisakura-7-4-2-for-pixel-4 -xl-aka-floral.3992213/post-85079523
7.4.4 https://forum.xda-developers.com/t/kernel-25-05-2021-4-14-232-a11-a12-preview-kirisakura-7-4-3-for-pixel-4 -xl-aka-floral.3992213/post-85155405
7.9.0 https://forum.xda-developers.com/t/kernel-09-06-2021-4-14-235-a11-a12-beta-1-kirisakura-7-4-4-for-pixel -4-xl-aka-floral.3992213/post-85298631
7.9.1 https://forum.xda-developers.com/t/kernel-08-07-2021-4-14-238-a11-a12-beta-2-kirisakura-7-9-0-for-pixel -4-xl-aka-floral.3992213/post-85424575
7.9.2 https://forum.xda-developers.com/t/kernel-03-08-2021-4-14-241-a11-a12-beta-3-kirisakura-7-9-1-for-pixel -4-xl-aka-floral.3992213/post-85473277
7.9.3 https://forum.xda-developers.com/t/kernel-13-08-2021-4-14-243-a11-a12-beta-4-kirisakura-7-9-2-for-pixel -4-xl-aka-floral.3992213/post-85674963
安卓 12
8.0.0 https://forum.xda-developers.com/t/kernel-23-09-2021-4-14-246-a12-kirisakura-7-9-3-for-pixel-4-xl-aka -花香.3992213/post-86063673
8.0.3 https://forum.xda-developers.com/t/kernel-08-12-2021-4-14-256-a12-kirisakura-8-0-0-for-pixel-4-xl-aka -花香.3992213/post-86236075
8.0.4 https://forum.xda-developers.com/t/kernel-10-01-2022-4-14-261-a12-kirisakura-8-0-3-for-pixel-4-xl-aka -花香.3992213/post-86413329
8.0.5 https://forum.xda-developers.com/t/kernel-12-02-2022-4-14-265-a12-kirisakura-8-0-4-for-pixel-4-xl-aka -花香.3992213/post-86550055
8.2.0 https://forum.xda-developers.com/t/kernel-09-03-2022-4-14-265-a12-a13-kirisakura-8-0-5-for-pixel-4-xl -aka-floral.3992213/post-86843221
8.2.2 https://forum.xda-developers.com/t/kernel-04-05-2022-4-14-274-a12-a13-kirisakura-8-2-0-for-pixel-4-xl -aka-floral.3992213/post-87006201
安卓 13
9.0.0 https://forum.xda-developers.com/t/kernel-10-06-2022-4-14-282-a12-a13-kirisakura-8-2-2-for-pixel-4-xl -aka-floral.3992213/post-87295655
9.0.2 https://forum.xda-developers.com/t/kernel-17-08-2022-4-14-290-a12-a13-kirisakura-9-0-0-for-pixel-4-xl -aka-floral.3992213/post-87532941
9.1.0 https://forum.xda-developers.com/t/kernel-06-10-2022-4-14-295-a12-a13-kirisakura-9-0-2-for-pixel-4-xl -aka-floral.3992213/post-87760941
9.1.1 https://forum.xda-developers.com/t/kernel-06-10-2022-4-14-299-a12-a13-kirisakura-9-1-0-for-pixel-4-xl -aka-floral.3992213/post-87868847
捐款:
捐款不是强制性的,但如果您想支持开发或只是请我喝咖啡,则非常欢迎
如果你喜欢我的作品: http: //paypal.me/freak07
学分:
@osm0sis 他所有的工作,包括 ak3 安装程序!
@tbalden 成为最好的 HTC 僚机!
@LeeDroid 非常棒的 rom!
@Captain_Throwback 所有的指导和指导!
@Eliminater74 将我带入游戏和灵感
@nathanchance 的上游指导和帮助
@RenderBroken 感谢他的所有工作以及我可以从他身上学到的东西
@flar2 他所有的工作
@joshuous 感谢他过去给我的所有帮助!
@topjohnwu 用于 magisk!
@arter97,@kdrag0n
对于闪烁号。两者都以相同的方式闪烁。
我觉得有必要提醒人们不要要求功能或 ETA,尤其是在内核发布的那一天。我已经在第一页看到了。
话虽如此:
这里的开发人员想要有关内核如何在设备上工作的反馈,而不是一堆离题的评论/问题这是一个开发论坛。
我们确实有此设备的 aq/a 和一般部分,请随时创建合适的线程。
帮我好几次!
XDA:DevDB 信息
Kirisakura Kernel,谷歌 Pixel 4 XL 的内核
贡献者
怪胎07
源代码: https ://github.com/freak07/FLORAL
内核特殊功能:
版本信息
状态:稳定
创建于2019-10-27
最后更新2020-11-03
乙 flash zip,magisk 25.2 all ok!
That happens if a boot.img extracted from a non matching factory image or firmware is flashed, as kernel will not match Version of vendor kernel modules and loading these modules (touch driver) will fail.Warning: If you're using stock 13 (TP1A.221005.002) and 9.1.1 kernel want to turned back use stock kernel.
DO NOT DIRECTLY FLASH BOOT. IMG ONLY, IT WILL BROKE YOU'RE TOUCHSCREEN FUNCTION.
If you do, the only thing you can do is control your phone by mouse and flash 9.1.1 kernel. Or just flash factory image.
setenforce 1
, but how can I make it set Enforced SELinux automatically?This kernel does not set it to permissive after boot.I encountered SELinux always being set to Permissive after reboot. IK that it can be set to Enforced after boot withsetenforce 1
, but how can I make it set Enforced SELinux automatically?
It is working on EvolutionX 7.5 with magisk 25.2.Based on all the reports here it seems while using magisk 24.3 on custom roms it works.
Any higher magisk version breaks.
Why this is I don't know.
It works just fine on stock ROM. I assume it's due to the magisk rewrite and maybe verity.
thanks for the report, I´m sure that will helper some others
Issues:Update 9.1.1
Hey guys and girls,
So here´s the next release. It includes the changes mentioned in the changelog below.
I wish everybody a great day.
Enjoy the device and the kernel, because I certainly do
Before troubleshooting and reporting any issues make sure to not use any additional mods, scripts or tweaks. This includes all mods and magisk modules, even the tiniest modification you did.
Detailed changelog below.
Changelog:
- merge december security fixes and qpr updates from still supported p4a
- Linux-Stable 4.14.302
- bump clang to prebuilt clang 16.0.2 from google
- other changes can be found on github
Magisk Module:
- After flashing the kernel, you will see a module called AK3 Helper Module in Magisk Manager. This will fine tune the power-hal. Do not delete it!
Have fun flashing and enjoy your device with latest linux-stable
Why is linux-stable beneficial?
I wish you all a nice day/evening!
Download is below
Download:
Attached to this post as AFH is not working correctly.
How to flash the Kernel:
1. Make sure you are rooted, are using the latest magisk suited for your OS version and a kernel manager capable of flashing a zip is installed. If available you'll can use TWRP as well. Download the kernel.zip to your device.
1a. If you used the SQLITE3 Magisk Module and the GPay Fix Magisk Module in the past (prior to 2.0.0) look at this post: click me
2. Flash kernel zip in via your favorite method. Kernel Managers and Recoveries need to be updated to work with a specific Android Version. It's your job to ensure compatibility!Root will be preserved! (Make sure to be on the latest firmware the kernel is made for)
3. Reboot and profit! Before reporting any issues make sure to read the first three posts of this thread!
Instructions can be found in the OP too!
Have fun, enjoy the kernel and your phone.
If you like my work please consider a donation.
Donations are not mandatory but very welcome.
If you like my work and want to buy me a coffee/green tea: http://paypal.me/freak07
Can't reproduce either of those issues.Issues:
Video playback is choppy with volume keys not working during playback.
Camera app is slow to switch from front to back
Honestly in my opinion everybody should be using magisk delta. It has a range of features that aren't included in regular stable magisk and it gets updates almost daily. They're fixes for F2FS tuning, zygote issues, a completely different implementation of magisk hide which I haven't ever needed to use so far, and the boot loop protection function built in. Every rom with a December or January patch that includes the pixel launcher stock is going to start lagging like hell, so if that starts happening after you've installed this kernel, and you didn't use the rom for very long before switching Kernels... Switch launchers. It's affecting every device running Pixel launcher on the latest security patches and stock as well if you're in the beta program and it's extremely f****** frustrating that it hasn't been fixed yet by Google. The phone will run good for a while, and then it'll start getting hot, draining battery quickly and animations will become choppy and get stuck until you reboot. The problem is, especially if you're on the latest beta of Android 13.... Is there is no other launcher that can be used because they're incompatible specifically with this release only. The only way to get a working launcher is to download the AOSP img of the latest beta and use that launcher with quick switch... And then your phone is actually usable again
no new kernel changes it seems, but that´s not really surprising.
Yes, I use Magisk 24.3 with the Displax Safetynet Fix and it's been working for me for a couple months now.Hi all, has anyone managed to pass Safetynet/Play Integrity? My hope is to be able to use Google Wallet reliably on stock ROM with this kernel![]()
Can't you use latest magisk if you're stock on last update ? I've read the previous issues about lastest magisk on custom having issues but not stock.Yes, I use Magisk 24.3 with the Displax Safetynet Fix and it's been working for me for a couple months now.