yashsingh1/xdaforums huggingface dataset:
[Magisk] ffuser1:
Several of us in the pixel 3 xl forum are having issues with bootlooping after flashing the magisk patched boot image when updating to the December security update. Is this specific to the Pixel 3 XL or are others having this issue?

https://xdaforums.com/pixel-3-xl/help/december-update-rootable-t4013605
[Magisk] xda4ck:
I am also facing same issue after sideloading latest December Android 10 OTA patch image on og pixel xl, did anyone find any fix ?
[Magisk] SlavaZZ:
Mstar processor device

I'm trying to get root by kernel patch

I get an error

Magisk cannot unpack the kernel

- Device platform: arm64-v8a

- Copying image to cache

1566+0 records in

1566+0 records out

1603584 bytes transferred in 0.027 secs (59392000 bytes/sec)

1045+1 records in

1045+1 records out

1070668 bytes transferred in 0.014 secs (76476285 bytes/sec)

- Unpacking boot image

Parsing boot image: [/data/user/0/com.topjohnwu.magisk/install/boot.img]

! Unsupported/Unknown image format

! Installation failed
[Magisk] gilbertex:
synapse 0.46 option got error after install Magisk v20.1

but previous Magisk version all option work fine

please help :crying:
[Magisk] ilyr73:
Magisk detection with "Security Check"

UPDATE: Got it solved... It turned out that both app detected that the option "OEM Unlocking" was enabled in Developer Settings. Disabling it solved the issue...

My bank just released a new version of their app and mobile payment is no longer working... :( Contacted the application suport and they advised to check my issue with the following security checked application:

https://play.google.com/store/apps/details?id=com.hce.compliance.checker

I tried, but the app seems to fail with root checking... :(

Magisk 20.1 is installed.

Magisk Manager 7.4.0 is installed.

Both the bank's app and the Security Checker app is added to the Magisk Hide list and Magisk Manager hide is also enabled.

Any suggestions?
[Magisk] cnjax:
Smh read a few posts up this was just discussed
[Magisk] powerful111:
This may seem basic but I can't seem to launch modules I've installed (rebooted) by simply tapping on them (like in xposed) is there a different way of launching the modules that have an interface?

Thank you
[Magisk] andy356:
Every module will tell you how to use it if it has an interface. Some through shell, some may have a companion app.
[Magisk] powerful111:
Thank you
[Magisk] CounterC:
I'm running android 10 (cr Droid) on an old oneplus 2. When installing magisk modules (via magisk 20.1), after rebooting the magisk installation is gone and phone reboots to fastboot. Twrp is still there and can be booted after hard reset, but phone doesn't boot into rom. Have to flash everything again in order to get things running. I want to debug this with the help of this thread because I've found other people who also have this problem on other fora. Anyone an idea where to start? I'm willing to provide logs or other usable information...
[Magisk] casouzaj:
Using Magisk stable v20.0 in my Sony Xperia Z5 Compact phone, running a stock based custom ROM. My NFC radio is broken, but by adding S Check to the Magisk Hide tab, no root is detected here. By the way, Magisk Manager itself is hidden in its settings.
[Magisk] ktmom:
You may be installing modules that are not yet updated to work with current Magisk. If Magisk works without modules, but you get a bootloop when a module(s) is installed, then look in the module thread.

You can also search this thread for the adb command to disable modules, or read back a few pages for the discussion about using TWRP's file manager to remove things.
[Magisk] CounterC:
Yeah already read those helpful suggestions.

One example was Edxposed. Some people on Android 10 reported it running without problems still I couldn't because of what I wrote above. So it occurred strange to me. Another one was Viper4Android from this guide.

After the drivers are installed (step 11) my device reboots and goes straight into fastboot. Magisk installation gone...
[Magisk] ilyr73:
Thanks for the response, I already updated my original post with the solution. Turned out that my bank's crap application was also checking the settings "OEM Unlocking" in the Developer Options.... :(
[Magisk] powerful111:
FYI theres an xposed module that hides USB debugging from apps like that
[Magisk] DOMF:
I've attempted both of these methods, and fail in different ways - First off, every page I see searching for using adb to remove modules directs me to this link: https://didgeridoohan.com/magisk/Magisk#hn_Disablinguninstalling_modules_manually

which says if you don't have custom recovery, to run

adb wait-for-device shell magisk --remove-modules

The magisk binary apparently isn't in $PATH for the normal user:

~ adb wait-for-device shell magisk --remove-modules 08:04:37
* daemon not running; starting now at tcp:5037
* daemon started successfully
/system/bin/sh: magisk: inaccessible or not found
~ adb shell 08:04:41
crosshatch:/ $ magisk
/system/bin/sh: magisk: inaccessible or not found

So I attempted to boot twrp, using various version I have/downloaded:

~/android fastboot boot twrp.img 08:10:21
Sending 'boot.img' (65536 KB) OKAY [ 2.560s]
Booting FAILED (remote: 'Error verifying the received boot.img: Invalid Parameter')
fastboot: error: Command failed
~/android fastboot boot twrp-3.3.1-0-blueline.img 08:11:13
Sending 'boot.img' (65536 KB) OKAY [ 2.527s]
Booting FAILED (remote: 'Error verifying the received boot.img: Invalid Parameter')
fastboot: error: Command failed
~/android fastboot boot twrp-3.3.1-3-crosshatch.img 08:21:22
Sending 'boot.img' (65536 KB) OKAY [ 2.584s]
Booting FAILED (remote: 'Error verifying the received boot.img: Invalid Parameter')

Can someone please point me to the full path of the magisk binary on the device, or tell me what TWRP image I can use to boot a P3XL?
[Magisk] jcmm11:
Try /sbin/magisk

I suspect it won't work due to permissions, but won't hurt to try.

Also if you've previously given "shell" superuser permission

adb wait-for-device shell su -c magisk --remove-modules

Edit: also see https://xdaforums.com/pixel-3-xl/themes/magisk-modules-disabler-t3966867/post81091695
[Magisk] andrew_yousry:
already tried that many times, restoring magisk manager, unchecking banking app through magisk hide, restart then repeat same> hide magisk manager, and checking the banking app in magisk hide, restart.

safety net ctsProdile & basic integrity both true, but still application shows it can't be used on rooted device

hope [MENTION=4470081]topjohnwu[/MENTION] can help in this issue

please check the attached screenshots

https://www.dropbox.com/s/2ivfwnqh05skw83/Screenshot_20191204-210536.jpg?dl=0

https://www.dropbox.com/s/jd9qqr0ga4i4d49/Screenshot_20191204-210616.jpg?dl=0

everything was working till I installed busybox NDK, Vanced youtube and systemless hosts

---------- Post added at 07:19 PM ---------- Previous post was at 07:14 PM ----------

everything was working till I installed busybox NDK, Vanced youtube and systemless hosts

please check the attached screenshots

https://www.dropbox.com/s/2ivfwnqh05skw83/Screenshot_20191204-210536.jpg?dl=0

https://www.dropbox.com/s/jd9qqr0ga4i4d49/Screenshot_20191204-210616.jpg?dl=0

---------- Post added at 07:22 PM ---------- Previous post was at 07:19 PM ----------

Systemless Hosts, Busybox for Android NDK, YouTube Vanced - Magisk Repo

please check the attached screenshots

https://www.dropbox.com/s/2ivfwnqh05skw83/Screenshot_20191204-210536.jpg?dl=0

https://www.dropbox.com/s/jd9qqr0ga4i4d49/Screenshot_20191204-210616.jpg?dl=0
[Magisk] DOMF:
There's no su because there's no patched boot.img! ;)

/sbin is the first thing in $PATH but specifying the full path still doesn't work. /sbin shows as completely empty, I suspect because I'm not root.

I'll try the fastboot image from that post, thanks!

---------- Post added at 07:50 PM ---------- Previous post was at 07:40 PM ----------

*YATTA!*

That did it!
[Magisk] martyfender:
Did you also delete the banking apps data and cache after hiding?
[Magisk] ilyr73:
Have you tried disabling "OEM Unlocking"? In my case that solved the root detection issue...

---------- Post added at 06:25 AM ---------- Previous post was at 06:23 AM ----------

That sounds quite useful... Where that module can be found? It is not in the Magis Repo or in the Magisk Module collection and could not find it with a quick Google either...
[Magisk] Dicekido:
Sorry if I'm posting in the wrong thread, i downloaded magisk manager and went on to patch the boot.img, then i had the following log

Can somebody tell me how to get over this? I have oppo cph1909 and I don't have twrp
[Magisk] PoochyX:
Yeah stuff is defintely easier with Twrp

([emoji3590]09-09-18[emoji3590])
[Magisk] Dicekido:
Can somebody help?
[Magisk] lividhen99:
It would most likely be in the xposed repo. Just install riru core and edxposed from the magisk repo and install the edxposed manager app. I wish I knew what it was called though ??
[Magisk] F0rZ3r0:
I went ahead and wiped and installed a new ROM on my phone and reinstalled Magisk. My phone is a Moto G4 running Havoc-OS 2.9 on Android 9.

The superuser prompts aren't showing up at all, and the logs always read "su: request rejected (10239)".

This was working before I installed the new ROM, I don't get what's going on. I'm on Magisk Manager 7.4.0 and Magisk v20.1. Pretty confused at the problem.
[Magisk] Lownita:
Magisk manager app opens itself when an app asks for root permission after every reboot. Any way to fix that?
[Magisk] welder73:
Run Magisk first but don't close it...

Same here...
[Magisk] Be4st187:
I had this issue recently and it turned out to be the fault of Riru EdXposed YAHFA. Riru EdXposed Sandhook works fine, but YAHFA for some reason blocks Magisk popups for new app root requests while also stopping my terminal from loading. This is with the Canary build too. Not sure if its a Magisk issue or Riru EdXposed issue.

Scratch that. All tests lead me to believe Riru was the culprit, but it's just happened and Riru, nor EdXposed Manager are installed. Back to square one lol
[Magisk] stormy1777:
Thanks, [MENTION=9469639]Be4st187[/MENTION], in my case as soon as updated to Canary all worked (using YAHFA) all pop ups coming fine, this is Android 9 w/MIUI 10.2.5 ROM.

With your post/idea and [MENTION=4667597]Didgeridoohan[/MENTION], and 10's more reboots, confirmed that only these PASS safetynet:

1) Core-only, reboot

