yashsingh1/xdaforums huggingface dataset:
[Magisk] ricky977:
Hi, I've the latest version 13.3 of Magisk and 5.1.1 of Magisk manager, but I've an issue with safetynet.

When I start control ctsProfile is false. I'm on Omega Rom 5.0 with my G930F. This rom have pre-installed SuperSu, but the developer attached the magisk file that replace root.
[Magisk] jenslody:
Still no way to install modules using the new template-file (v4), like "F-Droid Privileged Extension", through the Manager on my (more or less stock J5).

It seems to be a restrictions of the samsung stock-kernel. I did not check it with a custom-kernel (yet).

See also: https://github.com/topjohnwu/Magisk/issues/297

and https://xdaforums.com/apps/magisk/m...systemless-t3432382/post73073713#post73073713 .

Does anybody else see this or knows a workaround, that allows execv-calls from below /data (selinux-settings etc ?), so it can be fixed without updating the template-file (again) ?
[Magisk] Hassanator:
Magisk manager v5.1.1 on NON-core only Magisk log
[Magisk] jenslody:
Did you try to clear the Manager's data or just deinstall and reinstall it (deletes all data and settings of Manager) ?
[Magisk] Hassanator:
EDIT: rebooting my phone got it to work
[Magisk] Didgeridoohan:
Looks like you're having an issue with permissive SELinux and the Manager probably crashes because of a denied su request. Change SELinux to enforcing and try again to see if there's any difference. It might be related to this: https://xdaforums.com/showpost.php?p=73033100&postcount=16188

Depends on how that attached Magisk file replaces root. If there are remnants of SuperSU on the system you won't be able to pass SafetyNet. Easiest is to use a ROM that's not pre-rooted...

Edit: Please don't cross post...

Ok, so it's another Samsung specific issue then... I have been trying to replicate your finds and haven't been able to yet. I don't do Samsung... :laugh:

It looks like your Magisk image is mounted read-only. If so you'll have to fix that... Possibly change kernel or make sure that it's mounted as ext4.

---------- Post added at 12:32 ---------- Previous post was at 12:31 ----------

Oh... Nevermind then... :D
[Magisk] MRDOCA:
Unable to change SeLinux on samsung phones if I remember correctly.

I don't get any crashes on 5.0.6 manager so I'll just stick to that for the time being. Unless the errors still happening their? Not sure I'll have to check. Thanks for your reply
[Magisk] nurps:
Thanks, must be an S8 thing then..
[Magisk] MRDOCA:
Have tried both ways so far. It's fine till I add some modules then it gives FC.
[Magisk] ricky977:
How can I delete remnants? https://www.androidfilehost.com/?fid=961840155545582898 This is the file
[Magisk] jenslody:
Can you add the modules one-by-one, to find which is the culprit ?
[Magisk] otonieru:
Your module is the culprit,

Can you list what module you installed ?
[Magisk] atarek:
Manager Log Issue deep troubleshooting

Hello,

i was looking deeper for quoted issue inside magisk and manager source code on github and i found inside log_monitor.c class below lines of code

char *const command[] = { "logcat", "-s", "Magisk", "-v", "thread", NULL };
log_pid = run_command(0, &log_fd, "/system/bin/logcat", command);

so i tried to run this command in android terminal and output was as attached screenshot. i tried to view history and check it but same output. i couldn't reach v12.0 code and manager v 4.4.0 to check changes cause it's working there.

i assume that any one have manager log working will be able to find output from this command and i think it's cause of manager log is empty in my case.

any advice.

Regards,

Ahmed
[Magisk] coto39:
Use UnSu (https://xdaforums.com/showthread.php?p=63615067). It worked for me to remove the non-systemless SU from the Mokee Rom for a ZUK Z2. The I was able to install Magisk without problems.
[Magisk] Didgeridoohan:
Try running that command as su instead:

su
logcat -s Magisk -v thread

If logging works, you should be able to see it update (every time you return to the terminal session) after you've done actions in the Magisk Manager (testing SafetyNet, adding/removing an app from the Hide list, opening an app you've hidden root from, etc).
[Magisk] ricky977:
Don't work for me
[Magisk] :
Broken Magisk

I was on Nougat, RR ROM. My ROM came rooted with Magisk. However, I was always getting the CTS error. I was just browsing through the Modules for Magisk and found a CTS fixer module. Its description mentioned its compatibility with RR. So, I installed the .zip and rebooted. That's it. Now, Magisk Manager doesn't open at all and thus, I have lost root access in my phone. So, I am unable to do anything. That's still okay. But, I had a root firewall enabled. So, now that root access is lost, I am even unable to disable it and thus, I am unable to get any internet connection on my device. Immediate help is requested.
[Magisk] Didgeridoohan:
Check the troubleshooting guide, under "Module causing issues".

And make sure you're on the latest Magisk (v13.3) and Magisk Manager (version 5.1.1).
[Magisk] petjacz:
All is working well @ Xperia M (C2005) running RR 5.8.3 (nougat 7.1.2) & Magisk Manager v5.1.0. Thank you topjohnwu! :)
[Magisk] TiagoJSilva:
Finally, finally, got Magisk 13.3 and MM 5.1.1 to work together, and to pass SafetyNet! THANK YOU! I had to uninstall Magisk + flash 13.3 from TWRP, then uninstall MM and reinstall 5.1.1, but it worked.

Sorry if this is the wrong thread, but where can I find help for getting Viper4Android to work? I have installed the 2.5.0.5 topjohnwu module, and installed the official V4A 2.5.0.5 apk, but it tells me it needs to install the v4A driver every time, asks me to reboot, and after rebooting driver still needs to be installed but nothing works.

I don't see a support thread for the official module, only for two other modules with the same name as the official module...
[Magisk] killerojrc:
I can recommend using viper4arise, flashed it via twrp and is working well. Here's the link to it: https://www.androidfilehost.com/?fid=457095661767141554
[Magisk] knnthgngb:
Does Convolver work in this zip?
[Magisk] DEVILOPS 007:
If you're having issues with viper then I'd recommend checking ainur sauron. In my opinion, the sound quality is better.
[Magisk] killerojrc:
I can't remember exactly, sorry, it's an aroma installer that lets you install deep buffer remover etc. I should've sent a link to the main thread. Here it is: https://xdaforums.com/android/software/r-s-e-sound-systems-auditory-research-t3379709

Scrolling down you'll see the original link I posted as well as a magisk module
[Magisk] Captain_Throwback:
MultiROM secondaries will not pass SafetyNet. That has nothing to do with Magisk, though.
[Magisk] atarek:
I tried to run above command in SU context and results as attached but manager log still empty so i suspect it tries to run this command without SU u can confirm by running this command without SU if it returned output then there is a bug with some devices.

IF any one has code version of magisk v12 and manager v4.4 can tell us what was old logcat approach used which is still working.

i know that this issue don't happen for most of users but there is few posts show they face same behavior.
[Magisk] Didgeridoohan:
No, if you look again at your last post you'll see that it did output something without su:

-------- beginning of system
-------- beginning of main

That's normal...

I believe the issue is that it can't write to the magisk.log file, for some reason. I'm going to assume that the log file in /cache is a 0 byte file. Correct?
[Magisk] atarek:
you are right as attached and if i wrote any text in this file it reflects in manager. also attached matlog for operation.

is there is any thing i can do to fix it. or it's known issue.

I'm wondering why it's working with v12 and stopped with later one's

Regards,

Ahmed.

View attachment log.txt
[Magisk] Koont:
If I'm reading this correctly, your mistake was unrooting your device. Root your device again then try.
[Magisk] Fun_GKC:
Magisk Manager doesn't save my settings, tried to clear the app data.

