yashsingh1/xdaforums huggingface dataset:
[Magisk] Oswald Boelcke:
Please allow me to post here as I don't know if the below described situation is "intended behaviour" or could have been at least to be expected.

System: Samsung GT-i9305 with Resurrection Remix-N-v5.8.3, Magisk v13.3 and Magisk Manager v5.1.1, TWRP 3.0.2-1.

Intention was to upgrade to RR-N-v5.8.4 by dirty flash of ROM (i.e. only to wipe dalvik and cache). RR-N-v5.8.4 comes with Magisk v13.3 i.e. when flashing RR at first the ROM gets installed, immediately afterwards Magisk.

The attempt to restart into system after the dirty flash ends up with the device starting into download mode.

In order to reproduce the issue, I commenced above mentioned procedure again. During the flash of Magisk I noted some unusual TWRP notifications. This time I didn't restart but wiped (probably unnecessarily) dalvik and cache again. Now flashed the Magisk-uninstaller, afterwards flashed RR-N-v5.8.4 and by this Magisk v13.3 again. TWRP notifications were "normal and as usual" this time.

I took the attached TWRP recovery log and like to draw your attention to the lines 13,806 - 14,065, the time when Magisk v13.3 was flashed without having used the uninstaller before.

Restarted into system - all running normal and as advertised.

M personal lesson learnt: In future, before I personally dirty flash any ROM that comes with Magisk inherently on a system already running Magisk, I'm gonna flash the Magisk-uninstaller first. Obviously not necessary if you clean flash or at least also wipe /system
[Magisk] zelendel:
And this is why devs advice never to dirty flash a rom.
[Magisk] Sascha1976:
Hi there, it's there a solution for the loosing root problem?
[Magisk] Didgeridoohan:
No, it's not an intended behaivour... It happens when the ROM's flashing of the built-in Magisk zip clashes with the Magisk addon.d survival script. It's a known bug.

That or delete the Magisk addon.d script from your device after every update.
[Magisk] mcdoubleyou:
Hey folks,

hope this is the right place.

I installed the App Ops Plugin into Magisk, but it kills my phone.

It wasn't a bootloop as everybody knows, but the boot anymation never ends.

Any ideas whats happend?

I was able to fix it with the module uninstaller (btw. thx for this great tool)

Greetz mcdy
[Magisk] Regys:
I do not know, but i flash unSU, then I installed the boot stock of my ROM.

It's ok now, but I do not pass SafetyNet. I have a Xiaomi phone.
[Magisk] Artim_96:
I didn't know that there was a Magisk module for that, only XPosed. Anyway, if the boot animation never ends it's the definition of bootloop.

And since it doesn't look like a problem of Magisk, report it to the maker of the module
[Magisk] yochananmarqos:
The App Ops system plugin works fine for me. No one knows what happened without a TWRP log and a logcat while booting.
[Magisk] mcdoubleyou:
OK, Artim_96 thought a bootloop is if the phone starts new in a loop

Nice to here that you know what I mean yochananmarqos ;)

Could you tell me how I'm able to share the needed file with you?

At the moment I use the root version of App Ops - only thought if magisk could handle it I will use it

THX
[Magisk] otonieru:
You probably need to reflash magisk,

Btw, am not sure app ops plugin is using latest template. Try to check it. It might be outdated

Also with latest update, it use different approach, system plugin is no longer needed

It use privillege mode now - similar to how brevent work (see screenshot)
[Magisk] Mateus109:
LeEco Pro 3, EUI 5.9.023S, trying to install Magisk v13.3. See attached screenshot.

- Mounting /cache/magisk.img to /magisk
! Magisk image mount failed...
Updater process ended with ERROR: 1

Should /data/magisk contain a ChromeOS folder?

Thanks.
[Magisk] adinechin:
Hi all,

I have a problem using root with the "File Manager HD" app. Is it known/normal ? Is there other file managers working with magisk ?

