yashsingh1/xdaforums huggingface dataset:
[Magisk] Didgeridoohan:
Magisk makes system mods (changing build.prop values, debloating apps, Xposed, ViPER4Android, etc) systemless. Several benefits to that, main one in my opinion is that all those mods are still there after a system update or are very easy to reapply.

SafetyNet is Google's API for detecting if a device is compromised or not. Several apps (Android Pay) use it to detect root, Xposed and similar. Some apps (Netflix) in the Play store also use it to determine if you're allowed to install it or not.

Magisk Hide can hide root from some apps that look for it.

Magisk and Xposed are NOT similar. Magisk injects files into /system and runs scripts at boot (basically) and Xposed changes an app/process at runtime (injects code).

Magisk is also an open source root solution and can be used solely for that purpose.

Recommended reading:

https://xdaforums.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445

https://xdaforums.com/apps/magisk/magisk-details-dummies-to-developers-t3473486
[Magisk] shadavis08:
Thanks I'll read and reinstall magisk when v13 comes out and is stable v12 is just giving me slow boot loop crap. Thanks for your input it was very informative and I learned something. I appreciate it!
[Magisk] jeffshee:
I'm using magisk v12. Some games (eg. games created with Unity) crashed as soon as launched after magisk installed. Some of these games doesn't even care about root, yet crashed... logcat is screenshoted and attached below. All of them gave the similar errors. Uninstall magisk solved the problem. Any fix? :silly:
[Magisk] Umbardacil:
Got the same unpredictable behavior of the profile...
[Magisk] Kurajmo:
Any tutorial for person who not install magisk on Android?

I have HTC Desire 310 with cm13.

I installed magisk but this app can't automatically find boot.img patch on my Desire 310 with cm13.

I have ported cm13. From other HTC device.

I want to try magisk for super Mario run etc.

But its chance to bootloop.

Any help?
[Magisk] deboopi2:
I installed magisk to replace SuperSu so I can hide the fact that the phone is rooted for some apps.

Since I have seen Magisk can do more I wanted to try Viper4android (Arise would be even better), so installed the viper4android module but I can't see the V4A user interface, is there anything wrong or does it work differently from the normal v4a installation? (magisk 12, magisk manager 4.3.3, v4A 2.5.0.5)
[Magisk] pet3rs:
How to solve an issue of Magisk 'unrooting' after a reboot? I got to install the zip with recovery everytime I reboot the device.

Device: OnePlus 3

ROM: Stock OxygenOS 4.1.3 (Android 7.1.1)
[Magisk] Kurajmo:
Great I tried flash magisk.zip

With philz recovery.

And error 1 appear. Can't find boot.img patch

I rebooted cm13

Now I'm without root.

App can't find, flashable package.

Great.

Can't use this app
[Magisk] Didgeridoohan:
Flash the Magisk zip in recovery (TWRP).

You'll need to install the apk manually. You'll find the link in the readme of the module (click the module in the Downloads section of the Manager).

Could be several things. Busybox conflict and Magisk Hide are two possible culprits.

As a side note, I've never experience this issue on OOS (OnePlus 3T).
[Magisk] pet3rs:
What do you recommend? Get rid of BB or is there a way to work with the settings somehow?

Not using Magisk Hide.

Posted with OnePlus 3 + Tapatalk
[Magisk] Kurajmo:
I don't have. I only have Philz recovery.

CWM 6 for my HTC Desire 310 single sim

I'm not developer.

I just wanted to install magisk for super Mario run. But I can't.

That's all
[Magisk] Didgeridoohan:
Do you have another Busybox than the Magisk bundled one? If that's the case and you really need Busybox for something, try uninstalling the other Busybox and enable the Magisk bundled one in the Manager settings. Otherwise I'd just try running without it and see if that helps.

A quick search through the thread shows that "it can't find the boot image" is a common error with Philz.

