Skip to content

Instantly share code, notes, and snippets.

@razorloves
Last active August 11, 2025 14:57
Show Gist options
  • Select an option

  • Save razorloves/7145413786eaa313bec57ecb54317a33 to your computer and use it in GitHub Desktop.

Select an option

Save razorloves/7145413786eaa313bec57ecb54317a33 to your computer and use it in GitHub Desktop.

Go to settings->system->developer options, and enable usb debugging and rooted debugging.
Then do these adb commands to fix data on sprint.

adb root
adb shell
content insert --uri content://telephony/carriers --bind name:s:"SprInternet" --bind numeric:s:"312530" --bind type:s:"default,supl,mms,cbs,ia,dun" --bind protocol:s:"IPV4V6" --bind mcc:i:"312" --bind mnc:s:"530" --bind apn:s:"x.ispsn"
content query --uri content://telephony/carriers --where "name='SprInternet'"  

note: make note of the _id# seen in the output of the above command

note: now, replace 3447 in the following command with your _id# from previous command

content insert --uri content://telephony/carriers/preferapn --bind apn_id:i:"3447"
@dmitrmax
Copy link

dmitrmax commented Apr 3, 2024

I ended up flashing stock and then back to custom ROM. It helped.

@VaHReX
Copy link

VaHReX commented Apr 3, 2024 via email

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