yashsingh1/xdaforums huggingface dataset:
[Magisk] Didgeridoohan:
That's a logcat, not the Magisk log. The Magisk log you save from the Manager.

And has all the files been placed in the module folder correctly? That's why I wanted to know the details about the module folder's contents.

Like already stated, yes. It's been replaced by Chrome's WebView and it's still possible to have issues with it. Installing Chrome beta usually fixes it.

Hm... Try re-installing Magisk. I have a OP3T (stock OOS 4.1.6, Franco Kernel r25, official TWRP 3.1.1-0) and have no such issues.

What ROM and TWRP version are you using?

Dirty flash is to flash without first wiping data.

If you dirty flash, the Magisk image and the Manager will still be on your device and all you need to do to get Magisk and root back is to flash the Magisk zip in TWRP.

Well, even if you clean flash all you need to do to get Magisk and root back is to flash the Magisk zip in TWRP... :laugh: The only difference is that you'll also have to re-install all your modules and set the Manager and modules up to your liking again.
[Magisk] zickler_malta:
OP2 running Unofficial RR here. Everything was working fine but since last update of the rom I use, dev decided to move to a rootless system, hence removing Magisk. Trying to install it but nothing works. Magisk Manager won't open and crashes. Tried installing through TWRP, when that didn't work, tried installing v12 then upgrading to v13.3 but still nothing. Tried the TWRP Magisk un-installer before flashing Magisk. Tried clearing data, wiping dalvik ... nothing seems to work. Just asking maybe someone faced the same issues. I'll try and get some logs later on.

EDIT: when trying to install modules I get the error "magisk is not activated ... abort" and the Manager FC's. everything else working fine. any ideas what might be causing this?
[Magisk] Didgeridoohan:
Sometimes that's caused by an issue with Google Play Services. Try force stopping it, clearing data and rebooting.

If that's the case, something's wrong with your setup.
[Magisk] stewwmann:
Hello all, I had the Nexus 6P BLOD. Got it working again,but now I have an unlocked bootloader, twrp, and a new kernel mod that shuts off the "big" cpu cluster. Can magisk work with this modified condition and hide the unlock? Main goal here is Tap to Pay. Thanks!
[Magisk] Taverius:
Installed 2 module updates today.

Everything worked fine on my tablet, but my aokp moto z seems borked.

Magisk says no modules are installed, installing the missing modules makes it crash, and I tried the 'reinstall magisk' function - didn't help.

Please advise.
[Magisk] darkriff:
I've read that it doesn't work. I'm using mine with su
[Magisk] gametimebrizzle:
I'm not familiar with that phone at all.

But the process is usually done on your computer using fastboot with your phone connected to the computer.

You flash your update zips using adb or fastboot in the terminal

Search around about that stuff and you'll understand a bit better and it'll be applicable to your phone, they aren't all the same.
[Magisk] NitsuguaIvo:
It still says "response invalid". Anything else that can cause this problem?
[Magisk] Didgeridoohan:
Maybe try different gapps...
[Magisk] zeon321:
Ok, you can't run the official version of xposed on nougat. I've been using this 'buggy' unofficial version of xposed for more than a week, didn't come across any bugs.

Maybe the magisk installation is conflicting with xposed and hence causing problems, idk.
[Magisk] stewwmann:
Thanks, I've read that locking bootloader with TWRP still installed will brick me. I don't need to worry about that? Awesome. So I can just leave the modified boot IMG alone and flash this in TWRP? Thanks again

---------- Post added at 11:52 AM ---------- Previous post was at 11:48 AM ----------

Thank you, sorry, what doesn't work? Tap to pay? Or magisk on a fixed blod 6P? Thanks again
[Magisk] DodoGTA:
Please don't re-lock your bootloader

