[Q] Gallery3D raises the dead... - Desire Q&A, Help & Troubleshooting

I searched as best I could, but couldn't find a match to this particular issue.
I do have a rather weird issue with Gallery3D, that I've noticed after switching to OpenDesire, in 4.0.10 and 4.0.15.
Until recently I have been using various Sense based ROMs, where photos taken with the phone are stored in DCIM/100MEDIA and I always just used HTC's gallery app.
Now I'm on OpenDesire 4.0.15, which stores phone photos in DCIM/Camera, and uses Gallery3D to display them.
The thing is, when I try to display photos from DCIM/100MEDIA, taken earlier on various sense ROMs, Gallery3D shows some completely random photos instead. The thumbnails in 100MEDIA display correctly, but when I tap any thumbnail, it expands to the grainy fullscreen version, and is then replaced with a sharp and refined version of *another* picture.
It shows photos that I have taken with this same handset, but imported to my computer and deleted from the phone long ago. That is, photos that aren't even *on* the SD card anymore.
I have tried the following:
1. settings > apps > manage > Gallery3D > force stop + wipe data and settings
reboot
no luck
2. rename 100MEDIA to something else.
repeat 1.
no luck
3. Create new folder DCIM/Test
Copy files from DCIM/100MEDIA to DCIM/Test
The copies in DCIM/Test work well.
Hm.
4. factory reset, wipe cache + dalvik
reflash OpenDesire (4.0.15)
no luck
5. Made a flashable zip with most recent Gallery3D.apk from this thread and flashed it over the one included in OpenDesire 4.0.15
No luck (yes the update succeded, different file size )
Ok, fine, so I kind of solved the problem in attempt number 3, right? Well, yeah, except that I'm uncomfortable about my phone magically raising photos from the dead that I've deleted long ago.
Have you guys got any ideas or input?

Well, your deleted pictures aren't exactly "dead", they just aren't in the master file table of your SD once you hit delete, but they can definetly read. But to avoid going offtopic, you can simply back up your files, format the SD card and restore the files. Everything should be ok.
As to why this happened, it's possible that your Master File Table got corrupted somehow (or Android's MediaManager isn't reading it correctly). But I can't really say much since it's difficult to tell what the real cause is (perhaps you didn't "safely remove"?).
Either way, reformatting should help. And keep using Gallery3D from that post, it's one of the best around

Reason
Even i experienced the same issue,,but couldn't find the solution,,,,but i figured out why it is happening..!!
My gallery 3d app was showing the images i took long back which are no more in the SDcard..!!!how can it be possible..??
The reason is,,
>When we delete the file in the sd card,,the operating system will just mark that that memory location with some special character ,,in fact the data will appears to be deleted but truly i won't ...!!
>when we add new files to the file system that space will be overwritten ,,,by the new file...!!
>So in our case the file which appears as the thumbnail is in exact same memory lactation as the old deleted image....so the thumbnails will be stored in different location as the cache,,,,,
>this is the reason why it show the thumbnail but when we click on that,,, it shows the original data resides there....!!
> its just a bug in the Gallery app
>And it will happen only when we delete the files inside the gallery app...
>Next time try to delete the files in Some file managers like Astro

Related

[Q] What needs to be on SD?

Over the past 6 months I have collected a plethora of "****" on my SD card, lots of apps that left behind empty folders, logs, etc. I want to "fresh start it" and wipe everything off of it to eliminate all the folders that are no longer needed. Yes, I'm a app downloader/uninstaller, lol and as I'm sure some of you know leaves behind a trail of crap on your storage medium.
My question is, what does the SD card HAVE to have left on it (if anything) for the phone to operate correctly? I am Rooted/S-Off/SkyRaider 3.3.
Do i need to leave update.zip for instance on it, pictures i can i move to my Linux box, but I would hate to format the SD only to find out I just borked myself by removing a crucial system file the custom roms or rooting need.
I would also move my RomManager backup to my LB as well, just thought of that....
Anyone know?
i would leave clockwordmod folder, android.tether, android, and titanium backup folder..i mean thats what i have and would keep on my phone...I'm sure your setup is similar.
Thank you! =)
Damn good post. I went ahead and wiped my SD as well through clockwork. I saved my pictures and stuff to my desktop and then retransfered from there. What really sucks is organizing my pictures/music/media/ Sometimes when I switch ROM's I forget the camera auto saves pictures to internall emmc folder. What would be prime is to have it auto sync with a service like drop box.
so... we dont need :
"update.zip"
data
permissions log
blackberry? (never understood this being on my card)
etc...
i just formatted card via settings - storage - card format...
it took like 2 secs... and i have 3-4 gig of music on there...
seemed too fast for a format...
only 2 files it left on card was android.secure and lost.dir
i am re-adding some files i need, but wondering if your list above is the only "neccessary" files - obviously i'm adding my backups but i'm nervous cause theres a ton of files i'll be "missing"
i do have it backed up on 2 pc's, so i guess i'm covered...
hoping this helps - really just want a fresh canvas to work with...

