Skip to content

Instantly share code, notes, and snippets.

@1mike12
Last active October 5, 2023 19:36
Show Gist options
  • Save 1mike12/7d40f2c0a8e464ffdec609f12c84c407 to your computer and use it in GitHub Desktop.
Save 1mike12/7d40f2c0a8e464ffdec609f12c84c407 to your computer and use it in GitHub Desktop.
fast hotstop tethering

on android (not needed seems like as of feb 2023 oneplus 8t)

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

default from tmobile (as of 2023-2-1) modified
name T-Mobile LTE (up to you)
APN fast.t-mobile.com same
Proxy
Port
Username
Password
Server
MMSC http://mms.msg.eng.t-mobile.com/mms/wapenc same
MMS proxy
MMS port
MCC 310 same
MNC 260 same
Authentication type
APN type default,supl,mms,xcap default,tether,supl,mms,admin,hipri
APN protocol IPv6 IPv4
APN roaming protocol IPv4
Enable APN forced on 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/

APN key meanings

  • MCC mobile countey code
  • MNC mobile network code
  • MMSC (Multimedia Messaging Service Center) - central server responsible for forwarding MMS (Multimedia Messaging Service) messages. MMS is used for sending multimedia content like pictures and videos over mobile networks.
  • Bearer- refers to the type of network or radio technology on which the data session will be established or carried.

Changing TTL

MacOS

create a file and set the TTL to be 65

echo "net.inet.ip.ttl=65" | sudo tee -a /etc/sysctl.conf

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