Skip to content

Instantly share code, notes, and snippets.

@sfiorini
Forked from 1mike12/Fast tethering.md
Last active May 14, 2022 19:33
Show Gist options
  • Save sfiorini/f4f943693cd766dea8c6125f603ded77 to your computer and use it in GitHub Desktop.
Save sfiorini/f4f943693cd766dea8c6125f603ded77 to your computer and use it in GitHub Desktop.
Fast Hotstop Tethering

on android

adb shell

settings put global tether_dun_required 0

with root permsission and running as SU

# makes the build.prop file editable
mount -o rw,remount /

# adds a line in build.props
echo "net.tethering.noprovisioning=true" >> /system/build.prop

# check correctly written with 
cat /system/build.prop

restart device

editing APN

wifi & network> sim1> Access Point Names

Name test
APN fast.t-mobile.com
proxy 
port
username
password
server
mmsc http://mms.msg.eng.t-mobile.com/mms/wapenc
mms proxy
mms port
mcc 310
mnc 260
authentication type not set
apn type
default,tether,supl,mms,admin,hipri
apn protocol IPv4
APN enable/disable APN enabled (forced on)
bearer UMTS,LTE
MVNO type GID
MVNO value 544D

source https://forum.xda-developers.com/t/looking-to-bypass-t-mobile-hotspot-throttling.4037543/

Changing TTL

MacOS

My OS on high sierra didn't have the file needed so create it first. Otherwise just add the line

touch /etc/sysctl.conf

In sysctl.conf net.inet.ip.ttl=65

I think restart is needed. Or, temporarily change TTL sudo sysctl -w net.inet.ip.ttl=65

Windows

https://shevchenko.cc/10-how-to-change-ttl-in-windows-10.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment