yashsingh1/xdaforums huggingface dataset:
[Magisk] goRt:
[MENTION=4470081]topjohnwu[/MENTION] I have a Sony xperia z5 running the latest 7.0 376. I can flash magisk v11.1 successfully updating the kernel and pass safetynet.

However TWRP access is then lost (just sit on the boot logo requiring a hard reset), I am able to flash / boot from usb without issue.

What diagnostic do you require to add Sony support - I have lots of time available for diagnostic effort / testing.

Thanks for your excellent work.
[Magisk] Artim_96:
The problem is not f2fs, but Lenovo's bad implementation of it at least in the Moto Z (play)'s kernel. A custom kernel with the fix will let systemless mods run there too

---------- Post added at 09:30 AM ---------- Previous post was at 09:26 AM ----------

He needs a method to handle the elf format Sony uses for the boot.img.

Some time ago someone posted something that could help but I don't know if topjohnwu was already able to look into it if it can handle what he needs it to do.

So if that could actually work, he basically would just be able to blindly implement it. Then he would need some testers who could try it out.

But I'm sure once he found something that could work he will try it out and release a test build
[Magisk] tag68:
No it's not from Lenovo. The error is in all Android f2fs drivers. The only devices where it is already fixed are the OnePlus...OPO3? iirc.

The error is that if you do ramdisk like /su or /Magisk, it gets created but does not work properly because the loopback device is broken.

Workaround could be to

1. Use some container on data partition which has a file system other than f2fs for that mount ramdisk

2. Without bind ramdisk anything access /data not using loopback device (am not sure if that is feasible)

3. Use another partition like /cache which is not using f2fs

Then MagiskSU could work. Or we just wait that loopback device on f2fs gets fixed - or use a kernel that fixes it.

I'm not sure how phh superuser works on the data partition formatted f2fs on Moto Z Play. It works. The topjohnwu r2 version didn't.
[Magisk] Artim_96:
... Just make a module that mounts the zip to /system/media. At least for me it's working without any problems. I don't even had to update the module to use a newer version of the template yet.
[Magisk] Jeric0:
Hi guys, I need help. I use Euclidian OS 7.1 on Nexus5. I install magisk and the phone is rooted, but when I try to use my health reports app I recive this message:

CAN NOT USE THE APP

Your device appears to have suffered a jailbreaking or rooting process. To safeguard the protection of your privacy you can not use the app.

I enabled "magisk hide" on the app, reboot my phone, open Magisk, klick on Magisk hide and hide root from this particular app but without luck.

Any suggestion?
[Magisk] Primokorn:
I'm currently using official RR ROM with SuperSU 2.79. I have installed Magisk v11.1 zip and Magisk Manager.

How to remove SuperSU to switch to MagiskSU? I see no option from Magisk Manager...
[Magisk] Didgeridoohan:
Does the app rely on other apps, for example does it have permission to use the Phone app. If so, add that second app to the Hide list as well and see if that works.

Remove SuperSU, you can use osm0si's unSU script or through the SuperSU app. Possibly also flash a clean boot image. After that, reinstall Magisk.
[Magisk] cicciocant:
How can I pass safety net check with Xiaomi Redmi 3s with last Xiaomi.eu ROM?

Inviato dal mio Redmi 3S utilizzando Tapatalk
[Magisk] Primokorn:
After removing SuperSU I can no longer flash Magisk zip and Magisk Manager just says that I'm not rooted...

Magisk v11.1 Boot Image Patcher
*****************************
- Mounting /system(ro), /cache, /data
- Device platform: arm64
- Constructing environment
- /data/magisk.img detected!
- Mounting /data/magisk.img to /magisk
- Found Boot Image: /dev/block/sde18
- Unpacking boot image
11217 blocks
- SuperSU patched boot detected!
- Adding auto patch script for SuperSU
losetup: /data/su.img: No such file or directory
losetup: /data/su.img: No such file or directory
losetup: /data/su.img: No such file or directory
losetup: /data/su.img: No such file or directory
losetup: /data/su.img: No such file or directory
losetup: /data/su.img: No such file or directory
losetup: /data/su.img: No such file or directory
losetup: /data/su.img: No such file or directory
! SU image mount failed...
! Please immediately flash SuperSU now
! Installation will complete after flashing SuperSU
Updater process ended with ERROR: 1
I:Legacy property environment disabled.
I:Install took 1 second(s).
Error installing zip file '/sdcard/Download/RR_3T/Magisk-v11.1.zip'
Updating partition details...
I:Data backup size is 2516MB, free: 33633MB.
I:Unable to mount '/usb-otg'
I:Actual block device: '', current file system: 'vfat'
...done
[Magisk] Jeric0:
Only storage permission. I apply your suggestions and reboot but nothing
[Magisk] SimplyCity:
Here you go. Flash one, then another, no matter which goes first, no need to clean caches.

https://mega.nz/#!0pQlRCrB!FqzeeCVOXm9zT2PSrXPGECrgVhxJ_E5kE-jNP077UI8

https://mega.nz/#!8tAVlbLb!xW3abyep-qvaUDXyW_XQ67Knaykt0Kv4kTHkS6Gxn6g

Echoe™ team member / S7E
[Magisk] kantjer:
When I made the same move a few weeks ago I just dirty flashed the ROM and the magisk.zip.

Everything was working out of the box
[Magisk] Artim_96:
If you can't pass without Magisk, root and other modifications it's very unlikely you can.

You have to disable ADB in dev settings and remove everything left over from supersu or XPosed. If you still can't pass (after a reboot) there is no way to pass SN on your ROM
[Magisk] LazerL0rd:
You've got some remaining files from SuperSU. That's why it thinks you've got it. Maybe your ROM has root in system?
[Magisk] de.er:
Have you tried flashing unSu.zip first?
[Magisk] Didgeridoohan:
You missed the part in my first message about flashing a clean boot image. Yours is still patched for SuperSU.
[Magisk] lalitjoshi06:
hi,

I am using leeco le2 X526 phone. Magisk was working greatly when I was on stock Rom (MM).

But now I am using custom RR rom (Nougat) and safetynet check not passing.

need Help for this issue.

A log is attached herewith.

Should i need to upload boot.img?
[Magisk] Donric13:
Hmm... just installed it on my 6P on data-slot-1 (dualboot) after patching the zip for this slot. Didn't work. The "driver message" appeired... Maybe it's because i installed it not as primary? I also tried to freeze musicfx and checked audioconfig in vendor. No luck with Magisk 11.1. Gonna give it another try on another rom. Gonna report if it works. Thanks anyway for your help.
[Magisk] Primokorn:
I finally had MagiskSU but no su request even after installing Superuser app. In the dev options I had 'adb only' and I couldn't enable root for apps. Weird... So I started from scracth with an unofficial RR build and I have directly flashed Magisk zip and installed Magisk Manager from Google Play. Then I installed Superuser app and everything is working.
[Magisk] ddogishere:
Hi I've attached screen shot of data type
[Magisk] tag68:
It is ext4, so f2fs does not cause any problems.
[Magisk] de.er:
You don't need the Superuser app anymore, Magisk v11 and over handles root natively now.
[Magisk] Shockz:
Has anyone here gotten Viper4Android working on 11.1? I didnt have any issues with 10.2 but since he released this update, whenever I install the module, the phone never boots on the next reboot and I have to use the uninstaller to delete the module.
[Magisk] bkayy:
Yes works on mine but have to change to permissive selinux and I use tasker to do this when I open viper it automatically changes to permissive when not playing music its back to enforcing. It works but not fully will see when magisk 12 comes out
[Magisk] jjhaohao:
i'm having the same problem with S7 flat. Painfully slow to boot. Any fix?
[Magisk] Primokorn:
No issue here. I'm using the ViPER4Android 2.5.0.5 version by guitardhero and I have an init.d script to force SELinux to enforcing.
[Magisk] Shockz:
Are you using the module in the repo to install the driver?
[Magisk] Drivepnut:
Now that Magisk has Magisksu do I need to uninstall phh's superuser
[Magisk] westeight:
Yes, yes. As per the OP, you need to install phh, SuperSu AND SuHide in order for Magisk to work correctly... :cowboy:
[Magisk] RandomPooka:
In a perfect world, yes.

In this world? It looks like the mere presence of it on the phone allows certain apps, like Tasker, to detect that the phone is rooted. You can try freezing it, since you don't really want things trying to use that app. But, I know that if you delete it, some apps can no longer tell you've got root. Kind of a mixed blessing, in that it means root is so well hidden that it's even hiding from apps that ask for it :laugh:
[Magisk] Drivepnut:
Thanks I will keep it then. I don't think the other guy who responded understood the question I was asking.
[Magisk] jhedfors:
Uhmm... Per the OP, you just need to install Magisk, as it has it's own superuser.

To limit any issues, uninstall any root manager app and the flash osmosis UNSU zip (search for it) before flashing Magisk.
[Magisk] Primokorn:
Yep and V4A app is installed as an user app.
[Magisk] de.er:
*UNinstall
[Magisk] RandomPooka:
[MENTION=5935946]westeight[/MENTION] "the other guy" completely understood and gave you the actual right answer (in which the accidental typo that's corrected just above is incredibly important!)

I was just passing on info about some odd quirks that currently exist and the currently known WTF-Kind-Of-Voodoo-Romani-BS-Magic-Is-This workaround.
[Magisk] Drivepnut:
OK I will uninstall phh's. I've already updated Magisk and had no issues yet only it says superuser needs update binary when I reboot but I think that will be solved if I uninstall phh's. Thanks for the help
[Magisk] ddogishere:
Thanks I have an lg g5 using custom rom got from here called fulmics, is there any way i can get safety net to pass?
[Magisk] Didgeridoohan:
Could be a LG "bump" issue. I don't know much about it, but there was a commit to Magisk about that yesterday. That means the possible fix will be in the next version of Magisk.

Otherwise it's a good idea to repost that log with verbose logging enabled.

And, if you have an otherwise functioning Magisk installation with working Magisk Hide, here are some tips about hiding root and passing SafetyNet:

https://xdaforums.com/showpost.php?p=70426733&postcount=7120
[Magisk] Sriharijaddu:
I'm using TugaPower N21 on OnePlus one, I installed Magisk root application, I got Cts file missmatch error when I select safety check. Please help me out.
[Magisk] jhedfors:
Did you select Magisk Hide in settings, and reboot?
[Magisk] RandomPooka:
Phh's app will of course no longer warn you about it, as phh's app won't be checking the root binary because you uninstalled it. That's just plain common sense. That's also exactly what the install instructions tell you, so .. I don't know. Good job on finally following instructions after 4 different people told you to?

My first reply was just pointing out known quirks with specific apps not seeing root and what some people have done to overcome them. It was only to save you a search through the same thread for a problem you may run into down the road. I'm going to take a wild guess and assume that you aren't using Tasker with root functions, if at all.
[Magisk] Filarsky:
After installing back default boot.img, cleaning SU with unSu, then installing magisk 11.1 with magiskSU I am able to get safety net pass, however if systemless xposed from topjohnwu is installed I'm receiving CTS fail - even if all modules are disabled . Any idea what may it be ?

I've got Oneplus3 with 3.2.8 default rom
[Magisk] Drivepnut:
Are you mad about something. You were the first person to respond and gave me bad advice and I understand it after you said it was a typo later on, the next guy who responded was being helpful and he was nice with it even though I didn't go with what he said because the next couple of posts went with uninstall. If you feel like you need to be rood then you shouldn't reply to the post. There are plenty of people here who can help in the proper way. And that's just plain common sense. Hope your valentines day go good for you so you release that pent up anger backed up in you.
[Magisk] jhedfors:
Magisk does not hide Xposed, so you will need to disable it to pass.
[Magisk] RandomPooka:
Not at all. I responded, gave you no bad advice, didn't have a typo (that was referring to someone accidentally saying to install and not uninstall, which was later fixed by another user)

I'm possibly frustrated with the level of not simply reading and following directions, but there's no pent up anger being directed at you specifically.

If you don't like my tone, then that's your problem. It wasn't rude, crude, or undeserved. The numerous replies concerning your post (Which was simply asking for clarification on instructions, completely understandable) all said the same thing, including mine. But, if you couldn't tell that from reading it the first time, I can understand why you needed clarification on the instructions in the first place. Good luck with everything working well.
[Magisk] Drivepnut:
Sorry then. I took what one guy said and thought you said it. No hard feelings. Just some advice, if you feel frustrated then just don't answer the post. I noticed a lot of people do that in xda forums, and then say just read the threads or use the search, well the thread usually end up over a 1000 pages and the search causes confusion when it pull up the results. People ask questions cause they are not on the same wave length as the person who knows the answer too some of this stuff. Hopefully your frustration will turn to peace of mind
[Magisk] Donric13:
Could you tell step by step how you managed to get v4a to work on magisk 11.1 on your 6p? I also tried a lot of things also with repo app and guitarhero app 2505 (zip) combined but never got it to work (and what rom). Would be nice.
[Magisk] TotoBerto02:
Hello I have a problem, when I install xposed through magisk and I do the restart that asks me for the device magisk stays in the loading animation and does not come out of there. does anybody know how I can fix it?

Enviado desde mi ALE-L23 mediante Tapatalk
[Magisk] [Alien]:
The same issue on Xiaomi Remi Note 3 Pro. Device is encrypted, everything is fine except Xposed
[Magisk] migaspepino:
Hummm I don't remember ever installing superSU on this device do you think it can still be helpful?

I mentioned every detail in the first post except the OS being primary :P anyways the device is a OnePlus one running CyanogenMod 12.1 as primary on Multirom without currently having any secondary ROM.

Also can I ask if you can give me an ELI5 of what is happening and what does this SafetyNet do?
[Magisk] Didgeridoohan:
Tips on hiding root and passing SafetyNet:

https://xdaforums.com/showpost.php?p=70426733&postcount=7120

About SafetyNet:

http://www.howtogeek.com/241012/saf...y-and-other-apps-dont-work-on-rooted-devices/
[Magisk] jhedfors:
Sorry - Yes you did state that you have a OPO with CM12.1.

CM has built-in superuser (it will trigger CTS even if turned off) - you will need to remove all traces of superuser for CTS to pass. [MENTION=4667597]Didgeridoohan[/MENTION] gave you good information to read.
[Magisk] Shockz:
I just got it working on my 6P with ABC rom (stock rom kernel) and using the Viper4Android module from MagiskManager. I ended up installing the apk to the magisk folder as well to convert it to a system app. Not sure what changed but before I was not able to boot after installing viper4android, but its working now so Im not complaining.
[Magisk] HamsterHam:
6p and ABC there's an easier way. New arise release 2.75 just make sure you delete deep buffer. That's it. It'll work.
[Magisk] xatou:
What exactly did you install?

Στάλθηκε από το Nexus 6P μου χρησιμοποιώντας Tapatalk
[Magisk] migaspepino:
Thanks but I'm having trouble passing the test. I already took the steps laid in the guide but I keep getting the CTS profile mismatch I got OnePlus one running CyanogenMod 12.1 bacon (thus no need to have suprerSu or similar) on TOP OF MULTIROM as a primary. And to be honest I don't even remember what I did to my phone in therms of hacking/modding/rooting long ago.

I am trying to find what went wrong but there is so much misinformation everywhere and navigating in this hellhole is such a pain that I cannot find relevant information specially after being out of the loop for almost a year.

I just want to understand the process a bit better.

Can you point me in the right direction (the links you already gave me have helped me a bit)? And/or give me relevant links?
[Magisk] Enismirdal:
Is there any further information on MagiskSU's -cn/-context parameter, beyond what little [MENTION=4470081]topjohnwu[/MENTION] gave in a blurb, saying he wasn't sure it was implemented (fully/correctly/something to that effect) but it was there?

The behavior of cygery's Toggle Network Type 5.0 (SU granted, but app cannot find an existing command, and only a problem if enforcing) suggests it might not be working correctly, or at least that there's a specific incompatibility with MagiskSU, as the same scenario works correctly using SuperSU.

Edit: Weird. It duplicated my post...in my post. I'm confused.
[Magisk] MrBrady:
Device: Nexus 6. Android 7.1.1 AOSP based ROM (not factory image).

Been having a hard time getting Magisk 11.1 to work with 3rd part kernels with the February security patches. Keeps putting me into a 'hang a boot logo' situation. Tried three separate kernels. All boot fine when using SuperSu instead.

Any tips?
[Magisk] exodius48:
[MENTION=4470081]topjohnwu[/MENTION] MagiskSU 11.1 sometimes disabled / root not available after phone reboot, but after i reboot again it worked, is it a bug?

Use DnD rom android 7.1.1_r9
[Magisk] Djs333:
How to resolve saftynet fail issue

Moto g2 titan Du11.1
[Magisk] kunfei:
Want to add configuration, open the application to jump to the root manager interface
[Magisk] tag68:
Remove Magisk, remove SuperSU, install Magisk.

Reason: Magisk hide which is needed for successful SafetyNet-Check only works with MagiskSU. If your phone is rooted using SuperSU, MagiskSU will not be installed.

Please tell me the result, have the same device and want to do the same ;)

