Pzqqt's News Channel
3.2K subscribers
683 photos
26 videos
410 files
4.45K links
Managed by @pzqqt and @pzqqt_bot

This channel will also push some updates news about things that I'm interested in.
Download Telegram
What are your thoughts on the content of the previous message:
Final Results
68%
I love that!
9%
It's 💩!
22%
I don't care.
Pzqqt's News Channel
Photo
让我稍微详细介绍一下:

众所周知,Glow Kernel支持KernelSU和MKSU,用户可以选择其中一个使用,但还有一些用户出于某些原因喜欢使用其他的非官方版本KernelSU。

从Glow Kernel v4.0开始,你可以通过安装这个补丁包以让Glow Kernel能够支持一些其他常见的非官方版本KernelSU。当然,这只对Glow Kernel有效。

一些技术细节:经过开发者修改的KernelSU现在支持从cmdline读取一组额外的apk签名信息(size和sha256),使得KernelSU认可以该签名签名的apk成为KernelSU的管理器app。再通过修改vendor_boot分区的cmdline,将这组签名信息传递给内核。

但请注意,如果你选择使用这些原本不受Glow Kernel支持的非官方版本KernelSU,开发者将不接受你的bug反馈。

Let me explain in a little more detail:


As we all know, Glow Kernel supports KernelSU and MKSU, and users can choose to use one of them, but some users like to use other unofficial versions of KernelSU for some reasons.

Starting from Glow Kernel v4.0, you can install this patch package to enable Glow Kernel to support some other common unofficial versions of KernelSU. Of course, this is only valid for Glow Kernel.

Some technical details: KernelSU modified by the developer now supports reading a set of additional apk signature information (size and sha256) from cmdline, so that KernelSU recognizes that the apk signed with this signature can become the manager app of KernelSU. Then pass this set of signature information to the kernel by modifying the cmdline of the vendor_boot partition.

But please note that if you choose to use these unofficial versions of KernelSU that are not originally supported by Glow Kernel, the developer will not accept your bug feedback.
Bochs DRM Panic Support, Panfrost Adds Mediatek MT8370 SoC For Linux 6.17
26 June 2025 - Linux 6.17 DRM

Maxime Ripard at Red Hat sent out the latest weekly pull of "drm-misc-next" changes to DRM-Next for queuing of these kernel graphics/display driver changes ahead of the Linux 6.17 merge window opening up in about one month's time.

Comments

#Phoronix #LinuxKernel
Glow-Kernel-v4.0.zip
50.3 MB
SHA1: 889F83B9A4FE55BBA626D1FA99C38440097F17FA
Glow Kernel v4.0 for marble/marblein
By Asshole

Download

Changelog:
- Same as Melt-marble-v4.0
Glow-Unofficial-KernelSU-support-patch-v1.2.zip
5.7 MB
After installing Glow Kernel v4.0 or above, install this patch package to get support for other unofficial KernelSU.

Please follow the installation program's instructions and use the volume button.

Requirements:
1. Installed Glow Kernel v4.0 or above.
2. Select KernelSU support when installing Glow Kernel.
3. You did NOT installed KernelSU via LKM.

You can only install this patch package if all the above requirements are met.

Note:
The patch package will always work after installation unless:
1. You change to another kernel.
2. You update/replace the rom.
3. You restore the kernel backup.

If the effect is lost, just reinstall this patch package.

v1.1 changelog:
- Remove SukiSU-Ultra from the list of supported keys

