yashsingh1/xdaforums huggingface dataset:
[Magisk] rignfool:
The removal of deep buffering is in system?

I didn't see you working with a dummy file... But like I said... I don't speak edify
[Magisk] serubin323:
...
cp -af /system/etc/audio_policy.conf $MODPATH/system/etc/audio_policy.conf 2>/dev/null
...
if [ -f "$POLICY_CONFIG" ]; then
sed -i '/deep_buffer {/,/}/d' $POLICY_CONFIG
fi
...

This copy the existing audio_policy to the module path and then removes the deep buffer. It doesn't use any static files.
[Magisk] 3ftguru:
Hi all,

My apologies as I got a question here that hopefully you can help to answer.

I am a noob at using Magisk and have successfully installed it previously. However, it did not work as I thought it would so I would like to check if I have thought wrongly of how it work.

I plan to use stock s7 edge rom as my daily driver and yet still be able to have OTA updates working with xposed and root.

Hence I ODINed the stock rom and booted up. I proceeded to ODIN TWRP as stock recovery is unable to flash Magisk and the rest.

I flashed Magisk, phh root after that and installed the apks before installing systemless xposed and flashing your xposed zip.

I tried to update the firmware and the system reported that I have a modified rom hence unable.

So question is flashing twrp will affect the official status and prevent it from updating via OTA and it isnt an issue of how I setup Magisk?

Thank you.

Leonard
[Magisk] Fedroid:
You are done, but you need to flash stock recovery in order to receive ota Updatez
[Magisk] 3ftguru:
i ODIN stock recovery back but the status didnt change back to Official. Or does anyone have a stock recovery zip or img to flash that works?
[Magisk] agiss30:
I already install magisk v 6 and phh superuser but in magisk manager it showing my device still doesn't have a root acces. How to solve this?
[Magisk] Iceyogurt:
Approval. I stuck at deep_buffer problem for a long time. And the audio_effect.conf problem on OnePlus3 also made me wasted my time.
[Magisk] soder:
EDIT: leet

/Söder
[Magisk] Artim_96:
I think that's a restriction by Samsung, it seems to check the state of the Knox Warranty Counter, which was changed as you rooted your device. I don't think it's possible to get any OTAs under these circumstances.

I had the same problem back when there was no Magisk, only the earlier versions of systemless XPosed, when I didn't had a custom recovery and flashed anything through FlashFire.

When I had XPosed turned on, the updater would have downloaded the OTA, but it was never possible to install it. Normal installation would fail, looking at the zip file through a file explorer or FlashFire would reveal that the zip file was always recognized as corrupted.

Turning XPosed off would just let the updater see the changes and refuse to load the update.

Now it doesn't even show them... Or I'm just faster getting the whole system from sammobile and flashing that through ODIN
[Magisk] 3ftguru:
The knox counter is tripped yes but when I just ODIN the firmware without any other mods like TWRP, the OTA went through. Hence I suspected it is caused by not having a stock recovery.
[Magisk] smohanv:
Device: Huawei P9 L09

ROM: EMUI 4.1

I have installed everything fresh. I flashed stock and also updated with latest version.

Now installed all magisk components and also modules including ViPER4Android. Everything works fine. I chose Phh's root method. I previously reported that chainfire's apps do not work with Phh's root. But I can now confirm that some of the Chainfire's apps work except "cf Lumen". I am using "f.lux" which does the job. I installed f.lux from google play and also copied folder from root/data/app to root/system/app and it starts when device boots.

Android Pay works by unloading root using magisk manager.
[Magisk] :
Hi. Can anyone provide an updated version of supersu magisk?
[Magisk] rignfool:
Why not use phh's SuperUser...

With magisk you get the live sepolicy patching...

And it's open source
[Magisk] :
I bought SuperSu few months ago, so I want to use it.
[Magisk] supernexus:
I have just found out that the installation of magisk blocks the advance permission options to grant access to camera, storage, etc to certain apps. I had an app that needed permissions to use the camera and could not grant them. Uninstalling magisk made it possible to change permission.

I am using stock 6.0.1 August security patch on a nexus 6 with magisk v6, phh superuser17-magisk and Xposed-v86.5-sdk23.

To comment on the functionality of Xposed it works very well, have not tried Android pay because here in Spain it does not work.

Keep up the great work.

Thanks
[Magisk] Nomelas:
Is there a modified adaway that supports magisk? It won't let me install adaway when locking the system partition on the nexus 5x
[Magisk] seacowx:
[MENTION=3615867]teddy0209[/MENTION]

