How To Disable Data

Author: BigBoss  //  Category: Jailbreak, News

After about a year of using various methods to get it to work right, there is now a Data Toggle for SBSettings. The problem with disabling data (EDGE) is discussed in my post from last July. Today, Anderson Vulczak contacted me with a working solution to both disable and reenable Data on 3.0 iPhone OS. So we quickly put together a Data toggle and put it into Cydia. In short, this solution sets a bogus IP address, (1.1.1.0) to your data adapter’s IP address. This seems to kill EDGE / 3G without any battery drain issues reported in using other methods such as entering a bad APN.

I recommend that anyone that needs to disable Data use this rather than the EDGE toggle. The toggle should work also with BossPrefs as well.

We are calling this “Data” toggle because when it is off, it should kill the data connection entirely. 3g can be on and you will not be able to access your internet via your provider’s data connection. You will notice you get an IP address, but it is a bogus one that we assign (1.1.1.0).

The only downside is that to reenable data, we have to kill commcenter which can freeze the device for up to 15 seconds. (Should come back to life after that though).


BigBoss Authors: Mark Bruce & Kory Lee

51 Responses to “How To Disable Data”

  1. ruben Says:

    sounds cool. Lets hear experiences (:-))

  2. Sergiu Says:

    Working, is there a way to solve the 15 sec bug?

  3. Rajiv Says:

    Thank you Anderson and BigBoss! Works on my 2G 3.1.3 unlocked/jailbroken with RedSn0w.

    Rajiv

  4. Tredstone Says:

    An INCREDIBLY useful toggle! Thank you!

  5. eprisencc Says:

    And why would you want to do this?

  6. Sigma Says:

    roaming.
    no data plan.
    PAYGO data plan.

  7. Sigma Says:

    Does this survive resprings?

    I notice that if you have all push stuff off, and turn wifi on, the data connection gets dropped (sb settings reports a data ip of N/A). If you turn wifi off, it picks up a new IP. Does this toggle override this action?

  8. Sigma Says:

    Also,

    >The only downside is that to reenable data, we have to kill commcenter which can freeze the device for up to 15 seconds. (Should come back to life after that though).

    Interesting….when I was playing around with this and setting the adapter’s ip to Local host as per our emails last July re: your post, killing commcenter had some big conflict with ultrasn0w IIRC. Commcenter would come back, but because of the unlock it wasn’t working properly and said “no sim”. Does this happen with this toggle? Also have some recollection of having to restore after shutting down commcenter and then rebooting to get it back – it just hung at the apple symbol for hours.

  9. Anderson Vulczak Says:

    I’m new at iphone world, i want to write more things like it to help all… and i hope you like it :D

    thanks for all, anything, please report!
    i’ll try to find a way to workaround the 15sec problem… but… it is better than reboot your iphone at the moment ;)

    Sigma, as i commented before, i’m new in iphone world, i don’t have a ultrasn0w unlocked phone here to test this issue, but if you have one, please, test it and say to us ;)

    Thanks again :D
    Andi_

  10. Yllier Says:

    with Firewall iP you can disable data for specific apps if you are on a cellular network

  11. mo Says:

    when i use it do i just shut off data or all three edge , 3g , and data

  12. cerefen Says:

    Tested, works fine with Ultrasn0w, works fine with Tethering Patch , however takes 15 Seconds re-enabling data, and would be nice if Edge/3G logo disappear when Data is disabled.

  13. Rajiv Says:

    I would also like the data icon to disappear in the statusbar when the Data Toggle is on.

  14. ruben Says:

    is there more testers for ultrasn0w conpatibility

  15. Mike Says:

    If you want to have a Data connection you musst turn on the Data, Edge, and 3G toggle! If i don’t do this ill get an Error in safari! Maybe you get this “Problem” solved!

  16. Sigma Says:

    >but if you have one, please, test it and say to us ;)
    Too scared since last time!

    Is there a reason you chose 1.1.1.0 over loopback?

  17. Anderson Vulczak Says:

    1.1.1.0 was the first thing that comes on my head… but it will not influence since it is a Point-To-Point connection and the destination is the same, it will never get access to internet ;)

    i’ve sent a update to 127.0.0.1, it is pretty ;D

    let’s wait

    :D

  18. mo Says:

    if you dont want a data connection do you turn off all 3 or just data

  19. treadstone Says:

    Data = OFF
    EDGE = OFF
    3G = ON

  20. PeterZ Says:

    I turn off Data Toogle and it works fine, but every time I turn off/on the iphone the Data Toogle is ON again. Do I do something wrong ?

  21. BigBoss Says:

    Sorry, but this won’t be possible. iPhone has no real way to cut off data. Springboard thinks the data is on even when its off. There’s no way to remove the icon without some additional hacking that is beyond the scope of a simple toggle.

  22. BigBoss Says:

    3g just toggles 3g vs edge. EDGE toggle should not be used along side Data. Data replaces it.

  23. BigBoss Says:

    Nope, this is how it works. I believe the moreinfo talks about that.

  24. Ton Says:

    Thank you for the update, this was a solution for my phone which was draining my battery in 24 hours. I am so happy to get that solved!

  25. Sergiu Says:

    BB! Still not working corectly, everytime i open an inet application, i cap hear in my speakers that it’s accesing the mobile network! I have an ideea of a good togle. Could you make the old toggle edge, when activated to change the apn to keep the internet APN, and wen off to change the apn to something else? (both apn to be introduced by the user, because diferent apns are used by networks). What do you say?

  26. Anderson Vulczak Says:

    in my 3gs apn’s doesn’t work, i dunno why, but doesn’t work…

  27. Kimiimacman Says:

    All seems fine but when I toggle the Data Toggle I loose 99% of my sound volume, To correct this I have to restart the phone. 2G on OS 3.0
    Cheers

  28. DavidH Says:

    Will the Data toggle eventually replace the Edge toggle in the “packaged” toggles that are installed with SBSettings? Any reason not to delete the Edge toggle?

  29. PeterZ Says:

    Thanks.
    Wonderful job :D

  30. Melanie Says:

    I just tried this amazing toggle but when I disabled both, WiFi and the data toggle, my iPhone is still able to sync which means there is still a data connection, I guess.
    Any idea if I made a mistake or need to (de-)activate something else additionally?
    Thanks !!!

  31. Bardiya Says:

    it works fine but My data ip is 127.0.0.1 and not 1.1.1.0! is this an update or I did something wrong!? I reinstalled and It stays the same.

  32. _Sigma Says:

    Check further up, he said he updated it.

    I personally think localhost is better, as it isn’t technically an invalid IP address.

  33. Justinred Says:

    Works great! I hope on later updates, data toggle would stay in off position after a reboot. As of now, it reverts to on position after a reboot.

  34. justing6 Says:

    It only toggles off data, not cell service entirely. That means that phone will still talk to the network.

  35. abou Says:

    Hi

    My Data toggle is OFF, but my Data IP adress is 10.5.0.152 :(

    Help please.

    I have a way to make Data toggle set at OFF at load.
    Regards

  36. Anderson Vulczak Says:

    search for Data Blocker, it does it after reboot =)

  37. abou Says:

    … and of course, Data Blocker is installed!

  38. fredv Says:

    The problem is when i reactivate it asks for my PIN Code.. quite annoying !!

  39. fco Says:

    My 2g 3.1.2 Iphone its still get connected even if this data toggle is disabled. I had to get back to the fake apn sb toggle.

  40. Rajiv Says:

    Anyone having increased battery loss issues in the last week? I’ve been using this toggle since it was released on my 2G 3.1.3 on T-Mobile USA.

    Only a few days ago, however, with the toggle set in the “off” position, my phone gets “no signal”, and it appears like the phone wants to acquire a new Data IP address for EDGE access.

    Anyone have any thoughts?

  41. Mike Says:

    This appears to work fine for iPhone 3g firmware 3.0. My question is will it also work for the newer apple firmwares please? Thanks for devising this which is useful in fixing the leaking data tap!

  42. Mike Says:

    I’m afraid that after leaving the last comment I have experienced quick battery drain from a full battery to the iPhone shutting down within an hour so have had to uninstall. I also tried Data Blocker but experienced the same problem. I have been using pay as you go sim cards from Asda & Talk Mobile in the UK both of which use the Vodafone UK network. I also tried Fake Apn with the same problem. No specific Apn details are listed when using these Sim cards. My iPhone is 3g 3.0. Hope this information helps.

  43. Mike Says:

    Update to my last post Big Boss’s 7 steps works a treat. By disabling Edge Push & Notifications no data or battery drain. Thanks very much for this fix. Using iPhone 3g 3.0 firmware. My only remaining question is will this also work on any more newer firmware, just in case I decide to update this in the future.

  44. hi Says:

    Hello !! installed sbsettings on 3.1.2 then installed datablocker , then installed data toggle switched it to off but data IP is showing same Ip not 1.1.1.0

  45. Barkat Says:

    Hmm checout the website http://www.unlockit.co.nz to block your apn address & data package plan from your service provider

  46. Alain Says:

    it’s still scrambling the sound on my iphone 2G 3.1.3 :( the volume of the whole phone decreases abnormally after using it…
    everytime i use it, i have to restart the phone :(
    Bigboss could u just look at this issue?
    this is the same as post 17.
    thanks!

  47. Alain Says:

    to reproduce the issue, u should disable data using the toggle then re-enable it. then check out the sound of the phone.
    thx

  48. Joel johnson Says:

    Would i have to pay the data plan anymore please reply

  49. Macphisto Says:

    An idea why my device freezes during 2min30sec instead of the 15sec announced?

    3G – 3.1.3 – Ultrasnow

    Regards

  50. TutorN Says:

    Hey Abou How Did You Set The State Of DATA Toggle when iPhone Turn on . I have trouble when i forgot to turn it off !

  51. Keiko Says:

    I tried this mothed but it simply does not work. When I run an old game or application that disables desktop composition, Aero no longer restarts automatically after and I MUST log off and back on for it to be restored… Anyone have this issue and found a solution?

Leave a Reply