[Magisk] djb77:
Yes I did try the latest template. The main reason why I didn't upload it was because it will only work for a certain device / firmware, so unless you have the same deivce / firmware you won't be able to flash it. Also, it's about a 40mb zip with all the files in it.

Trust me, I'm not a noob to this. I'm doing EXACTLY what I did for magisk v9, so in theory it should work. I've created other modules using the new v10 template and everything works fine. So I've narrowed it down to two possibilities:

- Magisk v10 doesn't like modded SystemUI, with or without adding the replace option in config.sh

- Magisk v10 possibly has an issue with resizing the magisk.img file which causes the issue when this new module is injected

Here is my config.sh if it helps, but I have a feeling it won't

##########################################################################################
#
# Magisk
# by topjohnwu
#
# This is a template zip for developers
#
##########################################################################################
##########################################################################################
#
# Instructions:
#
# 1. Place your files into system folder (delete the placeholder file)
# 2. Fill in your module's info into module.prop
# 3. Configure the settings in this file (common/config.sh)
# 4. For advanced features, add shell commands into the script files under common:
# post-fs-data.sh, service.sh
# 5. For changing props, add your additional/modified props into common/system.prop
#
##########################################################################################

##########################################################################################
# Defines
##########################################################################################

# NOTE: This part has to be adjusted to fit your own needs

# This will be the folder name under /magisk
# This should also be the same as the id in your module.prop to prevent confusion
MODID=tgpmod-3minit

# Set to true if you need to enable Magic Mount
# Most mods would like it to be enabled
AUTOMOUNT=true

# Set to true if you need to load system.prop
PROPFILE=false

# Set to true if you need post-fs-data script
POSTFSDATA=false

# Set to true if you need late_start service script
LATESTARTSERVICE=false

##########################################################################################
# Installation Message
##########################################################################################

# Set what you want to show when installing your mod

print_modname() {
ui_print "*******************************"
ui_print " Magisk Module Template "
ui_print "*******************************"
}

##########################################################################################
# Replace list
##########################################################################################

# List all directories you want to directly replace in the system
# By default Magisk will merge your files with the original system
# Directories listed here however, will be directly mounted to the correspond directory in the system

# This is an example (these values shall be overwritten)
REPLACE="
/system/app/Youtube
/system/priv-app/SystemUI
/system/priv-app/Settings
/system/framework
"

# Construct your own list here
# !!! Don't remove this if you don't need to replace anything, leave it empty
# It shall overwrite the example
REPLACE="
/system/priv-app/SystemUI
"

##########################################################################################
# Permissions
##########################################################################################

# NOTE: This part has to be adjusted to fit your own needs

set_permissions() {
# Default permissions, don't remove them
set_perm_recursive $MODPATH 0 0 0755 0644

# Only some special files require specific permissions
# The default permissions should be good enough for most cases

# Some templates if you have no idea what to do:

# set_perm_recursive <dirname> <owner> <group> <dirpermission> <filepermission> <contexts> (default: u:object_r:system_file:s0)
# set_perm_recursive $MODPATH/system/lib 0 0 0755 0644

# set_perm <filename> <owner> <group> <permission> <contexts> (default: u:object_r:system_file:s0)
# set_perm $MODPATH/system/bin/app_process32 0 2000 0755 u:object_r:zygote_exec:s0
# set_perm $MODPATH/system/bin/dex2oat 0 2000 0755 u:object_r:dex2oat_exec:s0
# set_perm $MODPATH/system/lib/libart.so 0 0 0644
}

---------- Post added at 10:02 AM ---------- Previous post was at 10:01 AM ----------

I'll run the process again and generate some. Which logs do you want? recovery, aroma, magisk?