[Android General] fuser-invent:
Hey everyone, please take a minute to check and respond. Does anyone else have the problem with the battery percentage mod where it is only showing intervals on numbers and not decreasing by 1% each time?

Extra Advanced Wifi Settings for people who don't want to install my custom ROM.

For init.d scripts:

#!/system/bin/sh

echo "0" > /proc/sys/net/ipv4/conf/all/accept_redirects;
echo "0" > /proc/sys/net/ipv4/conf/all/secure_redirects;
echo "0" > /proc/sys/net/ipv4/conf/all/accept_source_route;
echo "1" > /proc/sys/net/ipv4/conf/all/rp_filter;
echo "0" > /proc/sys/net/ipv4/conf/default/accept_redirects;
echo "0" > /proc/sys/net/ipv4/conf/default/secure_redirects;
echo "0" > /proc/sys/net/ipv4/conf/default/accept_source_route;
echo "1" > /proc/sys/net/ipv4/conf/default/rp_filter;
echo "1" > /proc/sys/net/ipv4/tcp_fack;
echo "cubic" > /proc/sys/net/ipv4/tcp_congestion_control ;
echo "1" > /proc/sys/net/ipv4/tcp_syncookies;
echo "2" > /proc/sys/net/ipv4/ipv4.tcp_synack_retries;
echo "2" > /proc/sys/net/ipv4/tcp_syn_retries;
echo "1024" > /proc/sys/net/ipv4/tcp_max_syn_backlog;
echo "16384" > /proc/sys/net/ipv4/tcp_max_tw_buckets;
echo "1" > /proc/sys/net/ipv4/icmp_echo_ignore_all;
echo "1" > /proc/sys/net/ipv4/icmp_ignore_bogus_error_responses;
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 "0" > /proc/sys/net/ipv4/tcp_timestamps;
echo "1" > /proc/sys/net/ipv4/tcp_tw_reuse;
echo "1" > /proc/sys/net/ipv4/tcp_sack;
echo "1" > /proc/sys/net/ipv4/tcp_tw_recycle;
echo "1" > /proc/sys/net/ipv4/tcp_window_scaling;
echo "5" > /proc/sys/net/ipv4/tcp_keepalive_probes;
echo "30" > /proc/sys/net/ipv4/tcp_keepalive_intvl;
echo "15" > /proc/sys/net/ipv4/tcp_fin_timeout;
echo "1" > /proc/sys/net/ipv4/tcp_rfc1337;
echo "1" > /proc/sys/net/ipv4/tcp_workaround_signed_windows;
echo "1" > /proc/sys/net/ipv4/tcp_low_latency;
echo "0" > /proc/sys/net/ipv4/ip_no_pmtu_disc;
echo "1" > /proc/sys/net/ipv4/tcp_mtu_probing;
echo "2" > /proc/sys/net/ipv4/tcp_frto;
echo "2" > /proc/sys/net/ipv4/tcp_frto_response;
echo "404480" > /proc/sys/net/core/wmem_max;
echo "404480" > /proc/sys/net/core/rmem_max;
echo "256960" > /proc/sys/net/core/rmem_default;
echo "256960" > /proc/sys/net/core/wmem_default;
echo "4096,16384,404480" > /proc/sys/net/ipv4/tcp_wmem;
echo "4096,87380,404480" > /proc/sys/net/ipv4/tcp_rmem;

This init.d script comes from RPEngine2. You would of course have to enable init.d support, you can find plenty of tutorials on XDA. I use the install-recovery.sh method in my custom ROM's.

Build.prop tweaks:

# Increases network speed
net.tcp.buffersize.default=4096,87380,256960,4096, 16384,256960
net.tcp.buffersize.wifi=4096,87380,256960,4096,163 84,256960
net.tcp.buffersize.umts=4096,87380,256960,4096,163 84,256960
net.tcp.buffersize.gprs=4096,87380,256960,4096,163 84,256960
net.tcp.buffersize.edge=4096,87380,256960,4096,163 84,256960

The only ones you really need here are default and wifi unless you are using a dongle. If you live in a country without wifi channels like me then change the number 14 to 11 in this line:

ro.wifi.channels=11

In /system/etc/wifi open the wpa_supplicant.conf and change to:

update_config=1
ctrl_interface=wlan0
ctrl_interface_group=system
eapol_version=1
ap_scan=1
fast_reauth=1

Android does not like BSSID or non-broadcasting networks. Its possible to use them sometimes but if you have issues, you probably need to reboot your router. Its better to just broadcast and set a password. If you are still having issues, try changing the channel on your wifi router. There's plenty of info on the internet about how to choose a channel and why you might not want to use the default channel the router is set to.