yashsingh1/xdaforums huggingface dataset:
[Magisk] kavee.gauravjoshi:
Ya. Actually I was not aware about all these complications before (didn't do my bit of research), and i was one of the participants who voted to give us pre-rooted ROM with Magisk :P so i am at the fault here and will have to face it :) also none of the fellow users of this ROM face the issue. So it boils down to me to get this sorted on my own

Problem with flashing Magisk manually after the update is, it removes my modules and reinstalling those modules fail or give me problem.

My ROM developer [MENTION=4659955]nicesoni_ash[/MENTION]) has already given me a way / solution to install the ROM without Magisk. So i can either do that or do a clean flash everytime. Thanks for your help.

P.S. Just being the off-topic: I am so grateful to developers like [MENTION=4470081]topjohnwu[/MENTION] (for a wonderful tool like Magisk) and [MENTION=4659955]nicesoni_ash[/MENTION] (for a wonderful ROM for OP2). Thanks a ton for helping me to utilize full potential of my android device OP2 (which was ignored by the OnePlus)

Also, i cannot expect [MENTION=4470081]topjohnwu[/MENTION] to fix / update the addon.d script just for me and [MENTION=4659955]nicesoni_ash[/MENTION] to sort the ROM just for me... Both of them are busy and have already done a great work :good: I am actually very grateful for that :D

Apologies for mentioning your name in a comment, but just felt like thanking you guys here...
[Magisk] Didgeridoohan:
Hm... It should not remove your modules, unless you run the Magisk uninstaller. It must be messing up your Magisk image somehow.

I tested on my Nexus 6 with a pre-rooted ROM and the addon.d script. When dirty flashing the ROM it would mess up the Magisk installation (Magisk wasn't even installed), but as long as I flashed the Magisk zip right after the ROM installation everything went back to normal.
[Magisk] C y a n i d e ~:
Or do I have to set the SELinux Mode to Permissive?

Anyway I will post an issue later, thanks!
[Magisk] rignfool:
This issue sounds like an e2fsck in recovery is required...

Someone needs to make a flashable zip to "correct" magisk.img issues... It would make [MENTION=4667597]Didgeridoohan[/MENTION]'s life easier
[Magisk] Imp_GL:
Do you plan to support kernel 3.4?
[Magisk] DodoGTA:
No, NO and NOOOOOOOOO!!!!!
[Magisk] thelangosta:
Mine is portable and always has been. I believe that adopted storage is the problem. Or at least one of the problems.
[Magisk] IamIrene:
Hi everyone, I just tried to flash magisk 13.3 on my Galaxy Note 4 (running Marshmallow 6.0.1), no root

just flash twrp recovery, then reboot into twrp, and flash magisk 13.3

it shows failed

showing following message

Updater process ended with ERROR:1

Error installing zip file '/sdcard/Magisk-v13.3.zip'

*already tried redownload the zip file, select the file either in internal storage and sdcard also same

anybody can help?
[Magisk] Vinnipinni:
Are you sure you have enough space left?
[Magisk] Iradj:
Guys these error lines can i ignore them in the magisk log ?

Or why this error appears.

View attachment magisk_error_20170727_175158.log
[Magisk] IamIrene:
more than 10gb available
[Magisk] :
Possible Solution For Error1 While Flashing Latest Magisk Would Be Found Below

HERE
[Magisk] IamIrene:
thanks you are my life savior:o:o
[Magisk] Didgeridoohan:
If it turns out to be the issue with Magisk image failing to mount and you can fix it with the suggested solution, awesome.

But, error 1 just means that the flash failed, nothing else. There was probably some more text before the error that could give some kind of hint, but you'll have to save the recovery log (Advanced - Copy log) after the flash to see what actually happened. If you can't interpret it, attach it to a post here and someone will most likely be able to help.

Logs are always a good idea when asking for help.

Is everything working as it should? Can you give superuser permissions to apps, add apps/processes to the Hide list, download and install modules, and so on...
[Magisk] woozie.2007:
i cannot download/install any modules, the magisk manager crash everytime when i try to do that. Safetynet is random, when is both green ok , when is both red, how the manager wants :) i don't understand how its working. I have latest manager, latest magisk zip installed, no error in log manager
[Magisk] Legendary Cryptid:
So I tried to install Viper4AndroidFX and it failed. Since I'm on the November 2016 security patch and never updated, this means I'll have to flash a stock ROM and update to the latest security patch to get flashing through Magisk to work, right?
[Magisk] giovaorama:
[MENTION=4470081]topjohnwu[/MENTION] thanks for the fantastic magisk.

Apparently the restore script that it is automatically installed in the addon.d folder gives some problems just after the flash of a new nightly of LineageOS (at least on Lg g pad 8.3).

Simply the tablet endlessly boot loop just after the flash and the restore of magisk.

We had to boot to recovery, delete the script from addon.d and flash the nightly again.

Can you please ask a way to disable the script, for instance checking the presence of a file and if founded abort the script?

Thanks in advance.

Inviato dal mio LG-V500 utilizzando Tapatalk
[Magisk] Didgeridoohan:
If you're reporting issues, logs are necessary. A recovery log would have been useful in this case...

I just tested on my Nexus 6, with the latest nightly and it flashed both LOS and the Magisk addon.d script with no issues. So, like you say, it might be a device/setup specific issue. But yeah... Logs.

---------- Post added at 23:13 ---------- Previous post was at 23:07 ----------

You're experiencing two current bugs with Magisk.

The module installation fails.

The Manager crashes because the installation fails.

Not much to do about except wait or revert to an older version of Magisk until it's fixed.

I don't think that should have any impact on V4A, but it's usually a good idea to keep updated anyway...
[Magisk] Iradj:
Ok now after clearing the log and restarting the phone the error is gone in the logs now everything is clean and errorless.
[Magisk] Batfink33:
Has anyone else heard that Google have started banning accounts that have Magisk installed? Apparently it's to do with this new app security scanning...

Some people are reporting they got an email today saying their Google account had been banned?
[Magisk] LordSloth:
just installed Magisk on a new Samsung Galaxy S7 (Exynos), went to install Xposed through the Magisk app, rebooted my phone - It's frozen on the boot logo that shows "samsung galaxy s7".

I've tried to restart the phone multiple times but nothing, have waited around 15ish minutes and it's just froze.

Don't know if I may of installed incorrect version or something (installed SDK23)... don't know what else to do, Xposed is my main use for Magisk - no problems ever with my S7 edge, but can't seem to get it to work on S7
[Magisk] dazeone:
SDK 23 is mm ROMs. SDK 24,25 are nougat. Xposed for N is not official and slightly unstable. Use at your own risk.
[Magisk] LordSloth:
I'm on Marshmellow not Nougat.

Stock ROM, is SDK23 the correct choice for my Samsung Galaxy S7 (g930f - exynos)?
[Magisk] dazeone:
I guess use the uninstaller to remove it through recovery. You're right though on version. Was there another version for sdk23
[Magisk] yochananmarqos:
...and you heard that where?
[Magisk] LordSloth:
Fixed it through installing it manually via TWRP (Xposed that is), thanks for your attempt to help regardless pal
[Magisk] CooperBrick:
Still getting high cpu usage by process "magisk daemon -post-fs". Here's log.
[Magisk] tdhite:
Hide Google services and play store. Done.
[Magisk] SatsuMx:
On Moto X 2014 xt1097 6.0 I am getting an immediate crash for YouTube when I open it.

