Skip to content

Releases: iodn/android-kernel-tweaker

v2.0

23 Jan 03:42

Choose a tag to compare

AKTune v2.0 - Release Review

AKTune v2.0 is a major refresh focused on stability, safety, and predictable gains, while keeping the module lightweight. This release improves the overall tuning strategy by using capability detection, conservative defaults, and an adaptive daemon that reacts to screen state (or forced modes) instead of applying aggressive tweaks permanently.

Highlights

  • Adaptive daemon tuning

    • AUTO mode adapts to screen state (ON = performance profile, OFF = strict/battery profile)
    • Optional forced modes: aggressive or strict
  • Lower kernel overhead in ON profile

    • Reduced perf events overhead (kernel.perf_cpu_time_max_percent=10)
    • Disabled scheduler stats where supported
    • Reduced kernel log noise in performance profile (printk + printk_devkmsg)
  • CPU improvements

    • Prefers schedutil where available
    • Per-policy tuning using cluster tiers (little / big / prime)
    • Optional cpufreq boost nodes enabled when present
  • Memory efficiency tuned by RAM class

    • Sets swappiness based on detected RAM size (medium devices default to 60)
    • Balanced dirty ratios / writeback tuning for smoother UI without excessive background flush
    • ZRAM algorithm only adjusted if safe to change (prevents breaking active ZRAM)
  • Network tweaks

    • Enables tcp_low_latency
    • Optional TCP timestamps disable via config toggle
  • Cleaner, more maintainable code

    • Improved structure and readability across all tweak modules
    • Safer “apply-if-exists” behavior for sysfs/sysctl writes

Changelog (User-facing)

  • Improved overall code readability and structure
  • Swappiness tuned to 60% (reduces CPU overhead while keeping memory responsive)
  • Scheduler tweaks restored
  • Optional TCP timestamp disabling (config-controlled)
  • TCP low latency mode enabled
  • kernel.perf_cpu_time_max_percent set to 10 to reduce performance monitoring overhead
  • CRF enabled by default

Compatibility Notes

  • Works best on kernels exposing standard Android tuning nodes (cpufreq, devfreq, common sysctls)
  • If a node doesn’t exist, AKTune skips it safely (no hard dependency on device-specific paths)

Upgrade Notes

  • Existing /data/adb/aktune/config.props is preserved (no forced overwrite)

  • If you want a fresh config preset:

    • Delete /data/adb/aktune/config.props and reboot (AKTune will regenerate defaults)

Recommended Post-Install Check

Run:

su -c tail -n 200 /data/adb/aktune/logs/aktune.log

You should see: detection info, mode selection, and applied tuning lines.