MagiskSU Install Help - Magisk

HTC One M9
Venom Rom - ViperOne
Phh's SuperUser installed
Magisk 11.1 installed
Android N
Flashed a new rom (Viper) and it gave me the option to install PHH's SuperUser and Magisk, so I did. Once setting up the device I updated Magisk to 11.1 and installed the PHH's SuperUser (Magisk version) off of the official RT thread here on XDA.
Magisk Manager says I have Magisk 11.1 installed correctly and it is properly rooted, but my phone does not pass safety net, instead it says "CTS Profile Mismatch." After looking through the settings I saw the option for Magisk Hide so switched it off and back on and it says...
"You are not rooted with MagiskSU, using Magisk Hide might not be enough! It's not officially supported, and you would need additional tools (e.g Suhide) to pass Safety Net."
Can someone please help me with what to do?
Thank you,
Ollie Bednal.

obednal97 said:
HTC One M9
Venom Rom - ViperOne
Phh's SuperUser installed
Magisk 11.1 installed
Android N
Flashed a new rom (Viper) and it gave me the option to install PHH's SuperUser and Magisk, so I did. Once setting up the device I updated Magisk to 11.1 and installed the PHH's SuperUser (Magisk version) off of the official RT thread here on XDA.
Magisk Manager says I have Magisk 11.1 installed correctly and it is properly rooted, but my phone does not pass safety net, instead it says "CTS Profile Mismatch." After looking through the settings I saw the option for Magisk Hide so switched it off and back on and it says...
"You are not rooted with MagiskSU, using Magisk Hide might not be enough! It's not officially supported, and you would need additional tools (e.g Suhide) to pass Safety Net."
Can someone please help me with what to do?
Thank you,
Ollie Bednal.
Click to expand...
Click to collapse
Remove PHH Superuser completely - including apk - and re-flash Magisk.
osmOsis's UnSu script does a good job of removing all traces of root.

jhedfors said:
Remove PHH Superuser completely - including apk - and re-flash Magisk.
osmOsis's UnSu script does a good job of removing all traces of root.
Click to expand...
Click to collapse
Thank you for your quick response!
Where and how do I find and install the original boot.img to remove phh's superuser?

obednal97 said:
Thank you for your quick response!
Where and how do I find and install the original boot.img to remove phh's superuser?
Click to expand...
Click to collapse
The original boot image is what is in the ROM zip. However, as you mentioned that root is preinstalled, you should flash osmOsis's UnSu zip to get rid of root before reflashing Magisk.

jhedfors said:
The original boot image is what is in the ROM zip. However, as you mentioned that root is preinstalled, you should flash osmOsis's UnSu zip to get rid of root before reflashing Magisk.
Click to expand...
Click to collapse
Thank you very much for your help, just doing it now ?

jhedfors said:
The original boot image is what is in the ROM zip. However, as you mentioned that root is preinstalled, you should flash osmOsis's UnSu zip to get rid of root before reflashing Magisk.
Click to expand...
Click to collapse
Just done it all! It works beautifully!
I messed up the first time cause I couldn't remove Superuser app completely but I got round that and did it all again and its all green lights
Installed Magisk ☑
Rooted ☑
Safety net passed ☑
Thank you very much!

obednal97 said:
Just done it all! It works beautifully!
I messed up the first time cause I couldn't remove Superuser app completely but I got round that and did it all again and its all green lights
Installed Magisk ☑
Rooted ☑
Safety net passed ☑
Thank you very much!
Click to expand...
Click to collapse
Awesome!

cts profile mismatch
i have a xiaomi device which has epic rom based on android 6.0 with magisksu preinstalled by i cant bypass safetynet check either. what should i do?? i did a reinstall of magisk but it didn't helped.

aldo-000 said:
i have a xiaomi device which has epic rom based on android 6.0 with magisksu preinstalled by i cant bypass safetynet check either. what should i do?? i did a reinstall of magisk but it didn't helped.
Click to expand...
Click to collapse
If the ROM has Magisk pre-installed, you may want to check in the ROM thread. Otherwise try everything I suggested in this thread.

jhedfors said:
If the ROM has Magisk pre-installed, you may want to check in the ROM thread. Otherwise try everything I suggested in this thread.
Click to expand...
Click to collapse
uninstalling magisk, still can't bypass safetynet test but i can play pokemon go., wired.... i will ask about the rom. do you another way making pg playable on rooted device??

