• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[ISSUE][SOLVED] “Free” Wifi Tether forbidden since Android 4.1.2

Search This thread

popo72

Senior Member
Oct 18, 2011
224
70
try:

Code:
iptables -tnat -[B]I[/B] natctrl_nat_POSTROUTING 1 -s 192.168.0.0/16 -o rmnet0 -j MASQUERADE

with -I instead of -A


No way to have this DAMN TIM card working with tethering. My interface from netcfg is ccmni0 I have therefore tried the following and none of them worked:

su -c "iptables -tnat -A natctrl_nat_POSTROUTING -s 192.168.0.0/16 -o ccmni0 -j MASQUERADE"
su -c "iptables -tnat -I natctrl_nat_POSTROUTING -s 192.168.0.0/16 -o ccmni0 -j MASQUERADE"

Also tried the script on the other post suggested by traketto and:
GScript crashes, whereas Smanager returns the attached error!....Thank you anyway for your help!!...
 

Attachments

  • Screenshot_2013-05-31-21-21-17.jpg
    Screenshot_2013-05-31-21-21-17.jpg
    27.8 KB · Views: 401

traketto

Senior Member
Mar 12, 2013
50
29
Rome
No way to have this DAMN TIM card working with tethering. My interface from netcfg is ccmni0 I have therefore tried the following and none of them worked:

su -c "iptables -tnat -A natctrl_nat_POSTROUTING -s 192.168.0.0/16 -o ccmni0 -j MASQUERADE"
su -c "iptables -tnat -I natctrl_nat_POSTROUTING -s 192.168.0.0/16 -o ccmni0 -j MASQUERADE"

Also tried the script on the other post suggested by traketto and:
GScript crashes, whereas Smanager returns the attached error!....Thank you anyway for your help!!...

Have you checked the apn configs?
 

giogio87

Member
Apr 4, 2013
7
1
Problem solved

I've solved the app "iswat tether unlocker" on google play

Click on che button "unlock tethering", wait for a video completion and tethering is unlocked. :D
 

ZapBeeb

Member
Mar 29, 2012
5
0
Hi there.

I am running Android 4.3 on my Galaxy Nexus and i am not yet able to use wi-fi tethering.
Since my last visit here i switched carrier (i am on 3 now) and successfully tried usb tethering.

I repeat my question for all the people who had a similar problem.
Did you manage to connect to the phone but then had no connection, or the phone refused the connection?

I ask because i can't even connect to the phone.
 

Mrc527

Senior Member
Mar 28, 2011
171
94
Milan
www.kernel-xp.net
Hello everyone,

I had the same problem of you all guys. I've written an app, published yesterday, that will solve this problem.

The app is free, can you please give it a try and let me know if there is any problem? I'm adding support for every device, but I really need your help to test it.

Here is the link: Free Tethering Unlocker

Thanks.
 

StatBlack

Member
Sep 3, 2013
40
2
This issue probably requires Developer actions to be solved … anyway I’m posting on General section cause it’s not a properly developer thread …

Since Android 4.1.2 there’s a problem in tethering for all people that has a carrier plan that doesn’t include Tethering. I’m on Vodafone Italy with “mobile internet” plan (2GB/month). I have never had problem with tethering my data connection from my phone to a laptop or tablet but starting from Android 4.1.2 upgrade I noticed that when I activate built in wifi hotspot the APN is automatically and secretly changed from the default one (mobile.vodafone.it) to a new one (web.omnitel.it) that charges my bill with additional costs … It happened to me in the past using branded phone with branded firmware, but after rooting and switching to CyanogeMod firmware the problem was solved … now I’m on an unlocked Galaxy Nexus with CM or others custom ROM …

On 4.1.2 I bypassed this problem using dedicated app “Wifi Tether for Root”, but now on 4.2.1 also this app doesn’t work anymore (ok this is another issue, here you can find more details).

Well … rather bad … I did a lot of research on the web, and here is the most interesting thing I found:

A person working for Roger carrier stated this (see original thread and full post here ):



So, can someone confirm this behavior? Is there some Developer that can intercept the section of Android OS code that apply this flag to the data download and find the way to avoid this annoying issue??
I want to tether again without pay additional money! I’m paying for 2GB/month! What do you care, Vodafone, how I use it??

Thanks in advance!

EDIT: SOLVED!
After some time someone found a solution, at least for all users with ROOT:
Here is the solution script
Here is a method to setup the script on boot

.

Can anyone confirm the emulator edit working for them? I have the same issue on GNote 2 Rooted, Custom Rom 4.1.2 from Sprint. I can get a rooted Epic to assign a 192 address with internet but no other devices will work
 

Top Liked Posts

  • There are no posts matching your filters.
  • 7
    This issue probably requires Developer actions to be solved … anyway I’m posting on General section cause it’s not a properly developer thread …

    Since Android 4.1.2 there’s a problem in tethering for all people that has a carrier plan that doesn’t include Tethering. I’m on Vodafone Italy with “mobile internet” plan (2GB/month). I have never had problem with tethering my data connection from my phone to a laptop or tablet but starting from Android 4.1.2 upgrade I noticed that when I activate built in wifi hotspot the APN is automatically and secretly changed from the default one (mobile.vodafone.it) to a new one (web.omnitel.it) that charges my bill with additional costs … It happened to me in the past using branded phone with branded firmware, but after rooting and switching to CyanogeMod firmware the problem was solved … now I’m on an unlocked Galaxy Nexus with CM or others custom ROM …

    On 4.1.2 I bypassed this problem using dedicated app “Wifi Tether for Root”, but now on 4.2.1 also this app doesn’t work anymore (ok this is another issue, here you can find more details).

    Well … rather bad … I did a lot of research on the web, and here is the most interesting thing I found:

    A person working for Roger carrier stated this (see original thread and full post here ):
    Android 4.1.2 introduced that ability (and requirement) for Android devices to properly flag when data is for tethering purposes. This is the first time this has been used in a vanilla release of Android.
    ...
    For everyone frustrated by this update to Android: Android respecting a carrier's request to know if data is for a tethered device IS NOT A BUG. IT IS A FEATURE. It's not a feature for users like you and me, it's a feature for manufacturers like Samsung and HTC, so they can in turn build devices that carriers can have more control over.

    So, to be clear, THIS IS NOT A BUG. Google INTENDED to respect carrier tethering rules.


    So, can someone confirm this behavior? Is there some Developer that can intercept the section of Android OS code that apply this flag to the data download and find the way to avoid this annoying issue??
    I want to tether again without pay additional money! I’m paying for 2GB/month! What do you care, Vodafone, how I use it??

    Thanks in advance!

    EDIT: SOLVED!
    After some time someone found a solution, at least for all users with ROOT:
    Here is the solution script
    Here is a method to setup the script on boot

    .
    5
    So did anybody ever make a script?
    What us everybody doing for tethering?

    I'm using "Script Manager - SManager" app:
    - Create a txt file with any text editor (I used Jota, my favorite txt editor), enter the correct script and save the file on your sdcard.
    - Then open SManager, long tap on your script file and select "open as" --> "script/executable".
    - Now add "Su" and "Boot" options, save and you are ok. Your script will run with SU permission at every reboot.

    Enjoy your tethering!
    5
    R: [ISSUE] “Free” Wifi Tether forbidden since Android 4.1.2

    Excellent news for those getting this issue!

    Type this command from terminal emulator (root required):

    su -c "iptables -tnat -A natctrl_nat_POSTROUTING -s 192.168.0.0/16 -o rmnet0 -j MASQUERADE"

    Found solution here:
    http://code.google.com/p/android/issues/detail?id=38563

    Worked for me on Xylon ROM
    ;)

    Sent from my Galaxy Nexus using Tapatalk 2
    2
    Ciao Furius!
    I think I'm in the same situation as you with Vodafone Italy :silly:

    I'm running CyanogenMod 10.1 (so Android 4.1.2) with a Samsung Galaxy S2 and can't get the wi-fi thetering work: all seems ok, other devices can see and connect to the hot-spot, but can't get any data from it...

    I thought it was some problems with the nightly builds of CM, but other people are reporting that wi-fi tethering is correctly working.

    Now I read your message while searching some information about the Galaxy Nexus (my Galaxy S2 developed a faulty loudspeaker, and I'm considering to get it repaired under warranty then sell it and buy a Galaxy Nexus, I've found it at 269€) and maybe we have the same problem, but I've got Vodafone to lock the web.omnitel.it APN, to prevent costly surprises...

    I think problems arise with operators that make distinctions between different kinds of APN (like Vodafone Italy with web.omnitel.it and mobile.vodafone.it) and not with the ones that don't care about the APN you use (to my knowledge, TIM Italy doesn't care about the APN you use)

    I'll keep an eye on this topic and let you know if I find some news!

    With Vodafone Italy, even if you force the "mobile.vodafone.it" APN, the one for the mobile phone navigation, you will be charged for tethering, using the 4.2.1 native tethering.

    See this post for more detail.

    BTW, we have to find where google added the "flagging" feature, in the native tethering application.

    Do someone have any idea where to find it?
    1
    Please read forum rules before posting
    Questions go in Q&A
    Thread moved
    Thank you for your cooperation
    Friendly Neighborhood Moderator