v1.2 changelog:
- Remove KernelSU-Next from the list of supported keys
- Improve detection
Pzqqt's News Channel
Glow-Kernel-v4.0.zip
仍然使用小米预编译的内核模块:
- goodix_core: marble所使用的goodix 9916r触屏驱动, 但是vendor_boot的和vendor_dlkm的同名模块有所不同, 且不开源.
- hwid: 用于区分不同机型和地区, 虽然有开源替代, 但没必要用.
- camera: 摄像头驱动, 虽然有开源替代, 但没必要用.
- msm_drm: 与显示相关, 虽然开源, 但不够新, 并且在某些移植rom上可能会出bug.
- ir_spi: 红外遥控驱动, 虽然开源, 但没必要用.
- mi_thermal_interface: 小米温控接口, 虽然开源, 但不够新, 因此没必要用.
- mtdoops pm8941_pwrkey: 似乎是用来监听电源键并记录异常日志, 虽然有开源替代, 但没必要用.
- migt metis mi_schedule sched_walt: 小米migt那一坨, 模块间互相依赖, 不开源.
- mi_power soc_sleep_stats subsystem_sleep_stats: 小米用来监测设备闲置时的唤醒情况, 模块间互相依赖, 不开源.
- ufs_qcom ufshcd_crypto_qti: 和ufs有关, 替换为开源的可能会影响HyperOS的焕新存储功能.
- zram zsmalloc: ZRAM相关, 由于预编译版本有针对HyperOS进行特殊优化, 因此不宜替换为开源的.
- millet_core millet_binder millet_hs millet_oem_cgroup millet_pkg millet_sig binder_gki: 小米millet那一坨, 不开源.
- cpq: 小米自己搞的IO调度器, 不开源.
- qcom-dcvs: 和HyperOS的FEAS有关, 不开源.
- debug_ext mi_freqwdg mi_memory perf_helper: 和HyperOS的系统优化调度相关, 且不开源.
- bootinfo binderinfo hardwareinfo miicmpfilter miwill miwill_mode_redudancy sla swinfo: 未知用途, 且不开源.

补充说明:
- msm_drm: 对于HyperOS, 允许用户在安装Glow Kernel的过程中选择使用开源的作为替代; 对于AOSP rom, 强制使用开源的; 对于其他rom (指各种移植rom), 强制使用小米预编译的.
- camera: 对于HyperOS, 允许用户在安装Glow Kernel的过程中选择使用开源的作为替代; 对于AOSP rom, 强制使用开源的; 对于其他rom (指各种移植rom), 强制使用小米预编译的.
- zram zsmalloc: 对于HyperOS, 允许用户在安装Glow Kernel的过程中选择使用开源的作为替代; 对于其他rom, 强制使用开源的.
- ir_spi: 在安装Glow Kernel的过程中, 安装程序会识别rom的特征来自动决定应该使用开源的还是小米预编译的.

被移除的内核模块:
- coresight coresight_tmc coresight_funnel coresight_replicator coresight_stm coresight_cti coresight_tpda coresight_tpdm coresight_csr coresight_dummy coresight_remote_etm coresight_tgu coresight_hwevent: coresight那一坨.
- atmel_mxt_ts focaltech_fts synaptics_dsx nt36xxx-i2c nt36xxx-spi: marble未使用的触屏驱动模块.
- icnss2 qca_cld3_qca6750: marble未使用的WiFi驱动模块.
- cs35l43_dlkm: marble未使用的扬声器功放驱动模块.
- stm_core stm_p_basic stm_p_ost stm_console stm_ftrace: 系统跟踪模块.
- qti_battery_debug rdbg qcom_iommu_debug spmi-pmic-arb-debug spmi-glink-debug f_fs_ipc_log qcom-cpufreq-hw-debug mmrm_test_module cameralog: 调试相关.
- kryo_arm64_edac qcom_edac: EDAC相关, 无用.

新增的内核模块:

- vh_fs: hook相关函数以实现显示更详细的唤醒锁名称, 取自Google, 源代码: https://github.com/Pzqqt/android_kernel_xiaomi_marble/tree/melt-rebase/drivers/soc/qcom/vh_fs
- coresight-clk-amba-placeholder coresight-clk-placeholder: 用以占位被移除的coresight模块, 源代码: https://github.com/Pzqqt/android_kernel_xiaomi_marble/tree/melt-rebase/drivers/hwtracing/google

更名的内核模块:
- hdcp_qseecom: 更名为hdcp.
Xiaomi.eu Multilang HyperOS ROM stable Update
2025-06-28
#Marble #XiaomiEU #HyperOS #Stable

Build date:
Sat, 28 Jun 2025 01:14:09 UT

MD5:
170ec3b98d6b4c6f5c978c044dc93b53