aldo-000 said:
uninstalling magisk, still can't bypass safetynet test but i can play pokemon go., wired.... i will ask about the rom. do you another way making pg playable on rooted device??
Click to expand...
Click to collapse
Did you do what I suggested? If so, can you say what you did?

aldo-000 said:
i have a xiaomi device which has epic rom based on android 6.0 with magisksu preinstalled by i cant bypass safetynet check either. what should i do?? i did a reinstall of magisk but it didn't helped.
Click to expand...
Click to collapse
Is it based on Developer or Stable ROM? Develop ROMs can't pass SafetyNet because they don't have the correct CTS profile. If it's based on Stable ROM, try flashing Global Stable again and Epic ROM afterwards, that might or might not help, no guarantees. You are only guaranteed to pass CTS profile match with Global Stable. But like you said, if Pokemon Go works you don't really need CTS profile.

i have moto E 3g 2 gen[OTUS] with Recusrtion remix 5.8.1 android 7
have flashed magisk but it gives error :1 error installing magisk 11.1 , while i did same with moto e [Condor] 1st gen and got success everything is working
even i clean the old su
can you help @jhedfors

Hi, I've just switched over to magisksu from supersu. I did as you suggested above... flashed unSu and the boot image and magisk. Then installed the Magisk manager from play store. It shows the device is rooted and that latest magisk is installed. However, safenet check fails.
Any suggestions on what to do?
Thanks

neptune_ said:
Hi, I've just switched over to magisksu from supersu. I did as you suggested above... flashed unSu and the boot image and magisk. Then installed the Magisk manager from play store. It shows the device is rooted and that latest magisk is installed. However, safenet check fails.
Any suggestions on what to do?
Thanks
Click to expand...
Click to collapse
Reboot with setting everything enable except disabling magisk it worked for me

Rush94 said:
Reboot with setting everything enable except disabling magisk it worked for me
Click to expand...
Click to collapse
Tried that, but SafetyNet check still fails

neptune_ said:
Tried that, but SafetyNet check still fails
Click to expand...
Click to collapse
Try enabling hide magisk enable busybox and then reboot

Rush94 said:
Reboot with setting everything enable except disabling magisk it worked for me
Click to expand...
Click to collapse
Rush94 said:
Try enabling hide magisk enable busybox and then reboot
Click to expand...
Click to collapse
Tried that too, still fails

neptune_ said:
Tried that too, still fails
Click to expand...
Click to collapse
Try some of the tips here:
https://forum.xda-developers.com/apps/magisk/magisk-magisk-hide-troubleshooting-tips-t3561828

Didgeridoohan said:
Try some of the tips here:
https://forum.xda-developers.com/apps/magisk/magisk-magisk-hide-troubleshooting-tips-t3561828
Click to expand...
Click to collapse
Thanks. I did read through there and tried some suggestions. Nothing seems to work.
I may have to use a rom that comes packaged with magisk?
Sent from my LG G3 using XDA Labs

Related

How to go from normal root to systemless root for Magisk?

Title says it all. Im currently using using SuperSU so looking for Systemless root and looking for Xposed to work as well.
Remove SuperSU, flash Magisk. That's basically it... If you have issues on the way there's lots of info in the support read and some things to try here:
https://forum.xda-developers.com/apps/magisk/magisk-magisk-hide-troubleshooting-tips-t3561828
Didgeridoohan said:
Remove SuperSU, flash Magisk. That's basically it... If you have issues on the way there's lots of info in the support read and some things to try here:
https://forum.xda-developers.com/apps/magisk/magisk-magisk-hide-troubleshooting-tips-t3561828
Click to expand...
Click to collapse
Do I remove SuperSU thru it's manager and then flash Magisk?
riahc3 said:
Do I remove SuperSU thru it's manager and then flash Magisk?
Click to expand...
Click to collapse
Yes, choosing the full unroot option. It is also good to have the unsu zip by osm0sis handy, but the full unroot option should work.
jhedfors said:
Yes, choosing the full unroot option. It is also good to have the unsu zip by osm0sis handy, but the full unroot option should work.
Click to expand...
Click to collapse
This just flash Magisk? No Xposed issues?
riahc3 said:
This just flash Magisk? No Xposed issues?
Click to expand...
Click to collapse
I don't use Xposed, as it does not work on Nougat. You will need to install the Xposed module in the Magisk Downloads tab.
jhedfors said:
I don't use Xposed, as it does not work on Nougat. You will need to install the Xposed module in the Magisk Downloads tab.
Click to expand...
Click to collapse
Im on 6.0 so I do and its important.
Well, here goes nothing I guess....
When SuperSU asked if I wanted to recover the boot image (I think it was that) I said no.
Issues with that?
Checking patch status
SuperSU patched boot detected!
Adding auto patch scirpt for supersu
SuperSU image mount failed...
Will still try to complete installation
Device still does boot...which I guess is still a good sign.
Says Ive lost root....
Magisk does say it is installed.
riahc3 said:
Checking patch status
SuperSU patched boot detected!
Adding auto patch scirpt for supersu
SuperSU image mount failed...
Will still try to complete installation
Device still does boot...which I guess is still a good sign.
Click to expand...
Click to collapse
Reflashed the SuperSU zip.....Opening Magisk Manager.....its currently stuck opening it. Only the logo with the background appears.
Android says "Magisk Manager is not responding".
OK! Wow, that took a while lol....
Latest version of Magisk installed....
Properly rooted
279:SUPERSU
Checking SafetlyNet Failed: CTS Profile Mismatch
riahc3 said:
Reflashed the SuperSU zip.....Opening Magisk Manager.....its currently stuck opening it. Only the logo with the background appears.
Android says "Magisk Manager is not responding".
OK! Wow, that took a while lol....
Latest version of Magisk installed....
Properly rooted
279:SUPERSU
Checking SafetlyNet Failed: CTS Profile Mismatch
Click to expand...
Click to collapse
CTS profile mismatch will happen if you're using SuperSU.
The one thing that went wrong was you saying no to restoring the boot image backup. If you want to use MagiskSU you'll need to flash it over a boot image that doesn't have the SuperSU patches.
Didgeridoohan said:
CTS profile mismatch will happen if you're using SuperSU.
The one thing that went wrong was you saying no to restoring the boot image backup. If you want to use MagiskSU you'll need to flash it over a boot image that doesn't have the SuperSU patches.
Click to expand...
Click to collapse
At this point, is there is a way to fix it?
I have gotten also gotten systemless Xposed installed
riahc3 said:
At this point, is there is a way to fix it?
I have gotten also gotten systemless Xposed installed
Click to expand...
Click to collapse
If you're happy with your current setup, leave it be. If you need to pass SafetyNet (you'll need to disable Xposed for that) you'll have to start over.
Didgeridoohan said:
If you're happy with your current setup, leave it be. If you need to pass SafetyNet (you'll need to disable Xposed for that) you'll have to start over.
Click to expand...
Click to collapse
Doesnt systemless Xposed pass SafetyNet?
riahc3 said:
Doesnt systemless Xposed pass SafetyNet?
Click to expand...
Click to collapse
No.
Didgeridoohan said:
No.
Click to expand...
Click to collapse
Oh! My mistake then
I could careless about SafetyCheck as I need Xposed modules.
Besides, that, then Magisk is working? That was pretty simple. Thank you for your help.
Reading thru your thread, I cant really see what SafetyCheck implies. Does it just affect that stupid Pokemon crap? I imagine it affects more things like banks but I dont think mines will depend on that.
riahc3 said:
Oh! My mistake then
I could careless about SafetyCheck as I need Xposed modules.
Besides, that, then Magisk is working? That was pretty simple. Thank you for your help.
Reading thru your thread, I cant really see what SafetyCheck implies. Does it just affect that stupid Pokemon crap? I imagine it affects more things like banks but I dont think mines will depend on that.
Click to expand...
Click to collapse
Magisk works fine with SuperSU. It's if you'd ever want to hide root from some process or app that you might have some trouble, since Magisk Hide is developed with MagiskSU in mind.
There are some banking apps, Android Pay, Pokemon Go other apps that utilise SafetyNet. I do believe that more and more apps will use in the future and the cat and mouse game of hiding root is gonna continue...
riahc3 said:
Im on 6.0 so I do and its important.
Well, here goes nothing I guess....
Click to expand...
Click to collapse
I am also on android 6.0.1 and need to install magisk to work with safetynet to install games like pokemon , supermario run etc . Why do you say Xposed is required? also, did full unroot from within superSU app worked for you or you flashed UnSu for that?
Thanks
anshulsingh said:
I am also on android 6.0.1 and need to install magisk to work with safetynet to install games like pokemon , supermario run etc . Why do you say Xposed is required? also, did full unroot from within superSU app worked for you or you flashed UnSu for that?
Thanks
Click to expand...
Click to collapse
I use Xposed modules in my daily life and cannot afford to be without them.

Uninstall exposed

Yesterday i migrated from cm 13 to cm14.1 (galaxy a500fu) and i tried to login to Snapschat before rooting the phone as i usually did on cm13, but is not working. I rooted it then full unruted from super su, tried root switcher also, none of those worked. So i gues the cm14.1 came with xposed preinstalled(is that possible?). I searched for the unistaller for 7.1 version but i only found for 6.1 and lower. Will it work if i install one of those lower zips?
Xposed is not out yet for Nougat, you can hide root via Magisk.
waseemmayaa said:
Xposed is not out yet for Nougat, you can hide root via Magisk.
Click to expand...
Click to collapse
tried Magisk too, when i open the app is telling me to install it from Play Store, a go there and "Item not found"
qp_blaze said:
tried Magisk too, when i open the app is telling me to install it from Play Store, a go there and "Item not found"
Click to expand...
Click to collapse
Install magisk manually from apkmirror or from any other website then install magisk zip by magisk app.
waseemmayaa said:
Install magisk manually from apkmirror or from any other website then install magisk zip by magisk app.
Click to expand...
Click to collapse
Managed to install it manually, but it won't pass safetynet check. I think is becouse of the custom rom. Searched a little bit more and found out that a kernel flash would fix this. You know nay kernel for my divice which cand pass safetynet?
qp_blaze said:
Managed to install it manually, but it won't pass safetynet check. I think is becouse of the custom rom. Searched a little bit more and found out that a kernel flash would fix this. You know nay kernel for my divice which cand pass safetynet?
Click to expand...
Click to collapse
Mate, if you want to pass the "saftynet" then enable the "Hide root" in the app setting in Magisk Manager then try it again.
Also after you have done that go to the Magisk Hide tab and select any app you want it to work with root enabled. This will allow you to have root and be able to use apps that does not work with root.
Sent from my Nexus 6P using XDA Labs

Magisk v12 loses root after a short while.

