JingMatrix / LSPosed

LSPosed Framework resuscitated
https://lsposed.org
GNU General Public License v3.0
1.99k stars 57 forks source link

[Bug] LSPosed modules not showing in modules tab #21

Closed Lhn94 closed 1 month ago

Lhn94 commented 1 month ago

LSPosed_2024-09-04T21_36_35.372085.zip

Steps to reproduce/复现步骤

  1. Install Zygisk Lsposed
  2. Create work profile
  3. Install some apps and/or Lsposed modules into work profile.
  4. Wait a couple days/ reboots.

Expected behaviour/预期行为

Opening the modules tab should display all of my active and inactive modules.

Actual behaviour/实际行为

After step 3, main profile and work profile will appear inside Modules tabs, but after a couple days, it will be blank. This is the exact same issue with this report on the original Lsposed but it looks like it made a reappearance. I'm using crDroid (A14) but I've heard people on stock ROM also were affected.

If

Xposed Module List/Xposed 模块列表

N/A

Magisk Module List/Magisk 模块列表

Zygisk

LSPosed version/LSPosed 版本

1.10.0

Android version/Android 版本

crDroid A14

Magisk version/Magisk 版本

2700 / 2707

Riru version/Riru 版本

N/A

Version requirement/版本要求

Logs/日志

n/a

JingMatrix commented 1 month ago

It seems to be a problem related to only your OS, I may investigate when I have spare time. And if stock ROM users do encounter this problem, please encourage them to report here with some logs.

JingMatrix commented 1 month ago

While at the same time, if you are willing to help, please do try different builds from the master branch. Once you do find a version that works well for you, please inform me.

Lhn94 commented 1 month ago

Alright. thanks for the response.. It's a strange thing cuz others using the same device and OS flavor didn't encounter it, from my asking around. I've tried different branches from main repo and other more updated forks as well but no dice. I've since updated the main post to include a log after I encountered the issue again today if that would help at all.

DanGLES3 commented 1 month ago

I've recently had this exact issue on stock, and I figured that this bug (at least on my end) is caused by apps that aren't fully uninstalled. If any are present Lsposed will fail to display the module list.

To fix this, you can use something like the Appmanager app to filter by uninstalled and properly uninstall them

https://github.com/MuntashirAkon/AppManager

JingMatrix commented 1 month ago

@DanGLES3 Could you please give an instruction of how to not uninstall an app fully ? I would like to reproduce this issue stably. Thank you very much for sharing your experience.

DanGLES3 commented 1 month ago

@DanGLES3 Could you please give an instruction of how to not uninstall an app fully ? I would like to reproduce this issue stably. Thank you very much for sharing your experience.

On my case I had modded apps which needed core patch to install (due to broken digest), thing is if for whatever reason Lsposed stopped working, the system would then "remove" the apps but not actually uninstall them, so they'd be left in a limbo-like state (which I believe is similar to when you choose to keep data when uninstalling an app) which left Lsposed in this broken state of not showing modules until I fully removed the remnants of those apps

JingMatrix commented 1 month ago

@Lhn94 Could you please comfirm if the solution of @DanGLES3 works for you?

Lhn94 commented 1 month ago

I wiped my phone to do a clean install. I haven't reencountered the issue since (same OS, same everything) so I can't really tell.