Magisk General Support / Discussion

Search This thread

meric57

Senior Member
Oct 2, 2017
287
56
Oeutrange
Samsung Galaxy Tab E
Bonjour, j'ai regardé dans les modules fox manager pour voir à quoi sert certain module.
Quelqu'un peut-il m'expliquer à quoi servent ces 4 modules que je vais citer et m'aider un peu avec mon souci de perte de magisk comme expliqué dans mes posts.
Assistant TRWP - gestionnaire de magisk pour le mode de récupération (mm) -SSH pour magisk - protecteur de boucle de démarrage magisk.
Je pense qui doit en avoir un ou plusieurs qui vont m'aider avec mon problème, non
 
Last edited:
Feb 5, 2023
41
5
Bit confusing what you did... You extract and patch one boot image only; either boot.img (WITHOUT selecting Recovery mode) or recovery.img with Recovery mode set, NOT both! ... To access rooted system in recovery mode you will always need to boot via recovery with recovery key combo but release all buttons at splash screen to bypass recovery and boot to system with root...

Nb. Recovery mode means Magisk in recovery ramdisk... It has nothing to do with flashing via custom recovery (TWRP etc), and can't be flashed that way in any case...

In your case you can simply ignore Ramdisk = No! This is because Xiaomi bootloaders are (inexplicably) compatible with ramdisk in boot partition despite the OEM not installing one in A-Only legacy SAR devices, and Magisk always installs basic ramdisk where OEM Randisk is missing... (Magisk continues to display Ramdisk = No to indicate No OEM Ramdisk in boot.)

This means you extract and patch your boot.img (Ensure Recovery mode is NOT selected) and flash the resulting image to boot partition.

To fix you device, simply fastboot flash both unpatched boot.img and recovery.img then check device boots/operates normally again.

Next, ensure you have ROM package corresponding exactly to current running OS version and extract boot.img to patch/flash as above... Alternatively, you can install TWRP and make a backup of boot partition, obtain that from Backups and use this image. You may not even need to rename .win extension as .img, but can if you wish...

Please read John's Installation Instruction page carefully also because all necessary information is actually treated there...

