yashsingh1/xdaforums huggingface dataset:
[Magisk] eleete0712:
How do I obtain a stock boot.img from my Device without the use of a custom recovery or downloading it from the internet? Is it possible with some fastboot command or will it only work with a custom recovery?

Sorry if this has been asked before. I couldn't really find a clear statement.

LG G6 if it matters.
[Magisk] tag68:
Did ask the question before quite some time ago, but it got more importance because of this:

How could it be possible to

1. Find out if system was modified (once mounted rw)?

2. Prohibit mounting system rw?

Ideas to 1:

It could be possible to store a checksum somewhere, calling the checksum routine after the update. Is this a possible extension of Magisk?

Ideas to 2.:

Is it possible to replace "mount" command by a wrapper which replaces ",rw" by ",r" if the command line refers to system partition? Is this a possible extension of Magisk?
[Magisk] Didgeridoohan:
Since it's in the official repo on GitHub it'll be in the next release...
[Magisk] Eng.Raman:
Thanks for confirming. :good:
[Magisk] bmg002:
Thanks for the tip. I disabled the universal safetynet fix module, rebooted and went into root checker and it claimed it was not rooted (which is likely because I denied the request for root access in magisk), but it still sees the SU binary and the permission manager app.

I also tried completely uninstalling the safetynet fix and noticed the exact same thing.

In my Log for Magisk, the last line is:

--------- beginning of crash

with nothing underneath it. Above that line it does indicate that things are being hidden; well, at least it shows a bunch of "hide_list" values. I don't see anything in the log about mounting /system though and I thought that was one of the things it was supposed to show? I'm wondering if maybe my ROM is not cooperating with Magisk? It is the factory ROM with my phone (MIUI global stable version 8.5.2).

Further inspection of the logs makes it look like after that 'beginning of crash' line, it isn't properly finishing starting up magiskhide. If I manually go into /magisk/.core/bin and run magiskhide it does some extra things such as modifying data structure of verifiedbootstate and verifymode then does a mass kill of everything in my magiskhide list and starts the magiskhide daemon. Then when apps in my magiskhide list start I see them in the log along with unmounting /sbin, /magisk and /system/etc/hosts get unmounted (which I want) and the root checks pass (shows NOT ROOTED as well as no SU binary or apps), but when I try to check safetynet it fails both basic integrity and cts profile match. If I completely remove magisk, then basic integrity passes but cts profile match fails (which is expected as I have an unlocked bootloader). I am at a loss as to why the daemon fails to start on boot and why I need to start it manually. Nor why using MagiskHide from magiskManager doesn't seem to work to hide my root status (finds SU), but using it from the terminal seems to hide my root status.
[Magisk] Moezenka:
Hey i got an honor 8 (b394), safety net was passing fine until i installed a system app manually via twrp file manager and mounted system, a gps app to priv-app with the proper permissions rebooted and safety net is failing even if i were to remove the system app.

Root checker detects my root even though i added root checker to the hide list.

It worked before not sure why it breaks after a reboot, havent done anything else
[Magisk] jenslody:
You should uninstall Magisk and reinstall it on a clean device. Or if possible remove "/data/magisk.img" from custom-recovery and let it be recreated by Magisk 14 (better 14.2 beta).

The "magiskhide" and "bin" subfolders are leftovers from your older Magisk installation and not needed with actual Magisk and might cause trouble. The actual hidelist is in "/magisk.core/hidelist" you can add or remove apps with the magiskhide command. Run "magiskhide --help" in a shell to see what is possible. AFter running "su", of course.
[Magisk] bmg002:
Just did that which cleaned up the /magisk/.core folder quite nicely (bin and magiskhide folders are gone), but now I have no way to get magiskhide to work for apps. Root Checker is now seeing SU and 1 su enabled app.

I did re-add that app to the hide list and it shows up in the hide list of the magisk log. In the log I can see the su: request rejected, which is expected, but it isn't hiding the SU binary or the SU apps. This is using the 14.2 beta.

Safetynet is failing too, but I'd more like to get some games to run; pokemon go is my "test" app. If I remove magisk, the app runs fine. With magisk installed, it says my login failed.

Not sure if it helps, but if I use the safetynet check in magisk, a logcat related to safetynet (logcat | grep SafetyNet) indicates a Low priority start of ServiceRecord(fa04222 u0 com.google.android.gms/.security.snet.SafetyNetClientService) and it fails both the CTS profile match and basic integrity. If I do a safetynet test using Root checker, I see the same check, but it also loads up SafetyNetHelper and has a SafetyNetResponse in the log which indicates that both things failed and the advice is to RESTORE_TO_FACTORY_ROM. genenforce shows it is enforcing (selinux enabled), the verifiedbootstate is green, but I see secureboot.lockstate is unlocked and ro.bootloader is unknown and ro.bootmode is unknown. I can also see 3 magisk related properties in getprop. Not sure if those could influence the safetynet status...
[Magisk] Fif_:
Have you tried dirty flashing your system outworn from your ROM?
[Magisk] bmg002:
I have not yet. Are you recommending I should flash the stock ROM overtop of my existing stock one OR just the system partition?
[Magisk] Eng.Raman:
Hello Devs :o

Is there any guide to update the su binaries for the magisk stable v14.0 OR beta v14.2 ?

Because there are some apps (e.g Titanium Backup ) tell that it "might not work reliably on some roms".

Thanks in advanced. :good:
[Magisk] jenslody:
Does safetynet passes without Magisk ?

Which app do you add to hidelist ? Root Checker ? This works for me as expected with "Root Checker", Root Verifier" and "RootBeer Sample".
[Magisk] bmg002:
Without Magisk it passes the Basic integrity check but fails CTS profile match due to the bootloader being unlocked. I would lock the bootloader, but I've read that it may end up wiping my /data partition and I'd like to avoid losing all my apps just for testing if I can pass safetynet on 100% stock.

I can give it a shot though if you think it'll help.

Also, if I run magiskhide --help it just sits there doing nothing. If I run maskhide with no arguments it shows me the acceptable methods of running it.

The apps that are in magiskhide --ls are:

com.google.android.gms.unstable

com.atominvention.rootchecker

The first is one that is added automatically, the second is added by me. I've also tried running magiskhide --disable followed by magiskhide --enable and Root Checker can still see /sbin/su and Permission manager /system/priv-app/AuthManager/AuthManager.apk.
[Magisk] Fif_:
That's fine, TiBu, while still working great, is hardly maintained any more. This message is a leftover from the days where SuperSU was the best and only root solution around. I've been running TiBu with Magisk root without any problems for months.

Just system. If you flash everything, you'll lose Magisk.
[Magisk] bmg002:
Sounds good. Will flash that and let you know what the result is in magisk. Downloading the ROM from the official site just in case my backup is bad.

I'll post back my results.

Update - DRAT! downloaded the official ROM, extracted the ZIP and the only image file in there is "boot.img". The only things that look like system files are "system.new.dat" and "system.patch.dat" and "system.transfer.list". Pretty sure that since they are not img files, that using fastboot to flash system will likely fail.
[Magisk] jenslody:
You are write about the "--help", my bad, I wrote it from memory and that gets worse from day to day.

Which of the many, many root checkers do you use, can you give me a link to test it ?
[Magisk] bmg002:
The only one I tried was "Root Checker". But since Pokemon Go didn't work either, I am pretty sure something is goofy with my install.

I'm in the process of finding a way (non-python preferrably) of converting the system.new.dat to system.img so I can flash it overtop of my system image, but not having much luck...

looks like python is the only way to do it. I'm out of town for the weekend, so I'll take another stab at this on Tuesday. Thanks for the help :)
[Magisk] Sunnymen1975:
Hello,