2) Disable ONLY EdXposed YAHFA and Sandhook drivers.. all else remains installed/active, reboot

Whereas all these FAIL safetynet (ctsprofile/basicintegrity):

1) If either EdXposed YAHFA OR Sandhook are ENABLED (not both)

2) EdXposed YAHFA/Sandhook ENABLED and toggle Magisk Hide on/off/reboot, or hide Manager/reboot, remove ALL other modules/reboot, none of these help.

in a nutshell, as soon as the EdXposed YAHFA OR Sandhook are Enabled, then safetynet fails. This is Android9 MIUI 10.2.5:

:/ # uname -r
4.9.112-perf+
:/ # getenforce
Enforcing

Is this something magisk needs/can "hide" or just some "bug" that both EdXposed modules are causing/hitting?
[Magisk] Be4st187:
You need to turn on 'App List Mode' in EdXposed settings, add GPay, Store, Play Services and Google Framework to the blacklist and reboot. Give it a few minutes, load Magisk and test. If it fails, close Magisk and test again. You should pass. That's how I got mine to pass anyway
[Magisk] stormy1777:
[MENTION=9469639]Be4st187[/MENTION]:

Ok, so, learning curve on my part :) Searched high and low, could not find any "App List Mode" in EdXposed settings, then one post mentioned it's blacklist, so, enabled that, rebooted, tried, to black list these 4:

- Google Play Services

- Google Play Store

- Google Services Framework

- Play Services Info

(I don't have Google Pay or "Google Framework", which are probably shorthands)

Rebooted, but no, still fails... Kept on reading, and all the names are mixing up, finally noticed that some call for "EdXposed Installer" and some "EdXposed Manager", not knowing if this is just historical or shorthand, searched, and found these are totally different, mostly in-compatible.. so, disabled the EdXposed Installer 2.2.5 that I was using, and installed EdXposed Manager v4.5.2: https://github.com/ElderDrivers/EdXposedManager/releases

Then in Settings the "App List Mode" appears, so enabled it for the above 4 items (not sure if all are needed, in the coming days will try to narrow down), reboot, and BOOM, after ~2 minutes, the test did PASS!!!

So! Thanks much for this tip, which put me on what seems to be more modern/capable Manager for EdXposed!!! Also, safetynet PASS, which is great!!!

Stormy.

I'm using: EdXposed Installer 2.2.5.
[Magisk] welder73:
It worked for me!

Tnx man :good:
[Magisk] vic97:
Anyone on lavender (redmi note 7) using AmulyaX LineageOS 16.0 ROM? It currently fails to pass safetynet even with the latest Magisk 20.1 installed.
[Magisk] pcrussell50:
Well searching is proving fruitless. Every case is completely different. TONS on custom ROMs, TONS not passing safety net. Not me. On either count.

Nexus 6

Last stock ROM (10/17)

Clean flashed

Unlocked bootloader

Installed latest TWRP

Rooted with Magisk

Magisk Hide “on”

Passes SafetyNet

Everything great right?

Wrong. Netflix does not appear in Play Store.

More interested in the right fix, but happy to pirate if I must

-Peter
[Magisk] ktmom:
Is play store certified (in play store settings)? If not, that's been discussed in this thread. Also, you can get the APK from app mirror. Replacement Netflix apks have also been discussed in this thread :)
[Magisk] guest4711:
Should be fixed in canary build.
[Magisk] cornroll:
Hey guys.

Oneplus 6 user here. I was on OOS 10.0 rooted running magisk 20.1.

But I accidentally updated my phone using system updater to 10.0.1.

Predictably I lost magisk / root. Also recovery replaced with oneplus recovery.

What would be the best method to remove magisk / root?

Thank you!
[Magisk] ktmom:
Are you really asking how to remove root?

If you're looking to re-root, if you have a working TWRP, you can Fastboot boot that then flash the Magisk zip. Or patch the current boot.img in Magisk manager and Fastboot flash that.
[Magisk] cornroll:
Thank you! And after I re-root what's the safest way to uninstall magisk?

I'm asking because previously I had a bad experience uninstalling magisk previously using manager which soft bricked my op6.
[Magisk] pcrussell50:
Thanks mate. Just enough to get me started and problem solved. :)

FWIW, I went into TWRP, reflashed the stock rom again and then reflashed magisk before rebooting and giving play store a change to de establish certification. Now all is good

-Peter
[Magisk] ktmom:
I would flash the uninstaller zip that matches the installed version. If that gives you trouble, look at the help page.

Looking in your device forum Q/A thread may also give you more specifics for your device.
[Magisk] PaulPizz:
I have a Lenovo Tab M8 running Android P with an unlocked bootloader. After i use manager to patch the stock boot.img, the magisk_manager.img is significantly smaller that the stock boot.img. It will not boot obviously. Any ideas why this is happening??
[Magisk] martyfender:
Yes, that is normal. The extra padding is removed. However, the fact that it does not boot is not normal. My boot.img is always smaller after patching.
[Magisk] seemebreakthis:
About this app "UBS Access"...

This app seems to be playing a cat and mouse game with Magisk. Before the latest update released 2 days ago, Magisk canary build had the upper hand (stable was a no go). And now even Magisk canary won't escape detection...

Hope John Wu will see this as a challenge and break its detection method asap !
[Magisk] stormy1777:
I was on stable Magisk 20.1 + Sudohide to hide youtube for Youtube Vanced, however, after switching to Magisk Canary build, switching to EdXposed Manager (instead of Installer) and enabling App List /block list in EdXposed for:

- Google Play Services

- Google Play Store

- Google Services Framework

- Play Services Info

to pass safetynet checks (as explained earlier in thread), now youtube appears as needing update in Play Store (play store appears as a certified device in settings).

Tried to clear all data for play store, reboot, but still it knows about youtube for some reason. Sudohide is enabled in both Magisk and EdXposed.. and those settings did not change, it's hidden there from:

- Google Play Services

- Google Play Store (originally was just this, but added all 4 now)

- Play Services Info

- Google Services Framework

Any ideas why sudohide would not work in this setup?
[Magisk] arktay:
I just updated my pixel 3 to the December patches without removing magisk modules before. I updated it with the official flash-all.bat removing -w so without wiping.

Now I can't install magisk. If I patch the boot.img and then try to flash it via fastboot flash boot it get stuck in bootloop. I already tried running adb shell magisk --remove-modules but nothing. Also tried with magisk canary

Any suggestions?
[Magisk] ktmom:
Help pages-Disabling/uninstalling modules manually
[Magisk] powerful111:
Sorry for the late reply...

It's called hide USB debug mode, u can download it from within Edxposed (similar to xposed) but to get Edxposed u need to download them in magisk

So in magisk search, download, activate & reboot:

Riru core

Riru Edxposed

See pics
[Magisk] wilsonhlacerda:
The point is that you are ordering EdXposed not to work on top of Play Store, that is what the black list does. Thus Sudohide will not be able to hide anything that is related to it. Then Play Store will see that an older version of YouTube (Vanced) is installed in your device.

For the EdXposed workaround, typically you do not need to have "Play Services Info" in the black list. Try without it and let only the other 3.
[Magisk] lividhen99:
Try the detach magisk module, and make sure to setup scheduling (I set it to about every hour) by running su -c detach -t
[Magisk] powerful111:
Install riru core & edxposed in magisk, activate then reboot. Now go to edxposed and search "hide USB debug"
[Magisk] wirat:
Question about /sbin/.core/mirror/ & /sbin/.magisk/mirror/

Hello,

Would someone please in lehmanns terms explain the purpose of the mirror folders?

Are they required?

Guessing you can't delete the folders?

Thank you,

D
[Magisk] jcmm11:
Yes they're required. No you can't delete them. (Well you can - just uninstall Magisk)

Keeping an explanation very simple - they're what enables Systemless changes. When you change something using a Magisk module the change is actually applied to the mirror folders, which is them overlayed on top of the "real" folders. So the system sees the files/folders in the mirror setup as the "real" items leaving the underlying actual items unchanged.

I oversimplified the explanation but it's close enough. I don't know why you'd want to delete them. They don't take up any actual space.
[Magisk] dcarvil:
Have you tried flashing the factory image to both slots? If that doesn't work, you may have to wipe the phone. I had the same problem with the December update, except I had to put the -w back in flash-all.bat to get out of the bootloop. I even had to run the wipe twice to get out of the loop. Once I did that, Magisk installed fine using stable 20.1 version.

Wiping is not too painful if you have Titanium Backup to restore the things Google Backup will not restore.
[Magisk] ilyr73:
Thanks, I tried, but it does not help with enabled "OEM Unlocking". Apparently the app does not care (or not just) about the USB debug mode. With the module activated if I enable "OEM Unlocking" root detection does not pass and it get through if I disable it...
[Magisk] matase:
hey guys,

I'm having an issue using uninstaller zip to get rid of magisk. I am trying to play some online gambling and the apps detects that I am rooted basically. I went ahead and tried flashing uninstaller zip in temporary booted TWRP, but I get an error failed "updater process ended with error 1, error installing zip file /sdcard/.....zip". any way to fix that? or am i doiung it wrong completely? there is no "uninstall" button in Magisk. thx
[Magisk] Wolfcity:
Before using the uninstaller, have you tried to add your games to the hide list and also hide Magisk Manager (settings - hide Magisk Manager)? Using these both methods works for me with online games.

In fact there is an uninstall button in MM, on the front page at the bottom below the links to patreon, PayPal and others.
[Magisk] stormy1777:
Thanks, so it sounds like at the moment it's a tradeoff, either black-list Play/Store derivatives (and pass SafetyNet), OR not black-list it (and get sudohide working - and fail SafetyNet & play store certified test).. For the moment, decided to fail the test, and keep vanced/sudohide working smoothly.. If need safetynet for few minutes, know how to get it :) :)

This sounds a bit out there.. maybe that's a way to get both worlds? (pass safetynet and have sudohide working, vanced, etc.).. for the moment choosing to wait with such things :) :)

Thanks.
[Magisk] matase:
I honestly haven't used magisk/root in like 2 years. I just want to uninstall it. However, i went into magisk manager and there is no uninstall button. There's Advanced settings, tap to start safety check, and paypal donations. There is also no hide magisk manager in settings.

In the manger, it says magisk is not installed and magisk manager is up to date. I think the casino app just doesn't like that the manager is installed.

I went in to download new magisk version and when i try to install it thru the manager, I get unsupported/unknown image format. installation failed.

any help is appreciated. I can try to hide the app if I can figure out how to install magisk. or how can I just remove it (i have no uninstall button).
[Magisk] DroidJP:
It sounds that device is not rooted but only have the manager installed. If that is the case. Just uninstall it like you would normally do with any other app in the app mqnqger, unless of course you have systemized magisk manager.

Apps that looks for magisk will assume you are rooted when in reality just removing it fixes it.

Anyways, that is what i noticed what apps looks for and flags it as "rooted device"

You may also want to flash back to the original image as another possibility it could be that boot or rom is patched which means the su is being flagged by the casino app but magisk manager is not dectecting it for some odd reason.
[Magisk] jcmm11:
I'm guessing you're running old Magisk versions, if any. Just to make sure you clean up any remnants you'll need 2 things.

1) get a copy of unsu by osm0sis: https://xdaforums.com/apps/supersu/2014-09-02-supersu-v2-05-t2868133/post63615067

2) get a copy of your stock boot image. Make sure it's a clean copy, not patched. Extract from a factory image is recommended.

Boot TWRP. Flash unsu. Flash the stock boot image. Reboot. Done.
[Magisk] wilsonhlacerda:
With the mentioned blacklist Sudohide does work, only not to what is blacklisted (what is your case with the pair Vanced / Play Store).

The solution that the other member suggested is an alternative, another approach to hide stuff to Play Store, a Magisk module built to that, that is not related to Xposed and thus Sudohide themselves.

By the way, this is a Magisk thread. I suggest you to use Xposed Section or Sudohide thread if more information is needed.
[Magisk] PoochyX:
Yeah xposed is important I just disable xposed module when I need to pass safetynet and then I just re-enable it...

([emoji3590]09-09-18[emoji3590])
[Magisk] jackson_c:
I'm having a problem with the latest version of magisk, 20.1. Magisk stops sending root requests for new apps. It only request authorization if I install magisk zip via recovery again, and the problem appears after a few minutes. Apps with root authorization work normally.

Redmi note 5, Android Pie, MIUI 11.
[Magisk] ktmom:
Try the canary channel. It's has the newest fixes.
[Magisk] martyfender:
It could be aggressive battery optimization killing the Magisk daemon. Try removing Magisk Manager from battery optimization and the latest Canary build as [MENTION=6617276]ktmom[/MENTION] stated.

https://dontkillmyapp.com/