bmax121 / APatch

The patching of Android kernel and Android system
GNU General Public License v3.0
3.48k stars 278 forks source link

模块打包img时错误 #460

Open Ai686Leo opened 1 month ago

Ai686Leo commented 1 month ago

Please check before submitting an issue/在提交 issue 前请检查

Version requirement/版本要求

Describe the bug/描述 bug

有时(是正常地修改)修改模块后重启系统崩溃,经过一天排查后发现: modules.img会时刻记录modules里的文件变化但并不会更改其大小,大小会一直维持在modules未更改前的文件大小总和

感谢您对项目的无偿维护

Reproduce method/复现方法

1.在一模块中添加b大小的文件a。(不通过更新模块的方法) 2重启

Expected behavior/预期行为

a被映射到文件夹,手机正常开机

Actual behaviour /实际行为

开机时手机崩溃,卡在第一或二屏,需进入第三方recovery删除modules.img

Screenshots/截图

No response

Logs/日志

No response

Device Name/设备名称

OnePlus11

OS Version/系统版本

Android 14

APatch Version/APatch 版本

10763

Kernel Version/内核版本

5.15.123-android13-8-00752-gbd7d926d6df1

KernelPatch Version/KernelPatch 版本

0.10.7

Additional context/其他信息

APatch_bugreport_2024-05-22_00_08.tar.gz