[Discussion] Magisk Delta - Another unofficial third-party Magisk fork

Search This thread

pndwal

Senior Member
Question - What is the safe/proper way of proceeding on Pixel 6 pro?
First run after boot, Magisk Delta asks for additional configuration steps to be done and gives following options:
  1. Choose and patch file ( bootloader is locked with avbroot and I don't know how then incorporate patched file into OTA, as only OTA can be sideloaded).
  2. Direct installation (recommended).
  3. Install in inactive slot (after OTA).
Normal Magisk (not Delta) raise same request to perform additional tasks but didn't give any options, hence am unsure which one should I proceed with (tend to think about direct). With that said, it could be third (after OTA) as effectively I did sideload OTA.

Thanks for help!
....
Android Flash tool fails as it tries to unlock bootloader, which fails. I've tried from fastboot level directly.
The OEM Unlocking hasn't been touched (and should be enabled - allowing unlock).
For whatever reason it looks like it simply doesn't work. Not sure why - the only thing which did happen was that run of Magisk additional steps straight after which the system has been bricked.

Yes, I can't get to recovery either.

Do I have a hard brick now? Can I do maybe anything from fastboot level (having all images, including signed ones)?
Just now trying to understand your issue...

Seems this may have complicated by several unusual factors...

Please confirm:

Do you have Magisk installed using avbroot script and bootloader re-locked with custom keys registered?... Saw you mentioned that in other thread but can't see it mentioned here...

Did you also take Install → Install to Inactive Slot in Magisk App?... This is broken at least for late P6 and P7 ROMs as update engine now checks partition digests and will mark the partition as corrupted... Pixel users on recent ROMs have been avoiding this installation method for a while now...

... If you used avbroot it seems boot, recovery, or vendor_boot image may all be patched (to replace the OTA signature verification certificates with the custom OTA signing certificate) in addition to boot or init_boot being patched with magiskinit...
- Also, if OEM unlocking is disabled with locked bootloader and root when system became corrupt device is 'hard bricked' (fastboot flashing unlock will not be allowed)... From what you say you shouldn't be facing this however, unless you use a mod that messes with OEM Unlocking setting... Apparently some forks of USNF do disable this but @kdrag0n disapproved a merge request in official USNF...
- Regardless of OEM Unlock you can't perform 1) a regular (unpatched) A/B OTA update (you should have blocked this via a Magisk module etc) or 2) take the Direct install method for updating Magisk (Magisk updates must be done by repatching) or device will become unbootable and unrecoverable without unlocking the bootloader again (and thus, triggering a data wipe)...
https://github.com/chenxiaolong/avbroot#warnings-and-caveats

Further to avbroot pitfalls, if you're on Android 13 QPR2 Beta 1 (T2B1.221118.006) or later Betas (and possibly even latest stable), Magisk patching boot IMG has been failing due to Compression method of ramdisk in Pixel 6 boot image is incorrect #6441. This has meant that P6 series Beta ROM users have needed to use/patch a corresponding P7 series boot.img (yes, boot.img not initboot.img... Magisk actually adds the missing generic ramdisk) to have working Magisk... So P6 pro users would patch/flash boot.img from corresponding P7 pro Beta build...
- This issue was deemed by Magisk Devs a Google issue not to be fixed in Magisk, but this has just changed with this fix for the incompatible compression algorithm merged only hours ago: Force ramdisk format to lz4_legacy for v4. So with 25211, P6 users should no longer need to patch P7 images to use Magisk...

I have no experience with Pixel device at all, but as long as you haven't disabled OEM Unlocking it seems to me:
- You should be able to recover device at least by unlocking bootloader and fastboot flashing with factory reset (if OEM Unlocking is enabled)...
- You may even be lucky enough to be able to (dirty) flash without unlocking or data wipe if you have carefully avoided any operation that causes an unsigned or differently-signed boot image to be flashed.

Magisk with a locked bootloader was always going to be fraught (trouble)... Hopefully the above notes will be helpful however...

And Pixel users will be better able to advise on recovery options... 🤠 PW
 

shoey63

Recognized Contributor
@dkadds2
It seems that after flashing the signed AVB root images and relocking the bootloader, you forgot to enable OEM unlocking again after the obligatory factory reset.
That was your first mistake.
The second was taking the advice of another user to do a direct install of Magisk Delta. This changed the signature of the boot image and broke the chain of trust.
So as @pndwal has covered above, you have an unbootable system with no ability to unlock the bootloader and flash images or change slots, and no recovery to sideload an OTA zip.
It seems you now have an unrecoverable hard brick unfortunately.
 

zgfg

Senior Member
Oct 10, 2016
9,644
7,509
Redmi K20 / Xiaomi Mi 9T
Xiaomi Mi 11
Magisk delta telegram link has gone read-only and can't see any of the questions and comments. There is another link but I just can't seem to find the missing word.

it simply won't give up to me.

i've let myself down

But I can't keep running around.

Quite annoying because I don't want to desert the gram.

Vexed I am as I don't want to say goodbye.

🤔

what have I missed?
There were always two Delta TG channels:

1) One for announcements eg on releases (with comments from users), polls, etc

