├── META-INF └── com │ └── google │ └── android │ ├── update-binary │ └── updater-script ├── README.md ├── common ├── addon │ └── placeholder └── system.prop ├── install.sh ├── module.prop ├── system └── placeholder └── uninstall.sh /META-INF/com/google/android/update-binary: -------------------------------------------------------------------------------- 1 | #!/sbin/sh 2 | 3 | ################# 4 | # Initialization 5 | ################# 6 | 7 | umask 022 8 | 9 | # echo before loading util_functions 10 | ui_print() { echo "$1"; } 11 | 12 | require_new_magisk() { 13 | ui_print "*******************************" 14 | ui_print " Please install Magisk v20.4+! " 15 | ui_print "*******************************" 16 | exit 1 17 | } 18 | 19 | ######################### 20 | # Load util_functions.sh 21 | ######################### 22 | 23 | OUTFD=$2 24 | ZIPFILE=$3 25 | 26 | mount /data 2>/dev/null 27 | 28 | [ -f /data/adb/magisk/util_functions.sh ] || require_new_magisk 29 | . /data/adb/magisk/util_functions.sh 30 | [ $MAGISK_VER_CODE -lt 20400 ] && require_new_magisk 31 | 32 | install_module 33 | exit 0 -------------------------------------------------------------------------------- /META-INF/com/google/android/updater-script: -------------------------------------------------------------------------------- 1 | #MAGISK 2 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # DalvikHyperthreading 2 | 3 | ![](https://i.ibb.co/C2WZsJk/1648364568480.png) 4 | 5 | ## Description 6 | This does is helps the multithread line to tell the cpu to easily do more faster proccessing without overheating. 7 | 8 | Esto ayuda a la línea multiproceso a decirle a la CPU que realice fácilmente un procesamiento más rápido sin sobrecalentamiento. 9 | 10 | "Multithreading or multi-core dexopt" 11 | 12 | ## Installation 13 | 1. Flash the module in Magisk 14 | 3. Reboot 15 | 4. Enjoy! 16 | 17 | ## Changelog 18 | • [v1 - Initial release - 12-03-22 ](https://t.me/modulostk/665) 19 | 20 | • v2 - Update Template v2 for magisk 24 - 14-01-23 21 | 22 | ## Support 23 | • [GitHub](https://github.com/LeanxModulostk/DalvikHyperthreading) 24 | • [Telegram Channel](https://t.me/modulostk) 25 | 26 | ## Special Thanks 27 | 28 | • [g7755725](https://forum.xda-developers.com/t/fps-ipv4-6-build-prop-tweaks.3166013/) 29 | 30 | • [Zackptg5](https://github.com/Zackptg5) for the MMT-Ex template 31 | 32 | • [Topjohnwu](https://github.com/topjohnwu) for making Magisk -------------------------------------------------------------------------------- /common/addon/placeholder: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeanxModulostk/DalvikHyperthreading/91659de2cb4310b34dcb797d8f4202fed121f59b/common/addon/placeholder -------------------------------------------------------------------------------- /common/system.prop: -------------------------------------------------------------------------------- 1 | # This file will be read by resetprop 2 | # Example: Change dpi 3 | # ro.sf.lcd_density=320 4 | 5 | ########################## 6 | # MULTI-CORE DEX OPT ENABLED 7 | ########################## 8 | 9 | # Android Lollipop - 10 | persist.sys.dalvik.hyperthreading=true 11 | # Android Marshmallow + 12 | persist.sys.dalvik.multithread=true 13 | 14 | #####@modulostk [Telegram]##### -------------------------------------------------------------------------------- /install.sh: -------------------------------------------------------------------------------- 1 | SKIPMOUNT=false 2 | PROPFILE=true 3 | POSTFSDATA=false 4 | LATESTARTSERVICE=false 5 | 6 | ########################################################################################## 7 | # Replace list 8 | ########################################################################################## 9 | 10 | # List all directories you want to directly replace in the system 11 | # Check the documentations for more info why you would need this 12 | 13 | # Construct your list in the following format 14 | # This is an example 15 | REPLACE_EXAMPLE=" 16 | /system/app/Youtube 17 | /system/priv-app/SystemUI 18 | /system/priv-app/Settings 19 | /system/framework 20 | " 21 | 22 | # Construct your own list here 23 | REPLACE=" 24 | " 25 | 26 | # Set what you want to display when installing your module 27 | 28 | print_modname() { 29 | ui_print "*******************************" 30 | ui_print " DalvikHyperthreading " 31 | ui_print " [t.me/modulostk] " 32 | ui_print "*******************************" 33 | } 34 | 35 | # Copy/extract your module files into $MODPATH in on_install. 36 | 37 | on_install() { 38 | # The following is the default implementation: extract $ZIPFILE/system to $MODPATH 39 | # Extend/change the logic to whatever you want 40 | ui_print "- Extracting module files" 41 | unzip -o "$ZIPFILE" 'system/*' -d $MODPATH >&2 42 | } 43 | 44 | # Only some special files require specific permissions 45 | # This function will be called after on_install is done 46 | # The default permissions should be good enough for most cases 47 | 48 | set_permissions() { 49 | # The following is the default rule, DO NOT remove 50 | set_perm_recursive $MODPATH 0 0 0755 0644 51 | } -------------------------------------------------------------------------------- /module.prop: -------------------------------------------------------------------------------- 1 | id=DalvikHyperthreading 2 | name=DalvikHyperthreading 3 | version=v2 4 | versionCode=2 5 | author=@LeanHijosdesusMadres [telegram] 6 | description=This does is helps the multithread line to tell the cpu to easily do more faster proccessing without overheating. 7 | support=https://t.me/modulostk -------------------------------------------------------------------------------- /system/placeholder: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeanxModulostk/DalvikHyperthreading/91659de2cb4310b34dcb797d8f4202fed121f59b/system/placeholder -------------------------------------------------------------------------------- /uninstall.sh: -------------------------------------------------------------------------------- 1 | # Don't modify anything after this 2 | [[ -f "$INFO" ]] && { 3 | while read LINE; do 4 | if [[ "$(echo -n "$LINE" | tail -c 1)" == "~" ]]; then 5 | continue 6 | elif [[ -f "$LINE~" ]]; then 7 | mv -f "$LINE~" "$LINE" 8 | else 9 | rm -f "$LINE" 10 | while true; do 11 | LINE=$(dirname $LINE) 12 | [[ "$(ls -A $LINE 2>/dev/null)" ]] && break 1 || rm -rf "$LINE" 13 | done 14 | fi 15 | done < $INFO 16 | rm -f "$INFO" 17 | } --------------------------------------------------------------------------------