How can I fix it?
[Magisk] prasetya27:
[

H
[Magisk] zickler_malta:
I'm running RR Unofficial latest version on a OP2, Franco Kernel, and latest Magisk 13.3 and 5.1.1 Manager.

When trying to install any module, either saved zips or through the Magisk download section, the Manager FC's. Tried to flash the modules directly through TWRP to no avail. Can anyone have a look at the log and see what is triggering this?

Tried going back to 5.1.0 and Manager doesn't crash however the modules still fail to install. Screenshot attached.
[Magisk] matwlodek:
Magisk screenshot in attachment. After reboot root is gone and magisk not installed
[Magisk] Koont:
Check here for the Magisk mount app. That may fix it.

https://xdaforums.com/apps/magisk/magisk-magisk-hide-troubleshooting-tips-t3561828/page24
[Magisk] matwlodek:
just flash magisk mount zip via twrp? or any additional steps?
[Magisk] torekiki:
I have magisk 13.3 and Magiskmanager 5.1.1.

I can pass Safety net, i have root, but i can't install module! Also I can't enable systemless hosts flag.

Nexus 10 Pure Nexus Rom

---------- Post added at 03:53 PM ---------- Previous post was at 03:52 PM ----------

me too!
[Magisk] prasetya27:
Yes bro.. Same with me... But its not Importnat Problem.. Maybe the system still load Magisk while app freezee ... I use RR Nougat on ZE601KL
[Magisk] Daman5202:
Well, everything working fine here with 13.3
[Magisk] majd_90:
Everytime i install a module magisk manager crashes so i went back to an older version of the manager and the installation went through
[Magisk] Koont:
I think so. I didn't read the whole post. I've never had the issue but have read something similar.
[Magisk] Emaulana:
Working fine here on old Sony Xperia ZL with Nougat CrDroid rom. Finnally dolby atmos is working again.
[Magisk] :
Android N 7.1.2 running a fresh AOKP ROM with Magisk and MicroG, SafetyNet check comes back with error in screenshot. Any help?
[Magisk] spida_singh:
So after uninstalling, only installed magisk itself without modules, all OK.

Installed my modules one by one, and it turned out that my better battery stats module was causing the splash screen to stick, as well as the dual speaker mod.

Always remove module from the masgik folder if you cant from within the app and try again to see which module is causign you issue before doing anything.

Currently using the latest magisk and magisk manager app without issues, without the BBS module and passing safety net ok.

Linage OS oneplus 3T
[Magisk] stewie2806:
Surprisingly enough, the newest update allows me to use my Lloyds banking app *hide enabled*
[Magisk] SOCOM-HERO:
I'm late here, but thank you TopJ for the fix on 5.1.1! Works great! Love this mod on Fulmics for the G3! A real lifesaver.
[Magisk] ThaHaxx:
I'm using LineageOS 14.1 on my Samsung Galaxy S7 (SM-G930F) and Magisk 12 (at least in Core Only mode) worked fine for me, till Google changed SafetyNet. However with Magisk 13 I'm not able to pass SafetyNet at all, not even the basicIntegrity check. Most of the time I'm not even getting a valid response "The response is invalid" or something like this.

I already tried reflashing the ROM, Magisk or both but it does not help at all. What could I do to fix the issue with Magisk 13?
[Magisk] jenslody:
Are you sure you have MagiskManager 5.1.1 installed, not 5.1 ?

If yes, it's another (new) issue.
[Magisk] spida_singh:
I have 5.1.1 installed
[Magisk] Polv89:
I'm with Nexus 6 using PureNexus (latest) and Magisk 13.3. Because i I had problems with the rom i dirty flashed rom and gapps, and now i have bootloop on Google screen, do you know why?

edit. I have flashed the backup .img and now it goes after Google text screen, but doesn't boot..

Thanks
[Magisk] DodoGTA:
Please go and log some robotic cats before reporting this issue, or otherwise it will only be sent to Mars, where almost no one would see it :laugh:
[Magisk] camapghe:
Not sure if anything on my S7 gone wrong, with Magisk 13.3 and Magisk Manager 5.1.1, that installing any module will instantly trip out the Safety Net. Uninstall modules one by one and could not fix until all modules are uninstalled. Is anybody facing the same problem?
[Magisk] ketwi15:
Apps that lose it are Titanium Backup, root Explorer, and greenify. Terminal Emulator still has it when I run su.
[Magisk] weasterling:
I am unable to install modules and cannot figure out why. Any help is appreciated. Attached is my logcat. I tried flashing the uninstall zip then reflashing 13.3 and I am still facing this issue.
[Magisk] Didgeridoohan:
Cannot replicate. Are you by any chance using a Samsung device?

[MENTION=4988866]tdhite[/MENTION] I'm trying to replicate your "Permissive + Hide == Zygote Apps Lose Root" thing, but I'm unsuccessful. Might be another Samsung specific issue... Any 100% reproducible setup you can give me to test?
[Magisk] matwlodek:
still the same... used mount_magisk.zip - nothing changed... UNROOTED and no magisk installed. But I have Magisk img and can mount it in TWRP - it have several folders, but they are empty.

Install through TWRP with no errors. Magisk v13.3 zip downgrades magisk manager, wchich auto update succecsfully to 5.1.1, but still no clue why it is not working... Should I try to catch logs somewhere? what should I check?

I got it to work on my other device and want it on my togari :(

maybe it is kernel related issue? or boot.img?
[Magisk] ketwi15:
Yes I'm using an S6 Edge. And the steps I take are the usual. I always have systemless hosts enabled then I enable hide, pass safety net about 5 minutes later root is gone.
[Magisk] matwlodek:
I have installed supersu after magisk 13.3 and after reboot something is starting to work :eek:
[Magisk] Paschfire:
And.. [MENTION=4928941]majd_90[/MENTION]

Just a suggestion..

If you're gonna report on issues found why not upload any logcat or MagiskLog? This is how issues get solved, otherwise there really isn't any point in posting about it.

One other tip.. try to include more complete and detailed information regarding your Device/ROM setup, Magisk & Magisk Manager version, Magisk modules, any other modifications installed, etc..

[MENTION=3749392]spida_singh[/MENTION] your diagnosis of the modules in figuring out the source modules affected was almost complete, had you at the very least attached a MagiskLog.

More detailed the information you provide, better the possible outcome of support you recieve in return.

Thanks! :highfive:
[Magisk] prasetya27:
Check your internet bro ...
[Magisk] Pkt_Lnt:
Read the last section, bottom of this post.

https://xdaforums.com/showpost.php?p=72587983&postcount=22

From this thread.

https://xdaforums.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
[Magisk] juda iskariotsky:
Latest Magisk worked well except xposed didn't, installed but not active... Downgraded back to 12.0 again.
[Magisk] danilo_scala:
try magisk 12 install , magisk 13 no

build.board: msm8994

build.bootloader: s1

build.brand: Sony

build.cpu_abi: arm64-v8a

build.cpu_abi2:

build.device: E6883

build.display: 32.4.A.0.160

build.fingerprint: Sony/E6883/E6883:7.1.1/32.4.A.0.160/3622372188:user/release-keys

build.hardware: qcom

build.host: BuildHost

build.id: 32.4.A.0.160

build.manufacturer: Sony

build.model: E6883

build.product: E6883

build.radio: unknown

build.serial: CB5A2ALWZV

build.tags: release-keys

build.time: 1495608377000

build.type: user

build.user: BuildUser

version.codename: REL

version.incremental: 3622372188

version.release: 7.1.1

version.sdk_int: 25
[Magisk] matwlodek:
Ok so for now SuperSu support is dropped. But if I do not use something to root phone, my Magisk is not present in the app... What should i do?

If I choose unroot and then flash clear boot.img and then magisk v13.3 -> Magisk Manager shows magisk not installed and no root...
[Magisk] deltabetacooper:
magisk_daemon -post-fs is constantly running taking up anywhere between 5% and 50% of the CPU. The phone is always hot and the battery life is awful. This is only since Magisk v13.

LG G4 H811. ROM independent. Tried on stock, AOSP, Imperium.
[Magisk] Pkt_Lnt:
Yes, do that and post the logs as requested here so many times. Recovey log, Magisk log, logcat Also device info, manufacturer, ROM, android version. It is impossible to troubleshoot if you don't help by providing info and logs. MagiskSU is intended to provide root and if it does not, only logs will show why it does not.
[Magisk] Didgeridoohan:
I just had to try that and could not get SuperSU you "take over" for MagiskSU. Was gonna ask how you did it, but this explains it.

Start over. Unroot, flash the Magisk uninstaller, flash a clean boot image and then flash the Magisk zip again. After that, save the recovery log (Advanced - Copy log) and upload it here. It might (or it might not) give a clue...

---------- Post added at 20:32 ---------- Previous post was at 20:25 ----------

This is pure speculation on my part and I've no idea if it's actually what's happening to your device... :D But here goes.

Do you have very long boot times? As in, it hangs at the splash screen for a minute or so.

If so, what you're seeing is probably the magisk_debug log being written. It's supposed to stop when boot is finished, but if there's an issue with the Magisk daemon, it won't. Take a look in /data. If the magisk_debug.log file is very large (and growing), that's your issue.
[Magisk] deltabetacooper:
Boot times are quick. Nothing out of the ordinary. magisk_debug.log is actually 0B.
[Magisk] Didgeridoohan:
I was completely wrong then... :laugh: The log shouldn't be empty though. :confused:

Hard to say anything without logs. Magisk log and a logcat from boot might show something...
[Magisk] deltabetacooper:
Figured as much. I'll see what I can provide shortly. For now, though, v12!
[Magisk] matwlodek:
So I have made steps you wrote and got installation error 255.

Installing zip file '/external_sd/CFW/Magisk/Magisk-v13.3.zip'

Checking for MD5 file...

Skipping MD5 check: no MD5 file found

I:Zip does not contain SELinux file_contexts file in its root.

I:Legacy property environment initialized.

E:Can't execute '/tmp/updater': No such file or directory

Updater process ended with ERROR: 255

I:Legacy property environment disabled.

Error installing zip file '/external_sd/CFW/Magisk/Magisk-v13.3.zip'

Updating partition details...

I:Data backup size is 1711MB, free: 1972MB.

I:Unable to mount '/usb-otg'

I:Actual block device: '', current file system: 'vfat'

...done

my device: Sony Xperia Z Ultra C6833 (togari)

rom: cm12.1-20161016-NIGHTLY-togari

kernel: 3.4.0-cm-g28a6663 clyde@cyanogenmod #1

Compil id 5.1.1 LMY49J

full log in attachment
[Magisk] matwlodek:
Reboot, again to twrp and again install. Now succesfull

Magisk.img is there. Can mount it in recovery. Magisk Manager not installed automaticly, what next?
[Magisk] Hassanator:
Further edit: safetynet is working in Non-core only mode however I can't install any modules it keeps crashing whenever I try to install.
[Magisk] DodoGTA:
Extract and install Magisk Manager from the Magisk ZIP
[Magisk] matwlodek:
Already did that.

Magisk Manager shows no magisk installed and no root...
[Magisk] scififan2715:
The superuser page won't open at all, causes the manager to FC, just uninstalled and reinstalled Magisk and am on latest everything. I can't go in and grant permission to an app (Greenify) which is automatically being denied for some reason
[Magisk] Paschfire:
If you don't Include the proper information regarding your Device/ROM/Android version, Magisk, Magisk manager, Magisk Modules, any other modifications installed. Making sure of including complete version numbers/build dates for all, this also includes.. Recovery Logs, Logcat, MagiskLog etc.

No one cannot provide support without being able to investigate the issues, without submitting these crutial points of information alongside your request than your post basically become pointless.
[Magisk] jenslody:
Kernel is really old (3.4),

TWRP also not actual (3.0) and missing or not found (and therefore not modified) sepolicy-file.

The last might be the cause for not booting Magisk.

Does /init.rc contains the "import /init.magisk.rc"-line and is "/init.magisk.rc" available ?
[Magisk] danilo_scala:
please how i get log in twrp recovery? because magisk 12 install and magisk 13 no
[Magisk] matwlodek:
There is no import /init.magisk.rc line in init.rc and there is no init.magisk.rc file

Ok, I found init.magisk.rc. but the line is not there. Added manually - still the same. No root and magisk not installed...

Twrp is old but i have not found any newer :(

Kernel is old it's true but in marshmallow roms i have issues with display (after market screen), in nougat roms there are several problems - camera, low volume in calls and screen overlapping. So i decided to use cm12.1. It is stable and running smoothly.

I do not have as much knowledge to build my own rom or compile new twrp...
[Magisk] andmail:
I found a solution.

Replacing update-binary file from Magisk-v13.0(a90e8b6) solves the issue.

Who is experiencing the same problem, just try to install an attached zip
[Magisk] Nomad1600:
Nexus 7 2013 running Screw'd ROM, now on Magisk v13.3 and Magisk Manager v5.1.1 . Had the hardest time getting Magisk Hide to work on the last two versions of Magisk and last two versions of Magisk Manager (kept getting the invalid response message). Tried all the methods (uninstalling, clearing data, switching various switches on and off. Just about gave up, but tried replacing the ROM's stock kernel with the latest ElementalX. Finally no invalid response message but the red ctsProfile: False and basicIntegrity: False message. I had turned off Magisk Hide, so turned on, and... success. Added benefit is gaining DTTW. :) So I guess trying a different kernel is a good thing to try.
[Magisk] Legendary Cryptid:
Just rebooted my phone, and I'm no longer passing SafetyNet. It was said Magisk13.3 automatically deletes the props that cause you to fail SafetyNet checking...I updated a day ago, and I'm still failing.

Edit: Re-installed Magisk 13.3 zip. Checked SafetyNet...still failing. Looks like I still have to delete those props...
[Magisk] jenslody:
Why do you not write what your solution is ?

Otherwise other users have to install blindly and the dev (and others) have no chance to find the problem.

As far as I see, you use the old update-binary from v13.0(a90e8b6).
[Magisk] Koont:
Yeah, logs or more details. You may just need to go to SuperSU in Magisk manager and tick root on for apps that are asking.
[Magisk] Legendary Cryptid:
So I checked Wu's update page. He updated Magisk's resetprop command to completely eradicate persist props. I was previously told that the Magisk 13.3 update deletes the other props from the temporary SafetyNet solution. Again, seems like I have to delete those service props every reboot. Any suggestions or help? Even with Magisk Hide enabled, cts and integrity still come up false.
[Magisk] bluenote73:
Can we stop with screenshots of "it worked for me"? Success reports, not super helpful unless it's for something specific, but the screenshots, multiples, that's just gilding the lily.
[Magisk] John NHT:
I'm having this same problem. I can definitely flash modules thru TWRP though. I'm running 13.3 and 5.1.1 as well.
[Magisk] azZA_09:
SafeyNet not passing again... My device or a general bug?
[Magisk] Gambosino:
i have tryed again with twrp 3.1 and the message was the same. :(
[Magisk] shaggyskunk:
"gilding the lily" - Haven't heard that for over a decade - Wonderful!

It's a very UK ?? expression - Brilliant ?

From Down the Rabbit Hole by:

My SM-G930W8 ??
[Magisk] ketwi15:
This is what I get after enabling hide and passing safety net.
[Magisk] Paschfire:
In Twrp under the Advanced Tab> Save recovery log to Sdcard>swipe to save. Do this action after flashing Magisk etc.

Also, along with the Recovery Log make sure to include more detailed information regarding your device/ROM/Android version, Trwp version, other modifications flashed etc.
[Magisk] Koont:
I still can't get Google play to stop fc'ing. And yes, I have that check in "Magisk hide." I can open it through notifications.