yashsingh1/xdaforums huggingface dataset:
[Magisk] beardymarrow:
I'm using the latest version from playstore (v5.21) and it works fine with manager and skygo hidden (detects root if both of those things not done).

Check this if still having problems https://www.didgeridoohan.com/magisk/HomePage
[Magisk] jenslody:
Did you clear data/cache of the app?

A logcat from the attempt to start the app might help. On stock-roms the developer settings or the adb debug might trigger the detection also.
[Magisk] jak_drizzt:
The italian version?

I forgot to thank you for those quick replies.

Anyway i fear the issue is with the italian version of the app. The latest downloadable from the play store here is V2.1 (i'm taking about sky go for smartphone, not sky go q). Maybe the italian devs are using different methods of root detection... Don't know what else to think. Everything else works!

---------- Post added at 10:51 AM ---------- Previous post was at 10:46 AM ----------

No idea how to get that logcat but i'll first try and clear data/cache and disable dev settings and usb debug.

Thanks!
[Magisk] Didgeridoohan:
If /sbin/.core/img/.core is empty (that's the real path for /magisk/.core) as well as your Magisk log (also check under /cache, just to make sure), you've likely got issues with your Magisk installation.

When creating the hidelist file, did you give it proper permissions? They should be rw-rw-rw- (666).

What do you have under /data/adb?

Have you done a clean install of Magisk or only updates?

Could you provide a Magisk installation log?
[Magisk] rignfool:
[MENTION=4667597]Didgeridoohan[/MENTION]

I'm too lazy to search...

Did we know that magisk will not create a /system/xbin/ directory?

On my stock ROM from Essential... We don't have an xbin... So when I try to install the Andromeda enabler (the script that enables the ADB shell permissions on device) I have to dig way into the magisk image to find the script...

If I modify the magisk image to /system/bin/... It runs from terminal... Since it's really in the PATH...

I have also realized this seems to affect [MENTION=4544860]osm0sis[/MENTION]'s BusyBox that everyone is using as of late... However... When I tried to use BusyBox... With it installed... I called the magisk version...
[Magisk] Kenzhy:
I like this root method.. but, sometimes, when i used it to rooting loli/mm and check it by native root ( i've hide it and use magisk with fresh install rom) my Native root checker/Rootbeer sample detected if my phone was rooted. Lenovo A6000 (MM) and Redmi Note 2 (Lolipop). I used Stock Rom. Uhmm... and 1 question again.. Can i Porting Module on xposed to Magisk. How i can do it?
[Magisk] Ja_som:
Nope, Magisk is not the same thing as Xposed.
[Magisk] lfom:
Hello there!

I was using Mayisj v14.0 for systemless root and systemless host adblocking on a Samsung S5 mini running stock Android M. Every was fine until I upgraded Magisk Manager to the latest version 5.6 2, then I noticed the host ad blocking module was gone. I then tried to upgrade Magisk to the latest version v16.0 but it fails trying to repack the boot image (log attached). Any help?
[Magisk] lfom:
Forgot to attach the log, and I cannot edit the post to attach using XDA labs, I'm sorry.
[Magisk] Didgeridoohan:
We know that Magic mounting files and folders that don't already exist in the root of /system can cause issues. Bootloop usually.

Your issue sounds new.

And Magisk's built-in busybox isn't exposed externally, so that shouldn't happen either.

Logs would be nice, as always.

MagiskHide troubleshooting:

https://www.didgeridoohan.com/magisk

Do a complete uninstall, either through the Manager or with the uninstaller zip. Then install v16.0 (or v16.1) again.
[Magisk] rignfool:
Sure... Which part of what I was talking about is new...

Looking for just a logcat on boot? Modules install fine so I don't think a magisk.log is what you want...
[Magisk] kacaksevgilim:
SafetyNet

I deleted "logcat" and "logd" files in my phone. I can not go through SafetyNET control now.Please Help
[Magisk] IBNobody:
/sbin/.core/img/.core contains post-fs-data.d, props, and service.d folders. All of these folders are empty.

I did give the hidelist file 666 permissions, but it didn't help. File stayed 0 bytes after multiple attempts at toggling settings.

Here is my TWRP log of the installation. https://pastebin.com/snMjsgXE

I did a clean install of Magisk. Here was the order I followed:

1. ODIN'ed the QI5 factory firmware down to my Note 4.

2. Booted system, ran through device setup.

3. Rebooted to Download, ODIN'ed TWRP.

4. Immediately booted to TWRP to keep it from being erased.

5. Booted back to system, verified that everything was working.

6. Rebooted to TWRP, Installed v16.0 of Magisk.

7. Booted back to system. Verified root. Verified that I had an empty .core directory.

8. Tried creating a hidelist file with 666 permissions. No change.

The steps are repeatable and yield the same results each time. I did not enable debugging or any other security setting.

I am not running the Magisk beta at the moment. My /data/adb folder has a magisk.db, a magisk.img file, and a magisk folder.
[Magisk] firozpatel:
Just a heads up for the deep sleep issue for others who is in the same situation as I was

It has been solved thanks to [MENTION=8570610]MCMotherEffin'[/MENTION]
[Magisk] DrSeussFreak:
Can you share the link to the fix?
[Magisk] Didgeridoohan:
A magisk_debug.log would be nice.

Can Magisk mount other new files or folders directly under /system? Or anywhere else, for that matter?

Take a look under "Requirements" here (specifically the second point):

https://www.didgeridoohan.com/magisk/MagiskHide#hn_Requirements

What happens if you toggle MagiskHide off and on? Or if you run these commands in a terminal (as su), one after the other:

magiskhide --disable
magiskhide --enable

If you toggle Systemless Hosts, is there a hosts file under /sbin/.core/img/.core?

And you definitely don't have a Magisk log under /cache?
[Magisk] lfom:
Hello! Thank you a lot for your quick reply. It worked, but not really... I've completely uninstalled Magisk v14.0, then installed Magisk Manager 5.6 2 and it successfully patched boot.img with Magisk v16.0, I then flashed it through Odin. The next boot didn't show Magisk so I flashed it once more and it worked after install manually Magisk Manager again (it was missing after the flash), but it now fails SafetyNet (attached image) and I still can't install Unified Host AdBlock because it fails saying that I need Magisk > v15.0... I don't understand.

I really like Magisk but it's a mess when trying to upgrade. Maybe we need a better testing for upgrades too, it's as important as new features IMHO... :(
[Magisk] lfom:
Attachments
[Magisk] firozpatel:
If you look at page #2342 onwards you will find the link and how to go about the scrips involved, hope it helps
[Magisk] Markeee:
Hope this log will help I took it right after I re-flashed magisk

Magisk wouldn't allow me to create a log after it uninstalled itself

I don't think its pre-installed i had to flash it myself when i updated the rom
[Magisk] IBNobody:
Toggling Systemless Hosts generates and populates a hosts file.

Manually toggling MagiskHide off and on does nothing and does not create or populate a hidelist file.

Regarding the magiskhide commands... I loaded a Termux session, ran su, and got root. I noticed that /sbin was not part of the path.

Running...

/sbin/magiskhide --disable

...told me that Magisk Hide was not enabled. And running...

/sbin/magiskhide --enable

... gave me "logd is not running, cannot run logcat".

EDIT: And doing a ls -la /cache showed that there were no logs.
[Magisk] bombaglad:
edit: moved to other thread
[Magisk] osm0sis:
[MENTION=3290808]rignfool[/MENTION]

From a terminal can you type `echo $PATH`?

Try it from a user ($) prompt and a root (#) prompt and post the outputs please.
[Magisk] Ja_som:
Use this thread

https://xdaforums.com/apps/magisk/discussion-pokemon-magisk-discussion-t3465722
[Magisk] Didgeridoohan:
So... Enable logging and things should start working again.
[Magisk] samplebird:
I installed the selinux module and set it to permissive, but when I restarted my phone now it is stuck in the boot animation. I tried uninstalling using the magisk uninstaller, but still the problem remains. Is there a way to undo the changes from Recovery? Thank you! Running lineage 14.
[Magisk] MysteryIII:
If I'm not wrong it's a kernel setting. So re-flashing kernel might set it back to default=enforcing.
[Magisk] IBNobody:
This is where things get tricky. I'm not sure how to do this.

I checked and saw that logd wasn't running (ps|grep logd).

I tried to just run logd, but nothing happens.

All the help I've seen is about removing / disabling logd, but I can't find anything about enabling it.
[Magisk] Lagerya:
I can not install Magisk 16.1

[Language on picture - Russian]

I can not install Magisk 16.1. The kernel version is 3.10.54+. TWRP 3.0.3 Phone model: LG Max (X155) Firmware download. Also it does not work to install a patched kernel.

Screenshot:
[Magisk] yubimusubi:
This started working after I cleared *data* (not *cache*) for Pocket Camp. Not sure what triggered the root detection in the first place but it seems it stores the flag in *data* somewhere... I've since reinstalled Titanium Backup and the game still works.

So if anyone is getting error 802-5808 try clearing data.
[Magisk] Meemo23:
I just wanted to say thank you for the last year or so I've been struggling to use The Barclays banking app on my S7E. But after the new beta 16.1 if you hide root and use barclays app it actually works.
[Magisk] lvbaal:
So now I have done a clean Magisk installation as per your suggestion. I un-installed from Magisk manager and chose ¨Complete uninstall¨. Then i re-installed Magisk v16.0 via TWRP adb sideload. I suppose this is what you meant by clean Magisk installation?

Then I checked last_log found in /cache/recovery/last_log and I still see ¨losetup: /data/adb/magisk.img: No such file or directory¨

I attach last_log.

Again: /data/adb/magisk.img is just there. What on earth could be the issue here? Or might it be Huawei encrypting /data maybe?
[Magisk] Michael.Shuldman:
I ran su(8) from the adb shell, but was too slow in granting the superuser request in magisk (I saw the prompt from magisk, but did not manage to grant in time). After that if run su(8) again, there is no prompt but the request is immediately denied in the shell (permission denied). In the magisk log, I see "su: request rejected". I'm guessing magisk has remembered that I did not grant permission, and now does not prompt again. I can't see any cache for magisk in the app settings, and rebooting did not help either. How can I get magisk to prompt again?

With kind regards, Michael Shuldman
[Magisk] samplebird:
Installed selinux module set to permissive and restarted device and now it won't go beyond the boot animation. Have tried uninstalling and reinstalling Magisk, and just deleting the magisk .img from /data. Reinstalled my kernel using TWRP since selinux I believed to be reset by reinstalling kernel and device still will not boot. Is there any way to specifically uninstall the selinux module from TWRP, only thing I can think of. JUST got this phone all set up from scratch and then I go and do something dumb like this...

Thanks for your help.
[Magisk] jcmm11:
Magisk Manager|menu (top left)|# Superuser

Find the app and slide the toggle to the right. Permission will be granted.

(Alternately tap on the app name and hit the garbage can in the drop down. That will delete the entry and you'll get prompted again)

---------- Post added 17th March 2018 at 12:01 AM ---------- Previous post was 16th March 2018 at 11:54 PM ----------

What's the output of

ls -l /system/bin/*logd*
[Magisk] guest4711:
There is a magisk module mm (magisk module for recovery mode) which can be used to disable a module from TWRP. (https://xdaforums.com/apps/magisk/module-tool-magisk-manager-recovery-mode-t3693165) You may flash it from TWRP, too.

And there should be a switch to disable all modules on Magisk (core only). I have to search in the magisk doc how to set it from recovery...
[Magisk] samplebird:
Installed selinux module set to permissive and restarted device and now it won't go beyond the boot animation. Have tried uninstalling and reinstalling Magisk, and just deleting the magisk .img from /data. Reinstalled my kernel using TWRP since selinux I believed to be reset by reinstalling kernel and device still will not boot. Is there any way to specifically uninstall the selinux module from TWRP, only thing I can think of. JUST got this phone all set up from scratch and then I go and do something dumb like this...

Thanks for your help.

---------- Post added at 12:07 AM ---------- Previous post was at 12:01 AM ----------

Installed selinux module set to permissive and restarted device and now it won't go beyond the boot animation. Have tried uninstalling and reinstalling Magisk, and just deleting the magisk .img from /data. Reinstalled my kernel using TWRP since selinux I believed to be reset by reinstalling kernel and device still will not boot. Is there any way to specifically uninstall the selinux module from TWRP, only thing I can think of. JUST got this phone all set up from scratch and then I go and do something dumb like this...

Thanks for your help.

---------- Post added at 12:08 AM ---------- Previous post was at 12:07 AM ----------

Installed selinux module set to permissive and restarted device and now it won't go beyond the boot animation. Have tried uninstalling and reinstalling Magisk, and just deleting the magisk .img from /data. Reinstalled my kernel using TWRP since selinux I believed to be reset by reinstalling kernel and device still will not boot. Is there any way to specifically uninstall the selinux module from TWRP, only thing I can think of. JUST got this phone all set up from scratch and then I go and do something dumb like this...

Thanks for your help.
[Magisk] mobileman88:
Run Magisk Uninstaller from the OP, it will remove all the modules.
[Magisk] IBNobody:
shell@trltespr:/ # ls -l /system/bin/*logd*
-rwxr-xr-x root shell 17984 2008-12-31 09:00 epmlogd
-rwxr-xr-x root shell 50788 2008-12-31 09:00 logd
shell@trltespr:/ #

It's there, and it has the execute permissions...
[Magisk] lfom:
Well, after many tries and hours, I could successfully install Magisk v15.3 with latest Magisk Manager (v5.6.2) using TWRP:

1. Go back to OP and download the ZIPs for Uninstaller, v14.0 and v15.3;

2. Install TWRP and flash Magisk Uninstaller (PS: It may not work at first, you may need to install Magisk, use the built-in uninstaller, then flash Uninstaller and even use the File Manager from TWRP to remove any trace os Magisk from /data before successfully install Magisk again);

3. Reboot and wait until system does everything then reboot again to TWRP, make sure there is no Magisk files/folders in "/data" and "/data/adb";

4. Flash v14.0 then boot, wait a bit and make sure everything is working fine, including installing modules and SafetyNet check. If you don't see Magisk Manager, install the version from v14.0 zip (it's inside /common folder, I think it's v5.3.0);

5. Finally boot again to TWRP and flash v15.3, boot again and you may want to upgrade manager to v5.6.2 now.

This way I have now a fully working v15.3 that can install latest modules, including Unified Host Adblock v3.7 (latest as of now). But still I cannot install v16.0 using Magisk Manager, it still fails repacking boot.img, same error as it was with v14.0 and Magisk Manager v5.6.2. I didn't try flashing v16.0 yet, as I am kinda tired of what I have done so far. This thread is huge, but maybe it will help someone else...

Regards.
[Magisk] jcmm11:
Hmm - so much for the easy solution. Normally logd is started from /init.rc There should be like 3+ lines in there referencing logd. Check and make sure they're there.

What ROM? What kernel? If the references aren't in init.rc my first suspect would be the kernel eliminating it as a battery saving measure. If they are in there then it's getting shutdown somehow.

What happens if you, as root, enter:

start logd
[Magisk] IBNobody:
shell@trltespr:/ # start logd
shell@trltespr:/ # ps | grep logd
1|shell@trltespr:/ #

I don't see logd anywhere in /etc/init.rc...

2|shell@trltespr:/ # fgrep -r logd /etc/*
/etc/event-log-tags:1004 logd (dropped|3)
fgrep: /etc/firmware/wcd9320/wcd9320_anc.bin: No such file or directory
fgrep: /etc/firmware/wcd9320/wcd9320_mad_audio.bin: No such file or directory
fgrep: /etc/firmware/wcd9320/wcd9320_mbhc.bin: No such file or directory
fgrep: /etc/firmware/wlan/qca_cld/WCNSS_qcom_cfg.ini: No such file or directory
fgrep: /etc/firmware/wlan/qca_cld/WCNSS_qcom_wlan_nv.bin: No such file or directory
/etc/irremovable_list.txt:/system/bin/logd
/etc/irremovable_list.txt:/system/bin/epmlogd
2|shell@trltespr:/ #

It's a stock QI1 marshmallow Sprint Galaxy Note 4 (910P). I switched to it because the only custom ROM on QI1 firmware for that phone has some other issues... but it does have a working MagiskHide setup...
[Magisk] jcmm11:
Not /etc/init.rc, just /init.rc

It's in the root of the phone. And at this point I'm stumped. Sorry. Why the start statement doesn't work I don't know. I'd say check the log, but . . . ?

Hmm - can you extract the kernel from the other ROM and try using that? It's a longshot, but it might work. Or are there any custom kernels available?
[Magisk] IBNobody:
Hmm... You might be on to something...

https://pastebin.com/MGJfCGpx

Logd is commented out.

I should be able to grab init.rc from the ROM and compare it to this to see what changes were made.
[Magisk] martyfender:
Is adb sideload an approved method for installing Magisk?

I've always just booted to to TWRP, hit the install button, choose image button, select boot, reflashed my stock boot.img, then hit the install button in the twrp upper left again and choose the Magisk.zip, to flash it and Magisk patches my stock boot.img.
[Magisk] Strephon Alkhalikoi:
Upgrade TWRP.
[Magisk] Snehajit:
Error unable to find boot image

Hi,

I have heard this tool works great in hiding.

I have a clean install of RR rom and gapps in my Asus Zenfone 5.

However while flashing magisk zip (v13,14,15,16)with TWRP all failed with message boot image not found.

Any suggestion how I can install this. Currently the root access option in Developers mode is showing ADB only option, app and adb is not there.

Thanks in advance.
[Magisk] d3vyarth:
Can't install Magisk v16.0(1600).zip

Says failed to Mount \system \vendor.

On latest twrp, what to do?
[Magisk] Lagerya:
on the forum in 4pda there is only one version of twrp - 3.0.3 How to update I have no idea.
[Magisk] Strephon Alkhalikoi:
Gp to http://twrp.me and search for your device there. If a current copy of TWRP is not available someone will have to compile a copy.

Updating is done with Fastboot from Google. I don't believe your copy of TWRP supports upgrading through TWRP.
[Magisk] IamIrene:
that what I did, following android police guide over here >>> www.androidpolice.com/2016/09/11/guide-play-pokemon-go-0-37-rooted-android-magisk/
[Magisk] Brnway:
Still seems to be working for me. SafetyNet Helper and PokeGo are seeing safe status.

Have you checked if the unroot really worked? I've been experiencing issues where sometime throughout the day, root seems to stick mounted, and I can't unmount it until I reboot.

Sent from my IBM Selectric
[Magisk] mlnono:
tired install on sony

I tired to install on xpreia tab z2...im using prerooted room masmallow but always failed .stuck on blacksrern

Please help me:confused:
[Magisk] ataraxist:
I took the plunge to install Magisk...

Xperia Z

Stock Rom 5.1.1

Flashed an Adavnce Stock Kernel recovery (TWRP 2.8.7.0)

Flashed Magisk6, Module template, PHH magisk version 17

Install Magisk Manager, installed PHH from playstore

no error of any kind throughout the installation.

On the magisk manager...

Root status: Not rooted :(

I got a message prompt that say the su binary is out of date...

Maybe someone can enlighten me?
[Magisk] Opticuhl:
Thanks for the response, I'll check on that
[Magisk] malte180684:
That would be awesome!! I just tried it for myself and failed because of SELinux changing... (D802- somboons Tom-Yum-Kung-Rom)

It's a pity I can't compile the kernel :(

So I'm hoping dorimanx grants you the permission.

Best regards

Malte
[Magisk] Olympus593:
Trying to solve the problem, I created another ones, so the solution was to change ROM.

I had already tried BOKROM AOSP 7.0, and with me, the root toggle did work, but Pokémon Go still failed on start.

So I read the topics of other N roms for N5 and was in doubt between itigr and Nitrogen, and decided for later, since it wasn't pure stock, but had some improvements, similar to Chroma and PureNexus, the ones that I previously used. I'm having no problems at all with Nitrogen, stable, fast and Magisk/PoGo works flawlessly.

Hi, the problem is not with the app, but with some restriction on access to the camera. AOSP Camera gave the "Can't connect to the camera" error, Google Camera FC on start.

With SELinux ON, no app connected to the camera, they crashed or showed everything blank (Snapchat, for example).

With SELinux OFF, camera worked fine.

I dug onto DMESG but found nothing, no missed libraries, or avc errors. During investigations I uninstalled Magisk, and camera worked, so it was narrowed down to some interaction between Magisk and my installation. Anyway, as I wrote above, I ended up wiping everything and changed to NitrogenOS, and now everything works fine.
[Magisk] Nkaskaj:
Do you have some solution?
[Magisk] Apollo-74:
[IMG="Error Unable to detect boot image"]http://i.imgur.com/ryF0KGp.jpg[/IMG]

Guys help pls, have Xperia S, MM 6.0, AOSP.
[Magisk] jcrompton:
This is pretty much exactly what I did with getting my Nexus 6 with Dirty Unicorn (pre rooted) ROM working to toggle root properly.

Thank [MENTION=4470081]topjohnwu[/MENTION]

And than this poster for a complete step by step for other users.

I'm still not able to toggle Selinux though with the Magisk Manager. I can toggle in KA mod.

I'm using Franco kernel r52

Is this something I've done wrong?
[Magisk] Captain_Throwback:
Screenshot isn't very helpful. Need recovery log.
[Magisk] xstahsie:
Still working for me. I Just tried it about 45 minutes ago
[Magisk] wagerer:
Unfortunately still haven't found a solution (although I've noticed more and more people are facing similar problems) and need some help please.

... Is this something v7 might fix?
[Magisk] Captain_Throwback:
Recovery log........
[Magisk] b00tstrap:
Crash after mounting hosts file

[MENTION=4470081]topjohnwu[/MENTION] I'm playing around with porting some of the ViPER mods to Magisk. I've gotten at least one working (ViPER|Audio 4.7.1), but I seem to be getting crashes even on the very similar ViPER|Atmos 4.7.1. The crash seems to happen after mounting the hosts file. The system still boots, but I no longer have root. Here's the log file:

http://pastebin.com/RSu4LU5U

I'm on Nexus 6P, stock ROM, Android 6.0.1

Edit: Further testing shows that if I reduce the number of files in the ViPER|Atmos mod from 51 (the default) to 44, everything seems to work right. Corresponding to this, ViPER|Audio only has 46 files. Is there a file limit to mods under Magisk?
[Magisk] npatelli:
Yeah :'(

So 0.37.0 will never reach my phone, and I won't update that game until they allow us to play it again.
[Magisk] LakesideWiseman:
Got it working on my HTC 10 running the latest Verizon OTA. Magisk + phh SuperSu + systemless xposed. Able to play PokemonGo again.

Here's EXACTLY what I did in the EXACT ORDER. DO NOT REBOOT BETWEEN FLASHING THE ZIPS.

I stole this from a Pokemon go xposed module thread HERE and modified it for use here.
[Magisk] Uz986:
well it shows full signal and i recived a sms too but i was facing another problem...after flashing when ever i opened message app it get stuck...so i had to flash my rom again.
[Magisk] wagerer:
Ooops sorry, here you go... and thank you in advance
[Magisk] CODEG33K:
Easy peasy install.

Thanks!
[Magisk] Lagerya:
In this list of devices there is no my phone - LG Max (X155)

I can not compile
[Magisk] Strephon Alkhalikoi:
Someone has to build it from source, using the guide here.