yashsingh1/xdaforums huggingface dataset:
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] Cooljb:
No I did not lose hotspot by doing firmware update.

This hack is kind of a moot point now though. I was on the sprint website the other day and they are now offering free 50GB hotspot on most plans (new and existing). I'm on an older plan, Everything Data, and it was available on that plan. I will probably never use 50GB of hotspot. Interestingly too, I added the service to my plan, but since I still have the hack done on my phone, my hotspot usage doesn't show up. It still shows 0/50GB hotspot used. It's nice to know though that in a worst case scenario, I'd still have 50GB of hotspot no matter what.

So logon to Sprint's website and add free 50GB hotspot to your plan today!
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] lvpre:
It will bypass the limit on the unlimited basic plan though.
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] Cooljb:
Yes it will, which is nice. I mentioned in my post that with the hack it's not showing my hotspot usage. But for me that's a non-issue. I'm not going to be using more than 50 GB of hotspot. But for people that are using their phone as their sole source of internet, then it would be nice to not be limited. It's also nice to know that in a worst case scenario, say if they eliminate the ability for us to do the hack with a future update, you'd still have 50 GB of hotspot no matter what.
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] lvpre:
Yeah, 50gb is probably more than enough for most.
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] KaptainRandom:
I was just on my account at sprint.com

The Unlimited BASIC includes 500MB hotspot.

The Unlimited PLUS is $10 more per line and 50GB

The Unlimited ULTRA is $20 more per line and 100GB

So I do still need the uncounted hotspot hack

As we have the BASIC (500MB).
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] lvpre:
Yes, the hotspot hack still works on unlimited basic. I left Sprint at the end of November, but it still worked at that point. No reason to believe that it no longer works.
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] gullzway:
Same here, I'm on the Unlimited Military Plan. But its really just the Unlimited Basic with a discount per line($100/month for 4 lines.) Still has the measly 500mb hotspot. This hack is essential for me. I've had my Apn switch back to the normal one(after a phone reboot) and started getting sprint texts and used up the 500mb within 30 minutes using netflix on a hot spotted TV. Another reason im in no hurry to get a newer phone.
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] gbean009:
Just a mention:

I've updated my S7 edge to the latest security patch, never lost hotspot.

Still working great.
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] tortuga3:
Does anyone know if this hack works on the s10?
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] tortuga3:
Or even better on the pixel 3 or 3a :D
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] aiurforever:
My S8 was running fine and dandy for almost 2 years until 2 days ago. My LTE just went away and I tried many different resets except for the system upgrade (Still running Android 7) to no avail. Today I re-did the ADB commands listed in the OP and I got my LTE back, but only if I leave hotspot on! If I turn off hotspot, the LTE is gone too from the status bar. Can anyone post a fix? Thanks!
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] gbean009:
This happened to my S8+ a couple days ago after taking the 9.0 update.

A factory reset fixed it.

I made a new thread about S8 APN edits on Pie a couple days ago.
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] ngen33r:
This still works, but it does not work when international roaming. Is there an string that will allow for that?
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] cruckus:
you need to check first with ##DATA# and go to apn settings. i had to switch from typing in "n.ispsn" to "x.ispsn" in the instructions to get it to work. maybe how they are combating this but something i found and thought the community could use this. especially with the non root route they have gone.
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] gullzway:
Hmm, mine is still working with n.ispn. Last updated July 25. There is a new update available, anybody check if hotspot bypass still works on it?

I just added $15 Insurance a few weeks ago and had my cracked screen replace for $29. Feels like a new phone, no reason to update to a newer phone.
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] cruckus:
So the important part of my quote was that you need to check first. I had a phone that had something different then what you had. Just trying to help people when its not working
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] gullzway:
Sry, did not know other phones showed the x.

Thanks for the info.
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] cruckus:
Yea man just trying to help the community you know. I noticed something different after the directions didn't work and I had don't it on many phones.
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] oldnooker:
Thanks for pointing out, cruckus. I got a different value as well
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] RiFi2k:
Termux Bypass

Just figured I would drop in an alternative working solution.

I've done this for ever and it's not going to be restricted to who you have but it will 100 percent get around any data throttling.

Download Termux app and install openssh-server on it. Go ahead and hotspot your phone, then run ifconfig inside Termux to get your current tethering local IP. It will be the only 192. spit out when you run ifconfig. Save this. Run sshd -dD inside Termux which starts an openssh server waiting to be connected to in debug mode to audit traffic. Now pop onto a PC or router you can SSH into, whatever and connect it to your hotspot from your phone. Now SSH tunnel all the traffic from the device back through the openssh server your running on the Termux app. Now that you are on the same local network you can SSH tunnel into that IP address you saved earlier. As long as you make sure all your traffic passes through the tunnel it 100 percent shows that all your internet is being used by Termux app not your hotspot app so you need no other spoofing of hops or anything because to your phone and carrier you are just using a bunch of data in termux, you do it right you will never be throttled I've used 150GB data multiple times.

