Repository navigation
开机过程中挂客体库补丁,开机后不再黑屏重来;Pixel 桌面的卸载等写盘、开机补卸 - #178
Merged
Merged
Conversation
- 带窗口开机时,补丁的 zygote 重启原来排在开机完成之后,桌面露出来又没了、十几秒后再回来。初始化过的实例现在在开机等待里 adb 一能用就挂(earlyGuestFixes),屏幕上还是开机动画;开机后的那一步只看到已挂上。新实例的第一次开机仍在开机后挂,但挪到开机后设置的第一步,之后的设置不用再补做(去掉 recheckHostIme 和重启后的方向设置)。 - 首次初始化卸载原生 Pixel 桌面后,系统要约 10 秒才写盘,原来 2 秒多以后就重启了 zygote,卸载丢了,1080p 上 Pixel 桌面画出任务栏。卸载后等写盘(pixelLauncherRemoveScript);之后每次开机发现它又在就再卸一次(ensurePixelLauncherRemoved)。 - 新建进度的计划跟着改:补丁排在每次开机后的第一步,冷启动只剩检查。 实机(flow-a,1080p):带窗口开机,zygote 在开机动画期间重启,start 合计 21–26 秒(原来约 40 秒);已中招的实例开一次机就卸掉 Pixel 桌面并写盘,下次不再出现;新建一台(带执行桥)首次初始化后 Pixel 桌面不在、没有任务栏。 Refs ModAVD/ModAVD#220 Refs ModAVD/ModAVD#221
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
改了什么
earlyGuestFixes,要求 zygote 在跑、sys.boot_completed还不是 1),这时屏幕上还是开机动画;开机后的补丁步骤只看到已挂上。万一重启前开机刚好完成,照旧等系统界面回来再往下走。recheckHostIme)。package-restrictions.xml写盘(最多 20 秒);以后每次开机(接管运行中的实例除外)发现轻量桌面的实例上 Pixel 桌面又在,就再卸一次,已经中招的实例开一次机就好。测试
go vet ./...(含GOOS=linux的internal/emu)、go test ./...全过。新增early_test.go、early_windows_test.go,TestMountGuestFixes加了开机过程中的两种情况,新建进度的测试按新顺序改。start合计 26.2 / 22.3 秒,原来同一台约 40 秒;开机后只报"已挂上"。cmd package install-existing把 Pixel 桌面装回去再开机:报"重新卸载:已卸载并写盘",再下一次开机不再出现。Refs ModAVD/ModAVD#220
Refs ModAVD/ModAVD#221