[Q] Android.Process.Media taking too much CPU / Battery - Galaxy Note II Q&A, Help & Troubleshooting

Hi guys
My Note 2 seems to be using too much CPU process. I have Watchdog task manager installed and almost every few minutes, i see Android.Process.Media getting a warning. At the same time, i can feel my phone is hot.
I've did some research on the web and it seems to suggest that there's a corrupted sdcard or corrupted media file (mp3, jpg, mv) in my sdcard. Thus the media storage keep trying to check the files.
My situation is, in my SD card i only have 1 folder that has a lot of pictures (download through mangawatcher). No mp3, no movies. The root folder has a .nomedia file, but it seems that the media storage still craws through the entire folder.
My phone is not rooted (need it to stay unrooted due to some reason). Is there any way to fix this?
1 other possible way i found was completely disable Android.Process.Media, but if i do this, my ringtones and notification tones are all gone (goes into unknown state).

You could try backing up your SD Card to computer, formatting it (FAT32 if external) then restoring folder by folder to isolate which one might be causing the problem?
Sent from my GT-N7100 using xda app-developers app

SenK9 said:
You could try backing up your SD Card to computer, formatting it (FAT32 if external) then restoring folder by folder to isolate which one might be causing the problem?
Sent from my GT-N7100 using xda app-developers app
Click to expand...
Click to collapse
Yeah, that's what i'm trying now. Will update here on the result.

Latest update: It would seem that my problem could be related to a bad microSD card. a friend of mine who suffered from the same problem said her problem was solved once she changed SD cards..
SanDisk -> Kingston.

Another update: i'm getting this error now..sdcard unexpectedly removed
I read some other forums, it seems to suggest the error could be because of corrupted SD card (SanDisk)
http://forums.androidcentral.com/verizon-galaxy-note-2/231647-sd-card-unexpectedly-removed-2.html

Might be worth doing a full read write test on the card on a computer just to be sure.
Sent from my GT-N7100 using xda app-developers app

Update: In the end i rooted my phone and tried this
https://play.google.com/store/apps/...SwxLDEsImNvbS5hZGR6Lm1lZGlhc2Nhbm5lcnJvb3QiXQ..
Works wonders... too bad had to use root. I'm using a 8gb MicroSD now, will try with my SanDisk 32gb again and see what happens.

Yeah that's one way around it, it's a bit annoying as a band aid fix though as each time you add any media like photos it will require triggering a scan. I also had issues with installing Apps remotely from the browser using that method.
Sent from my GT-N7100 using xda app-developers app

SenK9 said:
Yeah that's one way around it, it's a bit annoying as a band aid fix though as each time you add any media like photos it will require triggering a scan. I also had issues with installing Apps remotely from the browser using that method.
Sent from my GT-N7100 using xda app-developers app
Click to expand...
Click to collapse
Many thx Good to know that.
I just put back my original SanDisk 32GB. Though i don't have the media scanner problem, but i do see from time to time it says "Preparing SDcard" i suspect my SD card is dying just like the rest..

Had the same issue with my S3.
Turned out that the SD card was dying, which caused to be unmounted by itself and then mounted again (sometimes showing notification “sd card removed unexpectedly”), hence triggering the media scanning process.
I creates an application to monitor how many times the SD card was removed, and turned out to be unmounted every ~3 mins!!!
I then bought a new Transcend 32GB Class 10 card, and until now, this never happens, no reports from the application whatsoever, and no media process eating my battery.
Please PM me if anyone needs this app.

Related

External SD Card suddenly removed

I have a 32gb Sandisk sd Card class 10 installed on my Phone. I use it for keep my musics & videos.
Recently, I try to move my apps to the sd Card, but suddenly the Day After I move the apps, the sd Card is force removed by itself.
Therefore, my apps, musics & video, & other files cannot be opened. But After restart the Phone, the files Can be opened again.
How it could be?
Sent from my SPH-D710 using xda premium
Sent from my SPH-D710 using xda premium
Mine does this a lot too... Same SD card. This SD card works fine in any PC. When transferring over USB, does yours go VERY slow, like 700kbit as opposed to 10mbit?
I have the same sd card, same problem.
Sent from my SPH-D710 using xda premium
Perhaps we have a pattern here...
I have switched to an 8gb samsung class 6 card and over the last 3 days have only had one out of the ordinary "scanning sd card" after waking phone. I don't know if this is related to a solution or not. But all 3 of my previous cards that I was rotating in and out of my phone were class 2 Sandisk. Each of these had intermittent "sd card has been removed" and "sd card is damaged" errors. Whether or not the problems are directly related to lower class Sandisk cards, I have no idea. Maybe someone else can comment on either the brand or the class of the card giving them trouble to compare and/or contrast.
Now I upgrade my android to GA10 JB, and the sd card is readable again. The problem also didn't occur again..
Maybe it's an system error..
Sent from my SPH-D710 using xda premium
Yeah CM10.1 has been good for this issue lately, though file copy is slow as hell over USB still.
Any fix for this issue?

