yashsingh1/xdaforums huggingface dataset:
[Magisk] zgfg:
Screenshot of the Magisk app, top portion, with the version of Magisk (to see does it show/recognize or not)?

If Magisk app does not recognize Magisk, it will not pop-up to grant a root to the new apps
[Magisk] Andy3153:
I already showed a screenshot before. Here you go again, I guess:

EDIT: The problem isn't that Magisk isn't installed. As I showed in the main thread, files are there, there's signs of it being present on the system. But, the Magisk app no longer recognizes it after the update to LOS 20
[Magisk] zgfg:
Sorry, I overlooked

Make sure you didn't have Magisk installed previously, with the Hide Magisk app

In that case your old renamed and repackaged Magisk app sees/communicates to Magisk, and your new Magisk app does not

That's the reason how previously granted apps still have root etc

Known issue 'thousand' of time asked/answered here - you need to find that old renamed/repacked Magisk app (mngr) and uninstall that app, then reboot (and potentially reinstall the new Magisk app)

Btw, Magisk app is not Magisk 'service'/mask (whatever we call it) just a UI manager to more easily manage Magisk (otherwise practically everything could be managed via Terminal, su and magisk command)

You say that Termux still has the root grant - try as on the screenshot
[Magisk] Andy3153:
I think I did have Magisk Hide. I can't remember.

By just simply looking inside of the settings app? I did that and I couldn't find anything
[Magisk] zgfg:
It seems you do have that syndrome

By default, renamed Magisk app takes the name Settings but if you overwrote in the pop-up when hiding, you should know which name you gave (like when setting a pin or pass)

Don't know how Settings work in your LOS. In my MIUI, I have Settings /Apps /Manage apps and it will show all the apps installed - scroll down, look to their names, pick the right one and Uninstall

Installed apps should be also visible in the Drawer

Or use pm list packages command in Termux and pm list packages -f

It will show all the apps/packages installed.

Repackaged Magisk app comes with the random/'garbage like'/meaningless package name (usually, it will be the only one with alike)

Second command will show you also its renamed app name (and path), that you can find it then and Uninstall
[Magisk] Andy3153:
Okay.. I found the issue. The Magisk Hide garbled name app got removed, but I use Shelter to isolate apps, and it uses the work profile. Somehow, the work profile retained that Magisk Hide generated app, and that was the only thing stopping Magisk from working. Not even a reboot was required. Thanks for the help.
[Magisk] SebaS-DG:
Hello guys, Im trying to use an app called "shell box" for argentina and brazil.

Testing it, when I flash magisk, it dont work, if I flash the uninstaller.zip in twrp, removing magisk things, the app works again.

Safety net test is all ok

Waht I should?
[Magisk] zgfg:
As for any 'banking' app you must put it to DenyList (and reboot) - but that's the beginning

Maybe you will also have to use HMA (separate thread with a link to guide)

Btw, SafetyNet is DEPRECATED, successor is Play Integrity API (already applicable for months and all the time discussed here)

But 'banking' apps don't look only for PI API... You will have to play with
[Magisk] SebaS-DG:
Ouh, yeah I did this "As for any 'banking' app you must put it to DenyList (and reboot) - but that's the beginning"

Isnt a bank app, just an app to collect points when you pay something using a linked card on the app.

Anyway, tried this:

Displax / safetynet-fix

v2.4.0-MOD_1.2

But still the same, the app dont start

Im going to read more later, time to rest

edit: and tried to delete magisk files and magisk Hide option to change name of magisk, but didnt work
[Magisk] J.Michael:
"Banking app" is shorthand for "miserable busybody app that refuses to run if it believes the 'integrity' of the device has been 'compromised'".

What do you mean by "tried to delete Magisk files"?
[Magisk] zgfg:
Please observe the difference between 'banking' apps and banking apps

Most of banking apps try to detect root (and that is not only about passing the old SafetyNet or the new Play Integrity API - as said, passing that is only the beginning of the art of hiding root)

But nowadays McDonalds, IKEA and who knows what similar stupid apps (I don't use them but users reported here) also look for the root and don't work if they detect

Hence we call ALL those apps 'banking' apps

And as said, you have to put each that app to DenyList

Before retesting, clean Data for ya our app (some 'banking' apps remember if they previously detect root, you have to force them to try again by deleting their data),..

Also, you may need to use Hide MyApplist

Sorry I will no go into the more details and will not further guide since there are posts and posts here with all the details, there are threads with the guides, etc
[Magisk] casouzaj:
Shell Box is working in my Xperia XZ2 running LineageOS 20.0. I have the latest Magisk Delta Canary. Zygisk and MagiskHide are enabled, SuList enforcement s disabled. Shell Box is ticked in MagiskHide list. Regarding device and basic Integrity tests, USNF-MOD 2.4.0_1.2 is enough for me.
[Magisk] zgfg:
New kid on the block - new Magisk Module manager

Download MRepo app:

Releases · MRepoApp/MRepo

A modules manager for Magisk, KernelSU and APatch. Contribute to MRepoApp/MRepo development by creating an account on GitHub.

github.com

Install and grant the Root access

Open MRepo, go to Settings, Repository and press +

Add Repo with exactly the following URL:

https://raw.githubusercontent.com/ya0211/magisk-modules-alt-repo/main/

Add - and I think you will need to restart the MRepo app

Then, under Modules, Cloud (top left icon) you can see (and manage) all 70 modules from Magisk-Modules-Alt-Repo
[Magisk] IamTheBRAVE:
Hey friends,

Quick question. Is there a way to back up all my modules to be restored later? I'm going to factory reset my phone and don't want to have to hunt them down one by one.
[Magisk] m0han:
So, the bloated Fox's MMM can be avoided?
[Magisk] J.Michael:
Make a copy of the /data/adb/modules tree.

Just restoring that tree will restore some modules.

At worst, you will have a list of the names of the modules you had installed.
[Magisk] zgfg:
Yeah, some modules additionaly store outside, like /data/adb/aml or /data/adb/lspd

and also scripts to /data/adb/service.d and/or /data/adb/post-fs-data.d
[Magisk] zgfg:
You screenshot shows two repositories but still eleven modules on cloud (from the first, preconfigured test repo) - you needed to kill and restart MRepo to update and include seventy modules from the second repo you added

Anyway, I tested update for one module and it worked fine

I just don't like that when I click on Changelog it displays Readme.md (general info) instead of Changelog.md - as on the screenshots
[Magisk] SebaS-DG:
okay, Im going to try that on my secondary phone poco x3 pro with lineage os 19, 2022-11-11
[Magisk] SebaS-DG:
Tried Canary, not sure about this Delta Canary.

I hide magisk, the option with name change, Zygisk On, Enforce Denylist On, Shell box ticked, safety net app shows is all ok. USNF mod installed. But didnt work.

Going back to work for now, I give up again for today.

Poco x3 pro test, yesterday was poco f4 but with Miui stock 13, android 12
[Magisk] zgfg:
Delta is a different Magisk fork. It comes with MagiskHide, not DenyList

For Delta there are also Stable and Canary releases
[Magisk] casouzaj:
Magisk Delta discussion thread is here: Thread '[Discussion] Magisk Delta - Another unofficial third-party Magisk fork' https://xdaforums.com/t/discussion-magisk-delta-another-unofficial-third-party-magisk-fork.4460555/
[Magisk] m0han:
The second screenshot in my post shows those 70 modules. Isn't that what you meant or is there anything more?
[Magisk] zgfg:
But your first screenshot was showing 7/11 (installed/CLOUD)

Go to Modules, click on cloud icon (graphics, not text) and you must see there about 80 modules, starting with 3RDNavBar AOSP

If you already killed and restarted MRepo it will show, but it doesn't immediately when you add a Repo to the Settings
[Magisk] m0han:
There is a 11 secs gap between those 2 screenshots, during which, IIRC, I was able to kill and restart the app. ;). New screenshots here.
[Magisk] badabing2003:
Interesting, I didn't have to kill and restart, just added the repo and hit the refresh button (without thinking what it would refresh) on the repo page, then went to modules and see 88 of them.
[Magisk] zgfg:
Yesterday I contacted the dev and he answered he will make that refresh to apply automatically when a repo is added to MRepo settings

He will also make some corrections regarding to clicking on and properly displaying README.md, changelog.md and license:

Refactor Modules/Cloud & View Module · Issue #5 · MRepoApp/MRepo

For many modules, clicking to Changelog displays then readme.md instead of the changelog.md For one module I even got 404 Not found for the Changelog

