base_opt.sh
9.8 KB
# base_opt.sh
# Version 1.1.7
# 2025-07-10 @ 15:19 (UTC)
# ID: foa8qw
Changelog:
- New ext4 mountpoint flags to coalesce writes (reads are prioritized = faster loading of apps)
- Sysctl net tweaks to improve networking stability and bandwidth
- Sysctl kernel and vm tweaks to allocate buffers of adequate size to improve system snappiness
- Reworked storage optimizations for better detection of logical or physical partitions (and setting the adequate values for each kind)
- Most of the code was made async, it will run much faster
- Code cleanup and better explanation of debug and dryrun features
[ Como usar | How to use ]
๐3
base_opt.sh
10.9 KB
# base_opt.sh
# Version 1.1.8
# 2026-02-08 @ 00:42 (UTC)
# ID: h8sk2
Changelog:
- General: Code was updated to be more effective on modern ROMs (Android 13+ and Linux Kernel 5.4+).
- General: Code is no more async, some returns don't work well when async.
- M1: Changed filesystems finding and parsing. Added more coherent filesystem flags.
- M2: Sysctl keys and values revised and parsing logic reworked, now we have more and better keys.
- M4: I/O tweaks now detect better storage topology and configures it according to their nature (physical vs. logical devices) and location (internal emmc vs. external MicroSD) + I/O scheduler tuning for better throughput.
- M8: Added task scheduling module to isolate crucial and background tasks. Still needs improvement, but already gives results.
Please open Telegram to view this post
VIEW IN TELEGRAM
batt_opt.sh
10.6 KB
# batt_opt.sh
# Version 1.2
# 2026-02-08 @ 01:43 (UTC)
# ID: 5s41d
Changelog:
- General: Code was updated to be more effective on modern ROMs (Android 13+ and Linux Kernel 5.4+).
- General: Code is no more async, some returns don't work well when async.
- General: Code cleanup and added reference.
- M2: Sysctl keys and values revised and parsing logic reworked, now we have more and better keys.
- M3: LMK tweaks are now optional and only apply if running on old Android that still have lowmemorykiller module.
- M4: small zram tweak to decrease CPU load
- M5: Kernel modules behaviour changed, less agressive, more sane values.
- M6: Added schedutil CPU governor tweaks, improved governor detection and governor tunables, improved variables to get more reliable values, improved the multi-cluster CPU governor tuning logic.
- M7: Added a GPU automatic detection routine, now tweaks GPUs from multiple SoC vendors: Snapdragon, Mali and Samsung.
Please open Telegram to view this post
VIEW IN TELEGRAM
๐2
game_opt.sh
10.1 KB
# game_opt.sh
# Version 1.0
# 2026-02-08 @ 02:10 (UTC)
# ID: a65rg
Changelog:
- General: Code was updated to be more effective on modern ROMs (Android 13+ and Linux Kernel 5.4+).
- General: Code is no more async, some returns don't work well when async.
- General: Code cleanup and added reference.
- M2: Sysctl keys and values revised and parsing logic reworked, now we have more and better keys.
- M3: LMK tweaks are now optional and only apply if running on old Android that still have lowmemorykiller module.
- M5: Kernel modules behaviour changed, less agressive, more sane values.
- M6: Added schedutil CPU governor tweaks, improved governor detection and governor tunables, improved variables to get more reliable values, improved the multi-cluster CPU governor tuning logic.
- M7: Added a GPU automatic detection routine, now tweaks GPUs from multiple SoC vendors: Snapdragon, Mali and Samsung.
Please open Telegram to view this post
VIEW IN TELEGRAM
โค1
base_opt.sh
13.5 KB
# base_opt.sh
# Version 1.2
# 2026-03-04 @ 21:22 (UTC)
# ID: fnw0f
Changelog:
- General: Internal structure cleaned up and reworked for more reliable execution and fewer edge-case failures preventing bugs.
- General: Removed occasional background execution to prevent inconsistent results. Code will take a bit longer to run but it will make sure everything will apply correctly.
- General: Improved every variable definition and call making some of them local to ensure better code execution stability.
- M4: Logic improvement, more reliable verifications and parameters definition.
- M8: Dynamic CPU core management based on device characteristics with task prioritization for process category to ensure better responsiveness while keeping background activity controlled.
Please open Telegram to view this post
VIEW IN TELEGRAM
๐2
Jpzex Releases
base_opt.sh
base_opt.zip
7.2 KB
APatch/KSU Module version of base_opt.sh
Version 1.2
๐ [ See changelog here ]
โ [ Como usar | How to use ]
๐จโ๐ป [ Github ]
Version 1.2
Please open Telegram to view this post
VIEW IN TELEGRAM
base_opt.sh
17.2 KB
# base_opt.sh
# Version 1.2.1
# 2026-03-12 @ 07:27 (UTC)
# ID: t3m6d
Changelog:
- General: Added new special write function wrc (writes only if the new value is different from the current).
- General: Fixed dump and dryrun features for special write functions wrs and wrc.
- General: Improved code execution speed by caching some lists and file contents.
- General: Multiple logic changed introducing more efficient loops, conditionals and minimizing sub-shells favoring built-in commands.
- M1: Added filesystem check to ignore read-only and apex mounts.
- M2: Adjusted values for a more reliable network and improved system stability.
- M4: New parameters + smart choice logic to improve code execution speed trimming unnecessary checks for logical partitions.
- M8: Added system latency sensitive processes with HMP aware task scheduling, background tasks segregation and process priority optimizations.
Please open Telegram to view this post
VIEW IN TELEGRAM
base_opt-1.2.1.zip
8.3 KB
APatch/KSU Module version of base_opt.sh
Version 1.2.1
๐ [ See changelog here ]
โ [ Como usar | How to use ]
๐จโ๐ป [ Github ]
Version 1.2.1
Please open Telegram to view this post
VIEW IN TELEGRAM
๐ฅ1
Jpzex Releases
base_opt-1.2.1.zip
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
๐ฅ2๐1
base_opt.sh
17.7 KB
# base_opt.sh
# Version 1.2.2
# 2026-03-23 @ 18:50 (UTC)
# ID: b2ij3
Changelog:
- M1: changed filtering rules and command args for improved execution speed and proper mount point selection
- M1: removed erofs flags because fs is always RO
- M2: moved some sysctl keys to batt/game due to script philosophy misalignment
- M2: improved reliability of the value setting function
- M8: changed selection of threads/processes to get cpuset to power cores to ensure proper load balancing
- M8: prevent background process boosting
Please open Telegram to view this post
VIEW IN TELEGRAM
base_opt-1.2.2.zip
8.2 KB
APatch/KSU Module version of base_opt.sh
Version 1.2.2
๐ [ See changelog here ]
โ [ Como usar | How to use ]
๐จโ๐ป [ Github ]
Version 1.2.2
Please open Telegram to view this post
VIEW IN TELEGRAM
base_opt.sh
19.2 KB
# base_opt.sh
# Version 1.2.3
# 2026-04-12 @ 13:42 (UTC)
# ID: sj8we5
Changelog:
- General: Improved dynamically created lists and variables debug when dryrun=1.
- General: Change boot trigger from boot-completed to service to improve compatibility with older/other root solutions.
- M1: Remount partitions with each flags separately to improve stability.
- M2: Remove redundant, ineffective or ambiguous tunables improving safety.
- M2: Adjust networking buffers for more efficient memory usage, improved latency and stability on wireless networks.
- M2: Smaller VM stat interval to improve system responsiveness.
- M4: Improve code logic for I/O scheduler setting (much faster!)
- M4: Add ZRAM blockdev tweak (maybe useful?)
- M5: NEW! sysfs tunables to minimize tracing overhead.
- M8: Improve IRQ redistribution logic, spread the IRQ type matching SoC clusters power rating (up to 3 levels).
Please open Telegram to view this post
VIEW IN TELEGRAM
base_opt-1.2.3.zip
8.7 KB
APatch/KSU Module version of base_opt.sh
Version 1.2.3
๐ [ See changelog here ]
โ [ Como usar | How to use ]
๐จโ๐ป [ Github ]
Version 1.2.3
Please open Telegram to view this post
VIEW IN TELEGRAM
base_opt.sh
23.8 KB
# base_opt.sh
# Version 1.3
# 2026-11-24 @ 23:33 (UTC)
# ID: db4pd
Changelog:
- General: Add root privilege verification at startup and rewrite the entire script for strict POSIX shell compatibility, eliminating external subshells during sysfs reads for much faster execution.
- General: Restructure dump and dry-run modes into four clear execution states and add command-level logging so remount operations are fully recorded before being applied.
- General: Enable execution timing diagnostics by default and temporarily disable Module 8 during standard runs while keeping it active for benchmark testing.
- M1: Broaden exclusion of emulated storage paths, drop redundant background garbage collection overrides on F2FS, log remount operations cleanly, and run fstrim asynchronously once per partition instead of repeating it for every mount flag.
- M2: Switch sysctl updates to conditional writes with path existence checks so values are only written when they actually differ, reducing unnecessary kernel overhead.
- M2: Tune network socket polling, disable slow-start after idle, allow high-order network allocations, and relax kernel printk verbosity for better wireless responsiveness and diagnostics.
- M4: Fix block device discovery to properly include ZRAM, enable active I/O scheduler tuning on UFS/SCSI storage, and add a short polling wait so scheduler-specific tunables apply reliably after switching schedulers.
- M4: Switch all storage queue updates to conditional writes and refine queue depths, read-ahead sizes, merge behavior, and deadline expiration targets to lower I/O latency.
- M5: Automatically detect the active kernel tracing directory path, safely guard sub-instance iteration, and switch tracing shutdown toggles to conditional writes.
- M8: Rework SoC topology detection to identify online CPU cores dynamically by maximum frequency and assign cluster-aware CPU boundaries across top-app, foreground, and background groups.
- M8: Enable cluster-matched IRQ routing using single-pass batch filtering, steer network packet processing to efficiency cores, and segregate userspace system processes into foreground and background priority tiers while removing uclamp and schedtune overrides.
Please open Telegram to view this post
VIEW IN TELEGRAM
base_opt-1.3.zip
9.7 KB
APatch/KSU Module version of base_opt.sh
Version 1.3
๐ [ See changelog here ]
โ [ Como usar | How to use ]
๐จโ๐ป [ Github ]
Version 1.3
Please open Telegram to view this post
VIEW IN TELEGRAM