Have a problem to hide root from the tan2go app from DKB. But hide works, because root checker doesn't recognize root, if I set him in the magisk hide list. I have installed 14.2 Version of magisk magisk hide ist enabled, safetynet pass. I am using Nexus 5x with Android 8.0 stock. Only the boot image is patched by magisk. Log looks like this

I( 355:24184) * Starting MagiskHide

I( 355:24184) hide_utils: Hiding sensitive props

I( 355:24184) hide_list: [com.google.android.gms.unstable]

I( 355:24184) hide_list: [com.starfinanz.smob.android.sfinanzstatus]

I( 355:24184) hide_list: [com.starfinanz.mobile.android.dkbpushtan]

I( 355:24184) hide_list: [com.clivin.rootchecker]

I( 355:24184) proc_monitor: init ns=mnt:[4026531840]

I( 355:24184) proc_monitor: zygote ns=mnt:[4026547149] zygote64 ns=mnt:[4026547150]

I( 355:24184) proc_monitor: com.starfinanz.smob.android.sfinanzstatus (PID=24319 ns=mnt:[4026547285])

I( 355:24184) proc_monitor: com.starfinanz.mobile.android.dkbpushtan (PID=25437 ns=mnt:[4026547269])

I( 355:24184) proc_monitor: com.starfinanz.mobile.android.dkbpushtan (PID=25708 ns=mnt:[4026547291])

I( 355:24184) proc_monitor: com.starfinanz.mobile.android.dkbpushtan (PID=25806 ns=mnt:[4026547291])

Any suggestions?
[Magisk] Fif_:
Well then, backup boot to backup 1, dirty flash the full ROM, backup boot to backup 2.

Restore boot from backup 1, and you'll be good to go. If anything goes wrong you can restore stock boot from backup 2 and then reinstall Magisk.
[Magisk] Buffydamion:
Hi, using a Samsung S7 with Nougat 7.1 custom Rom Helios 7.22

I have major problems with Magisk 13.3 and 14.0 after dirty flash to Helios 7.22. Cant find a waý to pass SaftyNet, no chance.

Now I completely wiped my partition and installed a fresh Helios 7.22. again no luck mit passing SaftyNet. not in 13.3 as default, not with 14.0. Even not after uninstall-script Magisk and reinstall....

USB debugging is set to off.

Even enabled Magisk Core Mode Only, and still failing SaftyNet :(

Any ideas anyone`?

Big thx,

Buffy
[Magisk] nightshot72:
Im new to Magisk, installed on my edge s7 without too many problems.

All seems to be working well, but Im curious how to revert back to stock to perform OTA updates?

If I choose Uninstall restore stock I get the message "stock backup does not exist"

What files do I need and where do I put them?

If I choose compete uninstall I get stuck in a bootloop until I reinstall Magisk via twrp.

Any help is appreciated.
[Magisk] realista87:
just a fast question:

do i need to install separately the zip file (in twrp) of magisk AND THEN the magisk manager ( in the os) apk?

or...... di i just need the zip file...and at the reboot i will automatically fing the manager already installed?
[Magisk] St Sinned:
Can I install Xposed, Greenify, Magic Charging Switch modules to my Zenfone Max SD415 in AIM ROM?
[Magisk] Pkt_Lnt:
Should be 2, but if not try 1.

The apk is in the zip and should install, but for very few it does not. You can extract it and install if needed.
[Magisk] Deus.:
If you can see them in the downloadable moduls in Magisk (version 14) then yes.

On Nougat the Greenify has no effect, unfortunately. You can activate it, but can't use the Xposed functions in the app.
[Magisk] Didgeridoohan:
Have you tried hiding the Magisk Manager? That option is found in the Manager settings.

You might have to clear data for the tan2go app as well, since it's quite common that they store info about detecting root.

I assume you've read the troubleshooting guide... Otherwise you should.

And oh yeah... Logs, please.

There's a bug in v14.0 where the boot image backup doesn't get created properly (it's been fixed in v14.1+ beta). Flash your stock boot image manually in ODIN.
[Magisk] topjohnwu Magisk Queries:
We currently only support donations by PayPal
[Magisk] klausstoertebeker:
Magisk Manager 5.3.0 doesn't recognize Magisk v14.0 installation

Hello to the community,

I'm new to Magisk and I have the following problem:

I running a "Sony Xperia Z3 Tablet compact" ("formfactor" SGP621) with Android Marshmallow (Version 6.0.1).

I flashed a boot image (created with the tool "rootkernel", version 5) which contains TWRP and DRM fix and Sony RIC disabled. This boot image runs fine.

I installed "Magisk Manager 5.3.0" before installing Magisk v14.0 because I was curious about what Magisk would be and to ensure that there was no other super user was installed.

Then I installed Magisk v14.0 via TWRP and it notified a successful installation. So after reboot I expected "Magisk Manager 5.3.0" to reconize the installation.

But it doesn't. Instead of that I'm offered to install it via "Magisk Manager 5.3.0". So I thought there was a dependency between recognition of the Magisk installation and the order of installing Magisk and Magisk Manager. I deinstalled and reinstalled "Magisk Manager 5.3.0" but the Magisk installation is still not recognized.

Would be nice I someone could help me because I'd like to use this fantastic piece of software :)

Greetings from Germany
[Magisk] DragonQ:
Another root loss overnight. Logs attached. I think it may be related to the LMK problem in current LineageOS builds that causes applications to be killed over-aggressively (e.g. including currently playing media applications). Maybe Magisk is force-closed by the LMK and it cannot recovery correctly for some reason?
[Magisk] jenslody:
I tried this. It's my bank also, even if I do not use my phone for banking, I use a card-reader and a HBCI-card on my laptop, but I was curious.

It does not work if you just hide the Manager, it does not work if you clear the data with "pm clear ..."and it sometimes work if you rename "/data/dat/com.topjohnwu.magisk" reboot and clear the data of the pushtan-app.

In other words, it is not really clear what it looks for, seems a mix of several things.

I don't know if it's possible to hide a folder from an app, it's at least not how Magisk currently works.

One Idea would be to move the folder(s) (/data/data/com.topjohnwu and probaly /dtata/app/com-topjohnwu*) to "/magisk/.core" and bind-mount it/them on boot, so magiskhide can unmount it.
[Magisk] Moezenka:
Uninstalling magisk with the zip uninstaller restores safety net but not completely, cts profile match fails.

Ive tried the universal safety net module, it did nothing.

Reinstalling magisk keeps breaking safetynet ?
[Magisk] puturaya20:
Can help me not flash magisk
[Magisk] k0m3n9:
You have to flash stock boot img.
[Magisk] Didgeridoohan:
The solution has already been given to you... And if you look again it was actually already given in the screenshot you posted.

If you need more info, there's a section about "patched by other programs" here:

https://xdaforums.com/apps/magisk/guide-magisk-troubleshooting-t3641417
[Magisk] dimm0k:
is it possible to have Magisk replace services.jar while also removing the old services.odex from /system/framework? anything special to it other than creating a module that replaces files and "deletes" a file with a zero byte file?
[Magisk] Spillunke:
Since Magisk v14, i have to reflash Magisk EVERY DAY!

Its gone over night and sometimes also at day. I tried v14 and v14.2 but the problem still exists. What to do?

Axon 7 G, slim²-Rom (debloated stock), xposed v87.3
[Magisk] Didgeridoohan:
Logs... Please.

Try running a logcat in the background and hopefully you'll be able to catch what's going on.
[Magisk] I didn't know:
Hi to everyone, I've done some researches and I do not found a clear response. I have a Note 4 N910F with Stock Rom. I only want it for Adaway and iYTBP, to have an adfree device. If possible I want to stay stock for continue to receive OTA updates.

1 - I read that I can install Magisk without custom recovery, to don't not rise Knox to 0x1. Am I correct?

2.1 - If I install Magisk can I have OTA officially?

2.2 - If I install Magisk my device stay as official status or personalized?

3 - If yes, every time that I update my device I have to reinstall Magisk? (boot image is reinstalled, right?)
[Magisk] Legendary Cryptid:
I've had this problem several times. After a certain anount has passed after reflashing stock ROM and restoring everything from backup, superuser Toast notifications no longer pop up, even when I have them turned on in Manager. Any way to fix this problem?
[Magisk] Pkt_Lnt:
https://xdaforums.com/showpost.php?p=73791259&postcount=18967
[Magisk] CV01:
Hello.

Something is wrong while installing zips in Magisk Manager.

All okay when installing zips wia TWRP recovery.

Also I can't download zips in Manager application.

How to fix it?
[Magisk] Didgeridoohan:
https://xdaforums.com/search/thread/3432382?query=process error
[Magisk] Rush94:
My magisk hide fails with ctsprofile mismatch while basic integrity is passed

Device s3 neo

Rom unofficial lineage os 14.1

Magisk 14

Logs are below
[Magisk] Sirius_Balzier:
Hello :D

Sorry if i did wrong posting this here, i didn't found some Q&A section, and didn't found any answer for my question. :(

Well, my question: has anyone tried to flash/integrate/install Magisk root on a Huawei Y520 or a mt6572 chipset?

My phone is rooted with Kingo Root, but i want to play some games that detect root, tried Root Cloak but didn't work; i want to try suhide but Chainfire retired (sadly :( ). So, i want to try Magisk hide, because it works on my brother's phone (i've flashed a custom kernel with magisk integrated on a Xperia M5 for him). I think this is my only option to hide root from an app. I will be gratefully if someone knows about it and helps me, i don't find any answer, even in google.

Thanks in advance :fingers-crossed:
[Magisk] chazarss:
hi dudes,

can we disable popup messages ?
[Magisk] Luniz2k1:
Settings - Superuser notification
[Magisk] Pkt_Lnt:
please don't shotgun post, thanks

replied in other thread

please don't shotgun post, thanks

replied in other thread
[Magisk] Sizzlechest:
I'm trying to get this to work on an Amazon Fire TV. Mine has a fully unlocked bootloader. I flashed the stock boot.img file to clear out SuperSU. I installed Magiskv14.0 in TWRP, but it fails to boot up with Magisk installed. I had to reflash the boot.img to get it to boot again. I don't mind helping troubleshoot, but I don't know where to begin.
[Magisk] Didgeridoohan:
According to your log, Magisk can't write to the Hide list. Your Magisk image might be corrupted or it might be mounted read-only. Those are two likely suspects, but it might as well be something else.

I'd try a complete uninstall and then install the v14.2 beta. It has a lot of improvements... No promises it'll fix anything though, but worth a shot.

That's a Mediatek device, right? I've seen a few failure reports for Mediatek devices in the beta thread.

Backup your device and give it a try... Be a pioneer! :D

A recovery log would be a good start.
[Magisk] The_Juus:
Every time when I try to flash an module, Magisk manager say me that magisk is not activated. What does it mean? I have try many.... installing my super stock rom without magisk or with magisk 8 and then flash update. With magisk 8 I can install modules after flashing the update nothing works.... also magisk hide doesn't work... and I cannot pass safetynet... how can I fix that?
[Magisk] Anas Rahman:
Magisk crashes as soon as i tap on superuser menu, however all the modules and root apps work just fine but i can't check which all apps are using root access
[Magisk] Didgeridoohan:
Magisk 8!? That's... old. :laugh:

I'd flash the ROM without and then install the latest (possibly even v14.2 beta) separately.

Clear data for the Manager.
[Magisk] RastHacker:
Having trouble with Magisk on my Vernee Mars Pro :

failed to mount magisk img on booted android but in recovery it's okay

here's log(attachements)

Android 7.0 SDK24

VOS 1.0.0 (201709) official

Thanks ;D
[Magisk] The_Juus:
Have try this 3times.....the same error...

The old version was only for testing..... maybe can I modifie the rom, to install latest magisk with aroma?
[Magisk] Didgeridoohan:
Post logs, lots of logs (recovery.log, magisk.log, magisk_debug.log, logcat, etc). They might show something...
[Magisk] Banan PL:
How can I made module to find end replace lines in build.prop? I'm trying to develop module that enables Google Lens.
[Magisk] Simonex16:
CTS Mismatch on v12.0

Cannot check updates, no internet?

Properly rooted 8:MAGISKSU (topjohnwu)

SafetyNet Failed: CTS profile mismatch

what i have to do?

fulmics 7.6 LG G3 D855 :eek:
[Magisk] CAE_:
Can Magisk Manager app hide itself from launcher? Since I already have an entry in system settings I would like to hide app icon in launcher.
[Magisk] adibadi:
Does anyone know if there has been any progress on this issue? I have a Huawei Mediatab M3 with /system/etc/hosts being a symlink to /vendor/etc/hosts.

I couldn't find any newer information about whether or not this can work, if it's being worked on, or if it's really not possible to do systemless hosts in this situation.
[Magisk] Rom:
Waiting for XPosed for N support for Magisk

TADAM !!!!! :D:D:D

https://xdaforums.com/showpost.php?p=74081902&postcount=43

I am just waiting now for the magisk module update

Thanks to rovo89 again!:good:
[Magisk] Kaens:
[edit] see above
[Magisk] The_Juus:
Found the magisk files...
[Magisk] The_Juus:
And the other
[Magisk] albinsraj1:
Download progress broken in Magisk 14+ please fix it .. Also Please add modules size in magisk manager
[Magisk] Rom:
Without any logs files, topjhonwu couldn't make anything..
[Magisk] Vallhalen:
Is it possible to install xposed for android 7.1 with magisk? Asking because xposed for 7.1 is official now ;)
[Magisk] culiacanazo:
Nope. Not just yet
[Magisk] Rush94:
I tried no success , the same problem :(

Also one more thing how can i install xposed along with magisk ?

I hope it doesn't break my system and still able to hide !
[Magisk] culiacanazo:
You cannot yet install the new version systemlessly, and this is the wrong thread, buddy
[Magisk] Didgeridoohan:
Update to Magisk v13.3+. Anything older than that can't pass SafetyNet without some serious tweaking.

Currently? No.

In the future? Maybe.

According to your Magisk log, you have a mounting issue. "Resource busy". I believe I've seen some users fixing this by changing filesystem from f2fs to ext4. What's your output of these two commands in a terminal emulator (the spaces after and before " are intentional):

mount | grep " /system "
mount | grep " /magisk "

What's your output of (like above):

mount | grep " /magisk "

Any installation of Xposed (the Magisk modules for systemless Xposed will be updated eventually, now that official Nougat support is out) will trigger SafetyNet. Can't currently be hidden and it's unlikely that it will be in the future...
[Magisk] Sirius_Balzier:
Thanks for your reply :)

Yeah, of course, it is a mediatek device. I will try it, the next month maybe; because i'm using my phone every day, all day long, so, it's difficult now. But, as said above: I will try :fingers-crossed:
[Magisk] otonieru:
[MENTION=4667597]Didgeridoohan[/MENTION]

i kinda face a weird issue with my magisk, and think you are one of the right guy to consult with,

so i got magisk 14.2 installation with no issue,

safetynet check is all good with CTS and basicintegrity all GREEN,

weird issue is, all app still detect that my device is rooted. eventhough when magiskhide is enabled.

i remember to have it working (hiding root) on magisk 13,

and, since on magisk14 the log is kinda different, am kinda confused what to check on magisk log to ensure that magisk hide is properly working.

do you have any idea what might cause the issue ?

thank you in advance