`# libt2m`libt2m-extract` is a tool and library for Mediatek T2M images and partition images from some devices that have a Mediatek T2M update file header or header-like structures.Mediatek T2M update files are encrypted, signed and are meant to be processed by the `t2m_bsp_tool` utility to produce full-OTA package .The official BSP tool is written in C and is available in the SDK for Mediatek's custom Android BSP . There is an online version of t2m_bsp_tool on the chip manufacturer site.This version in Rust is a reverse engineered version of the T2 tool that can be used to analyze, decrypt and extract T2M files without additional SDK.Mediatek T2M and Mediatek MDP For usage of the t2mtool binary from the t2m_bsp_tool see the t2m file extract or decrypt options.## Features- Parsing and displaying the first 0x2000 header (and T # README # libt2m-extract `libt2m-extract` is a tool and library for Mediatek T2M images and partition images from devices that have a Mediatek T2M update file header or header-like structures.Mediatek T2M update files are encrypted, signed and are meant to be processed by the `t2m_bsp_tool` utility to produce full-OTA package . The official BSP tool is written in C and is available in the SDK for Mediatek's custom Android BSP (M.A.R.S. version T
优麒麟 25.04 正式发布
2025年4月18日,麒麟团队正式发布优麒麟25.04,该版本将支持9个月。
优麒麟 25.04基于Linux 6.14内核构建,对基础库、子系统和核心软件组件进行了重大升级,增强了系统的稳定性和兼容性,带来更流畅、更可靠的用户体验!
一、新功能
1. Linux 6.14 内核
优麒麟25.04 预装了 Linux 6.14 内核,引入了一系列增强功能:
提高游戏性能的 NT 同步原始驱动程序
Btrfs RAID1 读取平衡
支持无缓存缓冲 I/O
fsnotify 文件预访问通知事件
用于改进 GPU 内存管理的 dmem cgroup
FUSE 支持基于 io_uring 的通信
为 AMD NPU 添加了 amdxdna 驱动程序
实时设备支持 XFS 反向链接和反向映射
NFSv4.2+ 属性授权
x86 TLB 刷新可扩展性优化
2.Systemd V257.4 版本
init系统已更新至systemd v257.4:
在Ubuntu和优麒麟中,systemd不再支持utmp。
因此,/usr/lib/tmpfiles.d/systemed.conf等默认配置不再创建/run/utmp。一些工具(如procps 中的“w”)可以与 systemd-logind 配合使用,但其他工具(如 coreutils 中的“who”)则不行。
计划在systemd v258中完全删除cgroup v1(传统和混合层次结构)。
对System V服务脚本的支持已过时,并将在v258 中删除。请确保立即更新您的软件,使其包含本地 systemd单元文件,而不是传统的System V脚本,以保持与未来systemd版本的兼容性。
3.工具链升级
GCC:即将发布的 GCC 15 的快照
binutils: 更新至 2.44
glibc:已更新至 2.41
Python 已更新至 3.13.3
LLVM: 默认版本为 20
Rust: 默认工具链为 1.84
Golang: 更新至 1.24
OpenJDK:第 24 GA 版和第 25 版早期访问快照现已发布
4.软件包管理
APT 已更新至 3.0。当传统求解器无法找到解决方案时,会自动使用新的依赖求解器。还可以触发该求解器,以便在故障情况下提供更多上下文信息或评估性能。
5.UKUI桌面环境
优麒麟 25.04 采用了 UKUI 桌面环境,旨在打造优雅的视觉效果和易用性。它提供广泛的个性化设置,让用户可以根据自己的喜好构建桌面布局,使日常工作更高效、更舒适。
二、安装程序
1.镜像安装
从官方网站下载镜像并创建启动盘进行安装(推荐);
镜像下载:https://www.ubuntukylin.com/downloads/。
2.从以前的版本升级
(1)通过终端命令升级
打开终端,运行
(2)通过软件升级程序升级
25.04发布后,确保软件源设置为接收任何版本的更新,系统会提示您通过软件更新程序进行升级。
三、已知问题
单击 “锁定屏幕 ”设置页面时,概率性出现一个弹出窗口: 应用程序 “设置 ”意外关闭。
某些Windows快捷键可能无法正常工作,例如用于打开文件资源管理器的Win + E。不过,反复按这些键可能会有帮助。
用于屏幕投影的 Win + P 组合键目前无法使用。