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

Search This thread

zgfg

Senior Member
Oct 10, 2016
8,508
6,220
Xiaomi Mi 11 Lite 5G
should this thread be locked since Magisk Delta has been discontinued.
OP post #1, link to GitHub - project was not frozen

Telegram Delta channel - alive with literally 100+ posts daily in several subchannels

But yes, unfortunately, due to the illness, it was announced on TG that development will be temporarily abandoned.
Wishing all the best and recovery to @huskydg
 
Last edited:

Arealhooman

Senior Member
OP post #1, link to GitHub - project was not frozen

Telegram Delta channel - alive with literally 100+ posts daily in several subchannels

But yes, unfortunately, due to the illness, it was announced on TG that development will be temporarily abandoned.
Wishing all the best and recovery to @huskydg
But check the GitHub. Says it’s discontinued. Is it still better than normal magisk after that?
 

zgfg

Senior Member
Oct 10, 2016
8,508
6,220
Xiaomi Mi 11 Lite 5G
Uhhhh he just un discontinued it a hour ago
In any case it IS NOT the same url as you quoted my post (did you really click on and open THAT URL) - ie, it is not the GitHub page that developer himself linked in his post #1

About your question "is it better" or so - open THAT LINK (not yours) and read more about Delta there. Subscribe to the TG channel and eg read the FAQ there

Of course, as any alternative in the life, it will have its advantages and potential disadvantages. You need to study yourself and decide based on your needs and preferencees.
But if you didn't join yet and if you are concerned about closing, than maybe better stay aside and wait

That's really all from my side I can say
 

73sydney

Senior Member
Indusmobile app is detecting root, using stable version with magiskhide on

Tested just now:

Magisk 25205 Official
Magisk Manager renamed (hidden)
Shamiko (may or may not be necessary, its just always enabled on my device)
Indusmobile in Deny List (not enforced due to Shamiko)

Working fine

No screenshot as it denies screenshot for security and i dont have the disable flag secure module installed to allow capturing


Step 1: Please make sure youre passing Integrity Check
 
  • Like
Reactions: ipdev

ashish1989

Senior Member
Aug 22, 2014
488
38
Ghaziabad
Tested just now:

Magisk 25205 Official
Magisk Manager renamed (hidden)
Shamiko (may or may not be necessary, its just always enabled on my device)
Indusmobile in Deny List (not enforced due to Shamiko)

Working fine

No screenshot as it denies screenshot for security and i dont have the disable flag secure module installed to allow capturing


Step 1: Please make sure youre passing Integrity Check
I also renamed magisk, and I have switched to delta version from official one
Will try shamiko now
Only basic integrity is passed, what to do now?
 
Last edited:

konaeru

Member
Oct 28, 2022
11
1

Attachments

  • NewLDP.PNG
    NewLDP.PNG
    194 KB · Views: 38
Last edited:
  • Like
Reactions: hanami532

ashish1989

Senior Member
Aug 22, 2014
488
38
Ghaziabad
Tested just now:

Magisk 25205 Official
Magisk Manager renamed (hidden)
Shamiko (may or may not be necessary, its just always enabled on my device)
Indusmobile in Deny List (not enforced due to Shamiko)

Working fine

No screenshot as it denies screenshot for security and i dont have the disable flag secure module installed to allow capturing


Step 1: Please make sure youre passing Integrity Check
Have you tried Delta (Canary, latest), MagiskHide, Zygisk, Hide My Apps

If you don't pass Device Integrity (HMA is irelevantan for PI/SN), use Displax USNF
Installed magisk canary latest, renamed the magisk to random package name. Enabled magisk hide and configured the desired apps. In integrity checker app device integrity and basic integrity is passed but not strong integrity. Still IndusMobile app is detecting root. Any recommendations?
 

73sydney

Senior Member
Installed magisk canary latest, renamed the magisk to random package name. Enabled magisk hide and configured the desired apps. In integrity checker app device integrity and basic integrity is passed but not strong integrity. Still IndusMobile app is detecting root. Any recommendations?

its normal for strong to fail

you seem to have skipped shamiko.... as i posted (and linked to) or you otherwise forgot to mention it above...its also entirely possible that what worked for me may not work for you....this is not an exact science...unlike round earth theory...

also dont forget to force close the offending app and clear its data under Storage before reopening once you make changes like everything mentioned...
 

ashish1989

Senior Member
Aug 22, 2014
488
38
Ghaziabad
its normal for strong to fail

you seem to have skipped shamiko.... as i posted (and linked to) or you otherwise forgot to mention it above...its also entirely possible that what worked for me may not work for you....this is not an exact science...unlike round earth theory...

also dont forget to force close the offending app and clear its data under Storage before reopening once you make changes like everything mentioned...
But shamiko is for zygisk, and I have not enabled zygisk in delta canary
 

73sydney

Senior Member
But shamiko is for zygisk, and I have not enabled zygisk in delta canary

you said in last post:

Installed magisk canary latest

if youre not using official magisk canary (and when you post Installed magisk canary latest we assume rightly you mean "official magisk"), please specify youre using Delta, otherwise youre going to be sending people off on tangents and wasting their time :)

i posted you a complete working set up in magisk official, if you quote my post without disclosing youre NOT using the same magisk as i am, then youre not helping yourself and youre effectively wasting my time trying to figure out why the method i know works isnt working for you :) :)

