Go Back   Android Forums > Android Phones > Samsung Infuse 4G > Infuse 4G - All Things Root

test: Reply
LinkBack Thread Tools
Old March 29th, 2012, 03:33 PM   #1 (permalink)
New Member
Thread Author (OP)
Join Date: Jun 2011
Posts: 1
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Cry Application settings reset

Hi all,

I have a strange problem with my Samsung Infuse (rooted). For some of the applications, the configuration somehow just does not stick. In other words, when I install and configure an application, if I start it again some time afterwards, it starts as if on the first launch (e.g., welcome screen pops up and settings are all reset to defaults).

Yes, cleaned up the cache
Yes, un-installed and re-installed apps in question
Yes, did factory reset
Yes, tried different ROMs (stock 2.2, OTA 2.3 and Zeus)

I have traced the issue down to /dbdata/databases/<package>/shared_prefs/<package>_preferences.xml. The scenario:
1. Install an app
2. Configure the app
3. Go to the xml file and check that settings are what they supposed to be
4. [Optional] Change file permissions to rw-rw-rw, just in case
5. Wiggle the thumbs for a while (no pattern here, in some cases a forced kill of the app does, in other times, does not have the described effect. Sometimes the app stays configured for few hours and through resets, sometimes it is back to the virgin state in seconds)
6. Restart the app
7. Go back to the xml – it is in place, but the contents are back to defaults, and the rw permissions are revoked from the world

My [highly uneducated] impression was that shared_config belongs to /data/data/<package> with the rest of the package data. In case this is indeed so, why does Infuse puts it elsewhere, and what the heck causes it then to re-write the settings file all over again? And why does this happen only to but a few very specific applications? (Titanium Backup Pro, Su Binary Updater (thinks binary is out of date each time it starts… but Superuser itself is OK), Executive Assistant, and a couple of others)

Any illuminating thoughts? Any suggestions? Garlic? Holy water? New device? …iPhone?

weakref is offline  
Reply With Quote
sponsored links
Old March 29th, 2012, 05:24 PM   #2 (permalink)
Rush's Avatar
Join Date: Jan 2011
Location: Loganville, GA
Gender: Male
Posts: 18,663
Device(s): HTC One M7 / HTC One M8
Carrier: Sprint One

Thanks: 2,928
Thanked 3,165 Times in 2,380 Posts

Hello and welcome aboard.. I've moved your thread over to its device specific forum..hopefully to get it some faster responses.
"Accept the things you cannot change, have the courage to change the things you can ...And have the Wisdom to know the difference".

Rush is offline  
Reply With Quote
Old March 29th, 2012, 09:00 PM   #3 (permalink)
AF Contributor
Mr. Lucky's Avatar
Join Date: Oct 2011
Location: SoCal
Posts: 1,607
Device(s): Nexus 5 (rooted), Galaxy Tab 10.1 (rooted), Nexus 7 (stock)
Carrier: Not Provided

Thanks: 75
Thanked 234 Times in 188 Posts

I had that problem happen once, but attributed it to having uninstalled a version from the (then) Market, and replacing it with an earlier, sideloaded version that I liked better. Configuring the app settings, deleting /dbdata/databases/<package>, and then rebooting solved it.
Sign up with Dropbox and we both get 250MB extra space; sign up for Phonepower VoIP (Promo Code: "Mr_Lucky") and get a $10.00 credit!
Mr. Lucky is offline  
Reply With Quote
infuse, samsung, settings shared_config.xml, titanium backup

Go Back   Android Forums > Android Phones > Samsung Infuse 4G > Infuse 4G - All Things Root
Thread Tools

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
Trackbacks are On
Pingbacks are On
Refbacks are On

All times are GMT -5. The time now is 07:57 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.