This is the best android Internet Tweak that i already used on 2017 until now.On some location it's doing great,some other might be not..how ever been trying this tweak on android lollipop. Hopefully this simple tweak might help some developer application and users. Give me some credit for this script and my time.
Step 1
#Save as "RunScript.sh"
Step 2
#This Tweak applied on Android root devices,with android 4+
#Set attributes with full executed.On both file
#It takes for me 4 years+ to check,observe and test this tweak.
#Post credit : http://aril83.blogspot.com @ Shahril Zaili
#This is sysctl.conf file,be creative to change this file into the script ;-)
### TUNING NETWORK PERFORMANCE ###
# Disabled IPv6 ,to enabled replace 1 to 0
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.dummy0.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
net.ipv6.conf.rmnet0.disable_ipv6 = 1
net.ipv6.conf.sit0.disable_ipv6 = 1
# Data fowarding ,to enabled replace 1 to 0
net.ipv6.conf.all.forwarding = 0
net.ipv6.conf.default.forwarding = 0
net.ipv6.conf.lo.forwarding = 0
net.ipv6.conf.sit0.forwarding = 0
net.ipv6.conf.rmnet0.forwarding = 0
net.ipv6.conf.r_rmnet_data0.forwarding = 0
net.ipv6.conf.r_rmnet_data1.forwarding = 0
net.ipv6.conf.r_rmnet_data2.forwarding = 0
net.ipv6.conf.r_rmnet_data3.forwarding = 0
net.ipv6.conf.r_rmnet_data4.forwarding = 0
net.ipv6.conf.r_rmnet_data5.forwarding = 0
net.ipv6.conf.r_rmnet_data6.forwarding = 0
net.ipv6.conf.r_rmnet_data7.forwarding = 0
net.ipv6.conf.r_rmnet_data8.forwarding = 0
net.ipv6.conf.rmnet_data0.forwarding = 0
net.ipv6.conf.rmnet_data1.forwarding = 0
net.ipv6.conf.rmnet_data2.forwarding = 0
net.ipv6.conf.rmnet_data3.forwarding = 0
net.ipv6.conf.rmnet_data4.forwarding = 0
net.ipv6.conf.rmnet_data5.forwarding = 0
net.ipv6.conf.rmnet_data6.forwarding = 0
net.ipv6.conf.rmnet_data7.forwarding = 0
# Default HOP Limit
net.ipv6.conf.all.hop_limit = 64
net.ipv6.conf.default.hop_limit = 64
net.ipv6.conf.rmnet0.hop_limit = 64
# Default Device HOP Limit
net.ipv6.conf.r_rmnet_data0.hop_limit = 64
net.ipv6.conf.r_rmnet_data1.hop_limit = 64
net.ipv6.conf.r_rmnet_data2.hop_limit = 64
net.ipv6.conf.r_rmnet_data3.hop_limit = 64
net.ipv6.conf.r_rmnet_data4.hop_limit = 64
net.ipv6.conf.r_rmnet_data5.hop_limit = 64
net.ipv6.conf.r_rmnet_data6.hop_limit = 64
net.ipv6.conf.r_rmnet_data7.hop_limit = 64
net.ipv6.conf.rmnet_data0.hop_limit = 64
net.ipv6.conf.rmnet_data1.hop_limit = 64
net.ipv6.conf.rmnet_data2.hop_limit = 64
net.ipv6.conf.rmnet_data3.hop_limit = 64
net.ipv6.conf.rmnet_data4.hop_limit = 64
net.ipv6.conf.rmnet_data5.hop_limit = 64
net.ipv6.conf.rmnet_data6.hop_limit = 64
net.ipv6.conf.rmnet_data7.hop_limit = 64
# Default Network Tweak
net.ipv4.icmp_echo_ignore_all = 1
net.ipv4.icmp_echo_ignore_broadcasts = 1
net.ipv4.icmp_ignore_bogus_error_responses = 1
net.ipv4.ip_default_ttl = 64
net.ipv4.ip_early_demux = 0
net.ipv4.ip_forward = 1
net.ipv4.ip_no_pmtu_disc = 0
net.ipv4.tcp_dsack = 0
net.ipv4.tcp_ecn = 0
net.ipv4.tcp_fack = 1
net.ipv4.tcp_fastopen = 1
net.ipv4.tcp_moderate_rcvbuf = 1
net.ipv4.tcp_mtu_probing = 1
net.ipv4.tcp_no_metrics_save = 1
net.ipv4.tcp_rfc1337 = 0
net.ipv4.tcp_sack = 1
net.ipv4.tcp_timestamps = 0
net.ipv4.tcp_tw_recycle = 1
net.ipv4.tcp_tw_reuse = 1 #Save as "/etc/sysctl.conf"
Run this script by using Script Runner or Script Editor.
To get an effect,this script must be run each time devices is rebooted or turn on.
And from the me,this script for professional android @ UNIX user.
0 ulasan:
Catat Ulasan