Magisk v13 will have a way of installing Magisk without a custom recovery so if you can wait, it'll come soon enough.
[Magisk] Iceman248:
Does everything SafetyNet related still work okay?
[Magisk] ketwi15:
Ever since installing V4A I'm random ly losing root after a few minutes when I reboot. Any ideas on why?
[Magisk] BlackL0dge:
I'm guessing the built-in BusyBox is enabled.
[Magisk] ketwi15:
I disable it and right when I flash Viper root is gone
[Magisk] deboopi2:
I used the downloaded apk from V4A and I could see it in the magisk manager but that was all.

Wich apk do I need to install manually, the one downloaded from the modules or just go for the original v4A apk?
[Magisk] Didgeridoohan:
The V4A module you install from the Magisk Manager does not come with the app. If you click the module in the Downloads section (not the arrow) you'll open the readme which will have a link to the apk that you then need to install. That should be it...
[Magisk] ahmedraza:
I had flash stock firmware on my Samsung galaxy s7 edge completely stock then i root it with magisk su with latest sac23 version 4 rom with magisk enaabled so i did not tick busybox in magisk hide beacause already busybox installed in this rom everything is ok fine like snapchat etc but why 8 ball pool game is detecting 3rd party modification

Below is my magisk log file please tell me everything ok or not
[Magisk] Artim_96:
Well, nobody here knows why such a bull**** app even thinks it would need to detect anything, but the answer to what it detects... Pretty much impossible to say, too many possibilities.

But start with installing RootBeer sample, adding it to Magisk hide and seeing, what it detects. That could help since I pretty much doubt that its detection methods are too sophisticated...
[Magisk] ahmedraza:
Ok i had installed root beer sample app now 1st i have to check whether my rom is root or not after that i just hide this app from magisk hide then recheck am i right?
[Magisk] ketwi15:
Nope I disabled it and still lose root.
[Magisk] Artim_96:
Don't forget the reboot to apply Magisk hide. But the first check is unnecessary. Just check what it checks when Magisk hide should hide everything.

As long as it then shows not rooted I have no clue.

PS: it's normal that it complains at the last test, that does not had to say anything but it's possible that your app detects that
[Magisk] ahmedraza:
I had checked root beer without magisk hide and without busybox tick in magisk hide menu i take screenshot below please check after that i had hide rootbeer in magisk hide menu and then reboot and recheck the result is in another post i m sorry i dont know how to put both files thanks
[Magisk] ahmedraza:
When i hide rootbeer app in magisk hide menu then reboot and rechecked it the result is below in screen shot kindly look thanks
[Magisk] Artim_96:
Then it probably detects busybox. Deactivate it and make sure your room didn't had it's own.
[Magisk] Didgeridoohan:
The log looks fine. Like I told you earlier, I don't think that app looks for root at all. I could even open it up and play with Magisk Hide disabled. Unless they somehow store the info and goes through it manually at a later time...