And, you may need to flash this tool after flashing the Magisk ZIP (without rebooting, of course): https://xdaforums.com/android/software-hacking/signing-boot-images-android-verified-t3600606
[Magisk] NitsuguaIvo:
I'm using pico open gapps, could it cause this issue?
[Magisk] Ashley david:
I would like to know till which version of magisk will marshmallow support??
[Magisk] Immortalis:
OOS 3.5.4, the same TWRP version and ElementalX-1.04.

I tried to install Magisk 13.1, 13.2, 13.3 - all of them are failing for the same reason.

If I remove vendor folders from the modules (Viper and Dolby), then the phone boots w/o problems, but no sound will be processed, because no drivers are installed.

I'm thinking about installing them as system modules, maybe I could still pass SafetyNet.

EDIT: I gave up, returned to Magisk 12 and Xposed as system installation (systemless bootloops)...

At least my LG can pass SafetyNet and have NFC, so Android Pay ready
[Magisk] darkriff:
Magisk
[Magisk] Legendary Cryptid:
The Magisk image? How do I remove that before flashing stock?
[Magisk] spartan02sparte:
Hello, after installing magisk I do not pass safetynet ...

I have Huawei P9 with lineage os

LOG :

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

I( 314: 314) Magisk v13.3(1330) daemon started

I( 314: 319) ** post-fs mode running

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

I( 314: 336) ** post-fs-data mode running

I( 314: 336) * Mounting /data/magisk.img

I( 314: 336) * Running post-fs-data.d scripts

I( 314: 336) * Loading modules

I( 314: 336) * Running module post-fs-data scripts

I( 314: 336) xiaomi-safetynet-fix: exec [post-fs-data.sh]

I( 314: 359) * Starting MagiskHide

I( 314: 359) hide_utils: Hiding sensitive props

I( 314: 359) hide_list: [com.google.android.gms.unstable]

I( 314: 359) hide_list: [com.android.vending]

I( 314: 359) hide_list: [cyanogenmod.platform]

I( 314: 359) hide_list: [com.android.systemui]

I( 314: 359) proc_monitor: init ns=mnt:[4026531840]

I( 314: 472) ** late_start service mode running

I( 314: 472) * Running service.d scripts

I( 314: 472) * Running module service scripts

I( 314: 359) proc_monitor: zygote ns=mnt:[4026532953] zygote64 ns=mnt:[4026532952]

I( 314: 359) proc_monitor: com.android.systemui (PID=965 ns=mnt:[4026532963])

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

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

I( 314: 359) proc_monitor: com.android.vending (PID=2131 ns=mnt:[4026533012])

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

I( 314: 359) proc_monitor: com.google.android.gms.unstable (PID=2694 ns=mnt:[4026533010])

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

I( 314: 359) proc_monitor: com.android.vending (PID=7412 ns=mnt:[4026533006])

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

I( 314: 359) proc_monitor: com.google.android.gms.unstable (PID=9003 ns=mnt:[4026533038])

I( 9008: 9008) hide_daemon: Permissive detected, hide the state
[Magisk] :
Magisk log appears empty (see attachment) and here you have the contents of /magisk.
[Magisk] Didgeridoohan:
Why do you want to remove it? For the purposes of updating your system you usually don't have to.

Having said that though, the easiest way would be to flash the Magisk uninstaller in TWRP. But, remember that you'll remove all your modules (if you have any installed).

The empty log might be because your kernel clears /cache during boot. See here for details: https://xdaforums.com/showpost.php?p=73230207&postcount=17612
[Magisk] rignfool:
Does your phone come with Google services out of the box... Or did you have to put them there yourself?
[Magisk] XomBolf:
Infos

- Magisk v5.1.1 (latest)

- OnePlus 2

- latest version of LineageOS

- no GApps installed except microG for OGYouTube

- no custom kernel flashed

My modules won't update/uninstall after reboot and Solid Explorer shows 0% memory usage of system partition - is this a bug and is there a way to fix this?
[Magisk] Artim_96:
Sounds like a bug in mounting.

Does solid explorer shows files in /system or is it also showing it as empty?

I mean if it just says no memory usage that's neglectable.

If you want to get rid of modules, either in running system go to /Magisk and delete the modules folder. Otherwise, in TWRPs terminal, enter

mkdir /magisk
mount /data/magisk.img /magisk

And then use TWRPs file manager to revive the modules folder
[Magisk] NitsuguaIvo:
It's an Samsung S7, it comes with Google services but I have to wipe "everything" when going to aosp. I have to flash gapps when flashing custom ROMs.
[Magisk] MPeti1:
As i remember it caused bootloop also in that way for me, so.. maybe SolarWarez made an other module for his xposed port :/ And also other mods are not updated, like redmi 3s soundfix (disables "noise cancellation" on sound recordings and video recordings on this phone, because you can't do that in an other way, only with flashing this to system), Dolby Atmos, and i think also ADB & Fastboot for android NDK. If they will be updated (or i could update it, i will try) i will update Magisk also, but now i can't.

If you read back a bit you can see i tried updating the Xposed Magisk module, but it seems the config.sh can't deal with SELinux contexts in Magisk Manager 5.1.1.

Some questions:

config.sh is only for Magisk Manager, and update-script and update-binary is only for recovery, am i right?

In what cases i need to use the "REPLACE" setting in the config.sh ? If in system/x/y folder i only want to see my module's files, and non of the non-merged files?

If i write system/x/y to "REPLACE", then system/x/y/z will disappear?
[Magisk] rignfool:
And you're not using MicroG... Or flashing the theme ready gapps from TBO?

It seems to me like you're missing GMS... Or something isn't registering properly on first boot?

Do you have to skip the Google setup wizard?

Does Google play services crash regularly?

Do you use anything to cripple receivers on any Google apks?
[Magisk] spartan02sparte:
Could someone help me solve my problem?
[Magisk] Anonaru:
...Is there more information?
[Magisk] :
Ok, I executed the command on that post and now Magisk log works, but everything it says is:

"3649 13670 I Magisk : ** post-fs mode running"...

Do you need me to do something specific?
[Magisk] spartan02sparte:
Hello, after installing magisk I do not pass safetynet ...

I have Huawei P9 with lineage os

LOG :

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

I( 309: 309) Magisk v13.3(1330) daemon started

I( 309: 313) ** post-fs mode running

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

I( 309: 330) ** post-fs-data mode running

I( 309: 330) * Mounting /data/magisk.img

I( 309: 330) * Running post-fs-data.d scripts

I( 309: 330) * Loading modules

I( 309: 330) * Running module post-fs-data scripts

I( 309: 330) xiaomi-safetynet-fix: exec [post-fs-data.sh]

I( 309: 330) * Enabling systemless hosts file support

I( 309: 330) bind_mount: /system/etc/hosts

I( 309: 356) * Starting MagiskHide

I( 309: 356) hide_utils: Hiding sensitive props

I( 309: 356) hide_list: [com.google.android.gms.unstable]

I( 309: 356) hide_list: [com.android.vending]

I( 309: 356) hide_list: [com.cm_prod.bad]

I( 309: 356) hide_list: [com.nintendo.zara]

I( 309: 356) hide_list: [com.lastpass.lpandroid]

I( 309: 356) proc_monitor: init ns=mnt:[4026531840]

I( 309: 426) ** late_start service mode running

I( 309: 426) * Running service.d scripts

I( 309: 426) * Running module service scripts

I( 309: 356) proc_monitor: zygote ns=mnt:[4026532953] zygote64 ns=mnt:[4026532952]

I( 309: 356) proc_monitor: com.lastpass.lpandroid (PID=1567 ns=mnt:[4026532990])

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

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

I( 309: 356) proc_monitor: com.google.android.gms.unstable (PID=2701 ns=mnt:[4026533036])

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

I( 309: 356) proc_monitor: com.android.vending (PID=2734 ns=mnt:[4026532977])

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

I( 309: 356) proc_monitor: com.android.vending (PID=4758 ns=mnt:[4026532977])

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

I( 309: 356) proc_monitor: com.cm_prod.bad (PID=6368 ns=mnt:[4026533057])

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

I( 309: 356) proc_monitor: com.nintendo.zara (PID=6376 ns=mnt:[4026533062])

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

I( 309: 356) proc_monitor: com.google.android.gms.unstable (PID=6789 ns=mnt:[4026533005])

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

I( 309: 356) proc_monitor: com.android.vending (PID=9720 ns=mnt:[4026533079])

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

I( 309: 356) proc_monitor: com.lastpass.lpandroid (PID=10416 ns=mnt:[4026533004])

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

I( 309: 356) proc_monitor: com.android.vending (PID=13896 ns=mnt:[4026533045])

I(13902:13902) hide_daemon: Permissive detected, hide the state
[Magisk] Didgeridoohan:
No. They're both used when you flash a module, either through Manager or recovery.

Any directory under the REPLACE part of config.sh will be replaced with an empty folder. If you then place your files and folders in the module's /system/x/y directory they'll be added instead.

Read here: https://xdaforums.com/apps/magisk/guide-magisk-troubleshooting-t3641417

---------- Post added at 23:17 ---------- Previous post was at 23:15 ----------

If you change kernel or use the modified Magisk version attached to that post, you might be able to get a useful Magisk log.
[Magisk] spartan02sparte:
I use magisk recently, I can not find a solution in this topic ...
[Magisk] pat357:
Today I got an update notice for TWRP : new version 3.1.1-2 available for S8/S8+.

I flashed the new TWRP in TWRP , but my phone didn't boot and could not get back in TWRP either.

Then I thought the TWRP might have changed the boot img, while Magisk is still using the "original" boot img.

What is the correct way to update TWRP if you have Magisk installed ?

Do I need to completely uninstall Magisk and then flash the TWRP update ?

Thank you !
[Magisk] Didgeridoohan:
If nothing in the guide I linked you works I don't think I can help you...

You're using the Universal SafetyNet fix module, but are you using the latest beta? I believe that is the only one that work... Read the OP to find out how to get the latest beta.

That's the only thing i can think of at the moment.
[Magisk] DeathHacker:
TWRP doesn't change the boot.img AFAIK, only the recovery partition.
[Magisk] Didgeridoohan:
It is very unlikely that has anything to do with Magisk.
[Magisk] eg1122:
Some new devices have the recovery and boot share the same partition, such as the pixels

---------- Post added at 04:31 PM ---------- Previous post was at 04:30 PM ----------

Not sure on the S8, but on the pixel XL I had to flash magisk, kernel, and then twrp.
[Magisk] spartan02sparte:
Even with the script in beta, under lineageos the safetynet does not pass
[Magisk] DeathHacker:
Ahh, ok, my bad.

You learn something new everyday I guess. :)
[Magisk] rivvv321:
I have bootlop on samsung logo :/ i use Imperium rom on my galaxy s4. I follow the steps. Any idea guys?
[Magisk] westeight:
Did you install xposed-v86.5-sdk23-topjohnwu.zip?
[Magisk] Tesla:
Can you please in your own words describe from start to finish what you did?

" I follow the steps." You have no idea how often that statement is wrong;)
[Magisk] lukazaz:
Found some of the info but I'm unclear of - Do I have to flash pph SU? after deleting the system SU folders? I got a bit confused
[Magisk] rivvv321:
I fully unistall root- in supersu, then i go to CWM and wiped all data and cache, flash phh and magisk, then reboot. Bootlop on samsung logo. I See in left up corner i dont have red text only yellow. I can understand this :/
[Magisk] fmotta:
If you need some testing... count on me and on my SM-N930F (Exynos Note 7)
[Magisk] GXGOW:
So I've been trying to switch to phh SuperUser from SuperSU, but without any luck. I've done a full unroot through the SuperSU app, removed all the 'corpses' (system/su, xbin/su, etc.), started from a clean boot.img and flashed the phh SuperUser from the OP. It flashed without issues, but I can't seem to get root access. The Superuser app just opens blankly and I can't change the Superuser Access option in its app settings. Does anyone have an idea what I'm doing wrong?

Here's the latest magisk log:

Magisk post-fs mode running...
Magisk post-fs-data mode running...
Preparing bind mounts
Remove module: /magisk/supersu
Bind mount dummy system
Bind mount module items
Bind mount system mirror
Mount: /system
Bind mount mirror items
post-fs-data: /magisk/xposed/post-fs-data.sh
Xposed: Mount: /magisk/xposed/system/bin/app_process32
Xposed: Mount: /magisk/xposed/system/bin/dex2oat
Xposed: Mount: /magisk/xposed/system/bin/oatdump
Xposed: Mount: /magisk/xposed/system/bin/patchoat
Xposed: Mount: /magisk/xposed/system/lib/libart.so
Xposed: Mount: /magisk/xposed/system/lib/libart-compiler.so
Xposed: Mount: /magisk/xposed/system/lib/libart-disassembler.so
Xposed: Mount: /magisk/xposed/system/lib/libsigchain.so
Enabling systemless hosts file support
Mount: /magisk/.core/hosts
Magisk late_start service mode running...
service: /magisk/phh/service.sh
service: /magisk/xposed/service.sh
Mounting root
Mount: /magisk/phh/xbin
Xposed: Lazy unmount app_process

