Pzqqt's News Channel
3.18K subscribers
672 photos
26 videos
409 files
4.43K links
Managed by @pzqqt and @pzqqt_bot

This channel will also push some updates news about things that I'm interested in.
Download Telegram
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
Pzqqt's News Channel
(写给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…
https://t.me/weiguangtwk_lineage/98

经过实测,按照该方法改造之后编译出的LineageOS 22.2 rom,刷入GKI是可以开机的。
不过比较奇怪的是,该rom的原始内核和内核模块中记录的编译器clang版本仍然是19.0.1是我遗漏了什么还是搞错了什么吗?
懂了,原始内核和内核模块确实都是Google clang 19.0.1编译的。看来只要避免破坏KMI,用的什么版本的clang编译内核或内核模块并不是那么重要。
Magisk Canary Beta Update
2025-07-03
#MagiskCanary

Build version:
30100

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

Download:
Magisk-v30.1.apk
Intel Wildcat Lake HID Support & Dell + ASUS Additions Ahead Of Linux 6.16-rc5
5 July 2025 - x86 Platform Drivers

Ahead of the Linux 6.16-rc5 kernel expected to be released tomorrow, a round of x86 platform driver updates were merged this week with several fixes as well as some new device additions.

Comments

#Phoronix #LinuxKernel
Pzqqt's News Channel
7Zip Update 2025-07-05 #7zip Release tag: 25.00 Assets: There are too many, see here
如何自己编译7za?

0. 下载源代码
1. cd CPP/7zip/Bundles/Alone
2. make -f ./../../cmpl_gcc.mak -j$(nproc --all)

产物位于CPP/7zip/Bundles/Alone/b/g,注意7za不是静态链接的,7zas才是。

如果你要使用GCC交叉编译:
arm的话:make -f ./../../cmpl_gcc_arm.mak CROSS_COMPILE=<指定交叉编译器> -j$(nproc --all)
aarch64的话:make -f ./../../cmpl_gcc_arm64.mak CROSS_COMPILE=<指定交叉编译器> -j$(nproc --all)

如果你需要静态链接:
加上参数COMPL_STATIC=y

如果你在CPP/7zip/Bundles/Alone2按照以上方法进行编译,那么编译产物为7zz,与7za相比,7zz支持所有的压缩文件格式。
Big Improvements For Qualcomm GPU Driver With Linux 6.17 - Especially For Snapdragon X
5 July 2025 - Qualcomm MSM DRM Driver

Sent out today by longtime Freedreno/MSM open-source Qualcomm GPU driver developer Robin Clark are the main set of MSM kernel graphics/display driver updates targeting the upcoming Linux 6.17 merge window. There are several exciting feature additions coming to this next kernel version for those relying on Qualcomm graphics capabilities.

Comments

#Phoronix #LinuxKernel