4

Android 13 将改进 DSU,刷入 GSI 通用系统镜像速度翻倍

 2 years ago
source link: http://www.ikanchai.com/article/20220403/473051.shtml
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Android 13 将改进 DSU,刷入 GSI 通用系统镜像速度翻倍

来源:IT之家  

IT 之家 4 月 3 日消息,动态系统更新 ( DSU ) 是 Android 中鲜为人知的功能之一,它允许用户在不解锁引导加载程序或刷新系统更新的情况下安装通用系统镜像 ( GSI ) ,在当前系统映像和 GSI 之间轻松切换。

该功能首次在 Android 10 中引入,是开发者测试最新 Android 版本的最简单方法之一。根据 Mishaal Rahman 发现的信息,DSU 在 Android 13 中将获得改进。

AOSP Gerrit 的新提交表明,谷歌正在为 DSU 带来一些显著的性能改进。通过增加默认共享内存,通过 DSU 安装 GSI 会快得多。谷歌指出,内存的适度增加(从 8KiB 到 64KiB)将大大加快物理和虚拟设备上的动态系统安装时间。

谷歌的测试表明,物理设备上的安装时间从 2 分 2 秒缩短到 45 秒,虚拟设备上的安装时间从 45 秒缩短到 30 秒。

1648994443700.jpg此外,进度条也得到了一些新的改进。当 GSI 安装时,通知中心的进度条将显示正在安装的分区。而在当前的 Android 版本中,只会显示 " 正在安装 "。

1648994443760.jpgIT 之家了解到,DSU 还将添加对 system、system_ext 和 product images 的支持。这些功能和改进尚未在 Android 13 开发者预览版中提供。


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK