So like i said in the title, i used the app SDRescan to force my phone to rescan media because i found that the gallery app was not automatically refreshing when i added new media to the phone.
I ran the app and a couple minutes later it finishes. Turns out it deleted ALL the phones videos (luckily no pictures). But the problem im having now is that the gallery app is not detecting any media on my phone. There are still pictures, and i readded a lot of my videos back, but the app is showing no media on the phone
I force closed the app, cleared it's data etc. I even formated my sd and put the files back on. Still it shows i have no media.
I thought about taking a new picture with the camera to see what would happen then, and guess what, now it shows i have 1 picture in the gallery. Is there a way i can get the gallery to see the other 1000 pictures i have taken? And all my videos?
edit: i downloaded the stock android gallery app but its the same in that app too. So it's not just HTC's app. Somehow android isnt recognizing my old media.
anybody? this is really killing me.
edit: did a factory reset and the problem persists What's have i done!
hmmmm this is an interesting one. ive had this before but i couldnt remember how i fixed it ...
what ROM are you using, or are you stock ?
SDRescan did nothing to your phone. Your are having problems with the stock Android Media Scanner in your phone. SDRescan does nothing else but notifies the Media Scanner to do it's job on demand, instead of on-boot or SD card mount. That's all it does.
So in short you are having problems with Android Media Scanner, try to look around in this area. I seen few reports on internet when media scanner deleted some files.
fkofilee said:
hmmmm this is an interesting one. ive had this before but i couldnt remember how i fixed it ...
what ROM are you using, or are you stock ?
Click to expand...
Click to collapse
On stock... I really hope u remember, nothing I try is helping. Even after a factory reset which is weird
faugusztin said:
SDRescan did nothing to your phone. Your are having problems with the stock Android Media Scanner in your phone. SDRescan does nothing else but notifies the Media Scanner to do it's job on demand, instead of on-boot or SD card mount. That's all it does.
So in short you are having problems with Android Media Scanner, try to look around in this area. I seen few reports on internet when media scanner deleted some files.
Click to expand...
Click to collapse
I figured the problem lies with the media scanner so I went into Settings > Manage Applications > Media Storage > clear data... but nothing changes.
http://code.google.com/p/android/issues/detail?id=3692
Isn't this your problem ?
I did have a .nomedia folder on my phone with some videos in and those were deleted. But also the videos in my DCIM folder were deleted. However im over that, my problem is that media scanner isnt picking any media.
I thought i would try another microsd card i had in my sister's mp3 player, and believe it or not android picked up the media. So somehow i think this SDRescan app damaged my sc card..
No, it didn't. Media Scanner has separate databases for each and every SD card. So it's the database for your old SD card which doesn't work, when you put in a new card a new indexing database was created for the ID of your new SD card.
This has happened to me a few times, all i do is find the file using "ES File Explorer" then select to open it with the default video player and it gets added to my library of videos
It's easy to do for a couple of vids, but not really practical if you've got like 10+
faugusztin said:
No, it didn't. Media Scanner has separate databases for each and every SD card. So it's the database for your old SD card which doesn't work, when you put in a new card a new indexing database was created for the ID of your new SD card.
Click to expand...
Click to collapse
i see. but this index, is it not stored on the phone memory? because a factory reset still hasn't solved the problem. I also formatted the sd card, so shouldn't the phone recognize it as a new memory card then?
sromer said:
This has happened to me a few times, all i do is find the file using "ES File Explorer" then select to open it with the default video player and it gets added to my library of videos
It's easy to do for a couple of vids, but not really practical if you've got like 10+
Click to expand...
Click to collapse
I tried that wil ES File explorer, and other explorers i have and it doesnt work for me.
It should. You don't have by any chance .nomedia file in root folder of the SD card, right ?
faugusztin said:
It should. You don't have by any chance .nomedia file in root folder of the SD card, right ?
Click to expand...
Click to collapse
I do. I'll try delete it and see if that helps
Edit: nope
You deleted it and what did you do next ? Did you started SDRescan or rebooted your phone ? Until the Media Scanner kicks in, there won't be any change.
The point is :
1) if you had a folder with data and then added the .nomedia file to it, then unfortunately thanks to the inner workings of the media scanner the file gets deleted instead of only removing the reference from database
2) the card will get indexed again only at boot, SD card insertion or when you execute apps like SDRescan which start the Media scanner manually.
yes! it works now!! thanks for all your help faugusztin!!
after i deleted the the .nomedia folder i did a restart and the problem persisted, but now (like two hours later) i just thought i would go and check the gallery app again and low and behold all my media appeared. Maybe the media scanner didnt finish or something idk. But im happy now
But i was under the impression that the .nomedia trick only blocks media from within that folder? Why was it blocking all my media?
Anyway thanks for all your help mate. really appreciated.
It does index, but it takes time.
It block media from that folder - and all subfolders. It is a sign which says "nothing to see there" - that includes the subfolders of that folder too. Since you had the file in root folder of the card, it didn't indexed anything.
I was too late...glad you got it sorted supreme.
Sent from my GT-I9000 using XDA App
I've bought a microSD card and uploaded my music to it. Opened gallery and found a folder for every single music album with CD art inside. I certainly don't need this in my gallery, how do I remove them and force gallery not to scan my entire phone and SD card?
You need to create a .nomedia file in the directories you want excluded, OI File Manager does this easily.
Ah, but that might stop the music scan as well, which you don't want.
I spent a good amount of time researching options and the only decent solution was to install another gallery. I went with QuickPic https://play.google.com/store/apps/details?id=com.alensw.PicFolder. I still use the stock gallery for Picasa/Facebook/Dropbox.
nomedia file works but it causes problems for some other apps. For example PlayerPro can't see music now.
Media server was eating my battery and beacuse of that I cleared data and force closed media storage and rebooted.
Now the gallery is showing the DCIM in memory card but doesnt show anything else. After a reboot it started showing whatsapp images folder (weird) but still no other pictures and I had many folders like Galaxy Gear folder, a folder for slow motion videos I recorded etc.
Tried clearing media storage data, gallery data, reboot. Still no luck. Downloaded quickpic and everything is showing in quickpic but I want to use the stock gallery. I am so confused right now..
EDIT: HOOAH finally!
Did another media storage clear data + gallery clear data + reboot, I realized scrolling through every photo in a folder in Quickpic made the folder visible in stock Gallery.
I scrolled through all my photos and videos in Quickpic, now they are all visible in Gallery.
I had some pictures on my external sd that I didn't want showing up in the gallery, so I created a "temp" folder with a .nomedia file in it, and moved those pictures into it. The gallery was working as expected, with just those pictures absent. I removed the sd card to plug into my laptop to transfer those pictures. After inserting the sd card back into the phone, my pictures don't show up in the gallery, and my music doesn't show up in the stock music player. But all the files are there when I look in es explorer. After thinking the .nomedia file was the problem, I deleted the "temp" folder previously created that had that file in it, but I still have the problem. I restarted the phone, but to no avail.
Any help would be greatly appreciated! Thanks!
hturbulence said:
I had some pictures on my external sd that I didn't want showing up in the gallery, so I created a "temp" folder with a .nomedia file in it, and moved those pictures into it. The gallery was working as expected, with just those pictures absent. I removed the sd card to plug into my laptop to transfer those pictures. After inserting the sd card back into the phone, my pictures don't show up in the gallery, and my music doesn't show up in the stock music player. But all the files are there when I look in es explorer. After thinking the .nomedia file was the problem, I deleted the "temp" folder previously created that had that file in it, but I still have the problem. I restarted the phone, but to no avail.
Any help would be greatly appreciated! Thanks!
Click to expand...
Click to collapse
Try going to Settings > Applications > all applications > media storage and clearing data. Reboot and see if that solves the issue.
jeff_roey said:
Try going to Settings > Applications > all applications > media storage and clearing data. Reboot and see if that solves the issue.
Click to expand...
Click to collapse
That actually made it WORSE (don't worry, I'm not blaming you). In any file manager (even stock), I can see that all my pictures exist where they've always been. Even the pictures from the camera. However, the gallery is COMPLETELY EMPTY. I can take new pictures, and they'll show up in the gallery. So everything before today (December 12, 2014) simply won't show up in the gallery. Wtf?
Restarting media worked for me with my image downloads to internal storage. IT WAS PISSING ME OFF. Works for now, pics that weren't showing in the gallery now do. Downloaded a few images and all have been showing. Considering the S5 was the first Samsung phone I've had since the Transform I was doing a bit of SMH when it came to this issue. Good phone so far besides that issue.
Hello everyone,
I am using G900F with Lolipop. I have realized that my saved photos from the web, which have .jpg extension, are not shown in the Gallery app. However, they do when I use ES File Explorer to rename the extension from .jpg to .JPG (upper case). In the mean time QuickPic shows both types just fine.
I love using stock apps, so I don't want to switch to 3rd party app like QuickPic. Does anyone have the same problem? How do you fix that? I would be grateful to know
first try to clear data of your gallery app and media storage .
or try to factory reset your phone it may works
Does clearing media storage clean up my data in internal storage (I have no SD card)? Just tried clean data of Gallery app but no difference noticed
Update: Did clear cache/data of Gallery app and Media Storage. After a reboot it showed the newly saved picture without the need to change extension. However, I tested by saving another picture, and it was still not automatically shown in Gallery I doubt a factory reset would do anything different >.<