Never mind, sir. I just replaced the bootanimation.zip manually. And it works. Thank you for replies and your time..
[Magisk] teddy0209:
I haven't done boot animation so I don't know if it will load if you place it on the system folder inside the template... I've only done it for systemizing app... Did you check the wiki thread?...
[Magisk] DodoGTA:
https://xdaforums.com/showpost.php?p=72277148&postcount=588
[Magisk] ffmjung:
SafetyNet Fail

Hi, I have spent the entire day trying to find a solution to my issue:

I am currently rooted via 2.79 supersu on a galaxy tab s 10.5 wifi running android 5.0.2, no CFW, but TWRP recovery. I am using Magisk to hide the root status, but the safetynet test fails every time. Basic Integrity and CTS profile match are shown as fail. I had previously used kingroot and had supersu before that.

I suspect that there may be old traces left on the device that I have not been able to get rid of that are causing this problem. In prior root attempts, my tablet got stuck in a boot loop, so I have had a few system recoveries. Is there a way to just wipe everything clean (aside from the flash counter - I am not concerned about warranty) to do a clean root? Or any other ideas as to what is causing the issue?

Thank you!
[Magisk] teddy0209:
Supersu?... If you are currently rooted with supersu, then magiskhide cannot hide it...
[Magisk] DodoGTA:
Start fresh, install TWRP and install Magisk v12.0 with TWRP, and after that, install Magisk Manager
[Magisk] ffmjung:
As in reset via factory reset? TWRP is already installed. Do I then flash Magisk v12.0 and then install the Magisk Manager? Is that it? Thank you for confirming/clarifying!
[Magisk] DodoGTA:
Do a full unroot using SuperSU app, flash this ZIP in TWRP: https://xdaforums.com/showpost.php?p=63615067, reboot your phone to recovery, flash Magisk v12.0, and reboot your phone to Android
[Magisk] ffmjung:
I am now rooted on MAGISKSU, but still fail the CTS profile mismatch... MagiskHide is activated. I also fail the test when the device is unrooted. I feel like there might be something old leftover? I did run the unSU flash though.
[Magisk] DodoGTA:
What device are you using? Also, what ROM are you using?
[Magisk] ffmjung:
Samsung Galaxy Tab S 10.5 WiFi. Stock ROM as far as I know. All I ever did was root the device with various methods (supersu, kingroot and now magisk)
[Magisk] DodoGTA:
Can you post your Magisk log?
[Magisk] ffmjung:
please see attached
[Magisk] DodoGTA:
Did you check SafetyNet before you made that Magisk log? If no, check SafetyNet and make another Magisk log
[Magisk] ffmjung:
I did. can I use another program?
[Magisk] DodoGTA:
Read this post: https://xdaforums.com/showpost.php?p=71154562&postcount=4
[Magisk] lgdolman:
No root after flashing v12.0 on Moto G5 XT1675 via TWRP with no-verity-opt-encryption patch. Flashing v11.6 and root works fine. Cannot flash systemless SuperSU either as if fails at patching ramdisk.
[Magisk] TanByv:
Having trouble using Magisk on Nougat. I'm getting Error: 1 after flashing the zip. Currently rooted with SuperSU 2.79R3 (Older versions fails to patch) I have no ways to hide my root since 7.0 doesn't have chooses xposed yet. Also I'm using SM-A510F. Thanks for help :)
[Magisk] Shtiff1:
Easy question -

Can I see the modules that are available in magisk?

I don't have magisk currently installed.

I use a couple modules in Xposed now and I need to know if they are in magisk. TY
[Magisk] DodoGTA:
https://xdaforums.com/apps/magisk/collection-magisk-modules-t3445257
[Magisk] ffmjung:
Based on what I read and the log I uploaded, the issue seems to be that the log isnt showing this right:

MagiskHide: Unmounted (/sbin)

MagiskHide: Unmounted (/magisk)

?
[Magisk] DodoGTA:
You're right
[Magisk] Shtiff1:
I see the one that was added for "Greenify", but don't see anything that would be similar to the ones listed in screenshot below. I'm not worried about "ANRC", but definitely need the other ones. TY
[Magisk] DodoGTA:
Magisk isn't as powerful as Xposed
[Magisk] ffmjung:
I tried starting it manually and get the following error in the terminal app:

Unable to chmod /magisk/etc. : Permission denied

cant create /cache/magisk.og: permission denied

What can I do? I checked the devevlopers options and logs are enabled at 256kb
[Magisk] Shtiff1:
Ok, thanks I'll wait until further development. TY
[Magisk] swa100:
What's the advantage of v13 over magisk v12? I know that some apps aren't working correctly with magiskSU, is that fixed in v13?
[Magisk] DodoGTA:
Did you start it manually without root privileges? If yes, then run "su" before starting it manually
[Magisk] ffmjung:
No, it had root privileges. Somehow the safetynet test now doesnt load at all anymore. It is stuck
[Magisk] Didgeridoohan:
Try giving this snapshot build a go: https://xdaforums.com/apps/magisk/u...beta-built-t3521901/post72277148#post72277148

And logs are always useful to provide when asking for help (Magisk log, recovery log, etc).

Logs or it didn't happen... Recovery log from the failed flash, that is.

And you won't be able to hide SuperSU with Magisk. You'll need to completely unroot before installing Magisk.

Looks like you have some kind of rw issues or similar. Is that the full output you get in terminal? What are your permissions for the /cache, /data and /magisk folders (use a root capable file explorer to check)?

Why the cross posting? I've answered you in the snapshot thread.
[Magisk] ffmjung:
cache says drwxrwx---

data sys drwxrwx--x

magisk says drwxr-xr-x

it is essentially the full output. have attached a screenshot
[Magisk] culiacanazo:
topjohnwu words it to where a child can understand... awesome.
[Magisk] Didgeridoohan:
At this point (considering the info update by [MENTION=4470081]topjohnwu[/MENTION]) I'd just wait for the next release or try using an up-to-date beta snapshot build. This one by [MENTION=6429309]DodoGTA[/MENTION] seems to have been working quite well for a bunch of users. Keep an eye on that thread and the download link in the OP for further updates.
[Magisk] zeugme:
[MENTION=4470081]topjohnwu[/MENTION]

Referring to the last post of thread: http://xdaforums.com/showthread.php?p=72293984

Thanks for all these new enhancements and changes, but don't you forget the Google Pixel? [emoji15]
[Magisk] Artim_96:
For all I know he already stated that he can't get it to work on the pixel because he don't has one. But he wants to get the one released later this year. If he really can, he will get it to work and probably can support the pixels that way. So as long as you can't get him a pixel and can't tell him how he can get it to work the probably won't be support any time soon
[Magisk] ffmjung:
But shouldnt it work for this device somehow? I have now unrooted the device and safetynet is still not working.
[Magisk] dahawthorne:
I've read a few (not all) of your posts. It seems to me very simple. You buy and send a new device to John and he may, at his discretion, make a version for you. If you're not prepared to do this, then look elsewhere for a root solution.
[Magisk] PJMaxter:
I cannot download the current Magisk uninstaller. I've tried repeatedly, including over a Wi-Fi connection, but it isn't working. Apparently, something's wrong with the link to the file. Please check, and advise.
[Magisk] culiacanazo:
Working indeed!
[Magisk] teddy0209:
Go to twrp, flash your stock boot.img/from the rom you're using.. then delete magisk.img in /data... Uninstall the magisk manager just like nothing happened... ???
[Magisk] yochananmarqos:
Wrong thread, that's the old one. The new one is here: https://xdaforums.com/apps/magisk/collection-magisk-modules-v2-t3575758
[Magisk] Didgeridoohan:
There might be several things working against you. Your ROM and/or kernel might not be compatible with Magisk v12. There's been a lot of changes and compete rewrites of the code, so I'd at least try the unofficial beta snapshot of I were you.

