yashsingh1/xdaforums huggingface dataset:
[Magisk] andrew2432:
Preroot succumbs to whichever method your rom creator utilized. This could be system, cf su, phhsu creates it's own xbin folder to help hide root eg. Systemless, or something the dev themselves focused on. The rom was probably/definitely not made to pass SN, use sc, play/spoof that gamefreak knockoff, only give root access. You need to remove that access to pass safety net. That's why I say do it yourself, then you know what you did and can find fixes
[Magisk] ss4rob:
Thanks for this - I'm trying to get Android Pay working and ran the Magisk uninstaller, but couldn't re-root, despite flashing boot.img and even system.img. Good luck!
[Magisk] Artim_96:
... You know that they won't work since they need Magisk to run?

Otherwise just Google the apks
[Magisk] edyny1:
Do you have a link for unsuhide?
[Magisk] :
Nothing useful posted.. removed myself
[Magisk] darkmage93:
Cool. Installed the app but no luck, it's not processing the sound at all. Any tips? I have attached a screenshot.
[Magisk] edyny1:
Yeah what module?
[Magisk] pndwal:
Yup, I said that, and there are definitely limitations on passive timing for Magisk Daemon to hide many processes w/ MagiskHide... I also said I don't know if Zygisk overcomes this... It appears it does as these devs are not dumb!

Haven't tried whitelist in Shamiko; please report any successes... 👍 PW
[Magisk] zgfg:
Sorry but 'good morning'. Changes are also written in the Changelog. Anyway, read the OP posts, also post #14 may help you
[Magisk] zgfg:
The game is changing. Now higher dimension of hiding the stuff :)
[Magisk] klemi71:
Could you please post a link?
[Magisk] zgfg:
Tested now Smali patcher, Secure screenshots, working in all combinations:

- Shamiko

- Enforce DenyList instead of Shamiko

- neither of them
[Magisk] pndwal:
https://t.me/c/1141551496/304789 👍 PW
[Magisk] LuisCarlosHK:
I tried with and without patch vbmeta in boot image. Both result in bootloops.

Phone: Oneplus 5 LineageOS 18.1
[Magisk] martyfender:
If one clicks on this link it pops up a very temporary dialog stating that it is a private group and that you must be a member, but no link is provided on how to join. Does anyone know have a link to join?

Thanks
[Magisk] pndwal:
Need to view group from this gateway:

https://t.me/RikkaUserGroup

Sorry, I'd forgotten... PW
[Magisk] klemi71:
Not accessible if you aren't member of the chat. I don't now chat name to search for and join. 🤷🏻‍♂️
[Magisk] J.Michael:
I have not studied zip files flashed in TWRP. I think there is a script in the zip file; the script describes what file goes where. I would expect you to be able to do these things from a command prompt.

Google "twrp-flashable zip without twrp". There are apps that claim to be able to "flash" the zips without TWRP. I have never used one of these apps.

My advice: Just live with the warning screen -- it goes away after a while.
[Magisk] kkphile:
Hello. Is there anyone know why my google play services in my deny list always unchecked itself automatically after reboot?
[Magisk] seacowx:
For incognito mode in chrome.. try go to chrome://flags and enabled the "Incognito Screenshot". Restart chrome( force stop) and re open. Taking screenshot works for me. Hope it helps
[Magisk] dohanin:
You do not need to check it if you already have USNF which will automatically unchecks it. Try search previous posts; there have been detailed explanations.
[Magisk] Soumy1234:
Out of curiosity, has anyone managed to run PUBG New State without enabling Enforce Denylist? I've got Shamiko installed and Magisk hidden but the game will only launch if Enforce Denylist is enabled for me.
[Magisk] m0han:
that simple? :D. but, need to have 'smali patcher for secure flag' module installed and enabled for getting screenshots in secure apps, i suppose.
[Magisk] Homeboy76:
:cool:
[Magisk] Stillhard:
Use this https://t.me/joinchat/BQ8k8EQKsYgVfUhC7HedIw
[Magisk] pndwal:
Latest Shamoko:

# Shamiko

こっっ…　これで勝ったと思うなよ―――!!​

### Introduction

Shamiko is a Zygisk module to hide Magisk root, Zygisk itself and Zygisk modules like riru hide.

Shamiko read the denylist from Magisk for simplicity but it requires denylist enforcement to be disabled first.

_Currently, system apps (with uid%100000=1000) cannot be hidden even it's in the denylist. This issue comes from Magisk._

### Usage

1. Install Shamiko and enable Zygisk and reboot

1. Configure denylist to add processes for hiding

1. *DO NOT* turn on denylist enforcement

#### Whitelist

- You can create an empty file `/data/adb/shamiko/whitelist` to turn on whitelist mode and it can be triggered without reboot

- Whitelist has significant performance and memory consumption issue, please use it only for testing

- Only apps that was previously granted root from Magisk can access root

- If you need to grant a new app root access, disable whitelist first

### Changelog

#### 0.2.0

1. Support font modules since Android S

1. Fix module's description

#### 0.3.0

1. Support whitelist (enable by creating an empty file `/data/adb/shamiko/whitelist`)

1. Always unshare (useful for old platforms and isolated processes in new platforms)

1. Request Magisk 23017+, which allows us to strip Java daemon and change denylist regardless of enforcement status

1. Temporarily disable showing status in module description (need to find a new way for it)

1. Support module update since Magisk 23017

#### 0.4.0

1. Add module files checksum

1. Bring status show back

1. Add running status file at `/data/adb/shamiko/.tmp/status`

👍 PW
[Magisk] zgfg:
Still pain in the ass to find - why she/they cannot fix update.json (to make it easy to Update from Magisk app), update.json points to the ancient Shamiko 0.3.0(72)
[Magisk] zgfg:
Finally, Shamiko 0.4.1(95) is released, update.json is fixed and you can Update now to 95 directly through Magisk app, Modules page/window - see the screenshots👍👍👍
[Magisk] meric57:
Hello zgfg, yes put days not grayed me I have message no connection available.

good ok
[Magisk] pndwal:
Latest

# Shamiko

こっっ…　これで勝ったと思うなよ―――!!​

### Introduction

Shamiko is a Zygisk module to hide Magisk root, Zygisk itself and Zygisk modules like riru hide.

Shamiko read the denylist from Magisk for simplicity but it requires denylist enforcement to be disabled first.

_Currently, system apps (with uid%100000=1000) cannot be hidden even it's in the denylist. This issue comes from Magisk._

### Usage

1. Install Shamiko and enable Zygisk and reboot

1. Configure denylist to add processes for hiding

1. *DO NOT* turn on denylist enforcement

#### Whitelist

- You can create an empty file `/data/adb/shamiko/whitelist` to turn on whitelist mode and it can be triggered without reboot

- Whitelist has significant performance and memory consumption issue, please use it only for testing

- Only apps that was previously granted root from Magisk can access root

- If you need to grant a new app root access, disable whitelist first

### Changelog

#### 0.2.0

1. Support font modules since Android S

1. Fix module's description

#### 0.3.0

1. Support whitelist (enable by creating an empty file `/data/adb/shamiko/whitelist`)

1. Always unshare (useful for old platforms and isolated processes in new platforms)

1. Request Magisk 23017+, which allows us to strip Java daemon and change denylist regardless of enforcement status

1. Temporarily disable showing status in module description (need to find a new way for it)

1. Support module update since Magisk 23017

#### 0.4.0

1. Add module files checksum

1. Bring status show back

1. Add running status file at `/data/adb/shamiko/.tmp/status`

### 0.4.1

1. Add more hide mechanisms

👍 PW
[Magisk] pndwal:
vvb2060 now contributing to Shamiko.

Proper release page:

https://github.com/LSPosed/LSPosed.github.io/releases

Contributors 3

yujincheng08 LoveSy

Dr-TSNG Nullptr

