FORUMS
Remove All Ads from XDA

[GUIDE] Magisk and MagiskHide installation and troubleshooting (Magisk v16.0)

6,534 posts
Thanks Meter: 5,122
 
By Didgeridoohan, Recognized Contributor on 24th July 2017, 07:42 AM
Thread Closed Email Thread
Magisk and MagiskHide installation and troubleshooting tips and tricks

Updated for Magisk v16.0 and Manager v5.8.3

What’s this?
This is a collection of troubleshooting tips and tricks for installing Magisk and Magisk modules and getting MagiskHide to work. Some of these tips might work if you have problems, some of them won’t.

The guide has been moved to a new location. I've created a wiki that is much more suited for the purpose of this guide. It's a lot easier to keep neat and clean, easier to link to, etc. The new location is:

https://www.didgeridoohan.com/magisk/

Check it out...

Keeping the changelog here though, for now:

Magisk - Installation and troubleshooting - Changelog
  • 2018-07-20
    • Have been doing small updates and additions here and there. The guides been updated to match Magisk v16.0 and Manager v5.8.3. As soon as v17.0 goes stable, I'll update for that.
  • 2018-03-01
    • Updated for Magisk v16.0 and Manager v5.6.1.
    • Removed "MagiskSU doesn’t work". Has been fixed.
    • Removed "MagiskSU doesn’t remember superuser". Has been fixed.
    • Removed "magisk_daemon -post-fs use a lot of CPU". Has been fixed.
  • 2018-02-05
  • 2018-01-11
    • Just updated Magisk version to v15.3. Nothing else is new.
  • 2018-01-09
    • Updated the guide for Magisk v15.2.
    • Updated “Keeping dm-verity and forced encryption”.
    • Updated “Bootloop”.
    • Updated how to uninstall the Manager under “Magisk Manager crashes”.
    • Updated “Can't install modules”
    • Updated “Module causing issues”
    • Updated “Tasker and MagiskSU”
    • Updated “Older versions of Magisk”
    • Updated “Asking for help”
    • Updated “Nothing works!”
    • Added “Invalid image: not signed”.
    • Added “Module will be updated at next reboot”
    • Added “Issues with f2fs”.
    • Added “Wifi stopped working”.
    • Added “MagiskSU doesn’t superuser access”.
    • Added “MagiskSU doesn’t work”.
  • 2017-09-25
    • Updated "Randomly losing root"
  • 2017-09-06
    • Updated for Magisk v14.0.
    • Added a new section, "Can't reboot after installing modules".
  • 2017-08-16
    • Updated links to the official documentation.
  • 2017-08-14
    • Slight update to "Magisk Manager crashes".
    • Added a new section, "magisk_daemon -post-fs use a lot of CPU".
  • 2017-08-11
    • Added a new section, "Keeping dm-verity and forced encryption".
  • 2017-08-08
    • Added a link to the Magisk Module Uninstaller, by @veez21, to "Module causing issues".
  • 2017-08-06
    • Added a new section, "The Magisk log is empty".
  • 2017-08-05
    • Updated the "Bootloop" section with info about keeping dm-verity and forced encryption. Also moved the section to the beginning of "Issues".
  • 2017-07-31
    • Moved "Developer options disappeared from settings" to this section, makes more sense...
  • 2017-07-26
    • Minor updates to "Moving from another systemless root solution to MagiskSU" and "Boot image patched by other programs".
  • 2017-07-21
    • Tasker v5.0 is released. Update "Tasker and MagiskSU" to reflect this.
  • 2017-07-19
    • Added some links to the Manager apk downloads on GitHub.
    • Updated and moved "Magisk Manager crashes".
    • Updated "Module causing issues".
    • Updated "Nothing works!".
  • 2017-07-17
    • Slight update to "Boot image patched by other programs".
  • 2017-07-14
    • Added a new section, "Moving from another systemless root solution to MagiskSU".
    • Added a new section, "Can't install modules".
    • Added a new section, "Apps are force closing".
  • 2017-07-13
    • Added a note about using themes with the Manager under "Magisk Manager is crashing".
  • 2017-07-12
    • Updated "Boot image patched by other programs".
    • Added a section about "Long boot time".
    • Added a section about "Magisk Manager crashes".
  • 2017-07-11
    • Updated for Magisk v13.1
  • 2017-06-19
    • Updated info about beta releases.
  • 2017-06-18
    • Moved "Outdated tips and tricks" to it's own post.
  • 2017-05-25
    • Some clarifications for SuperSU pre-patched boot image.
  • 2017-05-08
    • Added "Magisk but no MagiskSU"
    • Added a link to the solution for no MagiskSU on Sony devices by @[email protected].
  • 2017-05-06
    • Added some clarifying headings.
    • Added an index in the OP.
  • 2017-05-01
    • Slight clarification under "Asking for help".
  • 2017-04-19
    • Added "Starting fresh".
  • 2017-04-14
    • Added a link to a Magisk module for Tasker compatibility with MagiskSU.
  • 2017-04-09
    • Updated "Losing root".
  • 2017-04-04
    • Added "There are no modules".
  • 2017-03-31
    • Updated for Magisk v12.
    • Moved old and outdated tips and tricks to the bottom.
  • 2017-03-28
    • Minor clarification on Module issues.
    • Updated link to new Modules Collection thread.
  • 2017-03-21
    • Added information about updating.
    • Slight restructuring.
  • 2017-03-20
    • Updated for Magisk v11.6
  • 2017-03-14
    • Added a link to the Beta snapshot thread.
  • 2017-03-05
    • Added more ways to make Tasker recognise root with MagiskSU.
  • 2017-03-02
    • Changelog started.
    • Refinements.
  • 2017-02-23 - 2017-03-02
    • Various additions.
    • Refinements.
  • 2017-02-23
    • Initial post.


MagiskHide - Hiding root and passing Safety Net - Changelog
  • 2018-08-13
    • Added some tips for "Hiding root from apps".
  • 2018-07-20
    • Have been doing small updates and additions here and there. The guides been updated to match Magisk v16.0 and Manager v5.8.3. As soon as v17.0 goes stable, I'll update for that.
  • 2018-04-28
    • Updated info about getting the error "The response is invalid" when checking SafetyNet.
  • 2018-03-01
    • Updated for Magisk v16.0 and Manager v5.6.1.
    • Added info about Android logging and that it has to be enabled for MagiskHide to work. Various places.
  • 2018-02-05
  • 2018-01-11
    • Just updated Magisk version to v15.3. Nothing else is new.
  • 2018-01-09
    • Updated for Magisk v15.2.
    • Updated “Magisk hides”.
    • Updated “Things that may trigger apps looking for root and/or SafetyNet”.
    • Updated “Hiding root from apps”
    • Spoofing device fingerprint
    • I still can't pass SafetyNet
    • Updated “Apps added to the Hide list disappears after a reboot”
    • Updated “Older versions of Magisk”
    • Updated “Asking for help”
    • Updated “Nothing works!”
    • Added “Hiding the Magisk Manager”.
    • Added “Unhiding the Magisk Manager”.
    • Added “SafetyNet API error”
  • 2017-09-06
    • Updated for Magisk v14.0.
    • Added a new section, "Issues".
    • Added a new section, "Apps added to the Hide list disappears after a reboot".
    • Removed "Things that won't trigger SafetyNet".
    • Updated "Detecting Magisk Manager or apps requiring root".
  • 2017-08-16
    • Updated links to the official documentation.
  • 2017-08-06
    • Updated "The response is invalid" (and changed the name from "Invalid response").
    • Updated "Netflix (and other apps) won't install or doesn't show up/Device uncertified in Play store" (and changed the name from "Device uncertified in Play store/Some apps won't install or doesn't show up").
  • 2017-08-05
    • Added a new section, "The Magisk log is empty".
  • 2017-07-31
    • Added a new section, "Reverting prop values set by MagiskHide".
    • Added "Developer options" to the list of things that may trigger an app looking for root and a compromised device.
  • 2017-07-28
    • Added a new section, "Invalid response".
  • 2017-07-27
    • Added a new section, "Things that won't trigger SafetyNet".
  • 2017-07-19
    • Updated "Check the logs".
    • Updated "Nothing works!".
  • 2017-07-14
    • Added a link to a commit that fixes the disappearing Developer options issue on some ROMs with ro.build.type set to "user". Thank you @The Flash.
    • Moved "SafetyNet never finishes" to a more logical location.
  • 2017-07-11
    • Updated for Magisk v13.1.
  • 2017-07-06
    • Updated the section about "Magisk Manager" being detected. Renamed to "Detecting Magisk Manager or apps requiring root".
    • Removed duplicate information about SafetyNet being updated.
  • 2017-06-27
    • Updated info about "Spoofing device fingerprint".
    • Small update to "Dangerous props".
  • 2017-06-19
    • Updated info about beta releases.
  • 2017-06-18
    • Updated info about the latest SafteyNet update and how to bypass it.
    • Updated info about the Universal SafetyNet fix module by @Deic.
    • Added section about "Spoofing ro.build.fingerprint".
    • Moved "Outdated tips and tricks" to it's own post.
  • 2017-06-16
    • Added notes about the update to SafetyNet and how to bypass it.
  • 2017-06-01
    • Removed "Unlocked bootloader, permissive SELinux and Samsung KNOX".
    • Moved "Samsung KNOX".
    • Added "Magisk Manager".
  • 2017-05-26
    • Some more clarifications on "Magisk Hide isn't unmounting...".
    • Added info about multiuser under "Device uncertified...".
  • 2017-05-25
    • Added some info about setns support under "Magisk Hide isn't unmounting folders as it should".
  • 2017-05-19
    • Added "some Moto device" to known devices that need official prop values added to custom ROMs to pass SafetyNet.
    • Added a link to the guide to pass SafetyNet on Moto G 2015 by @coolguy_16.
    • Some clarifications about Samsung KNOX.
    • Minor clarifications on Play store certification.
  • 2017-05-14
    • Minor clarifications.
  • 2017-05-09
    • Added a new section, "Magisk v12 can't hide root (but v11.6 could)".
  • 2017-05-06
    • Added some more tips under "Magisk Hide isn't unmounting folder as it should" (Xiaomi devices).
    • Added some clarifying headings.
    • Added an index in the OP.
  • 2017-05-03
    • Added a section about matching official ROM prop values to pass SafetyNet.
    • Added a link to Xiaomi SafetyNet fix module by @Deic.
  • 2017-05-02
    • Slightly update information regarding SafetyNet incompatibility, CTS profile matching and Basic integrity.
    • Minor cosmetic changes, rearranging and typos.
  • 2017-05-01
    • Another small clarification. This time under "Asking for help".
    • Slight clarification on issues with unmounting.
  • 2017-04-28
    • Added a section about setting Logger buffer size to off breaking Magisk Hide.
  • 2017-04-25
    • Added a command to test for kernel logcat support and a possible solution for a lack thereof.
  • 2017-04-24
    • Moved info about busybox and systemless host issues to "Busybox conflict" and "Systemless hosts" under the section about Magisk hide not unmounting folders.
  • 2017-04-20
    • Added a section about certification status in the Play store. "Some apps won't install or doesn't show up in the Play store".
    • Added "Check the logs".
    • Added "Magisk Hide isn't unmounting folders as it should". Again: thank you @tamer7.
    • More minor clarifications.
  • 2017-04-19
    • Minor clarifications.
  • 2017-04-16
    • Added a note about Core Only Mode.
  • 2017-04-09
    • Added section about starting Magisk Hide manually.
    • Added section about Magisk built-in busybox or systemless hosts possibly causing SafetyNet to fail on some ROMs.
  • 2017-04-07
    • Updated "Dangerous props".
    • Updated information about Samsung KNOX (Samsung pay probably won't work).
  • 2017-03-31
    • Updated for Magisk v12.
    • Moved old and outdated tips and tricks to the bottom.
  • 2017-03-22
    • Changing prop values may have undesired effect (duh).
    • Moved "Restarting Magisk Hide" to the beginning of the text and updated it. Might be a good thing to start with when troubleshooting.
  • 2017-03-21
    • Added ro.build.flavor to "dangerous props".
    • Added information about what to try when a prop value isn't set properly.
    • More updates for Magisk v11.6 (resetprop added to PATH).
    • Clarifications.
  • 2017-03-20
    • Updated for Magisk v11.6
    • Removed "ro.build.selinux" from "dangerous props" since it might cause issues with SELinux.
  • 2017-03-15
    • Clarifications about finding out if you have "dangerous props" set to undesired values.
    • Added a new "dangerous prop" example (ro.build.selinux).
  • 2017-03-14
    • Added a link to the Beta snapshot thread.
  • 2017-03-10
    • Small update to the "Samsung..." section.
  • 2017-03-06
    • Clarification about setting props and figuring out dependencies, etc.
  • 2017-03-06
    • Added some info to "Dependencies".
    • Added section about how to figure out what an app is looking for to detect root.
  • 2017-03-03
    • Added some information about "Dangerous props".
    • Updated information about SafetyNet CTS profile mismatch and Basic integrity.
  • 2017-03-02
    • Changelog started.
    • Added Samsung SELinux tips.
    • Refinements.
  • 2017-02-23 - 2017-03-02
    • Various additions.
    • Refinements.
  • 2017-02-23
    • Initial post.
The Following 58 Users Say Thank You to Didgeridoohan For This Useful Post: [ View ] Gift Didgeridoohan Ad-Free
 
 
24th July 2017, 07:42 AM |#2  
Didgeridoohan's Avatar
OP Recognized Contributor
Flag Gothenburg
Thanks Meter: 5,122
 
Donate to Me
More
If you've followed a link looking for the Magisk and MagiskHide installation and troubleshooting guide, it has moved to a new location:

https://www.didgeridoohan.com/magisk/

Check it out...
The Following 23 Users Say Thank You to Didgeridoohan For This Useful Post: [ View ] Gift Didgeridoohan Ad-Free
24th July 2017, 07:42 AM |#3  
Didgeridoohan's Avatar
OP Recognized Contributor
Flag Gothenburg
Thanks Meter: 5,122
 
Donate to Me
More
If you've followed a link looking for the Magisk and MagiskHide installation and troubleshooting guide, it has moved to a new location:

https://www.didgeridoohan.com/magisk/

Check it out...
The Following 5 Users Say Thank You to Didgeridoohan For This Useful Post: [ View ] Gift Didgeridoohan Ad-Free
24th July 2017, 07:43 AM |#4  
Didgeridoohan's Avatar
OP Recognized Contributor
Flag Gothenburg
Thanks Meter: 5,122
 
Donate to Me
More
If you've followed a link looking for the Magisk and MagiskHide installation and troubleshooting guide, it has moved to a new location:

https://www.didgeridoohan.com/magisk/

Check it out...
The Following 11 Users Say Thank You to Didgeridoohan For This Useful Post: [ View ] Gift Didgeridoohan Ad-Free
24th July 2017, 07:44 AM |#5  
Didgeridoohan's Avatar
OP Recognized Contributor
Flag Gothenburg
Thanks Meter: 5,122
 
Donate to Me
More
If you've followed a link looking for the Magisk and MagiskHide installation and troubleshooting guide, it has moved to a new location:

https://www.didgeridoohan.com/magisk/

Check it out...
The Following 6 Users Say Thank You to Didgeridoohan For This Useful Post: [ View ] Gift Didgeridoohan Ad-Free
24th July 2017, 07:44 AM |#6  
Didgeridoohan's Avatar
OP Recognized Contributor
Flag Gothenburg
Thanks Meter: 5,122
 
Donate to Me
More
If you've followed a link looking for the Magisk and MagiskHide installation and troubleshooting guide, it has moved to a new location:

https://www.didgeridoohan.com/magisk/

Check it out...
The Following 3 Users Say Thank You to Didgeridoohan For This Useful Post: [ View ] Gift Didgeridoohan Ad-Free
24th July 2017, 07:44 AM |#7  
Didgeridoohan's Avatar
OP Recognized Contributor
Flag Gothenburg
Thanks Meter: 5,122
 
Donate to Me
More
If you've followed a link looking for the Magisk and MagiskHide installation and troubleshooting guide, it has moved to a new location:

https://www.didgeridoohan.com/magisk/

Check it out...
The Following 6 Users Say Thank You to Didgeridoohan For This Useful Post: [ View ] Gift Didgeridoohan Ad-Free
6th September 2017, 08:48 PM |#8  
Didgeridoohan's Avatar
OP Recognized Contributor
Flag Gothenburg
Thanks Meter: 5,122
 
Donate to Me
More
Updated for Magisk v14.0. Most of the changes since v13.3 was under the hood, so not much has changed in relation to this guide.
The Following 7 Users Say Thank You to Didgeridoohan For This Useful Post: [ View ] Gift Didgeridoohan Ad-Free
26th December 2017, 01:06 PM |#9  
Didgeridoohan's Avatar
OP Recognized Contributor
Flag Gothenburg
Thanks Meter: 5,122
 
Donate to Me
More
The guide is not forgotten... Magisk v15.0 is out in the real world and the guide do need to be updated. There are also a bunch of other stuff I plan to change and add.

But, it's the holidays and I will NOT do that on a phone... As soon as I have access to a computer, it'll be updated.
The Following 15 Users Say Thank You to Didgeridoohan For This Useful Post: [ View ] Gift Didgeridoohan Ad-Free
9th January 2018, 08:55 PM |#10  
Didgeridoohan's Avatar
OP Recognized Contributor
Flag Gothenburg
Thanks Meter: 5,122
 
Donate to Me
More
Ok!

Finally had some time to work on the guide.

It's been updated to Magisk v15.2 and there are also some reworked, updated and new sections. One major update is that the "Installing Magisk and modules" post has gotten so big it now needs two separate posts. If you have any links pointing to parts of this thread, they might now be broken...
The Following 14 Users Say Thank You to Didgeridoohan For This Useful Post: [ View ] Gift Didgeridoohan Ad-Free
5th February 2018, 09:07 PM |#11  
Didgeridoohan's Avatar
OP Recognized Contributor
Flag Gothenburg
Thanks Meter: 5,122
 
Donate to Me
More
Major update to the format, even though nothing new has been added to the guide.

Everything has been moved to a new location, my own little wiki where I have much better control over editing, layout, linking, etc. Now that everything's moved over and functional, I'll start polishing and updating everything over there instead.

Go check it out! You'll find it at the following address:
https://www.didgeridoohan.com/magisk
The Following 20 Users Say Thank You to Didgeridoohan For This Useful Post: [ View ] Gift Didgeridoohan Ad-Free
Thread Closed Subscribe to Thread

Tags
hide, magisk, magiskhide, root, safetynet
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes