[GUIDE] Magisk and MagiskHide installation and troubleshooting (Magisk v20.4)

Status
Not open for further replies.
Search This thread

Mandeep Hundal

Senior Member
Apr 24, 2017
104
4
Hello
Can we flash magisk zip without unencrypted internal storage ?
Does magisk also unencrypted storage then have reset mobile ?
 

Didgeridoohan

Retired Senior Moderator
May 31, 2012
12,300
1
14,848
Gone
Google Nexus 4
Nexus 6
You can flash Magisk. It does not conflict with encrypted data area.
Unfortunately, Magisk can't decrypt data area ((

To decrypt use something like https://xdaforums.com/android/software/universal-dm-verity-forceencrypt-t3817389

Besides the fact that this isn't a support thread and that the user didn't ask how to remove encryption (something that is not at all necessary to use Magisk), it is definitely possible to use Magisk to remove forced encryption (there's bound to be devices where it fails and that's why the tool you linked was created, but in general it works very well).
 

The Analog Kid

Senior Member
Dec 5, 2013
841
166
For me v19.1 causes conflict only with Apps2SD. It won't mount second partition after a reboot, but it finally mounts after two or three reboots later... ?

Sent from my Moto Z2 Play using XDA Labs
 

Didgeridoohan

Retired Senior Moderator
May 31, 2012
12,300
1
14,848
Gone
Google Nexus 4
Nexus 6
Exhaustive answer, thanks))

I followed the links and have read 'Magisk and MagiskHide Installation and Troubleshooting guide'