Thanks.
[Magisk] mcdoubleyou:
I try it this way, now - thx ;)
[Magisk] yochananmarqos:
I've never heard of File Manager HD. I recommend Solid Explorer or FX File Explorer.
[Magisk] lebaud07:
The "greenify4Magisk" module (v3.6) seems to break something. After disabling it and rebooting, flashfire worked back as normal.
[Magisk] nozz90:
its good that you can boot now :)

I tought that your boot image was compressed and I was going to tell you to uncompress it with 7zip to allow you to boot!

it looks like your main issue now is safetynet but that issue I can not fix :p
[Magisk] shrgerrits:
[MENTION=4667597]Didgeridoohan[/MENTION]

I forgot to mention that magisk v12 flashes just fine but when I looked at magisk manager I saw it didn't install MagiskSU. Is there any fix for this? Rebooting multiple times did not have any effect and reinstalling didn't do anything either.

Really appreciate all the help so far!
[Magisk] Didgeridoohan:
Have you tried a custom kernel or ROM? Might work better than stock...
[Magisk] shrgerrits:
Not yet, willing to give that a try :)

Any recommendations for a kernel and rom and maybe a guide to go with it? I'm very new to all this so I wouldn't know where to begin.
[Magisk] Didgeridoohan:
Take a look in your devie's forum. You'll most likely find both ROMs and guides there... You have a Huawei P8, right?

I don't really have any recommendations, but my personal preference when looking for a ROM looks something like this:

As clean and simple as possible.

