Magisk Mount & UnMount IMG

by Dark❶ [dark-1]

Magisk Mount & UnMount IMG


Magisk

by topjohnwu


This is Magisk Mount & UnMount IMG ZIP for Users/Developers.
A.K.A. “M2UI” in Short.

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

Magisk Mount & UnMount IMG :-
GitHub Pages Site : Magisk Mount & UnMount IMG .
GitHub Repository : MagiskMountUnMountIMG .
XDA Developers Thread : [Magisk] Magisk Mount & UnMount IMG .



Notes

Usefull for Users/Developers who wants to Edit Magisk IMG.

Module folder can be [Deleted/Added] to [Remove/Add] a Module.
File can be [Edited/Modified/Deleted/Added] as per Users/Developers wish.

This ZIP Mount’s OR UnMount’s on Different Condition’s :

  1. If magisk.img is NOT Mount’ed , Then Mount magisk.img To /Magisk .
  2. If magisk.img is Mount’ed , Then UnMount /Magisk From magisk.img & Shrink magisk.img .

Following is the Pseudo Code :

I have Copied the Code from “magisk-module-template” ZIP by topjohnwu.
I have Edited some part of the Code to make it work.
I have Added some part of the Code to make it work.
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.

EnJoY … :smiley:

Credit’s

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


Changelog

Close to Magisk Module Template v3 !

v0.0

v1.0

v1.1

v1.2

.