ColdWindScholar / TIK

开源的安卓全版本ROM处理工具
GNU General Public License v3.0
396 stars 54 forks source link

Ubuntu 22.10/ Deepin 20, 解包HyperOS 镜像出错。 #1

Closed toraidl closed 9 months ago

toraidl commented 10 months ago

分解

请将文件放于/home/bruce/TIK4/TI_umi_port根目录下!

[0]- 分解所有文件

[Img]文件

[1]- vendor.img

[2]- system_ext.img

[3]- product.img

[4]- odm.img

[5]- system.img

[6]- mi_ext.img

[00] 返回 [11] 循环解包

请输入对应序号:1 [11:17:48][img]解包vendor.img中... [11:17:48][erofs]解包vendor.img中... Extract: Starting...

erofs: failed to create directory: /home/bruce/TIK4/TI_umi_port/vendor/apex (No such file or directory) 大神你好, 在运行程序前, 所有文件都赋权777, 用sudo权限运行(也尝试过sudo -i,直接用su用户运行 )。 解包时会遇到这个报错。 不管是下载打包好的程序, 或者直接git clone 运行,都会卡在这里。 望指教,谢谢。
ColdWindScholar commented 10 months ago

Well,it seems extract.erofs is wrong

toraidl commented 10 months ago

Well,it seems extract.erofs is wrong

I doublt , I tried running extract.erofs seperatly in terminal, it worked like a charm