Hint: you could have find out by reading the documentation.
[Magisk] Primokorn:
I have a OP3T.
[Magisk] Djs333:
Than man I will check
[Magisk] Djs333:
Did as you said.but same happened
[Magisk] tag68:
But root is by topjohnwu. Now you may try to turn USB debugging off, this helped some people for the check to get green.

If this is not it, seems you need advice from someone else. I couldn't test Magisk by now. But it is really good to know that MagiskSU runs on G2. Passing SafetyNet is not the only purpose.

Edit: Did you activate Magisk hide and restart?
[Magisk] de.er:
There may be some remnants of phh's su on your system, try flashing osm0sis's unSu.zip (https://xdaforums.com/showpost.php?p=63615067) followed by reflashing of Magisk, that might help.
[Magisk] Leon:
I try it for few hours and I realize I don't really need it. I got bootloop trying to install one audio mod. Also only some apps had root, the rest wasn't working at all. Also if you select to grant without asking or notification it won't work at all. I'm not really Pokemon GO fan so I will stick with SuperSu. Good work anyway! :)
[Magisk] Didgeridoohan:
As already asked: did you enable Magisk Hide?

If you did but still can't pass, here are some tips:

https://xdaforums.com/showpost.php?p=70426733&postcount=7120
[Magisk] Djs333:
Thanxman now its working
[Magisk] Shockz:
I know it will work but my goal here is to have safteynet pass as well.
[Magisk] michel sedgh:
Can someone help me? I can pass saftey net and everything works, but sfter a day or so I completely loose root. My data and cache are f2fs on a oneplus 3. I thought the problem had been solved with loosing root :(

edit: After a normal reboot, the root came back. I think that the magisk manager forgets about the root? There is something happening. I will enable debugging to see what happens...
[Magisk] 135Shadowsoul:
Good evening every1,

although i did some research, i did not find a clear answer about following:

is it possible with magisk (and its root solution) to have the "BINDSYSTEMXBIN=true - mode" and still pass SN? i found a thread (link currently not at hand), which said it would break SN-passing. Can any1 confirm/refute? And if possible to pass SN with magisk (and its root solution) how to use the BINDSYSTEMXBIN=true? (What/how to change during installation process) i need it for some bad coded apps which... (CM built-in file manager for example).

Thanks for any helpfull answer :)
[Magisk] tiduscrying:
Hi everyone, trying to get Magisk working on my Blu R1 HD. I previously had systemless SuperSU installed that I couldn't properly remove, so I ended up reflashing my boot.img and starting from scratch. I wanted to use MagiskSU as opposed to SuperSU since it seems like a cleaner option (and it's open source), but for whatever reason, I cannot get the root to show up. I have flashed the v11.1 zip three times now and while the installer in TWRP seems to succeed (it finds the boot image, patches it and flashes it without any errors whatsoever), booting into the Magisk Manager app says that I am unrooted, but have v11.1 installed. Is there an extra step I am missing here?
[Magisk] HamsterHam:
Mine passes with magisk hide enabled.
[Magisk] Zackptg5:
I've noticed that sometimes, magisk manager won't detect magisksu. I just reboot once or twice and eventually it'll detect it. Now I know the root worked because root apps I previously gave permissions for will still work and I'll see the toast notification saying that magisksu granted superuser permissions for it even when magisk manager says I'm not rooted. I think it's just some weird bug with magisk manager
[Magisk] HamsterHam:
I think it's just the app as well. I can still use root even though the app says not rooted. Closing magisk and reopening it shows root again.
[Magisk] Dracultepes:
Hi,

i have a problem with Magisk/Magisk Manager. When i try to open Download/MagiskHide/Log over the menue, then i have an endless rotating circle. I Think it will load till the end of days and never stops. The module menue entry seems working.

Does anyone know, how i can solve this?

I unrooted my Rom from SuperSu and then i installed Magisk via TWRP und then i installed the Magisk Manager. Magisk 11.1 is installed, but no root and the safety net says :" cts profile mismatch".
[Magisk] H4X0R46:
Still haven't found a way to make a custom ROM even check saftey net. I installed lineageos with gapps (not magisk yet) and it fails. After installing magisk, it goes into an endless loop of checking saftey net and never report pass or fail. Magisk seems to make it do this, what am I doing wrong? Thanks guys!
[Magisk] githyanki:
Lineage is pre-rooted, you have to remove that before trying magisk.
[Magisk] H4X0R46:
Cool thanks! There have been mention of way to remove the built in root, none has worked for me. Do you know of a sure fire way to remove the built in root completely? Thanks again for the answer!
[Magisk] Jon.StatiK:
Alright guys I've tried searching but I've had no luck with this issue. I had 10.2 and then lost root. I flashed it and still no root. Flashes 11.1 and still no root. Ran the Uninstaller, rebooted, and flashed 11.1 and still don't have root. I ran the Uninstaller and flashed sr3 supers but it said the boot.img was already patched. PLUS, I've refreshed my system img to my stock rom and I STILL can't get root. What the hell is going on here? Haha
[Magisk] Artim_96:
Well, as long as it's not embedded into the boot.img the unsu zip will do the job, but for all I know the CM/LOS kernel is flagged by SN, so to have at least a chance to pass, you will probably need a different kernel. But all in all its very unlikely that you will ever be able to pass SN on a custom ROM
[Magisk] Gigobaito:
Solid Explorer works like a charm for me
[Magisk] yochananmarqos:
You need to flash your stock boot.img before flashing Magisk.