From 6a8df0f1fa951db64311ee619af89b4c77b90660 Mon Sep 17 00:00:00 2001 From: Pavel Horniak <35545900+Gouster4@users.noreply.github.com> Date: Thu, 13 Feb 2025 13:15:01 +0100 Subject: [PATCH 1/7] Delete common/system.prop --- common/system.prop | 3 --- 1 file changed, 3 deletions(-) delete mode 100644 common/system.prop diff --git a/common/system.prop b/common/system.prop deleted file mode 100644 index b977b33..0000000 --- a/common/system.prop +++ /dev/null @@ -1,3 +0,0 @@ -# This file will be read by resetprop -# Example: Change dpi -# ro.sf.lcd_density=320 \ No newline at end of file From c8467157149f2a814ca4d10636da437384823fc5 Mon Sep 17 00:00:00 2001 From: Pavel Horniak <35545900+Gouster4@users.noreply.github.com> Date: Thu, 13 Feb 2025 13:15:13 +0100 Subject: [PATCH 2/7] Delete common/post-fs-data.sh --- common/post-fs-data.sh | 7 ------- 1 file changed, 7 deletions(-) delete mode 100644 common/post-fs-data.sh diff --git a/common/post-fs-data.sh b/common/post-fs-data.sh deleted file mode 100644 index 64540ef..0000000 --- a/common/post-fs-data.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/system/bin/sh -# Please don't hardcode /magisk/modname/... ; instead, please use $MODDIR/... -# This will make your scripts compatible even if Magisk change its mount point in the future -MODDIR=${0%/*} - -# This script will be executed in post-fs-data mode -# More info in the main Magisk thread \ No newline at end of file From e105dbba5f4edf69aa7689282891b71a9644d6b7 Mon Sep 17 00:00:00 2001 From: Pavel Horniak <35545900+Gouster4@users.noreply.github.com> Date: Thu, 13 Feb 2025 13:16:48 +0100 Subject: [PATCH 3/7] Rename common/service.sh to service.sh --- common/service.sh => service.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename common/service.sh => service.sh (98%) diff --git a/common/service.sh b/service.sh similarity index 98% rename from common/service.sh rename to service.sh index c2b73e8..eb472a4 100644 --- a/common/service.sh +++ b/service.sh @@ -58,4 +58,4 @@ sleep $TimeInterval # input keyevent $code # done input text $PIN3 -input keyevent 66 \ No newline at end of file +input keyevent 66 From 2093c6f03088ead0bb09b0692cccb1ec068eab50 Mon Sep 17 00:00:00 2001 From: Pavel Horniak <35545900+Gouster4@users.noreply.github.com> Date: Thu, 13 Feb 2025 13:18:16 +0100 Subject: [PATCH 4/7] Create customize.sh --- customize.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 customize.sh diff --git a/customize.sh b/customize.sh new file mode 100644 index 0000000..c8b17fd --- /dev/null +++ b/customize.sh @@ -0,0 +1,13 @@ +#!/system/bin/sh + +########################################################################################## +# Installation Message +########################################################################################## + +# Set what you want to show when installing your mod + +ui_print "*******************************" +ui_print " Magisk Auto Input Boot Pin " +ui_print "*******************************" + +set_perm_recursive $MODPATH 0 0 0755 0644 From 20077fba1b4a0b3f6cfd2f630850291f1d03c061 Mon Sep 17 00:00:00 2001 From: Pavel Horniak <35545900+Gouster4@users.noreply.github.com> Date: Thu, 13 Feb 2025 13:18:33 +0100 Subject: [PATCH 5/7] Delete config.sh --- config.sh | 99 ------------------------------------------------------- 1 file changed, 99 deletions(-) delete mode 100644 config.sh diff --git a/config.sh b/config.sh deleted file mode 100644 index 6e62929..0000000 --- a/config.sh +++ /dev/null @@ -1,99 +0,0 @@ -########################################################################################## -# -# Magisk Module Template Config Script -# by topjohnwu -# -########################################################################################## -########################################################################################## -# -# 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 (config.sh) -# 4. If you need boot scripts, add them into common/post-fs-data.sh or common/service.sh -# 5. Add your additional or modified system properties into common/system.prop -# -########################################################################################## - -########################################################################################## -# Configs -########################################################################################## - -# 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=true - -# Set to true if you need post-fs-data script -POSTFSDATA=false - -# Set to true if you need late_start service script -LATESTARTSERVICE=true - -########################################################################################## -# Installation Message -########################################################################################## - -# Set what you want to show when installing your mod - -print_modname() { - ui_print "*******************************" - ui_print " Magisk Auto Input Boot Pin " - ui_print "*******************************" -} - -########################################################################################## -# Replace list -########################################################################################## - -# List all directories you want to directly replace in the system -# Check the documentations for more info about how Magic Mount works, and why you need this - -# This is an example -REPLACE=" -/system/app/Youtube -/system/priv-app/SystemUI -/system/priv-app/Settings -/system/framework -" - -# Construct your own list here, it will override the example above -# !DO NOT! remove this if you don't need to replace anything, leave it empty as it is now -REPLACE=" -" - -########################################################################################## -# Permissions -########################################################################################## - -set_permissions() { - # Only some special files require specific permissions - # The default permissions should be good enough for most cases - - # Here are some examples for the set_perm functions: - - # set_perm_recursive (default: u:object_r:system_file:s0) - # set_perm_recursive $MODPATH/system/lib 0 0 0755 0644 - - # set_perm (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 - - # The following is default permissions, DO NOT remove - set_perm_recursive $MODPATH 0 0 0755 0644 -} - -########################################################################################## -# Custom Functions -########################################################################################## - -# This file (config.sh) will be sourced by the main flash script after util_functions.sh -# If you need custom logic, please add them here as functions, and call these functions in -# update-binary. Refrain from adding code directly into update-binary, as it will make it -# difficult for you to migrate your modules to newer template versions. -# Make update-binary as clean as possible, try to only do function calls in it. - From a52b2350cb323b686874bc148c452ea4b945e522 Mon Sep 17 00:00:00 2001 From: Pavel Horniak <35545900+Gouster4@users.noreply.github.com> Date: Thu, 13 Feb 2025 13:18:46 +0100 Subject: [PATCH 6/7] Update module.prop --- module.prop | 1 - 1 file changed, 1 deletion(-) diff --git a/module.prop b/module.prop index 982ef95..585e48b 100644 --- a/module.prop +++ b/module.prop @@ -4,4 +4,3 @@ version=1.0 versionCode=10 author=ZeroingIn description=Auto input boot pin,help Tasker and more apps start work. -minMagisk=1500 From 900ee51f81943e4aa04aab2f4179c1b3449c273b Mon Sep 17 00:00:00 2001 From: Pavel Horniak <35545900+Gouster4@users.noreply.github.com> Date: Thu, 13 Feb 2025 13:19:07 +0100 Subject: [PATCH 7/7] Delete system directory --- system/placeholder | 1 - 1 file changed, 1 deletion(-) delete mode 100644 system/placeholder diff --git a/system/placeholder b/system/placeholder deleted file mode 100644 index 1a69395..0000000 --- a/system/placeholder +++ /dev/null @@ -1 +0,0 @@ -This file will be deleted in Magisk Manager, it is only a placeholder for git