[Discussion] Magisk - The Age of Zygisk.

Search This thread

gallegonovato

Senior Member
Feb 25, 2021
157
52
Good afternoon:

First of all I apologize for taking time to respond, but I was busy.

I put without problems the connection in Adaway's allowed. And Magisk seems to be working fine.

I'm still looking for the source that blocks it. But now that connection is in allowed

Best regards and thanks for your help and time :)
 
  • Like
Reactions: ipdev

Reator

Member
Oct 17, 2019
5
0
... Bit more Native Bridge Zygisk testing...

Santander:
View attachment 5898353


Singpass:
View attachment 5898373
Nb. Root detected (before adding to denylist w/ Shamiko) locked me out completely... After adding user can use app but gets this warning due to 'compromising' app(s) being detected:
View attachment 5898379
After configuring Hide My Applist LSPosed module for this app there are no more detections at all. 🙂


We Connect (VW)
View attachment 5898371


C6 Yellow:
View attachment 5898355
Digio:
View attachment 5898361


Revolut:
View attachment 5898435
(Denylist enforcement disabled 😉)


Citibank SG:
View attachment 5899325
Nb. Needed Hide My Applist configured in whitelist mode (system apps excepted) for this app... My blacklist wasn't sufficient...


BNA+:
View attachment 5899343
... I didn't need Hide My Applist at all for this one...
--------
... Please see my post above regarding this POC for official Magisk 27.0+...

🙃 PW
Can you help me with CItiBank TH?

I have Magisk 26100
HMA
MagiskHide (Module)
Shamiko
USNF

but this bank still detected.
 

Reator

Member
Oct 17, 2019
5
0
Did you read the comment at end of my post? PW
I'm sorry, which one?
Screenshot_2023-04-30-16-58-17-393_com.microsoft.emmx-edit.jpg


Or the Citi SG one? Cause I already try CitiSG (HMA in whitelist mode) but it still detected.
 

pndwal

Senior Member
I'm sorry, which one?View attachment 5900735

Or the Citi SG one? Cause I already try CitiSG (HMA in whitelist mode) but it still detected.
The last one... The 'post above' explains it's a proof-of-concept for Magisk 27.0+ in Alpha Magisk fork... Clearly you'd need that to try it, but better for most users to wait till refactoring project is complete and released in 27.0... 😬 PW
 

Darkmasterhk

Senior Member
Dec 28, 2012
372
180
Turning zygisk on causes my phone to stuck at the boot animation (Asus Zenfone 9), anyone an idea what to do? Magisk 26.1
 

Darkmasterhk

Senior Member
Dec 28, 2012
372
180
Do you have some modules installed and which ones?

Particularly, you should not have Ruru modules - Zygisk and Ruru are not compatible

Disable all modules and try again
Thanks, no I don't have any modules installed. I started from a clean flash, not even all my apps are installed.
Also it worked a few month ago, with an older version. Because it's a fresh install I even cleared data a couple of times, switched kernel, but still the same result. :/

A few month ago I switched from stock rom to a custom one and returned to stock yesterday. Now it doesn't work anymore.
If I remember right, version 26 brought some bigger changes, could it be related to them?
 

jons99

Senior Member
Nov 5, 2019
346
382
Thanks, no I don't have any modules installed. I started from a clean flash, not even all my apps are installed.
Also it worked a few month ago, with an older version. Because it's a fresh install I even cleared data a couple of times, switched kernel, but still the same result. :/

A few month ago I switched from stock rom to a custom one and returned to stock yesterday. Now it doesn't work anymore.
If I remember right, version 26 brought some bigger changes, could it be related to them?
works fine on my zf9 I'll tell you what you can do first flash magisk 25.2 in twrp then turn on zygisk reboot once and then update with direct install
 

pndwal

Senior Member
Thanks, no I don't have any modules installed. I started from a clean flash, not even all my apps are installed.
Also it worked a few month ago, with an older version. Because it's a fresh install I even cleared data a couple of times, switched kernel, but still the same result. :/

A few month ago I switched from stock rom to a custom one and returned to stock yesterday. Now it doesn't work anymore.
If I remember right, version 26 brought some bigger changes, could it be related to them?
When returning to stock I assume you clean installed (factory reset / data wipe)... Also, did you flash recovery or fastboot type ROM? ... And did you extract and patch boot image from current ROM? PW
 

Darkmasterhk

Senior Member
Dec 28, 2012
372
180
works fine on my zf9 I'll tell you what you can do first flash magisk 25.2 in twrp then turn on zygisk reboot once and then update with direct install
Hm maybe I try this, just finished setting up everything, afraid of having to wipe again
When returning to stock I assume you clean installed (factory reset / data wipe)... Also, did you flash recovery or fastboot type ROM? ... And did you extract and patch boot image from current ROM? PW
As mentioned, I wiped data / factory reset more than once by now.
It's a recovery type.
Yes, did patch it, else magisk shouldn't work at all anyway. Also tried using a custom kernel no difference. :/
 

pndwal

Senior Member
As mentioned, I wiped data / factory reset more than once by now.
It's a recovery type.
Fastboot is a more complete ROM generally... When something is messed up by custom rom, Fastboot is sometimes needed to restore all partitions...
Yes, did patch it, else magisk shouldn't work at all anyway. Also tried using a custom kernel no difference. :/
I meant are you sure it's boot.img from current ROM; eg if you took an OTA update you'd need to download new full ROM to get boot.img (or use TWRP backup dump of new boot.img)... 🙃 PW
 

mmbaknnba

New member
Dec 20, 2018
4
2
Hello, greetings.
Pardon any mistakes in my English.

I'm using Nord AC2003 (Global), OOS12, build F.18. Just want to share my Magisk's setup for apps detection:

1- Started with the latest official Magisk (26.1).
2- Zygisk + Enforce DenyList enabled.
3- Changed to Magisk Alpha (26101).
4- Randomized the Magisk Alpha app's name.

P/s: Use the Alpha at your own risk. Already tested the Magisk Delta, have some issues with my modules, specifically with font module, besides I'm not really a fan of the GUI. Official Magisk's GUI is better for me.
  1. Tested with Applist Detector, Momo, SafetyNet Test & TB Checker.
  2. My modules: Busybox, Kill GMS Font, Product Sans A12, Systemless Hosts, Systemless Host - Unified, Official USNF & VoEnabler.
  3. I'm from Malaysia. So basically my daily apps with pay function are Hotlink, Celcom, Yes, TnG EWallet, Shopee, Pos Malaysia & HSBC Malaysia. When I was on official Magisk 26.1, only TnG wasn't working. With Delta & Alpha, all apps are working flawlessly.
8 screenshots.
 
Last edited:
  • Like
Reactions: pndwal and zgfg

pndwal

Senior Member
Hello, greetings.
Pardon any mistakes in my English.

I'm using Nord AC2003 (Global), OOS12, build F.18. Just want to share my Magisk's setup for apps detection:

1- Started with the latest official Magisk (26.1).
2- Zygisk + Enforce DenyList enabled.
3- Changed to Magisk Alpha (26101).
4- Randomized the Magisk Alpha app's name.

P/s: Use the Alpha at your own risk. Already tested the Magisk Delta, have some issues with my modules, specifically with font module, besides I'm not really a fan of the GUI. Official Magisk's GUI is better for me.
  1. Tested with Applist Detector, Momo, SafetyNet Test & TB Checker.
  2. My modules: Busybox, Kill GMS Font, Product Sans A12, Systemless Hosts, Systemless Host - Unified, Official USNF & VoEnabler.
  3. I'm from Malaysia. So basically my daily apps with pay function are Hotlink, Celcom, Yes, TnG EWallet, Shopee, Pos Malaysia & HSBC Malaysia. When I was on official Magisk 26.1, only TnG wasn't working. With Delta & Alpha, all apps are working flawlessly.
8 screenshots.
Official Universal SafetyNet Fix is broken and most use @Displax's modded build, but I think you don't even need it for your Nord...

