ICS problem? Does Mediascanner run anymore? - T-Mobile Samsung Galaxy S II SGH-T989

I've noticed an issue since I've upgraded to ICS. That every single mp3 on my SD is duplicated when my phone boots. This doesn't happen to mp3s stored on my phone.
Is there a way to get the phone to manually rescan the SD card?

I had this problem too and wound up switching to cm9. To fix it in would have to disable the mediascanner service (forgot the actual name), delete its' cache as well as delete the cache for the music app. At that point I would reboot and the music files would be re indexed properly. After a few days, the problem would recur. A workaround is to download poweramp which does not rely upon android's indexing service.
Good luck!
Sent from my GT-N7000 using Tapatalk 2

this is what solve mine:
you need to be rooted. use root explorer or ROM toolbox pro
Go to /data/data
Find and delete folder:
com.android.providers.media (don't worry it will recreate this folder)
Reboot.
Wait awhile because it is rescanning the external SD card
let me know if it worked

Related

JellyBean SD Card issue

Wondering if anyone can help...
on JB, stock google apps and system apps won't recognize my SD Card at all, while outside apps have no problem recognizing it...?
for example, stock Gallery app won't bring up my pictures, however Quick Pic has no problem. Root Explorer has no problem, Titanium Backup has no problem...but trying to access music or custom notifications for gmail/sms won't show up in the system apps (gmail, mms, etc).
another thing is when I plug my phone into my computer, none of my old files are there (but like I said they show up just fine with Root Explorer or any other file explorer).
I've tried every JB Rom available for Toro, yes I've tried SuperWipe, I've done it all.
Any ideas, fellas? Any help would be greatly appreciated. Thanks
philsfan said:
Wondering if anyone can help...
on JB, stock google apps and system apps won't recognize my SD Card at all, while outside apps have no problem recognizing it...?
for example, stock Gallery app won't bring up my pictures, however Quick Pic has no problem. Root Explorer has no problem, Titanium Backup has no problem...but trying to access music or custom notifications for gmail/sms won't show up in the system apps (gmail, mms, etc).
another thing is when I plug my phone into my computer, none of my old files are there (but like I said they show up just fine with Root Explorer or any other file explorer).
I've tried every JB Rom available for Toro, yes I've tried SuperWipe, I've done it all.
Any ideas, fellas? Any help would be greatly appreciated. Thanks
Click to expand...
Click to collapse
have you logged in to your account??? Cause I know sometimes if you are not logged in then your stock photo gallery will not show your photos....as far as not seeing them in your pc I don't know you might be shif out of luck cause if they are not there they not be there at all
Sent from my Galaxy Nexus using Tapatalk 2
Same issue here....looking for a solution...
The files are definately there...I can open them from the device but not via USB and not using Gallery. Its as though its a permission issue but I ran a fix permissions using ROM Manager but no joy....
having the same issue too. hope to get solution soon.
aidanbree said:
Same issue here....looking for a solution...
The files are definately there...I can open them from the device but not via USB and not using Gallery. Its as though its a permission issue but I ran a fix permissions using ROM Manager but no joy....
Click to expand...
Click to collapse
logged in.
files are definitely still there bc, as i said in OP, I can view them with Root Explorer and other file managers. Only with stock apps and system apps it seems to not see them.
i think it's a media server issue but i'm not educated enough on how to fix it
aidanbree said:
Same issue here....looking for a solution...
The files are definately there...I can open them from the device but not via USB and not using Gallery. Its as though its a permission issue but I ran a fix permissions using ROM Manager but no joy....
Click to expand...
Click to collapse
Try this.
Hi efrant
Thanks for the suggestion. Gave it a go (tried it twice) but unfortunately it hasn't made any difference.
I'm having the same problem... I did notice that not everything under /data/media had media_rw as the owner/group but fixing it didn't fix the media server issue.
It's definitely a media server issue though as from what I've read it's responsible for listing the files when connected via MTP/USB so I haven't found a fix for it.
I've always thought MTP was flaky. I use ADB to transfer any files back and forth.
Downloading any SDCard rescan app doesn't seem to work... but what I have noticed that if you go to Settings -> Apps -> Running and look under Media, you should see that the service is stuck in the restarting state...
I/ActivityManager( 336): Process android.process.media (pid 2148) has died.
W/ActivityManager( 336): Canceling start item Intent { cmp=com.android.providers.media/.MediaScannerService (has extras) } in
service ComponentInfo{com.android.providers.media/com.android.providers.media.MediaScannerService}
W/ActivityManager( 336): Canceling start item Intent { cmp=com.android.providers.media/.MediaScannerService (has extras) } in
service ComponentInfo{com.android.providers.media/com.android.providers.media.MediaScannerService}
W/ActivityManager( 336): Scheduling restart of crashed service com.android.providers.media/.MediaScannerService in 1440256ms
W/ActivityManager( 336): Scheduling restart of crashed service com.android.providers.media/.MtpService in 5000ms
I/ActivityManager( 336): Start proc android.process.media for service com.android.providers.media/.MtpService: pid=2249 uid=10013 gids={1015, 1023, 1024, 1028, 2001, 3003, 3007}
Click to expand...
Click to collapse
Sejanus,
Mine is restarting too.
I have noticed that if I use a file manager to duplicate an old file (e.g. photo) then I can access it...It looks like some sort of weird permission issue although I have tried all sorts of things to sort the permissions.
I'm using the GNex Toolkit V7.0 to pull everything from my virtual SD card /sdcard and then I'm going to delete everything, reboot, then push everything back to it, reboot, then see if that fixes it.
efrant said:
Try this.
Click to expand...
Click to collapse
I just tried, and it didn't work. Double checked, there was no file with a different user/group.
It seems that now my Media is not restart anymore, however I still can't see my files, neither through Google Music / Galery (although some show up), nor using USB to computer (only a few folders show up).
Therefore, nothing yet.
Any clues guys ?
Probably a solution! (at least it did work for me)
Guys, for those having issues with Media process, where Pictures & Musics don't show up, here's the solution that worked for me:
I got it from http://forum.xda-developers.com/showpost.php?p=21746289&postcount=2 (thanks Chrono_Tata).
Based on what Chrono_Tata wrote, I decided to create a ".nomedia" file in my main personal directory, where contains pictures, musics, personal files and so on.
(For those not familiar with Linux, the ". (dot)" in the beginning of the filename is very important! It means that it's a hidden file. You can create it through ES File Explorer)
For testing purposes, I copied some musics / pics to directories out of that my structure.
Then, stopped and cleaned data for: Gallery, Google Music and Media . Afterwards, restarted phone.
Bingo. It did work, and I could see the pics/musics outside my main directory (although it takes a while to re-scan everything, so wait! Gallery and Music will show nothing until scan is complete).
Well, after I realized it did work, I continued in the following way:
1) Delete the previous ".nomedia" file that I created
2) Create a new one under some sub-directory.
3) Repeat process for re-scan
I did it until I found which directory had an issue (btw, my pictures directory).
I think it might be related to thumbs.db file created by Win, but I'm not sure. Anyway, I still have to check carefully my structure to find the issue.
Hope it helps.
Regards,
Adriano.
Nice one!
For some reason the same worked with me. I seemed to have some 0k files that were perhaps causing issues. I used your process to clear things out.
Thanks Adriano!
aidanbree said:
Nice one!
For some reason the same worked with me. I seemed to have some 0k files that were perhaps causing issues. I used your process to clear things out.
Thanks Adriano!
Click to expand...
Click to collapse
Basically resolved this by
1) Creating a new directory in /sdcard/DCIM and moved all photos from /sdcard/DCIM/Camera to this directory
2) Placed .nomedia files in almost every directory in /sdcard except the obvious ones (/sdcard/DCIM/Camera being one of them)
3) Copied a months worth of photos from /sdcard/DCIM/Camera_bkup to /sdcard/DCIM/Camera, rebooted the phone, checked the gallery to see if all the photos now appeared
4) Repeated until /sdcard/DCIM/Camera_bkup was empty... in the process I removed a bunch of older pictures that were legacy from a non-Android cellphone that I copied over from my first phone
This was after I fixed the media_rw/media_rw permissions that I found as when I used the GNex Toolkit to dump my SDCard and then tried to restore it, all the files had root/root user/group permission set.
There was also an issue with timestamps of some photos where they were actually placed in the future by a few days, which was annoying because as I slid back from a picture I had just taken to the gallery it would show me some other picture then the one I had just taken. This got resolved as the wrong timestamped photos entered the past.
I was on an MCR JB build... I hope I don't have to go through all these hoops when CM10 comes out.
efrant said:
I've always thought MTP was flaky. I use ADB to transfer any files back and forth.
Click to expand...
Click to collapse
It definitely is. I'll have files missing from the MTP listing, but when I go in and look on my phone, the files are clearly there. MTP is janky at best.
This has been driving me nuts, since when the I/O update came out I flashed and had the same issue, just reverted to AOKP from nandroid.
I have partially fixed the issue by going into Recovery and fixing permissions, now I can see and select ringtones and most my camera pictures. Still many files are not showing on gallery, but I guess its progress .
Edit: Forgot to mention that I tried 4.1.1 and still had the issue, I just reverted to a nandroid b/u of ICS.
i think this issue is caused because the storage is named "sdcard0" the normal should be "sdcard" i tried to change the storage name but "sdcard0" is reed only, so i can't change the name with root explorer maybe someone can try to rename it and see if this issue will be fixed.
any thing let us know because this issue is being annoying.
raidy said:
i think this issue is caused because the storage is named "sdcard0" the normal should be "sdcard" i tried to change the storage name but "sdcard0" is reed only, so i can't change the name with root explorer maybe someone can try to rename it and see if this issue will be fixed.
any thing let us know because this issue is being annoying.
Click to expand...
Click to collapse
Having the same issues... wasting the WHOLE day troubleshooting this issue w/o any luck so far... I think I will end up going back to ICS and be happy with it until a solution is apparent. So annoying...! Jelly Bean is sooo fast!