vvb2060 南宫雪珊 (Nangong Xueshan)

🤠 PW
[Magisk] LarrxX:
I have a Oneplus 9 with Magisk 24.1 with Shamiko 0.4.1(95) and USF 2.2.1 installed.

Safety Net passes, momo is happy, an still my banking app detects root.

It's the French bank CMB app if it helps (oddly the separate NFC payments app does not detect root)

I tried uninstalling the app, reboot, install, add to Deny List, reboot (enforce deny list is disabled as per Shamiko instructions). No success.

Any insight is appreciated.

And if you need more data I'd be happy to provide.

Thank you!
[Magisk] dohanin:
is MagiskDetector all good too? you may like to add the initrchider module if MagiskDetector can detect init.rc modified.
[Magisk] LarrxX:
Just installed initrchider and Magisk Detector is happy.

The app still isn't working after a clean reinstall.
[Magisk] pndwal:
Hidden the Magisk app? PlayProtect showing Device is certified? ... Clear app data for every new test... PW
[Magisk] dohanin:
My last guess is to disable your app (not just hiding it). I have a banking app which would detect root if magisk (even hidden with a different package name) is enabled. You can just any root apps or shell command to disable the magisk app, and try again.
[Magisk] LarrxX:
Yes, yes, and I do a fresh reinstall for every test.

I'd like to try and avoid having to do this if I can. If I forget to do that before launching the app, it deregisters my phone and I have to go through the registration process all over again. It's a hassle.

But if I have no choice, guess I'll have to bite the bullet. I'll give it a try anyway and see. Just need to google how to disable Magisk.
[Magisk] iw2ngg:
Hi. I recently downgraded Magisk from V24.1 to V23 (I need magisk hide, as long as it continues to work... ).

Everything works well (SafetyNet test passes and so on) except the Magisk-app, itself, hiding function.

When I try to hide the app...

The empty proxy app with random package is created as expected but it dies without opening manager and the real "Manager" still remains in the app drawer.

Now I have to uninstall the magisk-app everytime I need to use some apps that detects it and, later, reinstall it again (fortunatelly settings are kept).

Before the said upgrade-downgrade the magisk-app hide worked well.

I already:

- completelly uninstalled and reinstalled magisk from a clean boot.img (cleaning the cache)

- tested with selinux in permissive mode

- tested with google play protection disabled.

Anybody can give some help ?

Thanks

Nexus 6p

Lineage OS 15.1
[Magisk] J.Michael:
@pndwal Any idea why the Shamiko doc you post shows all list items as "1."?
[Magisk] J.Michael:
He didn't say disable Magisk, he said disable Magisk Manager app. Just uninstall Magisk Manager app, and then do all the rebooting, cache clearing (especially bank app cache and data). Then try again.

Knowing whether that works for you might inspire someone to come up with a more convenient way to deal with the problem.
[Magisk] LarrxX:
Simply uninstalling the manager doesn't work.

When I reboot I still get the Magisk stub though, and if I reinstall it, all my settings are restore (even if I uninstall after clearing app data).

So I guess Magisk is not completely disabled that way. How should I go about it?

Just for more information : everything was working perfectly with Magisk Hide in v23. If all else fails I think I will just downgrade and stay there as long as it keeps working...
[Magisk] hocum:
Hey I have a problem after the last update, the phone stuck during booting.

Phone - Samsung S6, LinageOs 14.1, root Magisk 24.1

This is what happened to me:

- I updated to the latest version of Magisk 24.1 - ok

- reboot - ok

- phone works !

- I enabled masking + Zygote

- restart

- phone stuck on boot

- boot to TWRP - ok

- I uninstalled Magisk ( adb + uninstall.zip)

- phone still stuck on boot

Is it possible to check in some log what crashed?

And restore phone to work without data loss and os reisntation.
[Magisk] alexthegreat.cad:
When I try to patch the AP file there is an error and it says: "Process error installation failed" , both canary and magisk 24.1 are used in the process

phone info:

