The android.media.process is taking a large chunk of my battery. I haven't seen this process on any of the previous ICS passion roms. Can anybody tell me why this is constantly running?
Here's a couple screen shots. I would ask the dev but I'm a couple posts away from being able to do so. Hopefully he'll read this and explain why it would be different than the previous versions..
Try clearing data for all those services mentioned.
It's weird, I've seen this problem a lot in the thread, but I don't have it.
What are you syncing, by the way? Which do you have enabled?
Only thing synced is my gmail. I make sure to go through all of the settings and uncheck anything that would run in the background. I'll update after I clear out my cache.
Alright, hm.. could be a faulty app, too.
Let me know how it goes.
Cleared cache from recovery, set permissions.. etc. Its still running. It must be something different with this rom... I may just return to 6.5. I had no problems with it and I have gotten used to no GPS.
Sent from my SGH-T959 using XDA App
pillowmissile said:
Cleared cache from recovery, set permissions.. etc. Its still running. It must be something different with this rom... I may just return to 6.5. I had no problems with it and I have gotten used to no GPS.
Sent from my SGH-T959 using XDA App
Click to expand...
Click to collapse
I'm having this issue with V7 too. I read online that it could be a corrupt media file causing it. Apparently, you need to move your media off you SD card to see if it helps.
Haven't tried it yet
You can figure out what media it is scanning and then in that file open it up and put a .nomedia file in it and when your media scanner is engaged, it will skip over that particular file.
Be careful with .nomedia files b/c if you put them in say DCIM or you album art, take a wild guess what you'll see in your media player or your gallery.
.nomedias work as long as your make sure you know where they go. Wouldn't make sense to put on right in the root of your SD now would it? But find the file it keeps scanning and put one in there.
In my experience just let media process run until it eventually stops 10-15 min.. then reboot. Should stop excessive CPU usage after a couple reboots and data built.
I also .nomedia titanium backup and CWM.
Otherwise you may have a corrupt file causing this. I thought so at 1st but maybe its something with this ROM. I formatted my SDcard and media process still loose at boot. So just give time for it to settle and it usually goes away.
Sent from my SGH-T959 using XDA App
I was copying an Ubuntu image from my microsd to my internal memory and I put my phone down while it was copying. About a min later I turned on my phone to check the status and my phone was lagging on the lockscreen. So I locked and tried again but all I got was a black screen with a blue flashing led. I had to pull the battery to get it to turn back on. I checked my file explorer to see how far it got but the folder I created wasnt even there.
So I am just wondering if there is a chance any system files would be corrupt mainly because my folder was missing that I created and copied the file to. Also why this might have happened?
Sent from my SCH-I605 using xda premium
monkey10120 said:
I was copying an Ubuntu image from my microsd to my internal memory and I put my phone down while it was copying. About a min later I turned on my phone to check the status and my phone was lagging on the lockscreen. So I locked and tried again but all I got was a black screen with a blue flashing led. I had to pull the battery to get it to turn back on. I checked my file explorer to see how far it got but the folder I created wasnt even there.
So I am just wondering if there is a chance any system files would be corrupt mainly because my folder was missing that I created and copied the file to. Also why this might have happened?
Sent from my SCH-I605 using xda premium
Click to expand...
Click to collapse
Liie a computer your phone gets slow when internal memorys getting full.............
bendystrawboy said:
Liie a computer your phone gets slow when internal memorys getting full.............
Click to expand...
Click to collapse
Lol that makes no sense. I have 10gb free and I was copying a 2gb file. It had to do with the system writing to the sdcard while trying to read off it, reading and writing of the same source is never good. Also computers get marginally slower when full.
Sent from my SCH-I605 using xda premium
Hi all, thanks in advance for any help you can offer.
I've been going between 2 ROMs recently (Tron 2.1 and PAC-Man 23.0). For both of them, it is showing that the "Media" app is using a larger percentage of my battery (around 18%). I'm just not sure what this app is, or how to disable or remove it.
When I click on the app from the Battery details, "Force Stop" and "Report" are disabled buttons. Down below, it shows the included packages being "Downloads", "Media Storage", "Download Manager", "DRM Protected Content". I haven't been downloading anything, nor adding songs or movies, so I'm not sure what this "app" is spending its cycles doing.
Thanks!
I guess that it would be a better idea to report this incident to the ROM developer..
I have the same problem sometimes. After a google search I found that basically, your phone is searching for all the media on your internal and external storage. What causes the wake lock is that it is searching for or has found a file that is corrupt. It basically gets stuck on that file for awhile.
I had the wake lock for a couple days then it just went away.
Sent from my Infected Rezound using xda app-developers app
sanders539 said:
I have the same problem sometimes. After a google search I found that basically, your phone is searching for all the media on your internal and external storage. What causes the wake lock is that it is searching for or has found a file that is corrupt. It basically gets stuck on that file for awhile.
I had the wake lock for a couple days then it just went away.
Sent from my Infected Rezound using xda app-developers app
Click to expand...
Click to collapse
That is really interesting! Using a previous ROM, I do have a few corrupted images from a camera-app-gone-haywire. I'll have to clean those out (which I should have done anyway), and see if that helps.
Great idea!
No problem! I should go through and clean my SD card out, but I am too lazy and don't have the time to spend on it. I just deal with it because I usually have a charger nearby most of the time.
Sent from my Infected Rezound using xda app-developers app
Check to make sure the .thumbnails folder in the DCIM folder isnt overloaded with 2GB of images. Dont use the stock camera app regardless what ROM you are on. It accesses the stock Gallery app which in turns eventually creates thousands and thousands of "thumbnail" images. More like small pics at about 400x300 resolution. It JAMS up android.process.media .. hell.. it would make my phone hot because sometimes it ran straight for 24 minutes killing cpu.. deleted all the files in there and stopped using the stock app, no more problem.
THE-COPS said:
Check to make sure the .thumbnails folder in the DCIM folder isnt overloaded with 2GB of images. Dont use the stock camera app regardless what ROM you are on. It accesses the stock Gallery app which in turns eventually creates thousands and thousands of "thumbnail" images. More like small pics at about 400x300 resolution. It JAMS up android.process.media .. hell.. it would make my phone hot because sometimes it ran straight for 24 minutes killing cpu.. deleted all the files in there and stopped using the stock app, no more problem.
Click to expand...
Click to collapse
So what do we do when we have been using the stock gallery and camera app? Can I delete the .thumbnails folder? What kind of camera and gallery app do you recommend? I have both stock samsung and stock android camera that I use everyday...
I have been using my phone (unrooted stock) for quite some time now and only recently did the media act up on me and killing the battery. I have rooted and install custom rom and reformatted my sdcard.
It'll now i kinda check the battery more frequently.
Dan_L said:
So what do we do when we have been using the stock gallery and camera app? Can I delete the .thumbnails folder? What kind of camera and gallery app do you recommend? I have both stock samsung and stock android camera that I use everyday...
I have been using my phone (unrooted stock) for quite some time now and only recently did the media act up on me and killing the battery. I have rooted and install custom rom and reformatted my sdcard.
It'll now i kinda check the battery more frequently.
Click to expand...
Click to collapse
Just following up (I asked the original question). What I've found is that between various ROMs, I have two images folders on my sdcard. Mostly, I just went through and deleted a few invalid images (I think my Tron 2.0 ROM used to take corrupt images, but no longer). I cleaned out many many images I no longer needed as well.
Also, not sure if this is related: I uninstalled and reinstalled Google+ (which has an image auto-backup feature). I had been restoring it from a backup, and I think it got corrupted along the way. It was no longer automatically backing up images, for example.
Since then, I've been in much better shape, and I haven't noticed the Media process taking as much battery.
Hello all I rooted again recently after getting the 3 XX update from verizon.
and now that im rooted I cant get gallery to see any images in any folder except what is now taken with camera app.
any ideas.
restarted phone, cleared cache, restarted app, shut down phone and turned back on, tried different camera apps, different gallery apps....... all with same result that it will not see any of my pictures or videos I took before rooting or see any images in any other folder.
so im lost as to what to do to fix it.
Rom is OTA plus rooted is all.... nothing else was changed.
Im still a newbie but I know enough and i cant figure it out.
cheers all.
If I remember correctly, the files are stored in a different place in 4.2,2 then in 4.1.2. Do some searching to find the folder, and move your pictures there
Sent from my Nexus 7 using xda app-developers app
frostysnowman3567 said:
If I remember correctly, the files are stored in a different place in 4.2,2 then in 4.1.2. Do some searching to find the folder, and move your pictures there
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
ive tried moving folders and files..... but the issue is that the pics i have are in the same folder as the 1 pic i took once rooted..... so they are in the same folder. its like the gallery wont see anything else but what is taken from the camera now.
just stuck as to why its doing that..... had pics be seen in other folders before. i even have another folder on the root of the phone, well emulated sd card.... called Pics and it does not see those either.
noticed though that the camera does see the pics i took before but when i open the gallery to view those pics they are not there.
even booted into hboot and bootloader then restarted and still nothing.
oh and also i was already on 4.22 stock from verizon..... had some pics and a vid i took.... then rooted and now can't see pics and vid i took before I rooted.
found an answer i think
Ok think i figure out the issue.
the pictures i had on my device were not in a folder that the gallery app recognizes by default, so it was a naming issue and location issue. I moved the old pics taken with my camera before rooting to the folder labeled "Camera" and now the gallery an see all my images.
Before pics were in the folder named Camera....and now they are in a folder named 100MEDIA... very strange but happy it all ok now.
hope my issue helps someone sort out a problem if they ever have that issue like i did.
cheers all
Hi - I've tried a thorough search through the forums and haven't found what I needed; my apologies if this question has already been answered. I have firmware 10B and I successfully rooted using IROOT.
I borked up my stock camera app (short version: I tried to install a modded camera; it didn't work and when I went back to the original stock files they didn't work either). I downloaded the original camera apk from another post and tried that as well. No luck. When I download the apk, it shows up with the proper icon in my downloads file. But when I move it to system/priv-app, the icon is replaced with a generic "apk" icon. When I double-click on it, it gives me a parsing error. I've tried setting permissions but the outcome doesn't change. When I click on other apk files in priv-app, an update window appears.
Depending on what specific actions I take, I generally run into one of two problems - either the camera app doesn't show up at all in the app drawer, or it does show up but when I click on it I get an FC.
I've run out of ideas to try, so I'm hoping that I can get some help. Here's what I'm thinking I might need:
1) Original stock versions of lgcameraapp.apk, lgcameraapp.odex (both from system/priv-app), camera_config.xml, meda_profiles.xml (both xml files are in system/etc)
2) Tips on any other camera-related files that I might need to replace
3) Suggestions on how to correctly add lgcamera.apk and lgcamera.odex into system/priv-app (i.e., do I need to delete something first; when should I reboot; any other settings besides permissions; clear cache or dalvik - which I haven't figured out how to do; special reinstall script, etc.)
4) Any other helpful tips or suggestions
I definitely have earned a slap on the wrist for failing to backup first so any criticism or judgment will be humbly acknowledged.
Thanks in advance. I'm hoping that even though this is sort of a cluster, maybe someone else will benefit from any solutions that turn up.
helpfulstan
What app did you use to try to replace the files? Did the app ask to remount the /system partition as R/W (default is R/O)?
What permissions were you using (should be 0644 HEX or rw-r--r--)...?
Should always append .bak to files being replaced, do NOT delete ANYTHING. 32GB should be plenty able to support this...
You should .bak the original apps, add the new apps, change their permissions. Then, .bak the .xml files, add the new files, change their permissions. THEN you can reboot. If all the permissions are right you should be good to go at that point. You don't need to do anything with clearing caches, dalvik, etc.
Thanks for your help! I am using ES File Explorer to move the files around; I had renamed the original .apk and .odex files as .bak, but I didn't think to do that with the .xml files.
I tried it again, double-checking that I used the permissions you suggested but it still didn't work. Then on a whim I renamed the .xml files as .bak and tried once more. The camera app successfully launched this time - and it took pictures - but there is still one small problem; the preview does not fill the whole screen. So I'm making progress but not 100% there.
Can anyone post copies of system/etc/camera_config.xml and system/etc/media_profiles.xml? I'd love to get the camera app working correctly again, but at least now I can take some pictures!
Thanks, helpfulstan
phobos512 said:
What app did you use to try to replace the files? Did the app ask to remount the /system partition as R/W (default is R/O)?
What permissions were you using (should be 0644 HEX or rw-r--r--)...?
Should always append .bak to files being replaced, do NOT delete ANYTHING. 32GB should be plenty able to support this...
You should .bak the original apps, add the new apps, change their permissions. Then, .bak the .xml files, add the new files, change their permissions. THEN you can reboot. If all the permissions are right you should be good to go at that point. You don't need to do anything with clearing caches, dalvik, etc.
Click to expand...
Click to collapse
https://www.dropbox.com/sh/gzga1b4peuwiux9/AAC6WQ3feSxg9K-Zr8CM1A1-a
There you go
---------- Post added at 05:10 PM ---------- Previous post was at 05:09 PM ----------
What do you mean the preview doesn't fill the whole screen? At max resolution it won't.
Thanks for the files. Unfortunately it still isn't working. There is something else going on here and darned if I know what.
What I meant by doesn't fill the whole screen is that it doesn't fill the WIDTH of the screen (when the phone is held portrait) at full resolution. You are right that it doesn't fill the whole screen top to bottom at max resolution. On my phone, though, even the 10M mode doesn't fill the whole screen top to bottom.
I'm also noticing that tap to shoot isn't matching up with what I see in the preview. When I tap, it focuses and shoots, but the focus point is not where I actually tapped. It's like the tap to shoot thinks the preview is filling the whole screen even though it's not (it's focusing on the place that my finger WOULD have tapped if the preview were the right size).
The other thing that I've just noticed is that I can't shoot videos. The app FC's.
I'm wondering if maybe there's another .xml that got crudded up somehow. I now am using your stock versions of all the files you sent me - so clearly the camera app is using at least one other file to determine the screen size, preview size, etc.
Another oddity - Google camera is working almost perfectly. I can shoot pictures and videos and the previews are the correct size. However, when I try to use the settings in the Google camera to change the resolution, it FC's. So my guess is that Google camera is accessing the same messed-up file (or files), in addition to it's own configuration files.
Anyway - I really appreciate your willingness to help with this. This is kind of an interesting (but inconvenient) mystery to me. Thanks again, helpfulstan
phobos512 said:
There you go
---------- Post added at 05:10 PM ---------- Previous post was at 05:09 PM ----------
What do you mean the preview doesn't fill the whole screen? At max resolution it won't.
Click to expand...
Click to collapse
Ok, I figured it out. More later. Thanks for your help, it did the trick.
Sent from my VS985 4G using XDA Free mobile app
helpfulstan said:
Ok, I figured it out. More later. Thanks for your help, it did the trick.
Sent from my VS985 4G using XDA Free mobile app
Click to expand...
Click to collapse
Good deal. Curious to know what happened.
In summary: although I knew I needed to change permissions, and thought I was changing them correctly, I wasn't.
The longer version is that for some reason (entirely my fault) no matter how much I looked at rw-r--r--, when I went to set permissions in ES File Explorer I kept leaving out the last "r". In the permissions window, the different settings are laid out in a table rather than with letters and dashes. So I would select Read and Write for the first option, Read for the second option, and it just escaped me that I needed to select Read for the third option as well.
After all your help yesterday I did a search for recently edited files (to see if there was some other mysterious settings file that had been edited). In order to do that, I had to modify the view in ES File Explorer to show file details, which showed permissions in addition to the dates. As soon as all the permissions were showing up in the file browser, it was obvious that the permissions for the files I changed wasn't the same as the permissions for the existing system files.
I have no idea how long I would have struggled with this particular user error if you hadn't posted the correct permissions in the format that matched my browser!
Once I got the permissions set correctly for all four files, I rebooted, and everything has worked perfectly from then on.
If anyone else makes the same error I hope they find this thread because it might save them a lot of grief.
Thanks again, helpfulstan
phobos512 said:
Good deal. Curious to know what happened.
Click to expand...
Click to collapse
Glad to hear it. I use Root Explorer, that's why I asked about your permissions. RE displays the permissions in the rwxrwxrwx format natively in the directory displays. But, when you go to change them it looks like this in a little popup with checkboxes and then it tells you at the bottom what the CHMOD code would be and the rwxrwxrwx looks like.
Code:
Read Write Execute
Owner [] [] []
Group [] [] []
Others [] [] []
Set UID [] Set GID [] Sticky []
Enter Octal #### rwxrwxrwx
helpfulstan said:
In summary: although I knew I needed to change permissions, and thought I was changing them correctly, I wasn't.
The longer version is that for some reason (entirely my fault) no matter how much I looked at rw-r--r--, when I went to set permissions in ES File Explorer I kept leaving out the last "r". In the permissions window, the different settings are laid out in a table rather than with letters and dashes. So I would select Read and Write for the first option, Read for the second option, and it just escaped me that I needed to select Read for the third option as well.
After all your help yesterday I did a search for recently edited files (to see if there was some other mysterious settings file that had been edited). In order to do that, I had to modify the view in ES File Explorer to show file details, which showed permissions in addition to the dates. As soon as all the permissions were showing up in the file browser, it was obvious that the permissions for the files I changed wasn't the same as the permissions for the existing system files.
I have no idea how long I would have struggled with this particular user error if you hadn't posted the correct permissions in the format that matched my browser!
Once I got the permissions set correctly for all four files, I rebooted, and everything has worked perfectly from then on.
If anyone else makes the same error I hope they find this thread because it might save them a lot of grief.
Thanks again, helpfulstan
Click to expand...
Click to collapse
Glad you figured it out!! Now is there any way you can post screenshots of what you changed the permissions too and which ones you changed. I am in the same boat you were...not sure what I did but I am getting the forces close like you described when trying to open the camera....ugh! Do I need to download the stock files posted earlier?? I am also using root explorer but will download ES file mgr is that will help fix this.
Any further help would greatly be appreciated!!
Thanks
It can't hurt to download the stock files since those worked for me. Just make sure to rename, not delete, the old files. The .apk and .odex files go in system/priv-app and the .xml files go in system/etc. I'll post some screenshots of permissions in the morning; gotta get my kids to bed before things fall apart! Stand by ...
Sent from my VS985 4G using XDA Free mobile app
Ok, here's what it looks like from ES file explorer. For me, as soon as I had the permissions right and the files in the right folder, all I had to do was reboot. Good luck! helpfulstan
Sent from my VS985 4G using XDA Free mobile app
helpfulstan said:
Ok, here's what it looks like from ES file explorer. For me, as soon as I had the permissions right and the files in the right folder, all I had to do was reboot. Good luck! helpfulstan
Sent from my VS985 4G using XDA Free mobile app
Click to expand...
Click to collapse
Thanks!! Will let you know how it goes
---------- Post added at 02:22 PM ---------- Previous post was at 02:15 PM ----------
helpfulstan said:
Ok, here's what it looks like from ES file explorer. For me, as soon as I had the permissions right and the files in the right folder, all I had to do was reboot. Good luck! helpfulstan
Sent from my VS985 4G using XDA Free mobile app
Click to expand...
Click to collapse
Hey, when i hit the LGCameraApp.apk it opens up as a package installer.....did you have the same thing happen? Wasn't sure if I should proceed with any installation?
I would avoid that. I'm not sure if it actually changes anything (ultimately it will tell you that the installation was unsuccessful) but it doesn't get you anywhere either.
To select the file without launching the installer, long-press (at least in ES file explorer). Then click on the overflow menu (three vertical dots) and choose properties. That will bring up the dialog box that shows permissions and allows you to make changes. h.s.
Sent from my VS985 4G using XDA Free mobile app
Sigh, still not working. This thing about to make me delete the camera and start over from the downloaded files lol.
If you post some screenshots I'll see if I can spot anything you might have missed.
Sent from my VS985 4G using XDA Free mobile app
this is what I have...not sure what im missing.
droidBolt said:
this is what I have...not sure what im missing.
Click to expand...
Click to collapse
And I have the permissions set the same for all 4 files
Hm. It sure looks right. Did you try the posted files above? One other thing to look at is if you have any of the files in another system folder accidentally (like system/apps). I know in my saga I ended up somehow installing the camera app as a downloaded file and had to uninstall it through application manager. I'm assuming you have the media_profiles file in the right place and with the right permissions. I'll let you know if I can think of anything else. h.s.
Sent from my VS985 4G using XDA Free mobile app
I still have all the old files but renamed them all .bak...at least i thought i did. I will go back thru to make sure. I have moved them all to another folder i.e downloads or whatever. should i just uninstall those? right now im just using a camera app and thats working but just want everything right.