phone not showing pics in galleries or playing sounds in apps although file are on SD

Hi all.
Today started a weird problem on my desire (running RSK rom). I have to say that nothing was changed or done to the phone for at least a week other than updates for downloaded apps. Suddenly the galleries (the htc one and the android one) and music programs like winamp or even the gmail and phone don't play the ringtones or music. BUT... the files are still on the SD card and are even working with the same apps like the winamp and galleries if I browse the SD card and pick the file and choose to show or play it. So what the heck is wrong? The files are not corrupted and the access to the SD card is possible through the phone itself.
I tried using SDRefresh or whatever it is called (the SD card refresh app) and it didn't help.
Any advice?
Have you tried this?
https://play.google.com/store/apps/details?id=com.tristarapps.tools.galleryrefresh
Or maybe delete data and cache for gallery in manage apps. Otherwise backup data and reflash the rom.
Sent from my HTC Desire using xda app-developers app
hans moleman said:
Have you tried this?
https://play.google.com/store/apps/details?id=com.tristarapps.tools.galleryrefresh
Or maybe delete data and cache for gallery in manage apps. Otherwise backup data and reflash the rom.
Sent from my HTC Desire using xda app-developers app
Click to expand...
Click to collapse
It is fixed. As it seem, ROM manager had a bug that placrd nomedia or nodata (forgot the name) in the parent directory when it updated. They fixed the bug and released an update. I deleted the file and everything is back to normal.
thanks for trying to help!

