LSPosed_mod icon indicating copy to clipboard operation
LSPosed_mod copied to clipboard

Denylist to hide lsposed framework from specified apps

Open DJLeleX opened this issue 1 year ago • 27 comments

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

DJLeleX avatar Jun 19 '24 14:06 DJLeleX

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

ericarthurc avatar Jun 19 '24 19:06 ericarthurc

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.

DJLeleX avatar Jun 20 '24 05:06 DJLeleX

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

MillionsToOne avatar Jun 27 '24 21:06 MillionsToOne

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)

DJLeleX avatar Jun 28 '24 10:06 DJLeleX

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.

ViktorScaletta avatar Jul 01 '24 20:07 ViktorScaletta

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.

DJLeleX avatar Jul 02 '24 06:07 DJLeleX

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?

ViktorScaletta avatar Jul 02 '24 06:07 ViktorScaletta

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 avatar Jul 02 '24 06:07 DJLeleX

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.

DJLeleX avatar Jul 04 '24 19:07 DJLeleX

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

ViktorScaletta avatar Jul 04 '24 19:07 ViktorScaletta

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: @.***>

DJLeleX avatar Jul 04 '24 19:07 DJLeleX

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

RevealedSoulEven avatar Jul 14 '24 02:07 RevealedSoulEven

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🤣

RevealedSoulEven avatar Jul 14 '24 03:07 RevealedSoulEven

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.

MillionsToOne avatar Jul 14 '24 10:07 MillionsToOne

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.

suryasarisa99 avatar Sep 09 '24 17:09 suryasarisa99

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

AlawiYNWA avatar Oct 20 '24 14:10 AlawiYNWA

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: @.***>

RevealedSoulEven avatar Oct 20 '24 14:10 RevealedSoulEven

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 ?

suryasarisa99 avatar Oct 20 '24 14:10 suryasarisa99

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 avatar Nov 03 '24 09:11 RonnySay

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.

RonnySay avatar Nov 03 '24 09:11 RonnySay

Update! I'm on Kernelsu A15

And I got bypass to this issue.

Install these two modules in kernelsu (zygisk need)

  • zygisk assistant
  • shamiko (by lsposed devs) (optional for just in case zygisk assistant missed something)

And most importantly, use HMAL XPosed Module (hide my app list) and use xposed to hide the root apps from your banking app or the supercell game. It works 100% in all apps till now for me.

Now you maybe thinking, the HMAL is a xposed module and the app will detect xposed, that's the trick. The HMAL module doesn't need you to select the app in it's scope, which do not hooks into the app and so its not detected. It is hooked to the system framework. And a combination of all these 3 tools helped me bypass all issues.

On Thu, 3 Apr, 2025, 12:17 am 0x, @.***> wrote:

I fixed this problem with flashing "NeoZygisk https://github.com/JingMatrix/NeoZygisk/actions/runs/13471669297" and "LSPosed-npm-v1.9.2-70 86-zygisk-release.zip https://t.me/rormzhstjxm/100?single".

The lsposed mod link I gave its compatible with Android 15 and its another lsposed fork like jingmatrix and Irena. you can check it on their telegram channel.


I wasn't not able to run some apps because of lsposed

when i enable enforce denylist on zygisk next i was able to run bank apps but Lsposed not work. ///// when enforce denylist is disabled im not able to run bank apps and some apps.

(im on KSU WITH A15)

— Reply to this email directly, view it on GitHub https://github.com/mywalkb/LSPosed_mod/issues/115#issuecomment-2773417463, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALYHMXU5TDMXITL6V22HTDL2XQWENAVCNFSM6AAAAABJSFEKWKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDONZTGQYTONBWGM . You are receiving this because you commented.Message ID: @.***> [image: 1NFERN0HACK]1NFERN0HACK left a comment (mywalkb/LSPosed_mod#115) https://github.com/mywalkb/LSPosed_mod/issues/115#issuecomment-2773417463

I fixed this problem with flashing "NeoZygisk https://github.com/JingMatrix/NeoZygisk/actions/runs/13471669297" and "LSPosed-npm-v1.9.2-70 86-zygisk-release.zip https://t.me/rormzhstjxm/100?single".

The lsposed mod link I gave its compatible with Android 15 and its another lsposed fork like jingmatrix and Irena. you can check it on their telegram channel.


I wasn't not able to run some apps because of lsposed

when i enable enforce denylist on zygisk next i was able to run bank apps but Lsposed not work. ///// when enforce denylist is disabled im not able to run bank apps and some apps.

(im on KSU WITH A15)

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

RevealedSoulEven avatar Apr 02 '25 18:04 RevealedSoulEven

hide the root apps

By the way, I didn't hide the root apps, I just created a whitelist with android system apps and some pure apps in it. And I choose them so that the apps get only the pure apps and other trashes are not to be selected everytime.

RevealedSoulEven avatar Apr 02 '25 18:04 RevealedSoulEven

@RevealedSoulEven is your enforce denylist turned off? or on and isnt apps detect root without enabling enforce denylist on zygisk next

1NFERN0HACK avatar Apr 09 '25 10:04 1NFERN0HACK

Use shamiko, zygisk assistant. And then HMAL lsposed module.

It won't get detected.

And yes I didn't touched enforce denylist in zygisk. My other lsposed hooks are working fine and the banking and other apps are not detecting it.

On Wed, 9 Apr, 2025, 3:32 pm 0x, @.***> wrote:

@RevealedSoulEven https://github.com/RevealedSoulEven is your enforce denylist turned off? or on and isnt apps detect root without enabling enforce denylist on zygisk next

— Reply to this email directly, view it on GitHub https://github.com/mywalkb/LSPosed_mod/issues/115#issuecomment-2789114823, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALYHMXRGOFST6JO4WH2ONZT2YTV33AVCNFSM6AAAAABJSFEKWKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDOOBZGEYTIOBSGM . You are receiving this because you were mentioned.Message ID: @.***> 1NFERN0HACK left a comment (mywalkb/LSPosed_mod#115) https://github.com/mywalkb/LSPosed_mod/issues/115#issuecomment-2789114823

@RevealedSoulEven https://github.com/RevealedSoulEven is your enforce denylist turned off? or on and isnt apps detect root without enabling enforce denylist on zygisk next

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

RevealedSoulEven avatar Apr 09 '25 10:04 RevealedSoulEven

@RevealedSoulEven could you please gimme your telegram need to ask you something about details.

1NFERN0HACK avatar Apr 09 '25 10:04 1NFERN0HACK

Check my profile.

On Wed, 9 Apr, 2025, 3:38 pm 0x, @.***> wrote:

@RevealedSoulEven https://github.com/RevealedSoulEven could you please gimme your telegram need to ask you something about details.

— Reply to this email directly, view it on GitHub https://github.com/mywalkb/LSPosed_mod/issues/115#issuecomment-2789133278, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALYHMXV5JNJ4KFBUB4W6EYT2YTWSFAVCNFSM6AAAAABJSFEKWKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDOOBZGEZTGMRXHA . You are receiving this because you were mentioned.Message ID: @.***> 1NFERN0HACK left a comment (mywalkb/LSPosed_mod#115) https://github.com/mywalkb/LSPosed_mod/issues/115#issuecomment-2789133278

@RevealedSoulEven https://github.com/RevealedSoulEven could you please gimme your telegram need to ask you something about details.

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

RevealedSoulEven avatar Apr 09 '25 10:04 RevealedSoulEven