Magisk General Support / Discussion

Search This thread

chichino84

Senior Member
Dec 30, 2013
60
12
Thx for your answer.

Tried to boot through both slots (after verifying with "fastboot getvar all") and result is the same: it boots fine, but freeze & reboot after few seconds.

What other options I have? A fastboot factory image flash?
 

J.Michael

Recognized Contributor
Jan 20, 2018
1,658
1,837
Samsung Galaxy Tab A series
Hi everybody!

I'm having problems with my phone, freezing few seconds after booting and then restarting.
Already uninstalled Magisk along with all modules, no luck.

Also tried to flash the original boot.img via fastboot command, but it seems that it is flashed only on the slot "a" - while (if I remember correctly) the Magisk patched boot.img was flashed on slot "b".
Is probably this the part I'm doing wrong? Should I flash the original boot.img on both partitions by the command "fastboot flash --slot=all boot"

Please bare with me, been away from rooting since a loooong time....
Thx!

Pixel 6a
Android 13 (nov. update)
Magisk 25.2
Was it working just fine, with Magisk installed, and after weeks it suddenly had a problem?

Did you take an update? Did you uninstall Magisk first?

Have you been following this thread enough to notice whether your device/ROM is one that suddenly needs something other than boot.img patched? (Something like "init_boot.img".)
 
  • Like
Reactions: rodken

kerlaeda08

Member
Nov 21, 2022
6
1
tell me what to do please, put tvrp and magisk, everything seems to be normal (there is a root), but after rebooting the phone, a lock screen appears asking you to enter a pin code and a black background (that is, there is no splash screen) and when you enter the pin code, the phone will not be unlocked for a long time (all also a black background and no desktop) and again a black screen with a pincode input. sometimes the desktop appears for a second, but then a black screen and again unlocking. only wipe in tvrp helps to get rid of this. Smsung A50 stock
 

rodken

Senior Member
Jan 11, 2010
1,546
678
tell me what to do please, put tvrp and magisk, everything seems to be normal (there is a root), but after rebooting the phone, a lock screen appears asking you to enter a pin code and a black background (that is, there is no splash screen) and when you enter the pin code, the phone will not be unlocked for a long time (all also a black background and no desktop) and again a black screen with a pincode input. sometimes the desktop appears for a second, but then a black screen and again unlocking. only wipe in tvrp helps to get rid of this. Smsung A50 stock
I missed the part where you attempted to factory reset your device.
 

chichino84

Senior Member
Dec 30, 2013
60
12
Was it working just fine, with Magisk installed, and after weeks it suddenly had a problem?

Did you take an update? Did you uninstall Magisk first?

Have you been following this thread enough to notice whether your device/ROM is one that suddenly needs something other than boot.img patched? (Something like "init_boot.img".)
It was working fine until I installed Pixel Launcher Mods module, issue started right after the activation reboot inside the Magisk app.
So I tried to clean everything back from there. Along with the app itself (completely uninstalled as 1st thing), other modules I've uninstalled are AOSP Mods, Zygysk and Systemless Host.

Haven't done any recent update, last OTA I installed is November, all seemed works fine till today.

Android 13 stock on Pixel 6a doesn't have init_boot.img file to be patched.


EDIT: turns out it wasn't any module to cause my issue, it was the Greenify app messing with my Smart Lock settings right after boot. Uninstalled - along with its root privilege- seems to have solved everything.
 
Last edited:
  • Like
Reactions: wfred and J.Michael

dimm0k

Senior Member
Jan 25, 2014
1,695
654
Google Pixel 4 XL
It would pay to be very certain of point 1)... Flashing a recent boot.img often works but invariably causes issues...

Other Pixel Users (especially 4XL):

Can anyone confirm if loopback bug is still an issue w/ latest stock kernels?... I'm not certain it is, nor what is latest kernel version (this affected kernels at least up to v4.9), but I notice the following fix (from linked issue) is still being merged almost daily in custom kernels for a plethora of different (incl. non Pixel) devices:
flar2 pushed a commit to flar2/Pixel-4 that referenced this issue on Dec 1, 2020

f2fs: Fix deadlock between f2fs_quota_sync and block_operation

3510d81
This deadlock is hitting Android users (Pixel 3/3a/4) with Magisk, due to frequent umount/mount operations that trigger quota_sync, hitting the race. See topjohnwu/Magisk#3171 for additional impact discussion.

In commit db6ec53b7e03, we added a semaphore to protect quota flags. As part of this commit, we changed f2fs_quota_sync to call f2fs_lock_op, in an attempt to prevent an AB/BA type deadlock with quota_sem locking in block_operation. However, rwsem in Linux is not recursive. Therefore, the following deadlock can occur:

f2fs_quota_sync
down_read(cp_rwsem) // f2fs_lock_op
filemap_fdatawrite
f2fs_write_data_pages
...
block_opertaion down_write(cp_rwsem) - marks rwsem as "writer pending"
down_read_trylock(cp_rwsem) - fails as there is a writer pending.
Code keeps on trying, live-locking the filesystem.

We solve this by creating a new rwsem, used specifically to
synchronize this case, instead of attempting to reuse an existing lock.

Signed-off-by: Shachar Raindel <[email protected]>

Fixes: db6ec53b7e03 f2fs: add a rw_sem to cover quota flag changes

🙂 PW
my steps were essentially the same I take to update my Pixel devices
- download the full factory image
- unpack its contents
- unpack the boot.img from the large zip file from the contents
- feed magisk the boot.img, save it to the computer
- fastboot flash the resulting file from magisk

did I miss anything else or do anything wrong?
 
  • Like
Reactions: pndwal

J.Michael

Recognized Contributor
Jan 20, 2018
1,658
1,837
Samsung Galaxy Tab A series
my steps were essentially the same I take to update my Pixel devices
- download the full factory image
- unpack its contents
- unpack the boot.img from the large zip file from the contents
- feed magisk the boot.img, save it to the computer
- fastboot flash the resulting file from magisk

did I miss anything else or do anything wrong?
Try "fastboot boot" the unpatched boot.img -- just to make sure it works. (If you've been recovering by flashing the unpatched boot.img, just ignore me.)
 
  • Like
Reactions: 73sydney

pndwal

Senior Member
my steps were essentially the same I take to update my Pixel devices
- download the full factory image
- unpack its contents
- unpack the boot.img from the large zip file from the contents
- feed magisk the boot.img, save it to the computer
- fastboot flash the resulting file from magisk

did I miss anything else or do anything wrong?
No; your process seems good as long as you're sure you didn't mix up older .img files on PC etc...

It would be good if P4 series Pixel users could confirm if loopback bug was never fixed w/ updates... But it's certainly looking like this... PW
 
  • Like
Reactions: 73sydney and dimm0k

dimm0k

Senior Member
Jan 25, 2014
1,695
654
Google Pixel 4 XL
No; your process seems good as long as you're sure you didn't mix up older .img files on PC etc...

It would be good if P4 series Pixel users could confirm if loopback bug was never fixed w/ updates... But it's certainly looking like this... PW
given that the Pixel 4XL has reached EOL in terms of Google updates, perhaps I'll move entirely to the PixelExperience ROM where there's more support. thanks for shedding the light on this bug!
 
  • Like
Reactions: 73sydney

ipdev

Recognized Contributor
Feb 14, 2016
2,317
1
4,627
Google Nexus 10
Nexus 7 (2013)
S-Check:

Root detection, as on the screenshot

I can pass with Delta but cannot with TJW Canary

Delta:
latest, Zygisk, MagiskHide, no Shamiko, App Data Isolation, HMA

Canary:
latest, Zygisk, DenyList, Shamiko, App Data Isolation, HMA, even with Magisk app uninstalled

I have tested thoroughly on my two Xiaomi phones, one with A11 and the other with A12.
Tested on both phones with Canary and with Delta - and I have the same results on both phones

Not to mention that I fully pass Oprek, Ruru, TB-Checker, SafetyNet/Play Integrity
Yup, Native bridge loading based on Maru Magisk fork implementation of Riru's loading method seems to have much merit...

Nb. Original author says it's an experiment however, still not perfectly implemented and may be issues w/ some modules... Also Shamiko hiding with probably not work properly with this... Long read here for those interested:
https://github.com/5ec1cff/my-notes/blob/master/maru.md

For others, I put more here too:
https://forum.xda-developers.com/t/...third-party-magisk-fork.4460555/post-87729841

🙂 PW
Worth pointing out that @zgfg asked me to test that on Magisk Canary (official) earlier but ive broken something it seems with my uber Samsung debloat and cant get S-check to even open anymore :)

Anyone else care to chime in with Magisk Canary (official)
I had that issue a while back, I do not remember what I did to fix it. :unsure:
I just setup my Pixel 5a (it did not like updating from July to November 🙄) so clean flash. 😛

No issues with Security Check. 🙂

Pixel 6 - Stock Google 12L (July 2022).
Pixel 5a - Stock Google 13 (November 2022).

Magisk debug (snapshot)
- Personal build from the official branch, so it includes the commits since the last canary/debug release.
Magisk - [GitHub] - Building and Development

USNF - Not the one that includes Displax's changes.
- Personal test build that includes some other (mostly prop) changes.
Fork - [GitHub] - commits
One of these days I will have to pull Displax's Zygisk changes. 🙃

MHPC
- Set fingerprint back to stock Pixel 12.
Pixel 6 is using the Pixel 6 12 print, 5a is using the 5a 12 print.

Shamiko and LSPosed modules.

HMA (Beta v3.0.5 r373)
Two templates.
Magisk
- Settings (renamed Magisk app).
- Hide My Applist.

PlayStore
- YouTube
- YouTube Music​

AdAway running in VPN (non-root) mode. ;)

Cheers. :cowboy:
 

Attachments

  • Screenshot_20221121-205036.png
    Screenshot_20221121-205036.png
    199.3 KB · Views: 59
  • Screenshot_20221121-205055.png
    Screenshot_20221121-205055.png
    193 KB · Views: 50
  • Screenshot_20221121-205112.png
    Screenshot_20221121-205112.png
    161 KB · Views: 52
  • Screenshot_20221121-205122.png
    Screenshot_20221121-205122.png
    125 KB · Views: 47
  • Screenshot_20221121-205140.png
    Screenshot_20221121-205140.png
    202.7 KB · Views: 41
  • Screenshot_20221121-205147.png
    Screenshot_20221121-205147.png
    104.6 KB · Views: 37
  • Screenshot_20221121-205201.png
    Screenshot_20221121-205201.png
    203.7 KB · Views: 37
  • Screenshot_20221121-205214.png
    Screenshot_20221121-205214.png
    104 KB · Views: 40
  • Screenshot_20221121-205314.png
    Screenshot_20221121-205314.png
    52.6 KB · Views: 45
  • Screenshot_20221121-205342.png
    Screenshot_20221121-205342.png
    136.2 KB · Views: 46
  • Screenshot_20221121-205352.png
    Screenshot_20221121-205352.png
    166.7 KB · Views: 45
  • Screenshot_20221121-205410.png
    Screenshot_20221121-205410.png
    103 KB · Views: 47
  • Screenshot_20221121-205431.png
    Screenshot_20221121-205431.png
    125.1 KB · Views: 45
  • Screenshot_20221121-205441.png
    Screenshot_20221121-205441.png
    173.1 KB · Views: 57

pndwal

Senior Member
I had that issue a while back, I do not remember what I did to fix it. :unsure:
I just setup my Pixel 5a (it did not like updating from July to November 🙄) so clean flash. 😛

No issues with Security Check. 🙂

Pixel 6 - Stock Google 12L (July 2022).
Pixel 5a - Stock Google 13 (November 2022).

Magisk debug (snapshot)
- Personal build from the official branch, so it includes the commits since the last canary/debug release.
Magisk - [GitHub] - Building and Development

USNF - Not the one that includes Displax's changes.
- Personal test build that includes some other (mostly prop) changes.
Fork - [GitHub] - commits
One of these days I will have to pull Displax's Zygisk changes. 🙃

MHPC
- Set fingerprint back to stock Pixel 12.
Pixel 6 is using the Pixel 6 12 print, 5a is using the 5a 12 print.

Shamiko and LSPosed modules.

HMA (Beta v3.0.5 r373)
Two templates.
Magisk​
- Settings (renamed Magisk app).​
- Hide My Applist.​
PlayStore​
- YouTube​
- YouTube Music​

AdAway running in VPN (non-root) mode. ;)

Cheers. :cowboy:
Good stuff... It would be useful if you could put your finger on what's needed to pass S-Check w/ TJW Magisk... Clearly Maru Magisk Native bridge loading isn't needed for this detection... PW
 
Last edited:

73sydney

Senior Member
Worth pointing out that @zgfg asked me to test that on Magisk Canary (official) earlier but ive broken something it seems with my uber Samsung debloat and cant get S-check to even open anymore :)

Anyone else care to chime in with Magisk Canary (official)

I had that issue a while back, I do not remember what I did to fix it. :unsure:

Its all good, i picked up a Pixel 6 Pro this afternoon, i thought it might save any more posts on XDA about how fed up ive become at Samsung trying to dictate how i use devices i paid them for, and specifically how they keep breaking my ability to easily connect my phone and watch. Had enough, back to Pixel...

Already feeling less stressed...want to unlock your bootloader?:

Samsung - We'll make you wish you hadnt even thought to try, go any further and we'll ruin your life and void your warranty
Google - Heres how you do that, plus you can keep your warranty. Have at it...
 