I noticed today that I lost root. I searched and tried everything to fix it but I couldn't. So, I wiped out my entire phone and did a clean flash of Resurrection Remix 5.8.3 for the TMobile Note 3. Magisk worked after a clean flash.
Spent hours loading every app back on and now, Magisk isn't working again?
Please help?
Android version is 7.1.2.
Did it really lose root? I've found that randomly when you open Magisk it will claim that it has no root access, but when you close it (exit the app and swipe it away from the recents menu) and reopen it it will start functioning properly again.
Neo3D said:
I noticed today that I lost root. I searched and tried everything to fix it but I couldn't. So, I wiped out my entire phone and did a clean flash of Resurrection Remix 5.8.3 for the TMobile Note 3. Magisk worked after a clean flash.
Spent hours loading every app back on and now, Magisk isn't working again?
Please help?
Android version is 7.1.2.
Click to expand...
Click to collapse
Use un su zip first to remove the pre-installed root that rr has. Don't know if RR has root inbuilt now or not. But if it comes with root uninstall it and flash magisk on top of it and you are good to go
Me too have this problem. Magisk root sometimes gone, and i need to reboot device to make it work agan.
Tested in almost N custom roms like CM14.1, AEX, Omni, ViperOS, etc
exodius48 said:
Me too have this problem. Magisk root sometimes gone, and i need to reboot device to make it work agan.
Tested in almost N custom roms like CM14.1, AEX, Omni, ViperOS, etc
Click to expand...
Click to collapse
Did u remove built in root
shantam3108 said:
Did u remove built in root
Click to expand...
Click to collapse
If you installed magisk it will remove built in root automatically. -_-
Did you turn off magisk busybox ? It would help on fix that.
In another way, some of modules you installed may have potential to make you lose root. Trying to do enable/disable module to test it.
I did some more searching and someone said just flash Magisk again. I did that and it worked! But, then I lost root again several hours later, seems so random? I flashed Magisk again and it worked again.
I can only get two green on Magisk, the third green seems to run forever, I left it on for 10+ minutes and it still showed "testing".
BTW, I didn't flash the uninstall Magisk zip before re-flashing. I tried that way and my phone got into a bootloop. Luckily, I had a TWRP backup.
Kris Chen said:
Did you turn off magisk busybox ? It would help on fix that.
In another way, some of modules you installed may have potential to make you lose root. Trying to do enable/disable module to test it.
Click to expand...
Click to collapse
Thanks! I'll try this and see if it helps!
BTW, is anyone able to install Snapchat? I tried the Hide feature in Magisk and checked Snapchat, but it still knows I'm rooted and immediately closes after opening.
Also, the Sphero BB8 app? Anyone get that working? That one also closes right after opening.
exodius48 said:
If you installed magisk it will remove built in root automatically. -_-
Click to expand...
Click to collapse
No magisk just overrides the root. Use Un su zip first then flash magisk and u won't lose root
---------- Post added at 01:21 AM ---------- Previous post was at 01:20 AM ----------
Neo3D said:
Thanks! I'll try this and see if it helps!
Click to expand...
Click to collapse
Also keep in mind do run magisk without any modules first to check
shantam3108 said:
No magisk just overrides the root. Use Un su zip first then flash magisk and u won't lose root
Click to expand...
Click to collapse
Then why on AEX still loose root? It has no root prebuilt
exodius48 said:
If you installed magisk it will remove built in root automatically. -_-
Click to expand...
Click to collapse
shantam3108 said:
No magisk just overrides the root. Use Un su zip first then flash magisk and u won't lose root
Click to expand...
Click to collapse
I just want to clarify.
If systemless SuperSU is detected, Magisk will use that. If any other root is installed, the installation script will attempt to remove it and install MagiskSU instead (not sure to be successful and might lead to issues). If no root is installed, MagiskSU will be used. To avoid issues, the unSU zip is quite useful.
From v13, Magisk will no longer be compatible with SuperSU.
Didgeridoohan said:
I just want to clarify.
If systemless SuperSU is detected, Magisk will use that. If any other root is installed, the installation script will attempt to remove it and install MagiskSU instead (not sure to be successful and might lead to issues). If no root is installed, MagiskSU will be used. To avoid issues, the unSU zip is quite useful.
From v13, Magisk will no longer be compatible with SuperSU.
Click to expand...
Click to collapse
Wow, this is very informative, thanks!
Which version of unSU.zip is the correct one to use? Is this one okay?
https://forum.xda-developers.com/showpost.php?p=63615067
Neo3D said:
Wow, this is very informative, thanks!
Which version of unSU.zip is the correct one to use? Is this one okay?
https://forum.xda-developers.com/showpost.php?p=63615067
Click to expand...
Click to collapse
That's the one to use. :good:
Neo3D said:
BTW, is anyone able to install Snapchat? I tried the Hide feature in Magisk and checked Snapchat, but it still knows I'm rooted and immediately closes after opening.
Also, the Sphero BB8 app? Anyone get that working? That one also closes right after opening.
Click to expand...
Click to collapse
It is because your device lost safety net.
You need to reflash system and gapps.
Back up data partition then wipe all then flash rom and gaps and then magisk.
After starting device first enable magisk hide.
Then restore backed up /data.
After restart enable magisk hide switches and reboot system.
Profit.
Reply it works or not.
[email protected] said:
It is because your device lost safety net.
You need to reflash system and gapps.
Back up data partition then wipe all then flash rom and gaps and then magisk.
After starting device first enable magisk hide.
Then restore backed up /data.
After restart enable magisk hide switches and reboot system.
Profit.
Reply it works or not.
Click to expand...
Click to collapse
I just flashed magisk again and safety passed!
Neo3D said:
I just flashed magisk again and safety passed!
Click to expand...
Click to collapse
Tell me how much time you have safety net pass?
[email protected] said:
Tell me how much time you have safety net pass?
Click to expand...
Click to collapse
Hi, what do you mean "how much time you have safety net pass?
Neo3D said:
Hi, what do you mean "how much time you have safety net pass?
Click to expand...
Click to collapse
This time after reinstalling magisk is it working till now?
Or root is gone after some time?