Download:
xiaomi.eu_MARBLE_OS2.0.201.0.VMRCNXM_15.zip

Size:
5.7 GB
Pzqqt's News Channel
让我稍微详细介绍一下: 众所周知,Glow Kernel支持KernelSU和MKSU,用户可以选择其中一个使用,但还有一些用户出于某些原因喜欢使用其他的非官方版本KernelSU。 从Glow Kernel v4.0开始,你可以通过安装这个补丁包以让Glow Kernel能够支持一些其他常见的非官方版本KernelSU。当然,这只对Glow Kernel有效。 一些技术细节:经过开发者修改的KernelSU现在支持从cmdline读取一组额外的apk签名信息(size和sha256),使得Kern…
这样设计其实是有一点安全风险在里边的:恶意app可以在获取root权限之后编辑vendor_boot镜像并任意修改这组签名信息。如果有个恶意app是用这组签名密钥签名的,那么该恶意app将接管成为KernelSU的管理器app。

思考之后发现,除非在内核内搞一个白名单机制,不然无解。

因此,该方案极有可能在下个版本废弃。

不过换个角度思考,如果一个app拥有了root权限,那么它能做出多么过分的事情也一点不奇怪。

This design actually has some security risks: malicious apps can edit the vendor_boot image and modify this set of signature information at will after obtaining root permissions. If a malicious app is signed with this set of signature keys, then the malicious app will take over as the manager app of KernelSU.

After thinking about it, it is found that there is no solution unless a whitelist mechanism is set up in the kernel image.

Therefore, this solution is very likely to be abandoned in the next version.

But think about it from another perspective: if an app has root permissions, it is not surprising that it can do something extreme.
Forwarded from Codeaurora Releases
New CodeLinaro OSS release detected!
Tag: LA.VENDOR.15.4.1.r1-07900-WAIPIO.0
Manifests: Vendor - dummy (BTFM.LA.1.0.R3) - dummy (GRAPHICS.LA.15.1.R1) - dummy (KERNEL.PLATFORM.4.0.R1) - dummy (LA.QSSI.15.0.R1) - dummy (WLAN.LA.1.1.R1)
Chipsets: blair, common, kalama, lahaina, parrot66, pineapple, sepolicy_vndr, sun, taro, vendor-common
Build ID: AQ3A.250604.001
Date: 2025-06-27T21:09:10.000+00:00
Pzqqt's News Channel
“垂死病中惊坐起”的下一句是?
选4的说明你是一位真正的粉丝👓
(写给marble的AOSP rom维护者)如何将基于OSS kernel的rom更改为可兼容GKI的内核?

1. 改用Google clang 12.0.5编译内核和内核模块。

BoardConfigCommon.mk定义TARGET_KERNEL_CLANG_VERSION := r416183b

2. 为内核重新启用debugfs(因为GKI默认启用debugfs,禁用debugfs则破坏了KMI)。

BoardConfigCommon.mk,从TARGET_KERNEL_CONFIG中删除vendor/debugfs.config

3. 把因为原先禁用了debugfs而没能编译的内核模块给补上。

① Revert sm8450-common: Remove modules that depend on debugfs
② Revert modules.list.msm.waipio: Remove modules that depend on debugfs

最后,从 xiaomi_GKI.config 中删除CONFIG_USB_NET_AX88179_178A=mCONFIG_USB_NET_AX8817X=m,因为这两个模块现在默认built-in GKI。

坏处:编译内核和内核模块所使用的clang不再先进;重新启用了debugfs导致内核增加了不必要的调试功能。
好处:标题写了。
Linux 6.16-rc4 Released With AMD Cleaner Shader For More GPUs, Bcachefs Changes
29 June 2025 - Linux 6.16-rc4

Linus Torvalds just released Linux 6.16-rc4 as we prepare to close out the first half of 2025 and hitting roughly one month until the Linux 6.16 stable release.

Comments

#Phoronix #LinuxKernel
Magisk Canary Update
2025-07-02
#MagiskCanary

Build version:
30000

Changelog:
https://github.com/topjohnwu/Magisk/releases/download/v30.0/notes.md

Download:
Magisk-v30.0.apk