Skip to content

Instantly share code, notes, and snippets.

View xbjfk's full-sized avatar

Reagan xbjfk

  • 00:02 (UTC +13:00)
View GitHub Profile
@nijave
nijave / tethering.sh
Created June 20, 2021 21:03
Android 10 Tethering Fix
#!/bin/sh
# Don't require DUN APN type
settings put global tether_dun_required 0
# use MagiskHide Props Config
# echo "net.tethering.noprovisioning=true" >> /system/build.prop
# iptables increment TTL for nat packets since carriers block these
# Requires kernel with CONFIG_IP_NF_TARGET_TTL enabled