android 12, one ui 4.0 (firmware downloaded and flashed 12 hrs ago on my s21 phone)

s21 5g (sm-g991b/ds)

AP filename that iam trying to patch: AP_G991BXXU4BULF_G991BXXU4BULF_SCL23365054_VCL23364085_MCL23373251_SQB47608375_VQB47608374_MQB47608349_REV01_user_low_ship_MULTI_CERT_meta_OS12.tar.md5

see screenshot, please help. thank you.
[Magisk] pndwal:
Dev used some kind of RTF item (list) numbering format and converted to simple txt for readme.md?... Just a guess. It was like that in 0.1.1...

NB. You can open any module zip and extract / open readme.md yourself. 😛 PW
[Magisk] asheroto:
So... I've got Google Pay working where it doesn't detect root, but my bank app still detects root.

I have the latest version of Magisk installed. I have the Universal Safety Net Fix installed with Zygote enabled. I have Magisk hidden as "Mgisk".... tried freezing it with Lucky Patcher, but the bank app still detects root.... Cleared the cache and even reinstalled. Any ideas?
[Magisk] Stillhard:
There's a thing called 'guide'
[Magisk] pndwal:
So do Devs use this for embedded readme.md etc?...

Gotta love GitHub's Octocat example there though! ...

🥰 PW
[Magisk] jettlocak:
from kat hahaha
[Magisk] zipalign:
hi there, came posting here after looking for someone with my same weird behavior of magisk hiding itself.

long story short: have magisk 23.0 installed and 100% working. when I try to go to magisk manager > settings > Hide the Magisk app, I select a label for fake app with random android ID.

magisk successfully creates the app with default android icon on launcher,, but the original one - com.topjohnmwu.magisk - is still there, so banking apps still detect my root privileges.

furthermore, if I try to open the random ID app, magisk doesn't start and launcher freezes.

anyone with this same issue?
[Magisk] iw2ngg:
Hi. The same happens here.

I wrote this:

https://xdaforums.com/t/magisk-general-support-discussion.3432382/post-86346019
[Magisk] szazs89:
Same for me. I have a version 22 zip too, which hides itself as expected. But it doesn't pass safetynet checks. It is a pity, that from the app it can be upgraded to version 24 only. I have tried to install version 23 apk beside, but it has just disappeared after the install process.
[Magisk] LarrxX:
Having the exact same problem after downgrading
[Magisk] LarrxX:
OK so, I'm really at my wit's end here, don't understand what's happening anymore.

I have 2 banking apps for the same bank (one for managing my account and stuff, the other for NFC and virtual payments).

In all below cases, apps cleanly reinstalled, hidden, reboot before running.

Latest app updates were in December, so no new versions of theses apps during my tests.

SafetYnet passed, Momo and MagiskDetector say all is OK.

Using MagiskHide with Magisk 23:

Both apps work fine, don't detect root.

Upgrade to Magisk 24.1, Zygisk, Hidden Magisk app:

Install Shamiko and USF

Managing app KO

Payments app OK

Install TWRP for quick downgrade.

Downgrade to Magisk 23:

Unable to hide Magisk (but was working fine previously without hiding)

Both apps KO

Reupgrade to Magisk 24.1, Zygisk, Hidden Magisk app:

Install Shamiko and USF

Both apps KO

Could it be because of TWRP? (I deleted the TWRP folder just in case).

Could it be because there's something not clean about the downgrade/upgrade process?

I really really want to avoid wiping my phone. So if anybody has any idea, anything I can try, I'm open to suggestions.
[Magisk] szazs89:
Maybe the apps' cache, data should be wiped, too? Haven't you got a full backup? Have you tried to reinstall the two apps?
[Magisk] LarrxX:
I always uninstall the apps, reboot, fiddle with Magisk, reboot, reinstall the apps, reboot, change Magisk settings (magisk hide or deny list), reboot, test the apps.

And no, don't have a full backup unfortunately 😢

Wondering if TWRP has anything to do with it. But I don't see how...
[Magisk] zxxz0x0:
i have same problem , hope that will soon be corrected
[Magisk] Help The Peace:
Hey guys,

Recently I tried Shamiko for the first time in hopes that it would let me pass SafetyNet. But it didn't work. Today, I flashed the newest build 0.4.1. But it still doesn't seem to pass SafetyNet. When I check the Momo app, however, I get this new status:

Additionally, the Magisk module shows "Shamiko is working in blacklist mouse".

Did I do everything right?

Any help is greatly appreciated!
[Magisk] pndwal:
Yup, but Shamiko won't help pass Safety net; it does advanced hiding for bank apps etc checking more than Safety net API...

You should pass fine w/ just Zygisk-USNF if on stock certified ROM but likely need MagiskHide Props Config to spoof certified fingerprint if running custom or China region ROM... If still not passing, try disabling all other modules; some break Safety net.

Also, do you actually have real failure in a SafetyNet checker, or Just 'API' error etc?

Other Pixel 4XL users may have device specific advice... 🤠 PW
[Magisk] Help The Peace:
Edit: I know it now.

What exactly is Zygisk-USNF? Is there a difference between that and the default Zygisk in Magisk?
[Magisk] Help The Peace:
Oof, ofc it's Universal SafetyNetFix 🙈
[Magisk] martyfender:
Do you have com.google.android.gms.unstable added to the deny list?
[Magisk] Help The Peace:
No. But as @pndwal said it's not meant to pass SafetyNet already. Maybe in future versions. But currently, it seemingly doesn't support that feature. I'll use Zygisk-USNF for the time being :)
[Magisk] martyfender:
Yes, I just noticed that I no longer need it added to the deny list to pass safetynet. In previous versions of Magisk alpha and maybe shamiko, I did have to do this. My devices are on Android 9. safetynet passed with YASNAC, but there is now an error with safetynet attest: safetynet request: success response signature validation : error.
[Magisk] pndwal:
Did you try changing version with Magisk App hidden? ... This is known to fail / result in conflicting dual apps often; Magisk won't work properly with two...

Try uninstalling original app (with custom name, 'settings' or other) or both apps from device settings, Apps.

Next, if you left new app and it still doesn't work, try uninstalling that too, then simply rebooting may work to restore app as Magisk Daemon reinstates stub on reboot if app is missing; This will result in a very small app with very large data file whether you hide it or not, and I've noticed issues with this method in the past.

I suggest that rather than rebooting, you download Magisk APK corresponding with installed version and install it normally; this will result in normal large app size / small data unless you then choose Hide the Magisk app which creates a very small 'hidden' app w/ large data file for the app code...

Let us know results. 😜 PW
[Magisk] iw2ngg:
As I said: I already uninstalled everything (all magisk modules, app & proxy instances, and also boot.img patches: "complete uninstall" procedure), cleaned the caches, and, after then, with Magisk v23, restarted entire process from an untouched, boot.img, as new.

And nothing... After downgrade hiding process has stopped working.
[Magisk] pndwal:
Yes, pre Zy-USNF we did; This commit explains the change:

magisk: Remove Play Services from DenyList …

The Zygisk module will never load if GMS is in the DenyList. Instead, we have the module force-enable DenyList unmounting after forking.

kdrag0n committed on 31 Oct 2021

🙂 PW
[Magisk] pndwal:
What is app size and user data size for your working app ('manager')?

Did you have 23.0 app installed when you first booted with patched.boot image? PW
[Magisk] Help The Peace:
I thought it was supposed to be able to pass SafetyNet one day, though? Won't it become the Zygisk-USNF successor at some point?
[Magisk] iw2ngg:
App 16.06 Mb

User data 328 Kb

Cache 7.02 Mb

Total 23.41Mb

Tried with and without; when without: after boot it creates the stub to install the real app, as you said.

But, also in that case, the hiding doesn' t work.
[Magisk] pndwal:
Maybe... I haven't heard that news however. PW
[Magisk] pndwal:
So that's as should be... I'm at a loss. PW
[Magisk] pndwal:
LSPosed have slated 2/2 for official Public Zy-LSPosed and Zy-Shamiko releases.

https://t.me/LSPosed/165

👀 PW
[Magisk] DiamondJohn:
Just an FYI.

I try to keep up with this thread, but fail...

I remember MANY questions regarding attempts to pass safety net and getting banking apps to work. I never before needed banking on my device, so have not bothered passing safety net; I fail on a Pixel 4A running the last A11 with Magisk 23.1, and no attempts/methods to pass.

Anyway, I recently was pushed to use online banking on a mobile device, so not expecting it to work, I downloaded my Banks banking app (its owned by one of the "Big Four" in Aus and is a very well recognised brand here, not a "ma & pa" organisation https://play.google.com/store/apps/details?id=org.stgeorge.bank). It loaded, made no fuss about root, and I could log in and view all my accounts! (I didn't test transferring or paying)

And now to uninstall it! they should not trust/allow my rooted device, as I dont! I dont bank on my device(s), as I fully EXPECT to one day physically lose the device, as I have done before with other devices.
[Magisk] PaY87:
Hi together. I installed Shamiko from https://github.com/LSPosed/LSPosed.github.io/releases .

Its enabled in Magisk together with USF. Deny list is configured. Enforce disabled. Safetynet pass is OK.

Some banking apps still complain about root. Any way to make them happy too?
[Magisk] iw2ngg:
Regarding the not working hide of the Magisk-app ... I found this in the logcat ("stkbp.qwyhwsy" is the random generated package):

---

ActivityManager: Start proc 19729:stkbp.qwyhwsy/u0aXXX for activity stkbp.qwyhwsy/e.s

ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] pkg=stkbp.qwyhwsy cmp=stkbp.qwyhwsy/com.topjohnwu.magisk.core.SplashActivity (has extras)} from uid 10XXX

AndroidRuntime: Process: stkbp.qwyhwsy, PID: 19729

AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{stkbp.qwyhwsy/e.s}: android.content.ActivityNotFoundException: Unable to find explicit activity class {stkbp.qwyhwsy/com.topjohnwu.magisk.core.SplashActivity}; have you declared this activity in your AndroidManifest.xml?

AndroidRuntime: Caused by: android.content.ActivityNotFoundException: Unable to find explicit activity class {stkbp.qwyhwsy/com.topjohnwu.magisk.core.SplashActivity}; have you declared this activity in your AndroidManifest.xml?

ActivityManager: Process stkbp.qwyhwsy (pid 19729) has died: prcp TOP

---

It helps ?
[Magisk] szazs89:
Some further weird things using Samsung's stock ROM:

* having v23 would be OK if it could hide itself (when I removed it completely, and added the zip from TWRP again, the required app installation after reboot hung at the very end... however, closing the window and opening the seemed to be everything OK)

* now, I have tried to upgrade to 24.1 from the Magisk app...

* the installation process is waiting at the end for a while but finally it says install successful...

* but opening it doesn't show any Magisk (Installed: N/A, Zygisk: No), no Superuser tab, neither Modules tab (showing them gray), and the Settings shows limited options, no Zygisk enabling (Themes, Language, Update Channel, DNS over HTTPS, Check Updates, Download path - that's all) and the reboot options does not work either...

* trying to reboot with power button... nothing changed (shows no Magisk, grayed SuperUser and Modules)...

* the apps with previously granted root access seem to work,

* except the apps which are sensitives to root access and would need MagiskHide, etc.

So, how to clean install Magisk v24.1 near a STOCK ROM? (I have also tried once to install its zip from recovery, and after the reboot the app as the stub suggested, but again no Magisk/Zygisk showed in the app, no Superuser, no Modules, no option for enabling Zygisk... and maybe the apps requiring root access did not work either).
[Magisk] szazs89:
I tried also to Install Magisk from the app, but the direct Install fails with "Unable to check signature", and patching requires some kind of img file or odin file...