A temporary .nomedia file permanently hid everything - Nexus 5 Q&A, Help & Troubleshooting

Hey everyone,
I was reorganizing my pictures on the sdcard when I began testing CM's new Gallery app (GalleryNext). At that time, I decided I wanted to reorganize my files. I used ES file explorer to search for a .nomedia file and copied the first result to the root of the sdcard while I looked a permanent place to put it after deleting and moving pictures. Looking back at the gallery, I noticed suddenly that all pictures disappeared from my gallery, which I expected.
However, after I moved the .nomedia file AND rebooted (several times), I've noticed my gallery is STILL empty. I also noticed PlayerPro doesn't see any music. My alarm app (Gentle Alarm) however still plays music to wake me up and the MediaMonkey app can see the music. What is going on? ES is set to show hidden files, the .nomedia files are where they need to be. I first cleared data on both Google and CM galleries (which didn't work), then I uninstalled Gallery Next (didn't work), and I tried SD Scanner which is an app that can trigger media scan on KK (I know the old methods don't work on KK). I also reflashed my ROM. After reflashing, I got ONE photo from my gallery to appear.
"What to do?"

rockingondrums said:
Hey everyone,
I was reorganizing my pictures on the sdcard when I began testing CM's new Gallery app (GalleryNext). At that time, I decided I wanted to reorganize my files. I used ES file explorer to search for a .nomedia file and copied the first result to the root of the sdcard while I looked a permanent place to put it after deleting and moving pictures. Looking back at the gallery, I noticed suddenly that all pictures disappeared from my gallery, which I expected.
However, after I moved the .nomedia file AND rebooted (several times), I've noticed my gallery is STILL empty. I also noticed PlayerPro doesn't see any music. My alarm app (Gentle Alarm) however still plays music to wake me up and the MediaMonkey app can see the music. What is going on? ES is set to show hidden files, the .nomedia files are where they need to be. I first cleared data on both Google and CM galleries (which didn't work), then I uninstalled Gallery Next (didn't work), and I tried SD Scanner which is an app that can trigger media scan on KK (I know the old methods don't work on KK). I also reflashed my ROM. After reflashing, I got ONE photo from my gallery to appear.
"What to do?"
Click to expand...
Click to collapse
I also got this problem. My solution is transfer all files to computer, then format sd card. BUT all data will gone if you not backup first.such as RR3 data.

lala458 said:
I also got this problem. My solution is transfer all files to computer, then format sd card. BUT all data will gone if you not backup first.such as RR3 data.
Click to expand...
Click to collapse
Yeah I just ended up copying everything elsewhere and reflashing the factory image, then re-doing everything. Although, it would have been nice not to. Just part of the gamble when using nightlies I guess.

I had the same problem few days ago.
I deleted appdata from settings, apps, all apps, gallery, then rebooted and used this app to fix it:
https://play.google.com/store/apps/details?id=burrows.apps.sdcard
Sent from my Nexus 5 using xda app-developers app

Related

Same pictures multiple times in gallery

Ok so I'm running cog, the latest one, and when I go to the pics on my external sd, it is showing 4 of each pic. However, when I go to the folder there is only one copy. Anybody seem this or know how to fix it?
Sent from my SAMSUNG-SGH-I897 running Cognition.
I had the samething happen only way i could get it to go away is reflash the rom.
Sent from my SAMSUNG-SGH-I897
It's the Gallery app bug in the leaked Froyo ROM we have. I know my JI6 had this problem from day one. There is no sure way to fix it.
The official Galaxy S Froyo ROM released in Europe is not better either. Its Gallery app has a nasty battery drain bug.
Try this without having to reflash.
Connect to PC and MOVE all of your pictures to your PC. Delete anything you see inside .thumbnails in the DCIM folder (from your default Camera storage). Move all of your pictures back to your phone. If you accidentally copied a .thumbnails folder, make sure you don't move that back in. Gallery will reindex all of your pictures and create new thumbnails.
Just deleting .thumbnails and a reboot works for me when/if this happens.
whiteguypl said:
Just deleting .thumbnails and a reboot works for me when/if this happens.
Click to expand...
Click to collapse
That didn't work for me. I just tried it. My gallery started showing multiple photos again. I think this only happens when I connect to my PC at work (and/or home) and browse photos using Explorer.
same thing happening to me, i have 3 of each photo on the sd card
Try going to your picasa web albums at picasaweb.google.com/home
login with the gmail account you use on your phone and look at your web albums
By default the gallery app / android will sync with picasa web albums, so anything added there will appear in gallery.
I've never used picasa but I'm gonna give it a try.
Sent from my SAMSUNG-SGH-I897 using XDA App
Move everything into your internal sd card. I know it sucks and it's not as secure but just make sure you backup regularly. It got really annoying deleting the thumbnails once a week and it hasn't happened since I shifted everything to my internal sd.
I had the same problem. Not once, but twice. The first time I deleted the copies from my PC then rebooted. For awhile that seem to work, but just today I had the same problem in multiples of 8 for each pic.
Hopefully someone finds a fix for this
FROYO.UCJI6 Rooted, same issue except I have multiple icons for same pics that dont even exist on the phone anymore. Ive killed gallery, deleted every copy of .thumbnails I can find, rebooted..etc. No avail, folders that no longer exist on the phone show up in gallery, with multiple thumbnails for the same pic, very annoying.
I've been flashing roms like crazy here recently and haven't has problem yet. Though it is said it a leaked rom bug so I'll see if out happens again.
Sent from my SAMSUNG-SGH-I897 using XDA App
I also had that same problem with the cog ROMs. I tried many of the suggested solutions, including deleting .thumbnails. Unfortunately, nothing ever worked.
I have since switched to Perception, and I haven't had that problem since.
Ok..here is the fix from other thread
With root explorer delete:
- /dbdata/databases/com.android.providers.media/externalXXX.db
- /sdcard/Android/data/com.cooliris.media
reboot
Good luck
cgm8 said:
Ok..here is the fix from other thread
With root explorer delete:
- /dbdata/databases/com.android.providers.media/externalXXX.db
- /sdcard/Android/data/com.cooliris.media
reboot
Good luck
Click to expand...
Click to collapse
that worked, thanks
Now if i do delete these strings will they affect any other programs?
cgm8 said:
Ok..here is the fix from other thread
With root explorer delete:
- /dbdata/databases/com.android.providers.media/externalXXX.db
- /sdcard/Android/data/com.cooliris.media
reboot
Good luck
Click to expand...
Click to collapse
Worked for me too!!!
Thanks!!!

has anyone figured out how to prevent the phone from deleting pictures from gallery

since i've updated to 2.3.3, i've noticed that some pictures are missing from phone. i think i had the issue with 2.3.2 as well. noticed video missing as well. this really gets to me since the pictures just randomly get deleted from the phone. i've googled it and it's a common problem. does anyone have a fix for this yet?
My understanding is that the pictures arn't actually getting deleted, just the gallery isn't displaying them. To be sure, connect your phone to your PC and browse to the pictures, they should all be there.
I believe I saw a 'fix' somewhere about installing a different gallery manager app, and that that seemed to fix the issue. I can't remember which forum I saw it on, so please don't quote me.
This used to happen to me on my NS. It would look like the photos where deleted but then when I would check later on they would be their ,and that was on 2.3.2
As we say in French: "Dans le doute, reboote". (When in doubt, reboot). Your pictures will be back in the gallery. That's the only workaround I found for the moment...
I've had this but the pictures *are* deleted. I do not trust the Gallery app anymore, and only use QuickPic (https://market.android.com/details?id=com.alensw.PicFolder&feature=search_result).
T
Quickpic is the way to go!!
I use Quickpic as well cuz the gallery app sucks. I just lost pics and a video that i converted and moved onto my phone. They are gone. Can't find them using my computer to browse my phone, can't find them using ESfile explorer either. Rebooted. Still gone
Can't find a fix anywhere. Not happy.
At least I didn't lose data on my iPhone.
I have had this happen to me too, but i had the app AndExplorer on it and i read something where it said that this app was known to delete files just randomly, so if you have this app.. id suggest using Linda Manager or another file manager instead..
Here is what you can try when you see pictures not showing up in gallery3D app:
Stop or FC Gallery.apk so it's not running
Use root expolorer (or some other expolrer capable of displaying files and folders starting with ".")
Browse to /sdcard/DCIM/.thumbnails
Delete all pictures and files you see there (those are thumbnails only)
You might have to reboot the phone but usually you can just start Gallery and it will regenerate (slowly) all your thumbnails again.
Gallery3D app creates the folder called ".thumbnails" for which it stores all thumbnails of your pictures for quick screen draw on the 3D interface. If for some reason you copy your pictures from one place on SD card to another or you add new pictures without Gallery.apk running they wont show up because thumbnails were either deleted or never created.

Photos in DCIM become unusable...

So I hand fed a few .jpg images to my DCIM/100MEDIA folder since I was having some issues with them becoming unreadable, They just seem to disappear, then I find them in File browser, but no longer exist in gallery, limiting editability for use as desktops and such... Using thunder and lightning 1.3
Im having the same issue but Im running VirusRom. Gallery doesnt work unless I manually find the image thru a file explorer and choose the gallery option. But just opening gallery from app tray does nothing, or opening gallery thru wallpaper does nothing.
There has been some talk that these MicroSD cards are crap. Mine started corrupting pictures and then failed completely, had it replaced by Verizon.
Weird. I haven't had that issue and I transferred some photo's from my OG Droid DCIM folder.
I was having this problem with all roms. I had to back up my SD, format it, and then put everything back. Haven't had a problem since.
Sent from my ADR6400L using XDA Premium App
Now they're disappearing completely, even images taken with the phones cam/vid. Cheap SD cards make a little sense... I have formatted, almost every ROM... I'll check it out.
By chance, do you happen to have a .nomedia file in any of these directories that are "losing images" or making photos "unusable".
If so, this would be your issue. Remove that file and they will show up in Gallery again.

[Q] Can't Find Media/Picture Files After Root

I have been at this for days. Googling for an answer, reading all the forums, and trying some of thier remedies to no avail. I rooted my T-mobile Galaxy S without any issues, however,now I can't access my stored wallpaper, notification or ringtones or pictures stored previously to root. I can see everything in thier respective folders when I open ES File Explorer. I tried to set up a separate media folder with sub folders(RINGTONES/NOTIFICATIONS) and copying and pasting the files to no avail. I have been resorting to reloading new ringtones/notificastions on Zedge and emailing the wallpapers and my photos to myself to get them to be recognized. When I open gallery there are no pictures, even though I see all my pictures in the picture file on sd card. I currently have ROM Manager, ROM Toolbox, Tegrack Overclock and Titanium Backup. Any help in directing me to fix this probably simple issue will be more than greatly appreciated. Also all my music shows up on my Poweramp App, but when changing a ringtone, and prompted for music file no music shows up. Thanks again. VN
vnicastro said:
I have been at this for days. Googling for an answer, reading all the forums, and trying some of thier remedies to no avail. I rooted my T-mobile Galaxy S without any issues, however,now I can't access my stored wallpaper, notification or ringtones or pictures stored previously to root. I can see everything in thier respective folders when I open ES File Explorer. I tried to set up a separate media folder with sub folders(RINGTONES/NOTIFICATIONS) and copying and pasting the files to no avail. I have been resorting to reloading new ringtones/notificastions on Zedge and emailing the wallpapers and my photos to myself to get them to be recognized. When I open gallery there are no pictures, even though I see all my pictures in the picture file on sd card. I currently have ROM Manager, ROM Toolbox, Tegrack Overclock and Titanium Backup. Any help in directing me to fix this probably simple issue will be more than greatly appreciated. Also all my music shows up on my Poweramp App, but when changing a ringtone, and prompted for music file no music shows up. Thanks again. VN
Click to expand...
Click to collapse
I'm not familiar with the Galaxy S but it sounds like a permissions issue. I know on the Galaxy S 4G the user.group on files/folders on the sdcard are set to system.sdcard_rw & the file permissions are usually rwxrwxr-x.
Check the permissions and user.group ownership to see if they look correct.
When you start the phone, or remount the SD card are you getting the Media Scanner notification? Your phone may not be checking your SD card for media. If you're using poweramp, check the settings for library to make sure it's not disabling the built-in media scanner for the folders you have your files in.
You can also try going to Phone Settings - Applications - Manage - All - Media Storage, then clear the data, and reboot.
You can also try making a backup of your sd card onto your computer, then formatting it to fat32 and putting the files back to see if it'll read them again. I've had issues before where the phone wouldn't recognize it unless it was fat32.

[Q] Hiding media from gallery or music ("nomedia" trick not working)

Hi all
I've installed some apps which have their folder on the sdcard with various images, sprites, sounds (one of these is a satnav app).
The problem is, these appear and clutter my gallery and music apps. I use both apps from motorola and not their google counterpart.
I already put a .nomedia file in the folders, rebooted the phone, cleared data on those apps, deleted thumbnail caches on the sdcard, and it doesn't work. They still show up.
So how can I do?
Thank you in advance
I've partially solved my problem with a media re-scan, triggered by renaming a folder containing media files (and then renaming it back)
The problem is that, if files into that folder change, because any app (or I) copies new stuff into them, all the hidden files pop up again in the gallery/media.
I wonder if it's an Android bug or a Motorola bug...
I've had the same problem and I solved it by placing .nomedia files in the unwanted folders and then force a media rescan with the app "Rescan Media" eek from the market
https://market.android.com/details?id=com.addz.mediascanner
or using quickpix to create that file
manojsuper said:
you have to create a new file called ".nomedia" not a folder >.>
Click to expand...
Click to collapse
Where did I say that?
I tried media scanner but it doesn't work. (fyi i'm not rooted)
When I move music around (ie from the download folderr to the music folder) it gets duplicated in the music app, both motorola's and google's. Once i unmount and remount the sd card it sorts the problem on itself.
Same thing when I move images, the thumbnails get duplicated and only one of the two loads correctly, but I can't get them to disappear unless i delete my gallery's data, and then i lose all the video thumbnails. My gallery is now full of old thumbnails, gray "unknown" thumbnails, and thumbnails that don't load.
thenext1 said:
I tried media scanner but it doesn't work. (fyi i'm not rooted)
Click to expand...
Click to collapse
As far as I know, you don't have to be rooted to use the app I linked. There is a more extensive version of the app that specifically requires root which is what I base my assumption on...
The app only forces the android internal media-scanner service to re-index all files and it does so without giving any sort of feedback. Once the app is started the media-scanner is triggered and the app seemingly does nothing, so you wouldn't get a confimation or anything...
As I said I had the same problem, but using .nomedia-files and the app solved it... Be aware that if you place a .nomedia-file in a folder the contents of that folder and it's sub-directories are being skipped by the media-scanner.
I'd recommend cleaning up all the directories and systematically copy a .nomedia file in unwanted directories. After that launch the app ance more and you should be set...
Preggy said:
As far as I know, you don't have to be rooted to use the app I linked. There is a more extensive version of the app that specifically requires root which is what I base my assumption on...
The app only forces the android internal media-scanner service to re-index all files and it does so without giving any sort of feedback. Once the app is started the media-scanner is triggered and the app seemingly does nothing, so you wouldn't get a confimation or anything...
As I said I had the same problem, but using .nomedia-files and the app solved it... Be aware that if you place a .nomedia-file in a folder the contents of that folder and it's sub-directories are being skipped by the media-scanner.
I'd recommend cleaning up all the directories and systematically copy a .nomedia file in unwanted directories. After that launch the app ance more and you should be set...
Click to expand...
Click to collapse
The problem is that, even if I put nomedia files everywhere needed, when I move files in/out of these dirs, they all pop up in Gallery/Music, including those that were previously hidden. And to solve this (talking only of Gallery now) I have to clear its app data. It would be just easier to hide the "all images" section of Gallery...
I miss the good ol android 2.1 times where you could fiddle with everything with any app without worrying for refreshes, etc...
Give ".no_media" a try?
cogeary said:
Give ".no_media" a try?
Click to expand...
Click to collapse
I never heard of such a magic file name...
thenext1 said:
I never heard of such a magic file name...
Click to expand...
Click to collapse
Neither have I, but ROM Toolbox uses it when it puts previews of boot animations onto my SDCard and the gallery doesn't pick them up.
Just use QuickPic from the market, if it's available to you. I've been using it for quite some time, install that and freeze the gallery app. Ability to hide certain folders is built right in.
+1 to the QuickPic app...the stock Gallery SUCKS!!! I hide all the folders I do not want to be scanned and now I have a clean photo library. I also use PowerAmp for music since I hide my music folder so that I don't see album art and PowerAmp allows you to select folders to scan (regardless if there is a .nodedia file or not) instead of scanning everything. I believe Winamp will do the same thing, not sure.

Categories

Resources