bmax121 / APatch

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

Issues or not with .bind_mount_enable ? #763

Open VisionR1 opened 2 weeks ago

VisionR1 commented 2 weeks ago

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

Version requirement/版本要求

Describe the bug/描述 bug

In case someone have the same. Latest nightly build with feature .bind_mount_enable, have some issues, the modules not update, example, the PIFork when I create the script-only-mode and install it again from APatch, instead of script-only-mode, install the full version again. And module who remove or replace system apps, when install it the integrity failed, even the basic not pass, with PIF, even with TrickyStore. If disabled my module for remove&replace files system, the integrity work again. In Kitsune Mask I don't have problems with this specific feature.

Reproduce method/复现方法

  1. Update a module. example from PIFork full mode to script-only-mode.

  2. Install a module, who remove&replace system files.

Expected behavior/预期行为

  1. Install a module actually update.

  2. Not failed the integrity, even the basic.

Actual behaviour /实际行为

All the above.

Screenshots/截图

IMG_20241103_173923 cp: '/data/adb/modules/playintegrityfix/module.prop' and '/data/adb/modules/playintegrityfix/module.prop' are the same file.

This feature, is from Kitsune Mask. IMG_20241103_170806

Logs/日志

No response

Device Name/设备名称

Xiaomi Poco X3 NFC

OS Version/系统版本

11

APatch Version/APatch 版本

APatch_10763-236-g9b935ac/10999

Kernel Version/内核版本

4.14.180-perf-gae096ac9215c

KernelPatch Version/KernelPatch 版本

0.11.1

Additional context/其他信息

Nothing more.

VisionR1 commented 5 days ago

I found when I replace hosts in system/etc and remove apps from system/pri-apps the integrity failed, even the basic, but if I replace the bootanimation from system/media, the integrity all good.