Please advise me can I decrypt my data area (encrypted by vendor(( using command

echo KEEPFORCEENCRYPT=false>>/data/.magisk

from TWRP terminal (as described in above guide)?

Probably... If not you have the tool you linked. But, keep in mind that no matter which tool you use you also have to format /data for the encryption to be removed.
 

chowhk

Member
Aug 7, 2009
11
1
magisk hide is not working on my asus zenfone 5z after updated magisk manager to 7.1.2 and magisk to v19.1. 1st i click the tick on the app box... but it automatically became untick, have tried reboot few times. any help would be appreciated
 

Paschfire

Senior Member
May 16, 2014
932
812
46
Ottawa
Samsung Galaxy A20
You're in the wrong thread to ask for support (this isn't a Magisk support thread), but feel free to follow the link in the OP to find information on what could possibly be done and how to properly ask for help.


Read the above quoted previous response from this forums moderator, as the same answer applies to your question(s).

magisk hide is not working on my asus zenfone 5z after updated magisk manager to 7.1.2 and magisk to v19.1. 1st i click the tick on the app box... but it automatically became untick, have tried reboot few times. any help would be appreciated


Sent from my OnePlus 3T using XDA Labs
 
  • Like
Reactions: Didgeridoohan

clcombs262

Senior Member
Oct 16, 2018
256
150
Monticello
Did a quick update earlier and added some info about the new Canary builds.
Sorry to bother you because im sure your busy

I've heard that a certain button combo on boot will toggle core only mode. What is it?

My issue is im on a/b device with no recovery partition and cant flash twrp since my maintainer hasn't updated the source with 3.3.0-0 so we have fastboot boot it. That sucks because I have no consistent access to a PC. So I need a plan b if a module screws something up and I cant boot
 

Didgeridoohan

Retired Senior Moderator
May 31, 2012
12,300
1
14,848
Gone
Google Nexus 4
Nexus 6
Sorry to bother you because im sure your busy

I've heard that a certain button combo on boot will toggle core only mode. What is it?

My issue is im on a/b device with no recovery partition and cant flash twrp since my maintainer hasn't updated the source with 3.3.0-0 so we have fastboot boot it. That sucks because I have no consistent access to a PC. So I need a plan b if a module screws something up and I cant boot

No button combo (that I know of)... https://didgeridoohan.com/magisk/Magisk#hn_Disable_all_modules

Solution: Don't mod your phone those times you don't have access to a PC.
 

Didgeridoohan

Retired Senior Moderator
May 31, 2012
12,300
1
14,848
Gone
Google Nexus 4
Nexus 6
Thats highly unlikely to.happen as im.lucky if I have access twice a week -I have to go to a library


But thanks for the answer, greatly appreciated

If you have a second device you could maybe use @osm0sis' ADB/Fastboot module (available in the Magisk repo). Have actually helped me a couple of times when I've been out and about and accidentally messed up my phone (I have the module installed on both mine and my wife's device).
 

clcombs262

Senior Member
Oct 16, 2018
256
150
Monticello
If you have a second device you could maybe use @osm0sis' ADB/Fastboot module (available in the Magisk repo). Have actually helped me a couple of times when I've been out and about and accidentally messed up my phone (I have the module installed on both mine and my wife's device).
I do have a second device
......But Alcatel removed fastboot from it, and it can't reboot to bootloader so I can't unlock the bootloader and flash magisk

---------- Post added at 08:04 PM ---------- Previous post was at 08:03 PM ----------

No button combo (that I know of)... https://didgeridoohan.com/magisk/Magisk#hn_Disable_all_modules

Solution: Don't mod your phone those times you don't have access to a PC.
I think I figured out what I was thinking of: on magisk in recovery based device, you hold down volume up to get to actual recovery
 

Didgeridoohan

Retired Senior Moderator
May 31, 2012
12,300
1
14,848
Gone
Google Nexus 4
Nexus 6

You're a bit of topic for this thread, but only barely...

Take a look here, try everything and if you still can't get it working post about it in the Magisk general support thread with as much detail about your device and what you've tried as possible:
https://www.didgeridoohan.com/magisk/MagiskHide#hn_Hiding_root_from_apps
 

Didgeridoohan

Retired Senior Moderator
May 31, 2012
12,300
1
14,848
Gone
Google Nexus 4
Nexus 6
why?
Magisk and MagiskHide installation and troubleshooting

I don't know what you mean, but in the guide you have a whole bunch of tips on how to hide root from apps. Please take a look:
https://www.didgeridoohan.com/magisk/MagiskHide#hn_Hiding_root_from_apps

If you still can't get things working after trying everything in there, please post on the Magisk general support thread.

Edit: ok... I get what you mean. This is the thread for the guide yes, but what you want to discuss is better suited for other places.
 
Last edited:
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 73
    This thread no longer servers a purpose. Closed...

    Magisk and MagiskHide installation and troubleshooting tips and tricks

    Updated for Magisk v20.4(20400) and Manager v7.5.1(267)(7)

    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
    • 2020-03-31
      • Updated for Magisk v20.4.
    • 2019-10-12
      • Updated for Magisk v20.0.
      • Added info on "Recovery mode".
      • Added info on "adb shell --remove-modules".
    • 2019-07-24
      • There's been plenty of small updates to different parts. Haven't really bothered with keeping track of the details.

    • 2019-06-15
      • Updated for Magisk v19.3.
    • 2019-05-27
      • Updated for Magisk v19.2.
    • 2019-05-02
      • Updated for Magisk v19.1.
    • 2018-12-09
      • Updated for Magisk v18.0.
    • 2018-09-09
      • Updated the possible locations for the .magisk file when enabling or disabling dm-verity and forced encryption (under "Installation issues").
    • 2018-09-07
      • Added info about the Canary builds to "Asking for help" and "Other things to try".
    • 2018-09-04
      • Updated for Magisk v17.1.
    • 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 @Tobi@s.
    • 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
    • 2020-03-31
      • Updated for Magisk v20.4.
      • Added info about updated SafetyNet checks.
    • 2019-10-12
      • Updated for Magisk v20.0.
    • 2019-07-28
      • Added a list of resources for a few select apps that are troublesome when it comes to hiding root.

    • 2019-07-24
      • There's been plenty of small updates to how to hide root from apps and other parts. Haven't really bothered with keeping track of the details.
    • 2019-06-15
      • Updated for Magisk v19.3.
    • 2019-05-27
      • Updated for Magisk v19.2.
    • 2019-05-02
      • Updated for Magisk v19.1.
    • 2019-02-09
      • Updated for Magisk v18.1.
    • 2018-12-09
      • Updated for Magisk v18.0
    • 2018-09-07
      • Added info about the Canary builds to "Asking for help" and "Other things to try".
    • 2018-09-04
      • Updated for Magisk v17.1.
    • 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.
    27
    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...
    19
    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. :good: 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
    16
    Just realised I had not updated the guide for Magisk v16.0. That's been fixed now... :good:

    Check the changelog in the OP and the guide can found here:
    https://www.didgeridoohan.com/magisk
    15
    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... :p As soon as I have access to a computer, it'll be updated.