Hope this helps... Please report results. 🙂 PW
i tried to flash stock boot.img adn TWRP.img but if i flash the TWRP (No Ramdisk) phone just loads in recovery, and i flashed the recovery with the recovery option, then via magisk i have patched boot (didn't flashed it by myself, magisk did)
 

pndwal

Senior Member
i tried to flash stock boot.img adn TWRP.img but if i flash the TWRP (No Ramdisk) phone just loads in recovery, and i flashed the recovery with the recovery option, then via magisk i have patched boot (didn't flashed it by myself, magisk did)
I don't really understand much of this... Is this stuff you've done since my response to you? Or before? 🤔
i tried to flash stock boot.img adn TWRP.img
Sorry, I have no idea what this means... What's 'adn'? 🤔
but if i flash the TWRP (No Ramdisk) phone just loads in recovery,
So are you trying to flash TWRP?... Why?... And what does 'phone just loads in recovery' mean?... 🤔
and i flashed the recovery with the recovery option,
What does 'flashed the recovery with the recovery option' mean?... Flashed TWRP with some option??... Or flashed a patched or stock recovery?... What 'option'?
then via magisk i have patched boot (didn't flashed it by myself, magisk did)
So you mean Direct Install did it?... So you must have had root already. (??)..

Anyway, did you try what I recommended?... Because it doesn't sound like it at all...

If you just do these parts:
In your case you can simply ignore Ramdisk = No! ...

This means you extract and patch your boot.img (Ensure Recovery mode is NOT selected) and flash the resulting image to boot partition.

To fix you device, simply fastboot flash both unpatched boot.img and recovery.img then check device boots/operates normally again.

Next, ensure you have ROM package corresponding exactly to current running OS version and extract boot.img to patch/flash as above...
you'll fix your issues... 🙃 PW
 
Last edited:
  • Like
Reactions: J.Michael
Feb 5, 2023
41
5
Sorry, I have no idea what this means... What's 'adn'? 🤔
and* typo :|
So are you trying to flash TWRP?... Why?... And what does 'phone just loads in recovery' mean?... 🤔
my phone loading to recovery instead of rom
What does 'flashed the recovery with the recovery option' mean?... Flashed TWRP with some option??... Or flashed a patched or stock recovery?... What 'option'?
in the magisk i patched my "stock" TWRP with enabled "recovery mode"
So you mean Direct Install did it?... So you must have had root already. (??)..

Anyway, did you try what I recommended?... Because it doesn't sound like it at all... PW
i'm having the su perms, but i don't have any connection to internet (i'm making thoose all from notebook)
 
  • Like
Reactions: J.Michael

pndwal

Senior Member
and* typo :|

my phone loading to recovery instead of rom

in the magisk i patched my "stock" TWRP with enabled "recovery mode"

i'm having the su perms, but i don't have any connection to internet (i'm making thoose all from notebook)
I can't really follow what you've done, but seems you've patched and flashed both boot.img and TWRP.img or stock recovery.img...

Restore stock recovery or unpatched twrp for reasons I've given, then, without root, patch stock boot.img only and fastboot flash that...

I repeat, If you just do these parts:
In your case you can simply ignore Ramdisk = No! ...

This means you extract and patch your boot.img (Ensure Recovery mode is NOT selected) and flash the resulting image to boot partition.

To fix you device, simply fastboot flash both unpatched boot.img and recovery.img then check device boots/operates normally again.

Next, ensure you have ROM package corresponding exactly to current running OS version and extract boot.img to patch/flash as above...
you'll fix your issues... 🙃 PW
 
  • Like
Reactions: J.Michael
Feb 5, 2023
41
5
I can't really follow what you've done, but seems you've patched and flashed both boot.img and TWRP.img or stock recovery.img...

Restore stock recovery or unpatched twrp for reasons I've given, then, without root, patch stock boot.img only and fastboot flash that...

I repeat, If you just do these parts:
as i said when i'm trying to flash stock TWRP (TWRP without ramdisk) my phone can't load to the crDroid
it's just booting into recovery
 

pndwal

Senior Member
as i said when i'm trying to flash stock TWRP (TWRP without ramdisk) my phone can't load to the crDroid
it's just booting into recovery
Ok, forgot you use custom crDroid... so fastboot BOTH TWRP and boot.img from crDroid (both unpatched) and see if system can boot again... Should be no issues now... If there is, try dirty-flashing crDroid ROM again...

Next, patch that same crDroid boot.img in Magisk App with Recovery Mode DE-SELECTED! (Boot mode, not Recovery mode) and flash from TWRP... System should then boot with root... PW
 
  • Like
Reactions: J.Michael
Feb 5, 2023
41
5
Ok, forgot you use custom crDroid... so fastboot BOTH TWRP and boot.img from crDroid (both unpatched) and see if system can boot again... Should be no issues now... If there is, try dirty-flashing crDroid ROM again...
i have tried all of them, i don't know much about dirty-flashing, say how to do it
Next, patch that same crDroid boot.img in Magisk App with Recovery Mode DE-SELECTED! (Boot mode, not Recovery mode) and flash from TWRP... System should then boot with root... PW
i have patched the boot image like that you said it now, but i didn't got the su perms :(
 
Last edited:

rodken

Senior Member
Jan 11, 2010
1,540
677
Hello, I looked in the fox manager modules to see what certain module is for.
Can someone explain to me what these 5 modules that I will mention are for and help me a little with my concern for the loss of magisk as explained in my posts.
TRWP helper- magisk manager for recovery mode(mm)-SSH for magisk- magisk bootloop protector.
I think who must have one or more who will help me with my problem, no
The bootloop protector works by disabling certain Magisk modules that may be causing the bootloop, and then re-enabling them one by one to identify the specific module that is causing the problem. Once the problematic module is identified, it can be removed or replaced, and the device should be able to boot normally.

With Magisk Manager for Recovery - if you end up with a bootloop, you can just disable the module from recovery. This app is used in a recovery terminal only (e.g. TWRP), not in Magisk by itself.
 
  • Like
Reactions: ipdev and J.Michael
Feb 5, 2023
41
5
The bootloop protector works by disabling certain Magisk modules that may be causing the bootloop, and then re-enabling them one by one to identify the specific module that is causing the problem. Once the problematic module is identified, it can be removed or replaced, and the device should be able to boot normally.

With Magisk Manager for Recovery - if you end up with a bootloop, you can just disable the module from recovery. This app is used in a recovery terminal only (e.g. TWRP), not in Magisk by itself.
woah, where you know that all?
 

pndwal

Senior Member
The bootloop protector works by disabling certain Magisk modules that may be causing the bootloop, and then re-enabling them one by one to identify the specific module that is causing the problem. Once the problematic module is identified, it can be removed or replaced, and the device should be able to boot normally.
IINM, it disables all modules after (and denylist?) after several failed boot attempts (loops) similar to invoking safe mode but automatically/more reliably... Then user needs to enable selectively again...
With Magisk Manager for Recovery - if you end up with a bootloop, you can just disable the module(s) from recovery. This app is used in a recovery terminal only (e.g. TWRP), not in Magisk by itself.

👍 PW
 
  • Like
Reactions: ipdev and rodken

rodken

Senior Member
Jan 11, 2010
1,540
677
IINM, it disables all modules after (and denylist?) after several failed boot attempts (loops) similar to invoking safe mode but automatically/more reliably... Then user needs to enable selectively again...
There is also the SystemUI Bootloop Protector that in theory, fixes SystemUI bootloops by detecting when SystemUI crashes (due to a Magisk module such as Substratum,) and reboots your device into safe mode automatically to disable Magisk so you can correct the faulty module.
 
  • Like
Reactions: ipdev and pndwal

pndwal

Senior Member
i have tried all of them, i don't know much about dirty-flashing, say how to do it
Just means flashing ROM without data wipes / factory reset... Clean flash means at least factory reset wipes, sometimes formatting data / other partitions first...
i have patched the boot image like that you said it now, but i didn't got the su perms :(
Try reflashing ROM dirty... Flash unpatched TWRP if ROM doesn't include recovery partition...

Could be an issue with crDroid ROM but doubtful... Pretty sure patching/flashing boot will work for stock Olive... PW
 
Feb 5, 2023
41
5
Just means flashing ROM without data wipes / factory reset... Clean flash means at least factory reset wipes, sometimes formatting data / other partitions first...
who
Try reflashing ROM dirty... Flash unpatched TWRP if ROM doesn't include recovery partition...
who x2
Could be an issue with crDroid ROM but doubtful... Pretty sure patching/flashing boot will work for stock Olive... PW
bro, i'm just losed my wifi or i'm a bit (yeah, yeah bit) dumb
 

pndwal

Senior Member

zgfg

Senior Member
Oct 10, 2016
8,490
6,194
Xiaomi Mi 11 Lite 5G
Hello, I looked in the fox manager modules to see what certain module is for.
Can someone explain to me what these 5 modules that I will mention are for and help me a little with my concern for the loss of magisk as explained in my posts.
TRWP helper- magisk manager for recovery mode(mm)-SSH for magisk- magisk bootloop protector.
I think who must have one or more who will help me with my problem, no
In the Fox MM, scroll to the given module, click on Description, it will open the GitHub page for that module

Developers usually try to put some helpful description what for the module is and how it works.
If useful description is missing, skip the module
 

Top Liked Posts

  • 4
    I did try taking a look at PF source code at Github, but unfortunately I still know nothing of Python, thus could not understand much...
    It's ok not to be a dev or know Python, you can use the program as a user,
    it would extract the boot from the image, transfer it to the phone, create the script based on the chosen file, create the patch and pull it back to your PC, and it is cross platform.
    You can inspect the generated script which is bash, and understand what it is doing without necessarily knowing one bit of python.
    The program is very verbose so that people can follow what is going on.

    Generate a patch using the program, and let's assume this patch is not exactly what is needed and functional, let's call it a bad patch

    Also generate a patch the manual way that you know works, and let's call this a good patch
    Next you would compare the two, the patched boot files can be unpacked and compared.

    This can be done on the phone or if you are more comfortable doing it on the PC, you can use the excellent toolkit Android Image Kitchen by @osm0sis
    Even a binary diff would give you an idea of the difference.
    See further below.

    Having just seen that community here tends to be highly intolerant towards non-devs/non-experts in general, I realized I was almost completely on my own. Then, I was only able to follow what boot_patch.sh said in its code.
    I don't agree with the above generalization, there's always outliers, but in general the community is very helpful, and amazingly patient even with newcomers, what is typically not tolerated is people not putting in the effort to research or even read few posts and expect all the answers to be delivered on a platter.
    When a senior member who is well seasoned and knows what he/she is talking about, asks a specific question to be able to offer advise, and it is evaded, it naturally irks the person.
    Almost always there is a lot of context in the questioner's mind that is not totally relayed in the post, hence why specific questions are asked and answers expected.

    For all the above facts, yes, I did not export the KEEPVERITY=true and KEEPFORCEENCRYPT=true env variables -how am I supposed to know they're always needed no matter what device?-, did not unzip magisk32 -why on earth if ARCH in my case is arm64-v8a?-, and did not run magisk cleanup before patching -is this important?-.
    You're not supposed to know, but you find out with exploratory observation, testing, trial and error and of course differential analysis.
    For example I didn't know about the KEEPVERITY and KEEPENFORCEENCRYPT flags when I first called boot_patch.sh, and just like you the generated patch was not good and different from a good patch.
    I did a binary diff of the two (at the time I didn't even know I could unpack) and noticed those two keywords existing in the good patch, but not mine.
    Read up about it, inspected the script, and asked questions to eventually figure out the right options to use to generate an identical patch.
    Same with the Magisk32,
    2
    What inspired you to remove the "lib" and ".so" parts?
    If you're running boot_patch.sh those are referenced without .so
    but if you're calling ligmagiskboot.so and others directly then there is no need to rename anything.

    Here's an example script generated by PF to create a patch using boot_patch.sh on an unrooted system
    Code:
    #!/system/bin/sh
    ##############################################################################
    # PixelFlasher 4.8.1.0 patch script using Magisk Manager 25.2:25200
    ##############################################################################
    ARCH=arm64-v8a
    cp /data/app/~~wUtBmsEAIr1uaL-H7KirJg==/com.topjohnwu.magisk-Bsw07ODC_tLE4-KThHUD3A==/base.apk /data/local/tmp/pf.zip
    cd /data/local/tmp
    rm -rf pf
    mkdir pf
    cd pf
    ../busybox unzip -o ../pf.zip
    cd assets
    for FILE in ../lib/$ARCH/lib*.so; do
        NEWNAME=$(echo $FILE | sed -En 's/.*\/lib(.*)\.so/\1/p')
        cp $FILE $NEWNAME
    done
    cp ../lib/armeabi-v7a/libmagisk32.so magisk32
    chmod 755 *
    export KEEPVERITY=true
    export KEEPFORCEENCRYPT=true
    ./magiskboot cleanup
    ./boot_patch.sh /sdcard/Download/init_boot.img_4d938d3c.img
    cp -f /data/local/tmp/pf/assets/new-boot.img /sdcard/Download/magisk_patched_4d938d3c.img
    2
    Thank you @zgfg @shoey63 @pndwal
    It makes all sense now,
    I don't recall ever needing to reboot when I did the following steps manually, most likely my memory is not serving me well.
    • Brand new system, setup phone
    • Install Magisk
    • Create Patch (at this point /data/adb/magisk can't be setup, no root yet)
    • Reboot to bootloader and flash the patch (still no /data/adb/magisk)
    • Reboot to system and Magisk works and does not need to reboot.​
    Is this not the case?
    True, it is the case... No need for another reboot since you've already done one since flashing Magisk and Android system setup...
    If it does need to reboot then what follows below spoiler is moot and everything is clear,

    "However if it does not need to reboot"

    Then upon first boot after flashing the patch, Magisk Core sets up the /data/adb/magisk behind the scenes automatically? only if Magisk Manager is installed?
    App doesn't need to be installed... Magisk daemon does the config setup... App will only notify you of need for extra setup (just a reboot actually) if it's opened...

    Magisk Daemon succeeds in instance above because /data can be written to...

    Because the only difference was that I installed Magisk Manager after the system was up.
    Then the logic dictates that Magisk Core will only setup automatically if it finds Magisk Manager (I suppose a startup process?)
    If one chooses to install Magisk Manager afterwards like I did, it would prompt that it would need to do additional steps, which is ok, but why need a reboot in this case?
    If it is capable of doing it without reboot?
    No, sorry...

    You may have missed what I put in italics here:
    Without digging into the code further this indicates to me that the 'Additional Setup' needs no special routines in this case, only a simple reboot to rebuild configuration files which happens automatically if they're missing anyway... Seems we just need two reboots after factory reset / data wipes simply because Magisk cannot build configuration in /data/adb until initial Android Setup is performed.
    ... the important difference is actually that you (re)booted after the system was up... When you installed the Magisk App is immaterial...

    In your originally scenario requiring 'additional setup' there was simply no booting with 'system up'... Magisk daemon could not set up configuration on first boot (following factory reset) because /data cannot be written to before the Android Setup is performed (system is preventing this) and you bypassed a reboot using flags...

    Simply put, no boot with Magisk installed and Android configured had yet occurred... (Again, the App doesn't enter this equation)...
    No I did not, which explains it, thanks.
    👍 PW
    2
    .. Magisk daemon could not set up configuration on first boot (following factory reset) because /data cannot be written to before the Android Setup is performed (system is preventing this)
    Thank you @pndwal
    This is the key subtlety I was missing.
    Makes perfect sense.
    3
    Did this get truncated? 🤔 PW
    no, as in similar approach to determine that I needed to include Magisk32 binary when creating a patch

    It was an answer to this point
    did not unzip magisk32 -why on earth if ARCH in my case is arm64-v8a?

    Because creating a patch manually using Magisk only matched the output from the boot_patch script when it was included.
    Perhaps the exclusions were benign, but I wanted to generate a patch exactly an equivalent of the manual patch.
  • 11
    . . . found a YT video that explains you can download the APK, rename to .zip, and install it as a module. Hopefully that works 😯
    Not only does it work, but if you take a few extra steps, you can make a 100% clean install of ANY Magisk version or fork without PC or TWRP.
    Here's how I do it :-

    - Download Magisk version/fork you want to try
    - Add .zip to the end of the Magisk apk eg: Magisk.apk becomes Magisk.apk.zip
    - Unhide the Magisk app if you have hidden/renamed it
    - Turn on aeroplane mode
    - Delete /data/adb/Magisk folder and /data/adb/magisk.db file
    - In Magisk app, perform Uninstall Magisk - RESTORE IMAGES so you are back on stock boot image
    - Install the new Magisk.apk.zip as a module
    - Change Magisk.apk.zip back to Magisk.apk
    - Uninstall the Magisk app (the apk only NOT Magisk itself)
    - Reboot
    - Install the new Magisk.apk
    - Open it up and check settings and modules and customise to your needs eg: zygisk may need to be re-enabled and deny list reconfigured
    - Reboot again and turn off aeroplane mode

    You will now be on a new clean install of whatever Magisk you are trying. No loss of root or modules and no need to clear data from play services to re-enable wallet (assuming it worked before and you set everything up properly)
    Only thing left to do is grant root to whatever apps need it.
    11
    how/where do you get prior canary builds if you're on the latest?
    Magisk canary builds are available on GitHub.
    You just have to look at the history. 🙃

    Canary builds are hosted in the magisk-files repo.
    magisk-files (Canary commit history) - [GitHub] - Link
    Select the build commit you are looking for.
    Select the apk file and "View File".
    You can then Download or "View raw".
    Since it can not show you the raw file, it will start the download of the file.
    mcanary1.png
    mcanary2.png
    mcanary3.png
    mcanary4.png

    Cheers. :cowboy:
    10
    Latest Canary (+Debug) Magisk:

    Magisk (e5641d5b) (25208)​

    • Fix release builds

    Diffs to v25.2​

    • [General] New magic mount backend. It supports loading modules into system with overlayfs files injected
    • [MagiskPolicy] Fix minor bug in command line argument parsing
    • [Zygisk] Prevent crashing daemon in error
    • [Zygisk] Rewrite zygote code injection with new loader library approach
    • [Zygisk] Release new API version 4
    • [App] Make stub patching 100% offline
    • [App] Support patching init_boot.img for Samsung ODIN firmware
    • [MagiskInit] Support replacing existing *.rc files in overlay.d
    • [MagiskInit] Rewrite sepolicy.rules mounting and loading implementation
    https://github.com/topjohnwu/magisk-files/blob/0e63c640c4b8799609d6cf3bdd4f88b2e8df4c08/notes.md

    👍 PW
    10
    Thread lightly cleaned!

    @S8rooted&tooted and @pndwal

    Greetings to you both. As you have both noticed, I have cleaned this thread of some of your recent comments. I will politely ask you both to please refrain from
    further OT and argumentative comments, and to please conduct yourselves in accordance with XDA Rule #2.3 for member conduct:

    2.3 Flaming / Lack of respect: XDA is about sharing and this does not involve virtual yelling (flaming) or rudeness. Flaming or posting with a lack of respect is unacceptable. Treat new members in the manner in which you would like to have been treated when you were a new member. When dealing with any member, provide them with guidance, advice and instructions when you can, showing them respect and courtesy. Never post in a demanding, argumentative, disrespectful or self-righteous manner.

    If you wish to argue further, then please do so via PM's, or another platform since XDA is not the place for these types of discussions on the public forums. Please be advised, posts which continue to violate the forum rules will be removed with immediate effect, and posiible sanctions applied to your account should things get too far out of hand, which we certainly do not want.
    So please let this be the end of this here and now.

    Thank you for your cooperation, and hope you have a pleasant day.

    Best regards: Badger50
    8
    View attachment 5853939
    @osm0sis now they are going to remove custom recovery support 😂

    It is because Magisk can't work properly on some broken custom recoveries, which mount partitions with wrong devices...
    Found no way to workaround it other than detecting and warning user to reinstall Magisk manually...
  • 1091
    This is the place for general support and discussion regarding "Public Releases", which includes both stable and beta releases.
    All information, including troubleshoot guides and notes, are in the Announcement Thread
    156
    Hello, I haven't given much support on XDA lately. It can be resulted from
    • University started and I have limited free time. In fact, I mostly develop during midnight
    • I live in Taiwan, which has large time zone differences between my European/American contributors/testers, which usually forces me to stay up late at night to discuss/test stuffs.
    • The new version is about to come, I don't want to spend effort on supporting old releases
    The planned update is delayed again and again, to some point I think I'll shed some light about what has been happening lately, also along with some announcements.

    New Forum!
    As you might have already discovered, Magisk got its own subforum on XDA! Many thanks to all the support you gave me, and much more information/features/support is about to come!
    **For developers supporting all the devices that are not using standard Android boot format, feel free to create threads in this section (actually, PLEASE do so) for your favorite devices after v7 is out. As I currently know, Asus devices require signing the boot image before flashing, and is model dependant; Sony devices seems to use ELF kernel that is unpatchable, or some has two ramdisks (inner + outer), both requires different workarounds; LG bootloader locked devices has to manually "BUMP" the boot image after flashing Magisk..... and there may be lots of other crazy boot image formats that haven't come up to my attention yet.
    It is impossible for me to support all these non-standard boot images, and I hope the community can collaborate to make Magisk running across all the devices. Overall, community collaboration is what XDA about :D

    The Pixel Phone
    Some of you might already know this news, that the next Pixel Phone right around the corner seems like it does not have ramdisk in boot image, which pretty much wrecked Magisk in all ways. However, it pretty much doomed root itself too. Kernel modifications is inevitable IMO, so I'll try to migrate my scripts to C programs that could possibly be included into the kernel itself. Note that I'm not familiar with linux kernel, I'm not even sure if my idea and concept is correct or not. But once the device is available, I think developers will find a way to bypass all the difficulties, and I'll do my best to learn things ;)

    Current Progress
    In the past month, I've spent quite some time learning SELinux, so that I can avoid using SuperSU's sepolicy patches. Thanks to the helps and tips from @phhusson and @Chainfire, I finally have a much clearer understanding of how SELinux works. The Magisk core parts (the scripts, boot image patches, new features, more supports) are actually done some time ago. What is causing all the delays is the Magisk Manager.
    To be completely honest, although I can code in Java without much issues, Magisk Manager is actually my first Android application, I had to reach out for assistance, and fortunately awesome developers like @DVDandroid and @digitalhigh contributed a lot, which makes the current Manager awesome.
    After the repo system and module management is mostly done, I was about to do some adjustments and release, but what we really done is decided to add another feature: auto-unroot with per-app settings. I decided to wait for it to be finished, and then do my adjustments. Due to reasons that'll be mentioned later, this feature will likely not be available for the next release (should come in future updates)

    Safety Net Disaster
    Those who are using Magisk for Safety Net bypass purposes must have known that Google recently updated the detection method of my Systemless Xposed. I still have no idea what Safety Net is detecting, so currently I cannot fix it on my side (also because I'm busy working on the next update). However, suhide developed by @Chainfire is able to hide Xposed and worked fine.
    However, only my Systemless Xposed v86.2, which is based on SuperSU's su.d, is supported using that method. v86.2 and v86.5 (latest, Magisk based) have nearly identical binaries, and the only difference is the path where the binaries are stored.
    I'm still not sure what's the real issue for it not being supported, I just hope it is not done intentionally.

    Conclusion
    Due to the fact that my Safety Net bypass is not 100% perfect now, I do not want to spend any more time waiting for auto-unroot to be polished. What I'm doing now is finishing up all the things I'd like to change in Magisk Manager (it has been a while since I last contributed to Manager, my fellow developers are doing all the heavy job), which might take a little more time, after that, packed with tons of information to be announced in Magisk Section, I'll release the long awaited update.

    Hope this lengthy post gives you the idea of the whole situation, and again thanks for all your support!!
    121
    Ah, some Chainfire bashing, I hope it is not too late for me to exercise additional villainy.

    First, let me make clear I have nothing against @topjohnwu, nor against Magisk. Magisk is an interesting project and it certainly displays @topjohnwu ingenuity and persistence. I don't doubt we will see more interesting things from his hands.

    -------------------------

    What has happened here is not all that dark and complicated, from either end. I returned from holidays, and someone pointed me at Magisk. My first thought: interesting!

    Among other things, the thread lists some issues with SuperSU, which in combination with the phrase The developer also requests users to not bug Chainfire with compatibility requests for SuperSU with Magisk from the portal article, raised my left eyebrow by nigh half an inch. The popular systemless xposed mod is apparently now based on it, and apparently it now no longer works with SuperSU, and apparently I'm not supposed to fix that, nor any of the other found issues. I found that a bit weird. So yes, I have told @topjohnwu that I was a bit surprised he was posting about issues with SuperSU without notifying me about them (I can't fix or help fix issues I'm not aware of, after all).

    He's also spreading a modified version of the SuperSU package, which is not all that uncommon, nor necessarily a problem. I have not looked into what he modified, I only ran a few quick tests on one of my devices, and found some commonly used commands run as root to be broken. I have informed him of this as well.

    It appears the tool of choice for Magisk is phh's Superuser, because of some of the mentioned issues with SuperSU. That's fine by itself, but fixing issues in that superuser by incorporating SuperSU's binaries into it is a somewhat questionable practise. After all, SuperSU is a commercial closed-source package that helps pay for my dinner, and superuser is a direct competitor. I have informed him that I was surprised he did this without asking for permission. I have expressed similar surprise on him spreading a modified version of LiveBoot (which helps pay for a snack now and then).
    @topjohnwu has also stated that Magisk's scripts are largely influenced by mine (I have not checked). Scripts based on mine are used all over the place on XDA, some people have crafted amazing things based on them, I have never made an issue of this (otherwise I would have just made them binaries). But yes, I have also stated to him that I don't think it's very nice to base something on one program, and then using that to (almost exclusively) push something directly competing with that program.

    tl;dr Towards @topjohnwu, I have:
    - expressed surprise he has issues getting Magisk to work with SuperSU, and has chosen not to inform me about those
    - expressed surprise he is using SuperSU binaries in a competing superuser without permission
    - expressed surprise he is posting a modified LiveBoot without permission
    - informed him of issues with the modified SuperSU he has posted
    - let him know I thought it wasn't very nice to be applying my scripts to benefit seemingly exclusively that same competing superuser

    To be crystal clear:
    - I have not asked for an apology
    - I have not asked for Magisk to be abandoned, neither the root hiding nor systemless module parts, and certainly not systemless xposed
    - I have not made an issue of any of this anywhere, until this post
    - I have not even specifically asked for anything to be taken down (though obviously in my opinion the other superuser package mixed with SuperSU's binaries, as well as the LiveBoot package, should go)
    - I have not reported this thread to XDA moderators for copyright violations or otherwise

    While my conversation with @topjohnwu may not win any awards for being friendly (though it may win some for brevity), I think all things considered my response has been rather mild. To be perfectly honest, until the apology post, I thought this was over with already. I think the apology post was triggered because I haven't replied to his last PM for a while - I was in the zone, it happens.

    To emphasize again, I have nothing against @topjohnwu, Magisk, or systemless xposed, and it is certainly not my goal to see any of them go. If it can be made to work together with SuperSU, great.

    I get it though: you think of something, you want to see if you can make it work, you finally get it to work, you publish it, it takes off - enthusiasm gets the better of you. Maybe in the rush some mistakes are made. That doesn't mean you have to just drop it and run. None of my stuff would make it past 0.1 if I stopped at the first big mistake :)

    Aside from said being in the zone coding, I usually regret actually responding to these sort of things the day after, which has made me hesitant to reply. Surprise me.
    76
    Thread temporarily closed so everyone sees this.

    The flood of "SafetyNet isn't working for me either!" posts are not helpful, at all. Please refrain from posting further, it will be looked into. Please do not forget that not passing SafetyNet is 100% NORMAL AND INTENDED when you have an unlocked booloader or running custom firmware. These are workarounds and they will be worked around in turn.

    The Flash
    Forum Moderator

    EDIT: Thread is reopened... I will be cleaning any SafetyNet posts for a while to keep the thread clean for real issues.
    75
    Hello everyone!

    I am aware that Google has updated Safety Net that makes Magisk itself a no go for Android Pay. In fact, I witnessed the change live while I am developing the new magiskhide, which should hide all Magisk modules and Magisk installed root.

    Google is serious about Safety Net now, clearly hunting down all possibility to run Xposed with Safety Net passed. I spend quite some time examining the new security measures last midnight, and fortunately it seems that it is possible to run Magisk and root along with Safety Net if no Xposed is running. I'm glad I removed the old root toggle at the right time lol, that is no longer feasible with the latest detection.

    So stay tuned for the next update, it will come with bug fixes, along with the new magiskhide to bypass that Safety Net.

    Google, how will a few systemless mods do any harm :p:p