yashsingh1/xdaforums huggingface dataset:
[Magisk] chocolote4444:
Can no longer pass safety net on my G6 US997. I'm was on magisk 17.1 and this morning it all of a sudden doesnt want to pass saftey net for some reason wtf is going on? I havent installed any new modules. What could be the issue? I tried updating to the beta magisk zip but still cant pass saftey net! And PLUS: Even if I turn on CORE ONLY mode it STILL refuses to pass! This is getting ridiculous. What could possibly be the issue? Did Google play services update and something changed?
[Magisk] guest4711:
Check in MagiskRepo for updated modules (MagiskManager - Download). Some modules are not compatible with Magisk 17+. The path used has been changed so you need modules using the current template (so the update date of the modules should be after September 2018.
[Magisk] FullWipe:
Open magisk manager --> Settings --> Hide Magisk Manager.

Your banking apps will come back to work ;)
[Magisk] brown1178:
Thank's mate, it works again!
[Magisk] @vjnexus:
Unable to use google pay in nougat ROM

Even after hiding it says custom ROM detected

Help me
[Magisk] servo386:
To give an update to my own post, I figured out the issue. TWRP also relies on the system's own bin, located at /system/bin in my case, which was not mounted by default when i boot into TWRP. So I went into the MOUNT menu of TWRP and mounted the system partition and all of a sudden, all the commands worked. Magisk installed just fine.
[Magisk] azzammalik:
Google play service crashes on le max 2

hy,

i have le max 2 which has sone strange bug and after a lot of observation i found out today that magisk / root is what causing problem .

i always flash magisk with rom and gapps. After setting up my device it runs normally but as soon play service updates in background my device start behaving abnormally. Apps keep crashing and device randomly restarts.

So three days ago i decided to not flash magisk along with los16 and my phone didn't even show me one ANR Error .

then yesterday i flashed magisk again and today when play service updates in background device keeps showing me errors and kept restarting.

then i checked in apps google play service was no where to be found and com.common.gms.app was showing in list and when i try to click it setting page also force closes .

then i went to restore my nandroid and now its all perfect .

any expert can help me as magisk is must.

thank you
[Magisk] jhedfors:
Read [MENTION=4667597]Didgeridoohan[/MENTION] 's guide. Should help.

https://www.didgeridoohan.com/magisk/MagiskHideSafetyNet
[Magisk] @vjnexus:
Everything is perfect

It passes safety net check also

Still Google pay not working
[Magisk] Killua96:
Could you share which was the old path? Thanks
[Magisk] FlavioV:
Clear data for Google Pay and try again
[Magisk] @vjnexus:
I tried that too

But it fails
[Magisk] mrwan74:
could you help me with my problem?

im having trouble with my device rooting,after the first boot my device freezes up and wont respond.

it seems that samsung patched some of the vulnerabilities used by the bypasses to achieve root,

after the august update. the device is unable to sustain the NO Verity OPT encrypt , the device seems to re-encrypt it self after the first boot

Galaxy S9+ SM-G965F

This firmware version number PDA G965FXXU2BRGA and CSC G965FOXM2BRG8. The operating system of this firmware is Android 8.0.0 , with build date Thu, 26 Jul 2018 02:10:34 +0000. Security patch date is 2018-08-01, with changelist 14049503.
[Magisk] ashyx:
You need a patched custom kernel to bypass the encryption and dm-verity, no_verity_opt_encrypt won't work on Oreo.
[Magisk] drmjp93:
There has been three reports I found on search but there was no fix for that during that time.

Loosing root after a while

On,

V17.2,Stock Android Pie+OP6

Haven't Greenified

Not Optimised for battery

No BusyBox installed

Anyone who have solved this out?
[Magisk] Test_subj:
I ended up fixing this by reformatting all my partitions as ext4 instead of f2fs.
[Magisk] kryshnakishore:
I am facing the same on my OnePlus One & oneplus 6... let me know if you figure it
[Magisk] drmjp93:
Sure. You too.
[Magisk] Pkt_Lnt:
This is a very difficult bug to track down. Until someone can capture a log of what occurs to cause loss of root, it is virtually impossible to fix it since no one knows what causes it.
[Magisk] drmjp93:
I understand that. Anything that can keep root working up for atleast temporary time, if there's anything to share?
[Magisk] kryshnakishore:
when it works fine, the log is normal, when root access is gone there's no option is capture log or log option. is there any other way to capture log?
[Magisk] Pkt_Lnt:
The best is an adb logcat from a computer, but impossible during the time one needs to use the phone. There are various logcat apps that you can get and let them run all the time, then save the result when the loss happens. A real pain, I know, but that kind of extreme measure is what this is going to take.
[Magisk] mrwan74:
thanks alot for your generous reply ! could you please elaborate on that? custom kernel like what?

and what are those custom files in your signature ?

cheers man i really do appreciate it !
[Magisk] guest4711:
As far as I remember /magisk ...
[Magisk] DAViiD__:
Disabling or enabling logd doesn't change anything. Yes I can confirm it's enabled/disabled through magisk logs. I don't know about the kernel supporting namespace separation, but as far as I know mount namespace separation is supported since kernel versions of 3.8 and higher, and I'm running NX kernel. I'm pretty sure that's based on 3.8. I have this problem on every kernel I tried so far though so I doubt that namespace is the problem.
[Magisk] acters:
Troubling enough this doesn't happen for Magisk Manager 5.8.3, only with 5.9.0 and newer. Keeping MM 5.8.3 is a temporary solution and will need 6.0.0 for Magisk 17.2 and newer. Anything to get to the bottom of this will be greatly appreciated. LG V30. I cleared magisk hidelist too.

EDIT: another LG V30 use has told me that I should wait for the Android Pie roms and such to come out.
[Magisk] abced123:
Magisk Hide and Amazon Flex app issue

Amazon Flex app requires Magisk Hide to run . However, whenever I clear the app data/cache . Magisk Hide failed to hide root status . The only way is reflash magisk ( then custom kernel, update magisk manager ) then re-hide the app and others .This is quite annoying . Is there any better approach ?

Also, whenever magisk manager app got data/cahce deleted , magisk also failed .
[Magisk] kryshnakishore:
Log file
[Magisk] kryshnakishore:
>

Log file
[Magisk] martyfender:
That is a crazy long list of apps you have hidden. Why? Topjohnwu has stated many times that hiding too many apps can cause problems.
[Magisk] richinthailand:
Can anybody please tell me how to upgrade from 13.3 to anything newer

Every time i try the phone bootloops on 2 different phones. Both phones have forced encryption turned on and both near vanilla android.

Driving me nuts.

Thanks
[Magisk] Didgeridoohan:
I would try to first uninstall and then reinstall fresh.
[Magisk] paarnoutse:
Not clear for me what exactly your problem is. Your first post just refers to this issue of [MENTION=4739170]drmjp93[/MENTION] which describes his problem as "loosing root". However, it also contains remarks like "No BusyBox installed", which is a typical reason for root

detection

instead of a reason for root

failing

.

When indeed

root detection

is your problem (hide failing, so root can be detected even by hided apps), then the reason is clear: According to your Magisk log you have included Chrome (which includes its build-in WebView provider) in the Magisk Hide list, which is a known problem in Magisk v17. Hiding Chrome in Magisk v16 and below was no problem, but in Magisk v17 it causes Magisk hiding to fail for any app, and for same reason also SafetyNet checks will fail.

Remove Chrome from your hide list to prevent that hiding fails for any app in your hide list.

See https://github.com/topjohnwu/Magisk/issues/595
[Magisk] richinthailand:
Yes i tried that, i installed the latest version and worked my way back until i got to a working version which is 13.3 .

Even the modules dont show on that version even though a menu for it :(
[Magisk] eyeonus:
Automate and Magisk?

Is there anyway to trigger the Root Toggle switch using the Automate app, and if so, how do I do it?

I want to make an Automate flow that will turn off root when Android Pay launches and turn it back off when Pay is closed, and I know how to do literally every but the switch toggling:

<Android Pay is in foreground?>

|- Yes -> <Magick Root Toggle off>

|- No -> <Magisk Root Toggle on>

EDIT: I should probably mention I'm referring to the Magisk Manager app, in case that isn't clear. Also, if it's not currently possible, could you at some point add an activity or broadcast or what-have-you so it is possible at some point, please?
[Magisk] teddy0209:
Mounting system rw is not necessary. Just use the magisk base superuser and no other. Did you check in the superuser if magisk manager has been granted root? Just flash magisk and superuser 17, boot and verify it's working prior to installing other mods such as xposed.
[Magisk] dorqus:
Not sure what I'm doing wrong, but I can't get Magisk to display the SELinux status.

Running Dirty Unicorns 10.6 (6.0.1) on a Nexus 5X

open up Superuser and did "un su", rebooted, confirmed that SU was gone.

Rebooted into TWRP, flashed Magisk v6, reboot.

Rebooted into TWRP, flashed phh superuser, reboot.

Installed phh app from Play Store, confirmed I could get SU access again in Afwall+, Terminal Emulator, etc.

Installed Magisk v12 app - I see the root toggle, but SElinux status, it just shows blank.

Boot Version: Magisk v6

Root Status: Mounted

SeLinux Status:

Root mounted and enabld. Safety Net (Android Pay) will NOT work

Only turn off SELinux if necessary

Root Toggle: <---0>

Selinux Toggle <0---->

I've searched this thread to no avail, so my apologies if this was covered here.
[Magisk] teddy0209:
Might be with the rom. Most problems comes with custom roms, that's why it is recommended to use stock.
[Magisk] dorqus:
OK thanks [MENTION=3615867]teddy0209[/MENTION] - Pokemon Go does work with Root disabled, so it is working for that - just the SeLinux part isn't working....
[Magisk] JudgeDread11:
Somebody posted an app a while back called auto magisk I think. Haven't tried it but it should do what you want.

The new, hopefully soon, to be released magisk manager will have this functionality too.
[Magisk] -Happy Feet-:
I also would made an automate flow. Maybe about the classes from the app.

---------- Post added at 05:44 AM ---------- Previous post was at 05:42 AM ----------

The App was for Android 7. I have Android 6. Don't work for me.
[Magisk] eyeonus:
Thanks for that. Seems to work fine.
[Magisk] KeyzerSuze:
About to head down this path, like purenexus but also want to play pokemon go
[Magisk] JudgeDread11:
Are you sure? I thought the quick toggle was for 7 but the app was generic. And u saw a post of a quick toggle for 6 too, but it didn't work for me since Asus changed the quick toggle panel.
[Magisk] DerpleNerple2000:
I did a complete uninstall of magisk so it's .img file was gone, which should include the viper files. I reflashed Magisk, phh, and the Viper zip you linked.
[Magisk] JaymzTA:
I can't get Android Pay to add a credit card for the life of me. I keep getting this screen:

These are my settings:

I've also tried with Selinux set to permissive. Same error.

I'm running a Nougat rom that's as close to stock as you're to get on my Nexus 5.

I'm also running the latest bluspark kernel with WiFi fix.

Could the kernel be causing this?

As an added note, Pokemon GO runs fine with these settings.

I tried using the search function through the Tapatalk app, but I didn't come up with much. Thanks in advance.
[Magisk] -Happy Feet-:
Here is the APK Post. I have an Parsing error.
[Magisk] emerkun1031:
help pls

i followed all the instruction but after flashing the files i didn't get root access. im on lollipop 5.0,ZE551ML Z00A. unlocked bootloader and i have twrp recovery. hmm,did i miss something?
[Magisk] -Happy Feet-:
I found this at Github. But how execute this command?

if (toggleState == 1) {

toggleState = 0;

Hide/unmount Magisk root

Shell.su("setprop magisk.root 0");
[Magisk] putridfoetus:
You're on a Nexus 6, right? Have you looked in /vendor/etc/audio_effects.conf? If the helper functions are there, try commenting them out. That's what got it processing for me. Spotify works fine with v4a.
[Magisk] bobthesalesclerk:
Kind of weird thing happening if anyone can help. I'm new to magisk.

Device - Moto g4 xt1625

Android - 6.0.1

ROM - Pacrom 9/16 build

So every time I try and use the magisk root toggle it grants SU permission, the toggle switches back to on, and my root status still shows as mounted. It completely removes root from my phone forcing me to reflash SU in twrp.

Here is a log.

https://drive.google.com/file/d/0B-dBOPtImvOIazdERGp6azd5Nm8/view?usp=drivesdk
[Magisk] exodius48:
How to remove it? I search it on uninstall system apps, but did not find uninstall supersu / root.
[Magisk] 5m4r7ph0n36uru:
If you're using SuperSu there's an installer found in the respective thread. You could use this one, or try the full indoor procedure given within the SuperSu App in App drawer.
[Magisk] Daemos:
I have a strange bug with Magisk manager. Often it will let me unmount or disable root, I usually automate this through tasker for apps that have specific root detection (such as android pay or pokemon go), so entering the app disables root and leaving the app re enables root. However, then it'll stop working for whatever reason, and if I try to unmount root, the switch will toggle off then toggle back on again preventing root from beign unmounted. Rebooting the phone solves the issue, but it's very random and i'm not sure what is causing it. Any pointers for troubleshooting would be appreciated.
[Magisk] Didgeridoohan:
Logs are awesome!

https://didgeridoohan.com/magisk/MagiskHelp
[Magisk] richinthailand:
Your right logs are good but as its happening on multiple phones I thought it maybe a know issue or somebody has seen it before and can suggest something to try.

Otherwise i gotta restore stock, install latest magisk, get logs, install stock, then install 13.3 again.
[Magisk] drmjp93:
Update:

After disabling Gpay Magisk Hider module, My root status is up since then.
[Magisk] kryshnakishore:
i never knew this, i unchecked almost all the apps unless needed, thank you for sharing info

---------- Post added at 02:48 PM ---------- Previous post was at 02:46 PM ----------

never seen this in forms, yes unchecked chrome & other apps, will update you , thank you for helping
[Magisk] tag68:
To have a protection against remount system rw is exactly what I suggested probably about 2 years ago.

IMHO It would be necessary to replace the mount command (systemless, of course) by some script or executable which checks if the parameters contain system and rw (or similar, may need some brain to get it failsafe), and pass every other call to the original mount command. You are free to do a pop-up asking if it should really get mounted, or always deny (if you don't want the protection, you may disable it).

Using this method Magisk would make sure that no bad implemented root app modifies system without permission.
[Magisk] bizid:
pocophone f1, miui 10 beta

patched boot without installing twrp, all encrypted.

on 1st run magisk manger did not pass safety net check, i installed "universal safetynet fix" from modules menu

after reboot magisk manager hangs when i try to launch it, one more reboot didn't helped

so i installed magisk manager again on top, rebooted. And seems all work fine root and safetynet,

Problem but now on each launch Magisk manager tell me

"Requires additional setup Your device needs additional setup for magisk to work properly. it will download the magisk setup zip, do you want to proceed?"

and no matter what i press i see this dialog again on next launch.
[Magisk] yudiandromax01:
Hello

i use latest magisk in my phone

but i find some error in my phone

everytime i restart or turn on my phone, the date time and timezone setting is always reset to China Timezone (my timezone is gmt+7 indonesia).

I have tried to turn on automatic timezone, but my timezone always reset to china timzone everytime i restart my phone.

when i uninstall Magisk, this problem not appear. i can set my timezone manually or automatically.

what is the solution for this problem?

please help me

thank you very much in advance
[Magisk] kroening.s:
Does someone know a Module (or is able create such one) which deactivates the Screenshot-Taken-Broadcast for Snapchat and other apps?

Would help me and many other people to get away from Xposed :fingers-crossed:
[Magisk] DanGLES3:
Not possible,magisk can't block that broadcast
[Magisk] kroening.s:
Is it possible to integrate such a feature in a custom-rom?
[Magisk] DanGLES3:
If the module was just modding the system to remove the broadcast then yes,if it was modding the apps then no
[Magisk] kroening.s:
Hmm ok :good:
[Magisk] ramabg:
My apps no longer be able to detect root after I hide my magisk manager package and can detect root again after I restore magisk. Is It well known characteristics of magisk or there is a way to make apps can detect root after I hide magisk manager?
[Magisk] yujinloh:
Issue: Magisk manager crashes while clicking on a module in downloads tab to view it's description (the download button beside a module still works)

What I've tried:

-Clearing data of Magisk manager

-Uninstall and reinstall Magisk manager

- I'm using default theme of cm

- Magisk manager isn't installed as system app(I can uninstall it from settings>apps)

Device details

- SM-T235

- Android 5.1.1(cm12.1)

- custom ROM link: https://xdaforums.com/tab-4/development/t235-cyanogenmod-12-1-t235y-t3145795

- Video demoing the crash: https://imgur.com/gallery/TZC7lcX

Magisk and logcat log attached.

I uploaded Magisk uninstaller accidentally,sorry about that(ignore it)
[Magisk] martyfender:
Yes, Magisk Hide is supposed to hide root from apps. Hiding the Magisk Manager is designed to hide root even better.

Why do you want your app to detect root?
[Magisk] PartyPlease:
Magisk 17.2 has been crashing ever since I upgraded.

A simple reflash resolved all of my issues.
[Magisk] Fablos:
Does anyone know if and how it is possible to let Magisk replace files in /OEM ?
[Magisk] Lennoard:
[MENTION=4470081]topjohnwu[/MENTION]

You may have noticed that Progress dialogs are deprecated (for a good reason, since it blocks interaction with the rest of the app).

The module installing is probably done using an AsyncTask, you have a progress report too so why not make a Notification instead? Maybe giving the user a chance to make a download queue.
[Magisk] Einheit-101:
Disabling android logging causes extreme magisk cpu usage, pls fix

https://i.imgur.com/xa6VPPu.png
[Magisk] BRANDENDEUCE:
Sorry if this has been answered. I'm getting magisk manager force closing when trying to access magisk hide. Oneplus 6 Android P. Thanks for help in advance.
[Magisk] J4jks:
Even after granting root permission on terminal I get permission denied, after typing again su gives root permission successfully.

And in file manager, mixplorer, in root partition same happens after refresh its fine.

I'm on Redmi note3 AEX N with Magisk17.2 with manager 6.0.0 + systemless xposed

Anybody facing this?

Or this is already reported? I didn't find any about this on this thread
[Magisk] Fif_:
You can't disable logging and run Magisk as MagiskHide depends on logging to be functional.

Clear your MagiskHide hidelist, and keep it small next time.

These are FAQs, search the thread and look at https://www.didgeridoohan.com/magisk/HomePage
[Magisk] frijilraj:
Good
[Magisk] Maxpawner:
Plz Help me what to do to use Google Pay with costum Rom (lineageOS/resurrection) on my Note 4, payment terminal and device have no reaction when i want to pay with NFC.
[Magisk] blackhawk_LA:
I have magiskhide disabled and with log disabled the phone still becomes unusable
[Magisk] BRANDENDEUCE:
I'm not sure what you mean. I can't clear it since it crashes every time I try to access magisk hide. Only had 5-7 apps hidden anyway. Only noticed once updated to pie.
[Magisk] martyfender:
Why do you have logging disabled? I've never had a reason to disable it.
[Magisk] yochananmarqos:
Apparently some young ROM developers think it saves battery life. :rolleyes:
[Magisk] irony_delerium:
Ran into this one:

Device: Mi Mix 2, OmniROM Pie, most recent nightly. Selinux is in permissive mode.

Magisk 17.2

Modules: Lawnstep 1.0.4

Enabling Magisk Hide for any app caused the app to not launch, with an error indicating "gralloc-mapper is missing".

Disabling it allowed launch, but of course, for things like PoGo, that's not an option.

Worked around it by putting Lawnstep-Ci.apk into place in /vendor/overlay manually and removing it from the Magisk image, after which Hide works again.

Is this Magisk being screwy, the ROM, or the module?
[Magisk] GreenPool:
Help, can't install magisk 17.1 due to error 1 in twrp. I already tried flashing boot.img of my custom rom which is pixel experience. What to do my friend?
[Magisk] martyfender:
Yes, and it is an option that can be set in lspeed. However, when I tried it in the past, when I was still using SuperSu, I didn't notice any significant battery savings.
[Magisk] DB126:
Gotta love L Speed; a knob twiddlers moist dream.
[Magisk] RandomPooka:
I'd say that a strong argument could also be made for preventing unnecessary disk reads and writes on a storage device with limited life. But, you're talking about reaping incredibly small potential benefits from either situation.

I'd leave logging on to help troubleshoot problems instead of possibly saving a few milliAmps or adding a couple months to your internal storage lifespan, considering that it will probably outlast the phone's usefulness anyway.
[Magisk] Davyjones66:
Modules are not showing up even after installing and rebooting
[Magisk] Fif_:
Logcat logging happens in memory and never hits the flash memory (unless you're capturing it somewhere of course). Your precious storage lifespan won't be affected by copious logging ;) Turning it off won't do much else than preventing you from troubleshooting errors (and breaking Magisk).
[Magisk] :
Could anyone explain what does " stock boot image dump" mean?

I have a Xperia XZ1 phone here that I cannot unlock the bootloader on (it's not mine), but I need to root it. Magisk seems to be what I need, but I don't understand the instructions.
[Magisk] xunholyx:
You need to unlock the bootloader to root it. Why can't you unlock it because "it's not yours"?

And if you are rooting it, does the person who owns it want it rooted?

Unlocking the bootloader isn't a difficult thing to do.
[Magisk] vandyman:
Look for a thread on rooting your XZ1.

Magisk will not unlock any boot load at this time.

You need to unlock your boot loader first.
[Magisk] :
According to the instructions I don't:

"Via Magisk Manager:

This method does not need root, and also does not require a custom recovery."

That's exactly what I need to do, because unlocking the bootloader makes the camera stop working completely.
[Magisk] xunholyx:
It might not need a custom recovery or root, but it does need an unlocked bootloader.
[Magisk] :
Oh. Well, that sucks. Someone should put that in the instructions then.

Guess no root for me :/
[Magisk] RandomPooka:
I'm pretty sure I said it wasn't worth the tradeoff, which means that I'm not concerned about "precious storage lifespan" nearly as much as you took me to be. And wouldn't the point of logging to be to capture it for looking at after an error?
[Magisk] Indashio:
You all have CTS Profile:false

In magisk now working only basicintergrity true ?

I installed many different versions of magisk. Now I have canary and still CTS Profile is false. This function does not work anymore?
[Magisk] jhedfors:
Have you checked out everything here?

https://www.didgeridoohan.com/magisk/HomePage
[Magisk] BurnedDrake:
There is no need to add that to the instructions, in order to flash a boot.img your bootloader needs to be unlocked