1. Welcome to Pinoy Legend Forums. Take a moment to Sign up and gain unlimited access and extra privileges that guests are not entitled to, such as:

    All that and more! Registration is quick, simple and absolutely free. Join our community today!

Tutorial Net Speed Fly engine script tweak ( rooted only )

Discussion in 'Android Phone' started by Xlayer, Jul 21, 2017.

Tags:
  1. Xlayer

    Xlayer Administrator Staff Member Super Moderator Administrator

    Joined:
    Jun 17, 2017
    Messages:
    90
    Likes Received:
    16
    Trophy Points:
    8
    Gender:
    Male
    Location:
    Polomolok South Cotabato
    1st using root explorer go to system then create a folder named " su.d " then set permission to " rwxr-xr-x

    next create a file named fly engine.sh then hold that file then go option then open with text editor then paste this code :

    code :

    Fly Engine script:
    Code:
    #!/system/bin/sh
    # Network speed Tweaks
    echo "5" > /proc/sys/net/ipv4/tcp_keepalive_probes;
    echo "30" > /proc/sys/net/ipv4/tcp_keepalive_intvl;
    echo "30" > /proc/sys/net/ipv4/tcp_fin_timeout;
    echo "1" > /proc/sys/net/ipv4/tcp_moderate_rcvbuf;
    echo "1" > /proc/sys/net/ipv4/route/flush;
    echo "6144" > /proc/sys/net/ipv4/udp_rmem_min;
    echo "6144" > /proc/sys/net/ipv4/udp_wmem_min;
    echo "1" > /proc/sys/net/ipv4/tcp_rfc1337;
    echo "0" > /proc/sys/net/ipv4/ip_no_pmtu_disc;
    echo "0" > /proc/sys/net/ipv4/tcp_ecn;
    echo "6144 87380 2097152" > /proc/sys/net/ipv4/tcp_wmem;
    echo "6144 87380 2097152" > /proc/sys/net/ipv4/tcp_rmem;
    echo "1" > /proc/sys/net/ipv4/tcp_fack;
    echo "2" > /proc/sys/net/ipv4/tcp_synack_retries;
    echo "2" > /proc/sys/net/ipv4/tcp_syn_retries;
    echo "1" > /proc/sys/net/ipv4/tcp_no_metrics_save;
    echo "1800" > /proc/sys/net/ipv4/tcp_keepalive_time;
    echo "0" > /proc/sys/net/ipv4/ip_forward;
    echo "1" > /proc/sys/net/ipv4/tcp_sack;
    echo "1" > /proc/sys/net/ipv4/tcp_dsack;
    echo "1" > /proc/sys/net/ipv4/tcp_tw_recycle;
    echo "1" > /proc/sys/net/ipv4/tcp_window_scaling;
    echo "0" > /proc/sys/net/ipv4/conf/default/accept_source_route;
    echo "0" > /proc/sys/net/ipv4/conf/all/accept_source_route;
    echo "0" > /proc/sys/net/ipv4/conf/all/accept_redirects;
    echo "0" > /proc/sys/net/ipv4/conf/default/accept_redirects;
    echo "0" > /proc/sys/net/ipv4/conf/all/secure_redirects;
    echo "0" > /proc/sys/net/ipv4/conf/default/secure_redirects;
    echo "0" > /proc/sys/net/ipv4/ip_dynaddr;
    echo "0" > /proc/sys/net/ipv4/tcp_timestamps;
    echo "1" > /proc/sys/net/ipv4/tcp_tw_reuse;
    echo "1440000" > /proc/sys/net/ipv4/tcp_max_tw_buckets;
    echo "57344 57344 524288" > /proc/sys/net/ipv4/tcp_mem;
    echo "1440000" > /proc/sys/net/ipv4/tcp_max_tw_buckets;
    echo "2097152" > /proc/sys/net/core/rmem_max;
    echo "2097152" > /proc/sys/net/core/wmem_max;
    echo "262144" > /proc/sys/net/core/rmem_default;
    echo "262144" > /proc/sys/net/core/wmem_default;
    echo "20480" > /proc/sys/net/core/optmem_max;
    echo "2500" > /proc/sys/net/core/netdev_max_backlog;
    echo "50" > /proc/sys/net/unix/max_dgram_qlen
    echo "reno" > /proc/sys/net/ipv4/tcp_congestion_control
    save .. then set permission to " rwxr-xr-x or chmod 644" then reboot ..
    edited:Jersnet
    credit : patrick from my81
     

Share This Page