Disable Data Access Over Mobile Network By Default - Android Q&A, Help & Troubleshooting

My problem is...
At the first loading of flashed rom checkbox "Data Allowed" in the Mobile Network Settings ENABLED by default
I do not use unlimited Internet therefore
I need some flashable patch update.zip which I can flash after the rom for switching this option to DISABLE
It is Really? Where android save this setting?

twofish85 said:
My problem is...
At the first loading of flashed rom checkbox "Data Allowed" in the Mobile Network Settings ENABLED by default
I do not use unlimited Internet therefore
I need some flashable patch update.zip which I can flash after the rom for switching this option to DISABLE
It is Really? Where android save this setting?
Click to expand...
Click to collapse
It would probably be a lot easier to use an app like tasker to crate a profile that on device startup disables mobile data. Then before you switch ROMs backup your tasker profiles and the taker app. Then when you switch ROMs just immediately reinstall tasker and restore the profile to disable mobile data and you should be all set.
Sent from my SCH-I535 using xda premium

shimp208 said:
just immediately reinstall tasker and restore the profile
Click to expand...
Click to collapse
I think it is longer than manually swith "Data enabled" option off, am I right?
May be my English so bad...
May be I need to start this topic in another Threed ? Advice to me.
Look, I download some Custom ROM (Cyanogen based for example, it does not matter). I wish to Flash it. After "wipe data" all my settings deleted. I flash the ROM. I know that by default data access over mobile network is ON. I should to take out my SIM card before first load of ROM. After first loading finished
I manually swith "Data enabled" option OFF. I turn OFF smartphone. I connect my SIM card. I turn ON smartphone.
So many stupid steps just to try and test new Custom ROM....
I wish some patch (like GAPPS) to flash it immediately after the flashed ROM for switching OFF "Data enabled" option
Help me please :crying:

You could try changing the build.prop settings or something similar in radio configuration options and create a flashable zip (Look at this guide forum.xda-developers.com/showthread.php?t=1611615) that modifies these properties using edify scripting that you could then turn into a flashable zip.

twofish85 said:
I think it is longer than manually swith "Data enabled" option off, am I right?
May be my English so bad...
May be I need to start this topic in another Threed ? Advice to me.
Look, I download some Custom ROM (Cyanogen based for example, it does not matter). I wish to Flash it. After "wipe data" all my settings deleted. I flash the ROM. I know that by default data access over mobile network is ON. I should to take out my SIM card before first load of ROM. After first loading finished
I manually swith "Data enabled" option OFF. I turn OFF smartphone. I connect my SIM card. I turn ON smartphone.
So many stupid steps just to try and test new Custom ROM....
I wish some patch (like GAPPS) to flash it immediately after the flashed ROM for switching OFF "Data enabled" option
Help me please :crying:
Click to expand...
Click to collapse
Flash ROM without sim card, boot then disable 'data'. Once done, insert sim again.
Sent from my LG-P500 using xda premium

shimp208 said:
You could try changing the build.prop settings or something similar in radio configuration
Click to expand...
Click to collapse
Somebody knows which settings exactly?
myawan said:
Flash ROM without sim card, boot then disable 'data'. Once done, insert sim again.
Click to expand...
Click to collapse
I did that always, but I began this subject to avoid it

Related

Disable Wifi before boot? - HW problem

HI,
As it seems my sgs2 have some hardware problems with wifi -> when I try to activate/deactiva it, the state freezes, but phone stil works normal (without wifi offcourse). Now the wifi status is enabled and every time I tried to deactive it, process "android system" freezes. Also when I turn off/reset phone the wifi is still enabled (remember the settings from before somehow) or in the midle state (turing off).
So my question is: where I can set wifi to stay off when you turn phone on (.conf file maybe) So when the phone is turned on, wifi won't be activated.
I don't want to do factory reset yet.
Tnx
I backup with clockworkmod, then do the system reset and restore back only the data and still the same
If I only do the system reset then wifi in disabled. THIS IS OK, but I have to install all apps and do much settings.
So I really appriciate it if someone know hot to disable wifi on boot?
I also try to add some lines in file /system/build.prop to disable wifi, but without success
Looks like you need to do a full reset and a clean flash...
look into chainfires thread in i9100 original Android Dev section, find the firmware for your phone and flash away
Sent from my GT-I9100 using xda app-developers app
Tried to flash it with this offical firmware I9100XWLPT (4.0.4):
http://forum.xda-developers.com/showthread.php?t=1544487
But the wifi stil can't be activated! I install program alogcat and that error appear a lot of times: "supplicant not running, cannot connect"
So I'm back to my old stable version 2.3.5.
I only need to figute out how to disable wifi, so the phone will work normal
goldy1234 said:
Tried to flash it with this offical firmware I9100XWLPT (4.0.4):
http://forum.xda-developers.com/showthread.php?t=1544487
But the wifi stil can't be activated! I install program alogcat and that error appear a lot of times: "supplicant not running, cannot connect"
So I'm back to my old stable version 2.3.5.
I only need to figute out how to disable wifi, so the phone will work normal
Click to expand...
Click to collapse
it's obvious to be a SW problem
just make a full wipe ( wipe cache,data/factory reset,dalvik cache ) and try to install a new rom like sensation .. i've tried it and it's really stable and everything should be working well with u
if this fails .. so take it to service center
or you could use titanium backup, first nav. to apk folder and copy paste wifi apk's, two i think, into a new folder then delete the apps using tb then wipe dalvik cache reboot let it redo app optimisation this will put apps allready installed on then reinstall wifi apk's. failing this as evryone says below.
Still don't know my main question:
Where I can set wifi to stay off when you turn phone on (.conf file maybe) So when the phone is turned on, wifi won't be activated.
goldy1234 said:
HI,
As it seems my sgs2 have some hardware problems with wifi -> when I try to activate/deactiva it, the state freezes, but phone stil works normal (without wifi offcourse). Now the wifi status is enabled and every time I tried to deactive it, process "android system" freezes. Also when I turn off/reset phone the wifi is still enabled (remember the settings from before somehow) or in the midle state (turing off).
So my question is: where I can set wifi to stay off when you turn phone on (.conf file maybe) So when the phone is turned on, wifi won't be activated.
I don't want to do factory reset yet.
Tnx
Click to expand...
Click to collapse
This looks like kernel issue.
Try to change your kernel to a custom one.
Personally, I'll recommend Siyah or Speedmod
Swyped from my Samsung Galaxy SII
Tried different kernels, but I got HW issue!
Found something useful, but this is can be done after boot:
Use Android Terminal Emulator and enter:
svc wifi disable
Finally!! I find the solution:
I have to edit this file: (I use app aSQLiteManager and aShell to edit .db file)
/data/data/com.android.providers.settings/databases/settings.db
Inside database file is a table called secure and the field wifi_on has to be changed from 1 to 0.
After reboot wifi was disabled.
You could do that if you phone has hardware issues with WIFI module. Otherwise Andoid OS is very unstable.
Hi, i have a question. If my database file called secure doesn´t have wifi_on field? .... just i have to add the field or what? thanks

gt-i9100p no more apn visible and no more data connection

Hi all,
i have today issues regarding data connection on my sgs2
my phone :
gt-i9100p89
siyah kernel 4.1.4
primary rom stok 4.0.4
secondary rom cm10 nightly (jb 4.1.1)
i was using my primary rom and i found that no data conenciton was avalable, i checked the apn and there was no more entry on the menù.
open extweak and checked that profile used was defualt, open cwm manager 3.15 and press reboot normally.
the phone reboot and was up on my primary rom without ask for sim pin code (i use it)..... data not working apn not present (tryed to configure new apn and it will disappear as fast as i create it...).
other reboot and select secondary rom, same behaviour.
try to turn off mobile and turn on on left boot timeout expiring (gone to primary rom) and the apn appear as magical thing.....
any other this issue ? any ideas?
thank u very much for any feedback.
fabrizio
frankastle said:
Hi all,
i have today issues regarding data connection on my sgs2
my phone :
gt-i9100p89
siyah kernel 4.1.4
primary rom stok 4.0.4
secondary rom cm10 nightly (jb 4.1.1)
i was using my primary rom and i found that no data conenciton was avalable, i checked the apn and there was no more entry on the menù.
open extweak and checked that profile used was defualt, open cwm manager 3.15 and press reboot normally.
the phone reboot and was up on my primary rom without ask for sim pin code (i use it)..... data not working apn not present (tryed to configure new apn and it will disappear as fast as i create it...).
other reboot and select secondary rom, same behaviour.
try to turn off mobile and turn on on left boot timeout expiring (gone to primary rom) and the apn appear as magical thing.....
any other this issue ? any ideas?
thank u very much for any feedback.
fabrizio
Click to expand...
Click to collapse
it might be due to the modem and ril mismatch i hope.
try installing 'GetRil' app from stores and match the ril with ur modem and then see for the issue
u are right friend.
i tryied with getril app and result is that ril and bb doesn't match.
hi try to "abuse" of your friendness asking again:
1) that app it's working fine and can i trust using get and install suggested ril from app itself? i never use it before.
2)i have downloaded the rom from samfirmware and it comes as tar file, i just flashed it via odin, so how it is possible that ril and bb doesn'd match between them?
many thanks for you previous suggestion and for any other in the future.
fabrizio

[Q] Rooting problem, no network service / bad radio?

Hi,
I own the Leagoo Lead 1 (MTK6582 phone) and followed these instructions to root my phone
http://www.needrom.com/download/leagoo-lead-1/
Everything else works, but I have no network service. I tried everything, checking hidden settings (for radio setings), checking correct APN:´s, re-rooting etc.
I can either get the network to work via using "GSM only" (so no data connection and even SMS wont work)
or then using "WCDMA only", only data conneciton, no voice call possibility or SMS/MMS
This is really strange that both voice & data wont work at the same time!
Can someone please instruct me what I could do:
1. try to flash some other radio? I read there are some risks involved with this --> but what kind of radios could I try (I.e.could some HTC or Samsung specific radio work)
- if so, what should I name the .zip file for it to work in recovery (I tried putting one radio file to my external SD and flash it in recovery but it wont do anything)
2. Can I try to flash some random Android ROM to my phone and see if it works? I know this is a big risk but I searched the forum and found some "custom ROM"´s that might work on many devices.
3. Is there some way to edit the radio settings except the very basic options in hidden commands --> radio settings. (i.e. can it be related to me being in Finland vs. some other region?)
Thanks for your help.
Cheers.
Can any of you experts help me on this ?
thank you

Mobile network wont work.

So I installed Cyanogenmod 12.1 Android 5.1.1 to my Sony Xperia Z2, and after installation my phone wont connect to mobile network. Wifi works, and phonecalls work. There is exclamation mark in the signal icon, and when i connect to wifi it disappears. I didnt find any mistakes in APN. Could it be wrong baseband? Or what could it be?
Maybe internet settings are missing ? go to settings>more> internet settings> download settings for Internet and MMS. (I had the same problem but it is working fine now)
Batuhanozerr said:
Maybe internet settings are missing ? go to settings>more> internet settings> download settings for Internet and MMS. (I had the same problem but it is working fine now)
Click to expand...
Click to collapse
I wont find the section "internet settings" and "download internet settings". I think I need to download them, but how can i download if i dont even find that option.. Im getting little frustrated. Could you send Screenshot, that where that option is suppose to be?
Eduxxexx said:
I wont find the section "internet settings" and "download internet settings". I think I need to download them, but how can i download if i dont even find that option.. Im getting little frustrated. Could you send Screenshot, that where that option is suppose to be?
Click to expand...
Click to collapse
Check APN settings under the Wireless & Networking menu.You’ll find that no APN has been set. You’ll need to choose the one for your mobile operator or worse – manually enter the APN settings.After setting the APN you could need to restart your phone
Batuhanozerr said:
Check APN settings under the Wireless & Networking menu.You’ll find that no APN has been set. You’ll need to choose the one for your mobile operator or worse – manually enter the APN settings.After setting the APN you could need to restart your phone
Click to expand...
Click to collapse
I have dont that, and No help.. Could it be the baseband version problem? Im trying to install stock rom, test it if it then would work..
Call *#*#4636#*#* to enter phone settings or use this app and select Additional Info
Select Phone information
Set prefered network type to CDMA auto (PRL) and wait until your phone connects to 3G
Change prefered network to LTE/GSM/CDMA auto (PRL) maybe this works? If not I am sorry
Batuhanozerr said:
Call *#*#4636#*#* to enter phone settings or use this app and select Additional Info
Select Phone information
Set prefered network type to CDMA auto (PRL) and wait until your phone connects to 3G
Change prefered network to LTE/GSM/CDMA auto (PRL) maybe this works? If not I am sorry
Click to expand...
Click to collapse
Now i flashed stock rom and mobiledata works fine. Ill give cyanogenmod one more try..
Eduxxexx said:
So I installed Cyanogenmod 12.1 Android 5.1.1 to my Sony Xperia Z2, and after installation my phone wont connect to mobile network. Wifi works, and phonecalls work. There is exclamation mark in the signal icon, and when i connect to wifi it disappears. I didnt find any mistakes in APN. Could it be wrong baseband? Or what could it be?
Click to expand...
Click to collapse
The exclamatory means that there is no internet access. Ask your service provider for manual internet settings.
Laz said:
The exclamatory means that there is no internet access. Ask your service provider for manual internet settings.
Click to expand...
Click to collapse
Now i have stock rom ranking,and after i installed the internet settings from mobile network settings, mobile data started running. In cyanogenmod i didnt have that option in settings so I think thats why mobile data didnt work on cyanogenmod.. How can i get cyanogenmod mobiledata working, without the option to install network settings?
Eduxxexx said:
Now i have stock rom ranking,and after i installed the internet settings from mobile network settings, mobile data started running. In cyanogenmod i didnt have that option in settings so I think thats why mobile data didnt work on cyanogenmod.. How can i get cyanogenmod mobiledata working, without the option to install network settings?
Click to expand...
Click to collapse
There is no other go. U have to call them and ask them to send it
Same Issue
I have the same issue and it seems that I can't set up APN.
Penguin-Knight said:
I have the same issue and it seems that I can't set up APN.
Click to expand...
Click to collapse
Yeah, i can Set APN but it wont help at all. I have no idea what is the problem.
So i just installed cyanogenmod 12.1 AGAIN and still no mobiledata, but with the stock rom it worket just well... What can i do, im out of options
Eduxxexx said:
So i just installed cyanogenmod 12.1 AGAIN and still no mobiledata, but with the stock rom it worket just well... What can i do, im out of options
Click to expand...
Click to collapse
I tried the same but still the same result so I have given up on going back to CM and stick to stock.
Try factory resetting the phone
Sent from my SM-T231

Disable quicklaunch toggles enabled by default after factory reset. (which file?)

After the first phone launch, few buttons are enabled like, GPS, MOBILE DATA, SYNC by default.
I want to edit the file responsible for these buttons and disable them by default.
Any idea which file should I edit?
I wonder what this option looks like: GPS.toggle.enabled=true/false?
in general in all the roms you can configure the toggles to remove or add options
first of all what android version do you have?
its custom rom based on 4.1.2 version
And i don't want remove/add the toggle. I want these buttons to be turned off (inactive) at the first phone launch. Need set it in system file permanently.
That if someone installs or full wipe this rom, gps and mobiledata will not be active. Like it is set somehow by default.
I really do not understand much of the subject if I deactivate for example Sync this will remain inactive even if I restart the mobile
* I hope that someone else can help you
Abels2 said:
I really do not understand much of the subject if I deactivate for example Sync this will remain inactive even if I restart the mobile
Click to expand...
Click to collapse
But is not after factory reset and setup wizard. GPS, Sync, and mobile data are enabled, I want to change it.
Now you should understand.
Which system file I have to edit to disable quicklaunch toggles button enabled by default after factory reset. Because I'm editing my custom rom
Its propably in SecSetting.apk or SecSettingProvider.apk
openforu said:
But is not after factory reset and setup wizard. GPS, Sync, and mobile data are enabled, I want to change it.
Now you should understand.
Which system file I have to edit to disable quicklaunch toggles button enabled by default after factory reset. Because I'm editing my custom rom
Its propably in SecSetting.apk or SecSettingProvider.apk
Click to expand...
Click to collapse
The only thing that occurs to me is that you make a backup of these files before returning from the factory, I understand that what you want to do will not be possible with the roms of samsung can with CM if
I found it
SecSettingsProvider\res\values\bools.xml
<bool name="def_airplane_mode_on">false</bool> so if i change it to true, airplane mode is enabled after factory reset. But i cant find mobile data and gps, propably i have to write new..
openforu said:
I found it
SecSettingsProvider\res\values\bools.xml
<bool name="def_airplane_mode_on">false</bool> so if i change it to true, airplane mode is enabled after factory reset. But i cant find mobile data and gps, propably i have to write new..
Click to expand...
Click to collapse
I think that if the airplane mode is activated, the data and gps are not activated
edit: no, just turn off the data you will have to find the place for GPS
I tried to add new line
<bool name="def_mobile_data">false</bool>
but thats not working
however on strings.xml
<string name="def_location_providers_allowed">gps</string>
if I delete "gps" and leave it empty its working, gps are off by default first succes
But I have not figured out yet how to disable data

Categories

Resources