Xposed is working without any issues. All my modules are working.

My device is a OnePlus One running CM13 by Sultanxda.

EDIT: I did notice that the /supersu folder keeps coming back every time I check for it in recovery.
[Magisk] anshsharma123:
Thanks man, uninstalled xposed and pokemon go works like charm!

---------- Post added at 05:19 PM ---------- Previous post was at 05:15 PM ----------

I uninstalled xposed and now i was able to login! If i flash xposed-v86.5-sdk23-topjohnwu.zip then will i face the same problem or pokemon go will work!
[Magisk] westeight:
That's the systemless version of Xposed which works with Magisk, Android Pay, SafetyNet and Pokemon Go.

Xposed and Pokemon Go working fine together for me.

Try it and report back. :)
[Magisk] anshsharma123:
Yessss
[Magisk] lucasbe1909:
Hi, I have zenfone 2 Z00A running android 5.0, i used to have xposed + super su (system installations), I uninstalled everything and flashed a stock rom and then I tried setup magisk.

I used temporary CWM to flash stuff. Here what I did:

1- unlock bootloader

2- flash magisk

3 - flash phh root

4- installed the apks

but the system seems unrooted, the super su app is blank and i cant toggle anything in magisk manager, what do i have to do? (im changing the way I use root+xposed for keep playing pokemon without issues)
[Magisk] anshsharma123:
Nope doesnt work!
[Magisk] bumpaneer:
I had to use the [MENTION=4165809]thicklizard[/MENTION] kernel for 3.35 from: http://xdaforums.com/sprint-one-m9/development/kernel-minimillistic-t3321416
[Magisk] Goldenstarc:
im using s7 with custom kernel and SELinux is set to permissive