2) The other for discussions

They also constantly change their names (?), currently the first is named "Magikisune" and the second "Clear sky and historical thunder" - see the attached screenshots

As long as you're subscribed to them, their ever changing names do not bother😁

You can find the first (read-only, announcements) by name (and if I recall, it used to be linked from Delta GitHub project)

Invitation link for the second channel (discussions) was somewhere in the first, I found now one link but it's expired🤔
I don't know if you could find it by name and join then

---

Btw, there is also a third channel, open (regional discussions): "Magisk Forum[SFW][Unofficial]", its invitation link can be found also in the first channel
 

Attachments

  • IMG_20230324_114822.jpg
    IMG_20230324_114822.jpg
    395.6 KB · Views: 74
  • IMG_20230324_114946.jpg
    IMG_20230324_114946.jpg
    346.5 KB · Views: 71
  • IMG_20230324_114734.jpg
    IMG_20230324_114734.jpg
    434.1 KB · Views: 54
  • Screenshot_2023-03-24-11-56-47-185_org.telegram.messenger.jpg
    Screenshot_2023-03-24-11-56-47-185_org.telegram.messenger.jpg
    501.9 KB · Views: 50
  • Screenshot_2023-03-24-12-04-04-661_org.telegram.messenger.jpg
    Screenshot_2023-03-24-12-04-04-661_org.telegram.messenger.jpg
    586.4 KB · Views: 69
Last edited:
  • Like
Reactions: pocketrule

pndwal

Senior Member
@dkadds2
It seems that after flashing the signed AVB root images and relocking the bootloader, you forgot to enable OEM unlocking again after the obligatory factory reset.
That was your first mistake.
The second was taking the advice of another user to do a direct install of Magisk Delta. This changed the signature of the boot image and broke the chain of trust.
So as @pndwal has covered above, you have an unbootable system with no ability to unlock the bootloader and flash images or change slots, and no recovery to sideload an OTA zip.
It seems you now have an unrecoverable hard brick unfortunately.
Do you know if any EDL option is available for P6 series?... I understand from P7 discussion that this may have been removed at least for A13 LV devices... 🤔 PW
 

zgfg

Senior Member
Oct 10, 2016
9,644
7,509
Redmi K20 / Xiaomi Mi 9T
Xiaomi Mi 11
What's the point of using a Magisk module instead of AdAway?
Some users claimed they have issues with Systemless hosts/AdAway

That module installs its own hosts file at the time of installation file and it uses then the same Magisk systemless mechanism to mount over the /etc/hosts file but not by the use of Magisk built-in Systemless hosts)

Its hosts file will be updated only by updating the module. It says on GitHub that module will be updated every month but the latest version there is from December

I don't use the module but some say here (or in the AdAway thread) that they are ok with
 
Last edited:

asripath

Senior Member
Jul 12, 2020
289
239
Redmi K20 Pro
Samsung Galaxy Tab A8
There were always two Delta TG channels:

1) one read-only, for announcements of releases, polls, etc

2) The other for discussions

They also constantly change their names (?), currently the first is named "Magikisune" and the second "Clear sky and historical thunder" - see the attached screenshots

As long as you're subscribed to them, their ever changing names do not bother😁

You can find the first (read-only, announcements) by name (and if I recall, it used to be link on Delta GitHub)

Invitation link for the second channel (discussions) was somewhere in the first, I found now one link but it's expired🤔
I don't know if you could find it by name and join there

---

Btw, there is also a third channel, fully open (regional discussions): "Magisk Forum[SFW][Unofficial]", link can be found in the first
Magikisune as it's currently known...
The release channel used to allow comments on releases....
Very helpful to know how the build is working

Edit:
See that comments have been enabled again.
@huskydg 👍
 
Last edited:

shoey63

Recognized Contributor
Do you know if any EDL option is available for P6 series?... I understand from P7 discussion that this may have been removed at least for A13 LV devices... 🤔 PW
I don't think so, but alternative methods have been tried to recover hard bricks.
None have been successful to date.
 
Last edited:

dkadds2

Senior Member
Sep 2, 2013
92
7
So as @pndwal has covered above, you have an unbootable system with no ability to unlock the bootloader and flash images or change slots, and no recovery to sideload an OTA zip.
It seems you now have an unrecoverable hard brick unfortunately.

Thank you @pndwal , @Lughnasadh, @shoey63, @zgfg.

Given it is confirmed to be a hard brick - how can this be recovered outside of sending it back to Google (and counting on them replacing the unit).
Could this be fixed by opening up the phone and flashing something directly to eMMC? I'm not familiar with this though maybe some repair shops around can be able to do this.

Is there anything possible or this piece of hardware can be now sold for pieces?
 
  • Like
Reactions: Lughnasadh

zgfg

Senior Member
Oct 10, 2016
9,644
7,509
Redmi K20 / Xiaomi Mi 9T
Xiaomi Mi 11
Thank you @pndwal , @Lughnasadh, @shoey63, @zgfg.

Given it is confirmed to be a hard brick - how can this be recovered outside of sending it back to Google (and counting on them replacing the unit).
Could this be fixed by opening up the phone and flashing something directly to eMMC? I'm not familiar with this though maybe some repair shops around can be able to do this.

Is there anything possible or this piece of hardware can be now sold for pieces?
I'm not familiar with Pixels but I know (fortunately, I never needed) that eg for Xiaomi phones there are users (contacts can be found on TG, 'ads' for paid services are forbidden on XDA) that provide authorized EDL support. They can do it remotely (you know what does it mean, they must connect to your PC to install and run the tools remotely - potentially a security risk) but you have to physically open your phone to access the pins on the motherboard (they can't do remotely😁)

For some older phones firehose files can be found on the Net, and then by the low-level tools (for the particular chipsets like Snapdragons) you can flash and un-brick the phone yourself (and save money, but it needs then a higher level of hacking from yourself, potentially a Linux machine for the tools, etc)

Last but not the least, by opening the phone you loose the warranty (you cannot hide that, and there is always a risk that you physically break something). If things don't go well, at the end you would additionally have to pay in the service shop or buy a new phone

Hence it's an endeavor that can be fun and a chance to learn new skils, but with the risks and costs (for the beginning, for good tools to open the phone by not damaging the display, battery, etc)
 
Last edited:

Lughnasadh

Senior Member
Mar 23, 2015
5,506
6,585
Google Nexus 5
Huawei Nexus 6P
Thank you @pndwal , @Lughnasadh, @shoey63, @zgfg.

Given it is confirmed to be a hard brick - how can this be recovered outside of sending it back to Google (and counting on them replacing the unit).
Could this be fixed by opening up the phone and flashing something directly to eMMC? I'm not familiar with this though maybe some repair shops around can be able to do this.

Is there anything possible or this piece of hardware can be now sold for pieces?
There are no low level tools publicly available for the newer Pixels (Tensor-based) that I'm aware of. Replacing the motherboard may be the only option (assuming that will fix it).
 

HippoMan

Senior Member
May 5, 2009
2,400
1,119
Hippoland
Thank you @pndwal , @Lughnasadh, @shoey63, @zgfg.

Given it is confirmed to be a hard brick - how can this be recovered outside of sending it back to Google (and counting on them replacing the unit).
Could this be fixed by opening up the phone and flashing something directly to eMMC? I'm not familiar with this though maybe some repair shops around can be able to do this.

Is there anything possible or this piece of hardware can be now sold for pieces?
<rant>
Thank you, Google, for continuing to give us "enhancements" (ha ha!) with every new OS version which make things more and more complicated and painful for us, and which give us an increasingly greater chance of hard-bricking our devices! We yearn for the day when you will get Android to the point of being as locked down as an iOS device ... and we pray that you keep going beyond that to finally get Android to the same level of user configurability as a traditional IBM 360 mainframe!
</rant>
 
  • Like
