General :: Disable Android Media Scanner Service?
Jun 9, 2011
And if yes, what is the name of the app/service that I have to freeze using Titanium Backuup?
I have a 8 GB SD Card with only about 550 MB free, and the stupid media service creates 500mb worth of thumbnails and cache. It re-creates it each time I delete the cache. I'm currently running MIUI Gingerbread 2.3.4. Back when I was running CyanogenMod 6.xx I used to simply freeze the Gallery app and that used to solve the issue, but I don't see the gallery app listed in Titanium on the MIUI ROM. Freezing the MIUI Gallery app didn't stop the thumbnail cache creation process.
Creating a .nomedia file in the respective folders isn't an option because I need my photographs (I have about 20k worth of family/spouse pics that I always carry around on my phone in addition to wallpapers etc.) to be visible in Quickpic / Fishbowl photo app etc.
View 5 Replies
Sep 1, 2010
What is the class name of media scanner service?
View 2 Replies
View Related
Sep 27, 2010
When I run the following line of code:
MediaScannerConnection scanner = new MediaScannerConnection( this, null );
scanner.connect();
scanner.scanFile( szFinalFileName, null ); //<---crash here
I get a crash and this message in the console window:
09-26 14:47:44.074: ERROR/MediaScannerService(10288): Failed to delete file /data/data/com.android.providers.media/pause_scan
does anyone have any ideas why this isnt working and what i can do to fix it?
View 1 Replies
View Related
Jun 22, 2012
I am experiencing massive battery drain from *wakelock*/mediaplayer while music playback.
For now, i have tried everything:
- full wipe
- music playback on fresh wiped rom
- formatting sdcard / internal storage
- disabling media server
- debugging with logcat
- ...
Currently, the mediaserver drains more power then any other process, including screen. The phone gets not hot, but warm while only playing music with screen off. That was not happening before, as i listen music daily.
After all, the problem is most likely caused by a corrupt file, but how can i locate this file ? I have 2300 mp3s on my phone, so testing every single one would be a bit complicated...
GT-I9100
View 9 Replies
View Related
Nov 26, 2013
Often your Media scanner can misbehave and eat lot of CPU, Battery un-wantedly.
I had been digging out how to fix it, and here are my solutions. Perhaps try al of them, it would definitely relieve your cpu and battery usage by large. Solution works on any Android version:
Solution 1. Clear media storage data
Settings > applications > Media Storage > clear data, force stop and reboot.
Solution 2. Remove unwanted media files Navigate to /sdcard/DCIM/.thumbnails and delete all files. Repeat for external sd card. On AOSP roms, Android gallery creates too many of thumbnails that later becomes problematic for media scanner.
Solution 3. Analyze and delete excessive media files Find out what files are causing media scanner to go mad. Use any sdcard analyst (I use ES file manager > menu > Sd card analyst) to determine which directory has lots of files/subdirectories inside it. Any directory having >1000 files/folders is an alarmingly high number. Get rid of them (if you can).
Solution 4. Probe and delete bad/damaged media If you're sure you've tried above solutions and still encountering battery drain, its time to dig deeper with developer tools. Pre-requisite: You must be rooted, and have android developer tools (adb) setup. With ADB tools installed, enter shell and acquire su permissions
Code:
adb shell
su
Then run top (linux task manager) to see which process is eating cpu. You can filter top results
Code:
top -grep media
this would give you a result like
Quote:
130|root@n7000:/ # top | grep media
1905 0 10% S 7 23080K 6168K bg media /system/bin/mediaserver
2808 0 40% S 3 3524K 740K media_rw /system/bin/sdcard
2825 0 9% S 19 255832K 43936K bg u0_a5 android.process.media
%age cpu shows media server is eating cpu and needs to be fixed. Run the following command to determine which file is it currently reading
Code:
lsof | grep media_rw
If the media service is stuck at a directory/file for a long time, you know it's a damaged media file, you should get rid of it.
Once you get rid of such files, Its guaranteed media server would finish scanning soon enough.
Solution 5: Format SD cards If nothing works (or you're too lazy of trying solution 4): Take backup and format Internal, external sd card and copy only selective files/folders that you need. Problems would go away for sure.
Solution 6: Disable Media scanner If your Droid is against you and it just won't tame, its time to disable the media scanner. You can do this from adb shell
Code:
pm disable com.android.providers.media/com.android.providers.media.MediaScannerReceiver All Solutions with full detail: Fix Android Media server scanner SDcard CPU, Battery drain
View 6 Replies
View Related
Nov 22, 2012
Have a brand new HTC One X+ (AT&T). Having an issue where after boot and sometimes all of the sudden during the day, the phone gets hot and battery level drops l like ton of bricks. Using Android Task Manager App and enabling monitor of system processes and selecting realtime monitor, I've traced the problems to "android.process.media". This appears to be something to do with Android scanning the device for media files (audio/video/etc) and creating some sort of database. I also usually see the "Music Enhancer" process which has to do with Beats Audio according to HTC (but I have Beats turned off.)
I've seen old threads of people with same problem and in some cases it had to do with a "corrupted" media file and they had to remove all media files and/or factory reset their device. I just spent an entire weekend customizing this device! Plus, how the heck do you prevent yourself from copying the corrupted file over if it was a corrupted mp3 or something?
I'm pretty sure my issue stems from the fact I used my media manager (Media Monkey) to sync over 2,800 audio files to the device. My collection is of high bitrate quality, about 16GB worth of music. I'm pretty sure this is what it is choking on. What I'm not sure of is if the Media Scan the Android device is performing is just a "normal check" for changes/addition/deletions to any of the media files. This of course would take a lot of time and CPU if it has to scan 2,800 files every reboot or periodically. It seems launching Google Play sometimes starts it too as I also sometimes see Google Play Service:Music or something like that (even though I don't stream any of my audio from Google Play.)
View 1 Replies
View Related
Sep 28, 2012
I used to have a problem with the media scanner making duplicate song entries, only one would play and the other was invalid. For some reason that went away and now it adds media once and never scans again, so if I add songs later they never get picked up to be shown in the music player or winamp etc.
I found these tips:
go to application manager> all application and search
-media storage,
-music player,
-gallery application
and just delete cache and data and restart. It will solve the problem a it force to re build data base
This works still but it is a complete PITA because it resets wallpapers, ringtones and all sorts of other things to default and I don't want to have to do this every time I add a song. How do I fix the media scanner, does it even have logs or something I can look at?
Galaxy Note i717 ICS 4.0.4.
View 1 Replies
View Related
Nov 2, 2009
I've already been searching forums and google groups to find out how to force Media Scanner to rescan the sd-card for media files, but with no luck. So after 2 days of searching i decided to post a question here.
In my app i need to rename media files, change their extension, or to reveal them by changing back their extension, but the changes take effect only after i run Media Scanner from the dev-tools, or remount the image, or reboot the phone/emulator. I've tried using MediaScannerConnection, and it only works when revealing media files, but not refreshing the gallery / music player thumbnails which is the biggest problem in my app development right now.
I've also tried copying files and deleting the old ones, but that has no effect also. Does anyone have any experience with this?
View 2 Replies
View Related
Sep 7, 2009
I am trying to open an image edit it and save it back. And i am using the below code, mScanner = new MediaScannerConnection(this, new MediaScannerConnection.MediaScannerConnectionClient() { public void onMediaScannerConnected() { mScanner.scanFile (fileName, null /* mimeType */); }
View 4 Replies
View Related
Sep 17, 2009
I push a audio file named "music.aac" into SD card, and then execute "Media Scanner" application or re-start the device. I found that media scanner didn't process ".aac" file, so the "music.aac" file doesn't exist in music player. But Android supports AAC/AAC+/eAAC format.So who know the reason that the ".aac" file doesn't be processed by media scanner.
View 2 Replies
View Related
Nov 2, 2011
how to force media scanner to scan different location other than /mnt/sdcard like /mnt/USB or /mnt/sdcard_2 ..
View 1 Replies
View Related
Apr 6, 2014
The volume buttons/rocker on my phone does not allow me to change to media only. If no media is playing it only changes the ringer volume.
Imagine this setting, in my car I have volume all the way up, I get out of car and put on headphones, volume is too loud. I ether play music to where my ears bust or I go into settings and change the volume there. When I try to turn it down immediately, it changes the ringer until I let that volume display disappear. Which means I'm stuck listening to it too loud until I let it disappear to where I can change the media volume.
My little rant is over, how do I force the volume buttons to only be media!
View 14 Replies
View Related
Sep 8, 2010
I am having an issue with my M3U playlists.
I use the default Samsung media player, Isyncr and Itunes. Although I have also used the Doubletwist Player (not the desktop software) and had the same issue, I just prefer the Samsung default player mainly because of the lock screen app.
Here is the issue.
First, I sync my playlists with Itunes using Isyncr, all of the songs come over great, art and tags, everything is perfect. It also creates M3U playlists on my phone. I double checked that everything is there.
Then when I unmount, media scanner scans my SD card (which takes way longer than it should) and it deletes all of my playlists. Now a little research on XDA forums tells me that this is because anytime the media scanner scans a playlist and can't find all of the songs from that playlist, it assumes it is an old playlist and deletes it. The problem is that when I look through the M3U files, every song referenced in the list is on the card...they are all there, yet it keeps deleting them.
Does anyone know of a solution to make it stop deleting my playlists?
View 2 Replies
View Related
Jun 25, 2010
I'd like to include a feature in my application that would include a running background service that would disable SMS, if certain conditions were met (location for instance). Is there a way I can intercept the user wanting to open any SMS app and block it? Would a Broadcast Receiver be able to do the trick? Maybe a different way to go about this?
View 3 Replies
View Related
Feb 27, 2010
when i run my application i am running one notification service .how i disable clear notification service button in my application only i need to run the service when my application is running .is there any way to disable the clear notification button.
View 2 Replies
View Related
Jul 16, 2009
In LogCat, I see
E 542 MediaPlayerService Couldn't open fd for content://settings/system/ringtone
E 761 MediaPlayer unable to create media player
I'm trying to play a mp3 file.
View 3 Replies
View Related
Oct 17, 2010
Downloaded this update a few days ago and have yet to run into a song that sounds horrible as it did initially (even some in version 1.5 were a little off). I also noticed I'm receiving more data according to the Media Server Service. Think they upped the bit-rate over 3g? This is strictly speaking of audio streamed over 3g. I cant find a change log for Pandora....Anyone else have any thoughts on the new version? BTW I am a subscriber to Pandora One and use this in the car during my commute through the AUX IN in my stereo.
View 4 Replies
View Related
Aug 3, 2010
Is there any way to disable this app and keep it from restarting?? It is a serious battery killer. I go into the "running apps" menu and kill it, but it soon starts back up. Can I uninstall this? Or isit one that came with the telephone and can't be removedunless rooted?
PHP Code:
View 1 Replies
View Related
Aug 27, 2010
I'm running Android on my HD2 and have recently bought a charging/media dock and a BT earbud set.
A problem I didn't anticipate is that my phone seems to prioritise the phone jack over my bluetooth, so while the phone is charging songs are not sent out via bluetooth. The cradle has a fixed headphone jack so I cannot just not-plug-it-in, unfortunately.
Unplugging the phone from the cradle fixes it, but nullifies the cradle.
Any idea if I can force Android to use bluetooth even if the jack is occupied? Alternatively, can I disable the jack entirely so the phone will continue using the bluetooth like nothing is different?
Tried some googling and searching here, but only seems to be about jacks being dodgy/skipping. Not my issue.
View 1 Replies
View Related
Feb 22, 2010
Is there anyway to stop the stock music player on my HTC Hero from playing songs? I have a bluetooth headset and whenever I use the controls on the headset it activates the stock music player instead of the one I downloaded.
View 2 Replies
View Related
Nov 16, 2010
For some time ago I updated my X10 to Android 2.1 and today (a week later) I noticeed all the sudden that Mediascape has linked alot of my pictures stored in my phone to some of my Facebook contacts automatically. Of course Mediascape got it all wrong, linking my children to old friends I haven't met in several years etc. This raises a couple of questions:
1. First - how do I disable Face recognition service entirely. I find this very unuseful since I have found it not that good at identifying persons even when trying to learn.
2. How come that Mediascape did this automatic link between my Facebook contact and my pictures?
3. Is there a way to clear this linking data that Mediascap does. It's pretty time consuming to have to go through all Facebook friends and select the image and Delete the link between the photo and the friend.
I guess Mediascape must have downloaded images from my frieds facebook galleries and analyzed them somehow. However this isn't something I want my phone to spend time doing. The battery time of my X10 is poor already, it doesn't need to do image processing - at least I should have the option to turn this off?
Overall I find Mediascape pertty crappy. Mostly because it's performance. I guess the ideas behind it is good, but the implementation isn't near good enough.
For example, slow browsing between images. Compare with iPhone, Samsung galaxy, HTC phones, older SonyEricsson phones such as W715 or C905. All these perform much better. Is there a way to remove this or use another media viewer?
View 1 Replies
View Related
Sep 10, 2013
Will using the phone camera as a scanner damage it at all? Everything is electronic unlike dSLR which has shutter count failure.
View 1 Replies
View Related
Mar 26, 2013
find a Scanner app that will let me scan a page by literally *scanning* it with my camera, slowly sweeping the page. Similar to how you can take panoramic photos, and it stitches the images together behind the scenes. I want to use OCR to scan a page into text, but the I find the quality usually isn't good enough for accurate OCR.
View 4 Replies
View Related
Jan 10, 2014
I have a galaxy s2 and after I installed costom roms I dont have any signal what so ever.
I tried with like 3 roms and the same result.
I tought it was a modem problem and I tried to install some modems and see if that works. But it didnt.
My Service State says Out of service and sometimes it says Radio off.
View 1 Replies
View Related
Aug 16, 2010
I have Jot Not for iPhone which does a great job of scanning documents, white boards, etc. and putting them into a multiple page PDF.
View 8 Replies
View Related
Dec 14, 2009
if theres an app for this or anything in the works? My and i usually like to go mess around with some other dub owners around the island and he keeps the police scanner app out. its saved our butts a few times and would be awesome to have on my droid.
View 35 Replies
View Related
Jun 29, 2010
Is there a bar code scanner app that will really list stores that carry the item, price etc? i have tried 4 so far, non will. they search web sites. a friend who has an iphone says hers will do it, but didn't offer to demonstrate.
View 5 Replies
View Related
Apr 9, 2012
I would like to program or build a QR scanner for Android. However, I know nothing about programming so I would need a step by step instruction.
I have sucessfully used MIT App Inventor to make a QR scanner, however I want to add features. As far as I can see, I cannot output sourcecode in App Inventor, so I'm unable to edit the parts I want to.
Basically I want to change the filters and colours of an image before it gets sent to a QR reader. The QR reader could use live capture from a camera or just stills. I only need a proof of concept, so it does not need much else.
I'd probably get as far as installing Eclipse, and starting a project. But so far I have no idea what to do with source code, or how to add the feature I require.
View 1 Replies
View Related
Jan 12, 2010
DL 2 different scanners, barcode scanner and shopsavvy. Neither one works worth a darned. Have tried different items usually common ones i.e. a case of Mtn. Dew. It chokes and says it can't find a retailer. Seriously?! If it can't find even a simple case of pop which hundreds of retailers have, that's pathetic!! Has anyone found a real BC app that has actual products and works?
View 49 Replies
View Related
May 19, 2010
My wife and I have droids, however new to droid and she was using calorie counter to do her grocery shopping as it had a scanner function that would tell her how many points the item is while shopping. Calorie counter removed that function and my wife is looking for a replacement. I apologize if i duplicated a prior post.
View 2 Replies
View Related