SafetyNet Check fails

Hey guys,
I've got a problem with the SafetyNet check.
Yesterday I rooted my Galaxy S8 and installed the Magisk Manager App und the newest version Magisk v14
Now I wanted to install Snapchat, but I can't due to the fact that the safetynet check fails.
I already reinstalled Magisk, unchecked,checked the box with magisk hide, checked the box for google play and snapchat in magisk hide.
I don't know what to do anymore. Do you guys have any tips for me please?
SpecialStar said:
Hey guys,
I've got a problem with the SafetyNet check.
Yesterday I rooted my Galaxy S8 and installed the Magisk Manager App und the newest version Magisk v14
Now I wanted to install Snapchat, but I can't due to the fact that the safetynet check fails.
I already reinstalled Magisk, unchecked,checked the box with magisk hide, checked the box for google play and snapchat in magisk hide.
I don't know what to do anymore. Do you guys have any tips for me please?
Click to expand...
Click to collapse
Try the universal safetynet patch that's in the magisk forum somewhere. I would link it but I'm in my phone atm and out.
Edit: here https://forum.xda-developers.com/apps/magisk/xiaomi-safetynet-fix-t3600431 - install it in twrp, not through magisk manager
Also, next time please post your magisk log here so that someone who knows what they are doing can look at it
I have seen someone else's log here, suggesting that you may need a patched or custom kernel for it to be supported. I don't have a Samsung phone so I can't confirm though.
Also: https://forum.xda-developers.com/apps/magisk/guide-magisk-troubleshooting-t3641417
Thank you, I uninstalled xposed framework and used the unsu script and it worked for me.
But now I've got another question. How do i get xposed work for my phone without failing the safetynet check?
I wanted to install snappref but it won't work this way
SpecialStar said:
Thank you, I uninstalled xposed framework and used the unsu script and it worked for me.
But now I've got another question. How do i get xposed work for my phone without failing the safetynet check?
I wanted to install snappref but it won't work this way
Click to expand...
Click to collapse
For the moment there is no such possibility if Xposed is installed on Nougat to SafetyNet failed, without Xposed is SafetyNet Pass Green.
Ok thank you, where can I read if it is available?
You Can install universal safetynet fix on recovery mode
SpecialStar said:
Hey guys,
I've got a problem with the SafetyNet check.
Yesterday I rooted my Galaxy S8 and installed the Magisk Manager App und the newest version Magisk v14
Now I wanted to install Snapchat, but I can't due to the fact that the safetynet check fails.
I already reinstalled Magisk, unchecked,checked the box with magisk hide, checked the box for google play and snapchat in magisk hide.
I don't know what to do anymore. Do you guys have any tips for me please?
Click to expand...
Click to collapse

SafetyNet Check fails

Hey guys, I'm rooted + magisk using the Dr. Ketan tool (Option 1) + Xposed + Beast Kernel. All good so far in regards to rooting, kernel and xposed.. Just the SafetyNet Check fails on Magisk. Tried changing the flash order to flash the Dr Ketan tool in the last, in case that would make it pass but no luck. So I've got a couple questions -
1. How to make SafetyNet pass
2. Can I update magisk version from magisk app? Or will I need to stick with the version that came along with the tool which is 17.2
Thnks!
You won't pass safetynet if you're using xposed (I don't think there's any way around it but uninstalling xposed)
n1Bb135 said:
You won't pass safetynet if you're using xposed (I don't think there's any way around it but uninstalling xposed)
Click to expand...
Click to collapse
Yep although my banking apps do pass well after hiding them via magisk, so that's good enough even if safetynet shows failed.
Any idea about if I can update magisk version other than coupled on the root tool?
Thanks!
rezapatel said:
Yep although my banking apps do pass well after hiding them via magisk, so that's good enough even if safetynet shows failed.
Any idea about if I can update magisk version other than coupled on the root tool?
Thanks!
Click to expand...
Click to collapse
In magisk manager there's an update prompt/button if there's an update
n1Bb135 said:
In magisk manager there's an update prompt/button if there's an update
Click to expand...
Click to collapse
Aware of that, but I meant to ask if it'd be okay to update the magisk version without a bootloop or any other issues.

Categories

Resources