Thursday, December 15, 2011

Android Looping Error in LogsProvider

I just have to broadcast this as far and wide as possible in order to help anyone else out who ever falls prey to this ridiculously stupid error.

I had been downloading heaps of apps during Google's celebration of 10 billion marketplace downloads, where they have about 10 applications per day, for 10 days, at 10 cents each. As such, I was starting to get concerned that I might run out of space on my phone, which eventually led to encountering an extremely annoying bug relating to LogsProvider that would constantly reappear modally on my phone.


Now let's take a step back to understand how storage on my Galaxy S2 works, which is, I assume, similar to on other devices: There is "16GB" of internal phone memory. This is broken up into about 2GB of internal device memory and 11.5GB of, what is for some inexplicable reason, called USB memory; I assume there is some direct USB interconnect inside the phone that Samsung thought would be the right way of hooking up extra storage. This is then supplemented by whatever SD card the owner wants to put into the phone. In my case, I've got another 16GB card.

I didn't want to run out of either the internal device memory, which was down under 1GB, or the USB space, which was down to about 3.5GB, so I did what is often recommended: I started moving applications from the phone to the SD card, which is an option on the app management page.

After I'd moved about half a dozen apps, I started getting a popup about "the application LogsProvider (com.sec.android.provider.LogsProvider) has stopped unexpectedly. Please try again." Click ok, and up it comes again, with just a sliver of a second in which to try to click other things to navigate on the phone. Awesome.

So I tried several things, like deleting some apps, as equivalent messages would come up when trying to start almost any application with a message stating that there wasn't enough memory (which memory: Phone, USB or SD?).

Eventually I found a post where someone had the same problem, also after moving things to the SD card. The solution, as given by seljanempire, was to navigate to the LogsProvider application under Settings -> Applications -> Manage Applications -> All -> LogsProvider. Then select LogsProvider and click Clear Data. Worked perfectly, and a way better option to the original poster who had their phone factory-reset by a person at the store.

So, WTF? How can a phone have a modal error message that can so completely cripple the phone by running on a loop? Surely it would be ok to show it once, or once every 5 minutes, then suppress it in some kind of mode meaning "OK, I get it, now let me debug the problem without constantly annoying me and getting in my way." It's modal for crying out loud, and after clicking OK, it came back within, I would estimate, a quarter of a second.

Anyway, so my problem is solved, and I hope this post is found by someone in the same situation who can use it to avoid having to reset their phone.

And if anyone working on Android ever reads this: Please fix your error notification design, and the bug while you're at it that causes this problem when moving apps to the SD card. In fact, make it so the memory is treated monolithically in some way where I don't need to know about it. kthxbai

UPDATE: Stay tuned, but it looks like I can't actually go into any non-settings application, due to them crashing, and even trying to run a software update won't work. Looks like a factory reset might still be on the cards. It also appears to only be a temporary fix, as the message recurs after a few failed attempts to run apps. Even the phone won't work, but the camera does for some reason.

UPDATE 2: Tried doing a factory reset, but even that app crashes. I'll have to wait until I can get a cable to connect to the computer, and try to do something with Samsung Kies, as I can't connect to wifi now either. Holy crap, Google! What the hell have you guys allowed to be done to my phone? I say Google instead of Samsung, because the forums would suggest that this issue has happened to people on Android devices from other manufacturers. I was really starting to think it was a good phone, and with all the apps I'd been downloading, many of which were replacing ones I had on my iPod Touch, I was starting to see it as a single, replacement for multiple devices. Turns out it seems more like a single point of failure.

UPDATE 3: This posting has been getting quite a few hits from around the world, and it's been left unresolved, so I should update it finally: Sorry people, but I ended up having to do a factory reset by booting up into admin mode. All my important data was still preserved on the SD card in the end, but I had to reinstall everything afterwards. That includes having to remember exactly which free apps I had downloaded, as they don't seem to get registered against the user's account like paid ones do. Sorry to start the posting so positively and end it so negatively.

9 comments:

  1. hi , mine comes up with exactly this AND that everything else - facebook etc has also failed? help?!?

    ReplyDelete
  2. Use the factory reset option - hold power and volume.... described else where.
    That work for me on a Galaxy TABLET GT-P1000

    ReplyDelete
  3. LogsProvider application under Settings -> Applications -> Manage Applications -> All -> LogsProvider. Then select LogsProvider and click Clear Data. Worked perfectly,

    it really works thank you for posting this forum on how to fix - “The application LogsProvider (process com.sec.android.provider.logsprovider) has stopped unexpectedly - i cleared the all data under the logsprovider after trying to find it after a few attempts i finally got it,
    thank you a million
    avi

    ReplyDelete
    Replies
    1. How can you naivigate through if the pop ups keep coming up, i am unable to click applications because of the pop ups? help

      Delete
    2. For me, it was just a matter of being really fast, in between the messages boxes popping up.

      Delete
  4. You might not need to do a factory reset and clear all data, clearing the cache partition worked for me as explained in this StackExchange answer:
    http://android.stackexchange.com/questions/22961/how-to-fix-a-force-close-loop-on-android-with-phone-access

    ReplyDelete
  5. thankyouuuu! sooo much saved my life haha but very crucial info thank you so much worked perfectly.

    ReplyDelete
  6. thanks so much....this really saved me

    ReplyDelete
  7. HI guys i follow the same below
    Which is:

    Turn off the phone (hold the power button if the power-off menu won't appear).
    Boot in recovery mode (holding volume up key + home key + power button at same time).
    Choose the fourth option "wipe cache partition" (using the volume keys to select option and then Home button to excecute).
    Allow to reboot normally
    but can't fix the error of "The application LogsProvider (process com.sec.android.provider.logsprovider) has stopped unexpectedly. Please try again. Force Close."

    My device is rooted. please help me.

    ReplyDelete