Reactions: pocketrule

dkadds2

Senior Member
Sep 2, 2013
92
7
Thanks again - would you guys be able to drive me where/how to find Pixel groups/people willing to do it remotely?
If phone needs to be physically opened, then I'll probably drop it to the phone shop and still then can have it done remotely by them. I'm just afraid that finding a local shop knowledgeable about Pixels hard-brick recovery might be not that easy - hence I'll need to merge two worlds.

Re toolset - am not affraid of Linux, well am super familiar, this is my desktop under which I run all VMs with Windows as needed, etc. Toolset wise - that's not a problem to give remote access, not sure if this can be VM based as some low level USB behavior requires physical system, anyway, I'd grab spare laptop for it.

It's more about where to find experts and for sure I already know it's not gonna be free or cheap and replacing a motherboard... omg. I'd think it might be cheaper to re-solder eMMC (storage) and the only question is what needs to be put on it/format of it.
 
  • Like
Reactions: HippoMan

crypticc

Senior Member
Aug 22, 2009
1,248
171
London
There were always two Delta TG channels:

1) One for announcements eg on releases (with comments from users), polls, etc

2) The other for discussions

They also constantly change their names (?), currently the first is named "Magikisune" and the second "Clear sky and historical thunder" - see the attached screenshots

As long as you're subscribed to them, their ever changing names do not bother😁

You can find the first (read-only, announcements) by name (and if I recall, it used to be linked from Delta GitHub project)

Invitation link for the second channel (discussions) was somewhere in the first, I found now one link but it's expired🤔
I don't know if you could find it by name and join then

---

Btw, there is also a third channel, open (regional discussions): "Magisk Forum[SFW][Unofficial]", its invitation link can be found also in the first channel

Thanks.

It's the second one I was looking for... The three characters become clear on the video or maybe my message. But even then doesn't work. Hrumph
 

crypticc

Senior Member
Aug 22, 2009
1,248
171
London
Hi all,

I've rooted my Pixel 7 Pro with latest Magisk stable and I would like to switch to Magisk Delta but I don't know how.

Thanks !
Just install the apk. It'll then offer to update to the Delta. Choose direct install. Away you go.


Edit: reading the troubles of dkadds2 just checking that you have NOT used this module:


I don't even know what that module does but it sounds bloody dangerous and explicitly says don't use direct install, only offline patching (presumably also means cannot do patch of image and then fastboot boot that to gain temporary root.... And then direct install which is what I tend to do)


But if all you have is Magisk regular root then I would say as I've done is okay because that's exactly what I did.




Edit. And instructions.....
 
Last edited:
  • Like
Reactions: fma388

pndwal

Senior Member
Thanks again - would you guys be able to drive me where/how to find Pixel groups/people willing to do it remotely?
If phone needs to be physically opened, then I'll probably drop it to the phone shop and still then can have it done remotely by them. I'm just afraid that finding a local shop knowledgeable about Pixels hard-brick recovery might be not that easy - hence I'll need to merge two worlds.

Re toolset - am not affraid of Linux, well am super familiar, this is my desktop under which I run all VMs with Windows as needed, etc. Toolset wise - that's not a problem to give remote access, not sure if this can be VM based as some low level USB behavior requires physical system, anyway, I'd grab spare laptop for it.

It's more about where to find experts and for sure I already know it's not gonna be free or cheap and replacing a motherboard... omg. I'd think it might be cheaper to re-solder eMMC (storage) and the only question is what needs to be put on it/format of it.
I have twice used an Xiaomi 'Authorised Account' holder to unbrick an older hardbricked MTK based device (Xiaomi MTK are notoriously easy to hard brick; even flashing a TWRPs build that's not properly matched will do this... QCom is recommended for modding and very brick-proof... Many custom mod projects on XDA for Xiaomi MTK were abandoned as Devs couldn't afford to run the risks)... I paid about $12 each time and gave permissions to the company in Vietnam after connecting with Team Viewer... Session, incl flashing while logged into Xiaomi thru connected Authorised account, took maybe 15 min each time... There are many sharks around but I'd checked out the special phone services offered by this small business carefully...

However I fear it won't be so easy now or for late Pixel...