github.com
[Magisk] J.Michael:
For future reference, *these* screenshots are clearly legible.

Those earlier screenshots, not so much.
[Magisk] HippoMan:
I'm thinking of writing an app which makes use of the sui API.

I'm wondering if anyone has any experience with sui-enabled apps running with Magisk-25.x under Android 11, 12, or 13.

The sui docs claim that sui-enabled apps are less detectable by root checkers than traditional root-enabled apps, and I'm wondering if people's actual experiences are consistent with this claim.

Forgive me if this post is deemed to be off-topic.
[Magisk] badabing2003:
From the author of Sui, App Ops uses Sui and is currently working fine on Pixel 7p with latest Magisk Canary and of course A13.

I can't comment about detection.
[Magisk] manuelguedes:
Hi, I'm newbie and a week ago I successfuly rooted my phone with magisk.

But today, while trying to do some editing of the /system/etc/init/hw/init.rc with root explorer, don't know how, ended up with an empty init.rc and no backup of the original one :(

The phone is still up and running (andorid 11) and fully charged but I'm affraid that if I reboot I'll brick it.

Will the Magisk uninstall button will work reverting back to stock boot and recovering the init.rc on the process ?

Or will it brick when it restarts?

Many Thanks for your help
[Magisk] pndwal:
You haven't said what device, ROM you have...

I can't find this file/directory on my device...

I doubt that restoring stock images w/ Magisk will do much for you; generally only restores /boot or /recovery and possibly /vbmeta partitions...

Dirty flashing your current ROM should fix /system files however... PW
[Magisk] huskydg:
As you made changes to system partition, you must reflash your ROM
[Magisk] HippoMan:
Yes, I have already read that statement from the author of sui. Thank you.

I'm hoping that one or more people who have been participating in this huge thread might have used sui-enabled apps and could comment about detection.
[Magisk] huskydg:
This modification is changing system partition and must reflash ROM
[Magisk] pndwal:
Exactly what I said above... 🤪

Not sure why you've repeated this twice now... PW
[Magisk] manuelguedes:
As per sugestions, I did flash the stock ROM and re-rooted the phone with no issues. My main doubt was If by rebooting it would permanently brick the phone, but not, all went well. Thanks!

The issue that provoked this is more strange and still happening. I was trying to do a change to make the phone automatically power on and start when charging. As per several sugestions from different sources I was trying to change the init.rc with these lines:

From:

on charger

class_start charger

to:

on charger

exec u:r:magisk:s0 -- /system/bin/reboot

But whenever I try to edit the file, when I save it it will become blank. Same thing if I copy any file from internal storage or SD card to system/etc/init/hw folder. The file is copied but empty.

I tried this already with 2 different root file manager apps: Root Explorer and File Expert. both with RW/Monted

On File Expert the destination file is created but completely empty.

On Root Explorer it gives an error saying that It couldnt copy the file

On root Explorer i I try to edit the file when saving the file will become blank (0 bytes size)

Any sugestions on how to properly edit this file without emptying it?

many thanks
[Magisk] zgfg:
On the most new phones System (As Root = SAR) - all system partitions are READ ONLY on the file system level (and root does not 'help')

That's why Magisk provides Systemless rooting. Read on the Magisk GitHub, here in the old posts, elsewhere - covered tons of times (won't repeat the tech details)

Check eg how Systemless hosts + AdAway apply changes to /system/etc/hosts without effectively changing the read only original

And all (newer) modules do the same (using mounting mechanism provided by Magisk).

There is no hard writing to the System (it will work only on the old phones, released originally with an old Android versions)

Also, the SAR is 'full' - no spare space for additions and chsnges.

Only when ROM is updated, it resizes the partition to the new needed size

PS: Since Magisk mounts the systemless changes while booting and initializing the Magisk, changes will be fully applied by the time of finishing the boot - they cannot be 'visible' since the beginning of booting
[Magisk] pndwal:
Mmm... You still haven't said:

However in line with the general info above, If you have older device w/ custom ROM your odds of making system changes are improved...

You'll likely need to disable verify and research other requirements even for custom ROMs...

Stock ROMs now often build in protections to prevent/revert changes even where dynamic / logical r/o partitions w/ shared blocks are not used... Nb. this scheme was introduced w/ Android 10...

Assuming you have a modern device, this may be useful to you:

... bit more here:

https://xdaforums.com/t/magisk-general-support-discussion.3432382/post-86243253