Tried both normal and black, also with TWRP and no luck. Phone is ARM. Any idea? Using latest magisk as well.
[Magisk] RandomPooka:
Interesting. I hid those, and opened the Play Store. Immediate FC 3 times in a row. Unhide them, and no FC. Works as expected. I'll update my apps and see if I can get a log of it after I'm up to date.
[Magisk] Legendary Cryptid:
A quick question: If I flash Stock ROM onto my phone to restore it, will that also remove my custom recovery? I ask that because I need to update my software to see if I can properly download Magisk modules. As my device is still on the November 2016 security patch, when I reported my problem with flashing Unified Hosts Adblocker, the responder said it was moat likely a probken with my ROM since I was receiving errors for basic commands like mkdir and the like.
[Magisk] Didgeridoohan:
Hm... It'd be interesting to see some sources on that.

Possible WebView issue with MagiskHide enabled. But, you'd get more apps force closing then...

Take a look under "Apps are force closing" in the troubleshooting guide.

Sounds like you're on Lollipop, correct? There are issues with Magisk on Lollipop (might be fixed in future release)...

If you can, try updating to Marshmallow or Nougat.
[Magisk] Legendary Cryptid:
Problem is I can't. My phone's an LG K7, MS330. The LG K7 has no Marshmallow ROM available, and it's been 2-3 years since it was released. Unless a custom ROM for the phone is released (a real one, not the onea on fake shell sites that make you do surveys only for you to end up downloading malware), not a lot I can do except try to get the latest update. That said, if I flash stock ROM, will that remove TWRP until I install it again?
[Magisk] manjot7798:
In magisk 13.3 folder mount apps are not working. How can I fix it did worked on magisk 11.6.
[Magisk] thrasher194com:
Enjoying Magisk 13.3 thanks again!

Sent from my rooted Moto G4 Play xt1609.
[Magisk] Vb_param:
Guys there's a serious problem now. In the old version of magisk there was an option in the setting which was like allow busybox installation. This new version does not has that option. Now I'm unable to install busy box. Pls help
[Magisk] Didgeridoohan:
In that case I think you're out of luck... You could of course go back to Magisk v12 and Manager 4.3.3 until there's a fix, but then you'd also have to find template v3 versions of the modules (v4 won't install).

Flashing full stock will in most cases remove TWRP, yes.

Logs or it didn't happen (and much more details, we aren't mind readers).

---------- Post added at 07:45 ---------- Previous post was at 07:44 ----------

https://xdaforums.com/search/thread/3432382?query=busybox
[Magisk] manjot7798:
Logs or it didn't happen (and much more details, we aren't mind readers).[/QUOTE]

No logs but when I create a mount folder in app2sd or folder mount and mount it. It mount for that time but after reopening app the mounted folder get unmounted automatically and it didn't seem to work
[Magisk] BigFuzzyBush:
Any idea what would be causing MAGISK to force close when selecting superuser to check permissions?

I( 603: 693) * Running module post-fs-data scripts

I( 603: 705) * Starting MagiskHide

I( 603: 705) hide_utils: Hiding sensitive props

I( 603: 705) hide_list: [com.google.android.gms.unstable]

I( 603: 705) proc_monitor: init ns=mnt:[4026531840]

I( 603: 944) ** late_start service mode running

I( 603: 944) * Running service.d scripts

I( 603: 944) service.d: exec [xXx_1_fstrim]

I( 603: 705) proc_monitor: zygote ns=mnt:[4026533846] zygote64 ns=mnt:[4026533845]

I( 603: 944) service.d: exec [xXx_2_deepsleep]

I( 603: 944) service.d: exec [xXx_9_sys_tweaks]

I( 603: 944) service.d: exec [xXx_3_arise]

I( 603: 944) * Running module service scripts

I( 603: 705) proc_monitor: com.google.android.gms.unstable (PID=4825 ns=mnt:[4026533976])

I( 4833: 4833) hide_daemon: Permissive detected, hide the state

I( 4833: 4833) hide_utils: Re-linking /sbin

--------- beginning of crash
[Magisk] Rekesz:
Does anyone have any idea about this? I'm still experiencing this problem, I'm switching to v12 later today as that still works.
[Magisk] giovaorama:
Thanks,