[Q] Phone freezes when trying to access photos on ext. SD Card

I have 812 pictures in my Camera album on my external Toshiba 32GB Class 10 SD card. When I first got the phone in December, everything worked great, even after transferring from my EVO 3D. Now, whenever I try to access my stuff on my SD card through the Gallery app, it just freezes. I can hit home and exit the app, but back doesn't work and I cannot scroll anywhere. I can still access pictures via ASTRO and save stuff on to it..I just don't anymore, in case it goes corrupt. Any solutions? I tried searching, but no one seems to have the same problem as me..
Lol. Sounds like a simple cache issue with the gallery. Go to settings, application manager, all apps, find gallery, try clearing cache, and if that doesn't solve the problem, delete data. This will not delete your images. I think it may or may not delete your thumbnails. Just scroll over the images again and a thumbnail is remade. Nothing will harm your photos.
Sent from my SPH-L710 using xda app-developers app
kkarson said:
I have 812 pictures in my Camera album on my external Toshiba 32GB Class 10 SD card. When I first got the phone in December, everything worked great, even after transferring from my EVO 3D. Now, whenever I try to access my stuff on my SD card through the Gallery app, it just freezes. I can hit home and exit the app, but back doesn't work and I cannot scroll anywhere. I can still access pictures via ASTRO and save stuff on to it..I just don't anymore, in case it goes corrupt. Any solutions? I tried searching, but no one seems to have the same problem as me..
Click to expand...
Click to collapse
hmmm... I would normally say that the 800+ images in one gallery might be the cause of the problem. But you say that it was working fine previously. Even then, I'd recommend to split the images into different folders (maybe based on month they were taken) to minimize the amount of thumbnails that gallery has to process and look through.
I'm assuming you've done the MA6 and MB1 updates. Perhaps upgrading the phone to 4.1.2 caused this? I haven't heard of anything similar on XDA, but I'd stick with kkarson's approach and clear cache from the gallery app. Hope that works for ya!
Already tried clearing the cache and data from the Application Manager, but still the same results. I have a folder of old camera photos from my EVO 3D with 1780 photos in it, and it opens and I can view the photos perfectly fine, with no lag or freezing. But when I open the "Camera" folder on the ext. SD card, it just freezes and I have to go back to the home screen. I just upgraded to MB1 today and still the same results..
Sent from my SPH-L710 using xda app-developers app
Maybe there's corrupted files on the SD card causing the phone to choke when it tries to read them. If you have windows 7 or XP you can put the card in your pc, (with a card reader or usb card reader), then right click on the card and choose properties. Select the tools tab in the properties box. The first option is error checking which will scan the disk and fix errors (if fix errors is checked). However, if there are corrupted files on the SD card it might be going bad and should be reformatted.
I have the same issue. I havent found a fix. I even formatted my external SD card.. didnt help.
MadFlava said:
I have the same issue. I havent found a fix. I even formatted my external SD card.. didnt help.
Click to expand...
Click to collapse
No fix. Your Sd card is done. The fix is get a new one.
Also the op likely has Sd card problems and not a phone problem.
EzDuzit said:
No fix. Your Sd card is done. The fix is get a new one.
Also the op likely has Sd card problems and not a phone problem.
Click to expand...
Click to collapse
The card isnt that old and isnt giving any read/write errors.
I guess that could be the case.. its a class 10 Sandisk card.. I would think it would last more than a couple of months.
MadFlava said:
The card isnt that old and isnt giving any read/write errors.
I guess that could be the case.. its a class 10 Sandisk card.. I would think it would last more than a couple of months.
Click to expand...
Click to collapse
Have you benchmarked your read/write speeds to your external sd?
MadFlava said:
The card isnt that old and isnt giving any read/write errors.
I guess that could be the case.. its a class 10 Sandisk card.. I would think it would last more than a couple of months.
Click to expand...
Click to collapse
I'm looking at a Sandisk 32GB class 10 ultra card that I got right after xmas so it's only 3 mopnths old. It started spitting out corrupt files after only 1 month. Eventually I'll get another card. But if my phone ever random restarts, or suddenly locks up, or I notice media is using a lot of battery, I know if I run scan disk on the card it will show errors. It lasts for a few weeks between formats.
There are also tons of posts from people that have had sd card failures on this phone (also with new cards).
Scan of my card after phone acted up.
Uploaded with ImageShack.us
I bought a new class 10 PNY card today. Once I get some pictures on it, I guess we'll see if that was the issue.
Sent from my SPH-L710 using xda premium
MadFlava said:
I bought a new class 10 PNY card today. Once I get some pictures on it, I guess we'll see if that was the issue.
Sent from my SPH-L710 using xda premium
Click to expand...
Click to collapse
Dont worry you're not alone, theres a thread in general that had a ton of posts and the thread title was "If your sdcard failed on you, what recovery were you on?"
Many have had to purchase 2 or 3 cards until they got one that didnt go bad or corrupted. If you got the sdcard (the one that failed) very recently, you could call the manufacturer and tell them it failed on you, I'm sure they would send a replacement because I've seen others do it and they got their replacements in a timely manner
CNexus said:
Dont worry you're not alone, theres a thread in general that had a ton of posts and the thread title was "If your sdcard failed on you, what recovery were you on?"
Many have had to purchase 2 or 3 cards until they got one that didnt go bad or corrupted. If you got the sdcard (the one that failed) very recently, you could call the manufacturer and tell them it failed on you, I'm sure they would send a replacement because I've seen others do it and they got their replacements in a timely manner
Click to expand...
Click to collapse
Well, the new card doesnt work any faster than the old card. At this point, Im thinking its not the card.
I guess I'm just gonna have to get a new card....this one is only 6 months old!!
Sent from my SPH-L710 using xda app-developers app
My Verbatim class 10 16gb sd card works just fine on my SGS2 and computer but it freezes like hell the SGS4. i want it in my SGS4 ...any advice please..i formatted and still the same
kremori said:
My Verbatim class 10 16gb sd card works just fine on my SGS2 and computer but it freezes like hell the SGS4. i want it in my SGS4 ...any advice please..i formatted and still the same
Click to expand...
Click to collapse
This isn't the section for the S4.

Gallery and SD card management issues.

Okay guys so, I haven't been able to determine my issue currently. But so I'm pretty sure rom doesn't matter. I'm on wicked currently, but for whatever reason when I have much storage on my micro SD, it starts to behave oddly. It's a patriot 32 gig. When I go to open the gallery with as little as 4 gigs on the external. It'll freeze up and may or may not ever load my pictures. It refused to play a video I'd just recorded. And when I plugg the phone into the computer to try to transfer files it behaves oddly. Sometimes I'll open a folder, it shows it is empty, and then when I go to copy said empty folder it will start to move the info and show there actually is a lot of stuff in the folder. Sometimes it'll stop transferring and say 'data type cannot be identified' or something to that effect. I *think* this is only with my external SD. I've reformatted several times without luck any info on this? Thanks guys.
Sent from my SGH-M919 using xda premium
Bump please sorry guys just incredibly confused.
Sent from my SGH-M919 using xda premium
Have you tried a different SD card?

What's causing my folders to become corrupt on my SD card?

Problem:
I'll connect my phone to my computer and open the SD card (32gb) to view it and several of the folders names have been changed and they all start with a "u" now (see below for example)?? On top of that, everything in those folders is now missing... There is also a new folder called "Lost Dir" with a bunch of files in it with just numbers for names, no extension though. I'll delete the folders and they reappear on the next restart..... So I usually end up reformatting the SD card and it's good for a few days and then does it again.
Example:
Downloads is now uownloads (with a funky symbol next to it)
Data is now uata
TWRP is now uWRP
ect...
This has been happening for a little over a month... with different ROM's, so it's not a ROM issue. Could it be Fast Charge?? Could it be the kernel I'm using as I always use the same kernel?
Anyone else have this problem that could shed some light on it for me? I'd like to figure out what is causing this so I can fix it, or not repeat it.
Thanks, Jason
Sounds like the card is failing, or the controller is.
Try reformatting it in your computer using a USB adapter, not a built in reader. Do a full, not fast, format.
Could also try running Scandisk.
What brand card?
Obviously, trying a different card can sort this out quickly.
Bad card. Is it a 32GB card by chance?
Formatting will only be a temporary solution. Eventuality the errors will pop up again
Sent from my SGH-I747 using Tapatalk 2
Devhux said:
Bad card. Is it a 32GB card by chance?
Formatting will only be a temporary solution. Eventuality the errors will pop up again
Sent from my SGH-I747 using Tapatalk 2
Click to expand...
Click to collapse
Yeah, 32gb SanDisk.
All signs are pointing to this, I'll probably pick up a new one this week.
Thanks for the replies!
You may be able to have the card replaced for free under warranty.

Camera images never saved, disappeared from gallery.

To make a long story short, I took some irreplaceable pictures today that disappeared.
I have my camera saving to my 64gb memory card. I took a few pictures and a couple of panoramas and they ended up showing up glitchy and useless.
They didn't appear in the gallery with the exception of a few images.
It looked odd.
I rebooted the phone and tried to go into the gallery and they just weren't there. The previews showed up momentarily and then they vanished.
Now when I try to take a photo to go to my external memory, it works fine. It didn't pre-reboot.
Is there a method of:
A: Recovering my lost 10-15 images.
B: Ensuring that this doesn't happen in the future.
For the record, my card seems to be working fine. Music on it loads up quickly as well as any other images that I loaded onto it. Files open and there is zero lag. I don't suspect that the card is corrupted or anything.
Thanks guys.
silentecho13 said:
Is there a method of:
A: Recovering my lost 10-15 images.
Click to expand...
Click to collapse
You could try something like Recuva: https://www.piriform.com/recuva
I successfully used that to restore files deleted from microSD cards a few years back.
johnus said:
You could try something like Recuva: https://www.piriform.com/recuva
I successfully used that to restore files deleted from microSD cards a few years back.
Click to expand...
Click to collapse
Thanks!
I'm unfortunately on a Mac. Guess I'll boot into boot camp and install it and give it a go.
I hope the pictures actually existed as files though and not some cached object.
Update:
Overnight, the saving issue arose again. I'm forced to use internal storage when using my camera.
I've seen this problem before. So SD cards don't work well with Samsung devices. I bought a Samsung SD card and never seem this problem again. I recommend you do the same.
b0Ne83 said:
I've seen this problem before. So SD cards don't work well with Samsung devices. I bought a Samsung SD card and never seem this problem again. I recommend you do the same.
Click to expand...
Click to collapse
I wish I wasn't broke :/
I'm using a SanDisk 64gb. Guess I've gotta dig up some cash and get a Samsung.
I don't see how this is an issue though.
What is your card formatted in? My current is in exfat. I'm thinking the format may be an issue.
It may be a kitkat issue. Google "kitkat SD card write". Root users are using a fix that sets permissions so the sd card can be written to by all apps as expected.
Sent from my SM-N910T using XDA Free mobile app
Dumbo53 said:
It may be a kitkat issue. Google "kitkat SD card write". Root users are using a fix that sets permissions so the sd card can be written to by all apps as expected.
Sent from my SM-N910T using XDA Free mobile app
Click to expand...
Click to collapse
Right before I came across your post, I found some info on the kitkat issue with sd cards. I'm guessing that's what's causing this problem. Odd because it's the default Samsung camera that's messing up.
Oh, how I miss root. I just hope we get root soon. I'm pretty close to selling this phone and hopping on Tmobile.
I had this problem happen with very VERY irreplaceable pictures, on my backpacking trip to china, one of the most irreplaceable pictures of my entire life was taken, appeared glitchy in gallery, phone reset and it was gone.
after taking out the SD card, and doing many deep scans to try and recover the deleted pictures, it seems the pictures arent there, which leads me to believe it somehow tried to save it in internal memory (which cant be mounted as a drive, so cannot be recovered).
if you can somehow flash an older version of android (like 2.xx) you can mount your phone as a drive, and then attempt to recover deleted data from your internal SD..
yeah all i can say is ,,|,, you samsung.
I too have the same problems as the OP. And I am on SAMSUNG micro SD card! Guess it is one of those first batch gremlins?
However, I think the problem has gone away after I switch on the image "preview" option. Give it a try.
I had the same issue with a 64gGB SanDisk micro SD card. The camera would seem as if it was taking pictures but nothing was actually saved; they just shows as corrupted files in the gallery. I lost countless irreplaceable images from our honeymoon because of this. Once I switched to a 32GB Samsung micro SD card I never had the issue again, also saving the pictures directly to the internal memory solved the problem. I use the SD card for music as well so it has to be something with the phone writing to the SD card. From what I've read it's a issue with the compatability with samsung and non samsung sd cards for some reason.
Sent from my SAMSUNG-SM-N910A using XDA Free mobile app
Never had this issue with any of my Samsung phones (S2, S4, and now the Note 4). I'm using a SanDisk Class 10 32GB. I'd recommend pulling the files off the SD and doing a format. Download the App SD Maid as well for routine maintenance on your SD. Good luck.
My 64GB SanDisk SD card was giving unexpected unmounted errors, so I picked up a Samsung 64GB SD card. The unexpected unmount errors went away, but now I have this problem. Pictures are not saving to the SD card correctly. Sometimes it says media not found. Others the preview/thumbnail looks fine but the full view is just grey.
I am going to try saving to internal memory and manually moving to the SD card as I run out of room.
Sent from my iPad air using Tapatalk

Categories

Resources