Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
stevenxpham
Old
#1  
Junior Member - OP
Thanks Meter 0
Posts: 10
Join Date: Aug 2008
Default how to block data on android?

Is there a way to block data connections while running android?
I already use the nodata cab for windows but the data works while running android.
 
toasty_
Old
#2  
Member
Thanks Meter 0
Posts: 97
Join Date: Dec 2008
Quote:
Originally Posted by stevenxpham View Post
Is there a way to block data connections while running android?
I already use the nodata cab for windows but the data works while running android.
there are differnt ways:
1. easiest is to change the apn in wireless-settings (is reversible)

2. delete apns-conf:
  • make system writeable (mount /system -o rw)
  • remove /system/etc/apns-conf.xml
  • restart and wipe Data in androidloader

3. modify sysinit.rc
  • make system writeable (mount /system -o rw)
  • open /system/sysinit.rc with vi (or any other editor)
  • comment out following lines
    Code:
    service setupmodem /setupmodem.sh
       console
 
hardik119
Old
#3  
Senior Member
Thanks Meter 0
Posts: 104
Join Date: Jan 2008
Run the modem app. Click disconnect.

you will have to do this everytime you reboot your phone.

Hope that helps
Regards
 
xPreSiDenT
Old
#4  
xPreSiDenT's Avatar
Senior Member
Thanks Meter 8
Posts: 361
Join Date: Aug 2007
Location: Islamabad
use apndroid
-----------------------------------------------------------------------------
Google Nexus S
-----------------------------------------------------------------------------
ROM: Android Open Kang Project ICS
Radio: I9023XXKI1
Kernel:SG-NS-ICS Kernel
Setup: 100MHz-1100MHz, Deep Idle, BLN, SmartassV2, cfq
-----------------------------------------------------------------------------
IfAmericansKnew.org
 
mnjm9b
Old
#5  
mnjm9b's Avatar
Senior Member
Thanks Meter 91
Posts: 816
Join Date: Apr 2008

 
DONATE TO ME
for polymod's eclair:

go to Settings>Wireless & networks>Mobile networks>Access Point Names> then select your APN and then press the menu button...delete the apn. after that it will not connect again even after reboots.

if you find you need to use data again (in case of emergency...)
just go back to Access Point Names and select 'Reset to Default'. in the menu.
I have a "Donate" button...for those of you that feel compelled to do so.
However, I don't feel I deserve it. Nor will I guarantee any results in return from any such donations.
Although I do appreciate the gesture, a simple thanks will suffice.
 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
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...