yashsingh1/xdaforums huggingface dataset:
[Magisk] Veniak04:
Hi i have an Xperia XA (F3113) and rooted following the guide in the device thread, however i wanted to change from supersu to Magisk, so i flashed a stock boot (specifically this https://xdaforums.com/xperia-xa/development/f3111-f3113-f3115-stock-kernels-built-t3573119) then flashed Magisk 12 and i have root access but MagiskHide does not work so i looked at the log but i don´t know what is wrong.

If someone can help me so i can pass SafetyNet i will attach the log. Thanks in Advance

https://pastebin.com/JFF4hDgd
[Magisk] Veniak04:
I am using stock firmware.
[Magisk] DodoGTA:
What modifications did you apply to stock ROM?
[Magisk] Veniak04:
i didn´t modify nothing, i am using the stock firmware with the exception of this boot (https://xdaforums.com/xperia-xa/development/f3111-f3113-f3115-stock-kernels-built-t3573119)

It is supposed to be a stock kernel. I hope this answer helps
[Magisk] bluenote73:
I've tried Magisk v12 and v13 and each time I get similar results.

Magisk works, but MagiskSU does not appear to work (doesn't show as installed in the apps list, Magisk status screen complains about root).

If I add supersu, that's fine, but then I don't pass safetynet.

I'm on an Axon 7, and I am flashing the stock boot and system before flashing magisk. Can anyone tell me what steps to take next?
[Magisk] dahawthorne:
Have you ticked Settings/Magisk Hide? But if you've still got SuperSU installed you'll need to remove it before you use MagiskSU. I still don't know why people use Magisk with another supersuser - there may be a reason I don't know about, but if all you want is root, then it's already included.
[Magisk] Didgeridoohan:
Yes. Adding the script to post-fs-data.d will do the trick (no need for editing the permissions, Magisk will do that). IIRC that module will simulate init.d support by simply using Magisk to mount an init.d folder to /system/etc and then using Magisk post-fs-data to execute any scripts in that folder. You should be able to place the script in there as well, but it'll not work any different than what you already have. What the module does though is that it'll make LiveBoot think you have init.d support. Could potentially cause issues...

In my opinion your setup is a bit messy, but it works, so... :highfive:

What makes you think Magisk Hide isn't working? Your log looks fine... Is it because you can't pass SafetyNet? Test Hide by adding a root app to the Hide list. If it can't detect root, Hide is working and you've got something else causing problems with SafetyNet. Also, test if you can at least pass Basic integrity (true or false).

---------- Post added at 22:12 ---------- Previous post was at 22:09 ----------

I've seen several users reporting issues with Axon 7, but I think there was at least one reporting success with a v13 snapshot (search the thread). You could try different snapshots... Different dates and commits might cause different issues (hey, it's unofficial beta releases).
[Magisk] kgr:
Further to this, I have been searching the interwebs for a solution to my challenge, and I did notice a few other folks with the same problem, which is apparently still unsolved. I'd like to comment that I have tried a few more things, none of which made TiBu actually remove any apps.

1) Using a terminal emulator, I entered the following to switch SELinux to permissive:

su

setenforce 0

(Safetynet fails when SELinux is permissive. It switched back to enforcing on reboot and all is well)

2) I switched all sorts of settings in TiBu settings, relating to App Processing Mode and Force System BusyBox

3) A clean reinstall of TiBu

I have attached a screenshot of the root access info from TiBu, to confirm it has superuser access.

Also, to clarify:

- I'm not using any Magisk modules adding apps to system

- All I am doing is extensive manual debloating

- My same debloat method worked fine on SuperSU

I trust this info helps someone solve this weird problem :)

cheers
[Magisk] Veniak04:
I enabled the Hide for "SafetyNet attest" and it showed me the basic integrity and CTS fail, also the Play Store hides apps from me that i had before i rooted.
[Magisk] Didgeridoohan:
Ok, so your basic integrity is false... But, there's no need to add the SafetyNet checker to the Hide list. It's also not a root app.

Add a root app and see if you can hide root from that app. That way we'll know if Magisk Hide is working or not.
[Magisk] Veniak04:
Ok it worked i the root is hidden with root checker but the basic and CTS fail, i thought with MagiskHide i can pass them but it seems it is only to hide the root.

Thanks for your help!
[Magisk] Didgeridoohan:
You should be able to pass SafetyNet as well... The question is what about your setup that causes it to fail.

Did you only flash a new boot image or did you completely remove SuperSU as well? You can flash this unSU script in recovery to fully remove any traces. Also don't forget to uninstall the SuperSU app. Other than that, the most likely suspects would be Xposed.
[Magisk] Veniak04:
I don´t have Xposed and i fully unroot with the "fully unroot" option in SuperSU when i had it, then flash the stock boot an then flashed the Magisk and installed the Magisk Manager. If i flash the unSU script, does it will remove Magisk and if so does i need to flash the boot and magisk again?
[Magisk] ShapeShifter499:
I've heard of the guy behind izzysoft before, but can I trust that repo to always be up to date with the latest Magisk Manager?
[Magisk] Simone98RC:
Hi guys,

preamble: I'm running latest Magisk v12.0 and Magisk Manager v4.3.3, my device is a Oneplus 3 running Dirty Unicorns v11.4-20170505 stable.

After some reboots or days usage, I lose root access.

So I need to reflash Magisk from TWRP.

I tried to keep disabled Built-in Busybox as suggested in official thread, but the issue still remains.

I had the same experience even on OxygenOS Open Beta (from 7th to 12th firmware release, but I was using Built-in Busybox).

Have you worked on it for future Magisk v13?
[Magisk] RandomPooka:
Glad that's all it was and you're all sorted now, though.
[Magisk] ForgottenDude:
Guys, I'm going to clean flash a ROM soon. I have the Magisk.zip and the Magisk Manager apk on my phone.

My question is, after installing it, what about the pop up to update Magisk through Play Store? Will it still work even with the pop-up?
[Magisk] yochananmarqos:
If you install Magisk Manager via the APK you have saved, there won't be a pop-up.
[Magisk] Didgeridoohan:
Actually, there's another thing I had forgotten about... Do you have USB debugging enabled? If so, turn it off...

Other than that I guess you could try wiping your device and starting over clean. It's not certain it'd work, but if there's something on your device triggering SafetyNet it could possibly be taken care of that way... No promises and it's your choice, of course.

If your device have a forum here on XDA or somewhere else it could be a good idea to ask if anyone there have managed to get it to work. Good luck.
[Magisk] extreme79:
Hi guys!

LineageOs on oneplus one, latest nightly, clean install without root (at this time).

check with root checker show correctly no root and safetynet test successfully passed.

After Magisk installation, no magisk manager, no other things.. I repeated the test.

No root, but SafetyNet fail ("Respondse Payload validation failed"). Something to do that I'm missing?
[Magisk] DodoGTA:
Install Magisk Manager: https://tiny.cc/latestmanager
[Magisk] Didgeridoohan:
And activate Magisk Hide.
[Magisk] kaalalto:
Dears,

I searched in all this thread without finding the answer : I have a S7 edge running Android 7. Magisk is installed and everything is OK, including SafetyNet pass status.

In order to debloat my TW rom, I used to delete unwanted system apps with Titanium Backup and SuperSU.

Now, as I'm using Magisk for its hidding options, I can run Titanium Backup but after uninstalling the system apps, they are still there after reboot !

There is a way to completely remove them with Magisk ? Or it's just impossible as it works in systemless mod ?

Thanks !
[Magisk] Yooshaw:
Use the debloater module in Magisk instead of TiBu.
[Magisk] kaalalto:
The one using Terminal Emulator ?

Edit : tried it, but the apps remains there....thanks anyway !
[Magisk] thedeejay:
Having issues with getting root with Magisk, end up getting the error "Rooted but no root permission, not allowed?"

Any ideas on this one?

Phone is Xiaomi Mi note 2 on Developer MIUI Global (7.5.25)

Magisk Log reads as thus:

It doesn't look like much is happening in here.

Tried doing a full unSU (reflashed rom and boot.img as well) then installed all again.

Also /sbin looks right, see attached.

any ideas what might be the issue?
[Magisk] yochananmarqos:
The apps in the repo are auto-builds from GitHub releases, same as the official F-Droid repo.
[Magisk] veez21:
they're still there even after a reboot?
[Magisk] kaalalto:
Unfortunately yes...I see them in the launcher
[Magisk] Alucard:
Installing gltools on magisk breaks app Roehsoft ram expander,after flashing app cant open up.But installing gltools normally it dont.
[Magisk] techware7:
Running magisk 12 (4.3.3 manager). When I enable magisk busybox under settings and reboot, safetynet doesn't pass. If I disable magisk built-in busybox and reboot safetynet passes fine. Is this a known bug? Thanks.
[Magisk] Didgeridoohan:
If you already have busybox on your device it'll conflict with Magisk busybox. From Magisk v13 busybox won't be built-in anymore. Too many issues...
[Magisk] imarq24:
Ok so I've lost root???! I tried dirty flashing but that didn't work. I'm running PN7 on a N6. Need advice on what to do next...btw I'm using EX kernel all are lastest version
[Magisk] jiexi:
Google Pixel XL, latest May image except with April bootloader, Pure Nexus, Magisk v12, EX 1.11.

I can't seem to install any module through the Magisk Manager. When i restart after installing a module through the manager, the module doesn't appear in the list.

I noticed that Pixel was listed as WIP for v12, so is this expected behavior, or did i mess something up?
[Magisk] techware7:
No, I don't have busybox, just the one from magisk.
[Magisk] vsot13:
I'm pretty sure you do. It come prebuild with​ your Rom
[Magisk] techware7:
No busybox
[Magisk] teddy0209:
Try the v13 snapshot...
[Magisk] laupuy:
Hi,

Yes https://xdaforums.com/showpost.php?p=72293984&postcount=20

;)
[Magisk] anvil_fox:
Hi, guys.

Device: onpeplus 3t

Rom: tested or some rr builds and phoenix aex

Problem: with latest magisk root and manager after i turn on magisk hide after reboot ALL app start to crash continiusly. Tried different gapps, stopped installing my apps after flashing rom. Thats how i know that its a magisk module. I will apreciate any help.

Thank you
[Magisk] dwl99:
I have a Xiaomi Redmi Note 4 running AOSP Extended 7.1. It was originally rooted with SuperSU and I did the full unroot via the SuperSU app then flashed UPDATE-unSU-signed.zip to remove any last traces of SuperSU. I let the phone boot normally then rebooted to recovery and flashed Magisk v12, rebooted the phone then installed MagiskManager-v4.3.3.apk. This seemd to work OK but had the unwanted effect of breaking the Gmail app which force closes every time I run it. I've tried wiping the data for Gmail and also uninstalling then reinstalling it but with no success. I've now gone through the whole procedure twice and with the same results. Apologies, no log files as I restored from a backup before it occurred to me. Has anyone else had this?
[Magisk] nikexv2:
Dirty flash your rom and then flash magisk.
[Magisk] rfgamaral:
This is probably a stupid question but I can't seem to find the answer... I know what Magisk Hide is, I've enabled it in the settings, ran the SafetyNet check and it passed. But what is that application list under "Magisk Hide" in the navigation drawer? Do I need to enable Magisk Hide per app when and if I need it? Or is this some kind of "force hide" in case the general setting is not working for a particular app?
[Magisk] teddy0209:
It is there for apps that needs root hiding to run... If you just need safetynet, no need to mess with it...
[Magisk] rfgamaral:
Cool. I think I have a few apps that will benefit from such a feature. Thank you for the quick answer :)
[Magisk] dwl99:
Thanks, that worked.
[Magisk] jw1985:
I can't find magisk manager in playstore anymore. Anybody now's why?
[Magisk] Sy1ar:
https://xdaforums.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445/post72508849
[Magisk] jw1985:
Wtf..so I can't use magisk anymore??
[Magisk] Sy1ar:
You can use it, it will be updated on XDA and probably on apkmirror
[Magisk] Hubi97:
Don't worry! You can still use it. On the first page of the previously linked thread the link for the apk (the direct link) is there under "Downloads"
[Magisk] jw1985:
Thx man but can u plz link the download link? Can't find it ;/

Never mind i find it! Thx!
[Magisk] Hubi97:
Dude, it's really not hard to find... Anyways here you go http://tiny.cc/latestmanager
[Magisk] jw1985:
And as i said i find it ;) thx for your help man!
[Magisk] mrkrazy:
Has anyone successfully passed SafetyNet using OMNI rom? I've got the latest version flashed with all SuperSU traces deleted and Magisk flashed with latest version but SafetyNet check is stuck as per the screenshot.

I've followed all the suggestions in the FAQ and the other threads but no luck. Activated MagicHide, unchecked USB logging and clean flashed a stock ROM but I still can't get it to work.

The boot.img should be a clean/standard one too as I'm on a OPPO Find 7A.

Does anyone know what the problem could be or should I just give up because it could be ROM related?
[Magisk] DodoGTA:
Please give me the Magisk log
[Magisk] mrkrazy:
Sorry, I forgot to attach it in my original post. Please find it attached and note that I have enabled debug logging just in case :)
[Magisk] mrkrazy:
Here's a logcat as well, if that's of any help.
[Magisk] dimm0k:
anyone have version 12.0 running okay on their LG device? when 12.0 was released I had trouble with it on my LGV20 and the seeing some others having issues with it as well. logs were posted and I believe [MENTION=4470081]topjohnwu[/MENTION] was aware, but then it trailed off. what happens is the update to 12 goes through successfully, but after a reboot the device hangs and reboots right after unlocking the device
[Magisk] One-ti-teuf:
Is it normal?

Envoyé de mon HTC One M9 en utilisant Tapatalk
[Magisk] dahawthorne:
Have you enabled Settings/Magisk Hide?
[Magisk] DodoGTA:
Magisk Hide doesn't work with SuperSU
[Magisk] dahawthorne:
Aahhh... duh... I missed that... :)
[Magisk] One-ti-teuf:
It?

Envoyé de mon HTC One M9 en utilisant Tapatalk
[Magisk] dahawthorne:
Yes, but see DodoGTA's response: https://xdaforums.com/showpost.php?p=72547430&postcount=14289
[Magisk] One-ti-teuf:
OK, thanks ;)

Is this important if not activated ?
[Magisk] dahawthorne:
I believe that it is important only if you are using critical apps like banking software, but I'll let people who know better than I do tell you the best answer.