I can look the next time if from recovery, I can find an useful log (suggestion?) but "simply":

- boot to recovery, flash rom, boot to android, boot to recovery, flash magisk, boot to android... All ok

- boot to recovery, flash rom, automatic magisk restore... the tablet just reach the LG logo and then reboot

The latter happen either with a manual flash or if the flash is automatically handled by the lineageos updater.

I'm sure that it is device specific, or related to the restore script for the gapps, who I can't know, if you tell me that in your case all is working, that's why I ask to be able to "skip" the automatic restore.
[Magisk] Juls317:
So anytime I try to go into the Superuser section of Magisk Manager (on the latest version of Manager and Magisk itself) it crashes that app. Any thoughts? If someone points me in the direction of the right way to take a log, I gladly will. I can't manage any of my SU permissions, which is frustrating for obvious reasons. Nexus 6, latest PureNexus build.
[Magisk] RandomPooka:
Try wiping app data and cache for Magisk Manager and reboot. That worked for me when I ran into this, even on a 100 percent clean install on a brand new device. It made no sense that there would be remnants in data and cache, but that fixed the problem.
[Magisk] Juls317:
Yep that worked! Don't know why I didn't think to try that first.
[Magisk] RandomPooka:
I know it never crossed my mind specifically because it was a clean install. Sometimes intuitive reasoning shoots us in our feet, and we need to go back to the basic tier 1 tech support checklist (even though most of us are beyond that). Turn it off and on. Clear data/cache. Uninstall/reinstall. All that basic stuff that we think "Duh. It can't be that, because I did this other thing."
[Magisk] Jimbus369:
On my S4 I9505 with Optimized LineageOS 14.1-Stable5 magisk 13.3 won't boot correctly after first reboot. Every morning I have to uninstall and reinstall to make it work. I have no modules, because everytime I try to install one, magisk doesn't start anymore. I only use Magisk Hide for my banking app. With magisk 12 I never had this kind of issues. What can I do? I can provide my boot.img if needed.

Thanks in advance and sorry for my english.
[Magisk] darkeyes22:
Not me, I used TitaniumBackup and Greenify with module and root works just fine. Haven't noticed any force closing and lags neither.
[Magisk] Spartacus500:
Today's my S7 edge nougat 7.0 Magiskv13.3 SafetyNet failed...
[Magisk] hmzuleta:
Magisk Manager won't even open for me today :(
[Magisk] SatsuMx:
Sorry, double post.
[Magisk] Mao04:
For me, the "Magisk su FC" seems to be triggered when a Magisk grant/deny popup appears before I open Magisk for the first time. So it makes sense that it would happen on a clean install.

I can reproduce by clearing Magisk data, not opening Magisk until after an app asks for su, granting su through the popup, and then opening the Magisk su section.

[MENTION=4667597]Didgeridoohan[/MENTION] I'm slammed at work right now. If you can reproduce this would you please open/edit a git issue detailing how to reproduce it. If not I can try to get to it next week. Finding a fix would clear up a lot of repeat posts in here. Thx.
[Magisk] Wesley32:
Yep, Safety net failing on Honor 8 nougat 7.0 Magisk 13.3 as well.
[Magisk] ReZzA_No.1:
I have RR rom based on cm13 so I removed cm su using unSU zip and installed magisk, but after booting up magisk manager does not appear (it does not get installed).

When I install it manually, other apps start crashing continuously, specially cm launcher. And when I open it, device soft reboots automatically.

What should I do?
[Magisk] anakpadang:
could someone help?

there is this banking app that can't pass magiskhide now but before can. already on-off ing the toggle, Uninstall and install again both magisk and app, enabling via terminal emu. log attached. plz help
[Magisk] Dingo_HR:
Bank app discovered root (su) and took away my fingerprint login option.

I have Magisk 13.3.

I tried to put hide option for Bank app in Magisk setting.

Any idea what to do.

Thank you
[Magisk] alershka:
I noticed a play update today when I rebooted my phone. I am assuming that is what broke Safety Net.
[Magisk] Bad_047:
Magisk Install Error

Hello !

I have a problem with the installation of the zip file. When I try to flash it with TWRP, it fails everytime. I don't understand why since I use the last version of the zip (from xda) My device is rooted and runs Android 7.1.1 - OxygenOS 4.1.6 (OnePlus 3t) Please help me ! :)

[IMG="fail error message"]https://img15.hostingpics.net/pics/48548720464186790714677766792224686977n.png[/IMG]
[Magisk] DeathHacker:
MagiskSU doesn't preserve environment variables properly

According to /sbin/su -h:

Well, I've tried everything I can think of, including this simple test:

export TESTVAR="this is a test"
echo $TESTVAR

returns "this is a test", as expected

export TESTVAR="this is a test"
/sbin/su -mc 'echo $TESTVAR'

returns only a newline

:(

I've tried using different shells, different terminal emulators (including adb + ssh), and even running this test in a root session.

Same problem everytime.
[Magisk] yugotprblms:
I'm having issues getting Magisk modules to install at all. They act like they install, they show up in Magisk as installed, but they never actually show up anywhere else. I have a similar issue with Substratum and applying themes.

I kind of think it is some sort of read/write issue, but I have no clue what direction to go in. Wiping everything but storage and reloading ROM did not help. Users on my same ROM do not have the same issue as me. I am not sure where to go. Flashing the packages themselves does nothing either, which also points me towards a weird issue I am not seeing.

Before anyone asks, I did ask in the thread for my ROM, but no one was helpful there and they said to look elsewhere.

I've uploaded a screenshot of possibly relevant info.

Any ideas? Thanks
[Magisk] H4X0R46:
Hey there! I noticed that the newest version 13.3 of Magisk makes google play services force close a bunch when used with open gapps on a multirom secondary install.
[Magisk] Didgeridoohan:
Issue with the su database maybe (there are already some investigations ongoing on that end)... You're running a Nexus 6? What ROM?

Take a look in the troubleshooting guide under "Apps are force closing".

Take a look in the troubleshooting guide under "Boot image patched by other programs".

A bit (completely actually) outside my skill set, but I don't think $TESTVAR is considered an environment variable.

https://en.m.wikipedia.org/wiki/Environment_variable

Flash a module in recover and save the recovery log after. You could also grab a logcat when installing through the Manager.

Those might show something. Attach the files to a post here.
[Magisk] DeathHacker:
It wouldn't be, except I used export, which makes it one.

https://ss64.com/bash/export.html

I actually discovered this issue with $TERM however.
[Magisk] Didgeridoohan:
Of course. I saw you opened a GitHub issue as well. :good:

Nice catch.
[Magisk] yugotprblms:
Done and done. Should have thought of that first.

And not sure how much it matters, but I do have an app that sets SELinux Mode to Permissive all the time.
[Magisk] Didgeridoohan:
Everything looks fine in the logs. But...

I think you need to go over your issue again... What do you mean that the modules "doesn't show up anywhere else"?

Many modules does not "show up anywhere else", except in the Manager. The module you're flashing in those logs, for example, is just an audio framework that a few other audio modules use. You'll not see it anywhere, but you'll now if it works when the audio module (V4A, etc) that utilises it works. Which it might not do if you're on Magisk v13+, since it hasn't been updated yet (but since your SELinux is permissive it might :p).
[Magisk] yugotprblms:
Well, I had tried the V4A module as well, but the V4A app could not see the driver, nor could it download it. Permissions were set correctly, I was connected to the internet, nothing was wrong as far as I could tell.

But it was a combination of that and Substratum (I know this isn't the forum for that) not applying themes when it said it did just fine, that made me think something weird is up.

Am I just misinterpreting things that aren't actually issues?
[Magisk] Didgeridoohan:
Sounds like that's the case... Since the V4A app installed, the module works. But that doesn't necessarily mean the audio mod will work until it's been updated.

You can test with a simpler module (those audio modules aren't simple), like Unified Hosts AdBlock. It just mounts a script to /system/bin so you can run it in terminal. It's also a very useful module. You'll know if it works by running this in a terminal emulator:

su
hosts
[Magisk] yugotprblms:
Well, I had to install the V4A app manually, but Unified Hosts did bring up info after the terminal commands, so you were right. I guess now I have to figure out why V4A won't install drivers.

Thanks for the help man.
[Magisk] Didgeridoohan:
You're using the V4A module from the Manager. That one doesn't use the audmodlib framework... You'll want this module for that. There are a couple of V4A modules around. If one doesn't work, try the other.
[Magisk] yugotprblms:
Ha, oh geez. Well that would be why. Thanks for the tip
[Magisk] magisklover:
I am unable to install Magisk on an emulator. Any help?
[Magisk] DeathHacker:
I'm not certain, but I believe the emulator has to have an actual boot image for Magisk to patch, and most (all?) emulators don't have that AFAIK.
[Magisk] Captain_Throwback:
Disable Magisk Hide.
[Magisk] Mao04:
N6 yes, has happened on, 7.1.2 Nitrogen, S.I.X., and unofficial RR. Both on stock kernel and Blackbird and Dark Energy.
[Magisk] PraneethMv:
Hey, I've got a problem with SafetyNet, again. While checking for SafetyNet, I get an error "the response is invalid". It did work for me in Magisk Manager v5.1.0, but the only problem in that version was the notorious "app didnt start". When updated to v5.1.1 this happened. I tried clearing data for both Play Services and Play Store, didn't help. Then uninstalled and re-flashed Magisk, worked initially, but after a reboot, gone again. Device Lenovo K4 Note, Resurrection Remix 5.8.3, Android 7.1.2, Magisk 13.3 Manager v5.1.1
[Magisk] Dingo_HR:
My Bank app just detected root. :(

No help with hide option checked.

OnePlus 5

Oxygen OS (Android 7.1.1)

https://play.google.com/store/apps/details?id=com.infinum.erste
[Magisk] ReZzA_No.1:
Maybe you should flash the rom before or restore the boot .img from a backup. Because it seems to have problem with it being patched already.
[Magisk] Dingo_HR:
I had same problem on OnePlus One (Bacon) when I tried to flash using official TWRP app.

No problem with un-official and direct flash from TWRP after I downgraded first to 2.8 than updated to latest everything worked fine (still using OPO on LineageOS)

One of the builds messed everything up (can't remember which one)
[Magisk] thrasher194com:
magisk manager logs
[Magisk] manjot7798:
Thanks man i didn't went into magisk manager setting for this lol. However foldermount worked when i press toggle for 3 times it finally turned green. But thanks for the help as now my other foldermount from app2sd and directory binder also working thanks again for help
[Magisk] asusm930:
I just installed this apo and it works for me

Can you explain what happens when it detects root?

Im using magisk 13.2 with a script (that fixes safetynet) that is placed in magisk/.core/service.d
[Magisk] Dingo_HR:
App still works but they disabled fingerprint auth for now.

I had it working till upgrade than popup informed me that change is detected (root) and fingerprint auth is disabled.

Next step could be complete disable for users with root.

Have Magisk 13.3

Safety net check doing good.
[Magisk] Didgeridoohan:
Sorry mate... I tested on my N6 and Nitrogen, but I can't reproduce your issue. I'll test the other ROMs as well, but I don't think it's going to show anything...
[Magisk] IamIrene:
aww sorry I was late until I read this post

if next version problem still occurs will post the log, thanks for reminding :o:o
[Magisk] jenslody:
And the problem is ... ?
[Magisk] sys01:
I can't pass safetynet anymore from this morning

Magisk hide enabled

Magisk 13.3 and Magisk Manager 5.1.1

Anyone as me?