EDL (Qualcomm) and similar were developed to the point where even unpowered (no battery connected) devices could be reflashed, but companies like Xiaomi began locking down EDL mode to Authorised agents citing security concerns (correctly in fact) as hack tests have demonstrated that by using certainly vulns and modified ROMs the data-wipe requirement when unlocking bootloader can be completely bypassed in emergency download modes and then data is easily accessible on stolen devices... please see my post re. critical device vulnerabilities using QCom's EDL mode and similar MTek Emergency Download protocol which effectively grant an attacker full device access due to these modes not simply allowing forced flashing of officially signed software, but also providing ability to disable secure boot and unlock the bootloader with NO LOSS of device data. https://forum.xda-developers.com/re...tuck-da-mode-authorised-t4000433/post81563925... The cited XDA article on exploiting emergency download flash protocol gives more details.

Seems EDL and similar modes are now prohibited for regular users by most companies for the same security reasons, and new designs like Tensor may not even enable such a mode at all... It seems that P6 series users have not yet found confirmable means to recover a hard-bricked main board... Even Xiaomi Authorized Account holding agents are now like hens teeth as Xiaomi has revoked accounts for most of these and began requiring per-session payments from agents... My Vietnamese agent no longer offers the service, and they may all in fact be gone...

In short (assuming you really didn't enable OEM Unlocking after wipes associated with re-locking bootloader and have really hard-bricked your device), I don't like your chances for a fix at least using 3rd party services... 😬 PW
 
Last edited:
  • Like
Reactions: dkadds2

fma388

Member
Aug 27, 2014
46
21
Google Pixel 7 Pro
Just install the apk. It'll then offer to update to the Delta. Choose direct install. Away you go.


Edit: reading the troubles of dkadds2 just checking that you have NOT used this module:


I don't even know what that module does but it sounds bloody dangerous and explicitly says don't use direct install, only offline patching (presumably also means cannot do patch of image and then fastboot boot that to gain temporary root.... And then direct install which is what I tend to do)


But if all you have is Magisk regular root then I would say as I've done is okay because that's exactly what I did.




Edit. And instructions.....
Thanks a lot !

Of course I read the official instructions but I want to be sure it was also simple 😬

Do I have to uninstall the manager of Magisk stable before install the one of Delta ?
 

Top Liked Posts

  • 2
    Rebooting doesn't help, still magisk is not detected... During the troubleshooting for hiding magisk app, i also deleted my second space as I thought it was causing issue but now I don't dare to move further as I can't even install magisk by flashing using fastboot now. Hope some experts here can give me some pointers...Should have unhide before attempting to update....
    I see on TG channel that many have reported same/similar problem for the latest 8775765-Delta and they returned to the previous Delta version
    1
    Do you know why shamiko doesn't work with tng? I thought shamiko should be hiding root better?

    The thing is, Shamiko 'leaked' Zygisk
    Try to test it with momo, momo detects Zygisk while Shamiko being active
    TnG app acts the same

    Hey, just wanna ask about your setup now, cuz I'm following your setup but using Alpha Magisk 26301. HLB needs Shamiko, while TnG seems to detect Zygisk, similar to what you've experienced. I've waited on the TnG splash screen for a minute still doesn't work.
    • Zygisk ON
    • Apps added to DenyList
    • Enforce DenyList OFF
    • Shamiko 0.7.3
    • Play Integrity Fix 8.4
    • HMA with blacklist template applied on TnG
    If everything is the same, then I might have only one last option which is to switch to Delta.
    Last time unmount method works for me (no problem with tng + hlb connect + zygisk) but aosp mods and systemless lawnchair broke it totally and I couldnt find other way round. For now I just use kernelsu and everything seems to work with no issue. Kernelsu however is kernel dependent. So I really hope someday everything can be put together with magisk unmount.
  • 3
    The last update of iMobile is a real PITA. I remember when the app used to run just fine with just Magisk Hide, and then when Magisk Hide was deprecated, with Shamiko. Then came an update which started detecting apps too, but HMA took care of it. Then came another update which started detecting if Developer Options were enabled, again IAmNotADeveloper module fixed that. And now came this update, which is detecting God knows what.

    For the latest update, I tried uninstalled the LSPosed Manager app (was not using the Parasitic Manager since HMA was hiding it fine), disabled the module in Magisk and rebooted but the app still detected root. Suggestions? Only thing I haven't tried is completely uninstalling the module from Magisk, but I'm willing to give that a shot too when I have more time.

    I'll probably explore KernelSU (again, when I have some more time) and see if that helps, but I'll only switch to it if all my other modules, etc. work fine with it. Plus I'll also check if it works with Island, just in case.

    On a separate note, @pndwal any chance you can test the app (link to PlayStore) with NB Zygisk? Maybe it works with that, just wondering.
    Probably detecting Zygisk then...

    Hidable with LSPosed Metagisk Magisk WIP native bridge loaded Zygisk built in Alpha fork + latest Shamiko, Alpha Magisk hidden in stub ('Hide the Magisk app') and added in HMA XPosed module (w/ LSPosed) along with HMA itself and all other XPosed modules and all root apps and any associated with modding in any way:
    IMG_20230927_221658.jpg

    Nb. NB-Z may still not be fully baked but seems conflicts are now resolved... Devs hoped it would be ready for official Magisk 27.0... This PR:
    Refactor zygisk to use native bridge to inject

    So you can wait for official or try it in bleeding edge Alpha if you can't wait (warts and all)...

    Nb.2. I have Developer options, OEM unlocking and USB debugging disabled as well as Parasitic LSPosed manager openable via status notification (no shortcut) and haven't attempted otherwise...

    Nb. I always have Magisk hidden in stub and on hiding apps from banks in HMA (needed for this and app below) I include Magisk (hidden) stub app in hide templates too... Did this since observing that either obfuscating Magisk in stub or hiding full App via HMA wasn't enough for Sparkasse pushTAN German bank; Both methods were needed in tandey to circumvent their Promon security engine's dex pattern matching as well as simple package detection...So I haven't tried with full App and HMA...

    Hi,
    I'm using Lineage os 20 (A13) on oneplus9r, with Magisk delta.
    Few days back, my banking apps got updated, and they started detecting root.
    I updated the magisk delta to 26301, tried magisk also.
    Safetynet is passing with basic evaluation.
    But in Play integrity, all three are failing.

    Feeling clueless.

    Need help.

    iMobile Pay-Banking,Cards,Loan - Apps on Google Play

    Instant Loan, UPI, Fastag, Bill Payments & more for both ICICI & Non-ICICI users
    play.google.com

    Kotak Mobile Banking App - Apps on Google Play

    Kotak Mahindra Bank’s official mobile banking application for Android phones.
    play.google.com
    Click to collapse
    They are working in my case. Only the HDFC e Rupee app isn't working in the Mainland but at least it's working in Island. Strong Integrity fails of course but the other two pass.
    For Kotak to work I had to freeze the Magisk app. In case of iMobile I had to uninstall LSPosed. Even with HMA it was no good.
    P.S. Kernel SU is available for the OP9r. Use it instead. Every app works just fine as of now.
    Edit: Interestingly in case of the HDFC e Rupee app if I don't freeze the Magisk app it reports that Magisk rooting detected but after freezing it displays Rooting detected. When the Magisk app isn't hidden the message displayed is SU binary detected.
    So I've tested both iMobile Pay and Kotak Mobile Banking App on my Xiaomi Redmi Note 8T, stock MIUI, Android 11, configured as above... Kotak Mobile Banking App also works with the same setup:
    IMG_20230927_195448.jpg

    ... No need to freeze the Magisk App here...

    Hope it helps everyone... 🙂 PW
    2
    Magisk Delta has been updated to Magisk v26.3.
    They say the known bug from previous build should be fixed
    https://github.com/HuskyDG/magisk-files/releases/tag/24b5daf6-delta

    Things seem fine for me on my earlier device. Riru mode; not Zygisk. (All testing apps behave as before.)
    2
    If you have KSU, then why do you bother (and ask) for Magisk (Delta or not, Unmount modules, etc).
    Better use KSU and the modules for KSU (some have been discussed in the Magisk General thread - but better that KSU users use a dedicated thread about KSU), and you should not have troubles with interactions with Magisk

    Unfortunately, I cannot use KSU (kernel for my device is not supported) - but from everyything I have read, KSU is better, you can control which root privileges (files, network, etc) you give to which apps and most important Magisk modules either support KSU or the versions for KSU can be found on GitHub
    You misunderstood. KSU is available for all my other devices barring the one in which I am using MD.
    2
    Rebooting doesn't help, still magisk is not detected... During the troubleshooting for hiding magisk app, i also deleted my second space as I thought it was causing issue but now I don't dare to move further as I can't even install magisk by flashing using fastboot now. Hope some experts here can give me some pointers...Should have unhide before attempting to update....
    I see on TG channel that many have reported same/similar problem for the latest 8775765-Delta and they returned to the previous Delta version
    2
    Just sharing my current set up with new rom PixelOS on Pixel 7
    - magisk delta 26.3
    - zygisk enabled
    - youtube/music revanced/pixelify submodules
    - Unmount options ticked on both
    - Under mount list, only configured app that requires root such as Swift Backup
    - safetynet passed basic by default (PixelOS)

    TnG, MAE work
    HLB work (only version 1.1.51, newer like 52 will not work for now)
    Google Wallet works too for my CIMB CC
  • 65
    This is not an officially supported topjohnwu project.
    If you are looking for official Magisk source, please go to this page


    Introduction

    Custom Magisk fork by HuskyDG. Sync with official Magisk adding back MagiskHide.
    http://huskydg.github.io/magisk-files

    REPORT BUG IS STILL ACCEPTED ON XDA THREAD BUT PLEASE INCLUDE ADDITIONAL INFORMATION SUCH AS LOGCAT AND MAGISK LOG
    8
    Ptrace MagiskHide ported as Magisk module which allows user to hide without enabling Zygisk on Official Magisk v24.0+

    7
    Revive MagiskHide from Magisk v23.0
    • The implementation of MagiskHide is ptrace Zygote process, every forks of Zygote will be notified and traced also.
    • MagiskHide from Magisk v23.0 which monitors every thread spawn event of Zygote fork (app process is heavily a multithreads process which will spawn threads to trigger MagiskHide to check UID and cmdline)
    • There is an exception that app zygote does not spawn threads and thus it won’t trigger MagiskHide to unmount Magisk and detach. (MagiskDetector and Momo take advantages of this fact to detect MagiskHide through ptrace)
    • To fix this problem, we trace the syscalls prctl() instead of thread spawn event of Zygote fork like MagiskHide in Magisk v23.0
    • After processes has been forked from zygote, there will be atleast prctl() is called to change the process name. For normal app process and isolated process, the process name will be changed as followed:
      • zygote -> (unknown name) -> <pre-initialized> -> (process name). So the key is <pre-initialized>, after that we can guess it is target process or not.
    • For app zygote, there is only once prctl() is called to change process name: zygote -> package.name_zygote.
    • The changing process name happens before apk is being loaded so we can detach it from ptrace, do unmount all Magisk files and nearly there is no traces left after that.
    6
    And now Bingo, with today's Magisk-017cca27-delta(25205), Momo does no more detect Zygisk

    - Zygisk and MagiskHide enabled, Shamiko disabled
    👍
    Btw, maybe I should start thinking of Livin' by Mandiri 😁
    Interesting analysis from @5ec1cff here:
    https://github.com/5ec1cff/my-notes/blob/master/analyse-livin.md

    Seems Livin / others may use smap for detection... This study discusses TJW's sanitize environment commit not working properly and LSP fixes in Shamiko as well as efforts needed to hide zygisk hooks, esp for functions of libandroid_runtime.so:
    https://github.com/5ec1cff/my-notes/blob/master/new-idea-detect-zygisk.md
    ... I note dev refers to @canye's (Magisk Bravo) analysis of environment variables too...

    This article analyses more recent Zygisk changes and Dev's attempts to hide zygisk /proc/self/attr/current exposure etc:
    https://github.com/5ec1cff/my-notes/blob/master/zygisk-new-start-mode.md
    ... it ends with this conjecture:
    "Maybe it's time to consider loading zygisk with native bridge?"
    More on this and comparison w/ riru hiding / methods and plans for hiding Zygisk here:
    https://github.com/5ec1cff/my-notes/blob/master/maru.md

    Many of the ideas revealed in Dev's notes above are implemented in Magisk Maru fork (and adopted for now in Delta)... See top 4 commits here:
    https://github.com/5ec1cff/Magisk/commits/maru
    ... use of complete native/src/zygisk/elf_util.cpp file from LSPosed in inject with native bridge Is interesting...

    ... Many other interesting notes here:
    https://github.com/5ec1cff/my-notes
    incl. "build-magisk-on-windows" etc...

    ... I've only taken a cursory glance at notes I mentioned...

    Very credible Zygisk hiding efforts for a fork like Delta however... 👍 👀 PW