yashsingh1/xdaforums huggingface dataset:
[Magisk] braschlosan:
This is very odd. I went back to the unofficial version as requested. It still had the error message about not being active. I unchecked and checked the modules and after a reboot it's working fine?! Thanks for your help I'm not sure how it failed originally
[Magisk] tomo92s:
AdAway not working with Magisk 16.0. Anyone has fix?
[Magisk] jlmntl:
Working fine here with 16.0 + latest apk from Fdroid. Did you enable systemless hosts?
[Magisk] GeTex:
Hi, Odd issue with magisk on oreo with a Pixel

Works fine for a while, after approx 18 hours I see magisk has stopped working FC messages, and i cannot open magisk without getting a forceclose, a reboot solves the issue temporarily

using v16 sdk27
[Magisk] Ja_som:
Also no issue with AdAway downloaded from XDA.

Check AdAway thread for help (search before post ;) )
[Magisk] GeTex:
Adaway working here too!
[Magisk] martyfender:
Try this unofficial version 3.3, which is linked somewhere in the official adaway thread. Here is the github link:

https://github.com/pec0ra/AdAway

/releases

That version is working great on two of my devices, the same as in my signature, with Magisk unofficial v16.0.

The changes in this unofficial adaway release are in the adaway official commits also on github, which will eventually be released in the the forthcoming update.

Be sure to uninstall the previous version of adaway first.

I personally had to run the installer twice for it to work. Running it just once and the app crashed on both devices. Running the installer a second time did the trick for me. I'm not sure why that was. Also, be sure to enable systemless hosts in the adaway settings.
[Magisk] vMAC:
Still can't install any modules after entirely Uninstalling Magisk, and then reinstalling.

See attached logs:

01-14 08:17:10.499 599 599 I Magisk : Magisk v16.0(1600) daemon started
01-14 08:17:10.617 599 612 I Magisk : ** post-fs mode running
02-28 00:40:37.391 599 719 I Magisk : ** post-fs-data mode running
02-28 00:40:37.394 599 719 I Magisk : * Creating /sbin overlay
02-28 00:40:37.394 599 719 I Magisk : * Mounting mirrors
02-28 00:40:37.395 599 719 I Magisk : bind_mount: /sbin/.core/mirror/system
02-28 00:40:37.395 599 719 I Magisk : mount: /sbin/.core/mirror/vendor
02-28 00:40:37.396 599 719 I Magisk : bind_mount: /sbin/.core/mirror/bin
02-28 00:40:37.396 599 719 I Magisk : * Setting up internal busybox
02-28 00:40:37.406 599 719 I Magisk : * Merging /data/adb/magisk_merge.img -> /data/adb/magisk.img
02-28 00:40:37.676 599 719 I Magisk : * Mounting /data/adb/magisk.img
02-28 00:40:37.871 599 719 I Magisk : * Running post-fs-data.d scripts
02-28 00:40:37.871 599 719 I Magisk : * Running module post-fs-data scripts
02-28 00:40:37.872 599 719 I Magisk : * Loading modules
02-28 00:40:37.872 599 719 I Magisk : * Enabling systemless hosts file support
02-28 00:40:37.872 599 719 I Magisk : bind_mount: /system/etc/hosts
02-28 00:40:37.873 599 742 I Magisk : * Starting MagiskHide
02-28 00:40:37.873 599 742 I Magisk : hide_utils: Hiding sensitive props
02-28 00:40:37.873 599 742 I Magisk : hide_list: [com.google.android.gms.unstable]
02-28 00:40:37.919 599 742 I Magisk : proc_monitor: init ns=mnt:[4026531840]
02-28 00:40:38.412 599 961 I Magisk : ** late_start service mode running
02-28 00:40:38.412 599 961 I Magisk : * Running service.d scripts
02-28 00:40:38.412 599 961 I Magisk : * Running module service scripts
02-28 00:40:39.121 599 742 I Magisk : proc_monitor: zygote ns=mnt:[4026533937] zygote64 ns=mnt:[4026533938]
02-28 00:40:55.628 599 742 I Magisk : proc_monitor: com.google.android.gms.unstable (PID=3761 ns=mnt:[4026533964])
02-28 00:41:00.835 599 742 I Magisk : proc_monitor: com.google.android.gms.unstable (PID=4613 ns=mnt:[4026534137])
02-28 00:41:59.376 7652 7652 I Magisk : Create /data/adb/magisk_merge.img with size 64M
02-28 00:41:59.678 7654 7654 E Magisk : mount /dev/block/loop1->/dev/tmp/magisk_img failed with 22: Invalid argument
[Magisk] Lownita:
Thanks a lot, that worked well! After deleting the module folder, magisk manager force closed once after first boot, but now it's smooth sailing again! Will definitely keep that mount zip on my phone.
[Magisk] Eversmile23:
Could not understand where the problem lies.

I have been using 'Magisk' for last 2 months or so. I was in need of enabling 'init.d' feature on my stock ROM (HTC Desire 10 Lifestyle) . I came across the module 'Magisk_init.d_Enabler_by_androidexpert35.zip' and flashed it in recovery. It worked as expected. But the problem I found is whenever I make a reboot, the functioning of 'ini.d' stops. The folder init.d I found after flashing the module inside my partition '/system/etc' always vanishes after a reboot. But, other 'modules' probably work fine. (I had not checked any other explicitly). What could be the reasons? I had also flashed 'init.d Linker' module. This module says "Runs init.d scripts as late start service except liveboot which run as post-fs-data". I am unable to understand this statement. Where can I get some learning info about "use of post-fs-data"? Plz guide me.
[Magisk] Didgeridoohan:
Question: can you install modules in recovery? Your issue is that the merge image can't be mounted (for whatever reason).

Also, a logcat grabbed while trying to install a module would also be interesting.

---------- Post added at 13:59 ---------- Previous post was at 13:45 ----------

You shouldn't have to worry about post-fs-data and late start service. That's just a description of what the module does... It does require an init.d folder to be present on your device though.

The enabler module you mention does add an init.d folder, but it would conflict with the linker module and is also seriously outdated.

[MENTION=6037748]Zackptg5[/MENTION] Would it be possible to make the init.d linker module Magic mount an init.d folder if one isn't already present on the device?
[Magisk] shakalaca:
What's your configurations ? I only know you have a Pixel 2 XL, but stock ROM ? 3rd party ROM ? custom kernel ? filesystem of /data ? :)
[Magisk] Eversmile23:
Thank you, Didgeridoohan .I am a bit comfortable now. Still, I was interested in digging a bit deeper into the concept of 'post-fs-data'. Plz suggest me some readings.
[Magisk] Didgeridoohan:
No worries.... Take a look at the official Magisk documentation. You specifically want to read up on "Boot stages".
[Magisk] vMAC:
I have attached a logcat from my attempt to install using MagiskManager. It failed again, and you will see that I tried to install two different packages. One was Unified Hosts Adblock and the other Active Edge Mod for Pixel 2 and Pixel 2 XL. https://www.dropbox.com/s/wztt47owfb0gizc/Magisk_module_Issue.txt?dl=0

Since I didn't want/nor have a custom recovery installed I had never tried that. Since you asked I tried to install it via TWRP and they installed without issue.

Interestingly enough, I started Magisk in January with version 15.2 or 15.3 (can't remember) at that time I was able to install modules with MagiskManager without issue. It is only recently that this has begun happening.

Please let me know if you need me to try anything else to troubleshoot.

Pixel 2XL besides Magisk it is completely stock.

No custom recovery, No modded kernel, besides installling Magisk and Apps from Google Play Store it is stock February image.
[Magisk] jcmm11:
Why even bother with init.d? Just drop the script into /magisk/.core/service.d and be done with it (or post-fs-data.d although as the docs say most scripts should be in service.d)
[Magisk] Didgeridoohan:
Some apps require init.d (or su.d) to be present and would need to be updated to work with Magisk's boot scripts. A famous one is LiveBoot by [MENTION=631273]Chainfire[/MENTION]. Have been hoping to see it updated, but it hasn't happened yet.
[Magisk] Zackptg5:
Done
[Magisk] jcmm11:
Maybe, hopefully, he'll be back next month. I'm hoping FlashFire gets updated. I suspect Liveboot will be lower on the priority list.

In any case if you (or anyone) want to install Liveboot now here's one way to do it.

Fire up a terminal emulator, root mode.

mount -o rw,remount /
mkdir /su
cd /su
ln -s /magisk/.core/post-fs-data.d su.d
mount -o ro,remount /

Go to the play store, install Liveboot, start Liveboot, start it again to configure it, reboot the system. (After reboot /su will be gone and Liveboot will work just fine)
[Magisk] Didgeridoohan:
No worries... I've got LiveBoot set up just fine with Magisk. :good:

For a lot of users, a module like the init.d linker is usually easier though. Some people just get freaked out by the thought of running commands in a terminal. :laugh:
[Magisk] braschlosan:
After a reboot while using the unofficial xposed installer the error message that the framework is not active has returned.

Edit - rebooting again and it's working. It seems something is crashing in the background causing xposed to be disabled.
[Magisk] Twml:
Magisk - Xposed & SafetyNet - help needed.

I have tried many versions of Magisk and can't get this to work. No matter what I fail safetynet with Magisk Xposed module installed.

Nexus 6P

ElementalX-N6P-6.02 kernel

Magisk 16.0

BusyBox 1.28.1 Magisk module

Xposed 90.1-beta3 Magisk module sdk 27 (8.1 oreo)
[Magisk] Badger50:
SN will always fail with exposed running at the same time.
[Magisk] Twml:
Aww, thanks, i miss the says before safetynet was around. was going to mess with xposed a bit again but need to have safetynet working.

Thanks for the info.
[Magisk] shakalaca:
Would you please give me the result of those ?

1. 'mount' after reboot

2. 'mount' after install modules

3. 'losetup -s /dev/block/loop1' after install modules'

I have no idea why mounting the loop device failed, but there might be clues in the mount information. :)
[Magisk] braschlosan:
With the no device check xposed module you can pass the first half of safetynet check http://repo.xposed.info/module/com.pyler.nodevicecheck
[Magisk] dbr93:
Google update safety net? All was good in last 2 months,but from this morning I can't pass safety net anymore.
[Magisk] edzamber:
Working fine for me...
[Magisk] dbr93:
Ok thanks for reply..

What I can do now?

Flash boot.img and after reinstall magisk?

Edit : I play Pokemon go and I have gps app in system app,maybe they recognize it..

I don't know..
[Magisk] Didgeridoohan:
Easiest thing to do is to toggle MagiskHide off and then on again. If that doesn't work you can continue troubleshooting with info from here:

https://www.didgeridoohan.com/magisk
[Magisk] dbr93:
I think here is the problem,when I turn on magisk,if I close and reopen it is set off..

Everytime that I restart phone (or even magisk manager) magiskhide is set in off

Thanks for guide I try something before reset my phone from 0

Edit : work not but I still can't pass safety net
[Magisk] adaa1262:
I using a LeEco Le S3 X626 running EUI China ROM and magisk would randomly won't work.

The app states that magisk isn't installed.

With a reboot magisk would return back to normal but I has up to a point I need to reboot my phone 5 times a day.

Is there any possible fix?
[Magisk] Astrubale:
[MENTION=4470081]topjohnwu[/MENTION] Can I use magisk.zip installer zip in my custom rom? The zip would be uploaded on my github in android_vendor_stop
[Magisk] juancollado2003:
Magisk v16.0 error flashing modules from manager and twrp, flashed ok when rolling back to v15
[Magisk] Ja_som:
No logs no help
[Magisk] Kilawo:
Issue when installing Magisk v.16 in H96 Plus Pro TV Box.

Hello,

I have placed the microSD in my own TV Box with magisk v.16 and then press reset button while insert power. I obtain this error:

E: Failed to find META-INF /com/android/metadata in update package.

E: Error in /sdcard/magisk-v16.0.zip

(Status 127)

Installation aborted.

Any ideas?
[Magisk] dbr93:
What is strange for me is that I hide with magisk one root check app the app show me that phone is rooted,so this means that magiskhide doesn't work exact?

One thing that happen is that yesterday night battery down at 0% and the phone shutdown,maybe this broke something..

Because I don't know why it work for 2 months and not now..
[Magisk] Sebastl:
[MENTION=5065917]BertlBrown[/MENTION]

Here are the changes for that testbuild i posted here

Shakalacas fixes are also included in case you are wondering
[Magisk] Didgeridoohan:
That looks like a stock recovery. You can't install Magisk on a stock recovery...

If there's no custom recovery available, you need to patch the boot image through the Manager (instructions in the release thread) and flash or manually to your device.

That means MagiskHide doesn't work, yes. You haven't changed any settings recently? Disabled logging or something like that? You haven't uploaded a Magisk log yet, have you? Please do.
[Magisk] demonoidmaster:
Don't do that, a prior rom dev did that for Resurrection Remix and magisk in the rom ended up getting way outdated (due to said dev stopping uploading rom builds), also magisk has an addon.d script, once magisk is flashed once it will survive any rom flash (unless a user wipes /system in which case said user will need to reflash magisk zip afterwards)

If you put magisk in your rom and have it autoflash after the rom, it'll flash but then the addon.d script will also kick in right after trying to reinstall magisk when it's already made the modified boot.img, thus because of that it'll simply screw up the install

Just either upload the zip to your rom thread (and edit the thread when a new version comes out) or link the page. Also this is a beta, if you want to include magisk with your rom then use stable
[Magisk] Devilix:
Have Magisk v16 support for android 5.0.1?
[Magisk] Pkt_Lnt:
Please read the title of the Official Release Thread carefully. Thanks.

https://xdaforums.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
[Magisk] DB126:
Likely not; Magisk is systemless which generally needs Android 6 or better. SuperSU 2.82 SR5 may be an alternative depending on device.
[Magisk] gewe:
Well, it worked. It was just my impatience that caused a problem after removing Magisk and flashing stock recovery. After looking at a blue Lenovo screen for quite some time, I rebooted. After the reboot a message indicated that Android was busy encrypting /data. Long story short: I had to flash a complete stock ROM. After installing an OTA update, I reinstalled TWRP and Magisk. This time Safetynet check passes without installing the Xtreme Plus kernel.

My /data partition is now encrypted. When I run adb shell, I do not have root access.

ls /data results in ls: /data: Permission denied

The prompt looks like this: 1|sanders_n:/ $

Maybe a bit OT here, but does anyone know how I can get root access through adb shell?
[Magisk] jenslody:
Just type 'su' (without the quotes) and grant root rights in the popup, as for any other root-app.
[Magisk] Devilix:
The title says: [Android 5.0+]

So, should be supported...

For android 5.0.1 does not exist any way to have systemless root??? :(
[Magisk] Captain_Throwback:
Don't ask for ETAs....it's considered rude :rolleyes:.
[Magisk] Hirishiolo:
thank you! would this meant that there are some possibilities in the future?
[Magisk] ataraxist:
Is there a way to flash magisk via adb/fastboot? can anyone share the instruction how to do it without custom kernel?
[Magisk] 23rdstreet:
ack! I'm sorry. :(

won't happen again!
[Magisk] Didgeridoohan:
You don't.
[Magisk] juangcardoso:
Any plans for Moto Devices in v7?

And congratulations for your work!
[Magisk] Captain_Throwback:
He doesn't have one. Either a Moto dev will have to figure out the problem and tell him so he can fix it, or someone will have to donate a device to him.

^ The above statement applies to all currently "not working" devices.
[Magisk] pingoo78:
Good news and Good job ;)

I you need tester for One M9, I can do that
[Magisk] nicholaslimck:
Yeah.
[Magisk] JudgeDread11:
Install phh's superuser from play store.
[Magisk] LakesideWiseman:
I am having trouble passing safety net.

I got magisk and phh supersu installed and working with safteynet but after installing systemless xposed I am unable to pass safety net. Is there something I am missing?

I am running stock VERIZON ota on an HTC 10 with s-off. Did clean RUU install then flashed magisk and phh supersu at the same time. Rebooted and installed magisk manager. Got safteynet working. Then installed systemless xposed from the installer linked in OP. It rebooted to recovery and installed xposed then after optimizing 150+ apps I am no longer able to pass safety net.

Maybe I need to flash all the zips before rebooting? The instructions clearly say to use the xposed installer apk, but maybe I'm supposed to install it from zip in recovery when I install magisk and phh supersu? I had trouble getting magisk to work with supersu until I tried flashing magisk and supersu using the multiple zips option in twrp. When I rebooted in between it wouldn't work.

Sorry for the book of details. I really appreciate all the help!
[Magisk] dabenaute:
hi all just to say thx to the dev i'm running on "norma n7 v7 port for note3" i followed all the step and i can continue to play on PG v3.7
[Magisk] Zythyr:
I am unable to toggle Root to OFF. Every time I turn it OFF, it turns back on.

I am on OnePlus One (OPO) and below is the exact steps I followed.

1) Go into the TRWP and wipe Cache/System/Data/Dalvik Cache/ART Cache

2) Flash a non-rooted ROM for OPO (ex: http://xdaforums.com/oneplus-one/development/rom-cm11-temasek-build-t2870743)

3) Flash Gapps (as required for the ROM installation)

4) Flash Magisk-v6.zip

5) Flash SuperSU-v2.76-magisk.zip

6) Reboot phone and go through initial setup for Android

7) Install Magisk_Manager_v1.2.apk

In Magisk Manager, when I toggle Root to OFF, it turns back ON again automatically. I even tried using phh's SuperUser but it still didn't fix the issue.
[Magisk] dabenaute:
Envoyé de mon SM-N9300 en utilisant Tapatalk
[Magisk] g_BonE:
hi,

im running a mi max pro (helium) and managed to install magisk as per instructions. also installed phh's root - everything works flawlessly EXCEPT xposed-v86.5-sdk23-topjohnwu. For some rerason it says "systemless xposed is installed but not activated" and im at a loss on what to do to activate it. prior i was running xposed by solarwarez (modified for MIUI) and my best guess would be that the systemless xposed wont work on my device ? should i go and uninstall the systemless version and reinstall the miui solarwarez release 20160710 ?
[Magisk] Captain_Throwback:
Read the OP about Troubleshooting/Bug Reporting, and then maybe someone can help.
[Magisk] shark300:
I use XZDualRecovery as boot image and it seems to work. I installed Magisk with XZDualRecovery. After that my phone just vibrate after I pressed the power button, but didn't boot up (there is no Sony logo).
[Magisk] JuergenZ66:
toggle back

I had the same problem with CM13 ROM, I think this was a result of the inbuilt root leftovers.

I solved this problem by doing this:

1. reboot into recovery

2. flash unSU, this will remove every root (zip available here on XDA, search for it)

3. flash magisk v6 from OP

4. flash phh superuser for magisk from OP

5. bump my boot image (I think this is only necessary for LG G3/G2), I don't know if your device needs it too

6. reboot system

from then on my toogle didn't switch back

Please give more details on your device and ROM.
[Magisk] deedeeceleb:
Do you have mobile data working after flashing magisk?

Gesendet von meinem ONE A2003 mit Tapatalk
[Magisk] LakesideWiseman:
Got Magisk + SupserSU-v2.76-magisk.zip working with safteynet but cannot get it working after systemless xposed is installed.

Device Model: VZW HTC 10 (HTC6545LVW)

Android Version: 6.0.1

Are you on stock rom: Yes. latest stock VZW OTA
[Magisk] gewe:
I am running adb shell. If I enter the command su nothing happens. The command su -c ls /data results in Permission denied.

The result of whoami is shell.
[Magisk] jenslody:
Check the superuser-tab of MagiskManager, if shell is already there, delete it and try again.

And to be clear: the popup occurs on your device not in the shell on your pc.

---------- Post added at 08:09 PM ---------- Previous post was at 08:07 PM ----------

It should work.
[Magisk] Devilix:
Instead not work... this is why i have ask this...

Being on a custom rom touchwiz based 5.0.1, "cleaned" (safetynet pass), i have think to install magisk to get systemless root... and after installation, i make SN test inside the app, and 2 red cross comes up...

Somebody can tell me why?
[Magisk] jenslody:
If I understand correctly Magisk works, but safetynet does not pass ?

That can be caused by a not working MagiskHide.

Did you try to toggle it off and on.

What is you kernel version ?
[Magisk] Devilix:
Exactly!

I'have try 3 different kernels:

https://xdaforums.com/galaxy-s4/general/gt-i9515-tutorial-how-to-install-gt-t3401766

https://xdaforums.com/showpost.php?p=69518926&postcount=57

https://xdaforums.com/showpost.php?p=70689629&postcount=58

I have to use one of these because the rom born for i9505, and only with these kernels i'm able to use the rom on i9515...

About magiskHide, where is the toggle on/off? I see only a long list of all the apps...
[Magisk] jenslody:
It's in the genetal settings of Magisk.

Kernel version needs to be at least 3.8 or have backported mount-namespace support.
[Magisk] dbr93:
Here it

03-01 20:35:33.340 343 343 I Magisk : Magisk v16.0(1600) daemon started

03-01 20:35:33.347 343 348 I Magisk : ** post-fs mode running

03-01 20:35:38.354 343 525 I Magisk : ** post-fs-data mode running

03-01 21:35:38.361 343 525 I Magisk : * Creating /sbin overlay

03-01 21:35:38.363 343 525 I Magisk : * Mounting mirrors

03-01 21:35:38.363 343 525 I Magisk : mount: /sbin/.core/mirror/system

03-01 21:35:38.364 343 525 I Magisk : mount: /sbin/.core/mirror/vendor

03-01 21:35:38.365 343 525 I Magisk : bind_mount: /sbin/.core/mirror/bin

03-01 21:35:38.365 343 525 I Magisk : * Setting up internal busybox

03-01 21:35:38.382 343 525 I Magisk : Create /data/adb/magisk.img with size 64M

03-01 21:35:38.429 343 525 I Magisk : * Mounting /data/adb/magisk.img

03-01 21:35:38.692 343 525 I Magisk : * Running post-fs-data.d scripts

03-01 21:35:38.692 343 525 I Magisk : * Running module post-fs-data scripts

03-01 21:35:38.692 343 525 I Magisk : * Loading modules

03-01 21:35:38.693 343 538 I Magisk : * Starting MagiskHide

03-01 21:35:38.693 343 538 I Magisk : hide_utils: Hiding sensitive props

03-01 21:35:38.693 343 538 E Magisk : fopen: /sbin/.core/img/.core/hidelist failed with 2: No such file or directory

03-01 21:35:38.693 343 538 I Magisk : hide_list add: [com.google.android.gms.unstable]

03-01 21:35:38.721 343 538 I Magisk : proc_monitor: init ns=mnt:[4026531840]

03-01 21:35:38.936 343 572 I Magisk : ** late_start service mode running

03-01 21:35:38.937 343 572 I Magisk : * Running service.d scripts

03-01 21:35:38.937 343 572 I Magisk : * Running module service scripts

03-01 21:35:41.130 343 538 I Magisk : proc_monitor: zygote ns=mnt:[4026532953] zygote64 ns=mnt:[4026532954]

I don't have change any settings,the only thing that happen is that battery down at 0 and phone shutdown

After this I have tryed to play Pokemon go and I have noticed that safety net failed

All was good for over 2 months

Thanks for try to help I appreciate it