[Q] Media files being deleted

I have noticed that when I am flashing a rom or mod that has the updated google 3d gallery in it, I have pictures and videos that are being deleted from my external sd card. The first time it happened I thought it was a fluke. The second time I thought there was something wrong with my card and I replaced it. I flashed an updated rom and theme this morning and sure enough all of my video files and a lot of my pictures were deleted from the sdcard. This seems to happen when I first launch the gallery3d. It doesn't see the folders with the pictures and video. Has anybody else noticed this happening to them? If I am the only one then I am going to have my phone replaced but if it has happened to others, I would like to find out why and how to stop it. I am not saying that it is the gallery3d app that causes this, it is just when I flash a rom or theme with it is when it happens. This could be a samsung issue(we know they have had issues with sd cards in the past) or it could be my phone. That is what I am hoping to find out. This has happened on EL29. EL26, and EL13 that I am aware of.
Hmmm... A bad problem indeed. I can tell you that sometimes the ROMs you download add some files to the sd card. Calks ROM for example adds a file with removed apps. Do you have your things saved in a file with the same name? It may be replacing it automatically when you flash a new ROM. Check the ROMS changelog and see if this is the problem...
The only other thing I can think of is maybe your sd card is getting full and the ROMs files don't fit so it replaces files.
Also try using some kind of root explorer to confirm whether the files are really gone, or your phone just can't "see" them.
Epic-ly tapped from my Galaxy SII
They are pretty unique files names. I have one called bg that has background wallpaper pictures in them. And the files were indeed gone. I pulled the sd card and put in the reader on my pc to confirm this. I have no idea what is happening.

Camera won't save pictures, can't dl whatsapp-images

Hey Guys,
I'm having a problem since i first rooted my Nexus GSM: When using the camera, the clicking sound appears, but there is no new thumb in the corner and no picture saved in the DCIM/Camera folder. If I'm trying to do a video, the app crashes.
If somebody sends me a picture in Whatsapp, I see the litte thumb, but if i click it, nothing happens (and of course - no picture is saved on the phone).
I check the permessions for the camera and the DCIM-folder and I let the RecoveryMod fix all permissions. Do you have any idea what could have gone wrong?
First I installed Revolution HD ROM, today I did a reset and installed AOKP ROM. Problem stays the same.
I hope you can help me!
EDIT: Checked data & media, too.. everything is rwxrwx--x
Ok, I fixed it.
If anybodye else got this problem: I simply deleted the DCIM & WhatsApp-Folder.
Don't know why i didn't try that before -.-
Sorry guys
permissions the cause
hi, i had the same problem. PERMISSIONS SEEM TO BE THE ISSUE....
I backed up and restored my memory with the tool kit.
Under "BACK UP OPTIONS" i selected "3. backup you Internal Storage [virtual SD Card]"
The only way i have been able to get around it is by changing the name of the dcim folder as i was unable to delete it.
note: i have also had various other problems with other apps. these apps had folders that were restored via the toolkit. in some cases all i had to do was rename the permission locked application folders. in other cases i had to rename their folder and create a new one with the original naming and sub folders

[Q] android media process high cpu