I'd be interested to know if you pass deviceIntegrity in Play Integrity API Checker if you just remove/disable USNF, add Google Play Services attestation/droidguard process com.google.android.gms.unstable and main process com.google.android.gms in denylist, install Shamiko module, deselect DenyList enforcement (ie. unenforced, so Shamiko can use it as hidelist) and reboot...

Also, installing LSPosed and configuring Hide My Applist XPosed module should remove Magisk stub detections...

🤠 PW
 
  • Like
Reactions: ipdev

m0han

Senior Member
Apr 30, 2012
5,780
2,880
OnePlus 11
.... install Shamiko module....
Shamiko update (v0.7.1) available
Shamiko
Version: 0.7.1 (166), 05/04/2023

Developer: LSPosed Developers

Specifications: Android 8.1+ | Magisk 26000+ or KernelSU 10818+

Description of work, functionality: An experimental module for hiding most external factors of third-party interference in the device (Magisk Root, Zygisk itself and its modules).

Usage
1. Activate Zygisk.
2. Install the module.
3. Customize the DenyList in Magisk settings (add any apps and processes you want to hide to it). Don't enable the "Activate DenyList" option!
4. Restart your device.

What's new:
Version: 0.7.1 (166)
Merge Magisk and KernelSU branch
 

Attachments

  • SnapMarkup_20234305_074305.png
    SnapMarkup_20234305_074305.png
    192.9 KB · Views: 80
  • Like
Reactions: pndwal and ipdev

mmbaknnba

New member
Dec 20, 2018
4
2
Official Universal SafetyNet Fix is broken and most use @Displax's modded build, but I think you don't even need it for your Nord...
I did the test again with both builds on 25.2, 26.1 & Alpha. Surprisingly, Basic/Device integrity & SafetyNet passed. Before this, I remembered I installed the modded build and failed, but I'm not sure on what Magisk's version. So, I decided to use the official one.
I'd be interested to know if you pass deviceIntegrity in Play Integrity API Checker if you just remove/disable USNF, add Google Play Services attestation/droidguard process com.google.android.gms.unstable and main process com.google.android.gms in denylist, install Shamiko module, deselect DenyList enforcement (ie. unenforced, so Shamiko can use it as hidelist) and reboot...
Failed. Any words on this?
Also, installing LSPosed and configuring Hide My Applist XPosed module should remove Magisk stub detections...
Thanks for this information. I didn't know how to configure HMA before, so I tried again, and success in hiding the stub. Was my setup correct? Btw, what is 'PM Intent Queries'?
 

pndwal

Senior Member
I did the test again with both builds on 25.2, 26.1 & Alpha. Surprisingly, Basic/Device integrity & SafetyNet passed. Before this, I remembered I installed the modded build and failed, but I'm not sure on what Magisk's version. So, I decided to use the official one.

Failed. Any words on this?
With USNF disabled (reboot), do you see BASIC as evaluationType in YASNAC?
Thanks for this information. I didn't know how to configure HMA before, so I tried again, and success in hiding the stub. Was my setup correct? Btw, what is 'PM Intent Queries'?
An app detection method used by some apps... Seems you're on an old version if seeing that option... I don't have it in 3.x HMA... PW
 

Top Liked Posts

  • 4
    Momo 4.4.1 detects everything because it is unable to be opened with HMA on - at least for me.

    Banking apps work so probably not an issue but how is everybody else getting Momo to open and not detect anything with Shamiko USNF etc?
    No, that's the known thing for Momo. But don't be bothered with Momo
    3
    Any apps successfully hiding USB debugging? Tried 2 now and a Magisk module all not working ...
    Long ago I tried some LSPosed modules but they didn't work for me

    Again, it's a question do you really have an app that complains because of USB debugging (disable and test) or it's all for the purposes of detectors like Momo (if so, then forget)
    1
    Screenshot_20230920-045545_LSPosed.jpg


    should i ENable or DISable
    'Xposed API call protection'
    ?

    what is it good for
    ?
    1
    That's the problem I've been looking to fix, as I run lsposed for some customisation stuff and face unlock. Did you manage to get it work while lsposed active or still need to have it disabled?
    Any configuration with LSposed enabled fails.

    Everything also loads ok/passes with a config that would use deny list,.unless LSposed is enabled

    USB debugging always enabled.
  • 8
    I'm happy to report back that I've now gotten all my bank apps to work!

    Long post ahead, warning...

    And the culprit turned out to be... a Magisk module that I was using, it was a simple module that installs a camera app as system app (ANXCamera). 🤦‍♂️ I'm so embarrassed and disappointed that I didn't try disabling all Magisk modules before this.

    Here's my minimal setup now:
    • Alpha Magisk - 7826d752-alpha (26301)
      • Hidden Magisk app
      • Uninstall root-related apps like HMA
    • Shamiko for alpha 0.7.3 (183)
      • Enforce DenyList OFF
    • Play Integrity Fix module 8.4 (only for McDonald's)
    You can use HMA to hide root-related app if you don't wanna use Magisk's own hiding and uninstalling other root apps (e.g. HMA, Momo, other LSposed apps).

    I'm surprised by how little is needed. Not even USNF/PI Fix, maybe cuz my banking apps don't check Play Integrity, as I'm now failing all 3 checks lol.

    Here are the banking apps I've tested:
    • HLB Connect (Hong Leong Connect)
    • RHB Mobile Banking
    • SC Mobile
    • CIMB Clicks
    • TnG eWallet (Touch n Go eWallet)
    Other apps:
    Microsoft Teams, Outlook and Intune Company Portal, McDonald's app

    The story:
    1. I started off fresh as suggested by @Catani. Uninstalled Magisk completely via the Magisk app. Booted up and some apps worked, some didn't.
    2. Installed Magisk through TWRP, booted up and most apps stopped working, as expected.
    3. Installed Shamiko for Alpha, and most apps started to work
    4. Tried hiding Magisk and uninstall HMA app. All apps are working now.
    5. Installed my other modules, and TnG stopped working, uninstalled some and narrowed the cause down to ANXCamera module.
    The fresh install may or may not have had an effect, I can't really tell conclusively. But it certainly helped me get to where I am now, by starting off with nothing and slowly adding fixes. Along the way here's some things I've noticed about those apps:
    • RHB and SC look for Magisk and HMA app. I tried running them and then installing HMA, one of the them immediately crashes and starts reporting root when I try to open it.
    • HLB needs Shamiko, and perhaps RHB and SC as well.
    • TnG doesn't need modules to work, just adding to DenyList is sufficient.
    • Microsoft apps seem to need Shamiko and look for root-related apps
    Thanks to all who have been part of this discussion: @Catani @Lord Sithek @spicediablo @zgfg, etc. and I hope my post can help others with similar banking apps.

    UPDATE 23/09/2023: McDonald's app required Play Integrity, so I installed PI Fix module for it to work. McDonald's app has nothing better to do than to detect root lol.
    6
    :)

    i appreciate all your efforts to help me
    thank you very much

    i have now version 7.8.6
    and WizzAir is NOT on the denylist
    and i get this message:
    View attachment 5993867

    after i configured HMA
    i get this message:
    View attachment 5993869

    iam already using HMA to hide other apps i have
    and it's working great

    if i put WizzAir in denylist or not
    the app itself is crashing from version 7.8.7 on

    back then (couple months ago) i hoped it will be fixed after an update
    4 updates later and it's still not working

    i can post a log of the crash
    no matter what version between 7.8.7 - 7.9.0 i use i will get the same fatal error in logcat

    Stop wasting your time on older version of of Wizz, you can't use it anymore.

    Instead spend your time understanding why 7.9.0 isn't working.

    I also tested Alpha 26201 + Shamiko 0.7.3, after putting the app in denylist, it will run fine without crashing.

    You MUST have Shamiko, and you must DISABLE enforce denylist. You must also rename your Magisk app.

    It's working for everyone else with the same setup. You have to figure out the difference between you and everybody else. BTW, I also have Play Integrity Fix.
    6
    After the latest update of Hong Leong banking app, it is detecting root even after adding to unmount list as well as hide my apps. Anybody knows the workaround?

    Thanks!
    Magisk Alpha 26301, HLB Connect in Deny List, Deny List not enforced, Play Integrity Fix 8.4, Shamiko 0.7.3(174), HLB connect using my blacklist template in HMA, USB debugging disabled (temporarily). (this is my default catch all setup while testing any new app). Works fine for me. I dont use the app. Also, you can get success by using any of the above options or all of it together (thats for you to test)

    @Catani @skia16 Same setup as above, the app works I think, I dont understand the language
    6
    Incidentally, it would be very helpful to this effort if other MIUI users could try to bypass Sparkasse banks S-PushTAN app's detection and report. See post above. 👍 PW
    After several attempts failing while on Magisk 26.2 stable/Magisk alpha (with LSposed zygisk, HMA) I got latest S-Push TAN (v4.2.3) now working with only latest
    Magisk 26.3 stable (hidden) and
    USNF v 2.40-Mod 1.2 by Displax.
    S-Push TAN on denylist, denylist enforced, zygisk activated.
    No LSposed ,no Shamiko,no HMA.

    Device: Xiaomi Mi9T (Redmi K20)
    Xiaomi.eu 12.5.2 (Android 11)

    Thanks to all the users testing and reporting especially @pndwal .
    5
    ^^ maybe it's another Member


    :(
    iam using it already since it's the "new" MagiskHide
    i'll post my DenyList ...


    :)
    okay nice, good to know


    :D
    i already took a lot of time to read not only this Thread but also a few others
    and i was in a try&error process in the last 3-4months

    this is my DenyList
    View attachment 6004609

    10days ago i posted this:


    everything is working fine and i never used Shamiko

    by interest i was trying all those Apps also with Shamiko and i found out that
    Sparkasse
    is the only App where i HAVE to force DenyList
    bcos when my DenyList is not enforced and Shamiko is working then Sparkasse won't open

    another reason why i wanted to try out Shamiko is that i'am using LSPosed and when Apps are in the DenyList and the DenyList is ENFORCED then those Apps won't get affected by any Module in LSPosed

    with Shamiko and enforce DenyList DISABLED those Apps still work except of Sparkasse

    Sparkasse IS working for me only when i ENABLE enforce DenyList no matter if Shamiko is installed or not

    but i would like to use Shamiko
    that's why i asked if this Sparkasse App is working for ya'll WITH Shamiko and enforce DenyList disabled
    (^^ ok i only asked pndwal)

    what am i missing?!

    :(
    Going back a few posts, "populate" means "put things in". @zgfg was reminding you that you had to put some app in the deny list to change the behavior of that app.

    The Deny List is maintained by Magisk. There used to be some Magisk function that acted according to the contents of the Deny List. That function may no longer exist.

    Shamiko is lazy. Or pragmatic. Instead of implementing a UI allowing you to make a Shamiko list, Shamiko coattails on Magisk: Shamiko can read the Magisk Deny List; Shamiko can tell if Magisk is Enforcing the Deny List. Shamiko will not do anything (at least, will not do anything with the contents of the Deny List) if Magisk is Enforcing the Deny List.

    So it is no surprise that you get no benefit from Shamiko unless you turn off Magisk's Enforce Deny List. Turning off Enforce Deny List may not be exactly the same as uninstalling Shamiko, but it comes close.
  • 141
    This is a discussion and help thread for the newer versions of Magisk.

    The main goal of this thread is to help users migrate to Magisk v24+
    • SafetyNet
      Basic integrity Pass
      CTS profile match Pass
    • Play Protect certification
      Device is certified

    Feel free to discuss or give links to other Magisk related issues.
    Fixes for gPay, banking apps and/or other apps and games that detect a 'compromised' Android system.
    Please try to restrain from discussing alternative (unofficial) Magisk builds that include changes that were removed or can not be included in the official Magisk builds. 🙃

    Please read John's State of Magisk (medium.com)

    Starting with the Magisk 23 (23010) canary builds.
    • MagiskHide is removed.
      MagiskHide masked the sensitive properties of the device to hide it from SafetyNet.
      Renaming (repackaging) the Magisk app is/was not part of MagiskHide.
      You still have the option to Hide the Magisk app under setting.​
    • Magisk Module online Repo is removed.
      The Magisk Module online Repo is still available and can be accessed outside of the Magisk app.​
    • Everything SafetyNet is removed.
      This includes the SafetyNet check that was incorporated into the Magisk app.​
    • Zygisk is introduced.
      Zygote + Magisk = Zygisk​
    • The Deny list replaces the Hide list.
      The Hide list (more or less) hid Magisk from the process on the list.
      The Deny list is similar but instead of hiding Magisk from the process, Magisk is unloaded so there is nothing to hide.​

    Starting with the Magisk 23 (23017) canary builds.
    • Magisk supports update channels per module.
      Each module can include it's own update link.​
    • Hide Magisk offline.
      You do not need internet connection to rename (repackage) the Magisk app.​

    What does this mean?
    Not much.
    It is just the next step in Magisk's development.
    Zygisk is a big step forward. ;)

    Even before these changes in Magisk, the xda family and the Android community have always been active and willing to share. :D

    Jump to Post


    This is post will be updated once Magisk v24 is released.
    72
    Magisk
    The Magic Mask for Android.

    Magisk Links:
    GitHub
    Release Notes

    Download Links:
    Stable and Beta releases.
    Canary
    • GitHub
      The notes.md file is the change log.
      The app-debug.apk is Magisk canary.
      Click on app-debug.apk and choose View Raw or click on the Download option.​

    Credits:
    topjohnwu
    All who contribute and support this project.
    62
    Modules

    MagiskHide Props Config
    This module allows you to add, change and adjust prop values systemlessly using Magisk.​

    MagiskHide Props Config Links:

    Download Links:

    Credits:
    Didgeridoohan
    All who contribute and support this project.


    Universal SafetyNet Fix
    It has been a year now since kdrag0n figured out how to 'trick' SafetyNet.
    This 'trick' has been implemented properly into quite a few custom roms.
    For custom roms that do not include it and/or stock roms, he turned it into a module.​

    Universal SafetyNet Fix Links:

    Download Links:

    Credits:
    kdrag0n
    All who contribute and support this project.
    58
    Apps

    Fox's Magisk Module Manager
    This app allows you to manage and install Magisk modules.
    Including from an online repo.​

    Fox's Magisk Module Manager Links:

    Download Links:

    Credits:
    Fox2Code
    All who contribute and support this project.

    Play Intergrity API Checker
    This app shows info about your device integrity as reported by Google Play Services.
    If any of this fails could mean your device is rooted or tampered in a way (for example you have an unlocked bootloader).​

    Development:

    Download Links:

    Credits:
    1nikolas
    All who contribute and support this project.

    YASNAC - Yet Another SafetyNet Attestation Checker
    YASNAC (short for Yet Another SafetyNet Attestation Checker) is an Android app that demonstrates SafetyNet Attestation API.​

    YASNAC Links:

    Download Links:

    Credits:
    RikkaW
    All who contribute and support this project.
    48
    Force Basic Attestation

    Newer devices are designed to support hardware attestation.
    Currently there is no way to hide the sensitive device properties when checked using hardware attestation.​

    To get around this, kdrag0n figured out how trick SafetyNet that the device does not support hardware attestation.
    SafetyNet will then fall back to check using basic attestation.

    Note:
    This method will work for devices that support hardware attestation and devices that do not.
    • Enable Zygisk.
    • Install the USNF module.
    • Reboot

    To keep posts short, the instructions are hid by spoiler tags.
    If you have not installed Magisk.
    Follow the installation link in the Magisk post.​

    Download the Universal SafetyNet Fix module.
    Download link is in the Modules post.​

    1. Enable Zygisk
      • Open the Magisk app.
      • Go to Settings.
      • Scroll down to the Magisk section.
      • Toggle Zygisk on.
      • Go back to the Magisk Home screen.
    2. Go to Modules.
      • Select Install from storage.
      • Navigate to the Universal SafetyNet Fix module zip file and select it.
    3. Reboot.

    The USNF module will adjust the sensitive props that are needed to pass SafetyNet.
    Depending on the device and system (ROM) configuration, you might need to adjust a few more.
    See the Adjust Prop values post.​