Did you try it on your completely stock setup? Have you tried with SELinux set to enforcing? Other than that, if you don't have or have had any kind of app on your device that can be used for cheating purposes or otherwise have modified or cheated the game in any way I think you need to take it up with Miniclip. But I wouldn't hold my breath that they'd answer...
[Magisk] ahmedraza:
No i told u dear that i never use cheating like apps and please dear look at.my screenshot of my rootbeer app one with without hide in magisk and one with hide it in magisk menu then reboot please look
[Magisk] ahmedraza:
I dont know about ,, SELinux set to enforcing?* And i dont know how to do that :(
[Magisk] Artim_96:
It should be set to fake-enforcing by Magisk. For real enforcing, open a terminal and enter

Su
Setenforce 1
[Magisk] ahmedraza:
I had just uninstall busybox and then hide rootbeer in magisksu after reboot i got this result provided in screenshot please look and tell me now everything is ok or not for the bul**** 8ball pool game
[Magisk] Didgeridoohan:
Uhm, you tell us... Does it work now?
[Magisk] ahmedraza:
I think its worked because 8 ball pool just pop up message till 1 week after that i just clear data and re login then i will find hopefully i shall not recive that pop message again thank you so much guys i just tell u in feww days when i clear data and relogin thanks
[Magisk] Kurajmo:
I dont fully understand.

Maybe I'm not developer?

I checked and see I don't have busybox

I reinstalled my custom rom.

Now I have lineageos13 for desire 310.

Magisk can't automatically find boot.img patch.

I don't have busybox.

What I need to do. To install Magisk and launch super Mario run on my phone?

This game detect my root. That's why force close after I launch this game.

I have lineageos13, philz cwm Recovery. I need Magisk only for this game.

Any help with this?
[Magisk] urob01os:
Error 1

I recieve error 1 when I flash magiskv12.zip with custom boot.img. With stock boot all ok, but stock boot.img doesn't support nfc (there nfc is closed). Help me please. My phone is ZTE Nubia Z11 mini S.
[Magisk] Umbardacil:
What do you mean by "Safetynet related"?

1.I flash fresh stock Rom

2. I flashed Magisk

3. After first boot all was OK

Then after few more boots root was gone. I started to reboot several times and now it's there and gone again. I've uninstalled busybox and checked magisk busybox in options + magisk hide and the root is so far fixed. But the SafetyNet no-go.
[Magisk] dahawthorne:
Perhaps a stupid question and maybe I've missed the answer across the Magisk threads...

I have Magisk 12 and Manager 4.3.3. When a new official Magisk v13 is published, given that Manager is no longer on the Play Store, will Manager 12 be able to identify the new official v13/Manager 5, or do I have to keep an eye open on the forums to install it manually?
[Magisk] DodoGTA:
You'll have to install it manually (But Magisk Manager v5.0 has Magisk Manager OTA update support)
[Magisk] dahawthorne:
[MENTION=6429309]DodoGTA[/MENTION]

Thanks. I thought that would be the case, and since I try to keep up with the threads (hard job, given the amount of interest in Magisk) I reckon I won't miss the announcement. I'm wary of installing Manager 5 because I don't want to be prompted to install unofficial versions - since v12 is working fine for me I'll wait for topjohnwu to be happy before I install a newer version. I see he's just released a new zip to try.
[Magisk] sebbesapa:
Hi, I have a problem with installing OTAs on my Nexus 6P. Yesterday I reflashed the May factory image, locked and unlocked my bootloader. Then i booted twrp and flashed Magisk, thus on stock recovery with magisk and magisksu. Should not i be able to install OTA's directly from whitin Android now? When i try with the June OTA it always ends up with the green android and a (!). I'm I doing something wrong or is'nt this supposed to work?

Thanks
[Magisk] teddy0209:
Try to restore your boot.img then apply the ota...
[Magisk] sebbesapa:
Will i have to reflash magisk after that?
[Magisk] yochananmarqos:
Press Power + Volume Up to enter recovery. FYI, you can flash OTA's with TWRP.
[Magisk] Iceman248:
I meant does Android Pay or other apps that utilize SafetyNet still work.?

Seems like no from your reply. Mine still do. Android Pay is only one that uses SafetyNet, but it doesn't complain at all. Root works fine.
[Magisk] Umbardacil:
SecurityNet Profile still doesn't work for me after update to Magisk 12.0.4 and Magisk Manager beta 5.0

Can someone explain me: is SecurityNet profile passing or not?

Can't find Magisk hide in the Manager app neither. ..
[Magisk] DodoGTA:
Please clean install Magisk Manager v4.3.3: https://tiny.cc/latestmanager

Note: Do you use Geralt from The Witcher games as your profile picture?
[Magisk] ForgottenDude:
You can't install Manager 5 while on Magisk 12, anyway.

5.0 is only compatible with 13 and vice versa.
[Magisk] Umbardacil:
From where can I download Magisk 13?
[Magisk] DodoGTA:
https://xdaforums.com/apps/magisk/beta-magisk-v13-0-0980cb6-t3618589
[Magisk] Umbardacil:
Yeah! This avatar is inspired with Geralt The Wite Wolf. That's my favourite character from the game/book by polish writer A.Sapkowski. Im from Poland too btw ;)

Edit: After reinstalling Magisk Manager v4.3.3 it doesn't work neither :(
[Magisk] LukaPochi:
I just installed the lineageOs rom for the xiaomi mi5, then I install magisk 12 but when I open the app it just says that I have to go to the play store to download the new version (which is gone there) and I still don't have the root rights.. wtf.

With the xiaomi eu used to work well (the same zip file)

EDIT: I resolved it by installing magisk manager.
[Magisk] Jxcorex29:
What do you mean you installed it? The manager app isn't on Google Play Store. I've got both v12 and beta v13, but those are only zip files.

---------- Post added 13-06-2017 at 12:04 AM ---------- Previous post was 12-06-2017 at 11:59 PM ----------

What's the issue? Do I need to uninstall v12 then install beta v13? http://cloud.tapatalk.com/s/593f2bbf53fc1/Screenshot_20170612-190240.png?

http://cloud.tapatalk.com/s/593f2bc8a54bd/Screenshot_20170612-190212.png?

http://cloud.tapatalk.com/s/593f2bd5918ea/Screenshot_20170612-190207.png?

---------- Post added at 12:14 AM ---------- Previous post was at 12:04 AM ----------

Edit: fixed, users of v12 need to uninstall then flash the beta v13 zip.
[Magisk] mel2000:
I change my SIM card more than most and use the app APN Backup & Restore to facilitate the carrier change. I soon plan to replace my 4.1.2 JB phone for a Moto G4 Plus XT1644, and plan to immediately update it to Nougat if needed, and to modify it with TWRP/Magisk.

The APN app requires that it be moved to a system folder for proper operation. I'm under the impression that SafetyNet will trigger if the system partition is modified. How can I use this app without triggering SafetyNet on Nougat? Thanks.
[Magisk] veez21:
The're a couple of app systemizer modules available in the download section of magisk manager. Install one of those and you should be able to systemize any app
[Magisk] Viggen66:
I have tried magisk on lollipop, it works, but everytime the device reboots, android is always optimizing all apps. Is there a way to overcome this? Is a bit annoying
[Magisk] mel2000:
Great news! Good to know that Magisk had the foresight to solve that issue. Thank you so much for your prompt reply.
[Magisk] Apexpredator12:
After I installed the latest version of magisk I can't seem to disable apps that start at boot, I have tried several boot managers they all fail. No matter what app I try to disable it just won't , is it a problem other people have had? Or could it possibly be something else.
[Magisk] m_reyna_16:
Hello, I have an att LG tablet (v495) that I have been wanting to root ever since I got it a yr ago, is there a way to flash magisk systemless on the tablet in order to achieve root?
[Magisk] Didgeridoohan:
Well, then... Now that you've got everything matching as it should we can start troubleshooting for real.

Start by reading this and get back to us with the proper logs if you can't get it working.

Just a FYI: SafetyNet does not trigger if the system partition is modified.

Logs and lots of details about your setup, or it didn't happen.

And by logs i mean Magisk log, saved from the Magisk Manager. Possibly also a logcat from boot. Don't put the logs in a post, attach them as a file or use a service like Pastebin.

Flash the Magisk zip in a custom recovery. If you can't get a custom recovery on your device you could wait a little, because soon you'll be able to install Magisk without a custom recovery.
[Magisk] m_reyna_16:
U say this because of magisk 13? Or what do u mean by soon?
[Magisk] Didgeridoohan:
https://xdaforums.com/showpost.php?p=72587983&postcount=22

Manual injection is already possible with v13 beta. We're just waiting for instructions...
[Magisk] mel2000:
Thanks for the correction. But I seem to recall some kind of caution about writing to the system partition without Magisk's oversight. Would it be the Android Pay issue? The root betrayal issue?
[Magisk] Renjong:
MagiskSu Htc 10
[Magisk] Didgeridoohan:
In most cases you can't update your device with an OTA if the system partition have been touched in any way. That was the original purpose of Magisk, making it easier to update through OTA.
[Magisk] mel2000:
Got it. Thanks for the clarification.
[Magisk] Bingley:
It touched the boot.img instead, so otas can't be updated unless you restore the original boot.img either, which seems kinda the same issue for otas. I assume, like I've been doing, the best way to update an ota is to restore stock boot.img, install ota, then re-patch boot & re-root?
[Magisk] Umbardacil:
Well, I'm still missing something here... please help me understand my log (as attachement).

I'm on Samsung galaxy Note 4, running stock, H-Vitamin permissive kernel (https://xdaforums.com/note-4/development/kernel-h-vitamin-t3355879)

Apps that eventually could have impact (I guess):

-Flashify, Root checker basic, greenify, titanium backup pro, synapse, wakelock detector free, The SELinux Toggler, tasker, viper4android

Magisk modules:

-tasker root support - build.prop

Magisk 12.0.4

Magisk Manager 4.3.3

Still dunno why it's not working :( occasionally the root is gone, but after reboot it's back - that should not happen neither, right?

Please, advice

Lucas
[Magisk] Didgeridoohan:
Yup, that's the idea. If you can keep your system partition untouched by using Magisk you should be able to update through an OTA by just restoring the stock boot image. All your Magisk modules will still be there in /data and everything's back to normal as soon as you reflash Magisk.

I've never tried it myself. Nice to hear it works. :good:
[Magisk] Bingley:
Great, thanks, so nice to confirm my method! I wrote my method at https://xdaforums.com/nexus-5x/help/guide-to-installing-ota-update-stock-t3617824 - does that seem right? I guess with v13 we'll be able to skip a custom recovery? I only use Adaway & a Magisk EIS module.
[Magisk] Didgeridoohan:
The log looks perfectly fine. You should check if Magisk Hide works and if you pass basic integrity. It's all described in the link I have you earlier.
[Magisk] Umbardacil:
I've checked Magisk Hide by hiding The SELinux Toggler app, which caused warning that this app has no SU Access, so Magisk Hide works well... But Android Pay cannot pass SecurityNet Profile check... I'm out of ideas, what next should I check...
[Magisk] Didgeridoohan:
Good, then there's something about your setup that triggers SafetyNet.

Disabling USB debugging and setting SELinux to enforcing are two other things that come to mind.

Those are both covered in the link as well... :D
[Magisk] eeeelinen:
I havea problem. Magisk Installed correctly but then after a moment, Root just disappears.

If it helps I use lineage os 14 on LG g2m.

Installed magisk 12 as zip from TWRP.
[Magisk] Artim_96:
Disable busybox. If that doesn't help try again with disabled Magisk hide
[Magisk] Iradj:
I just want to give a warning to those people that use SEQR because today came an Update ( 2.6.27 ) that detects Root even when MagiskHide is enabled also when rootbeer tells you that you are not rooted and all the checkmarks are green it doesn't work anymore on the new SEQR update so stay on 2.6.23 thats it.
[Magisk] MaFiBoSS:
Someone can test if the Magisk pass the SafetyNet on the Concur App?

I installed the Concur App after use the metod root of Magisk and give me the message:

I turned ON the option hide from Magisk. For some hours it's worked, but now I have the same error again.

Someone have this problem on similar apps?

The Magisk works fine with others apps (PS4 Remote Play).

Note:

I uninstalled and reinstalled the Concur APP, clear the app cache and dalvik cache, uninstalled and reinstalled the Magisk root method, deactivated the USB Debug...but without success...

It seems that the Concur app checks several "variables" or saves some information...

EDIT1: I found the "problem", uninstalled the busybox on path: /system/xbin from BusyBox app. So I can't have installed the busybox? Maybe on another path?

EDIT2: The Concur app works without busybox installled on the path: /system/xbin. Activated the option of busybox from Magisk.
[Magisk] Umbardacil:
I've checked those two already. No change when I disable USB debugging or change SELinux to enforcing with The SELinux Trigger app. Could it be that my kernel is permissive only despite the fact that I try to change it?
[Magisk] tsjanda:
Work by enabling magic hide for that app Nexus 6
[Magisk] Didgeridoohan:
Yes, it could be. There are kernels that doesn't allow enforcing SELinux. After you've tried changing to enforcing type the following in a terminal emulator:

getenforce

If it reports as enforcing, you're good to go. Otherwise, try a different kernel.
[Magisk] Lost Dog:
The new concur update flags many unrooted 3rd party roms as being rooted (or it trips something that prevents use). I'm using Pure Nexus on my N6 and even if I totally remove root concur still fails. If you look at the reviews for the new version people with stock ZTE and Xiaomi phones can't use the app.
[Magisk] Umbardacil:
I guess my kernel is to blame... could you point me to appropriate galaxy note 4 kernel?
[Magisk] Didgeridoohan:
Nope. I don't do Samsung... That's what you have search engines for. :D

Just make sure it has a Linux kernel version of at least 3.8 or otherwise have the necessary commits for setns and mount namespace.
[Magisk] Peterlymo:
Root disappeared ehh

Root disappeared and I don't know how ehh
[Magisk] Riley Martin:
I am unable to install this on my Pixel XL. From what I read it looks like this phone is supported. When I do the install (even after a completely fresh OS install), I get the error saying that /system could not be mounted. Any ideas?
[Magisk] Didgeridoohan:
Pixel is not officially supported. Look under "Currently Known Issues" in the release thread.

I believe there's been some workarounds, but you'll probably find that in the Pixel forum.
[Magisk] kramer04:
Try with

Su

getenforce

Envoyé de mon SM-N930F en utilisant Tapatalk
[Magisk] KaMyKaSii:
Send the "su" command and accept the superuser permission before sending the "getenforce" command. It is known that Magisk limits access to /sys/fs/selinux/(enforce/policy) globally when it detects (during boot) selinux as permissive
[Magisk] Riley Martin:
Thanks for the info. I looked for a list of supported devices but I could not find such a list. I wish I found it before resetting my phone!
[Magisk] Didgeridoohan:
Is that a Samsung thing? Because neither on my Nexus 6 nor my OnePlus 3T do I have to run getenforce as su...
[Magisk] KaMyKaSii:
Also, but I believe it is not limited only to Samsung. I have a mtk device and am in RR 5.8.3 where dev has not yet implemented selinux support for enforced, even though it uses the precompiled kernel of the rom stock (which has support). It turns out that if I set selinux to permissive, the rom hangs and I'm forced to force shutdown. So in my case Magisk Hide detects selinux as permissive at boot time and removes the global read permission for related files

You can see the code here:

https://github.com/topjohnwu/Magisk/blob/master/jni/magiskhide/pre_process.c
[Magisk] HeroCC:
I don't think tripped kies prevents OTA updates. I know mine was tripped, but stock non rooted and I got an update.
[Magisk] jcrompton:
I am running one of the new Nougat based ROMs on my Nexus 6 (actually two of the ROMs that are published do the same thing) After installing the ROM, then installing gapps, I then install magisk v6 followed by PHH Superuser for magisk. What I'm finding is that BusyBox is installed in system/ xbin which then does not allow me to use Android pay (get the usual error). If I use an app to try to install BusyBox somewhere else the app states that I do not have systemless root setup. Any suggestions for getting Android pay to work in this situation?