com.android.process.media (Android Media Process is (ab)using CPU)
so, I've tried:
Settings -> Apps -> ALL -> Media Storage -> “Force stop” & “Clear data”
That didn't really help at all(((
community's users suggests following:
* its due to corrupted music/pictures (I don't have any music/pictures on my phone).
* suggestion to reformat sdcard, but toro doesn't have SD card, although through recovery I was able to check filesystem of /userdata mount point (see below):
~ # e2fsck -n /dev/block/platform/omap/omap_hsmmc.0/by-name/userdata
e2fsck 1.41.11 (14-Mar-2010)
/dev/block/platform/omap/omap_hsmmc.0/by-name/userdata: clean, 53630/1875968 files, 1921615/7493115 blocks
~ #
Click to expand...
Click to collapse
aside the fact that phone works extremely slow upon boot (due to com.android.process.media) all that high CPU eating a lot of battery (battery life isn't that great to begin with) but thanks to this bug I get to use even less.
after deleting nanodroid's backup (ROM manager), I'm seeing following (through logcat):
D/MediaProvider( 6784): object removed 71054
D/MediaProvider( 6784): object removed 71055
D/MediaProvider( 6784): object removed 71056
D/MediaProvider( 6784): object removed 71057
D/MediaProvider( 6784): object removed 71058
Click to expand...
Click to collapse
i read that if you have folders with a lot of media/picture files, it will sometimes hang while scanning. start fresh, factory reset/reflash google factory images.
bk201doesntexist said:
i read that if you have folders with a lot of media/picture files, it will sometimes hang while scanning. start fresh, factory reset/reflash google factory images.
Click to expand...
Click to collapse
i dont want to loose my /data so doing factory reset won't work for me
I had an issue with this at the beginning of the week.
I had read that it was corrupted media files, so I began investigating. I was able to fix the problem by browsing through my pictures and deleting some images that had somehow become corrupted. The corrupted files were just washed out black squares. No SD format / factory reset was needed.
t3h_g3n3r4l said:
I had an issue with this at the beginning of the week.
I had read that it was corrupted media files, so I began investigating. I was able to fix the problem by browsing through my pictures and deleting some images that had somehow become corrupted. The corrupted files were just washed out black squares. No SD format / factory reset was needed.
Click to expand...
Click to collapse
i thought that would be a problem) i found one and i delete, restarted my phone and still android media process is at least 20% cpu(
I had about half a dozen across several folders that were corrupt. I was looking at the android media process consuming my battery in about 3 or 4 hours until I deleted the bad images. I can now make it through most of a day without any problems.
Somewhere in your phone, a corrupted file lurks. It may not be where you're thinking, but it's there. And it's hungry.
t3h_g3n3r4l said:
I had about half a dozen across several folders that were corrupt. I was looking at the android media process consuming my battery in about 3 or 4 hours until I deleted the bad images. I can now make it through most of a day without any problems.
Somewhere in your phone, a corrupted file lurks. It may not be where you're thinking, but it's there. And it's hungry.
Click to expand...
Click to collapse
i went through all of my gallery and deleted those, yet after restart still doing something and by the time it's done something whatever it was doing i have 90%-70% left!!! AAAAA
is there a way to find those files some other way? can i see some debug information of gallery/android media process and see where hiccup is?
it really kills my battery( anyone has any ideas?
So yesterday I've had it and copy ask of my pictures from my phone to computer and delete them from my phone...
Reboot... and guess what?
It's still using 40/50% of cpu for about first 15 min after I reboot my phone which kills my battery big time(
I need help, anyone??
Sent from my Galaxy Nexus using Tapatalk 2
is there a way to turn on some detailed debug to figure out what's causing this exactly?!
a1exus said:
com.android.process.media (Android Media Process is (ab)using CPU)
so, I've tried:
Settings -> Apps -> ALL -> Media Storage -> “Force stop” & “Clear data”
That didn't really help(( Any other ideas? I keep reading that users saying its due to corrupted music (I don't have any music on my phone).
People are also suggesting to reformat sdcard, but we don't have SD card. Please advise, as one thing it uses CPU the other thing it uses battery and battery life isn't that great to begin with. Is there a way to do fsck or something to make sure there is no corruption of any kind?
*** UPDATE ***
I went into recovery and using adb shell got into a system can I do something like this?
Click to expand...
Click to collapse
I am having the same issue. I found this article but it says the same as the others here.
http://www.transformerforums.com/fo...help/24279-solved-media-using-94-battery.html
If I find anything else out or if you figure something out, let me know also.
a1exus said:
i dont want to loose my /data so doing factory reset won't work for me
Click to expand...
Click to collapse
Your pics and stuff are not in the /data folder. You won't really lose anything important. That is the directory a factory reset/data does. It just basically gets rid of the apps that you had installed. If you are already rooted just get titanium backup to restore. I assure you, I had the same problem up until yesterday. The factory reset was the only thing that fixed it.
The /data wipe is not going to get rid of your pics taken with the phone.
If you do a backup first you have nothing to lose by trying.
On a side note, your Galaxy Nexus does have an "sd card" it's just an internal partition.
Hope you get this resolved.
rushter said:
Your pics and stuff are not in the /data folder. You won't really lose anything important. That is the directory a factory reset/data does. It just basically gets rid of the apps that you had installed. If you are already rooted just get titanium backup to restore. I assure you, I had the same problem up until yesterday. The factory reset was the only thing that fixed it.
The /data wipe is not going to get rid of your pics taken with the phone.
If you do a backup first you have nothing to lose by trying.
On a side note, your Galaxy Nexus does have an "sd card" it's just an internal partition.
Hope you get this resolved.
Click to expand...
Click to collapse
I deleted manually all of my pictures/music yet I still having this issue((
I do have Titanium Backup and I backup my phone regularly, I may try do that...
Do the wipe, trust me. A few installs of programs is not an issue. Your personal data is not lost. Just reinstall your shops that you need and if the days is missing restore with titanium backup.
You will keep having these issues until you do.
Sent from my Nexus 7 using Tapatalk 2
Im having the exact same problem.. Media is 50% CPU, and my S3 gets hot until I stop the Media process after each reboot.
I would like to find a fix before going threw a wipe.
rushter said:
Do the wipe, trust me. A few installs of programs is not an issue. Your personal data is not lost. Just reinstall your shops that you need and if the days is missing restore with titanium backup.
You will keep having these issues until you do.
Sent from my Nexus 7 using Tapatalk 2
Click to expand...
Click to collapse
I was having the same problem and the phone was burning a hole in my pocket.
I found that the problem only seemed to occur on a reboot with android.process.media consuming 96% of the CPU for approximately 40minutes.
I attempted to add a .nomedia file to every single directory on the root of my internal SDCARD. - This made no difference.
I discovered that if I killed the process via the terminal it was eventually restarted by zygote and the same issue occured.
I found the only way to stop this from occuring was to Freeze the "Media Storage" app using Titanium Backup. But (not surprisingly) other things did not work - eg being able to capture a screenshot.
I also discovered that if I went into Titanium Backup and issued a "Clear Cached Data" for the Media Storage app, this resulted in the process ceasing it's CPU consumption - useful - but hardly a silver bullet and an annoying step to take after every reboot. (Additionally I do not know if the scan process might of kicked off automatically at some later stage anyway).
Interestingly I discovered that the phone did not overheat when it was plugged into a power supply - completely unrelated but none the less I found this interesting cause I always thought it was the CPU causing the overheating - when in actual fact it was the battery being emptied - unrelated to the issue at hand but none the less a nice tangent
Now this is what I discovered:
I have an application called NZ Topo Maps, it creates a absolutely massive directory structure to download all the tiles of NZ and cache them locally. Each directory can have many sub directories which in turns has many more and can have many many files in each.
So I deleted the entire tilecache. The result - after a reboot android.process.media consumed 5seconds of CPU.
Not convinced I browsed some maps and "cached" ~64MB of tiles - rebooted - 2:33mins of CPU time consumed... hmmmm.
So I cached ~128mb of tiles - 7:44mins of CPU time consumed after a reboot - diffidently onto something here....
Of interest - every single directory which the NZ Topo Maps program creates has a ".nomedia" included and all of the files are labelled with a *.jpg_ suffix.
So I decided to do some more research - Under the structure I had 425 sub-directories and 10615 files that ended with the suffix .jpg_
Out of curiosity I deleted all the files (including the .nomedia) and left the directory structure completely intact.
After a reboot the media process consumed 32sec of CPU time.
For the final test I deleted the directory structure:
CPU consumed: SIX seconds!!!!
Solved: Why android.process.media is consuming so much battery.... for me atleast.
So in conclusion it seems that:
1) The .nomedia directive applies only to the current directory - android.process.media will still recurse into sub directories
2) The .nomedia does not make any difference to the time it takes media to process the contents of a directory - eg - it was still doing "something" with the files in the directory.
3) The naming of files .jpg_ does not make any difference either, the process will still look at them - not sure if it is supposed to or not.
Where to from here - I would really like to find the source for this process and have a look at it's logic, but right now I just don't understand the android internals enough to be able to determine where the source is located in the source tree! I have posted another thread about this - http://forum.xda-developers.com/showthread.php?p=34326153#post34326153 hopefully someone will give me an answer because this situation is less than ideal.
Hopefully this helps someone else and sends them in the right direction?
Rowan
All,
I found this link. I would post a click-able link but I am not allowed as I am a new forum member - so I am afraid you'll have to type it in the old fashioned way from the image below.
Please head over and "STAR" the bug and/or add your own comments / experience, the more visibility it gets the more likely it is to be fixed.
Cheers.
-Rowan
I have a new HTC One X+ running JB 4.1.1 Sense+. I noticed this happens off and on that the phone gets hot and battery plummets. Using Android Task Manager, realtime process viewer and showing system processes setting turned on, I discovered also it is android.process.media consuming the CPU.
I have over 2,800 mp3 files, most are highquality high bitrate, 16GB worth. They are all put into a directory structure based on artist and album name. I'm sure this is what the process is choking on.
The question is, is it some sort of indexing that just takes days or is it going to happen every time I reboot the phone? The USB charge can't even keep up with the batter drain when it is doing this.
every reboot, so don't reboot your phone)
jazee said:
The question is, is it some sort of indexing that just takes days or is it going to happen every time I reboot the phone? The USB charge can't even keep up with the batter drain when it is doing this.
Click to expand...
Click to collapse
It happens every reboot. The following workarounds are available:
a) not reboot
b) reboot only when you are connected to power
c) use TitaniumBackup to Freeze "Media Storage" (requires root)
d) Settings -> Apps -> ALL -> Media Storage -> “Clear data”. NB: A Force Stop will result in the process being restarted by Zygote at a later time.
e) delete the large directory structure and directories with 1000's of files.
(c) works indefinitely but things stop working - eg - screenshot fails
(d) seems to work until the next reboot but all of your media is gone from the native library - but this may not effect third-party players/apps
If you're using too much power when charging via USB, you might want to get a plug in wall adapter which can supply more current.
It's a really bad situation and seems to be effecting every build of JellyBean - it's a defect in the core software.
Things which do not work:
.nomedia - placing .nomedia files in all directories, some of the directories or the root directories has no noticeable effect.
renaming files - renaming media to an unknown extension (e.g., picture.jpg -> picture.abc) has no effect
-Rowan
I personally went through:
deleting broken images inside of my gallery
deleting my music
deleting my pictures
checking filesystem on my /sdcard partition
deleting some large directories that contains a lot of files
placing .nomedia inside of some directories
bloging about this: Android Media Process (high CPU) | alexus' blog
about to commit suiside #$%#&@!)
and almost every time when i (re)boot my phone and i'm not plugged in, i'll lose about 10% of battery in first 10min of my phone is doing something...
Google! fix it already!))

