generated from Zackptg5/MMT-Extended
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 2e1af63
Showing
17 changed files
with
930 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Declare files that will always have LF line endings on checkout. | ||
*.sh text eol=lf | ||
*.prop text eol=lf | ||
*.md text eol=lf | ||
*.xml text eol=lf | ||
META-INF/** text eol=lf | ||
|
||
# Denote all files that are truly binary and should not be modified. | ||
common/addon/**/tools/** binary |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
__MACOSX | ||
.DS_Store |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
#!/sbin/sh | ||
|
||
################# | ||
# Initialization | ||
################# | ||
|
||
umask 022 | ||
|
||
# echo before loading util_functions | ||
ui_print() { echo "$1"; } | ||
|
||
require_new_magisk() { | ||
ui_print "*******************************" | ||
ui_print " Please install Magisk v20.4+! " | ||
ui_print "*******************************" | ||
exit 1 | ||
} | ||
|
||
######################### | ||
# Load util_functions.sh | ||
######################### | ||
|
||
OUTFD=$2 | ||
ZIPFILE=$3 | ||
|
||
mount /data 2>/dev/null | ||
|
||
[ -f /data/adb/magisk/util_functions.sh ] || require_new_magisk | ||
. /data/adb/magisk/util_functions.sh | ||
[ $MAGISK_VER_CODE -lt 20400 ] && require_new_magisk | ||
|
||
install_module | ||
exit 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
#MAGISK |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
<h1 align="center">Magisk Module Template Extended (MMT-Ex)</h1> | ||
|
||
<div align="center"> | ||
<!-- Version --> | ||
<img src="https://img.shields.io/badge/Version-v3.7-blue.svg?longCache=true&style=popout-square" | ||
alt="Version" /> | ||
<!-- Last Updated --> | ||
<img src="https://img.shields.io/badge/Updated-April 24, 2024-green.svg?longCache=true&style=flat-square" | ||
alt="_time_stamp_" /> | ||
<!-- Min Magisk --> | ||
<img src="https://img.shields.io/badge/MinMagisk-20.4-red.svg?longCache=true&style=flat-square" | ||
alt="_time_stamp_" /> | ||
<!-- Min KSU --> | ||
<img src="https://img.shields.io/badge/MinKernelSU-0.6.6-red.svg?longCache=true&style=flat-square" | ||
alt="_time_stamp_" /></div> | ||
|
||
<div align="center"> | ||
<strong>MMT Extended is the spiritual successor of Unity and makes magisk module creation easy. Instructions in the | ||
<h3><a href="https://github.com/Zackptg5/MMT-Extended/wiki">Wiki</a></h3><h4>Also supports KSU</h4> | ||
</div> | ||
|
||
<div align="center"> | ||
<h3> | ||
<a href="https://github.com/Zackptg5/MMT-Extended"> | ||
Source Code | ||
</a> | ||
<span> | </span> | ||
<a href="https://github.com/Zackptg5/MMT-Extended-Addons"> | ||
Addons Repository | ||
</a> | ||
<span> | </span> | ||
<a href="https://forum.xda-developers.com/apps/magisk/magisk-module-template-extended-mmt-ex-t4029819"> | ||
XDA | ||
</a> | ||
</h3> | ||
</div> | ||
|
||
### Usage | ||
- [Follow the directions here (DO NOT FORK)](https://help.github.com/en/github/creating-cloning-and-archiving-repositories/creating-a-repository-from-a-template) | ||
- Then follow instructions in [Wiki](https://github.com/Zackptg5/MMT-Extended/wiki) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
### v3.7 - 4.24.2024 | ||
* Magisk v27 fix | ||
|
||
### v3.6 - 2.16.2024 | ||
* Update magisk delta support (now called kitsune) | ||
* Add support for APatch | ||
* Add support for magisk atomic mounting (in theory) | ||
|
||
### v3.5 - 9.11.2023 | ||
* Define SERVICED, POSTFSDATAD, and SYSTEM_ROOT if not already defined - were removed or renamed in magisk 26.2 and 26.3 for no good reason :/ | ||
|
||
### v3.4 - 9.3.2023 | ||
* Bug fix for boot-completed scripts | ||
|
||
### v3.3 - 8.13.2023 | ||
* Updates for KSU | ||
* min ksu version now v0.6.6 | ||
* added support for boot-completed scripts | ||
|
||
### v3.2 - 8.11.2023 | ||
* Bug fixes for custom partitions | ||
|
||
### v3.1 - 7.25.2023 | ||
* Add override for extra partitions in event you have workaround for support for regular magisk installs | ||
|
||
### v3.0 - 7.10.2023 | ||
* Add support for KSU modules | ||
* Add support for magisk delta | ||
* Add support for other partitions - note that you need magisk delta or ksu installed to use these | ||
* Make debug default behavior, remove flag | ||
* Fix uninstall script so it'll clean up files outside of module folder if user manually deletes module folder | ||
|
||
### v2.1 - 5.24.2023 | ||
* Update variables for magisk 26 | ||
|
||
### v2.0 - 1.29.2022 | ||
* Update for magisk 24 | ||
* Added zygisk module support | ||
* Misc fixes | ||
|
||
### v1.8 - 11.21.2021 | ||
* Fix for magisk canary | ||
* Minimum magisk version now 20.4 | ||
|
||
### v1.7 - 9.9.2021 | ||
* Small fix for magisk canary | ||
|
||
### v1.6 - 9.12.2020 | ||
* Updates for latest magisk - minmagisk is 20 now | ||
* Added back ro.build.product to device_check for older roms | ||
* Moved credits so it'll work with latest magisk mod template | ||
|
||
### v1.5 - 3.27.2020 | ||
* Have debug log be part of regular log, remove superfluous stuff, module dev can just add what they want | ||
* Removed addon runtime confusion - all scripts are install.sh now | ||
* Added manufacturer option to device_check | ||
* Fixes for Magisk 20.4 | ||
|
||
### v1.4 - 2.20.2020 | ||
* Add more vendor perms | ||
* Fixed uninstall.sh script install behavior - it'll install if there's files outside of modpath or if there's custom logic at the top of it | ||
* Misc bug fixes | ||
|
||
### v1.3 - 1.22.2020 | ||
* Move debug log to same location as magisk log - Download folder | ||
* Add proper chcon for vendor files - fixes various issues with audioflinger and maybe more with android Q | ||
* Remove empty folders after moving files for DYNLIB | ||
* Fix api check bug | ||
|
||
### v1.2 - 1.17.2020 | ||
* Fixed bug in debug log | ||
* Fixed DYNLIB so it won't move empty files (replacements) to vendor | ||
* Magisk manager only installs now - will automatically remove module if flashed in recovery | ||
* Removed extra crap that was needed for recovery installs | ||
* Removed common/uninstall and upgrade scripts, no need for them anymore | ||
* Removed mount_part function - no need for it now since recovery is no longer supported - just remount partition as rw | ||
* More in line with regular magisk module template now - flashing zip always installs/upgrades mod. To uninstall, use magisk manager | ||
|
||
### v1.1 - 1.11.2020 | ||
* No longer use .core - it'll be deprecated soon | ||
* Fix for uninstall | ||
* Fix bug in debug function during uninstalls | ||
* Misc fixes | ||
|
||
### v1.0 - 1.4.2020 | ||
* Initial release |
Empty file.
Oops, something went wrong.