-
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
1 parent
de312de
commit 6c7c47c
Showing
12 changed files
with
532 additions
and
2 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,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 |
---|---|---|
@@ -1,2 +1,15 @@ | ||
# 36DPI-NavBar-Mod-Miui-10-11-12 | ||
Reduce el tamaño de la barra de navegación a 36 DPI, maximizando el espacio en pantalla disponible. Compatible sólo con Miui 10-11-12 | ||
# 36 DPI NavBar para Miui 10-11-12 | ||
|
||
--- | ||
## Vista rápida | ||
- Reduce el tamaño de la barra de navegación a 36 DPI, maximizando el espacio en pantalla disponible. | ||
|
||
## Compatibilidad | ||
- Android superior a la versión 8 (Puede funcionar en versiones antiguas, no está probado). | ||
- Magisk superior a versión 20.4 | ||
- Ha sido probado en ROMs Miui 10-11-12, no se garantiza el funcionamiento en otras versiones. | ||
- No es compatible con ninguna otra capa (OOs, Pixel, etc). SOLO con Miui. | ||
|
||
--- | ||
## Créditos | ||
- [@topjohnwu](https://github.com/topjohnwu) / Magisk - Magisk Module Template |
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,7 @@ | ||
--- | ||
|
||
##Registro de cambios: | ||
|
||
-1.0 | ||
Versión inicial, compatible con Android 8 y superiores | ||
Probado en Android Miui 10-11-12 |
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,7 @@ | ||
#!/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 |
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,7 @@ | ||
#!/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 late_start service mode | ||
# More info in the main Magisk thread |
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,3 @@ | ||
# This file will be read by resetprop | ||
# Example: Change dpi | ||
# ro.sf.lcd_density=320 |
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,108 @@ | ||
########################################################################################## | ||
# | ||
# 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=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 " Copiando Archivos..." | ||
sleep 1 | ||
ui_print " =========================" | ||
ui_print " * SystemLess Resize *" | ||
ui_print " * NavBar 36 DPI *" | ||
ui_print " * For Miui 10-11-12 *" | ||
ui_print " =========================" | ||
|
||
sleep 1 | ||
ui_print "Ordenando la casa..." | ||
sleep 1 | ||
ui_print "Todo terminado, reinicie su dispositivo..." | ||
} | ||
|
||
########################################################################################## | ||
# 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 <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 | ||
|
||
# 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. | ||
|
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,6 @@ | ||
{ | ||
"version": "1.8.6", | ||
"versionCode": 186, | ||
"zipUrl": "https://github.com/gloeyisk/universal-gms-doze/releases/download/v1.8.6/gms_v1.8.6.zip", | ||
"changelog": "https://raw.githubusercontent.com/gloeyisk/universal-gms-doze/master/changelog.md" | ||
} |
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,6 @@ | ||
id=NavBar_Resize_Miui10-11-12 | ||
name=36DPI NavBar para Miui | ||
version=v1.0 | ||
versionCode=1 | ||
author=CrazyBytesVE | ||
description=Barra de Navegación reducida a 36DPI, compatible con Android 8 y superiores. Probado en ROMs Miui 10-11-12. |
Binary file not shown.