How do I install MagiskSU? - Magisk

Hey,
I've been trying to install Magisk and it asks me to have SuperSU installed before I do, which I don't want. How do I install MagiskSU or even Magisk if it asks me to install SuperSU?...
Thanks

Keagel said:
Hey,
I've been trying to install Magisk and it asks me to have SuperSU installed before I do, which I don't want. How do I install MagiskSU or even Magisk if it asks me to install SuperSU?...
Thanks
Click to expand...
Click to collapse
Try flashing Magisk in recovery.

jhedfors said:
Try flashing Magisk in recovery.
Click to expand...
Click to collapse
It's what I did, that's where it tells me to install SuperSU first :/

Keagel said:
It's what I did, that's where it tells me to install SuperSU first :/
Click to expand...
Click to collapse
Can you give more details? What ROM, Magisk version, logs, etc?
I would suggest flashing osmOsis's UnSU zip, then Magisk v11.2.

Keagel said:
Hey,
I've been trying to install Magisk and it asks me to have SuperSU installed before I do, which I don't want. How do I install MagiskSU or even Magisk if it asks me to install SuperSU?...
Thanks
Click to expand...
Click to collapse
Your boot image is pre-patched for SuperSU. Flash a clean boot image.

Yeah I found the original boot.img of the stock rom my rom is based on and flashed it and it fixed it! Thanks guys

how to find the original boot.img?

ydstark23 said:
how to find the original boot.img?
Click to expand...
Click to collapse
in twirp
restore> select correct folder > check boot > flash

ydstark23 said:
how to find the original boot.img?
Click to expand...
Click to collapse
In the ROM zip.
In case it has built-in superuser, I would suggest flashing osmOsis's unsu zip as well.

Is MagiskSU just another name for Magisk? A module I want to install has the following requirements:
Requirements:
Magisk v13.x/14.0
MagiskSU
I have Magisk v14.5 installed so does that mean I automatically have MagiskSU or is that something additional I have to add?

alryder said:
Is MagiskSU just another name for Magisk? A module I want to install has the following requirements:
Requirements:
Magisk v13.x/14.0
MagiskSU
I have Magisk v14.5 installed so does that mean I automatically have MagiskSU or is that something additional I have to add?
Click to expand...
Click to collapse
That requirement is probably a remnant from when Magisk also was compatible with SuperSU. It's not anymore, so when installing Magisk you get MagiskSU along with it.

Didgeridoohan said:
That requirement is probably a remnant from when Magisk also was compatible with SuperSU. It's not anymore, so when installing Magisk you get MagiskSU along with it.
Click to expand...
Click to collapse
Thanks! I was confused by that and I couldn't find a good answer when searching. Your help is greatly appreciated!

Oddly, I don't have any root after installing Magisk v15 via recovery. Magisk is working, integrity tests are both green, can install all the modules with no problem and integrity tests are still green, but no root.
Interesting, isn't it?

How i know i've got magiskSU?

Leogur said:
How i know i've got magiskSU?
Click to expand...
Click to collapse
Did you install magisk? Or is it included in your rom? Do you see magisk manager app?

Yes i've. But i still can't fix safetynet problem.

Related

[GUIDE] [How To] Play Pokemon Go with Superuser (Root enabled)

How To Play Pokemon Go with Superuser (Root enabled)​
Note:
IT MIGHT CAUSE BOOTLOOP OR MIGHT BRICK YOUR DEVICE. MAKE SURE YOU HAVE A BACKUP.
Requirement:
Fresh Installation of Rom or Dirty Flash of your current rom (I tested it on CM and RR- Fresh.It might work on other custom roms.)
TWRP Recovery
Magisk: http://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
unSU Script : http://forum.xda-developers.com/attachment.php?attachmentid=3931994&d=1478779893
Steps:
1. Reboot into Recovery
2. Flash unSU Script and Magisk in order.
3. Reboot into System. (Mobile should boot without bootloop, otherwise you have to reinstall the ROM and try again)
4. Install Phh Superuser from here: https://play.google.com/store/apps/details?id=me.phh.superuser&hl=en.
4. Open Magisk Manager ( Update it,if it is asked) and it will ask you for SU permission. Allow it.
6. Go to Settings and Tick " Enable Magisk Hide " and Reboot your phone.
7. Once again Magisk Manager and it will show status of SafetyNet at 3rd row and It should Passed.
Install PokemonGo and Enjoy
Credits:
@topjohnwu
@phhusson
@Hw4ng3r
@Tikerz
Updates:
8/1/17
Updated the steps with New Magsik version 10.2
I did a clan flash. Booted and let everything settle. The rebooted into TWRP recovery. Mounted system, and deleted (or renamed) the Su files from system/bin and system/xbin. This removes root but I can play Pokémon.
Jowhee said:
I did a clan flash. Booted and let everything settle. The rebooted into TWRP recovery. Mounted system, and deleted (or renamed) the Su files from system/bin and system/xbin. This removes root but I can play Pokémon.
Click to expand...
Click to collapse
This guide is for keeping root AND passing SafetyNet.
BTW, this method also works on CM13 and OOS.
It didn't mention keeping root in the title.
Jowhee said:
It didn't mention keeping root in the title.
Click to expand...
Click to collapse
Sorry for the confusion.
Updated the thread.
SafetyNet Helper fails after following the steps:
SafetyNet request: success
Response Validation: success
CTS profile match: failure
Click to expand...
Click to collapse
Do we need to go back into fastboot and disabled the bootloader unlock?
nphillips said:
SafetyNet Helper fails after following the steps:
Do we need to go back into fastboot and disabled the bootloader unlock?
Click to expand...
Click to collapse
Not necessarily. Some kernels such as blu_kernel bypass the bootloader check. Try it out.
svprm said:
How To Play Pokemon Go with Superuser (Root enabled)​
Click to expand...
Click to collapse
can Xposed work along with PoGo ?
samnaction said:
can Xposed work along with PoGo ?
Click to expand...
Click to collapse
I'm not sure. I didn't test it.
But you can install the Xposed Framework module through Magisk Manager.
In CM builds you don't need all this you just need this simple app:
http://forum.xda-developers.com/android/apps-games/isu-simple-app-to-deactivate-activate-t3478348
I'm gonna assume this doesn't work with CM12.1 right?
Yepi69 said:
I'm gonna assume this doesn't work with CM12.1 right?
Click to expand...
Click to collapse
I didn't try.
But you can try and post the result here that would help others.
I followed the steps in the first post and everything went OK. I'm using oxygen Os nougat 0.9
Thanks for your tutorial.
Does this mean that CM14.1 passes safetynet now? I don't exactly need root but when I tried it a few weeks ago PKMN Go told me that the OS I had was not supported.
rdar_93 said:
Does this mean that CM14.1 passes safetynet now? I don't exactly need root but when I tried it a few weeks ago PKMN Go told me that the OS I had was not supported.
Click to expand...
Click to collapse
Yes, cm 14.1 could pass safety net with this.
This works for sure. But if you're running a secondary ROM using MultiROM the modified boot.img will cause safetynet to indeed fail. I hope they do bring an update soon to fix this though.
Daft question, but i'm unable to use an online banking app, due to being rooted. I know this relates to PokemonGo, but wondering if this could fool the banking app?
I am using H2OS beta (Nougat) and I followed the below steps, but safety net is failing.
1. Dirty flash current ROM
2. Flash UnSU.zip
3. Flash magisk and phh zips
4. Reboot
5. Install Magisk Manager and Phh superuser
6. check safety net
Is there anything which I'm doing wrong? Can you help me please. Thank you
Edit: A reboot and everything worked fine. Thank you so much
Sorry to disturb this thread, but I am a bit confused because the official Magisk thread nowhere mentions that phh's su would be the only working su solution:
topjohnwu said:
If you're using Magisk v7+ with Magisk version of phh's superuser , or rooted with Official Systemless SuperSU (Android 6.0+ only)
If you choose to use SuperSU (only support Android 6.0+)
Click to expand...
Click to collapse
So I am really wondering about your step 2 ...
svprm said:
2. Flash unSU Script, Magisk and phh's SuperUser Magisk.
Click to expand...
Click to collapse
pathologo said:
Sorry to disturb this thread, but I am a bit confused because the official Magisk thread nowhere mentions that phh's su would be the only working su solution:
So I am really wondering about your step 2 ...
Click to expand...
Click to collapse
Actually i didn't try with SuperSu.So i mentioned phh's SU.
It might work with SuperSu too.

Magisk and custom ROM update

Hi, I'm using Magisk on my LG G2 with RessurectionRemix 5.7 and am looking to update to the Nougat version 5.8. I want to start clean, so will wipe system before the update, but will I have to flash Magisk again after that? What are the steps here, flash the ROM + gapps, unroot, flash Magisk?
de.er said:
Hi, I'm using Magisk on my LG G2 with RessurectionRemix 5.7 and am looking to update to the Nougat version 5.8. I want to start clean, so will wipe system before the update, but will I have to flash Magisk again after that? What are the steps here, flash the ROM + gapps, unroot, flash Magisk?
Click to expand...
Click to collapse
Yep that should be about it. To be sure try safetynet after unrooting and after magisk
guessingagain said:
Yep that should be about it. To be sure try safetynet after unrooting and after magisk
Click to expand...
Click to collapse
Flashed the ROM and magisk last night, so far so good, safetynet passes I went for a clean install this time, but if I was to dirty flash an update now would magisk survive that?
de.er said:
Flashed the ROM and magisk last night, so far so good, safetynet passes I went for a clean install this time, but if I was to dirty flash an update now would magisk survive that?
Click to expand...
Click to collapse
No because Magisk modifies the boot image, which gets overwritten with a new one when you flash a ROM, clean or dirty. So you'll need to flash Magisk again.
The Flash said:
No because Magisk modifies the boot image, which gets overwritten with a new one when you flash a ROM, clean or dirty. So you'll need to flash Magisk again.
Click to expand...
Click to collapse
Was suspecting this might be the case, thanks for clarifying this. At least I know all the steps now, should be only getting more familiar with every flash
de.er said:
Flashed the ROM and magisk last night, so far so good, safetynet passes I went for a clean install this time, but if I was to dirty flash an update now would magisk survive that?
Click to expand...
Click to collapse
afaik Resurrection Remix has addon.d (check if /system/addon.d exists)
you can test this https://github.com/osm0sis/GN-Synap...mdisk/res/synapse/scripts/999-customkernel.sh or modify it to flash magisk instead of the backup (in case you got an updated kernel)
crusader727 said:
afaik Resurrection Remix has addon.d (check if /system/addon.d exists)
you can test this https://github.com/osm0sis/GN-Synap...mdisk/res/synapse/scripts/999-customkernel.sh or modify it to flash magisk instead of the backup (in case you got an updated kernel)
Click to expand...
Click to collapse
wow, that'd be great if it worked. I can confirm addon.d exists, I might try this next time. Do I just put the script into addon.d and flash ROM?
de.er said:
Do I just put the script into addon.d and flash ROM?
Click to expand...
Click to collapse
yes :good:
//btw:
yesterday I posted a feature request to add this to Magisk Manager: https://github.com/topjohnwu/MagiskManager/issues/72
crusader727 said:
yes :good:
//btw:
yesterday I posted a feature request to add this to Magisk Manager: https://github.com/topjohnwu/MagiskManager/issues/72
Click to expand...
Click to collapse
Flashed an RR update to 5.8.1 over the weekend and it went smoother than I expected, to be honest. Didn't use the script you mentioned in the end, just flashed the new ROM, gapps, unsu.zip, magisk and phh's su in TWRP and rebooted. Simple.
de.er said:
Flashed an RR update to 5.8.1 over the weekend and it went smoother than I expected, to be honest. Didn't use the script you mentioned in the end, just flashed the new ROM, gapps, unsu.zip, magisk and phh's su in TWRP and rebooted. Simple.
Click to expand...
Click to collapse
Yes, of course the manual method works :good:
phh-SU was removed in Magisk v11 btw - root is now integrated (MagiskSU).
I still need to have phh's Superuser management app installed. And now on boot I get a notification that my SU binary is out of date. The transition here has been a bit rough.
sweenish said:
I still need to have phh's Superuser management app installed. And now on boot I get a notification that my SU binary is out of date. The transition here has been a bit rough.
Click to expand...
Click to collapse
Are you on about updating your ROM or magisk? Phh su app is required for magisk v10.2, you need to remove it if you're using magisk v11 or later
The Flash said:
No because Magisk modifies the boot image, which gets overwritten with a new one when you flash a ROM, clean or dirty. So you'll need to flash Magisk again.
Click to expand...
Click to collapse
In reference to this, does reflashing Magisk alter anything within Magisk? Namely and really the only thing that would come to mind is it downgrading the Manager app to whatever is in the installer and possibly resetting it settings.

Max 2 - unlocked - root/magisk - SafetyNet pass not possible...?

Hello
I unlocked may max 2 today and flashed twrp. To boot a Stock Dev. or Stable ROM is only possible when SuperSU or Magisk is installed - or I stuck at the bootlogo.
BUT with both solution I'm not able to pass the SafetyNet test And this makes the Max 2 to a useless stone for me....
Has anyone passed the SafetyNet test with a unlocked phone?
RheinPirat said:
Hello
I unlocked may max 2 today and flashed twrp. To boot a Stock Dev. or Stable ROM is only possible when SuperSU or Magisk is installed - or I stuck at the bootlogo.
BUT with both solution I'm not able to pass the SafetyNet test And this makes the Max 2 to a useless stone for me....
Has anyone passed the SafetyNet test with a unlocked phone?
Click to expand...
Click to collapse
Yes I'm able to pass safety net
Donot install SuperSU
Just magisk is sufficient with usnf magisk module
reversegear said:
Yes I'm able to pass safety net
Donot install SuperSU
Just magisk is sufficient with usnf magisk module
Click to expand...
Click to collapse
First i tried it with SuperSu and failed.. and the 2nd, 3th, 4th and 5th attempt failed with only Magisk
usnf module? What is this and where can I find it?
RheinPirat said:
First i tried it with SuperSu and failed.. and the 2nd, 3th, 4th and 5th attempt failed with only Magisk
usnf module? What is this and where can I find it?
Click to expand...
Click to collapse
usnf module : https://forum.xda-developers.com/apps/magisk/xiaomi-safetynet-fix-t3600431
If u had flashed SuperSU then
1. u have to remove all traces of SuperSU search for unsu.zip by osm0sis
2. Then flash stock boot.img coz it's patched by SuperSU
3. Finally flash magisk and usnf module
Safety net passes
reversegear said:
usnf module : https://forum.xda-developers.com/apps/magisk/xiaomi-safetynet-fix-t3600431
If u had flashed SuperSU then
1. u have to remove all traces of SuperSU search for unsu.zip by osm0sis
2. Then flash stock boot.img coz it's patched by SuperSU
3. Finally flash magisk and usnf module
Safety net passes
Click to expand...
Click to collapse
Thank U :fingers-crossed:
It worked with the usnf module - didn't know about that
reversegear said:
usnf module : https://forum.xda-developers.com/apps/magisk/xiaomi-safetynet-fix-t3600431
If u had flashed SuperSU then
1. u have to remove all traces of SuperSU search for unsu.zip by osm0sis
2. Then flash stock boot.img coz it's patched by SuperSU
3. Finally flash magisk and usnf module
Safety net passes
Click to expand...
Click to collapse
Hi
i cant install magisk v14
now im using miuipro 7.10.26 n only can install magisk v12
installation error on v14..
please guide me to install v14..
thanks...
ghaf85 said:
Hi
i cant install magisk v14
now im using miuipro 7.10.26 n only can install magisk v12
installation error on v14..
please guide me to install v14..
thanks...
Click to expand...
Click to collapse
please give me some more info...
what error do you get while installing magisk v14
try uninstalling magisk v12 before flashing v14
reversegear said:
please give me some more info...
what error do you get while installing magisk v14
try uninstalling magisk v12 before flashing v14
Click to expand...
Click to collapse
Installation error.
failed
boot image patched by other programs!
please restore stock boot image
can you please attach your file and step..
thanks..
ghaf85 said:
Installation error.
failed
boot image patched by other programs!
please restore stock boot image
can you please attach your file and step..
thanks..
Click to expand...
Click to collapse
Extract boot.img from ur current rom.zip
Flash boot.img via recovery
Flash magisk v14 u r good to go
Let me know if u have any issues
anyway to bypass safetynet on lineage.. using the usnf module result in a bootloop..
reversegear said:
Extract boot.img from ur current rom.zip
Flash boot.img via recovery
Flash magisk v14 u r good to go
Let me know if u have any issues
Click to expand...
Click to collapse
thanks man...
its work..
hahahaha
:good::good::good::good:
Hello sir,can you give me link for install magisk on my mi max 2.please
zaffan said:
Hello sir,can you give me link for install magisk on my mi max 2.please
Click to expand...
Click to collapse
Here you go.
Apk https://drive.google.com/file/d/1uvDfaI1W6gByWGqm4ffSt9otN3ise3K9/view?usp=drivesdk
Zip https://drive.google.com/file/d/1tx0QmtMiBax2XPTTr7fsBqLXuwtwhUYy/view?usp=drivesdk
mimsiroll said:
Here you go.
Apk https://drive.google.com/file/d/1uvDfaI1W6gByWGqm4ffSt9otN3ise3K9/view?usp=drivesdk
Zip https://drive.google.com/file/d/1tx0QmtMiBax2XPTTr7fsBqLXuwtwhUYy/view?usp=drivesdk
Click to expand...
Click to collapse
Thanks for your feedback sir,but im already install before your reply.Already succes install magisk,but has problem with whatsapp notification.
zaffan said:
Thanks for your feedback sir,but im already install before your reply.Already succes install magisk,but has problem with whatsapp notification.
Click to expand...
Click to collapse
No clue regarding the said app, check your notification if you happen to made some adjustment or if your using apps like greenify or brevent try to make an excemption to your messaging app Cheers.
mimsiroll said:
No clue regarding the said app, check your notification if you happen to made some adjustment or if your using apps like greenify or brevent try to make an excemption to your messaging app Cheers.
Click to expand...
Click to collapse
Im just has magisk only,i will try install greenify and see if anything change.Thanks,im appreciate you help me sir.Sorry my bad english.
zaffan said:
Im just has magisk only,i will try install greenify and see if anything change.Thanks,im appreciate you help me sir.Sorry my bad english.
Click to expand...
Click to collapse
i see, what i mean is, you just have to check your settings if you have configured your notification to make the whatsapp unable to give notification. if you happen to use greenify or brevent make sure it is not in the list of being hibernated or being killed in the background process of your mobile phone.
Hi. The fight with SafetyNet is not worth of time. You can hide root but you will not be able to hide xposed. Xposed + XPrivalyLua is much more valuable.
Miui Global Dev 8.14 19
freshly installed OS
flashed twrp 3.2.1.0
flashed magisk v14
flashed unfs
installed latest magisk manager
error 1 ( i googled all the work arounds, even flashed my boot.img )
see error below please help i tried it 9 times still no luck
never mind, i managed to fully pass safetynet on Magisk V16 w/o unfs to global stable rom 9.5.4.0

Question Magisk 24.3 Bootloop

Anyone else the latest Magisk update causes Bootloop when installing modules?
use 24.1, is perfect
OK THANKS, I HOPE FUTURE UPDATES WILL WORK CORRECTLY ON THE DEVICE
a question: do u have repatched boot.img with new magisk version? you must do it
wetito said:
use 24.1, is perfect
Click to expand...
Click to collapse
I'm still using v23 .. just to be sure lol ! but now i know 24.1 is good thank you!
PonchoNz said:
Anyone else the latest Magisk update causes Bootloop when installing modules?
Click to expand...
Click to collapse
Use Magisk 24.3 and patch the boot file -> Flash the boot file in fastbootd
Done.
i have flashed 24.1 using fastboot. for 24.3 fastbiitd is necessary? i ask just i case in the future i will decide update to latest version
wetito said:
a question: do u have repatched boot.img with new magisk version? you must do it
Click to expand...
Click to collapse
Yep but update it by TWRP
nguadien said:
Use Magisk 24.3 and patch the boot file -> Flash the boot file in fastbootd
Click to expand...
Click to collapse
Done I did it too but when I install a Module called NFS Injector or Magnetar when I restart the device it gives bootloop
PonchoNz said:
Done I did it too but when I install a Module called NFS Injector or Magnetar when I restart the device it gives bootloop
Click to expand...
Click to collapse
Then the problem is the modules you installed, not "latest Magisk update" like you stated.
Not all modules work for all devices, each device reacts to modules very differently, so boot loop caused by modules should not be mistaken for the whole Magisk.

Followed the install but phone is not rooted

What should i do/try/check when i have followed the install procedure (correctly and tried severel times) but my phone is not rooted?
LineageOS 20.0, Magisk 23.0
Use magisk 25.2? Did you direct install?
Yeah, well. I need magiks-hide so 23.0 is the latest i can use. Not sure what direct install means, i downloaded the boot.img, install magisk into it using the app, and then did the fastboot flash-thingy.
revt3949 said:
Yeah, well. I need magiks-hide so 23.0 is the latest i can use. Not sure what direct install means, i downloaded the boot.img, install magisk into it using the app, and then did the fastboot flash-thingy.
Click to expand...
Click to collapse
Use magisk delta. It has magisk hide, and a lot more on the latest magisk.
Great, where can i find this magisk delta?
revt3949 said:
Great, where can i find this magisk delta?
Click to expand...
Click to collapse
Where is this?
Yeah well, that does not look like it is matured software: no explaination what magisk delta is, where magisk delta is different from normal magisk, no details on how to install, etc.
Not sure that i want to brick my phone with this tool.
revt3949 said:
Yeah well, that does not look like it is matured software: no explaination what magisk delta is, where magisk delta is different from normal magisk, no details on how to install, etc.
Not sure that i want to brick my phone with this tool.
Click to expand...
Click to collapse
Lmao. Look at its Xda thread. Much better alternative. Has material you, bootloops protection, system installation, different ways to load zygote, sulist, magisk hid, etc,etc. Its like magisk on steroids, while being twice as reliable.
revt3949 said:
Yeah well, that does not look like it is matured software: no explaination what magisk delta is, where magisk delta is different from normal magisk, no details on how to install, etc.
Not sure that i want to brick my phone with this tool.
Click to expand...
Click to collapse
You install same way.
Arealhooman said:
You install same way.
Click to expand...
Click to collapse
How do you mean "the same way"?
I mean with magisk, i unzip the boot.img, patch it using the magisk app and then fastboot flash it on the device. But sure i can not use the magisk app to patch Magisk Delta into the boot.img, right?
So, is there a magisk delta app somewhere that does the patching?
revt3949 said:
How do you mean "the same way"?
I mean with magisk, i unzip the boot.img, patch it using the magisk app and then fastboot flash it on the device. But sure i can not use the magisk app to patch Magisk Delta into the boot.img, right?
So, is there a magisk delta app somewhere that does the patching?
Click to expand...
Click to collapse
Yes. On the GitHub. You can also flash thru twrp. Use previous links I sent.
Just install the magisk delta app and got it all working. The MD app even recognised the existing magisk kernel and offered to do a direct install.
Very happy and thank you for all the support. Will make a donation soon.
lol tried the magisk delta and flashed the .img but in boot loop now.on moto g play 2023.. so maybe no support for that yet.. reflashed original patched boot.img and back
Same here. Direct installed Magisk Delta. But after restart phone become non rooted, unable to prompt magisk. But only magisk delta able to hide the root from banking apps. It is quite irritating. Did you figured anyway on this issue?
Hey Victorlmy i had to flash the original magisk patched file back to get it to boot again... hold the volume down and power buttons till you get it to boot to bootloader and reflash.. still tring to figure out why it didnt boot

Categories

Resources