pndwal

Senior Member
FWIW, LoveSy (Shana) has made a pull request for Zygisk v5 Api already merged in her Metagisk ('The Meta Magic Mask for Android') Magisk fork... The commit Add inode plt hook APIs includes this comment:
Since xhook originally hooks by using regex which may cause confusion, we add this API for more specific hooks.
John has requested new XHook API use with Zygisk be deferred (stay w/ v4 for now) and Shana suggested fixing v4 Zygisk compatibility (Zygisk crashes whenever a module uses v4 api, see fixes #6402 and #6396) issue before revisiting this PR (it's been marked as draft for now)... This may also explain some recent Zygisk issues... Watch this space...

I have no idea about inode plt hook or what benefits it will bring... Any coders w/ XHook experience care to edify us? 😃

CI Metagisk build is in Artifacts here (for mavericks):
Add inode plt hook APIs Magisk Build #2276...

👀 PW
 

mcpite

New member
Dec 22, 2015
3
5
Hello guys.

I have a Pixel 6a, and (was) rooted with magisk (for volte).
My phone didn't see the november update, so I tried to uninstall/restore magisk, maybe then I can see. Earlier it worked me once this method (right after rooting): P6 OTA with magisk
The phone didn't fint the update, so I installed back magisk...
But I forgot, that magisk is hidden/renamed, so the magisk install was a new magisk! After restart, root lost, and the old, renamed magisk says: The hidden magisk app cannot continue to work because root was lost. Please restore the original apk.
:(

1, Should I uninstall both magisk?
2, I need to do all setups again for magisk?
3, Can I solve this without flashing, or when root is lost, I need to patch again? (I made it with pixelfalsher originaly)
+1, Now I can see the november pacth - should I upgrade it now, or only after maisk/root works again?

Thanks for any help!
 

c3k

Senior Member
Sep 13, 2009
616
516
Yesterday I've updated my S21 to Android 13.
Switching to Magisk canary was necessary since the firmware patched with the stable version didn't boot.
Now when I open Magisk it asks for additional setup but, after confirmation, instead of reboot it goes in the install page.

Is the right / safe way to select select "direct install"?

Everithing seems to work btw (battery drain apart...)
 

Attachments

  • Screenshot_20221122_160249.jpg
    Screenshot_20221122_160249.jpg
    278 KB · Views: 32
  • Screenshot_20221122_160303.jpg
    Screenshot_20221122_160303.jpg
    259.3 KB · Views: 31

J.Michael

Recognized Contributor
Jan 20, 2018
1,658
1,837
Samsung Galaxy Tab A series
Hello guys.

I have a Pixel 6a, and (was) rooted with magisk (for volte).
My phone didn't see the november update, so I tried to uninstall/restore magisk, maybe then I can see. Earlier it worked me once this method (right after rooting): P6 OTA with magisk
The phone didn't fint the update, so I installed back magisk...
But I forgot, that magisk is hidden/renamed, so the magisk install was a new magisk! After restart, root lost, and the old, renamed magisk says: The hidden magisk app cannot continue to work because root was lost. Please restore the original apk.
:(

1, Should I uninstall both magisk?
2, I need to do all setups again for magisk?
3, Can I solve this without flashing, or when root is lost, I need to patch again? (I made it with pixelfalsher originaly)
+1, Now I can see the november pacth - should I upgrade it now, or only after maisk/root works again?

Thanks for any help!
Are you distinguishing between Magisk and the Magisk manager app?

If you installed a new Magisk manager app without dealing with an old, renamed, manager app, the first step is usually to uninstall the old app. After reboot the new Magisk might be working.

If you don't know whether Magisk is installed at all, you can uninstall all manager apps and reboot. Reasonably recent versions of Magisk will not tolerate having no manager installed, and will install a manager -- if you uninstall all manager apps and have a manager app after rebooting, you have a Magisk installed.

If you installed originally with PixelFlasher, I think you can use PixelFlasher again. I do not know if PixelFlasher helps with the dance to restore Magisk-less system, take update, reinstall Magisk (except that last step).
 
  • Like
Reactions: ipdev

zgfg

Senior Member
Oct 10, 2016
8,569
6,291
Xiaomi Mi 11 Lite 5G
Hello guys.

I have a Pixel 6a, and (was) rooted with magisk (for volte).
My phone didn't see the november update, so I tried to uninstall/restore magisk, maybe then I can see. Earlier it worked me once this method (right after rooting): P6 OTA with magisk
The phone didn't fint the update, so I installed back magisk...
But I forgot, that magisk is hidden/renamed, so the magisk install was a new magisk! After restart, root lost, and the old, renamed magisk says: The hidden magisk app cannot continue to work because root was lost. Please restore the original apk.
:(

1, Should I uninstall both magisk?
2, I need to do all setups again for magisk?
3, Can I solve this without flashing, or when root is lost, I need to patch again? (I made it with pixelfalsher originaly)
+1, Now I can see the november pacth - should I upgrade it now, or only after maisk/root works again?

Thanks for any help!
You have to uninstall Magisk APPLICATIONS (uninstall both apps) and install once again

But be aware, that Magisk APP (aka manager) is not Magisk (service, mask, 'root', whatever you call it), hence you should not uninstall Magisk (as you wrote), but only uninstall Magisk APP(s) (as I wrote above)

---
About terminology (translation between your names and mine)

Ie, when you say 'root' that is actually Magisk (service, mask, 'root') - how I call it

When you say 'magisk' that is actually Magisk App or Manager - how I call it above

Because, Magisk is more than root, and Magisk app is actually only the user interface or Manager for that Magisk

Hence, in your case, you have single Magisk (mask, service 'root') installed, but you have two Magisk applications where the old one was hidden/repackaged/renamed and that one still communicates with Magisk, while the new Magisk app does not 'see' Magisk

However, your Magisk still works (you didn't loose root). If you previously granted root to some root apps, those root apps should still be able to use root

Also, Magisk modules that you previously installed should also still work (no matter that your new Magisk app does not see them)
 
Last edited:

pndwal

Senior Member
Hello guys.

I have a Pixel 6a, and (was) rooted with magisk (for volte).
My phone didn't see the november update, so I tried to uninstall/restore magisk, maybe then I can see. Earlier it worked me once this method (right after rooting): P6 OTA with magisk
The phone didn't fint the update, so I installed back magisk...
Yes, Install to inactive slot method used to work but it's broken at least for P6 and P7 series after late A12 updates... See this issue:
https://github.com/topjohnwu/Magisk/issues/5959
vv points to an article stating that as part of a Chrome/Android Update Engine change for A/B devices, after reboot the update_verifier program now runs and reads all dm-verity devices to make sure the partitions aren't corrupted... A fix would involve partition digest being re-calculated and overwriten to account for Magisk binaries in the newly flashed slot.
https://android.googlesource.com/platform/system/update_engine/

Nb. I don't much like the 3rd party source for instructions... Here's the official doc (albeit broken for you):
https://github.com/topjohnwu/Magisk/blob/master/docs/ota.md
But I forgot, that magisk is hidden/renamed, so the magisk install was a new magisk! After restart, root lost, and the old, renamed magisk says: The hidden magisk app cannot continue to work because root was lost. Please restore the original apk.
:(

1, Should I uninstall both magisk?
Yes (Apps, not core/mask as already discussed); easiest way to fix issues with competing apps especially if you accepted a Superuser request for an app (nb. this is a symptom of the issue (
2, I need to do all setups again for magisk?
No, just uninstall full App + hidden (stub) app per custom name, then reinstall full App and take Hide the Magisk app if you wish...
3, Can I solve this without flashing, or when root is lost, I need to patch again? (I made it with pixelfalsher originaly)
Yes, you shouldn't need to flash again and it's unlikely root was actually lost when you simply have app conflicts...
+1, Now I can see the november pacth - should I upgrade it now, or only after maisk/root works again?
I'd fix first, then restore images before taking update (if you mean a delta OTA), but you'll need to reboot and fastboot flash Magisk again since preserve root through OTA method is broken...

Nb. Since updating with Magisk App hidden often fails it is advisable to take Restore the Magisk app before a Magisk update...
Thanks for any help!
Welcome. 🙂 PW
 

Top Liked Posts

  • There are no posts matching your filters.
  • 12
    . . . 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
    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...
    8
    I always find thread search results to be in reverse chronological order. I only use browser. Are you using app?

    Probably easier to just read last five pages -- not all relevant posts will use keyword you chose.
    Searching tips (again)
    XDA app or browser:

    1) "Search this thread"
    On top,
    do not enter any keyword, it will be ignored at the moment, "Search"

    2) When it shows results for:
    "Search results for: *"
    Click on that star/asterisk/wildcard sign
    and replace the wildcard with your search keyword, like "systemless"

    3) Scroll little bit down and checkmark "Recent"
    (who cares about the posts from 2017).
    "Search"

    Then, you will have results from this thread, most recent on top, for the keyword you asked
  • 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