mywalkb / LSPosed_mod

My changes to LSPosed
GNU General Public License v3.0
3.19k stars 156 forks source link

Denylist to hide lsposed framework from specified apps #115

Open DJLeleX opened 3 months ago

DJLeleX commented 3 months ago

Is your feature request related to a problem?

Some app doesn't work when LSPosed is active (for example Supercell games), they crash on opening

[I don't know if they actively check for LSPosed, but somehow having LSPosed enabled makes them crash]

Describe the solution you'd like

Idk if this will solve the issue, but my idea is to have a "denylist" to hide completely the framework from selected apps.

Additional context

When the LSPosed module is disabled, the apps work just fine

pheynnx commented 3 months ago

Are you using the latest released build? Or the latest canary build from actions?

DJLeleX commented 3 months ago

Are you using the latest released build? Or the latest canary build from actions?

I was using latest [zygisk] release (non debug) and I also tried latest canary build from action [zygisk] release (non debug). The "issue" is still there.

If I need to provide logs or something, I will install the debug build.

But the issue should be not only on my end. If it is, I will reset my phone and try with a clean install and report back. But I read on xda other people having problem with supercell apps with LSPosed, so I don't think the issue is only on my device.

MillionsToOne commented 3 months ago

Can't you just denylist it in Magisk manager? Or in KernelSU manager if it has such feature.

DJLeleX commented 3 months ago

Can't you just denylist it in Magisk manager? Or in KernelSU manager if it has such feature.

Hi, I'm using KernelSU. In KernelSU you can set the umount modules option (per signle app) to restore the normal environnement to hide root and stuff from normal apps (and it is enabled by default on all apps). anyhow the problem is still present. even if I use the enforce denylist option in zygisknext or use shamiko or use zygisk assistant (see this zygisk assitant issue)

ViktorScaletta commented 3 months ago

Can't you just denylist it in Magisk manager? Or in KernelSU manager if it has such feature.

Hi, I'm using KernelSU. In KernelSU you can set the umount modules option (per signle app) to restore the normal environnement to hide root and stuff from normal apps (and it is enabled by default on all apps). anyhow the problem is still present. even if I use the enforce denylist option in zygisknext or use shamiko or use zygisk assistant (see this zygisk assitant issue)

Hello. I had the same problem with Supercell games. Fixed it by enabling "Enforce denylist" in zygisk next. But after that in kernelsu you have to change app profile by disabling umount for Google services (I did it for them, Google play, Google service framework and Google play protect service, but you can find out on your which ones exactly need to be excluded). If you won't disable umount, then you won't pass device integrity.

DJLeleX commented 3 months ago

Hello. I had the same problem with Supercell games. Fixed it by enabling "Enforce denylist" in zygisk next. But after that in kernelsu you have to change app profile by disabling umount for Google services (I did it for them, Google play, Google service framework and Google play protect service, but you can find out on your which ones exactly need to be excluded). If you won't disable umount, then you won't pass device integrity.

Hi. I already tried enabling enfore denylist in zygisknext and setting the right app profile, but it didn't solve the issue, even after multiple combinations and reboots. Thanks anyway.

ViktorScaletta commented 3 months ago

Hello. I had the same problem with Supercell games. Fixed it by enabling "Enforce denylist" in zygisk next. But after that in kernelsu you have to change app profile by disabling umount for Google services (I did it for them, Google play, Google service framework and Google play protect service, but you can find out on your which ones exactly need to be excluded). If you won't disable umount, then you won't pass device integrity.

Hi. I already tried enabling enfore denylist in zygisknext and setting the right app profile, but it didn't solve the issue, even after multiple combinations and reboots. Thanks anyway.

Did you reboot and reinstall problematic game after your actions?

DJLeleX commented 3 months ago

Hi. I already tried enabling enfore denylist in zygisknext and setting the right app profile, but it didn't solve the issue, even after multiple combinations and reboots. Thanks anyway.

Did you reboot and reinstall problematic game after your actions?

I deleted app data, should be enough (?) I will try again later re-installing the apps.

DJLeleX commented 2 months ago

Hi. I already tried enabling enfore denylist in zygisknext and setting the right app profile, but it didn't solve the issue, even after multiple combinations and reboots. Thanks anyway.

Did you reboot and reinstall problematic game after your actions?

I do confirm that it doesn't fix the "issue". Even deleting and installing again the apps. Even with a reboot in between the uninstallation and the re-installation. I tried multiple times, sadly.

ViktorScaletta commented 2 months ago

Hi. I already tried enabling enfore denylist in zygisknext and setting the right app profile, but it didn't solve the issue, even after multiple combinations and reboots. Thanks anyway.

Did you reboot and reinstall problematic game after your actions?

I do confirm that it doesn't fix the "issue". Even deleting and installing again the apps. Even with a reboot in between the uninstallation and the re-installation. I tried multiple times, sadly.

Did you make Google apps like this?Screenshot_20240705-001440_KernelSU.png

DJLeleX commented 2 months ago

Yes. I also tried disabling umount by default, and umont only supercell apps. No luck in either cases..

On Thu, 4 Jul 2024, 21:16 Viktor, @.***> wrote:

Hi. I already tried enabling enfore denylist in zygisknext and setting the right app profile, but it didn't solve the issue, even after multiple combinations and reboots. Thanks anyway.

Did you reboot and reinstall problematic game after your actions?

I do confirm that it doesn't fix the "issue". Even deleting and installing again the apps. Even with a reboot in between the uninstallation and the re-installation. I tried multiple times, sadly.

Did you make Google apps like this?Screenshot_20240705-001440_KernelSU.png (view on web) https://github.com/mywalkb/LSPosed_mod/assets/37725444/7c55e10e-9d90-4441-b319-94ae0c926575

— Reply to this email directly, view it on GitHub https://github.com/mywalkb/LSPosed_mod/issues/115#issuecomment-2209476445, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHBIDJYVJPPFRNFEQHFJMSDZKWNRNAVCNFSM6AAAAABJSFEKWKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMBZGQ3TMNBUGU . You are receiving this because you authored the thread.Message ID: @.***>

RevealedSoulEven commented 2 months ago

Same with me. Supercell games aren't working while using lsposed on kernelsu But it used to work on magisk

RevealedSoulEven commented 2 months ago

The thing is in ksu zygisknext module, if you turn on enforce denylist then the app (supercell game) will work but not the lsposed modules. What🤣

MillionsToOne commented 2 months ago

The thing is in ksu zygisknext module, if you turn on enforce denylist then the app (supercell game) will work but not the lsposed modules. What🤣

LSPosed requires root. If app is on denylist ofc it will not work.