I don't know what I am doing wrong. I have placed a file called .nomedia in each of the image folders I don't want in the gallery, but they remain.
I've restarted the phone, Force Stop, and Clear Data. I've unmounted and remounted the SD card, manually, and through the USB mount.
Even deleted an image through the gallery and it refreshed.
To create the file I tried:
-touch .nomedia
-creating a file called .nomedia in a text editor
-empty .nomedia files, and ones with something in them
-creating it on the phone, and on the computer
The file has no 'hidden extension' I'm sure of that, especially when I used touch. I can see the file in ASTRO when viewing hidden files, it is correct.
I've either gone completely crazy, my phone is messing with me, or I've overlooked something very simple.
Any one have any ideas?
Running stock 2.2 right now.
Add a "." to the beginning of folder name instead.
Yes, I know that works. But I would prefer not to do that. Because I can't easily browse to those folders, as I need them for other things in different applications, some of which won't let me view the hidden files.
I am beginning to wonder if I should try a wipe of the SD card and put everything back on. It seems that there is something fishy going on.
I've recently done this with several folders on my N1, a few that had ringtone mp3's in it and some others with jpg's I didn't want showing up in notification or gallery.
After remounting the SD card, they no longer showed in Gallery... but you've done lots more than that, so I can't imagine what the problem could be.
I just created a new file using Ghost Explorer, but have also done it in the past mounting the SD card and creating the filename (touch)
Ok, so not sure how I fixed it, because I went the nuclear route. Backed it up, formatted, and copied everything back. Also opened the gallery while it was unmounted, and recreated all the .nomedia files.
Something there fixed it...
Wait a minute, maybe not... I don't see any images apart from the Picasa linked ones
The logcat actually showed that it was finding and ignoring .nomedia files though.
Well, I'll just have to find a happy medium. I'll give it some time to see if it will scan for more, and check for extra .nomedia in the wrong places.
Oh how lovely, they're all back. And I still see a whole lot of .nomedia being ignored in the logcat.
Eh, enough fiddling for the day.
Could you show us the lines in logcat where it's ignoring .nomedia?
Oh, it's not very helpful. No mention of the directory. Just a lot of lines saying
Code:
D/ ( 3214): found .nomedia, skipping directory
Over and over, exactly the same.
You say you placed a file called .nomedia in folders you want hidden but they still show. What about folders that already have .nomedia, are they showing as well? Maybe, if you haven't tried. Copy an orignal .nomedia file from a folder not showing up in your gallery to your personal folders.
It sounds like you created the .nomedia file from your phone directly. I don't know how that works, but here's what worked for me:
Open text editor (notepad in Windows), File -> Save As, give ".nomedia" as the name, and under "Save as type", use "All files". This made a file that worked for me.
Also make sure you have the file browser showing file extensions, so you know that .nomedia file isn't actually .nomedia.xxx.
Sistum Id said:
You say you placed a file called .nomedia in folders you want hidden but they still show. What about folders that already have .nomedia, are they showing as well? Maybe, if you haven't tried. Copy an orignal .nomedia file from a folder not showing up in your gallery to your personal folders.
Click to expand...
Click to collapse
Yeah, I've tried that too, what I think is that there is some sort of cache or something in the gallery app that I an't get rid of. I've tried another gallery app form the market, and it works with the .nomedia perfectly. If this really ends up driving me crazy I'll wait until I flash CM6 and see if that fixes it, just don't want to right now while I'm away on vacation.
cigar3tte said:
It sounds like you created the .nomedia file from your phone directly. I don't know how that works, but here's what worked for me:
Open text editor (notepad in Windows), File -> Save As, give ".nomedia" as the name, and under "Save as type", use "All files". This made a file that worked for me.
Also make sure you have the file browser showing file extensions, so you know that .nomedia file isn't actually .nomedia.xxx.
Click to expand...
Click to collapse
No, if you read my original post I've created the file many times, many ways. I know about extensions, I know how these things work. I've always just used touch before to do it, but this time since it didn't work I tried many other ways just to be sure. ls -al on the directory shows it is .nomedia exactly, nothing more, nothing less.
Clarkster said:
Yeah, I've tried that too, what I think is that there is some sort of cache or something in the gallery app that I an't get rid of. I've tried another gallery app form the market, and it works with the .nomedia perfectly. If this really ends up driving me crazy I'll wait until I flash CM6 and see if that fixes it,
Click to expand...
Click to collapse
Yeah i'm in the same boat, i've got Google maps icons in the gallery and some other assorted stuff that doesn't belong there. Did a Google search on the .nomedia thing, tried to incorporate a .nomedia (TXT) file into the offending folder a couple different ways but they're still there. I think i'll do the same, flash CM6 then go from there.
Interesting thought about the cache thing, I wonder if it could be something related?
Did you all clear the Media cache? I'd say force close it, clear its cache, then relaunch it?
Something weird is going on.. I had this happen too, but only because I hadn't remounted my SD card.
khaytsus said:
Did you all clear the Media cache? I'd say force close it, clear its cache, then relaunch it?
Something weird is going on.. I had this happen too, but only because I hadn't remounted my SD card.
Click to expand...
Click to collapse
Yup, I mentioned that in the first post. Force stopped it and cleared the cache.
There seems to literally be nothing left to do other than try a complete wipe, which I will do when I get CM6 on it.
So I have a folder called 'Icons' on my SD card. When I download an icon from the browser it goes into the 'downloads' folder. I goto my file manager and move the icon from 'downloads' to 'Icons'. Then I goto Gallery and see this:-
One instance of the Icons folder without the newly downloaded icon
A 2nd 'Icons' folder with only the newly downloaded icon and nothing else
the downloads folder still showing anything that I've moved across to the Icons folder or any other folder
I have rechecked the folder and file structure on my PC and the Gallery is definitely wrong. I only have one Icons folder and nothing in my downloads folder. The horribly slow refresh of the Gallery app is a common issue isn't it?
Aaarggh these annoying imperfections on the Nexus One really drive me nuts! I don't understand why Google, at times, produces these half-baked applications.
It's not half baked, did you rescan the media on the mSD card?
Thanks for the reply. How do I rescan media? A Google search on "android rescan media sd card" doesn't help me
Look in dev tools -> media scanner. (application on the phone)
That function is usually called after the sdcard has been unmounted after transferring files to the card.
PS. I don't find the gallery to be slow by any means, but I don't have thousands of pictures on it either. (not saying that's your case, just an over exaggeration)
evilkorn said:
Look in dev tools -> media scanner. (application on the phone)
That function is usually called after the sdcard has been unmounted after transferring files to the card.
Click to expand...
Click to collapse
Sorry, where is dev tools or media scanner? I think my original post needs a bit more clarification. I actually moved the files across from one folder to another using Estrongs File Explorer. I then reconfirmed the directory/file structure (after Gallery acted funny) using both ES File explorer and my PC.
evilkorn said:
PS. I don't find the gallery to be slow by any means, but I don't have thousands of pictures on it either. (not saying that's your case, just an over exaggeration)
Click to expand...
Click to collapse
I only have 21 images on my sd card (2 in camera folder, 15 in 'icons' folder and 4 in 'wallpapers' folder). I have absolutely zero issues with the speed of the Gallery app. My complaints are to do mainly with behaviour. I've just rebooted the phone, and Gallery still isn't able to identify the folder structure properly.
Connect USB to PC, mount and unmount your SD card.
That should do it.
TT1986 said:
So I have a folder called 'Icons' on my SD card. When I download an icon from the browser it goes into the 'downloads' folder. I goto my file manager and move the icon from 'downloads' to 'Icons'. Then I goto Gallery and see this:-
One instance of the Icons folder without the newly downloaded icon
A 2nd 'Icons' folder with only the newly downloaded icon and nothing else
the downloads folder still showing anything that I've moved across to the Icons folder or any other folder
I have rechecked the folder and file structure on my PC and the Gallery is definitely wrong. I only have one Icons folder and nothing in my downloads folder. The horribly slow refresh of the Gallery app is a common issue isn't it?
Aaarggh these annoying imperfections on the Nexus One really drive me nuts! I don't understand why Google, at times, produces these half-baked applications.
Click to expand...
Click to collapse
It rescans the card when it's mounted, but not all of the time, so if you manipulate it with a file editor it won't see the changes.
So remount the card, or if you do this often, there's a Market app.. http://www.cyrket.com/p/android/com.humanrobot.scanmedia/
I'm banging my head against the wall on this one...
My Camera taken pictures located in /DCIM/100ANDRO are duplicated when viewing in the Album App. One image is located in /Legacy/DCIM/100ANDRO and one is located in /0//DCIM/100ANDRO . Yes, I know they are the same thing, just symlinked locations. Pictures located within the DCIM directory and other subdirectories are not effected, moving the pictures to another location within DCIM or renaming 100ANDRO directory fixes the issue. I've wiped App Data and MediaData, cache unistalled the app, changed versions . Everything I can think of, but what ever picture is located within /DCIM/100ANDRO/ gets shown twice in the gallery. Even removing the pics from the folder, deleting the folder and taking a picture with the camera so the folder rebuilds, then placing the pictures back in still results in the same issue.
Any ideas? :crying:
BTW There are 700+ pictures in the folder.
Did you try one of these media rescan tools?
Cenobite_ said:
Did you try one of these media rescan tools?
Click to expand...
Click to collapse
Yep, it's re-scanned several times. The problem is the Album App sees two different locations /Legacy/ and /0/ which are actually symlinked to the same location. I assume before this was ignored but now the App sees it. My last resort is factory reset , if i have to do that i'll wait till the new version of my FW is available.
So this issue has persisted for a few weeks now and I'm not sure how to resolve it, short of doing a full factory restore (which I consider last resort, but I'll probably do this over Xmas if I don't resolve it soon).
The issue : Gallery app seems to have "lost" a whole load of my images.
I can see photos/videos I've taken, screenshots/recordings and my Download folder, but all "other" folders are gone.
I had this problem before and I managed to fix it by removing a .nomedia file which was in the same folder as a whole load of images that the Gallery app decided to ignore. The .nomedia file isn't there now.
If I use a file exploring app I can see all my images in various folders on my phone (images saved from reddit/VSCO/facebook etc). Other apps such as Google Photos can see all my images. If I go to share an image from the Facebook app then I can see all my images (although they are always mixed up and not sorted by date/name or anything like that. also very frustrating) so I know 100% that all my images are there, but the stock Gallery app has decided to ignore them.
It's not like the problem is confined to one folder and sub folders either as I'm missing my "reddit_sync" and "prisma" folders which are located EVA-L09\Internal storage\Pictures but the "Screenshot" folder saved in that location is accessible in the Gallery app. Same with EVA-L09\Internal storage\DCIM: \Camera\ is accessible as I can see all the photos and videos I've shot with the phone but the folders \Facebook\ and \Photoscan\ are not showing up at all in Gallery.
If I long press a folder (i.e Download) in the Gallery app from my phone and select "Add to Others" then the folder just disappears. The "Others" folder has totally gone.
Things I've tried
Settings > Apps > Gallery > Storage > Clear Data and Clear Cache : This restores any folders that I've put in "others" but "others" is still missing
Created a new folder and cut and pasted images into this folder on the phone. Reboot phone to see if Gallery now sees images. It doesn't
Moved a whole load of images off my phone as I thought maybe I had too many images stored on it or something. Made no difference.
Searched for all .nomedia files on the phone. None of which were stored in any of the effected folders.
Checked to make sure there's no folders selected in "Hide Albums" from the Gallery.
Any help or suggestions would be greatly appreciated. I have a feeling I may just need to clear the data/cache on some other app or something, but I don't want to start dropping mini-nukes on apps in the hope that I get a direct hit on the one thing that's causing "Others" to disappear.
Thanks in advance.
Did you try settings>apps>media storage>storage and clear data for this? I guess this will solve your issue
Edit: probably you need to either reboot afterwards or wait some minutes for the media library to be rebuilt.
FadeFx said:
Did you try settings>apps>media storage>storage and clear data for this? I guess this will solve your issue
Edit: probably you need to either reboot afterwards or wait some minutes for the media library to be rebuilt.
Click to expand...
Click to collapse
Haha that did it! Thanks so much, it's been driving me mad!
Just FYI I didn't have to reboot, the library started to rebuild almost instantly after opening up the Gallery app..
For anyone else who has this problem and has stumbled across this post: When in Settings > Apps make sure you select "Show System Processes" from the menu. I couldn't find Media Storage until I had done that.
Thanks again, FadeFX
Sry, forgot to mention that...
Gesendet von meinem GT-I9300 mit Tapatalk
I've been here so many times, hoping I must of done something wrong but I followed it right, I've cleared the date enough to lose count hoping that the albums that I put in "others" would show up, even restarting my phone after I've cleared it, they still don't show up at all.. and can't move them to another gallery folder on "files" due to it.
Albums don't show in photos
All albums appear correctly in albums tab, but the photos tab (where all pictures are shown) only includes camera photo and video and screenshot albums, tried the solutions above didn't work
Missing video Huawei
FadeFx said:
Did you try settings>apps>media storage>storage and clear data for this? I guess this will solve your issue
Edit: probably you need to either reboot afterwards or wait some minutes for the media library to be rebuilt.
Click to expand...
Click to collapse
I have a Huawei Nova and 4 days after transferring videos from my PC to phone , discovered that they were ''gone''. Inspired by your suggestions , I tried: Settings, then Apps, then Gallery, then Storage, then clean data ....rebooted and videos ......are back.
Very much wonder if this issue wil come back in the future or is this a permanent ''cure''.:fingers-crossed:
Thanks a million for your suggestions
Hello, I put around 1000 images in my Favorites by pressing <3 icon from all around the phone (Downloads, Camera, SD card storage). The folder would go missing sometimes, but it was always back after restarting the Gallery. But now it's not showing up no matter what I do, I restarted Gallery and Huawei P9 phone itself a few times, but still no Favorites folder. The images still exist in their respective original folders and have <3 marking, it's just the folder itself that is missing. This is very inconvenient because now I'll have to filter through tens of thousands of images instead of having an easy access. If any of you know how to make the Favorites folder reveal itself, I will be very grateful for your knowledge and information. Thank you.