MagiskOnWSALocal的2311版本构建失败的解决方案,对此文章的更新内容
问题表现
...
Fix MindTheGapps prop
fixing /tmp/wsa-build-yr8R6w2n9t_/system_root_merged/system/build.prop
fixing /tmp/wsa-build-yr8R6w2n9t_/system_root_merged/vendor/build.prop
fixing /tmp/wsa-build-yr8R6w2n9t_/system_root_merged/vendor/odm/etc/build.prop
done
Create system images
mk_image_umount: /tmp/wsa-build-yr8R6w2n9t_/system_root_merged/vendor /tmp/wsa-build-yr8R6w2n9t_/wsa/x64/vendor.img /tmp/wsa-build-yr8R6w2n9t_/upper/vendor ext4
ERROR: Not yet implemented
Build: an error has occurred, exit
Cleanup Work Directory
Cleanup Mount Directory
umount: /tmp/wsa-build-yr8R6w2n9t_/erofs/vendor unmounted
umount: /tmp/wsa-build-yr8R6w2n9t_/erofs/system_ext unmounted
umount: /tmp/wsa-build-yr8R6w2n9t_/erofs/product unmounted
umount: /tmp/wsa-build-yr8R6w2n9t_/erofs unmounted
umount: /tmp/wsa-build-yr8R6w2n9t_/system_root_merged/vendor (overlay) unmounted
umount: /tmp/wsa-build-yr8R6w2n9t_/system_root_merged/system_ext (overlay) unmounted
umount: /tmp/wsa-build-yr8R6w2n9t_/system_root_merged/product (overlay) unmounted
umount: /tmp/wsa-build-yr8R6w2n9t_/system_root_merged (overlay) unmounted
Cleanup Download Directory
问题原因及解决方案
这个问题似乎在2306的版本中已经出现了,官方更新到现在仍然没有解决这个bug。翻了几个issue,差不多就是was的系统镜像文件类型有问题,换一个sn-o-w大佬改好的build脚本就可以,或者直接使用这位大佬的fork。具体可以参见这个issue和这个issuecomment
还有一个小问题是,如果直接替换build脚本,kernelSU的root方案应该工作正常;但直接使用sn-o-w佬的fork,kernelSU的root方案会报错,不过遇到报错多试几次,好像也可以跑完,我自己总是在压缩文件那里断掉报错,之后好像是把压缩方法改成zip了就没问题了,不过最后输出的还是7z压缩包就是了。