Froyo Gallery is killing me - Android Software/Hacking General [Developers Only]

Hello,
I'm hoping you guys can give me some pointers.
Ever since I started to update to Froyo builds, the only thing that doesn't work is the gallery. It ALWAYS locks up the phone tight, I have to pull the battery.
I have tried formatting the SD card (the one that came in the box with the N1, btw on Tmo, unlocked, non rooted), doing a factory reset before each update. Then I simply copy my photos into the phone. I don't copy the .thumbnails folder.
I'm now distressed because FRF85B is out and it's supposed to be the OTA update, and I tried it last night and got the same lockups.
Does this mean I can't use froyo on my n1? it's seems impossible to fathom that my phone would be different.
I'm out of things to try, besides a factory reset and a formatted SD card, I don't know how to troubleshoot this. Eclair works fine with the gallery never had a problem.
I've seen people complain about this on the net but never seen a solution.
Best Regards

I have found some ways to make the Gallery crash, like by getting info on certain files, but no lock-ups!
What about clearing the Application's data from the Settings menu?
(Applications--> Manage Applications--> All--> Gallery--> Clear Data)

Thanks for the tip. I haven't quite done that clear data, I've just been deleting crap off the SD card.
I ordered a 16GB class 10 SD card (can't find the 32gb anywhere heh heh and when I get it I'm going to do a factory reset and then flash to froyo and start over.
It is very possible that my SD card (the stock one out of the box) is too slow or otherwise has problems.
I will post back here just in case other people are seeing similar problems.
cheers

reapur said:
Thanks for the tip. I haven't quite done that clear data, I've just been deleting crap off the SD card.
I ordered a 16GB class 10 SD card (can't find the 32gb anywhere heh heh and when I get it I'm going to do a factory reset and then flash to froyo and start over.
It is very possible that my SD card (the stock one out of the box) is too slow or otherwise has problems.
I will post back here just in case other people are seeing similar problems.
cheers
Click to expand...
Click to collapse
hi there
did you come right with this?

So I got the 16GB class 10 card, and had the same problems.
I had to do a wipe from the bootloader and format the SD card.
Now the phone is stable. I was able to copy my photos and music.
But when I try to put too much on the card, like Brut maps or just copy the app specific folders from the old sd card, I still get lockups.
I'm pretty sure now that it's not really gallery related but SD access, seems 2.1 handled it much better than 2.2
Still waiting for the exchange HTC setup for me.

Related

Corrupt SD Card issues

Is anyone else having issues with their sd card corrupting? I have an 8gb class 6 transcend card and it has corrupted 3 times in the last month. I always unmount the card in windows before unplugging the phone. It seems to do it when I'm writing to the sd card from the phone.
The first time I noticed it was when I deleted a picture with built in photos app.
The next time was today when I made a nandroid backup before applying an update (theme). The nandroid backup finished and when I went to apply the update it came up with an error (I didn't reboot between the backup and applying the update). I reset the phone and the sd card was unavailable.
At one point I did have the card partitioned with the apps on one partition. When it corrupted I reflashed the phone back to 1.42 and left the apps on the phone. I went back to one partition and left it at that (fat32).
I don't know if I just have a bad card or something else is going on. I never had any problems with 1.41. However because it did it while doing a nandroid backup would that rule out the software version?
I would like to find a solution, as I don't trust the card anymore without backing it up frequently.
i've had it happen once (files names corrupted) but assumed it was down to the card as i had the same happen when it was in my N95, i've now bought a new card and i'll see how it goes.
When mine goes down, it seems like it kills the partition. When I open a disk manager I don't see a partition on the card anymore.
Hey axion,
Yea your card is pretty much dead... this also happened to me yesterday on my 4 gig card... yyour card will still work however reformatting or creating anymore partitions won't help bring it back.. for future update.zips or recovery boots upload your update files to your stock 1 gig card.. remember to always safely remove hardware with any card mounted to the to a computer..
YES - and not only have I had the same problems, it's with the same brand card! Transcend 4 GB Class 6.
My phone started having issues where I installed an application and it would act wonky, then if I tried to reboot it'd lock up into an infinite loop.
The last couple of times, I solved the loop by doing a fsck on the partition in GParted (booted into a GParted Live instance from a laptop using a USB stick). The problem reoccurs though, making me think there's something problematic with the card.
There's an app in the thread on the cheap 8 GB cards (of which I'm holding my recently received shipment . There's an app in that thread used to test write performance, but it does some crude error checking, and I had an issue when I did that test.
I'm going to do a partition clone and report back.
my dodgy card was 4GB Kingston, one interesting problem i had with it was video refused to play, i could read and write the file fine but android would refuse to play it and meridian video player would report the wrong pixel size, time and codec which had me confused all last weekend.
I'm also frequently having problems with my 8gb card (http://www.newegg.com/Product/Product.aspx?Item=N82E16820211341). Every few days I find myself firing up Ubuntu to fsck it and I always find errors. I often discover them when looking for a file on the phone (I usually do a find / | grep whatever and notice that I get "stale file handle" errors).
Should I get a newer/better card? I'm happy to pay more for a better one. I didn't know this brand, but it was the only class 6 I could find. If Sandisk made a faster card I'd get that, but I can only find a class 2. I have a 16gb Sandisk but it is only class 2 and therefore not good for apps, which is what I'm using the sdcard for.
If anyone can recommend a better one, I'll give it a try.
Does a 16gb class 8 exist yet? What about a 16gb class 6?
I just moved to the same card you have, mlevin - so I'll post back my experiences if I'm seeing anything.
I'm wondering if maybe moving the caches to SD isn't the greatest idea, since these devices aren't meant for continuous writes. If I have more issues, I might just move the caches back to the onboard memory.
giantcrazy said:
I just moved to the same card you have, mlevin - so I'll post back my experiences if I'm seeing anything.
I'm wondering if maybe moving the caches to SD isn't the greatest idea, since these devices aren't meant for continuous writes. If I have more issues, I might just move the caches back to the onboard memory.
Click to expand...
Click to collapse
Yeah, that worried me as well, so I moved my caches back to the main storage and only have app, app-private and data symlinked to the card.
If you are having problems after moving apps and data to your ext2 partition, you have to push the original init.rc and mountd.conf back onto the phone so you can wipe to card fully and restore it to the FAT32 file system.
I had a similar problem on my tmobile wing (variant of the Atlas which is a modified version of the Herald) running Windows Mobile 6 and Windows Mobile 6.1. I think it was also when I used the SD card as a place to store cache for PocketIE. Maybe that's the issue, using it as cache storage. (This is my theory, not something that has been confirmed.)
g1 sd card deletes itself
I am on my 4th sd card. I am not sure what is corrupting/deleting my data. I can copy over some music/video/pdfs/wtfevers and it'll stick around for awhile. Then BAM, music folder empty(had 1 gig of music in it). BAM, 1 of 3 video files corrupted. OH wait, now all 3 are gone. awesome. I keep a backup on my pc so I can copy it all back over once it goes south. I have the doodledroid drawing app on my phone and the folder will go corrupt - not allowing me to save an image until I delete the folder so it can reinitialize(create a non-f'ed up folder). Also, my picture thumbnails get f'ed so I have to delete that folder so the G1 can remake a new non-corrupted set. My PDFs disappeared about 3 days ago. Cards all formatted fat32. blah.
Frustrating.
I have root
kila-user 1.1 PLAT-RC33
Anyone else find a solution?
BTW, my sd cards were:
sandisk 2gb
sandisk 2gb
PNY 4gb (current)
Lexar 4gb
mlevin said:
I'm also frequently having problems with my 8gb card (http://www.newegg.com/Product/Product.aspx?Item=N82E16820211341). Every few days I find myself firing up Ubuntu to fsck it and I always find errors. I often discover them when looking for a file on the phone (I usually do a find / | grep whatever and notice that I get "stale file handle" errors).
Should I get a newer/better card? I'm happy to pay more for a better one. I didn't know this brand, but it was the only class 6 I could find. If Sandisk made a faster card I'd get that, but I can only find a class 2. I have a 16gb Sandisk but it is only class 2 and therefore not good for apps, which is what I'm using the sdcard for.
If anyone can recommend a better one, I'll give it a try.
Does a 16gb class 8 exist yet? What about a 16gb class 6?
Click to expand...
Click to collapse
mlevin: I have that card. It's been fine...until I believe the other day. I was running 5.01H w/ apps to sd and my battery had died so I charged it. Upon turning it on the android screen kept looping as though it wasn't mounting the card. Worse came to worse and I had to end up reformatting the card and starting from square 1. Now that I reformatted it, I'm getting "insufficent space" errors when trying to install paid apps even though I did everything right.
I'm wondering if it is the card.....

Issue with SD card on Dexter's Froyo 1.3 - Help

I've been using Dexter's froyo v1.3 for a week or two now, with basically no real issues. About 3 days ago or so, when I powered on my phone - you know how the sd card symbol appears in the status bar right when u turn on phone, it's loading sd card - so I see that symbol, but unlike how it usually is, it doesn't go away after a second (after it's loaded). So I pull down status bar and the icon says "checking for errors" and it doesn't go away at all. SD card just won't load. Oh I should mention -just remembered - I turned it on and I got "error with sd card, you may have to reformat" (or something like that) right before and then it just changed to "checking for errors" after I took out the sd card and reinserted.
Anyways, so my SD card isn't loading, right. I figured it might have something to do with the fact that I was using the SD card that came with it which is low class (2). I tried putting it in an SD card reader and put into my computer and it showed up and worked with no issues. But it just wasn't working on my XT720. So what I did was, I happened to have an extra micro SD card lying around (this one class 4) and I put it into the XT720. It worked just fine. That was a few days ago.
A few hours ago, I was using my camcorder on XT720. After using for quite a while I got "sd card not present, sd card must be present to use camcorder". I left the application and went to settings and my sd card was registered as present. I then went to gallery but I got the same "sd card not present" thing. My phone felt very hot at the time, which I assumed because I was using it for a while. I figured it might be an issue of overheating causing weird things. So I decided to power off my phone for a while and see what happens.
Upon turning on my phone, I was greeted with the SD card icon in the notification bar and upon pulling down; "Checking for errors". Now this new SD card won't load.
This is a really big issue for me, because I really need the SD card for stuff. Both SD cards seem to work fine in SD card reader on PC. Please let me know how I can fix this...
(sorry for making this so long, just wanted to have all info available).
....
Apparently this looks like a huge, long unresponded to issue for many people and not specific to Dexter's Froyo: http://code.google.com/p/android/issues/detail?id=2500
I'm going to try some of the solutions people posted, but problem seems unfixed for majority of users .
Gaaaaaah. My Android experience has been plagued with far too many issues....
What sucks is that if I want to flash back to stock to try to use warranty, I'm going to have issues if I need an SD card....
It seems you've already determined the issue, you have excluded the SD card(s) as the source of the problem. This leaves one thing - your phone is defective.
Flash it back to stock and send it in for service.
This issue has absolutely nothing to do with what software is on your phone.
R-D said:
This issue has absolutely nothing to do with what software is on your phone.
Click to expand...
Click to collapse
Yup, I've determined that as you can see in my edit... :-/
How can I flash back to stock without SD card?
syrenz said:
Yup, I've determined that as you can see in my edit... :-/
How can I flash back to stock without SD card?
Click to expand...
Click to collapse
You don't need the sdcard to flash a stock SBF with RSD lite.
I kept having same problem. If u are using move 2 SD or anything like that select auto and not Justin external I had to reformation my card about 3 times b4 I figured it out. Dexter posted somewhere not to use these apps.
similar issue with sd card
The only problem I've had with my sc card is that most of the time after my phone has been rebooted, the sd card will show up as not present once the phone has completely finished booting. Sometimes I can just reboot again and it will pick up on it but usually what I have to do is shut it down, remove the card, start it up and then once it indicates the sd card is not present I can reinsert and it loads just fine. I have an 8gb class 4 that came with the phone.
3rdstring said:
You don't need the sdcard to flash a stock SBF with RSD lite.
Click to expand...
Click to collapse
This is very good to know. Thanks.
easye420 said:
I kept having same problem. If u are using move 2 SD or anything like that select auto and not Justin external I had to reformation my card about 3 times b4 I figured it out. Dexter posted somewhere not to use these apps.
Click to expand...
Click to collapse
Nah, not using anything like that.
pillar2004 said:
The only problem I've had with my sc card is that most of the time after my phone has been rebooted, the sd card will show up as not present once the phone has completely finished booting. Sometimes I can just reboot again and it will pick up on it but usually what I have to do is shut it down, remove the card, start it up and then once it indicates the sd card is not present I can reinsert and it loads just fine. I have an 8gb class 4 that came with the phone.
Click to expand...
Click to collapse
I tried that once (it was something mentioned in that link I posted) but it didn't work. I'll probably try it out again before attempting to use warranty.
I would also try reformatting the sdcard, just because Windows can read it doesn't mean there aren't issues with the card.
K, so I put it in SD Card reader and into PC and began transferring all the files on the card to a new folder. During this process I got a pop-up a bunch of times telling me specific files were corrupted and unreadable and couldn't be transferred (mostly music filer for the most part). I then formated the card to delete the remaining corrupted stuff. Now put into phone and it registers as being there and now things like camera are working.
Gonna have to see how it fares when stuff are actually on the card, but for now things are looking good.
Thanks for the help guys, will update if I encounter further problems.
EDIT:
And after transferring some music on to it, it still seems to be working fine. Needless to say, I'm quite happy I don't have to go through the hassle of flashing stock and then trying to get a device exchange for warranty...
Though I am slightly worried that the device itself will corrupt things again (since my other SD card also worked fine for a few days). But I did also do a complete factory reset so perhaps there was some app causing issues that no longer will... Guess we'll see what happens.
I had problems with my stock (Cincinnati Bell) SD Card doing a similar thing -- showing up as no card inserted. Sometimes rebooting did the trick in fixing it. Then my phone fried and quit working. I thought it was related.
After I received a new (refurb) from Motorola as a warranty replacement, I used that same card and was getting the same error. So I upgraded to a new 32GB class 4 card and still got the error. I upgraded to Dexter's ROM and it still continued. I'd keep rebooting (three to four times sometimes) and eventually it would go away.
Then I decided to pull everything off the card, reformat & give it an ext3 partition using the method in the video tutorial in these forums. I haven't had the issue since -- it's been about a week now.

[Q]: Applications not loading from Storage Card

All of a sudden apps on storage card fail to load.
After a few reboots they reappear at random, but disappear again on reset.
Did not have that problem with stock, but after flashing Infused 1.14 (and on) the issue appears even with the (rooted) stock rom.
Any ideas?
I am trying to determine if I need to return and replace the phone before I lose the option.
Thank you in advance.
Answering the question by myself, in case others encounter the same issue.
The external card had something corrupted, and when the system was mounting it, all mess ensued.
Backed up all the data and reformatted.
System appears ok for now
I just had this same problem or at least something very similar to it. Initially I thought it was the 32GB SD card being too big since I read Android had a 16GB external card limit. But those posts were from a year ago and when I searched deeper I read that 32GB cards were being use without size problems now. There was one issue that seemed to affect some people and that was that android could have problems formatting a card that big and that's how I installed it in my Infuse initially- I let the Infuse format it, then popped in in my Macbook Pro (in OSX) to copy over the contents from the previous 8G card. I believe I have hidden files set to show, so I should be copying over everything- though, could this method of upgrading the card be a problem too?
It worked for a couple days, but last night during a reboot I tried to access the app tray and didn't know the card was still being scanned. It froze and I couldn't get past the secondary media scan after many tries. I didn't realize that apps were being automatically installed to the card.
Anyway, I was gonna return the card, but after reading your post, I'm thinking again about corruption due to poor formatting as the problem, so I'll try it again when I get home. Thanks for your post. I really want to be able to use this larger card so I'm keeping my fingers crossed this will solve the problem.
BTW, how did you format the card? I have Win7 x64Pro on my MBP as well if I need to use windows, but did you use FAT, FAT32, ExFat? I'm still a 'droid noob ;P. Thanks again!
-- Infuse 4G Rooted with stock ROM

[Q] Phone keeps losing installed apps on SD card

So I've been having this issue for about a week now. All the apps installed on my phones SD card once I reboot are not loading up. I know the data is still there because the first time that it happened I spent the better part of day freaking out thinking everything was gone gone. At some point I thought of checking of the data by plugging in into the computer. Turns out (1) all the apps miraculously return (2) I can't mount the SD card anymore (3) I can't unmount the SD card anymore either.
What is the deal? It's kind of annoying to lost everything every time you reboot. I'm not really in the mood to tether my phone each time for the unforeseeable future just to keep everything loaded. Has this happened to anyone before? What should I do?
Cwluc said:
So I've been having this issue for about a week now. All the apps installed on my phones SD card once I reboot are not loading up. I know the data is still there because the first time that it happened I spent the better part of day freaking out thinking everything was gone gone. At some point I thought of checking of the data by plugging in into the computer. Turns out (1) all the apps miraculously return (2) I can't mount the SD card anymore (3) I can't unmount the SD card anymore either.
What is the deal? It's kind of annoying to lost everything every time you reboot. I'm not really in the mood to tether my phone each time for the unforeseeable future just to keep everything loaded. Has this happened to anyone before? What should I do?
Click to expand...
Click to collapse
What do you mean, the icons? I'm going to assume that's what you're referring to, for this reply...
If that's what you meant, icons on the home screen take a few seconds to get themselves drawn, if apps are on SD.
You can switch to a different skin then switch back to your original skin, to get them to redraw. Or delete/reposition them one at a time. It's a workaround, but changing the skin temporarily is faster.
It's a sense bug, I'm pretty sure.
Doesn't happen if apps are installed on the phones internal storage, so until they fix it, move your apps onto internal storage, if you don't want to deal with this each time you reboot. They run faster if they're not on your SD anyway.
Unless you have waaaay more apps than you really need, of course.
Sorry should've been a little more specific. The shortcuts on my home screen are all no longer working and I'm well aware of how long it takes for sense to load them up on startup but even when I go to display all apps it only displays the apps on internal storage. In fact each and every app on the card (in the apps settings) has a funny icon that has a little "sd" on it now and just says computing and will not load.
And since writing this I can no longer get the phone to load any apps from the sd card by tethering it to the computer. It's still accessible - just downloaded today's song from amazon and played it - but apps on it are almost like they're gone.
This happens to me sometimes too. But usually when it happens to me I can go into Settings - Applications - Manage Applications and move the troublesome app to internal storage, and then it's fine. It never completely disappears.
It might do you some good to reformat your SD card. Move everything off of it first, then format it, then put everything back on.
Is it the stock 8GB SD card, or a different one?
homeslice976 said:
This happens to me sometimes too. But usually when it happens to me I can go into Settings - Applications - Manage Applications and move the troublesome app to internal storage, and then it's fine. It never completely disappears.
It might do you some good to reformat your SD card. Move everything off of it first, then format it, then put everything back on.
Click to expand...
Click to collapse
Sold, since I can no longer access the SD card and I've got nothing to listen to at work...
zuriken said:
Is it the stock 8GB SD card, or a different one?
Click to expand...
Click to collapse
Yup.
@homeslice976 copied, formatted (made sure it was FAT32), copied everything back and no dice. Same symptoms, Apps will not load.
@zuriken I don't know why you asked about the stock SD card or not, do you think it needs to be replaced? It's only been since February.
Cwluc said:
@homeslice976 copied, formatted (made sure it was FAT32), copied everything back and no dice. Same symptoms, Apps will not load.
@zuriken I don't know why you asked about the stock SD card or not, do you think it needs to be replaced? It's only been since February.
Click to expand...
Click to collapse
Did you do a full, not quick format? Scan for bad sectors/errors?
Scott_S said:
Did you do a full, not quick format? Scan for bad sectors/errors?
Click to expand...
Click to collapse
full format, chkdsk /f, still nothing though. This is honestly getting to the point where I'm tempted to switch to another phone. Why can't I access my stuff?
Another new bonus, every time I get some sort of alert it now plays random MP3s from the SD card. What is going on...
Cwluc said:
full format, chkdsk /f, still nothing though. This is honestly getting to the point where I'm tempted to switch to another phone. Why can't I access my stuff?
Another new bonus, every time I get some sort of alert it now plays random MP3s from the SD card. What is going on...
Click to expand...
Click to collapse
I'd try a brand new, good quality SD card before resorting to switching phones.
Have you flashed any custom roms or anything? I didn't see you mention either way.
Scott_S said:
I'd try a brand new, good quality SD card before resorting to switching phones.
Have you flashed any custom roms or anything? I didn't see you mention either way.
Click to expand...
Click to collapse
It's gonna be a little while until I can try a new SD card but I'll get back to you.
The only ROM I loaded was the one to originally root that removed the uploading cap from ATT.
I also solved where the random sounds were coming from apparently it doesn't want to play my selected theme and no matter what I do the only one that works is the original HTC default 2010 one or if I download any only the Celesta theme plays... I have a sinking feeling that copying all this funky data isn't going to resolve anything but I'll give it a go.
Cwluc said:
It's gonna be a little while until I can try a new SD card but I'll get back to you.
The only ROM I loaded was the one to originally root that removed the uploading cap from ATT.
I also solved where the random sounds were coming from apparently it doesn't want to play my selected theme and no matter what I do the only one that works is the original HTC default 2010 one or if I download any only the Celesta theme plays... I have a sinking feeling that copying all this funky data isn't going to resolve anything but I'll give it a go.
Click to expand...
Click to collapse
Good luck.
Since you haven't been messing with multiple roms and such, I don't know what else it could be, other than the SD card taking a dump.

[Q] Cannot delete or add to SD card

A few days ago, I tried taking some pictures with my Droid Charge and the pics would not save. I tried in the stock camera app and in CameraZoom EX. CameraZoom gave me an error message "failed to save photo to SD car (error code=2). I figured I was out of space.
My Titanium Backup scheduled backup did not run the next day. So, I assumed I was out of space.
I connected the phone to my PC and deleted some pics and music. WHen I was in WIndows explorer, it said I had about 2 GB free after doing all of this.
When playing music today, I noticed files that I had deleted before still present on the phone. I thought this was weird. I went back and checked and all the stuff I thought I deleted was still there.
I searched on the CameraZoom EX error code 2. It directed to remove and reinsert the card and reboot. I tried that. I have tried unmounting and then mounting with no success either.
My phone seems to be working fine, but I cannot delete or add anything to the microSD card (the original that came with the phone). It does not matter if I use my WIndows 7 laptop, desktop, or various file managers on the phone itself.
ANy idea what is going on?
To me, it sounds like the SD card is going bad. Not a common occurrence but it can happen. You're lucky you can still read from it... I would suggest getting a new SD card (Verizon might even give you a new one free) and copying your data to it before sectors start going bad. By the way, how did you manage to full up 32 gb?
Or I could be blowing this out of proportion and it's just a matter of write protection on the card.
Sent from my SCH-I510 using xda premium
Another option is to copy everything off the SD card, format it, and try to write everything back. Sometimes a format can joggle a bugged card.
It is mostly music that I have on there. I am not sure how write protection would have gotten on the microSD card or how I would remove it. It does not have a physical togge like an SD card does.
I think I may have to try re-formatting. Ugh.
It is mostly music that I have on there. I am not sure how write protection would have gotten on the microSD card or how I would remove it. It does not have a physical togge like an SD card does.
I think I may have to try re-formatting. Ugh.
Corrupted SD card. Call VZW and be nice on the phone, explain the situation, hopefully they send you a new one.
Hmmm, this is interesting. I cannot even format the microSD card. I tried to do it through Windows Explorer. It looked like it worked. I then tried to copy files back on and it choked halfway through on a movie, I think.
Anyway, what was more interesting is that when I looked at the drive again, everything was back where it originally was. So, the re-formatting must not have actually worked.
I then tried to erase the SD through the options in Android. I unmounted. I then selected Erase SD card. After rebooting (to just be safe), the SD card still is untouched.
THis microSD card has become an impenetrable force. More realistically, it must have write-protection enabled somehow as that is the only thing I can think of.
The question is how do I find out if write protection is enabled and how to disable it? Any ideas are appreciated. Thanks.

Categories

Resources