... I doubt a systemless overlay will work in you case however, since this is applied at boot time and you seem to want to set values to be read before that... You may still be able to achieve what you want depending on device / ROM, but I really wonder if it's worth it... 😬 PW
[Magisk] m0han:
Taken around 4 pm. Light mode ON.

Taken past midnight. Dark mode ON.
[Magisk] J.Michael:
Look at @ebod's adventures in this thread. He gave up trying to modify a system file in a running Android system. Instead, he modified the boot image he flashes so that the file would be the way he wants it when Android boots.
[Magisk] olik2000:
Is there anyway to tell if an app is checking for strong integrity? I have 2 apps that stopped working after having to update them and it's because they detect root, but I would like to know if it's strong integrity so I can just give up. The apps names are Absher and Nafath.
[Magisk] zgfg:
MRepo 1.1.1:

Release v1.1.1 · MRepoApp/MRepo

Features Refresh data when repositories change (add, delete and update) Close search box when leaving Modules Add Telegram Channel UI Add View License Refactor Modules

github.com

with fixes for License and Changelog:

Still issues with Changelog (crash or half-visible) · Issue #6 · MRepoApp/MRepo

For the two modules from Alt Repo, MRepo crashes when I click on Changelog

github.com

Remove and add again the repo:

https://raw.githubusercontent.com/ya0211/magisk-modules-alt-repo/main/
[Magisk] m0han:
No in-app update/notification. Couldn't find option to check (manually) either. Join TG Channel and follow updates.
[Magisk] zgfg:
You mean notifications for updates of the MRepo app itself

Yeah, seems not provided. Btw, yesterday when I submitted and updated those issues with Changelogs, the developer once rebuilt the app but using the same/previous version number

---

Btw, notifications about updated modules are supported - as on the screenshot

PS:

[enhancement] In app update notifications · Issue #8 · MRepoApp/MRepo

Could you maybe implement that MRepo app shows/notifies when the new app build was released

github.com
[Magisk] m0han:
Yes. (I should've made that clear.)

Knew about that.
[Magisk] badabing2003:
I noticed that to, no app update.

Plus I didn't find the app version anywhere, perhaps I missed it.

Lastly, when I check modules in Magisk, if the module supports auto updates, you would see a disabled update button, and an enabled one if there is an update.

Modules that don't support auto update, you don't see the button.

This is a good visual cue that if I want I should check it myself.

I don't know how it works with his repo. There is no indicator.
[Magisk] zgfg:
Here you go
[Magisk] zgfg:
MRepo app will also indicate if some of installed modules (that do support auto-update mechanism) can be updated

See the last part of that post and/or the screenshot here

https://xdaforums.com/t/magisk-general-support-discussion.3432382/post-88202285

Edit: But it seems to me that it's not fully reliable

I go to my /data/adb/modules/<some module>, open its module prop and downgrade versionCode=

If I reopen Modules in Magisk app, it immediately shows that that module can be upgraded

Fox MMM it will also shows that that module is upgradable - and the module does not need to be from the repository

However, for MRepo it took me that I sometimes had to reopen MRepo couple of times to eventually recognize that the module was upgradable.

I also clicked to Cloud/Local under three-dots in the Update tab but it didn't help reliably/predictably either.

And it eventually showed only if module belonged to the Repo (the Repo must be enabled under Settings/Repositories)

Not fully sure how/when/why MRepo sometimes shows and sometimes does not that module is upgradable. But it's not reliable and not instant
[Magisk] pndwal:
For Zygisk module Devs:

Update Zygisk API documentation

topjohnwu committed 24 minutes ago

For carifications:

https://github.com/topjohnwu/Magisk/commit/85d9756f620c144b89a74611381cc19cd9fc5af2?diff=split

PW
[Magisk] pndwal:
Latest Canary (+Debug) Magisk:

Magisk (7dbfba76) (25207)​

[General] New magic mount backend. It supports loading modules into system with overlayfs files injected

[MagiskInit] Support replacing existing *.rc files in overlay.d

[MagiskInit] Rewrite sepolicy.rules mounting and loading implementation

[Zygisk] Release new API version 4

[App] Support patching init_boot.img for Samsung ODIN firmware

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/badd5dec1f47f6f07cb828893fb6580efbd20741/notes.md

👍 PW
[Magisk] pndwal:
www.twitter.com/topjohnwu/status/1629984693373505537

👍 PW
[Magisk] Dark_Eyes_:
Is it just me or the latest canary app crashes on start?
[Magisk] Lughnasadh:
Yeah, I saw someone say that it's happening to a lot of people. Don't know the context. Haven't tried it myself.
[Magisk] Gordietm:
Yes, same for me.
[Magisk] Lughnasadh:
Issue opened concerning latest Canary Magisk crashing (Pixel 6). Canyie found the breaking commit.

Magisk app crashing on appstart (25207) · Issue #6637 · topjohnwu/Magisk

Context: The canary build has been installed and the app would immediate crash when clicked. Uninstalled and reinstalled to make sure it wasnt related to the app being hidden before, same thing hap...

github.com
[Magisk] sbute:
Debug app is ok
[Magisk] martyfender:
I upgraded one of my devices to the latest debug build. Everything seems to work fine except when I try to hide the magisk app. I gets stuck on the dialog box: Hiding the Magisk app...

I let it run for over an hour with no change.

This does not surprise me.The latest action builds for the ~ last week and a half or so have had the same issue. Reverting way back in the action builds solves this problem. A factory reset did not help at all.
[Magisk] sergej_7:
i cannot Update magisk, it will not Open past magisk Logo after updating nor can I use any other Version then this one: Magisk-831a398b(25206) . Pixel 6 Android 13 (TQ1A.230205.002)
[Magisk] pndwal:
If I'm not wrong, this has been a recurring issue for some time...

When stuck after taking Hide the Magisk app, close everything (don't grant superuser rights etc if asked) and check if you have both hidden stub app and full Magisk app installed... If so, just delete the full app...

In my experience the process has simply failed to uninstall full Magisk app after stub's data is populated with the Magisk binaries; manually uninstalling it may also complete the process for you, in which case hidden Magisk in stub should then work fine. (It won't work if full app is present.)... PW
[Magisk] pndwal:
BTW, a second fixed ci build with Fix release build from Shana, this one pushed by John and merged already an hour ago, is now in actions runs... They may just be putting it thru its paces... hold tight... 😋 PW
[Magisk] Homeboy76:
<Deleted>
[Magisk] pndwal:
See post above yours here... PW
[Magisk] Homeboy76:
Got it, deleted my post.
[Magisk] iwearthebelt:
Updated Magisk just now to version 25207 on the Canary build and it crashes every time I try to open the app. Any fix for this?
[Magisk] justDave:
First time PW has ever made this thread shorter?
[Magisk] Lughnasadh:
Scroll up and read.
[Magisk] iwearthebelt:
So what they're saying is sit tight it's being worked on? Or am I missing something?
[Magisk] Lughnasadh:
Yes, it's fixed. Just wait for the next release.
[Magisk] iwearthebelt:
Thanks, wasn't sure
[Magisk] iwearthebelt:
Just one more thing, do you think I'll need to uninstall the Magisk Manager app or should I just install the updated apk over it when it's released ? Never ran across this issue before. I don't want to lose any modules or their settings. Thanks!
[Magisk] zgfg:
If you previously didn't do Hide Magisk app, then install new Magisk app

If you did Hide Magisk app, then do Restore Magisk app (or uninstall Magisk app - but only app=manager, not the whole Magisk) and then install new Magisk app

But then you still have to update the Magisk.

From the updated Magisk app, chose at the top Install (Magisk) and then Direct install/update and reboot
[Magisk] iwearthebelt:
I had it hidden but unhid it prior to installing the latest update so even though it's currently crashing, it's unhidden. Thanks for the info.
[Magisk] J.Michael:
I think uninstalling the Magisk manager app will not affect your modules -- when you install another Magisk manager app, it will find the module tree.
[Magisk] McFlypants:
Install debug release, then you can at least start magisk manager (works for me). But hiding it is taking forever.
[Magisk] iwearthebelt:
Thanks for the info, I didn't know that debug and canary were basically the same (for the most part). At least I'm able to use Magisk Manager and I'll switch back to Canary once it's fixedw. As of right now it still crashes.
[Magisk] iwearthebelt:
Worked, but for some reason I can't hide magisk. Guess I'll have to wait for the Canary fix to hide it.
[Magisk] rajumack07:
Latest canary update worked but hiding magisk manager fails. Thanks