First my battery died.
Then I powered back up.
Only to find all galleries contained nothing.
Sdcard was healthy, all files in tact.
Reboot / remount / rescan all didn't work.
Accidentally deleted all .nomedia files with a single click.
What fixed my galleries and playlist was clearing cache & fixing permissions from recovery.
Back to the bit where I deleted all .nomedia files.
I have readded .nomedia files to applicable folders using a third party app purely for convenience.
All folders in android/data are still showing up in 'choose image' dialogs.
Basically every app I have installed comes up as a gallery folder for its icon.
I've set my media gallery to hide these folders, but for choosing files from other apps its a bit annoying having to scroll through so many pseudo albums.
Any suggestions, or ideas why the nomedia files aren't doing their job anymore?
Sent from XDA-DEV app on my;
Telstra HTC One XL.
Unlocked, rooted.
Viper XL 1.2.4
You need to rescan media again, if you haven't already, for it to pick up those .nomedia files.
Sent from my HTC One X using xda premium
jacobas92 said:
You need to rescan media again, if you haven't already, for it to pick up those .nomedia files.
Sent from my HTC One X using xda premium
Click to expand...
Click to collapse
Yeah tried rescanning multiple times.
Related
Ok i have some movies and lots of albums on my SD card.
When i open my gallery it loads all pictures even screen shots of the videos and the album art as pictures.
And there are many.. i have dozens and dozens of albums on the phone.
How can i get all those hidden from gallery?
For the folders on your phone that require "ahem" discretion. You can rename the folder to start with a period. e.g. "/.pictures/" and wipe the stored data for the gallery app to remove the cache of thumbnails it has created. This does mean a lot but not all apps won't look in the folder. However, if other apps need to look in the folder for music etc. they will also ignore folders starting with a period.
There's also a couple of apps on the android market that will remove items from the gallery without deleting them.
I know your problem.
Some phones also allow you to choose which folders you want to be shown in the gallery.
When in the main screen of the gallery, press the menu button and see what comes up. Hopefully you can hide your dirty habits that way.
Dallasalien's method should work on any phone.
Dallasalien said:
For the folders on your phone that require "ahem" discretion. You can rename the folder to start with a period. e.g. "/.pictures/" and wipe the stored data for the gallery app to remove the cache of thumbnails it has created. This does mean a lot but not all apps won't look in the folder. However, if other apps need to look in the folder for music etc. they will also ignore folders starting with a period.
There's also a couple of apps on the android market that will remove items from the gallery without deleting them.
Click to expand...
Click to collapse
woohoo.. the .pron worked..thanks... http://media.xda-developers.com/images/icons/icon10.gif
wife doesn't mind.. but my 3 yr old daughter doesn't need to see when she wants to view pictures..hehehe
Download Quickpic from the market let's you hide, exclude any folders you like
Sent from my SAMSUNG-SGH-I727 using xda premium
Are you drag n dropping folders from a windows machine? If so it's even copying the folder with the art work for your media player which the gallery will see. You could always just drag over the wanted video into a folder instead, or hide with a app or name the folder with a period like mentioned
john94si said:
woohoo.. the .pron worked..thanks... http://media.xda-developers.com/images/icons/icon10.gif
wife doesn't mind.. but my 3 yr old daughter doesn't need to see when she wants to view pictures..hehehe
Click to expand...
Click to collapse
*I do like that post*
If you make a new file named .nomedia in any folder of your sd card it will stop the gallery from loading the pictures in that folder.
I use astro file manager to create an empty zip and just rename it to .nomedia without the .zip at the end. You can also copy and paste the file into any other folders. It hides the pictures in subfolders as well so just 1 in your music folder will hide album art for all folders inside.
Sent from my SAMSUNG-SGH-I897 using XDA App
john94si said:
woohoo.. the .pron worked..thanks... http://media.xda-developers.com/images/icons/icon10.gif
wife doesn't mind.. but my 3 yr old daughter doesn't need to see when she wants to view pictures..hehehe
Click to expand...
Click to collapse
Your kid needs her own skyrocket!
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.
My .thumbnail file in .DCIM keeps expanding to fill all available space, preventing me from taking pictures and causing the system to become unstable. Today, ".thumbdata3--1967290299" was up to 3.5 gb. I delete it every time, but it grows back after the next reboot. Whether I delete the folder, the files itself, doesn't matter. I do have a lot of large pictures on the external SD card (not taken with the camera on the phone), which is perhaps the reason thumbnail is growing so large.
I used titanium backup pro to freeze gallery, but then I can't take pictures with the camera.
Judging from google search and a search across all XDA forums, this is not specific to the skyrocket, or the rom I'm running (cyanogenmod 10). I'm not coming across any specific solutions though other than delete them. There was one suggestion to setup a program to automatically delete the file, however that seems... inelegant.
I've also switched to using quickpic instead of the stock gallery option, but again that does nothing.
I tried naming a notepad document to .thumbnails to prevent android from making a .thumbnails file, but windows wouldn't let me.
Mediascanner seems to go nuts every time I turn on my phone after deleting the old file, the phone is warm to the touch, and BetterBatteryStats indicates it's running the cpu at 1.51 GHz for 15 to 20 minutes after boot. I'm going to try disabling media scanner to see if that prevents thumbnail from being built up, but I was wondering if anyone had any other fixes or suggestions. Like if there was any way to set a maximum file size on the thumbnail file, or if there was a way to disable the stock gallery without compromising camera functionality.
The solution I suggest will help with your media scanner issues but your photos will no longer be visible in the gallery.
Go to the folder you keep your photos in and use a file explorer app like root explorer to create an empty file named .nomedia
This tells the android media scanner to skip that folder. If you have folders inside folders, place a .nomedia file in each folder.
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
rushi.1986 said:
The solution I suggest will help with your media scanner issues but your photos will no longer be visible in the gallery.
Go to the folder you keep your photos in and use a file explorer app like root explorer to create an empty file named .nomedia
This tells the android media scanner to skip that folder. If you have folders inside folders, place a .nomedia file in each folder.
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
Click to expand...
Click to collapse
If media scanner has already detected said files, will it still show up in either Gallery or Quickpik? And will new pictures I take be added to either without media scanner?
interkin3tic said:
If media scanner has already detected said files, will it still show up in either Gallery or Quickpik? And will new pictures I take be added to either without media scanner?
Click to expand...
Click to collapse
I am pretty sure already scanned pics will be gone. As for new pics, I don't know. You just have to try it yourself.
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
Update: rescan media root, preventing media scanner from going every time the phone reboots, seems to have fixed it. Camera function is not compromised, nor are pictures hidden from quickpik.
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
I was just going to recommend that. It seems to have helped me keep boot times down and help with battery life.
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
Hi I'm owner of Moto G XT1033.
I'm on stock Kitkat.
I've noticed this problem since this morning. My phone's gallery is not showing Whatsapp images and media too!
I checked and the files are there ofcourse in storage.
I used gallery+ and still same.
Then I used a third party app Quickpic checked the see hidden option and it showed the folder.
I made sure that the media was not hidden using two for browsers but nothing.
I'm just confused why the phone's default gallery can't show the images.
Anybody face anything like this before?
Thanks in advance.
Update - For the third party app I found that I've to check for the hidden files again and again! :/
Any help please?
Solution - As neu - smurph said delete any file named as .NOMEDIA ( in caps for me might be small for you) and you got it all sorted out.
Sent from my XT1033 using XDA Premium 4 mobile app
divyanshu308 said:
Hi I'm owner of Moto G XT1033.
I'm on stock Kitkat.
I've noticed this problem since this morning. My phone's gallery is not showing Whatsapp images and media too!
I checked and the files are there ofcourse in storage.
I used gallery+ and still same.
Then I used a third party app Quickpic checked the see hidden option and it showed the folder.
I made sure that the media was not hidden using two for browsers but nothing.
I'm just confused why the phone's default gallery can't show the images.
Anybody face anything like this before?
Thanks in advance.
Update - For the third party app I found that I've to check for the hidden files again and again! :/
Any help please?
Sent from my XT1033 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Look for a ".nomedia" file in the folder structure holding the Whatsapp media/images. This will cause the Android Media Scanner to bypass the folder containing the .nomedia file and any sub folders. Also check that none of the folder names in the structure are prefixed with a period (i.e. ".images"). Again these folders (and any subfolders) are hidden from the Media Scanner.
Worked perfect!!
neu - smurph said:
Look for a ".nomedia" file in the folder structure holding the Whatsapp media/images. This will cause the Android Media Scanner to bypass the folder containing the .nomedia file and any sub folders. Also check that none of the folder names in the structure are prefixed with a period (i.e. ".images"). Again these folders (and any subfolders) are hidden from the Media Scanner.
Click to expand...
Click to collapse
Thanks for the reply worked pretty well.
Deleted the .NOMEDIA file and its up and running great.
One question though how come such a file gets created by itself?
I don't have WhatsApp installed but a lot of apps create these automatically if it isn't considered desirable for media to appear in the music player or gallery. For example PowerAmp creates an AlbumArt folder with a .nomedia file to stop the gallery being spammed with Album art images.
Maybe WhatsApp updated recently and this is a new thing?
Sent from my XT1032 using XDA Premium 4 mobile app
neu - smurph said:
Look for a ".nomedia" file in the folder structure holding the Whatsapp media/images. This will cause the Android Media Scanner to bypass the folder containing the .nomedia file and any sub folders. Also check that none of the folder names in the structure are prefixed with a period (i.e. ".images"). Again these folders (and any subfolders) are hidden from the Media Scanner.
Click to expand...
Click to collapse
Thanks a ton. This completely resolved the seemingly UN-explainable issue.
I have deleted the .nomedia filebfrom inages and vídeos but wheb restarting the phone they regenerate again, my whatts app inages and vídeos are not shown in photos or gallery can anyone help?
Regards