[Q] Warning - There is not enough space in your device?

Hi there guys,
From my time being on Android, I've come across a few errors that say they don't have enough "space" and this is usually down to SD card errors - but in this instant I'm completely stumped. To the point I think it is a very very bad virus.
Mum's phone: Note 2 - SIM unlocked, bought outright - she's been using it for over a year now
Symptom: When trying to open ANY picture (be it screenshot ON or OFF the EXT SD card - the erro (attached) crops up.
Things I've tried:
-Changing folder location of the camera app
-Clearing cache for camera, my files and gallery
-Clearing dalvik and cache in recovery
-Removing EXT SD card (with safe to remove and pulling out suddenly)
One thing I've noticed: I CANNOT move the DCIM folder. It says it "cannot be copied/deleted/moved"
The DCIM folder in "My Files" in fact doesn't exist as a folder - looks like a .DAT file - and when trying to click for details on the folder - it force closes the "my files"
One thing that's curious is that she can get the photos OFF her phone and view them on her PC without any problems.
I thus think the phone has a virus (also because there was two apps installed on there, which I've never seen before - apps that are from the play store, but apps I've never installed nor imagine my mum installing them)
Any ideas?
My only trail of thought is:
TB up and factory reset the phone.
-Dubbed
(Dead zone) - no one care to help?
I just completely wiped the phone, even wiped the system - re-flashed the ROM from scratch - as I restore the apps - the "gallery FC" what the beep is going on - I've had enough of these crap Samsung phones!!!!!

Categories

Resources