Not pre-rooted (you can usually remove the pre-installed root, but it's a pain and completely unnecessary).

Not CM or LOS (I just don't like 'em).

Not based on Cyanogen Mod or Lineage OS... :p
[Magisk] Didgeridoohan:
The Manager crash on a failed install of a module has been fixed and should be in the next release. Not sure about the second crash...

You could give the latest unofficial snapshot a try and see if it works better.
[Magisk] AlxMAX:
Thank you for your quick answer. I have downloaded the pair of files Magisk-v13.3-170806.zip and MagiskManager-v5.1.1-170806.apk and I have tested them. I've got an error about different signatures when installing the new APK over the existing one (adb install -r) which made me uninstall the existing APK completely and install the new one.

I haven't got any error installing the Dose mode module.
[Magisk] yochananmarqos:
How to get a log from TWRP

How To Logcat

I don't need the logs. Send them to the App Ops developer.
[Magisk] sscsps:
Is not because of magisk.

Is something else.

Magisk's task is to get safetynet to pass. That's it.

If you think it is the reason, try enabling magisk hide.
[Magisk] sscsps:
Then it's not because of magisk, it's something else, try contacting the developer of that app.

May be try clearing the data(beware though, it'll probably delete all your progress).
[Magisk] miguelr4720:
I have done that still hasn't worked for me reinstall clear data cache nothing has changed have you tested the game on your device to see if you have the same problem

---------- Post added at 03:07 AM ---------- Previous post was at 03:06 AM ----------

Download pokemon duel leet me know what happens?
[Magisk] edimonoarfa:
Yesterday magisk could pass safetynet, but today it can't. May google updated it's safetynet?
[Magisk] Didgeridoohan:
I was a little bored, so I did...

Doesn't look like that game uses SafetyNet or any other root detection (not tested prop values, but the usual suspects will be hidden anyway if you're using Magisk v13+). You've probably got other issues that doesn't belong in this thread.

---------- Post added at 09:41 ---------- Previous post was at 09:39 ----------

No, they haven't...

If you can't pass SafetyNet it's much more likely that it's a problem on your side.
[Magisk] edimonoarfa:
Thank you. You make me re-installed magisk 13.3, and passed safetynet again.
[Magisk] Didgeridoohan:
Could have been enough with just toggling MagiskHide off and on again... Usually works.
[Magisk] MajorPlayz:
Slight error here. When an internet connection blocks access to the repo, the app crashes and it's a real pain ??. Anybody else have this? I can provide a logcat or something if needed, but I'm assuming it's not that advanced
[Magisk] tamer7:
Try this and let me know if it works for you:

1. Hide S-PushTAN app in MagiskHide

2. Reboot

3. Uninstall the MagiskManager app

4. Open S-PushTAN.

If this works, S-PushTAN is detecting the "MagiskManager" app as described here:

https://github.com/topjohnwu/MagiskManager/issues/176
[Magisk] Regys:
Yes, SafetyNet failed
[Magisk] ratelutz:
With latest MagiskManager the procedure works for me even without a reboot. I'm tested with dkb tan2go app
[Magisk] LeppeRMessiaH:
Hi, I'm struggling for quite some time to get ads blocked using either AdAway or the Unified Hosts Adblock module and neither one works. I mean, the entries are written to the HOSTS file but it simply gets ignored as far as I can tell. Systemless Hosts is activated, am I doing something wrong?

Thanks.
[Magisk] Didgeridoohan:
Have you confirmed this in /system/etc/hosts? If that file has the new hosts records everything is working as it should.

How about uploading a Magisk log?
[Magisk] ShadySquirrel:
Enable systemless hosts and configure AdAway to write to /data/hosts and let it make a symlink to /system/etc/hosts. Apply rules, try opening hosts file in text editor, there should be entries.

That configuration works fine for me, I'm using AdAway with custom host list.
[Magisk] Didgeridoohan:
Then what do you need systemless hosts for? Why not just enable systemless hosts, let AdAway write to /magisk/.core/hosts and let Magisk take care of the rest?
[Magisk] rignfool:
FYI:

at least for me... If I leave adaway alone... And let it write to /system/etc/hosts... It is mirrored backwards to /magisk/.core/hosts...

Meaning... Leave adaway alone... Let it do its thing... It seems magisk loads over... So writing to that is actually writing to the systemless location...

Less annoying questions... Since you don't have to modify settings at all
[Magisk] ShadySquirrel:
You didn't understand, I do use Magisk's systemless hosts and AdAway to apply my own list. But instead of /magisk/.core/hosts path I'm using /data/hosts one because I had more success that way. AdAway just has some issues with Magisk 12+ (for example, doesn't recognise it's systemless root) and whines constanly about missing symlink so I let it "make it" to stop whining.
[Magisk] SuperSandro2000:
There is an unofficial systemless update here on XDA.
[Magisk] ShadySquirrel:
One available on XDA Labs? Exactly that one doesn't let me enable 'Systemless root' option in AdAway settings.
[Magisk] ShapeShifter499:
[MENTION=5423715]YashdSaraf[/MENTION] cleared up some things about wget. You can read the whole thing starting at this post. http://xdaforums.com/showpost.php?p=68042918&postcount=65 Turns out I just needed to specify the DNS with the below information. Of course I needed to edit /system but it didn't seem to trip any "Safety Net" or such, I tested using the "SafetyNet Helper" app.

echo "nameserver 8.8.8.8" >> /etc/resolv.conf
[Magisk] MrBrady:
I've done all that and SafetyNet passes, Android Pay appears to work, Xposed does work, but I can't seem to apply any Substratum themes. It just continuously shows the enabling progress bar. Any ideas?
[Magisk] tikizondo94:
Go to magisk app. Switch over to permissive for your selinux mode. Then go back and compile and enable a theme. For some reason masquerade and phh superuser don't play well. "At least for me". Once I did that masquerade will ask for root privileges and grant them.

---------- Post added at 09:03 AM ---------- Previous post was at 09:02 AM ----------

Once masquerade gets root privileges you can switch back to "enforcing"
[Magisk] g2uzer:
It might be something else on PureNexus ROM since the ROM it self its not Rooted.
[Magisk] tikizondo94:
I'm running the same setup on my nexus 9 with purenexus ROM. Works great :)
[Magisk] dancer_69:
I just flahsed(after I flashed stock system.boot and boot.img and uninstall superuser.apk and busybox.apk) magisk and phh's superuser on a DOOGEE galicia X5(also installed the phh's superuser apk from google play) and I have the same problem as mentioned before. The toggle buttons of Magisk Manager cannot be turned off. Root seems to work though and have the message "Safely Net (Android Pay) will NOT work"

Logcat messages:

08-05 13:20:07.054 778 948 I libPerfService: 3: set: 3
08-05 13:20:07.070 264 5461 I BufferQueueProducer: [com.topjohnwu.magisk/com.topjohnwu.magisk.MainActivity](this:0xb8373288,id:18,api:1,p:5571,c:264) queueBuffer: fps=1.38 dur=21779.34 max=21176.35 min=6.70
08-05 13:20:07.112 778 928 D InputReader: AP_PROF:AppLaunch_dispatchPtr:Up:807272, ID:0, Index:-1185162280
08-05 13:20:07.112 778 928 I PerfService: PerfServiceNative_boostEnableTimeoutMsAsync:3, 100
08-05 13:20:07.114 5571 5571 D SettingsInterface: from settings cache , name = sound_effects_enabled , value = 0
08-05 13:20:07.116 778 778 D SettingsInterface: from settings cache , name = sys_free_storage_log_interval , value = null
08-05 13:20:07.116 778 778 D SettingsInterface: from settings cache , name = disk_free_change_reporting_threshold , value = null
08-05 13:20:07.142 304 304 I thermal_repeater: oh, queryMdThermalInfo (0)Bad file descriptor
08-05 13:20:07.152 304 304 I thermal_repeater: [recvMdThermalInfo] ret=15, strLen=127, 2, 32767, -127
08-05 13:20:07.174 6300 6300 D su : starting daemon client 10028 10028
08-05 13:20:07.201 6301 6301 D su : connecting client 6299
08-05 13:20:07.212 778 948 D PerfServiceManager: [PerfService] MESSAGE_TIMEOUT:103
08-05 13:20:07.213 778 948 I libPerfService: 3: set: 3
08-05 13:20:07.213 778 948 I libPerfService: 3: set freq: 819000
08-05 13:20:07.227 6304 6304 D su : remote pid: 6299
08-05 13:20:07.251 6305 6305 D su : remote pts_slave:
08-05 13:20:07.273 6306 6306 D su : remote uid: 10028
08-05 13:20:07.294 6307 6307 D su : remote req pid: 5571
08-05 13:20:07.315 6308 6308 D su : remote args: 1
08-05 13:20:07.337 6312 6312 D su : su invoked.
08-05 13:20:07.337 6311 6311 D su : waiting for child exit
08-05 13:20:07.358 6313 6313 W su : hacks: Testing (com.keramidas.TitaniumBackup:-1:0)
08-05 13:20:07.378 6314 6314 D su : db allowed
08-05 13:20:07.395 6315 6315 W su : hacks: Testing (com.keramidas.TitaniumBackup:10028), 44451
08-05 13:20:07.417 6317 6317 D su : 10028 /magisk/phh/su executing 0 /system/bin/sh using binary /system/bin/sh : sh

I cannot install systemless xposed also. I get error 2

Mounting /system(ro), /cache, /data

Xposed version: 86.3 (Systemless by topjohnwu)

Device platform: arm

/data/magisk.img detected!

Updater process ended with ERROR 2

Error installing zip file 'external_sd/0flash/magisk/xposed-x86.3-sdk23.topjohnwu.zip'

I had xposed successfully installed before.

The system.img and boot.img I flashed was from official rom and the rome isn't rooted. I have extracted system.img to check and there is no su binary or superuser there.
[Magisk] g2uzer:
How did you managed to get it working? What steps? Don't think anyone else has gotten it to work.
[Magisk] jbaumert:
After flashing Magisk on a Moto X 2014 (USC variant w/ MM) the phone boots to the bootloader and states: "Fastboot Reason: Fall-through from normal boot mode"

Any ideas?
[Magisk] tikizondo94:
Which one? Getting substratum to work or getting magisk root to work?
[Magisk] g2uzer:
Well most of us gotten substratum and root to work but when you go In to toggle to remove root, the switch comes back on and won't stay off so then safety net fails.
[Magisk] tikizondo94:
I do a clean wipe first. Then flash my ROM and gapps. Then I flash the UnSu.zip. then go to advanced/terminal "in TWRP" type "echo SYSTEMLESS=true>>/data/.supersu" hit enter. Then "echo BINDSYSTEMXBIN=false>>/data/.supersu" hit enter. Nothing will happen on screen but the command runs. Then go back to install and install magisk.zip and magisk.phh superuser zip. Wipe cache/dalvik and reboot. Make sure to install phh's super user from the play store. I've used this method and on all my devices now 6p, 6, nexus 9, nexus 7 etc. Works great

---------- Post added at 11:34 AM ---------- Previous post was at 11:30 AM ----------

Go into phhs superuser app and go to setting and find automatic response. Set it to "grant". " I know its a safety issue blah blah" but masquerade doesn't seem to get along with this superuser. When I changed to grant masquerade is granted automatic permissions and all works normal with substratum
[Magisk] g2uzer:
Thanks will try it as soon as i get home. I wasn't aware of typing the commands. So even if PureNexus is not Rooted I still have to flash UnSuzip? Thanks again.
[Magisk] tikizondo94:
That's correct ;)
[Magisk] Droidphilev:
I wonder why you use these commands as they are only meant for supersu while you are using phh. Does it make a difference?
[Magisk] tikizondo94:
That I can't answer. All I know if I try it without unsu.zip and the commands it doesn't work properly. Maybe someone else can chime and answer that.
[Magisk] grep_i:
Boot in safe mode if possible or boot to custom recovery.

With the file explorer put a file with the name "disabled" in the "conf" folder of Xposed installer.

This disables Xposed and should work to boot your phone after that you can easily remove or update the broken module.
[Magisk] adrman:
+1 I was just about to post and ah the same question. phh superuser has never used those commands.
[Magisk] digitalhigh:
PM me copies of your working files if you're feeling magnanimous? I'm not switching off of the preview till official - even if we do get it today, I'm absolutely dying to play with Magisk.
[Magisk] Droidphilev:
I was able to get it working with Chroma on a Nexus 6 (toggling root in the app worked). The reason i tried is a tv streaming app made by my local provider. Sadly enough it still sees root even when root is disabled in Magisk. I was thinking that the streamin app simply looks at installed apk's so i tried to disable root in Magisk and uninstalled the phh apk. Even then the app sees that the rom is rooted.
[Magisk] bobby janow:
Me three.
[Magisk] anshsharma123:
What i ll try again! Btw which xposed installer is that?
[Magisk] westeight:
This one:
[Magisk] anshsharma123:
M using the same one!!!! And what app is that! M using this app!
[Magisk] westeight:
You're using the wrong version.

You need the Magisk version by topjohnwu:

xposed-v86.5-sdk23-topjohnwu.zip
[Magisk] anshsharma123:
M using this! I think thats the one u told about!
[Magisk] westeight:
Also make sure that you are using the correct installer!

XposedInstaller_by_dvdandroid.apk
[Magisk] Tesla:
The right xposed

And this Material Design Xposed Installer
[Magisk] westeight:
Yes, he has the correct framework installed, but the wrong installer .apk

Correct one from this thread:

http://xdaforums.com/xposed/material-design-xposed-installer-t3137758

:cowboy:
[Magisk] Suren Manukyan:
Will this Xposed work with Android N?
[Magisk] westeight:
No. Nougat is sdk24.
[Magisk] Suren Manukyan:
Didn't get what sdk24 is but can you please tell me the guide to install this Magisk thing on Android N?
[Magisk] anshsharma123:
You know this is irritating now -_-
[Magisk] hgoldner:
[MENTION=5935946]westeight[/MENTION] is politely saying, NO YOU CAN'T. It's based on a prior software development kit (Marshmallow is sdk23) . When Xposed is updated to Nougat compatibility (sdk24), then you can.

A reminder that XDA is a "development" site, not to be mistaken with customer support. Read, search, and review always helps you get answers.
[Magisk] Tesla:
Hahahaha OMG i love your sig :laugh::good:
[Magisk] singsic102:
Magisk in MY33 cannot flash unable detect boot image

Hi Please help, I cant flash this in my phone MY33 says boot image not detected. I need it badly!
[Magisk] Scherzengel:
What says this and when?
[Magisk] singsic102:
MY33 Lollipop Magsk install failed

Hi DEvs,

I need help Magisk is not flashing on my MYPhone MY33 MT6592M Lollipop 5.1 device.

I says boot image not found everytime :(( Please help
[Magisk] buayasawah:
Hey guys please help. Ive installed magisk and phh su and theyre working fine as i can toogle root on/off, apps that need root access are working as well.

However i cant get xposed systemless working/activated. I have reflashed my rom so im sure there no xposed framework installed. Ive installed xposed material design and flashed 86.5 23 SDK version.

Im using MIUI 8 EU custom rom. Help please?
[Magisk] _u2pop_:
Hi my device was rooted with superSU by chainfire and i full unroot on supersu setting then i installed/flashed via TWRP magiskzip phhsuperuserzip xposedsdk23zip then install from play store phhsuperuser and final install magisk manager and dont get success when i opened it look the error i get please somebody can give me a tips for fix it? Im using a samsung galaxy s7 edge, thanks
[Magisk] RusherDude:
If you're using a MIUI rom, maybe you should use the MIUI version for xposed (v86-sdk23-arm64-MIUI-edition, on the tab MIUI on the Material Design Xposed Installer app)?
[Magisk] Didgeridoohan:
Ah, yes... That's true. I forgot... I never got that to work properly when I still used AdAway. As soon as [MENTION=6037748]Zackptg5[/MENTION] released his wonderful Unified Hosts module I abandoned AdAway and have never looked back. :D
[Magisk] SuperSandro2000:
I use this one https://xdaforums.com/showthread.php?t=2190753. Beta version works fine.
[Magisk] Mateus109:
After a lot of messing about, I finally got Magisk 13.3 installed and it was very so easy I don't know why it took me so long...

1 - Flashed the stock boot.img

2 - Flashed v12.0 (this version works)

3 - Installed v13.3 via Magisk Manager

SafetyNet :good:
[Magisk] AAYeti:
Hey guys,

New guy here, did some digging found a tablet ( RCA Voyager RCT6873W42) that I can unlock the Bootloader on.

Is there anyway to verify Magisk will work with it? Sorry if this a terrible question I have done alot of searching but I am not 100% sure.

Thanks for your input.
[Magisk] DodoGTA:
Just try it (And attach a recovery.log file if the Magisk install fails) (But make sure that there's a way to revert that tablet back to stock)
[Magisk] LeppeRMessiaH:
Thanks all for the replies. I attached the Magisk Log and want to clarify what the problem is: so, both hosts files have the addresses properly written, the websites and apps simply ignore them and continue displaying ads like usual.
[Magisk] Didgeridoohan:
Everything seems fine, so it's probably not an issue with Magisk...

Apps often use ways of showing adds that you can't circumvent with a custom hosts file. Websites shouldn't be able to though... Do you happen to have "data saver" or some similar option turned on in your browser? That can circumvent the hosts file.
[Magisk] LeppeRMessiaH:
I didn't have anyting like that enabled but that got me thinking and I checked the sites with WiFi and Data connection. Turns out the carrier APN proxy for the Data connection was the culprit. Thanks for pointing me in the right direction.
[Magisk] AAYeti:
Ok, I'll pull the trigger and order it! Thanks!!!
[Magisk] Dims_Camper:
Magisk force closed while trying to access superuser tab, any ideas? Log attached.

Edit. Clearing magisk data solved the force close, just wondering what thing that makes magisk force closed?
[Magisk] Pkt_Lnt:
Corrupted data, $#!+ happens, no discernible reason.... :D
[Magisk] ultradj83:
Dears,

how to install Magisk keeping device encryption?

I'm on Galaxy S8.

Tks!
[Magisk] Didgeridoohan:
Installing Magisk won't remove the encryption from your device. It will however removed forced encryption so that you can decrypt your data if you want. If you're talking about keeping the forced encpryption, I added a new section about that in the installation and troubleshooting guide. Take a look in post #2.
[Magisk] mgsz:
Hey there, please help me, I have a Samsung S3 mini, and I'm trying to install magisk 13.3, I have a custom rom with android 5.1 but I flashed it again on clean, so now I unrooted it but I don't know how to boot image back to stock. I'm following the steps to install magisk, I found the boot.img of the custom rom but I don't know how to flash it... thanks :D