mywalkb / LSPosed_mod

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

Denylist to hide lsposed framework from specified apps #115

Open DJLeleX opened 5 months ago

DJLeleX commented 5 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

ericarthurc commented 5 months ago

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

DJLeleX commented 5 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 4 months ago

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

DJLeleX commented 4 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 4 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 4 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 4 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 4 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 4 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 4 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 4 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 4 months ago

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

RevealedSoulEven commented 4 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 4 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.

suryasarisa99 commented 2 months ago

Yes I also have same problem. Brawl Stars game crashes( it is supercell game ). The game only works If I turn on enforce denylist, then lsposed stops working.

AlawiYNWA commented 1 month ago

i fix it . go to magisk setting configure deny list then check the app off and then on this method fix my issue wish that help

RevealedSoulEven commented 1 month ago

But am using kernelsu bro

On Sun, 20 Oct, 2024, 8:18 pm AlawiYNWA, @.***> wrote:

i fix it . go to magisk setting configure deny list then check the app off and then on this method fix my issue wish that help

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

suryasarisa99 commented 1 month ago

i fix it . go to magisk setting configure deny list then check the app off and then on this method fix my issue wish that help

Is it worked for supercell game ?

RonnySay commented 2 weeks 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🤣

Any solution found yet? I have similar problem. The apps don't work. But when I turn on denylist they work normally, but now I can't use LSPosed coz it has no root access.

RonnySay commented 2 weeks ago

But am using kernelsu bro On Sun, 20 Oct, 2024, 8:18 pm AlawiYNWA, @.> wrote: i fix it . go to magisk setting configure deny list then check the app off and then on this method fix my issue wish that help — Reply to this email directly, view it on GitHub <#115 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALYHMXWXAVOH2YULSE5BZOLZ4O7FJAVCNFSM6AAAAABJSFEKWKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMRVGAZDGNRXHE . You are receiving this because you commented.Message ID: @.>

Did you ever find a solution? I have this exact same problem.