Step by step > https://github.com/RiFi2k/unlimited-tethering
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] cannondale0815:
I am happy to report that steps 1 to 8 (still) work great with a Sprint Galaxy S7 (SM-G930P, non-Edge) running Android 8.0.

As stated by the OP, the order in which you turn off mobile data, turn on hotspot, then turn mobile data back on is hugely important (every single time), as otherwise the DNS resolution doesn't work.
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] joelstitch:
Can anyone confirm if this works on Android Q?
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] joelstitch:
I like this, I'm going to try it. But holy **** do you have to do all those steps every single time?
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] gbean009:
Seriously.

That's some grade AAA workaround.

The hotspot on the S7e I'm this method doesn't use an app per se (that I'm aware of anyway.)

It is the native function built into the firmware.

Someone correct me if I'm wrong.
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] demetry14:
I have an S10 with Android 10 and it is not working, no matter the settings. I can get the tether to turn on and not give an error, but never get data to pass through.

I previously had an S8+ with Android 9 and it worked just fine.
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] twiztidditzwit:
Confirmed working on an Un-Rooted

Samsung Galaxy A10E

!
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] RiFi2k:
I totally laughed out loud after reading your first line! Yeah I know what you mean, but I believe the traffic still needs to be attributed to being used by something on your phone. On my Pixel they don't have an app either but Tethering is still listed as a system app and you can track how much data it uses on your phone, and from what I've seen using this method the carrier and the phone are not able to pin the data usage to the tethering system app because at the end of the day to anyone in the world looking or listening Termux is using the data.

It may read like alot of steps but after you do it a few times you can basically get the whole thing up and running in 60 seconds or so if you just press UP for scrolling through last used commands in Termux and saving your SSH tunnel CLI command so you can copy paste it easily, because I'm a total freak I actually ran a little python web server on my PC with an API endpoint exposed locally and I had a script setup in Termux that would run ifconfig, grep the IP, post it to my API endpoint, and start the tunnel. Then on the other end my API would parse the IP and start the ssh tunnel. So I had it down to start hotspot, connect to hotspot, run script in Termux. But I just got really bored one day is the only reason for all that :laugh:
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] daddymikey1975:
Without trying anything else beyond sending this command via ADB and following your other instructions I was able to get an iPhone to connect (don't razz me, it's a phone provided by work lmfao) and my son was able to get his G4 to connect without doing anything other than adding the WiFi credentials.

ETA: and both devices were able to access YouTube and the internet.

---------- Post added at 08:02 PM ---------- Previous post was at 07:42 PM ----------

Also, this still survives a reboot.
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] paul2112:
So this us the updated tether_dun_apn only, without using mobile data off then hotspot on?
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] daddymikey1975:
I've sent the commands each time you wanted me to test them during the day. This most recent test was just the command you posted, reboot the phone, turn off wifi, turn off mobile data, turn Hotspot on, let devices connect, then turn on mobile data = profit

---------- Post added at 06:06 AM ---------- Previous post was at 06:05 AM ----------

So yes I used the updated tether_dun_apn first... Oops
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] paul2112:
Thanks for doing these tests! I updated the OP, and it seems like the key is the starting order rather than the tether_dun_apn command changes (though at least one version is necessary to get an established connection). Two commands in ADB with mobile data off/hotspot on/mobile data on seems fairly reasonable for a bypass at this stage. Going the next step down this chain requires root to set a property protected by SELinux. The only other thing I can think of would be matching the profileId to something but I didn't have any success since I think that's more of the data profile id rather than APN.
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] daddymikey1975:
We could use Tasker to turn off wifi, turn off mobile data, turn Hotspot on, then turn data back on as a workaround.... Which still isn't bad considering our restrictions.
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] beachbumsurfs:
SOOOO does this now officially work?

For non rooted Sprint S7 Edge running Nougat?
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] badapple420:
Confirmed working on offical sprint nougat thank you soooo much
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] cheeb:
This works great

I too can confirm that this works great. The key is to of course...turn off mobile data...turn on hotspot...turn on mobile data...

I'm really interested in this. I got the app..but I don't know how to setup the function to have it turn off mobile data...turn on hotspot and then turn mobile data back on. If anyone could do a quick guide on this that'd be great.
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] daddymikey1975:
I'll mess with it tonight. I've never used Tasker before.