Try a mix of magiskhide with/without zygisk until you get something that hopefully works, otherwise, accept the already posted solution using official magisk, which we refer to as just magisk...(i even specifically tagged it as official just to be unmistakable.)...because it is the official and original, all others are forks and should be declared to avoid this exact thing :)

Please take more care in reading what others have written, and when youre describing what youre using in future please :) And if youre not sure, we accept there are sometimes language barriers, feel free to make sure by repeating the question or referencing the part you dont get
 
Last edited:

zgfg

Senior Member
Oct 10, 2016
8,508
6,220
Xiaomi Mi 11 Lite 5G
But shamiko is for zygisk, and I have not enabled zygisk in delta canary
I enable Zygisk in Delta, I don't use Shamiko and I don't need USNF (in Delta)

However, I use Zygisk-LSPosed (with some LSPosed modules) and Hide My Apps.
There is a separate guide for HMA - search in XDA

For Strong Integrity you were answered above - you cannot trick Trusted Execution Environment. If not familiar with, use Search in XDA, it was discussed in details in other threads

PS: Some ppl use Riru with Delta, I don't and cannot guide about (in that case you must not enable Zygisk)
 
  • Like
Reactions: 73sydney

ashish1989

Senior Member
Aug 22, 2014
488
38
Ghaziabad
you said in last post:

Installed magisk canary latest

if youre not using official magisk canary (and when you post Installed magisk canary latest we assume rightly you mean "official magisk"), please specify youre using Delta, otherwise youre going to be sending people off on tangents and wasting their time :)
Bro its a delta thread, that's why I didn't find important to specifically name it
 

Top Liked Posts

  • 6
    I raised new issue on safetynet fix repo, don't know if kdrag0n will take a look https://github.com/kdrag0n/safetynet-fix/issues/269
    4
    I am just switched from official magisk to Delta magisk because many of my banking apps detect root/modification on my device
    just some questions:

    - do I have to uninstall official magisk after installation of delta magisk; or should I uninstall official magisk?
    - I have alread installed bootloop-protect module from huskydg in official magisk. Do I have remove it before enabling it in delta magisk?
    - regarding Hide-my-Apps from Dr-TSNG, is Xpsosed-module compatible with Delta Magisk?
    - Is HMA still neccessary in Delta Magsik? I suppose Magisk doesnt only hide root and magisk, but not other apps, right?

    - I als read this about SUlist:
    Are Xposed-modules like HMA modules which I should enable in Core-only mode before switching to SuList?

    Thanks for your help
    About switching to SuList, read the discussion here, above, from Saturday

    LSPosed modules, incl HMA are compatible with Delta and SuList, but for Enforce SuList, all their apps like HMA apk must be checked in the Configure SuList - again, see the posts above

    Btw, MagiskHide (the concept, and the need for) is different than HMA. By MagiskHide you hide the Magisk itself - by HMA you hide applications that may give a clue that you have Magisk installed (like, why would you have Magisk app installed if you don't have Magisk, hence you have to hide Magisk app by HMA from some 'banking' app that look if the Magisk app is installed, etc)

    And SuList is just MagiskHide - but applied through the whitelist SuList. Ie, Magisk is hidden from all apps except those (few) specifically listed in the SuList

    'Normal' MagiskHide (by default in Delta) means the blacklist - it hides only from those apps specifically listed in the MagiskHide list

    And MagiskHide is the old concept from Magisk v23-, better for hiding than the (new) DenyList in the official Magisk (actually, DenyList is not for hiding, that's why you additionally need Shamiko for the official Magisk)

    But for modules it's the same - just don't use Shamiko in Delta since it's not compatible with MagiskHide (Shamiko is for DenyList).
    And some modules like Bootloop protection are built-in - in the Delta app settings you have an option to enable Bootloop protection or not
    4
    From delta telegram about sulist usage
    1.
    Tips: In order to make modules more compatible with SuList, Magisk Delta supports mount module for SuList apps again after all modules file are directly unmounted from zygote process. However, it is better to enable Core-only mode before switching to SuList, add necessary apps to load modules then enable modules and reboot. If there is something wrong (SystemUI crashs), you can connect your device to adb and disable sulist by this command and reboot:

    adb shell su -c magisk --hide sulist disable


    Theme modules usually need SystemUI, Settings and Launcher to always be added to SuList to prevent crashing, there might be additional apps need to be added also

    2.
    This module will help you to add all module apps to sulist to prevent crashing. It uses aapt binary to parse the package name of apk (I forgot the source) As it is heavy to add code that automatically add module files to Magisk Delta, I won't add it.
    sulist-auto-whitelist.zip
    3
    What? So rude. The bank app was working on the same rom before, so the most probable was that it was detecting magisk.
    Rude? You don't even say what it is (your bankinh app)
    3
    I said

    above because it may allow users to avoid unofficial forked builds altogether... A way to have your cake and eat it too officially!...

    Of course, your goal may be to restore/use/hide Zygisk, and it may be possible with Delta fork... I'm not sure... PW
    Absolutely love what @huskydg has done here and for those who are afraid (or unwilling) to try the forks, this is a good compromise.

    This module has (and will make) so many people happy!!!
  • 50
    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
    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
    Thread re-opened
    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