TCP Optimiser Module

Magisk KSU APatch

Maximize your network performance on the go. The TCP Optimiser Module intelligently adapts your TCP congestion algorithm based on your active internet interface, ensuring optimal download and upload speeds for both Wi-Fi and Cellular connections.

Smart Network Tuning

Automatically switch between BBR, Cubic, or Reno based on your current network interface for a seamless and responsive connection.

Auto Switching

Dynamically changes the TCP Congestion Algorithm and Queuing Disciplines (qdisc) whenever your device switches between Wi-Fi and Cellular networks.

Max Throughput

Includes advanced tweaks to maximize the initcwnd (Initial Congestion Window) and initrwnd values for an instant boost in data transmission.

WebUI Control

Fully manageable via a native WebUI in KernelSU and APatch. Easily apply settings, safely kill ongoing connections, and monitor status.

How It Works

The module quietly monitors your active internet-facing interface. For Wi-Fi (wlan), it defaults to using BBR (if supported by your kernel), which has been observed to provide significant improvements in upload speeds. For Cellular data (rmnet_data), it defaults to Cubic to maintain stability under fluctuating cellular network conditions.

Advanced users who prefer not to use the WebUI can fine-tune these behaviors by manipulating dummy files directly in the module's directory. For example, renaming a file to wlan_bbr_fq_codel forces the BBR algorithm with the fq_codel queuing discipline specifically for Wi-Fi.

Frequently Asked Questions

Yes, as long as the algorithm is compiled and present in your device's kernel. You can use any algorithm like reno, westwood, etc., by changing the {algo} parameter in the settings.

If you are bypassing the WebUI, navigate to /data/adb/modules/tcp_optimiser and create an empty file named force_apply. This will immediately enforce your new configuration.

By default, no. However, if you optionally enable the "kill connections during switch" feature, ongoing connections will drop momentarily to force a clean reset, which means active downloads or streams might need to reconnect.

Module Info

  • Version v2.5
  • Module By
    fatalcoder524
  • Contributors fatalcoder524
  • Source Code View Repository
  • Tags
    #TCP Optimiser #BBR #Cubic #Network #Magisk Module #KernelSU #APatch
  • Requirement
    Magisk KernelSU APatch
  • Latest Update