bmax121 / APatch

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

AP modules #726

Open Ussr775 opened 1 month ago

Ussr775 commented 1 month ago

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

Version requirement/版本要求

Describe the bug/描述 bug

Installed modules are not saved after the second reboot of the device after installing the modules.

Reproduce method/复现方法

  1. Section "AP Modules".
  2. The button "install AP modules".
  3. Module selection.
  4. Installation of the modules.
  5. Restart the device.
  6. Section "AP Modules" (modules are installed and working).
  7. Restart the device.
  8. Section "AP Modules" (modules are missing).

Expected behavior/预期行为

The modules will be saved after the second reboot of the device and subsequent reboots will also be saved. Screenshot_20241019-082720_APatch

Actual behaviour /实际行为

The modules are missing after the second reboot. Screenshot_20241019-082850_APatch

Screenshots/截图

Screenshot_20241019-082524_APatch Screenshot_20241019-082559_Total Commander Screenshot_20241019-082604_Total Commander Screenshot_20241019-082720_APatch Screenshot_20241019-082740_Total Commander Screenshot_20241019-082745_Total Commander Screenshot_20241019-082850_APatch Screenshot_20241019-082902_Total Commander Screenshot_20241019-082914_Total Commander

Logs/日志

No response

Device Name/设备名称

Realme 9 Pro

OS Version/系统版本

LineageOS 21

APatch Version/APatch 版本

APatch_10763-193-g708c703_10956-release-signed

Kernel Version/内核版本

5.4.280-qgki-ge408f03a5c42 #1 Mon Oct 14 09:06:10 UTC 2024

KernelPatch Version/KernelPatch 版本

0.11.1

Additional context/其他信息

After installing the modules on the first reboot, there is no modules.img file in the /data/adb/ap folder, but there is a modules_update.img file. The modules.img and modules_update.img files are missing in the /data/adb/ap folder after the second reboot of the device and, accordingly, there are no installed modules.

wangxue415 commented 1 month ago

I encountered the same problem when I used version 10971.

bmax121 commented 1 month ago

@pomelohan 这个知道咋回事不

Ussr775 commented 1 month ago

APatch_10763-170-g535146d_10933-release-signed - this is the latest version of Apatch, which this bug does not have.

QQJemRun commented 1 month ago

i have the same trouble with 10971

QQJemRun commented 1 month ago

all of the modules disappeared after reboot 😭

ziddey commented 1 month ago

APatch_10763-170-g535146d_10933-release-signed - this is the latest version of Apatch, which this bug does not have.

sadly no luck here, or there's something else that's causing all my modules to get erased. Modules did survive one initial reboot, but after configuring pixelxpert and rebooting, all modules are gone again.

google-mirror commented 1 month ago

all of the modules disappeared after reboot 😭

expected behavior, it is a hidden feature

QQJemRun commented 1 month ago

all of the modules disappeared after reboot 😭

expected behavior, it is a hidden feature

but why do that ...

ziddey commented 1 month ago

APatch_10763-170-g535146d_10933-release-signed - this is the latest version of Apatch, which this bug does not have.

sadly no luck here, or there's something else that's causing all my modules to get erased. Modules did survive one initial reboot, but after configuring pixelxpert and rebooting, all modules are gone again.

ok, 10933, if I kill the com.android.systemui process, all modules will get erased on the next boot. Or if systemui "naturally" crashes, then all modules will go bye-bye...

swg0101 commented 1 month ago

Also same issue on 10976.

HpNoTiQ56 commented 1 month ago

Résolve for me on 10984

Ussr775 commented 1 month ago

Résolve for me on 10984

Hi, everything is working now, modules are installed and saved with two or more reboots.

joaoldias commented 1 month ago

When using module zygist detach, after applying changes in the module configurations (using the Open button), all modules will be gone in the next reboot. Can any one try and confirm the issue in the latest version? No issues using 10933

Ussr775 commented 1 month ago

When using module zygist detach, after applying changes in the module configurations (using the Open button), all modules will be gone in the next reboot. Can any one try and confirm the issue in the latest version? No issues using 10933

I had it happen on this version so from any module I installed. Starting with APatch_10763-214-gb843480_10977-release-signed, this problem has been fixed and many thanks to the developers for this!