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
Related
Can anyone help me to fix my call problem on sg2..the problem is when i take a coming call, the screen turn normally off while talking, but after finishing the call, the screen stay off and can't turn it on ?? although the phone is still on, no button respond,so i need everytime to reboot the phone i thought about the light sensor or a rom problem but i used many roms..the problem stay the same:'( has anyone experienced the same issue with its phone ? any solution please ???
santacruzdz said:
Can anyone help me to fix my call problem on sg2..the problem is when i take a coming call, the screen turn normally off while talking, but after finishing the call, the screen stay off and can't turn it on ?? although the phone is still on, no button respond,so i need everytime to reboot the phone i thought about the light sensor or a rom problem but i used many roms..the problem stay the same:'( has anyone experienced the same issue with its phone ? any solution please ???
Click to expand...
Click to collapse
Just a suggestion:
1. Try to clear phone/dialer app data.
Settings menu => Applications => Manage applications => All => Dialer => Clear data.
2. Try to disable the environment sensor.
Settings menu => Dial / Call => Environment sensor (disable).
3. Try another Modem/Baseband file.
You can download another modem file, e.g. from here => http://forum.xda-developers.com/showthread.php?t=1277593&highlight=Modem+XXKI3
and flash it using PHONE section in Odin.
4. Try to use another/custom phone app.
Search a little bit and you will find several customized phone.apk files which seem to work stable (and optimize some settings of stock phone.apk).
As this is on your own risk, you should backup stock phone.apk (or better the whole system) before.
Good luck !
It_ler said:
Just a suggestion:
1. Try to clear phone/dialer app data.
Settings menu => Applications => Manage applications => All => Dialer => Clear data.
2. Try to disable the environment sensor.
Settings menu => Dial / Call => Environment sensor (disable).
3. Try another Modem/Baseband file.
You can download another modem file, e.g. from here => http://forum.xda-developers.com/showthread.php?t=1277593&highlight=Modem+XXKI3
and flash it using PHONE section in Odin.
4. Try to use another/custom phone app.
Search a little bit and you will find several customized phone.apk files which seem to work stable (and optimize some settings of stock phone.apk).
As this is on your own risk, you should backup stock phone.apk (or better the whole system) before.
Good luck !
Click to expand...
Click to collapse
Thank you for you help...i tried the mentioned alternatives but didnt work :-( i think i need to send it back to get another one . thanks again !
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
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
Hello,
Do you have the same bug than me ?
On the taskbar, after a reboot, the shortcut of NFC is empty and it don't work (see my screenshot) (sometime, screenshots don't load ;press F5)
If I "click" on S Beam , the NFC is activated (like on this screenshot)
But if I try to desactivate NFC with his shortcut, i've an error like this:
After this error the IU Syst restart and all the shortcuts works
I think , it's only a bug with the taskbar because when you go in settings menu, you can des/activate NFC without crash.
I try with other shortcuts and only NFC is buggy
I'm the last stock firmware (I9300XXEL4).
Thanks
Hello,
I tried a wipe cache partition and nothing change.
bye
Edit: a factory reset solved the problem
rifmouk said:
Hello,
I tried a wipe cache partition and nothing change.
bye
Edit: a factory reset solved the problem
Click to expand...
Click to collapse
I have the same bug... but i don't want doing a factory reset for this.
Same bug with DMB2 and DMB6 rom.
So I have 3 Questions hopefully someone can answer this.
I am building a custom rom but I need to have the following;
1. Custom App shortcut set on desktop (this must survive a factory reset meaning app should show up in the same location even after a factory reset) How can this be accomplished?
2. Enable Data Roaming ON even after factory reset
3. Mobile Data must be enabled even after a hard reset
Thanks,
Max