Magisk Module Uninstaller Template

by Dark❶ [dark-1]

Magisk Module Uninstaller Template


Magisk

by topjohnwu


This is a Magisk Module Uninstaller Template ZIP for Developers.
A.K.A. “M2UT” in Short.

By Dark
Profile @ XDA-Developers : Dark .
Profile @ GitHub : Dark .
WebSite @ GitHub Pages : Dark❶ WebSite .

Magisk Module Uninstaller Template :-
GitHub Pages Site : Magisk Module Uninstaller Template .
GitHub Repository : Magisk-Module-Uninstaller-Template .
XDA Developers Thread : [Magisk] Magisk Module Uninstaller Template .



Notes

Kindly Change what is required in “config.sh” file , ThatIs “MODID” & “print_modname()”.
Also If Needed add Script in Function “script_before_uninstall()” & “script_after_uninstall()” in “config.sh” file .

And Also Edit this README file as per the Needs , But somewhere in a corner Kindly Credit me for my Work , It’s Highly Appreciated .

I have Copied the Code from “magisk-module-template” ZIP by topjohnwu.
I have Edited some part of the Code to make it work for All General Magisk Module.
I have Removed Un-Necessary part of Code Because It is Either Not Used OR Not Needed.
I have Removed Un-Necessary Directory(s) & File(s) Because It is Either Not Used OR Not Needed.

You might require to make changes to “update-binary” if you did some changes to “update-binary” in “Magisk Module Installer” of your Magisk Module.

Thing’s that are Removed

  1. From update-binary File :
    1. Funtion : Un-Necessary Function’s .
    2. Variable : Un-Necessary Variable’s .
  2. From config.sh File :
    1. Funtion : set_permissions() .
    2. Variable : AUTOMOUNT , PROPFILE , POSTFSDATA , LATESTARTSERVICE , REPLACE .
  3. Directory(s) & File(s) :
    1. File module.prop .
    2. Directory system & All it’s Content : File placeholder .
    3. Directory common & All it’s Content : File file_contexts_image , post-fs-data.sh , service.sh , system.prop .
EnJoY … :smiley:

Credit’s

Thanks topjohnwu for Magisk & for the code in “magisk-module-template” , could not have done without it.

Kindly Give me some Credits for my Work , It’s Highly Appreciated .
And Also just Informing or mentioning me wherever it is used , will give me some satisfaction .
Thanking You for the Same.


Changelog

v0.0

v1.0

v1.1

v1.2

v1.3

v1.4

v1.5

.