[MOD] Disable Mobile Data On First Boot

Juhan Jufri

Senior Member
May 28, 2012
1,019
413
0
22
Singapore
What's this?
As the title mentioned above, It disables your mobile data right after flashing a rom through recovery so that your money won't be deducted after boot

Personal Information
For me, I use it because I use a prepaid card and every time the mobile data is enabled after boot. It deducts some amount of money from my prepaid causing me to lose money every time I flash a new rom.

What is modified?
apns_conf.xml which can be found in system/ etc

How to flash?
1. Flash any custom rom that you would like to use through recovery
2. When it's done, go to mounts & storage and mount /system
3. Flash MobileDataOff.zip from attachments below
3. Reboot system and enjoy a safer way to flash roms

If you have any questions or requests, please feel free to comment below and make sure to hit thanka if this works for you. :good:
 

Attachments

ThaiDai

Senior Member
May 28, 2011
2,536
2,573
203
Aachen/หนองบัวลำภู
And your really think only the empty file is the solution?

<apns version="6">
</apns>

Just look into this thread. In the script the original conf is restored after the initial copy of the empty file.
And there is a hint that pressing the end call button might help instead (didn't try because I do not need it).
 

Juhan Jufri

Senior Member
May 28, 2012
1,019
413
0
22
Singapore
Be fast while setting up your phone and disable the mobile network before it even establish a connection

Sent from my GT-N7000 using Tapatalk 4 Beta
Been there done that. Sometimes some roms have setup wizards which takes quite a while to load. And sometimes for what reason my prepaid decreases from a 2 to a 1 digit number. That's why I decided to do this mod.
 

Juhan Jufri

Senior Member
May 28, 2012
1,019
413
0
22
Singapore
And your really think only the empty file is the solution?

<apns version="6">
</apns>

Just look into this thread. In the script the original conf is restored after the initial copy of the empty file.
And there is a hint that pressing the end call button might help instead (didn't try because I do not need it).
yup the reason I made this into a flashable zip is because some people [like me] don't know how to run scripts or adb.
Okay going to update this to include credits and a restore file so that it does the same function as the script
 

napster00795

Senior Member
Jun 28, 2013
75
3
0
And your really think only the empty file is the solution?

<apns version="6">
</apns>

Just look into this thread. In the script the original conf is restored after the initial copy of the empty file.
And there is a hint that pressing the end call button might help instead (didn't try because I do not need it).
Does this work?
 

rajeshkoshti

Senior Member
Apr 26, 2013
415
250
73
well, nice.
i usually insert a spare sim with zero balance (i knw we all hv spare sim cards). this way i setup everything reatore titanium backup, contacts etc. n finally i change my sim to the one which i normally use..
ummm hmmmm??
and NO.. few ROMs out there want sim to be insrted so this might do the trick to fool Newly flashed ROM..

Sent from my GT-N7000 using xda app-developers app
 
Last edited: