[Q] Android media process hogs CPU.. - Vibrant Q&A, Help & Troubleshooting

I'm trouble with android media process taking up 70-100% CPU on boot for about 10-15 minutes. Specifically, I believe it is the Media storage since my music doesn;t load until android media process is done.
I checked for corrupted images. Haven't found anything to check for corrupted music. But I did eventually delete all music,pics videos. Then Factory reset, format /system and reflashed rom ( on passion v6.5) Restored watchdog to check and it is still happening....
Perhaps my file system is corrupted >? My cable sometimes disconnects...
Is there anyway to fix it?

Media Storage is used by Gallery and for ringtones/alarms/notifications. In stock eclair.ji6 and stock froyo.ka6/kb5 it's extremely buggy and does take a while to read all media upon rebooting your phone. There are times when scanning media gets stuck at 0% and you must kill the Media Storage process.
There is no need to factory reset/reflash next time you have a problem with Media Storage. Go to Application Manager, Running Applications, force close Media Storage process and clear Media Storage Data. Reboot and it will scan media twice (internal and external memory). Shouldn't take longer than 5 minutes even if you have tons of media files.
There is nothing wrong with your file system, Media Storage is just a buggy POS. Does anyone know if it has been fixed in Android OS 3 or 4?

Phrack said:
There is nothing wrong with your file system, Media Storage is just a buggy POS. Does anyone know if it has been fixed in Android OS 3 or 4?
Click to expand...
Click to collapse
Currently running an ICS rom, I have the same kind of problem... but it is really annoying since I have changed my sd card (copied the old one's content to a bigger sdcard, on which I already had music, photos and other stuff... just did what you suggested, I hope it will run smoother now!

BTW, thank you for the tip, it seems to have resolved my problems!
I had issues for a long time, actually about since I changed my sd card, it seemed to run smoother with a smaller card, I didn't know if it was because my big sd card was faulty, it seems it was almost because of the media process data!

Related

External SDCard problem

Copied a couple of GB of photos to my External SDCard.Rebooted phone, nothing showed up,but all videos and music that were on the card were still showing in Video Player,Gallery and Music Player.So I unmounted the card via settings ,remounted .now nothing shows up at all.
If I browse through Root Explorer I can see all my media,and when I look in Settings/Storage the card shows up.
I thought perhaps it was the card(only bought last week) could be the problem, so I stuck my old MicroSD card in which has some media on it, same thing.Any ideas?
Should have said.When I take a photo it is stored on the micro SD card.That works OK
Is it just teh gallery that causes an issue?
If so try what this guy suggests here to do a rescan of the media:
http://forum.xda-developers.com/showpost.php?p=27787690&postcount=3
No, nothing shows up.No videos, no music and no photos
I decided to reset the phone (from Settings) .Set it up again and all seems well again
Today I added some more albums to my external SDCard.Again, after doing so,none of the new mp3s showed up.Removed SDCard, and like before, NOTHING on the SDCard shows up.So I thought I would do what I did last time and wipe the phone.This time though it didn't do the trick,and nothing is showing up.Even reinstalled the original stock ROM,still nothing.
Have tried with a couple of different cards with the same outcome, nothing on SDCard appearing on phone(I can see the card in My Files and browse all the individual files OK).
Assuming there is something wrong with the phone , I guess all I can do is return to store, however I did unlock the phone using Voodoo Unlocker.Can this be reversed?
Can anybody help??
Either with the SDCard problem or know whether the Voodoo Unlock is reversible??
TIA
This problem has resurfaced.Installed Omega 8.1 Rom .Opened Music Player., nothing there.Same for Gallery and Video Player.
The thing is I downloaded PowerAmp,added the folder that has my music in and it works fine. Open QuickPic and all my pictures are shown, as are my videos which I can play in Video Player.
I can transfer a song to my internal memory, it shows up. Transfer it back to extSDCard, it disappears.
After flashing a stock ROM the problem is still happening.
The strange thing is ,the phone recognises there is an external card.When I open the camera app, I get the pop up asking me if I want to store my photos on the sdcard.I do, and it works fineand any picture I take on the phone shows in Gallery).It just seems to be a problem with any media.Its doing my head in.
Please save me from having to go buy an iPhone4s, because as boring as it may be, it does,as they say "just work"
This sounds software-related to me. Have you tried flashing a stock ROM and testing without installing any applications to the device? It's possible that one of the apps you have installed is causing some sort of problem.
It is still possible that the external SD card has a fault though. Have you tried a different one? Additionally, why are you using the external card rather than the internal memory?
All roms for me never find video or mp3 on external sd card .
Notable that Kies places Video in DCIM/Camera folder if you ask it to transfer filers to ext sd card and likewise music on ext card is media folder .
jje
yes, tried 3 sdcards.
Have 10GB of music. 2GB of photos. So I need to use the external SDCard ,as I would already be out of room.
This has worked fine.The last week or so there has been no problem.I have been flashing ROMS, adding media to SDCard with no issue.
How about apps? Have you tried doing this with no other applications installed?
I havent, but I am going to do a full wipe flash again without installing any apps.
saldawop said:
I havent, but I am going to do a full wipe flash again without installing any apps.
Click to expand...
Click to collapse
If you do that and it works ok, just install one app at a time until you find the culprit. Then uninstall it and email the developer!
JJEgan said:
All roms for me never find video or mp3 on external sd card .
Notable that Kies places Video in DCIM/Camera folder if you ask it to transfer filers to ext sd card and likewise music on ext card is media folder .
jje
Click to expand...
Click to collapse
Well that cant be right can it. There surely would be little point in having an external SDCard in that case.You cant put apps on it, you cant put music or video on it? (well not if you want to use stock apps)
Well, that didnt work.Fresh install of ROM, no apps installed. No music/Photos.
So thats stock ROM, Omega 7.1 (last known working with that ROM) and Omega 8.1 flashed probably half a dozen times over the last 24+ hours.
The only music and vid that appear are the Samsung installed demo ones.
saldawop said:
Well, that didnt work.Fresh install of ROM, no apps installed. No music/Photos.
So thats stock ROM, Omega 7.1 (last known working with that ROM) and Omega 8.1 flashed probably half a dozen times over the last 24+ hours.
The only music and vid that appear are the Samsung installed demo ones.
Click to expand...
Click to collapse
Weird. I have music and media stored on my external SD card, and everything reads and functions fine (on Wanamlite using Ninphetamin3).
Have you tried changing kernels?
anthropolyte said:
Weird. I have music and media stored on my external SD card, and everything reads and functions fine (on Wanamlite using Ninphetamin3).
Have you tried changing kernels?
Click to expand...
Click to collapse
No I havent.If it is something I should try I will have to have a read up. I have only rooted and flashed ROMs, never changed Kernels.
Edit:
I have used drag & drop when phone is connected to PC, I have used a card reader.Card has been formatted in the phone, in the card reader.
I have used Easy Phone Sync ,just tried Kies and that syncs fine to the external card.
It surely must be a software problem.
saldawop said:
No I havent.If it is something I should try I will have to have a read up. I have only rooted and flashed ROMs, never changed Kernels.
Edit:
I have used drag & drop when phone is connected to PC, I have used a card reader.Card has been formatted in the phone, in the card reader.
I have used Easy Phone Sync ,just tried Kies and that syncs fine to the external card.
It surely must be a software problem.
Click to expand...
Click to collapse
Definitely try flashing a new kernel - have a look through the dev sections.
It's worth reformatting the sdcard in the phone as well, using the phone software to do it - that should eliminate any weird permissions-related problems.