(http://xdaforums.com/galaxy-s7/development/kernel-superkernel-v1-0-t3389247)

as you said i cant toggle !

any way?
[Magisk] Scherzengel:
Had the same today and i updated the Binary. It worked for me.
[Magisk] anshsharma123:
I installed xposed version u told for magisk and when i rebooted i wasnt able to enter the game. So logged out and tried again but to no avail! Still cant log in!
[Magisk] aliabkad:
My work flawlessly,
[Magisk] anshsharma123:
I have xposed installed, thats y it aint working!
[Magisk] aliabkad:
Works flawless
[Magisk] westeight:
Weird...
[Magisk] :
Thanks for all your help. Here is the Magisk log, Greenify and ViPER are the only modules installed btw (both via twrp).
[Magisk] MPeti1:
Thanks :D
[Magisk] Didgeridoohan:
If you haven't already, try wiping your device and doing a clean install. If that doesn't work switch to a different ROM.

Awesome. Now we know why things aren't working. The system mirror doesn't mount:

E Magisk : mount /dev/block/mmcblk0p18->/dev/magisk/mirror/system failed with 16: Device or resource busy

The question now is why... Similar issues have come up once in a while, but I've yet to see a solution. It might happen if you're using MultiROM, on the secondary ROM. But, other than that, this might be something you can't currently do anything about, except possibly switch ROMs.
[Magisk] NitsuguaIvo:
Nope, only pico open gapps. I never have problems with crashing or force closing. Only thing is when in setup wizard I have to select setup fresh so that I can connect to WiFi, then I just tap the back button until I'm able to choose backups from another Android device. Because after connecting to WiFi it stays connected.
[Magisk] spartan02sparte:
I will try this Monday, thank you very much :)
[Magisk] thrasher194com:
Got my script to boot it would seem.

Sent from my rooted Motorola XT1609
[Magisk] :
Nope, I'm using a single one. And about to switch the ROM, well... It's not an option for me, I'm using the most stable for my device (Genius for S5 G900H). So I will ask in the ROM Telegram group if anyone is having this same issue. If this can't get a solution then I'll give up and use Greenify with Xposed.
[Magisk] MPeti1:
An other question:

In Magisk 13.3 (and Manager 5.1.1) can i use something like that in the config.sh to set permissions? In Magisk 12 it worked (Manager 4.3.3), but in latest Magisk and Manager the module installation crashes if i want to set permissions this way:

set_perm $MODPATH/system/bin/app_process32 0 2000 0755 u:object_r:zygote_exec:s0

I used ui_print to find out what causes the problem, and as i've seen i get the crash when the script reaches the set_perm which uses a SELinux context as the last setting.
[Magisk] NitsuguaIvo:
[MENTION=3290808]rignfool[/MENTION] , could the problem be that after removing my previous root (lineage add-on-su) I did not flash stock boot.img before flashing magisk, or that I don't use a custom kernel? I've read some comments (in the RR thread) saying that you need to use a custom kernel (fire opal). And since RR is based on lineage OS the same solution may apply. I think this fix may be for Samsung S7 devices only so it might not be the same for you.

Btw. do you loose anything flashing stock boot.img (I have never had to fash it before)?
[Magisk] rignfool:
You've got a troubleshooting mess...

Clean flash... Remove root... Flash magisk...
[Magisk] dantexaiver:
What's the difference between Magisksu and chainfires supersu
[Magisk] teddy0209:
Magisksu can be hidden using magiskhide... Open source... Is that answer what you're looking for?...
[Magisk] dantexaiver:
So functionality wise other then the hide option its same as SuperSU?
[Magisk] DodoGTA:
Partially yes
[Magisk] d3nni:
Magisk isn't working here on a Galaxy S2 (I9100), I'm on latest AOSP-EXT~ 7.1.2 rom.

Does anyone know if Magisk is not working for the S2? :(
[Magisk] Didgeridoohan:
That's... good? Maybe add a little context? Are you asking for help? :confused:

Interesting. Grab a logcat from the crash. I'll test that as well...

Cool story... Now we need details. What isn't working? Post relevant logs, etc.

Start by reading here and see if you can figure something out by yourself: https://xdaforums.com/apps/magisk/guide-magisk-troubleshooting-t3641417
[Magisk] n0j0e:
Hi, any way to make a Nova Launcher shortcut to start Magisk Manager directly to the Super User pane? Find only 2 Magisk activities Main & Splash which doesn't help.

Send with much love & Android.
[Magisk] Didgeridoohan:
About this.. There is a bug in the current Manager that will cause it to crash if a module fails to install (it's been fixed and will be in the next release).

Also, I tested setting those permissions to a file with a test module and had no issues. Hopefully that logcat will show something.

You could try the latest unofficial beta snapshot. At least with that the Manager shouldn't crash... There might be other issues though.