stefansundin / android-disable-direct-share

:robot: Disable direct share in Android.
54 stars 4 forks source link

Magisk module? #1

Open Madis0 opened 5 years ago

Madis0 commented 5 years ago

Could this be made a Magisk module? That would allow for an easier install and remove the root requirement altogether.

stefansundin commented 5 years ago

I haven't really used Magisk so I have no idea, but I will give it a try. Thanks for the idea!

stefansundin commented 5 years ago

I made an attempt to create my own module.. but I can't get it to work. I think magisk is mostly intended to replace stuff in /system, but since I'm trying to alter /data, I'm not sure how to do it exactly.

If anyone else can figure it out, please write a comment here. Feel free to submit it to the magisk directory too.

AndroPlus-org commented 4 years ago

Here is the Magisk module: https://github.com/AndroPlus-org/magisk-module-direct-share-disabler

stefansundin commented 4 years ago

Nice. I can update the README with a link to that.

Will it work on Android 10? I'm guessing the answer is No since it seems to be using the same method and file, just injecting it with Magisk.

AndroPlus-org commented 4 years ago

Unfortunately it doesn't work on Android 10...