samsung galaxy s forum
Find Your Forum
  
Welcome, Guest. Please login or register.

News: Do you like Samsung Galaxy S?    
Advanced search
Scratch-Proof your Samsung Galaxy S                      Best Screen Protector for Samsung Galaxy S Cheap Cell Phone Accessories
Bookmark Samsung Galaxy S Forum
Pages: [1]   Go Down
Print
Share this topic on AskShare this topic on Del.icio.usShare this topic on DiggShare this topic on FacebookShare this topic on GoogleShare this topic on LiveShare this topic on MySpaceShare this topic on RedditShare this topic on SquidooShare this topic on StumbleUponShare this topic on TwitterShare this topic on YahooShare this topic on Google buzz
Author Topic: Battery removal cause configuration lost and applications stopped unexpectedly  (Read 8777 times)
FlorentBL
Jr. Member
**

Karma: +1/-0
Offline Offline

France France

Posts: 11


View Profile
« on: April 18, 2011, 04:15:02 PM »

Hi all,

I have experienced for the second time a lost of my configuration after a battery removal. The first time, I suspected it was the consequence of an upgrade without resetting to default factory, so I did the reset, then flash the SGS with an "official" unrooted ROM from SAMSUNG : Froyo XWJS8

After that, my SGS worked fine for about three weeks. I set up Go Launcher, setup several applications, widgets, and so on without any problem. From time to time, I got the device rebooted, and even once got the battery out for three hours flawlessly.

But today, after a similar battery removal, the reboot went wrong:
1. The first setting tutorial appeared (which began to alarm me)
2. Several applications stopped unexpectedly (k9mail, gtasks, etc.) including Go launcher : very bad trip  Sad
3. Fortunately I hadn't uninstalled the stock home launcher, and it appeared to be usable

Upgrading Go Launcher didn't solve the problem. I had to uninstall and reinstall it, in order to be able to launch it again. Unfortunately, the whole configuration has disappeared (and my backup configuration was a little bit old  Crying)

Besides, all my widgets have gone with the wind and some applications that were previously installed also lack.

I know a way to get the whole thing up again : reset to factory and reinstall!
But I would like to understand:
- why such a crap can happen?
- is it a hardware failure?
- why some applications crash or have disappeared and others don't?
- is there a way to recover the applications configurations?

Any hint will be appreciated.

Thanks by advance.



Best Screen Protector

Samsung Galaxy S formerly locked by Orange
Froyo XWJS8
Go Launcher
kiwi3007
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 2



View Profile
« Reply #1 on: April 18, 2011, 04:54:31 PM »

I've had this exact problem myself four times, except that in two of them I didn't even take the battery out!

I'm also wondering why this occurs.

I'm hoping that the soon to be released Gingerbread firmware will fix this issue.
Best Screen Protector
FlorentBL
Jr. Member
**

Karma: +1/-0
Offline Offline

France France

Posts: 11


View Profile
« Reply #2 on: April 18, 2011, 05:05:45 PM »

Such a bug cannot be solved by Gingerbread. There must be something else because removing a battery is not supposed to be an unpredictable event. It should be expected by Android since 0.9beta version  Wink Wink And actually it is, since it is not completely correlated: I removed my battery before without problem.

I suspect something else, that may be related to hardware, firmware or combination of both.

Can you detail your configuration? Model, firmware, where you buy your phone, to whom, FCC/ID Serial number, etc.
Best Screen Protector
kiwi3007
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 2



View Profile
« Reply #3 on: April 18, 2011, 05:11:42 PM »

I know this is a thread to help OP but I figured we might be able to find similarities which are causing the bug.

Unbranded Samsung Galaxy S GT-I9000
Froyo 2.2.1 I9000XXJPY
Kernel: 2.6.32.9root@SEP-51 #1
Bought from The Carphone Warehouse about 2 weeks ago.
Rooted with OCLF 2.0 applied (little else changed).

On some of the times that it had done it it was just from a regular reboot.
Best Screen Protector
FlorentBL
Jr. Member
**

Karma: +1/-0
Offline Offline

France France

Posts: 11


View Profile
« Reply #4 on: April 18, 2011, 06:05:09 PM »

OK For myself
GT-I9000 bought from PhoneHouse in an Orange Pack several months ago
FROYO.XWJS8 2.2.1 I9000XXJQ1
kernel : 2.6.32.9 root@DELL105 #1

The only similarity seems the kernel.

I've continued investigations and found something interesting using CatLog (a system log displayer that can be downloaded on the market). It seems that the corrupted applications use a database, more specifically SQLite. And I found this page on it : http://www.pantz.org/software/sqlite/unabletoopendbsqliteerror.html
The bug may have to do with a permission problem, but the problem is what could cause it  Undecided