You could pioneer through it or wait till I get home from work to do a pioneer effort and a write up
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] paul2112:
Just a follow up, support for this method has existed in Android since at least 5.0 so it probably works on any android phone that hasn't specifically blocked these parameters (I haven't tested any of course, but the S7 flat, S6, V20, G5, Bolt, etc. may all support it). The tether_dun_apn gets decoded into a fresh APN by the tethering system using a string format defined pretty arbitrarily in a java file. When the tethering functionality starts a new session, it checks to see if data is already available on the device through an existing DUN-enabled APN. If it is not (and it won't be if the phone is not provisioned with a DUN-enabled APN) then it starts a new data session. If an APN does not exist with DUN, it fails (from tether_dun_required which coincidentally is overwritten back to 1 by some overlord). By adding a new APN (instead of editing an existing one), the existing session attempts to start a new data connection and assign a new IP address. Since we use the same APN (n.ispsn), it creates a second connection that is logically mapped to the existing data session. This normally would not be an issue, except that services that tethering relies on (dnsmasq for DNS forwarding specifically) are already active and fail to start again. By turning mobile data off, the tethering app is able to create a fresh data connection without any existing binds that cause DNS fowarding and some iptables rules to fail. Once the mobile data is enabled again, the phone's data connection activates with all the necessary hotspot services already running.

By dialing ##DEBUG# its possible to see the active APN's. In the original case (line ending in DUN only), a second APN was activated by the hotspot session for DUN purposes. I have modified the line to include default,supl,mms,dun so that only a single APN is active on the device and this modification is optional but suggested in case there's some way to tell how many active APNS are running on the phone (though I doubt it). Now when starting a hotspot session after mobile data is turned off, it adds in and activates the APN as listed in the OP. When the mobile data is re-enabled, it detects the running APN (as default) and no longer starts a second APN (with the same ip) and thus avoids any other binding problems since the connection is not re-initialized.
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] daddymikey1975:
So we don't have to wait for a device to connect with mobile data off before switching it on, correct?

To confirm, I can test this in a little bit...

I'm gonna mess with Tasker and see if I can get it to automate the mobile data switching for us and if it does, I'll put together a write up for inclusion on the OP.

Many thanks [MENTION=8099997]paul2112[/MENTION] for determining if this works.

I'll report back shortly.
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] beachbumsurfs:
Heads up this worked for me on Sprint S7 Edge

Thank You :highfive:
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] paul2112:
That should be right. The shortcut flow would go something like:

1. Turn off mobile data

2. Sleep 1 second

3. Turn on hotspot

4. Sleep 5 seconds

5. Turn on mobile data

However, you have to have a rooted phone to access the MODIFY_PHONE_STATE permission from an app :(

You could try something like this:

adb shell
$ pm grant net.dinglisch.android.taskerm android.permission.MODIFY_PHONE_STATE

That might give permission to the tasker (if it doesn't complain that you're not allowed to set it). If it does, and the tasker recognizes that it doesn't need SU, then it might work. Otherwise we would have to make a custom app. Most likely it will tell you that you do not have the authority to grant that permission to that app.
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] ScrapMaker:
Is this any better than using G935U with APN edit? I use tethering all the time.
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] paul2112:
It's identical other than having to start/stop mobile data which makes it less convenient. If you use sprint, then the G935P roms have 7.0 and 3xCA @ B41 , 2xCA @ B25 (G935U only has 2xCA @ B41, not sure about B25). It's kind of a wash right now, though once the U series gets 7.0 it will probably tilt back that way.

IME the B41 took me from 60-70 Mbps down up to 90-100 if that matters to you.
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] daddymikey1975:
I'm working with a Tasker plug in that's supposed to capture input from the screen to emulate the user tapping the screen since changing data state requires root. I might try the code you mentioned earlier to see if it helps.

More details tonight. Busy day at work.
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] daddymikey1975:
Quick update.

Toggling mobile data requires root permissions. This is very limiting. I've tried to use autoinput to simulate screen taps with delays and can't get this to do what we need it to, however I discovered something else that's proving very helpful utilizing tasks that we can modify with Tasker (I'm using MakroDroid)

1 connect to WiFi

2 start Hotspot) which enables wifi sharing, but who cares)

3 disable WiFi

4 Hotspot persists via mobile data and not WiFi Shari

5 connect your device

6 profit

I've setup a task via makrodroid to do this and tested it and it works.

I'll see how do test this at work when I don't have WiFi.

Also, someone please test for me something else..

I believe once you've connected a device via the workaround (toggling data somehow) it'll retain the DNS entries and connect again without having to toggle data.

I've not tested to see if this anomaly survives a reboot yet and I might be off my rocker...

More updates later.
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] -=puma=-:
So how do I enable full menu?
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] daddymikey1975:
What do you mean full menu?

---------- Post added at 04:01 PM ---------- Previous post was at 03:18 PM ----------

Here's the results of my testing. And I've purchased Tasker and Autoinput as a plugin already to try this out and see if I can automate this.

I've been unsuccessful automating the process. I believe that it might still be possible, however given the app purchases I've made and won't use and time I've spent compared to how little of a nuisance it is to toggle mobile data (or WiFi) it's really not a bad deal.

I DID find out some other useful information.... I connected my work iPhone this morning when I experimented with the WiFi toggle.

My work phone has been on wifi at work all day (wifi provided by my employer) and just for grits and shiggles I rebooted my S7 Edge, once it settled and I could bring up youtube etc I turned on Hotspot WITHOUT toggling mobile data. Once it connected, I connected my iPhone to my S7 Edge. It connected right away and had a data connection.

Tl;Dr = once you toggle mobile data and get a device to connect, as long as you don't choose "forget network" on the connecting device, it'll just hook right up at a later date. This survives a reboot on the s7 edge.

I hope this helps.
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] -=puma=-:
https://xdaforums.com/attachment.php?attachmentid=4055463&d=1488140600

[IMG="Hotspot"]https://dl.xda-developers.com/4/0/5/5/4/6/3/Screenshot_20170226-221902.png?key=PryH0vilvzoiSg5uDaLzSQ&ts=1488321336[/IMG]
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] daddymikey1975:
That's weird.. Are you on Sprint firmware?
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] -=puma=-:
Yes. sprint.

But the phone is constantly requires activation.
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] daddymikey1975:
Try a factory reset.
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] -=puma=-:
After resetting, the phone asks activation. But I have no sim card sprint
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] daddymikey1975:
You need a sim card. This is off topic for this thread.
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] cheeb:
Thanks...I too noticed at some point to get one of the functions with hotspot I needed to be rooted (which I no longer intend on doing...just don't have time to do the rom stuff anymore like I used to years ago).

Also, I notice that after I switch off hotspot...my internet on the phone isn't ready to go. It requires me to turn off mobile data again and then turn it back on. Once I do that all is well. So it appears there would need to be 2 separate processes. One to get the hotspot going. And then one to Turn off Hotspot...Turn off Mobile Data and then Turn On Mobile Data. This may just be my device but I followed the process from the first post.

*Edit* Also, if you try to use the internet on your phone while hotspot is active it won't work (yet internet will work on the device that is connected to the hotspot)
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] paul2112:
Try using the second tether_dun_apn without the sprint and with only the DUN at the end and let me know if that changes things for you.
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] Bdozier:
Thanks to the OP for this. I had to try a couple of times to get it to work. I have never used adb before, but it was a simple process. I figure the reason that it didn't work right the first time is because I had a typo somewhere. Maybe. I reverted back, started all over and it worked fine for me. I will note that the first time, I just unplugged and tried to get it to work. I even rebooted to try and it failed. After I reverted, I gave a command to reboot. Then I started fresh and ended with the command to reboot. This may be common knowledge, but having never done it before, I did on the 2nd try. During reboot, I unplugged. So far, so good!

Thanks again.
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] daddymikey1975:
When using adb you can also type "exit" without quotes to disconnect from the phone. Or type adb reboot to reboot the phone.

Glad it worked for you.
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] donbudafuko:
can u still just use the MSL number an get in to change the apns on 7.0?
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] fatboypup:
No
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] Bdozier:
Do the codes in the OP have any relation to any other process on the phone besides hotspot? I have noticed my phone lags more since I did this and an app or two will stop (with a pop up notifying me of that). At this point, it is something I might be able to live with, but was curious. If I decide that it is an issue, will a revert back (as listed in the OP) and/or a factory data reset fix the codes that were modified?

Thanks
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] vgomez916:
Do you need to be rooted for this?
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] meyerweb:
First line of the first post:
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] vgomez916:
Sorry wasn't working at first. Got it to work ty:)
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] deedeebulldog:
I am having the same issue with no data after using hotspot.
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] paul2112:
Did you try the fix I had proposed a few posts back?
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] deedeebulldog:
Using the static DNS? No not yet. I have just turned off and on the data. I will give it a try.
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] daddymikey1975:
You don't have to use static DNS. Just toggle mobile data.
[Sprint Samsung Galaxy S7 Edge Guides, News, & Disc] paul2112:
Try using this APN setting instead (using everything else the same like the stop / start ordering) and see if the mobile data is there during tether:

settings put global tether_dun_apn "APNDUN,n.ispsn,,,,,,,,,310,120,,dun"