[Q]: System Storage Inaccurate

I am running the latest CM nightly. The system states that I am out of memory. When I go into Settings > Storage and refresh, it shows several GB available. I can't install any more apps. I deleted all of the apps I know longer use. I had about 600 pictures in my gallery. Since I sync with Dropbox and Google+, I deleted all of those as well. I changed my email retention from 7 days to 3. I cleared the app data of all apps.
Still getting this strange problem. I looked and there were a ton of strange log files in /data/system. They were RS_01.log, RS_02.log, etc, all the way to RS_90.log. Each log file was about 910 bytes. I deleted all of them in root explorer and rebooted. Same problem.
I can factory reset and reinstall CM, but want to see if there is a fix first. Found online people saying to dial *#9900# and deleting a log file, but dialing that number does not open a menu. Might be due to the fact that I have a later bootloader (M2), or that I am running CM.
Ideas?
Give lucky patcher a try. There's an option to odex system files which frees up int storage
Sent from my SAMSUNG-SGH-I747 using Tapatalk
I can't install any apps. Android is throwing an error, not enough system space to install whenever I try to install anything. This has to be some sort of runaway log. I found references to dumpstate logs causing this problem, but they are all in /data/log. I don't have that directory on CM11. Not sure where to look.
I found solution..
Go into your time tool box and set apps to sd to auto. having it set on ext sd messed ours up too. Easy fix for us. Hope it helps.

.nomedia files being added automatically.

I have recently done a factory reset and ever since .nomedia files keep getting added to all of the folders on my internal memory about once a day. I have a sd card but have nothing on it. I haven't added any new apps that I wasn't using before the factory reset. Has anyone else had this happen? I use ES File manager to delete them and my media then shows up like it should but its becoming very aggravating and I need help trying to track down the culprit.
This is still happening at least once a day. It is adding 312 .nomedia files. I am not sure what is causing it to happen. I have been checking my gallery using qicpic after each time I use an app and nothing but then after a while of not using the phone they get added to every folder ans sub-folder in my internal memory. Someone please tell me I'm not going crazy!

Gallery keeps crashing after update open beta 6

I have recently upgraded to open beta 6 with a clean install from beta 5. Wiped. The gallery worked fine at first as far as I know. But now it's directly crashing on opening. Another open 6 version was released today and I thought this one would fix the issue but not.
Cleaned cash and data already and also tried to disable and re-enable. No luck so far.
Running with magisk 16.3.
Anyone with the same problem? I don't feel like wiping it again just for a broken gallery app but I do want to get it working again.
I don't have the problem but it could be a corrupt image file.
To eliminate this possibility put an empty file called
Code:
.nomedia
In the root directory of your internal ("SD Card") storage. Clear Gallery app data and cache again and then open the Gallery. No images should load. If the Gallery app works again then you know you need to hunt down the corrupt file (you can do this by moving that .nomedia file around to different folders or even create more of them). If this trick doesn't work then sorry I have no further suggestions (don't forget to delete the .nomedia file).
I had the same issue and the @djmcnz method didn't work for me. I fixed it by doing everything @djmcnz did (.nomedia and deleting app cache and data), going to the Google Play store and uninstalling updates from Gallery app and than updating it back.

Categories

Resources