@YuKongA13579 · Post #1957 · 15/03/2026 11:02
更新之前发的信息: 小米 17 系列用下面 2 个命令编译 GKI 都能直接开机,不需要修改任何代码。afdo 不知道有没有效果,用的是 google 默认的配置。主要就是不开 trim,不开 lto,否则不开机。未测试非 6.12.23 版本能不能开。 tools/bazel run --config=fast --notrim --lto=none --config=release //common:kernel_aarch64_dist tools/bazel run --config=fast --notrim --lto=none --config=release //common:kernel_aarch64_autofdo_dist #xiaomi17#kernel#misc