Magisk-Modules-Alt-Repo / submission

Information regarding the submission of Magisk Modules to the Alt-Repo.
166 stars 8 forks source link

[Module] Android TCP Optimization #226

Closed LeanxModulostk closed 2 months ago

LeanxModulostk commented 5 months ago

ID

ATCPO

Name

Android TCP Optimization

Description

Tuning the initcwnd and initrwnd parameters can have a significant improvement in TCP performance.

Module repository link

https://github.com/LeanxModulostk/Android-TCP-Optimization

Source code link (for compiled binaries/APKs)

No response

DerGoogler commented 3 months ago

Looks good @LeanxModulostk, but I recommend to use your file like this

#!/system/bin/sh
while [[ $(getprop sys.boot_completed) -ne 1 ]]; do
    sleep 1
done

# wait a while to ensure the system has started completely
sleep 20

#Optimización TCP de Android
ip route | while read p; do ip route change $p initcwnd 20 initrwnd 20; done

And do not exit such scripts

DerGoogler commented 3 months ago

@LeanxModulostk, please answer within two weeks