SafetyNet will fail if it discovers root, Xposed, permissive SELinux, unlocked bootloader and possibly a couple of more, device/ROM specific things (that I don't think is applicable in your case). If any of those hold true for your case, you'll have to fix that before you can pass without Magisk Hide.
[Magisk] DodoGTA:
:D :D :D :D

You actually didn't run that command with root privileges
[Magisk] Didgeridoohan:
Nice catch... :D
[Magisk] Shen Ron:
It would be nice if magisk could spoof or fake the info that xposed framework generates causing safetynet to be tricked into believing that xposed doesn't actually exists. Basically everything regarding xposed will be faked and the real info will only be picked up or shower when in use
[Magisk] ranaxda200:
Considering the greenify4magisk is there, is it possible to get amplify4magisk too? Coz both of mods are my fav battery saving apps on mm xposed days. This is a feature request, so pardon me if I'm out of topic!
[Magisk] ReaperXIII:
I tried the using the code in recovery. At first the device bootup OK and it was stable for around 1 hour. I then check the Magisk Hide is still activated,tested the safety net and the result is pass. I played on PoGo for couple of minutes, and then some other games. I played for around 20~30 minutes then the phone restarted.

It was bootloop again, so I used the code again. On 1st restart, I was able to get into homescreen. I tried to disable the Magisk Hide but once I got into Magisk Manager, the phone restarted.

I have tried a few times to disable Magisk Hide but always end up restarting the phone once open Magisk Manager. I tried to use terminal to manually disable Magisk Hide but the terminal is not working properly.

I end up reflash the phone, and currently not using MagiskSU. I am not sure what is the problem, may be Magisk Hide is not compatible with Stock Sony ROM?
[Magisk] :
[MENTION=6429309]DodoGTA[/MENTION]

Is there a way to hide Magisk's root from Samsung apps, like Pay and Health, and from the "check for updates" (OTA)? MagiskHide doesn't work, it seems, so is there something else that can be done?

It might also be the tripped KNOX, but I don't know if it's that.
[Magisk] DodoGTA:
Maybe (I'm not sure)
[Magisk] Didgeridoohan:
As far as I understand it, Amplify is completely dependent on Xposed, right? Therefore your request is not possible. The Greenify4Magisk module does not activate the Xposed features of Greenify, it just gives it a few more privileges by making it a system app. Xposed and Magisk do very different things...

Samsung Pay uses KNOX and the triggered KNOX masking feature of Magisk Hide (since v12) is not powerful enough to trick Samsung Pay. I don't know about the others, but it's likely it's the same...
[Magisk] lgdolman:
V13 works as expected thanks. Nothing of value in the recovery log as everything seems to go along nicely for V12. Possibly just a strange edge case.
[Magisk] CoinCoin88:
Hi,

I've been hearing more and more about Magisk for the past couple months and decided i'd jump in and give it a go. Going through the wiki, I understand it's a sort of mounting $MODPATH/system into /system, so basically importing the whole content of $MODPATH into the system partition. A couple things are still unclear to me. For now, i'm running LOS weeklies on my bacon, with Boeffla kernel that I reflash after each OTA.

What does the "flash magisk" option (available within the app) do, actually ? What is being patched, and in what way ? I mean, is that compatible with a non-stock kernel to begin with ? Furthermore, since there's an official LOS su addon (that inserts very cleanly a su binary), is it really necessary to flash a "magisk" root ?

Basically I'm having a hard time discriminating between "root functions" (e.g. Magisk app allows to flash a su binary ? What if I'm already rooted ?) and "flash magisk", and how these two correlate. Any enlightment would be appreciated.

Cheers
[Magisk] Didgeridoohan:
If you read the release thread I think you'll find a few of the answers you're seeking: https://xdaforums.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445

Magisk modifies the boot image and there might be some custom kernels that cause issues. Only MagiskSU and systemless SuperSU is supported. Anything else will be removed by the installer and replaced with MagiskSU. If you use SuperSU as your root solution the Magisk Hide function of Magisk won't fully function (Magisk can only hide it's own superuser).
[Magisk] CoinCoin88:
Thanks for the input. I had read the firs few posts but wasn't sure as what to expect when patching the kernel. If I may ask, what's the particular reason for using magiskSU instead of any other currently-installed su binary ?

As for SuperSU, it hasn't been my root method/manager for a while, basically after it enforced the system-less approach of patching boot.img as well (and even less when it was sold to some doubtful chinese compagny a couple months ago). Only MagiskSU would remain as an option then... but same question as earlier: why use it and not some other su bin when it's already in place ?
[Magisk] admiralspeedy:
I know it's not official, but I'm using the modified Magisk V12 for my Pixel XL from the Resurrection Remix thread and I noticed today that I can't mount /system as RW, but I can if I am using SuperSU (which I don't want too and I can't use both together because Magisk will not install if I have SuperSU installed for some reason).
[Magisk] Didgeridoohan:
To have more control... Since Magisk is quite a specialised tool, I'd imagine the number of issues that would arise from using different kinds of su would be a right pain in the bee-hind. That's just me guessing, though... Ultimately, you'd have to ask [MENTION=4470081]topjohnwu[/MENTION] for the actual reason.
[Magisk] tag68:
Now I'm jealous! I'd like to have a possibility to forbid any app to mount system rw on my Moto Z Play to avoid changes "by accident". I'd like to use only Magisk to modify system (currently I didn't have the necessity, but it may be in near future). As long as Magisk does not provide a filesystem which automatically does the changes systemless if system gets mounted rw, noone should mount my system rw. But I can only give root permission and it's up to the apps using the power of root for anything. If they mount system rw and modify, I have no idea how to prevent this.

You have the solution of my little "problem" by accident and don't want it! Shame on you! ;)

Disclaimer: As I didn't try to write on the partition after remount system rw, there's a little chance it behaves like I'd want. But I don't believe so. Command to remount rw was executed successfully.
[Magisk] dimm0k:
what is the cleanest and best way to switch from SuperSU to MagiskSU aside from a complete wipe? one of the issues I see is that SuperSU actually keeps my device from encrypting the data partition and removal of SuperSU generally encrypts that partition automatically. is it possible to avoid this during the switch?
[Magisk] Didgeridoohan:
In recovery:

Flash osm0si's unSU zip.

Flash your ROM's stock boot image.

Flash Magisk zip.

Done.

---------- Post added at 18:34 ---------- Previous post was at 17:38 ----------

[MENTION=6841293]InsydeXvi[/MENTION]

...continued from the Greenify4Magisk thread. Getting a bit too OT.

I didn't mean what's in the module zip, but what's in the /magisk folder in the root of your system. Type this instead, in terminal and report back with the output:

su
ls -R /magisk

Also, it'd be interesting to see a recovery log from when you install a module through recovery (if you use TWRP you can save it to sdcard under "Advanced" after flashing the module). You could use my Tasker root support module, it's nice and simple. To verify if that one works you can take a look at the build.prop and see if the top line reads "#modversion this line enables Tasker root support". If we keep going down the terminal route you'd type:

su
vi /system/build.prop

Third, you could try reinstalling Magisk and the modules and even try out the latest unofficial beta snapshots. Some users have had success with the builds from here: https://xdaforums.com/apps/magisk/u...beta-built-t3521901/post72277148#post72277148
[Magisk] ffmjung:
Weird, I gave the app root permission...

Another thought: when I go into download mode (unrooted), it says

Current Binary: Custom

System Status : Custom

Is the problem maybe related to this? If so, how can I fix it?
[Magisk] DodoGTA:
Magisk v12.0+ patches KNOX status, so don't worry about that unless you want to use Samsung Pay
[Magisk] DodoGTA:
Run this command and post a screenshot:

su -c "sh /magisk/.core/magiskhide/enable"
[Magisk] ffmjung:
Will try and report back. Just tested Magisk V13, but didnt work either. Going back to V12 now and will test the command.

EDIT: running the code doesnt show anything. neither errors nor anything else
[Magisk] :
[MENTION=4667597]Didgeridoohan[/MENTION]

Thanks for the reply. I wasn't sure, because my KNOX's status reads 0x0 in some apps. It's only in "download mode" that I can see it differently.
[Magisk] TanByv:
Fully Un-Rooted then flashed Magisk 12.0 says found SuperSU. I also tried making a full wipe & install my rom again. Still no hope. Here, the log files:

https://xdaforums.com/attachment.php?attachmentid=4150819&stc=1&d=1494873523
[Magisk] Dominicano2:
Hello Everyone,

I am having an issue with being unable to install certain apps from the play store anymore (Netflix and Super Mario run for example) on my Nexus 9. I have toggled Magisk Hide and it appears to be working correctly. Magisk Manager states that my device does pass safety net and I even downloaded SafetyNet attest and that also claims I have passed Safetynet. I have already tried clearing the Play Store data and rebooting, this does not seem to help though in settings it states that my device is certified. The rom that I am using is My AOSP it is running on 7.1.2. Below I have attached the Magisk Hide Log.
[Magisk] Iradj:
Guys first of all I have running a S8+ port as my second rom in dual boot patcher and my first rom is normal nougat with Magisk that pass safetynet normally but in the S8+ port rom it don't pass can be the dual boot the reason ? Because usb debugging is off and everything that can break safetynet is also off
[Magisk] tech_head:
I prevent the encryption by running the ElementalX kernel but just about any kernel that is not the stock one will not enforce encryption.

I use ElementalX because it has an app to tweak CPU and settings. There are other good kernels out there.

As far as switching.

You can do an dirty install of the same ROM but don't wipe the user data area.

Install TWRP

Install kernel

Install Magisk

Clear caches

Reboot
[Magisk] wihushae:
You are the best!! :good::victory:

Exact these steps worked perfectly, everything is fine now.

Thank you very much!:D
[Magisk] teddy0209:
You passed SN right? Clear data of Playstore, open it, then it should say your device is certified in settings... profit....

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

I'm not sure secondary roms are supported in dual patcher or in multirom...
[Magisk] Dominicano2:
I have already done this and my device does say it is certified, but the apps like Netflix and Super Mario Run are not showing up.
[Magisk] teddy0209:
Then maybe your device is not really compatible... ?
[Magisk] mikeprius:
Is anyone else having issues with netflix ? Magisk is working fine, but i cannot download it in the playstore anymore