Memory card issues ever since ICS update

Hey everyone,
Ever since I upgraded my phone to ICS, the memory card is not writeable and I cannot delete any files. For example, if I try uploading an album, it will show up under my player, but a few moments later it will give me an error saying that files are not found. I try deleting an mp3 track through my player or My Files and it acts like it's been deleted, but will show up again some time after.
I figured it was an incompatibility issue with the ICS OS, so I tried formatting the card through the phone and that didn't work. I tried formatting it via My Computer and even used a program called HDD Low Level Format Tool, but to no avail.
The drive is recognized by my phone and my PC and plays the music and video files on it without a problem, so I don't think it's corrupt, but it's basically useless if I can't add or remove files. I tried chatting with Samsung Support, but the guy was as useless as tits on a nun.
Any ideas?
Can you put another sd card in your phone and test it? I've had 5 out of 10 sd cards die.
Nah, I'm afraid not.

Problems with media scanning on ExtSd

Hi,
It's my first post in this section, I've been somewhat active in Nexus One and HTC Tytn forums in the past.
Now, my wife and I own a GS3 each, and we are very happy with it.
But, we have 2 problems with music playing on the S3 :
- Android doesn't seem to scan music on the ExtSdcard. I tried to re-tag the mp3 files, change the folder, clean caches (general cache, music apps cache and media scanning cache), reboot several times, etc. The phone seems to only find the mp3 on the internal memory (I tried to copy a music album on the internal memory, and it was found immediatly). It's true on the two phones, but it don't really bother me because I'm used to folder navigation. Only my wife uses tags system, and she noticed this first.
I could add that this behaviour started recently but we didn't notice it, because the cache has been populated before, and it was kept in memory. We saw this behaviour yesterday, when trying to add new music files. They weren't added to the music database.
Confirmed with : stock mp3 app, Meridian, and musicmatch. I didn't try other media players.
It's a big problem since we are huge music fans, and we own large sdcards for this purpose. Especially my wife... We don't want to put the music files on internal memory, it would be stupid.
- On my own S3, the "media players" notification, when you plug the headphones and see a list of media players, this function is not working, nothing shows up. It's not a real problem for me, but I just found this lost of fonctionnality a little strange. It's working on my wife's S3.
My wife's S3 is completely stock, only rooted and some small mods.
I'm rooted, stock modded rom, with Siyah kernel b6. Very happy with it.
We both are XXLFB. I suspect XXLFB introduced the first problem/bug.
mods :
- real brightness
- skip tracks on handsfree (me)
- bloatware removed (me)
- small fonts
- camera shutter sound menu
- cell standby fix (me)
Thank you for your help, or ideas...
(sorry if this is a double thread, I can't the the first I wrote)
double post, could be deleted
Stouf said:
Hi,
- Android doesn't seem to scan music on the ExtSdcard.
I installed a few music files via KIES to EXT Card Likewise a few videos .
Then just copy and paste the rest in to the folders Kies made Media = MP3 Video = Video .
jje
Click to expand...
Click to collapse
Hi,
I read everywhere to avoid using Kies, as it could harm the phone. And the last update contained a trojan, according to my AV (gdata). Is it really, the recommended method ?
I really don't like to use softwares to make simple tasks I could do by hand.
Why, suddenly, my phone stops scanning the sd card ? I used to simply copy/paste files from the windows explorer, and it always worked :/
It's my first samsung smartphone, so maybe I'm missing something subtile ?
Stouf said:
Hi,
I read everywhere to avoid using Kies, as it could harm the phone. And the last update contained a trojan, according to my AV (gdata). Is it really, the recommended method ?
Its the official Samsung tool .
trojan = false positive
It's my first samsung smartphone, so maybe I'm missing something subtile ?
No the layout of sd card and ext card is changed for SGS3 .
You could try just making the two folders and copy and paste .
jje
Click to expand...
Click to collapse
One thing I am sure is my S3 does scan music from my extFAT 64GB card. I am not sure about Android as awhole but you shouldn't have problem doing so. Both PowerAMP and Samsung Music Player works.
extFAT 64GB card
yes if its that format fat32 gives problems .
jje
So, I tried to rename the "music" folder on ExtSd to "media", on both phones and it didn't work. Even after a reboot + removal of battery and sd card.
It is not possible to use Kies, as it is constantly crashing while media scanning...
So you think it could be related to the format of the partition ? It's Fat32.
One thing for sure, on internal memory, scanning is working. And it worked with extsd, a few days/weeks ago. Could XXBLF break this fonctionality (one of the few things the 2 phones both have) ?
Edit :
OK, I managed to make it work.
I had to backup the content of my sd to the pc, re-format using exFAT, copy my backup back. After several reboots and a media scanning cache cleaning, it now works on my phone. I now have to make the same thing on my wife's phone...
Why it stopped working on both phones is still a mystery.
However, many thanks for your help !

Help, Mediastore not working

All of a sudden mediastore stopped working on my Note, all the files are there on the card and any program that doesn't require the mediastore database can see stuff fine, but any program that uses mediastore to get it's file data doesn't work, for example all my picture viewers say I have no pictures, though in Quickpic if I change it to explorer mode I can see them fine. Does anyone know how to get it working again? I've tried shutting down and re-starting the phone, un-mounting and re-mounting the card, plugging the phone into my computer, force stoping mediastore and clearing it's data but still nothing works, it simply doesn't even attempt to scan the memory card (and internal phone memory) for media files.
I'm running the stock ICS rom, rooted.

Galaxy S2 Cm12.1-20150909 problem with internal storage

Hi,
I just noticed strange thing when prowling in ESFile Explorer. My LOST.dir folder "takes" whole 143GB of data. I noticed that when I was cleaning my phone with SD Maid - when scanning it shows "only" 15GB ready to delete, but it finally fail every time. In Disk Usage it also shows so gigantic LOST.dir folder. Nor CCleaner help too. I rebooted my phone twice, but it gave no result.
The last few days I was playing N4S:NL, today it failed a couple times during the loading screen, so I decided to reinstall it. Suprisingly during the uninstallation process it didn't ask me if I want to uninstall data folder of the app too.
I can connect the phone to a PC with no issues, I thought that deleting LOST.dir in Windows Explorer can help, but I was mistaken.
Does any one have some advice what should I do? I would rather not to reflash the ROM or wipe it in recovery.
up
Anyone?
Can't you delete lost.dir folder manually using some file manager? Have you tried formatting the internal storage (Yes you will need to backup your files before doing this)? If this doesn't work, I recommend using a pit file to reconfigure all partitions on your phone, just make sure to backup!
Regards, gsstudios
No, it is impossible to delete it in i.e. ESFile, it fails everytime. Now it became even worse, I got permanent notification, which says that i'm running low on memory and some system functions may don't work. In fact they don't, I can't take a screenshot, some apps fails to run.
Last time I updated CM with this built-in function, it replaced CWM with some CM Recovery. It is poor with its few options. There is no option to backup or flash rom. It's a shame because I have a backup taken just after flashing fresh LP.
I tried to format data/factory reset in there - no result.
After all I decided to switch back to CM11, this time with 4GB pit file. I remember it to be better optimized (it was running smoother on my phone) than CM12.1. The only thing I didn't like was that issue with music stopping to play randomly. Hope it will work flawlessly, but waiting for some stable 6.0 rom

Categories

Resources