Anyway, if someone has the problem, a check through CatLog would be helpful.

 
Best Screen Protector
Yiannis
Jr. Member
**

Karma: +0/-0
Offline Offline

Greece Greece

Posts: 5


View Profile
« Reply #5 on: April 24, 2011, 05:51:09 PM »

Hello to all.
I 've had similar problems 3 times now. I don't want to scare you but the last two were even more terrifying because the phone refused to boot.
Early battery removal shouldn't be the reason because I'm sure I powered off and waited long enough for the vibration etc. In addition, rooting isn't the reason as well because the last 2 times the phone wasn't rooted. In all those cases the system was froyo 2.2.1.
Roms: 1st: XWJS3 (Rooted), 2nd and 3rd: XWJS8 (unrooted).
I suspect many things like.. cheap Chinese batteries, faulty hardware, bad file system caused by rooting even after clean rom installs and repartitioning etc.
But then, after FlorentBL's post, I remember that when this happened, two apps where always there: the 1st time it was go SMS the second go launcher and go SMS together and the 3rd go SMS again. Those apps mess with sensitive stock programs so I tend to suspect them.
What do you think? and.. do you remember apps you always installed before the problem?
Best Screen Protector
LarryBrown
Newbie
*

Karma: +0/-0
Offline Offline

United States United States

Posts: 2


I hope you enjoy my posts.


View Profile WWW
« Reply #6 on: June 09, 2011, 03:16:21 AM »

1: Let's call this problem the "packages.xml permissions problem."  Undecided
2: The problem is caused by a bug in Android wherein if Android detects that the packages.xml file is corrupted, it will rebuild it incorrectly. Apps lose permissions to their data stores and from there you get a host of problems. I can see the file getting corrupted if the phone crashes or the battery is removed before the phone is shutdown, but myself and others here did not get the problem that way, it just came unprovoked. My opinion is that an aftermarket battery would not cause the problem, nor would rooting, nor using a 3rd party ROM (I'm using stock and I got the problem).  Sticking out tongue
3: This fatal problem happens unprovoked on Froyo. I wonder when the bug was introduced and thus how long it has gone unfixed. When you consider that "most" people in the world don't know what "notepad" is for, you understand that a flaw like this in Android makes it unsuitable for many people. Grandma can not  edit and run Linux shell scripts, hec I know *computer programmers* that can't edit and run Linux scripts. As such, iPhone is a better choice for most just in light of this single problem. Consider that some people posting here have had the problem repeatedly. Can you give your mom a phone that will repeatedly die unprovoked? I have found other problems in Android as well, for example the wi-fi is troublesome and in some situations simply doesn't work (if the wireless network supports b/g/n, if the SSID is not transmitted, on my US Robotics router for unknown reasons but works better, but still not perfectly, with Linksys).  Shocked
4: In my case I lost cell internet service for unknown reasons and so I shut down the phone and pulled the battery to give it a good reset. Upon powerup I got the problem. I was able to get internet going again by digging in the settings and I discovered 3G data was not selected at settings/wireless and network/mobile networks. HUH?
5: If you get stuck in a loop because your "launcher" app is failing, try holding down the "home" button until the task switcher comes up. From there you can go to "task manager" and from there you may be able to kill the failing app and run the original "launcher" app. Big Smile
6: Don't uninstall the stock Android "launcher" app even if you are using a 3rd party "launcher" app.
7: Contrary to original poster (OP) FlorentBL's opinion, this is just a software bug so Gingerbread can, and hopefully will, solve it.  Lips Sealed
8: Most apps use SQLite for data, so I would not cast much suspicion that way, but it could be related. Even if so, it's still Android's problem, not SQLite because it is Android that is making the mistake and what good is the phone if it doesn't correctly handle the most popularly used database system?  Sticking out tongue
9: There is a better thread on this problem here: http://www.samsunggalaxysforum.com/samsung-galaxy-s-how-to/lost-all-settings-after-battery-change
Please see that thread for the script to repair this problem and more info from me.  Angel

To answer the OP's questions:
- why such a crap can happen? - Because Android has a bug in it. Bugs happen, but this one is pretty nasty and I wonder how long it has gone unfixed.
- is it a hardware failure? - No. It's a software bug in the Android kernel. packages.xml gets corrupted for unknown reasons, that might be hardware but almost certainly not.
- why some applications crash or have disappeared and others don't? - The problem is that the crashing/malfunctioning apps don't have access to their data stores. Since apps are written with the reasonable expectation that they will always have access, crash and malfunction follows. As for the apps that continue to work, probably Android got their permissions correct for some obscure reason or (likely) they are able to recreate needed settings on the fly and so they repair themselves and if they don't have user data (like "my files" say,) or the data is stored in the cloud, then they may have been affected but you don't notice. Embarrased
- is there a way to recover the applications configurations? - So far the only hope I've seen is the shell script that you can read about in the other thread I mentioned. But you have to run it first thing. If you uninstall the app then of course you're going to lose any data you had in it. Also I was able to use the affected "memo" app and by doing so I think the previous data has gone bye-bye...after repair the old data did not come back, and digging into the memo data store, pulling out the memo.db sqlite database, and viewing it with Microsoft Access did not uncover my lost data. Angry
« Last Edit: June 09, 2011, 04:06:22 AM by LarryBrown » Best Screen Protector
FlorentBL
Jr. Member
**

Karma: +1/-0
Offline Offline

France France

Posts: 11


View Profile
« Reply #7 on: June 12, 2011, 04:00:20 PM »

7: Contrary to original poster (OP) FlorentBL's opinion, this is just a software bug so Gingerbread can, and hopefully will, solve it.  Lips Sealed
8: Most apps use SQLite for data, so I would not cast much suspicion that way, but it could be related. Even if so, it's still Android's problem, not SQLite because it is Android that is making the mistake and what good is the phone if it doesn't correctly handle the most popularly used database system?  Sticking out tongue
9: There is a better thread on this problem here: http://www.samsunggalaxysforum.com/samsung-galaxy-s-how-to/lost-all-settings-after-battery-change


Yes, this bug should be solved in 2.3. As I posted it on the other thread, I discovered afterwards that the bug was a known one (see
http://code.google.com/p/android/issues/detail?id=9976). It should be corrected in Android 2.3. It originates in a false assumption of the kernel (actually the guy that programmed it ;-) that the physical writes on hardware were done sequentially, which is not the case, specially on an sd card.
Best Screen Protector
Niekerd
Jr. Member
**

Karma: +0/-0
Offline Offline

Netherlands Netherlands

Posts: 7


View Profile
« Reply #8 on: June 26, 2011, 12:42:57 PM »

I have exactly the same problem on my galaxy S1, so resetting to factory settings will solve the problem?
And what exactly do i need to reinstall?
Can I leave the sim card inside the device while resetting or do i need to remove it?
Will my contact list also reset?

(very stupid questions i think, but i'm new with smartphones).

Gr Niek
Best Screen Protector
Pages: [1]   Go Up
Print

Jump to:  

Got a new phone? Find the forum here


Related Topics
Subject Started by Replies Views Last post
Android.process.acore has stopped unexpectedly ( and then force closing )
Troubleshooting
Gothic Touch 0 10652 Last post August 16, 2010, 07:26:00 PM
by Gothic Touch
Application Email has stopped unexpectedly
Troubleshooting
johnnyhammer 10 15874 Last post January 01, 2011, 06:29:44 AM
by Spook
application (process com.android.systmui) stopped unexpectedly. try again
Firmware Problems
Durklanghout 1 7372 Last post May 13, 2011, 11:57:21 AM
by saszseb
New firmware: com.android.phone has stopped unexpectedly
Samsung Galaxy S II Help Desk
Mr_Fox 4 10812 Last post July 25, 2011, 12:37:36 AM
by pvjpkumar
The application #### has stopped unexpectedly...
Media Problems
sota 0 7397 Last post May 15, 2011, 04:49:26 PM
by sota




Thanks for visiting Samsung Galaxy S Forum

















CopyRight 2010 Samsung Galaxy S Forum
Powered by SMF 1.1.12 | SMF © 2006-2009, Simple Machines LLC
Sitemap

Galaxy S3 | Galaxy Note | Galaxy Nexus | Kindle Fire | Atrix 4G | Motorola Xoom | Windows Phone 7
Nokia Lumia | Tech Support Forum | Top Hosts | Samsung Galaxy Tab | Samsung Galaxy S2 | Samsung Galaxy S | Samsung Wave
HTC Evo 3D | HTC Evo 4G | HTC Incredible | HTC Incredible 2 | HTC Incredible S | HTC Thunderbolt
Motorola Droid Razr
| HTC Desire | HTC Desire HD | HTC Desire Z | HTC Desire S | HTC Wildfire
Motorola Droid | Galaxy Indulge | Nokia N8 | Droid Charge | Droid X | Droid X2 | Droid 2| Droid 3 | Fascinate
HTC Sensation | HTC Flyer | LG Revolution | Asus Transformer | Xperia Play | iPhone 4 | Nexus S | Droid Bionic
HTC One | HTC Wildfire S | HTC Droid Eris


This is an Un-Official fan based Website. The views expressed on this website are solely those of the proprietor, or contributors to the site, and do not necessarily reflect the views or opinions of the parties it covers, and is not affiliated with, endorsed or sponsored by parties involved.
If you have a problem with any of the content posted on this website, please contact "mobile@vssupportqueue.com"
Term of Use | Privacy Policy | BlackRain 2006 by, Crip