Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
npace
Old
(Last edited by npace; 9th June 2010 at 02:35 AM.)
#1  
Member - OP
Thanks Meter 0
Posts: 95
Join Date: Nov 2008
Default PLEASE MOVE BACK TO DEV FORUM:: FIX the stock sprint hotspot app in rooted ROMs

EDIT: Moderators, please move this back to the DEV forum. It's an outstanding issue that ROM DEVs should know about.

I've noticed that the sprint hotspot app doesnt work in any of the rooted ROMs -- it connects but the computer has no internet access.
I added in the sprint hotspot $30/mo to my account and still didn't work.
I tried it in the stock rom, it works via 3g just fine.

So, got back on the rooted rom and the fix is pretty simple:

Code:
adb shell 
su
iptables -t nat -A POSTROUTING -o rmnet0 -j MASQUERADE
I just don't know how to fix it permanently so I don't have to do it every reboot. It's gotta be simple. Any ideas?
 
1wingangel
Old
#2  
1wingangel's Avatar
Senior Member
Thanks Meter 2
Posts: 640
Join Date: Dec 2009
Location: Midgar
Quote:
Originally Posted by npace View Post
I've noticed that the sprint hotspot app doesnt work in any of the rooted ROMs -- it connects but the computer has no internet access.
I added in the sprint hotspot $30/mo to my account and still didn't work.
I tried it in the stock rom, it works via 3g just fine.

So, got back on the rooted rom and the fix is pretty simple:

Code:
adb shell 
su
iptables -t nat -A POSTROUTING -o rmnet0 -j MASQUERADE
I just don't know how to fix it permanently so I don't have to do it every reboot. It's gotta be simple. Any ideas?
will this work if you don't pay $30/mo?
Hello Larry, Hello Larry. Evo vs. Iphone4.....BAM!!!! Evo wins!
 
adelaney
Old
#3  
adelaney's Avatar
Senior Member
Thanks Meter 1
Posts: 323
Join Date: Dec 2009
Location: Olympia, WA
Mine worked without it.
Rooted Evo4g, Cyanogenmod 6, 32g Class 2, Amon Ra Evo 1.7.0.1, Protected by Bodyguardz and Seido Innocase II,
1750 mah, 673ms, 55fps, 1.2ghz


Old phones:
Sprint Hero
Blackberry Tour 9630
Blackberry Curve 8330
Blackberry Pearl 8130
Samsung A920
Sanyo 8900
Sanyo 4200
 
davebu
Old
#4  
Senior Member
Thanks Meter 21
Posts: 859
Join Date: Dec 2007
Location: Chicago

 
DONATE TO ME
if you root why pay the $30 instead of using the free wifi router app???
 
laydros
Old
(Last edited by laydros; 8th June 2010 at 03:55 AM.)
#5  
laydros's Avatar
Senior Member
Thanks Meter 34
Posts: 469
Join Date: Jun 2010
Location: Raleigh
Until sometime in July the hotspot works for free as long as you are on 4G. Some kind of loophole that Sprint isn't really acknowledging.
 
adelaney
Old
#6  
adelaney's Avatar
Senior Member
Thanks Meter 1
Posts: 323
Join Date: Dec 2009
Location: Olympia, WA
Yeah, I just got off the phone with Sprint. She said is wasn't the same thing first. The said it wouldn't work if I didn't pay for it. She may be wrong on both counts. They never seem to know what they are talking about. I'll stick to WiFi tether just to be safe.
Rooted Evo4g, Cyanogenmod 6, 32g Class 2, Amon Ra Evo 1.7.0.1, Protected by Bodyguardz and Seido Innocase II,
1750 mah, 673ms, 55fps, 1.2ghz


Old phones:
Sprint Hero
Blackberry Tour 9630
Blackberry Curve 8330
Blackberry Pearl 8130
Samsung A920
Sanyo 8900
Sanyo 4200
 
suicideking
Old
#7  
Junior Member
Thanks Meter 0
Posts: 5
Join Date: May 2010
the 4g hotspot works for me but if i tried turning on the hotspot in a 3g area i get a error code 67. pretty stupid of sprint
 
andrew500
Old
#8  
Member
Thanks Meter 0
Posts: 39
Join Date: Mar 2009
This thread is garbage right now. I can't extract a single useful piece of information from it.

What lead you to discover the IP-tables hack?

Does the sprint app still change your apn data?

Does HTC Sync USB tethering work?

What root method are you using?

Does it work without the $30 fee?
 
npace
Old
#9  
Member - OP
Thanks Meter 0
Posts: 95
Join Date: Nov 2008
Quote:
Originally Posted by andrew500 View Post
This thread is garbage right now. I can't extract a single useful piece of information from it.

What lead you to discover the IP-tables hack?
Andrew,
First, thanks for your great work on the wifi infrastructure mode.

I was just trying to get the stock hotspot app to work on rooted roms for people that do want to pay $30 bucks a month. It connects, DHCP works, I get an IP, but no internet... so that made me thing that masq didn't work properly...

Since this was one of the few things I remember back from ipchains days along with the /etc/ip_forward file containing "1", I simply tried it.
Turns out it fixes my issue.
Quote:
Does the sprint app still change your apn data?
If it did it before the iptables command, it would be doing it after as well.
This is not a sprint issue -- it's an issue with the ROMs
Quote:
Does HTC Sync USB tethering work?
I dont know -- I can't get my computer to "see" it

Quote:
What root method are you using?
Toast's -- never tried the unrevoked.
Also used flipz roms and the android central ones (1.1 and 1.2)

Quote:
Does it work without the $30 fee?
No. I never implied it does. You should get the Error 67 or whatever if you don't pay but try to tether with 3G.

So I was just hoping someone would have a permanent fix in a future rom.
 
npace
Old
#10  
Member - OP
Thanks Meter 0
Posts: 95
Join Date: Nov 2008
bump. please move to dev

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

Boot Animation Paradise for your Android Device

The default boot animations on any device, no matter whichmanufacturer, are generally pretty … more

Flash Custom ROM and Recovery to Samsung Galaxy S 4

After reading about Dan Rosenberg’s bootloader exploit for the Samsung Galaxy S 4,I … more