yashsingh1/xdaforums huggingface dataset:
[Magisk] PedroCaseiro:
Hello. I have a Zenfone 2 ZE551ML with CM13.

1 - Can Magisk work with the built in CM13 root ?

2- If not, can I completely remove Magisk and the alternative root method and restore the Built in root without restoring a nandroid backup ?

3 - Is Magisk worth the fuzz of replacing the root method and why ?

Thanks!
[Magisk] guessingagain:
1. Yes .Magisk hide will not work magisk itself should work however.

2. Yeah just dirty flash your ROM after uninstalling Magisk

3. Read the release thread. There's more to magisk then just rooting and safetynet
[Magisk] dfogelstrom:
Hey all, I'm a T-Mobile LG V20 H918 with WETA ROM 4.0.2 (Android 7.0.0).

I have installed the Magisk 10.2 with SuperSU Pro systemless and all is good.

I was wondering what the benefits of Magisk are, as I don't really see too many modules to install for my phone.

Would all modules work for my phone, like Xposed? I'm very new to the whole Magisk thing and need a bit of guidance here.

Also, where can I find a module repo list? Looking for themes and whatnot, but I don't know where to begin.

I have done plenty of reading I just need a little guidance!

Thank you all!!
[Magisk] Hybrid Divide:
I'm having an issue with Magisk not saving settings upon reboot. Magisk Hide keeps resetting to off. And I got an install error when reinstalling via the magiskify button. Any ideas?

I'm on a rooted LG V20, running a deodexed stock ROM. It was working awhile back when I had Magisk v9. Hope you might have a solution.

Thanks.
[Magisk] biggdevon:
What's the best method for updating to a newer Magisk version? Interested in trying out the unofficial release v11, should I flash over the current setup or flash the uninstaller and start fresh?
[Magisk] Didgeridoohan:
The benefits are that, among other things, you can make all your modifications systemless and don't have to redo them after every system update, if you can do a dirty update. And even if you have to wipe your system you can very easily flash the modules instead of spending a bunch of time editing build.prop, replacing/removing apps, system sounds, installing Xposed, v4a, etc. It also makes it easier to install official OTA's, if that's what floats your boat...

Well, actually: The point about Magisk is that you make all your modifications systemless, period.

I'm gonna look in my crystal ball and say you need to replace SuperSU with Magisk phh's superuser. Of course, I've had way to much beer and may be completely wrong.

---------- Post added at 22:56 ---------- Previous post was at 22:55 ----------

Try the one and if it doesn't work, do the other...
[Magisk] Hybrid Divide:
Did Magisk stop working with SuperSU? I know it worked in the past... Still, I'll look into that this weekend. Is the process of switching over to the Magisk one complex?
[Magisk] Didgeridoohan:
Magisk works with systemless SuperSU. Magisk Hide doesn't.
[Magisk] Hybrid Divide:
Huh. Weird. I'm pretty sure it worked before. Why would they remove that functionality? Any idea?

Is there an easy method for switching over to the SU?

Thanks for the reply.
[Magisk] Didgeridoohan:
Parts of Magisk Hide used to work with SuperSU, but not by design. I believe hiding an unlocked bootloader worked, but nothing else. It was never designed to work with SuperSU...

For switching, either use the complete unroot option in the SuperSU app or the unsu script by osm0sis (search for his odds and ends thread). It might be necessary to uninstall and reinstall Magisk... MagiskSU will be installed automatically if you install Magisk on a system without root.
[Magisk] Hybrid Divide:
Gotcha. Thanks! :D
[Magisk] Wesley_NL:
Guys i need support again , i notice some wierd behavior in audio when enver i listen music or watch a movie,

sometimes the audio falls away and then slowly the volume comes back to volume it was and once it reached the desired volume it slowly add settings of viper, would it be that viper its buffer crash or something? Or is this rom or kernel or magisk related?

I use audax 13 rom

I use arter97 kernel

And magisk 10.2 with phh's root if im correct,

All i know magisk have a own version of viper but never tried installing it because the viper in audax work but something reset from time to time,

If someone can support me pls tell me
[Magisk] Link_of_Hyrule:
If there a way to use the files in this thread in Lineage OS as a Magisk Module? Does Magisk overide signature checks for files it replaces? If so can someone link me to a similar module that I can adapt to do so?

https://xdaforums.com/oneplus-one/help/android-pay-cm14-1-t3504989/page5#post70872690

Edit: I made the module below and it seems to replace the files but I think permissions are wrong and it's still having the signature check. Can anyone fix it for me so it'll work on Lineage OS 14.1?
[Magisk] Kal-El7:
If you have not installed Magisk's viper, why are you asking for audio support in the Magisk thread? Perhaps you would get a more productive response in the thread that handles your audio solution. I probably would try asking in the Viper thread itself. Or the Rom you use to see if it's an implementation issue. Who knows.
[Magisk] ApplepieFTW:
Is it Sony x compact(7.x) compatible? I couldn't find a compatibility list anywhere
[Magisk] Ikzy:
Stock kernel is not, but genesis kernel is.

Unlock bootloader

(flash recovery)

Flash genesis kernel

Flash magisk

Install phh superuser app (see OP) and magisk manager
[Magisk] ApplepieFTW:
Alright, thanks for the fast reply!
[Magisk] speakeasy1:
I am new to this and I have read many pages looking for an answer. I have a nexus 6p running nitrogen latest ROM and latest flash kernel. I am hey safety next fails because of CTS mismatch. Can anyone help?
[Magisk] seb5049:
I'm using Magisk V10.2 with phh's superuser. When I turn on Magisk Hide and activate it for a few apps, the settings never save. The "Enable Magisk Hide" option remains ticked, but all the apps I selected in the Magisk Hide settings don't. Why is this?
[Magisk] tag68:
Probable cause: Magisk 10.2 supports hide only when using topjohnwu version of phh superuser.
[Magisk] seb5049:
Yeah, I didn't use the phh superuser included with Magisk. How would I go about installing the right version then?
[Magisk] culiacanazo:
My turn! :D

Is there any chance somebody knows why some root requests go to phh's while others go (all of a sudden) to the built-in superuser?

Allow me to go into a bit of detail:

because I have never bumped into any issues pertaining this matter, I've never bothered to clear the rom of the built-in superuser, what's more, I've only flashed nightlies lately (nothing different)...

...Unless... it has to do with the Beta version of the app! Any thoughts?

While this certainly presents no issue (and deleting the built-in superuser wouldn't be a problem, either...), it is something that hadn't been happening and i haven't seen being asked...
[Magisk] toki422:
Hi.

I'm on an LG G3 (ls990) with stock firmware on 5.0.1.

I had rooted it to get twrp as my custom recovery, but then tried unrooting to see if it would fix the issues. It didn't.

Would anybody be able to help me get magisk installed?

The recovery log is below.

*****************************
Magisk v10.2 Boot Image Patcher
*****************************
- Mounting /system(ro), /cache, /data
! System installed root detected, mount rw :(
- Device platform: arm
- Constructing environment
chcon: Could not label u:object_r:system_file:s0 with -hR: No such file or directory
- /data/magisk.img detected!
- Mounting /data/magisk.img to /magisk
- Found Boot Image: /dev/block/mmcblk0p18
- Unpacking boot image
Unknown ramdisk type
Aborted
! Unable to unpack boot image
Updater process ended with ERROR: 1
I:Legacy property environment disabled.
Error installing zip file '/external_sd/Magisk-v10.2.zip'
Updating partition details...
I:Data backup size is 2743MB, free: 21924MB.
I:Unable to mount '/usb-otg'
I:Actual block device: '', current file system: 'vfat'
...done
I:Set page: 'flash_done'
I:operation_end - status=1
I:Set page: 'clear_vars'
I:Set page: 'install'
I:Set page: 'main'
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Set page: 'reboot'
I:Set page: 'main'
I:Set page: 'clear_vars'
I:Set page: 'main2'
I:Set page: 'advanced'
I:Set page: 'confirm_action'
I:Set page: 'action_page'
I:operation_start: 'Copy Log'
I:Copying file /tmp/recovery.log to /data/media/0/recovery.log

Thank you.
[Magisk] Didgeridoohan:
IIRC Nitrogen comes with superuser built-in. Did you remove that before installing Magisk? If not that's a good place to start. I even believe they provide you with an unsu script.

Remove old root, install MagiskSU... You might need to reinstall Magisk and in that case MagiskSU will be installed automatically if you've removed the previous root method. Otherwise it's just a matter of flashing the Magisk superuser module.

Your boot image isn't compatible.

I seem to recall you need to "bump" LG devices. Have you done that? Of course, my memory might have failed me like it usually does...
[Magisk] staygreen420:
I have a galaxy s7e full stock when I install twrp on to phone and enter it to flash magisk do I need to wipe before hand? And what is a custom kernel and do I need one? Sorry for the noob
[Magisk] culiacanazo:
Too much of a device to be noobing around, I'd say... Take my word for it: get yourself a cheaper device and come back and mess with it
[Magisk] adriansticoid:
Can't install on Honor 8 with EMUI 5. When trying to flash, it reboots the phone before even finishing. Anyone?
[Magisk] klark1kent:
I have an LGV10 running Eliminator's custom rom on Tmobile... I've found that no matter what I do I cannot remove SuperSU completely. I've tried from supersu app and also used the Unsu zip from Osmosis. I never flash the boot.img when I'm directed to do so in TWRP because I was under the impression they were referring to the boot.img provided in the rom that was already installing supersu during TWRP install. So my question is this, am I wrong in thinking the boot has anything to do with the custom rom obtaining su. Should I install the boot.img from the install zip for the custom rom or install the boot.img for stock in order to full remove Supersu and successfully use PHH superuser... I'm asking here because I've been unable to flash Magish 10.2 and my error is typically at the su portion of the flash in TWRP. I'm thinking if I just flash the boot.img and get rid of supersu altogether, i'd be able to successfully flash 10.2 and use PHH su. Thanks!
[Magisk] teddy0209:
I'm not sure if the rooting is related to the boot.img in your device, but you could try, as long as the rom is stock based. It would be better to ask from your rom dev about properly removing root.
[Magisk] klark1kent:
If you only knew how difficult that thread is to navigate, magisk topics have been asked before but, I really can't put that thread into words other than saying that mods have been on it on several occasions. To his credit, he is performing great work. But it's lets just say an interesting thread.

What's weird is I found myself in a boot loop trying to work this out, and ended up pulling out of it... but in doing so needed to do magisk uninstaller and unsu zip. Well when I got the phone working again I had to use supersu, after I rebooted and everything I went into Magish and v10.2 installed first try... everything is working fine but I'm using chainfires tool and really don't get how/why the 10.2 upgrade would go through on supersu and not PHH. I'll prob uninstall supersu at some point and go back to PHH as I believe several modules require it but strange situation.
[Magisk] yochananmarqos:
After you unroot via SuperSU, flash the boot.img from your ROM ZIP then install Magisk. If that doesn't work then it's a ROM issue.
[Magisk] seb5049:
So I uninstalled Magisk, flashed my stock boot image, then installed it again to get the correct phh superuser. However, my problem still remains.
[Magisk] Didgeridoohan:
Logs (Magisk log and recovery log from the installation are usually quite useful) and a screenshot of the status page from the Manager can be helpful as well.
[Magisk] seb5049:
Attached are the Magisk log and status screen screenshot.
[Magisk] Didgeridoohan:
You need to fix the permissions on those drive links... They're not shared.
[Magisk] seb5049:
Yeah, I changed them. Look at the post again.
[Magisk] Didgeridoohan:
Everything looks good.

Your original problem was that ticking the boxes for Hide wouldn't stick, right? That's been fixed now, I assume, and now you just want to pass SafetyNet.

Does Hide work otherwise, as in: can you hide root from an app not using SafetyNet. A root checker, for example. If that works, you'll just have to go through the usual suspects that trigger SN. Here are some tips:

https://xdaforums.com/showpost.php?p=70426733&postcount=7120
[Magisk] seb5049:
Unfortunately, the ticking boxes problem is still there. I'm not really interested in bypassing Safetynet - I just want to be able to play games like Fire Emblem Heroes which block you out after a while if you're rooted.
[Magisk] Ikzy:
Xperia X Compact (F5321) on Nougat 7.0 with Genesis Kernel 1.03

When I power off my device it will not boot up again. Reboots do work and a volume up + power reset will boot up just fine.

Unfortunately there is no last_magisk.log probably because the power off won't finish. I checked regular magisk.log with no errors.

Any other logs I can provide to troubleshoot this, or any fixes?
[Magisk] Didgeridoohan:
Ok. You've got some other issue then. I never caught what device and ROM you're using.
[Magisk] seb5049:
Wileyfox Swift (crackling) with LineageOS.

EDIT: Never mind, the boxes untick, but after I reboot they become ticked again and don't change. It's probably a bug in Magisk Manager. Now, Magisk Hide works as it should. Thanks for all your help!
[Magisk] speakeasy1:
I have did not unroot. Clean I stall. It just stopped working. I am trying to pass to see if pogo will work again. Are there any steps that may help
[Magisk] Demax55:
Thanks a lot, this worked!!!
[Magisk] sscsps:
Did you found the solution? I had a similar issue with my LeTV Le1S Eco, I fixed it with these steps:

1. Full unroot from SuperSU(if you have it)

2. Reboot to system

3. Reboot to recovery

4. Flash magisk uninstaller

5. Flash magisk installer

6. Reboot to system

7. Install phh's superuser from play store

8. Reboot to system (now phh's superuser should takeover)

and that's it, safetynet passes now!
[Magisk] Didgeridoohan:
-Uninstall Magisk

-Use the unsu zip from the Nitrogen thread

-Install Magisk

-Activate Magisk Hide

-Reboot

If it doesn't work, your system has something triggering SafetyNet. Here are some tips:

https://xdaforums.com/showpost.php?p=70426733&postcount=7120
[Magisk] xJovs:
I've been dumbfounded for a while now on why I cannot bypass SafetyNet on Note 5 or Note 7 roms on my Galaxy S6. I wrote a guide about a month ago here outlining how to bypass SafetyNet on the Galaxy S6 ( as well as other phones ) but I noted that GraceUX roms won't work. Now, I am trying to find a way to make it work as I just like GraceUX roms in general and I'd assume it wouldn't be that hard. When I followed every step in my own guide on other roms such as Alexis Rom or CoreUI; I am able to bypass with no problem. However with GraceUX roms such as Noble Experience 2.0 or FastRom 3.1 for the Galaxy S6, I receive "Response Validation Failed", not even a CTS error. I did notice though that I am able to get CTS Profile Match False when I used SuperSU-2.79 R3 in SYSTEM mode, but not in System-less mode. I also receive CTS Profile Match False when I fully un root and just using stock rom. I am using arter97's s6 (n7 port) kernel as it's the only kernel that I can get working with Note ports. I also have USB debugging disabled as well and have set the proper permissions for the file "enforce" and "policy" in /sys/fs/selinux. I've also tried setting the kernel to enforcing though terminal however, it keeps giving me the error "invalid argument" when I try "setenforce 1" or "setenforce enforcing". No idea why.

My Magisk Log File:

** Magisk post-fs mode running...

** Magisk post-fs-data mode running...

* 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

* Enabling systemless hosts file support

Mount: /magisk/.core/hosts

** Magisk late_start service mode running...

service: /magisk/phh/service.sh

phh: Live patching sepolicy

phh: Moving and linking /sbin binaries

phh: Mounting supath

phh: Starting su daemon

* Removing tampered read-only system props

* Starting Magisk Hide

MagiskHide: Update process/package list:

MagiskHide: [com.google.android.gms.unstable]

Zygote(0) ns=mnt:[4026543322] Zygote(1) ns=mnt:[4026543323]

MagiskHide: Update process/package list:

MagiskHide: [com.google.android.gms.unstable]

MagiskHide: [com.scottyab.safetynet.sample]

Any help would be appreciated. Thanks.

EDIT: Also, I'm using Magisk V10.2.
[Magisk] Nomelas:
looks like magiskhide is starting too late now. It has caused my work's enterprise app suite to see that my device is rooted and force itself to uninstall. What changed with magisk hide in v11???
[Magisk] thesingular:
This update wrecked the safety net for me, somehow. Safety Net Helper now shows "Response validation failed".

with 10.2 everything worked well though.

AOKP(Nougat 7.1.1) on Huawei G8,RIO-L01 with single SIM.
[Magisk] guessingagain:
Did you update from 10.2?

Seems like disabling magisk hide, restarting then enabling again fixed it for me
[Magisk] thesingular:
Yes, updated from 10.2. I'll try what you said.
[Magisk] yochananmarqos:
Confirmed.
[Magisk] thesingular:
Confirmed once again. However, I got a weird thing going on after that: I disabled Magisk Hide again, and Safety Net test passed. LOL.

Yet even weirder, when I go and enable Systemless Hosts option, Safety Net test goes haywire again, until I turn that off.

Edit: Seems like enabling Busybox along with Magisk Hide causes those weird things posted above. And for the second part, Systemless Hosts should be turned off when you turn Busybox on. Otherwise Safety Net test is good until you turn it off and back on.

And this condition lasts until you reboot the phone.
[Magisk] guessingagain:
Yeah. Something similar happens.

Also occasionally when I reboot I get the toast but magisk hide doesn't start and have to disable and enable again. Log says

Zygote 0 ns !

I have some apps that acquire root access on boot and sometimes I feel the delay compared to earlier superuser.(maybe this is somehow clashing with magisk hide because I get the other app toast immediately after the magisk hide one) During normal stuff it's the same as before.
[Magisk] thesingular:
Looks like we might get a 11.1 or 11.2 soon, heheh. Or at least a post somewhere explaining this problem with its workaround.

Edit: Now that you mentioned it, I too did notice something like this. Oh well, I'll just wait for the fix.
[Magisk] angel7501@live.com:
Wish I could say the same as everyone else. Magisk hide has never worked on my device with aosp. I have an exynos s7 edge with lineage os. Flashing lineage su-remove without flashing magisk allows my device to pass safetynet, but as soon as I flash magisk 11 I'm met with a CTS mismatch error in the magisk app, and a response validation failed in the safetynet helper app. I have tried disabling and enabling magisk hide, rebooting, enabling systemui in magisk hide(which worked in a stock nougat Rom once), disabling busybox, disabling hosts, etc to no avail. Ive attached my magisk log in the hopes that anyone can help me. I don't have any root installed at the moment of flashing magisk, as safetynet passes without magisk. Oh, I've also disabled USB debugging.
[Magisk] guessingagain:
This seems similar to the log I got earlier but no mention of hide at all. Can you post the log after you disable hide and able again without restarting?
[Magisk] angel7501@live.com:
Sure. Here it is.
[Magisk] thesingular:
I have USB debugging enabled so it's probably not the cause. Before I got the reply though, I've happened to wipe the cache/Dalvik, you can perhaps try that I believe.

I'd try that making sure the options are disabled after the wipe.

Also, do you have Busybox installed on system by any chance?(Instead of the systemless version of Magisk) Just wondering about that though. Also, no, I don't have it installed like this. The only Busybox I can use is the Magisk one right now(without installing Busybox from somewhere else).
[Magisk] guessingagain:
Everything looks fine when I compare to mine except I don't see the line where magisk hide unmounts stuff. Maybe that's the problem for you.
[Magisk] guessingagain:
Edit forgot to attach log

Can't upload without new post
[Magisk] thesingular:
By the way, here's my log:
[Magisk] yochananmarqos:
Anyone else having problems with Tasker not detecting root access with MagiskSU?
[Magisk] nathanchance:
Yeah I'm having a problem with a few of my apps as well (BBS and EXKM to name a couple)
[Magisk] chudy_85:
Magisk v11 and Magisk Manager v4.0 work good on my mate7 with Marshmallow. But when I enable Magisk hide, busy box and adblock I can't pass safety net but when I disableed adblock system less I pass safety net to green. This it's only one bug for now. Now I install Viper and check

Wysłane z mojego HUAWEI MT7-L09 przy użyciu Tapatalka
[Magisk] kenpaci:
magisk v11 work great..but very slow boot up, take 5 minits for boot, s7edge mm, any suggest?
[Magisk] lululala:
Did you uninstall the Phh Superuser App ? It clashes with MagiskSu App on the root prompt
[Magisk] angel7501@live.com:
At one point it does the unmounts but it still doesn't work. Also clearing cache did not solve the CTS problem. :( here's another log showing that it DOES do the dismounts but on a second try it just doesn't do it on time. I wish this would work :/
[Magisk] thesingular:
You can disable them all, restart device then enable adblock first magisk hide, then enable busybox after you enable them both. You won't be able to properly disable Magisk Hide AND Busybox itself AFTER enabling Busybox and if you ever turn off adblocker and turn it back on, SafetyNet will fail.

Also, if you mess up the order and enable busybox or magisk hide earlier, you'll not be able to enable adblock without failing SafetyNet test.
[Magisk] westeight:
Magisk Hide isn't working for me... UK banking apps detect root. Even on a fresh ROM.

Also, is it just me or is Magisk Hide very slow to start compared to 10.2?
[Magisk] guessingagain:
Exkm works fine for me except the fact that the apply on boot options start a bit slower
[Magisk] westeight:
Actually, disabling and then re-enabling Magisk Hide (no reboot!) seems to fix the problem of apps detecting root.

Weird....