If you want to use Magisk only and use its own internal superuser, you can unroot using SuperSU's internal root function (which should restore your original clean boot image) and then you can install Magisk. Everything should then work ok, including SafetyNey.
[Magisk] mortrackz:
Deleted
[Magisk] rfgamaral:
Just noticed this inconsistency (check attached screenshots), not sure where is the "problem" though...
[Magisk] Artim_96:
No problem. As long as it works don't worry. Probably just a number that wasn't changed
[Magisk] Shaneee:
Having some issues with Magisk 12. I've got a S6 with Stock ROM. Magisk Root some times is disabled. Either a reboot or reinstall of Magisk fixes that but it turn off randomly. I'm using MagiskHide for banking apps etc if that makes a difference.
[Magisk] dhk.-:
I have not read all the pages back, but if somebody can help me... I'm on my moto g5 plus and magisk 12 doesn't give me root. Magisk 11.6 works ok for root but it is imposible for me to install modules (they load and decompress but the after reboot there's nothing on modules). I have tried also magisk v13 fun the same that on 11.6.
[Magisk] brian 11:
If you get the new magisk 13.17604 and the same manager most mods will install but not all. Also you can install most mods from recovery but not the app systemizer I can't install that either way and I had installed and working before they took the magisk manager off the play store.

It's called unofficial magisk 13 topwujon has posted on there and supports it even though it's "unofficial"
[Magisk] ShapeShifter499:
Good to know, thank you
[Magisk] minary:
Is there any way to disable mount namespace separation like SuperSU can? (e.g. make a module, type a command, etc.) As I understand, Magisk is spawned before Zyrogate, so it would be possible to work around those limitations.

P.S. I'd like to mount my NAS to a directory in /sdcard so I can use files in that NAS with ordinary apps if you're wondering why I want it.
[Magisk] brian 11:
https://github.com/stangri/MagiskFiles

That is the newest zips of magisk and manager just made yesterday. You have to reguest a desktop site to see the download. And you have to extract to get the APK pot and the magisk will still be a zip.
[Magisk] tomatende2001:
If I using Magisk Hide my Amazon Prime Video crash. After disabling this function all work fine again. Also excluding this app from the Hide function not helps, I have to disable it completely.
[Magisk] newuser007:
SafetyNet Fails after I install Magisk.

I have Infinix Hot 2 x510 phone with official Android One Lollipop 5.1.1 installed.

The system is untouched and SafetyNet passes.

Then I flashed Magisk v12 and SafetyNet fails. Even when Magisk Hide is enabled.

How to fix this?
[Magisk] teddy0209:
Need more info about your setup... Might be that magiskhide is not working properly on your device...
[Magisk] newuser007:
Okay so what more info do I need to provide?
[Magisk] Didgeridoohan:
At the least you should provide a Magisk log (saved from the Manager and attached as a file or on a service like Pastebin).

It is very likely that you have a mount namespace issue and that you can see this in the log where there'll be no inode number showing for the mount namespace (ns=mnt:<numbers>), neither for zygote or com.google.android.gms.unstable. But, that's just a guess and we'll have to see the log to know for sure.
[Magisk] newuser007:
Yes you are right the log is not showing any entries for mount namespace.

MagiskHide: Removing dangerous read-only system props
MagiskHide: Killing com.google.android.gms.unstable
MagiskHide: Starting MagiskHide daemon
MagiskHide: Update process/package list:
MagiskHide: [com.google.android.gms.unstable]
Zygote(0) ns=mnt:[4026534124]

I tried the steps mentioned on https://xdaforums.com/apps/magisk/magisk-magisk-hide-troubleshooting-tips-t3561828

As mentioned on the troubleshooting thread how to do I check for "ROM/kernel setns support" ?

Rest all are fine.

Also when I try to manually enable Magisk Hide from a terminal app I don't get any output. When I enter "sh enable" there is no output.

Here is the output from the terminal app:

EDIT: Updated Output

u0_a141@Infinix_X510_sprout:/ $ su
WARNING: linker: su: unused DT entry: type 0x6ffffffe arg 0x17c8
WARNING: linker: su: unused DT entry: type 0x6fffffff arg 0x1
root@Infinix_X510_sprout:/ # cd /magisk/.core/magiskhide/
root@Infinix_X510_sprout:/magisk/.core/magiskhide # sh disable
MagiskHide: Stopping MagiskHide daemon
disable[19]: head: not found
MagiskHide: Killing com.google.android.gms.unstable
root@Infinix_X510_sprout:/magisk/.core/magiskhide # sh enable
root@Infinix_X510_sprout:/magisk/.core/magiskhide #
[Magisk] Didgeridoohan:
Is that an excerpt from your log? Because that's exactly what it should look like... Although, there should be more after the zygote entry. Could you attach the entire log, please (not in a post, as an attached file!)? One from after a failed SafetyNet check.

It does look like you have some issues with your su. I'd try uninstalling and reinstalling Magisk to see if that helps. You could also try an unofficial beta snapshot. There have been a few issues with the later ones (happens from time to time with the snapshot builds). I've had quite a stable experience with 170523 on my Nexus 6.
[Magisk] newuser007:
That was my full log which I pasted. I don't get any output after "Zygote(0) ns=mnt:[4026534124]"

Any ways here is a log download link https://ufile.io/7mlwv

I flashed the SYSTEM and BOOT images of the original ROM back then SafetyNet passed and all changes were undone. Then I installed Magisk v12 again and same issue.

Will try to uninstall and reinstall Magisk and also try the beta snapshots.
[Magisk] DroidNoob123:
I am using Zenfone 5(x86) running on Lineage OS(7.1.2), I tried flashing Magisk v12 after doing a clean wipe.The process ended with Error 1 showing that is was unable to detect Boot Image.

I tried doing the same with AOSP Extended, and ended up with the same error...

What should I do ???
[Magisk] Evolune:
Have a porblem can not log info snapchat have tried the hide fuction and more more options and nothing works .
[Magisk] Didgeridoohan:
If that's your full log you've got major issues with your Magisk setup... There should be a whole lot more before that. Do you have a working root (MagiskSU)?
[Magisk] newuser007:
Yup root is working just fine with MagicSU.

Edit I misread the previous posts, here is my full log after I reboot my phone.

** Magisk post-fs mode running...
** Magisk post-fs-data mode running...
* Running post-fs-data.d
* Loading core props
* Preparing modules
* Stage 1: Mount system and vendor mirrors
* Stage 2: Mount dummy skeletons
* Stage 3: Mount module items
* Stage 4: Execute module scripts
* Stage 5: Mount mirrored items back to dummy
** Magisk late_start service mode running...
* Linking binaries to /sbin
* Starting MagiskSU
* Running service.d
* Starting MagiskHide
MagiskHide: Moving and re-linking /sbin binaries
MagiskHide: Removing dangerous read-only system props
MagiskHide: Killing com.google.android.gms.unstable
MagiskHide: Starting MagiskHide daemon
MagiskHide: Update process/package list:
MagiskHide: [com.google.android.gms.unstable]
Zygote(0) ns=mnt:[4026534124]
[Magisk] Didgeridoohan:
Hmm... How about Magisk modules? Can you install (through the Manager or recovery) and do they work?

Anyway... A reinstallation or a beta snapshot might be the solution. Nothing's guaranteed though... If neither work, opening an issue on GitHub with details about your device, the problem and a copy of your boot image might help [MENTION=4470081]topjohnwu[/MENTION] figure it out. Again: Nothing guaranteed...

Talking about boot images... You could try another kernel.

---------- Post added at 18:06 ---------- Previous post was at 18:03 ----------

Ah... That changes things. The issue is not quite as bad then.

Try a snapshot or a different kernel.
[Magisk] Xplorer4x4:
CrDroid v3.3 for the LG G3/D851 was just released last night so I did a clean install just now. I flashed the ROM zip and latest Micro gapps from opengapps and flashed the magisk v12 zip. When I open Magisk Manager it wants me to download magisk from the play store. Since it was removed from the play store I can't do that and it refuses to let me actually use magisk manager as I can not get the pop up to go away. Any ideas?
[Magisk] dahawthorne:
First page of this thread...?
[Magisk] Xplorer4x4:
Sorry didn't have time to search. Running late.
[Magisk] ahmedraza:
I had clear safety net passed green everything ok do i select separate app to hide root from magisk hide menu or just safety net passed is ok? I want to hide 8ball pool game
[Magisk] Rudolpht:
I tried some multi word searches but couldn't track down an answer for what I though may be a common issue.

Magisk installed great, but two problems.

1) /data was rencrypted on my Huawei Mate 9.

2) More significant, a side effect was inability to install or uninstall apps.

Went back to SuperSU and but even following steps can't decrypt again. No real help in Mate forums yet so trying here. I can deal with #1, but #2 is Magisk specific.