Nexus S problem with media is always running in the background - Nexus S Q&A, Help & Troubleshooting

Has anyone else had this problem where Media is constantly running in the background and draining battery. This is the 2nd time it has happened to me and its annoying. The first time around I just wiped my phone and all was great for bout 2 months and now its back again. media is started by an app (android.process.media). Every time I kill Media it comes right back. I used Titanium to freeze (download manager- downloads-DRM Protected and Media download) it seemed to stop it but my keyboard starts to act up and not work. Any help would be appreciate. thanks

Related

CM 7 and the Droid 1

Alright guys, I have a simple question for ya.
I've recently flashed CyanogenMod 7 onto my Droid 1, and have been experiencing problems. They are as follows:
1) After a phone call, I either need to wait about 5 minutes to get my data(3G) signal back, or reboot because it never gets a data connection back
2) I can no longer multitask as efficiently, and example is if I'm listening to music (Pandora, Rhapsody, or the default music app) and I go home to do another activity (Facebook, Browser, Pulse, etc.) my music app stops playing and the ongoing notification disapears.
3) My Facebook contacts are no longer kept in sync. It still is the same version as the one I used on CM6.1.2. However, when I do select to sync, it adds the contacts, without pictures, and within an hour, they are removed.
4) My messaging app, although it is locked in my memory, still is being killed by my system.
I've tried restoring, fixing permissions, formatting data and system.
So: has anyone else that hs CM7 expierenced these problems and if you did, did you have a solution?
Thanks in advance
Sent from my Droid 1 running CM 7 OC'd to 1.2GHtz using XDA app
I have the problem with Pandora/slacker and mutlitasking... though I haven't had any of the other problems. I'm on nightly #25. No solutions yet.
Protocol 7 said:
Alright guys, I have a simple question for ya.
I've recently flashed CyanogenMod 7 onto my Droid 1, and have been experiencing problems. They are as follows:
1) After a phone call, I either need to wait about 5 minutes to get my data(3G) signal back, or reboot because it never gets a data connection back
2) I can no longer multitask as efficiently, and example is if I'm listening to music (Pandora, Rhapsody, or the default music app) and I go home to do another activity (Facebook, Browser, Pulse, etc.) my music app stops playing and the ongoing notification disapears.
3) My Facebook contacts are no longer kept in sync. It still is the same version as the one I used on CM6.1.2. However, when I do select to sync, it adds the contacts, without pictures, and within an hour, they are removed.
4) My messaging app, although it is locked in my memory, still is being killed by my system.
I've tried restoring, fixing permissions, formatting data and system.
So: has anyone else that hs CM7 expierenced these problems and if you did, did you have a solution?
Thanks in advance
Sent from my Droid 1 running CM 7 OC'd to 1.2GHtz using XDA app
Click to expand...
Click to collapse
1) Known issue with all GB based ROM's for the D1. Enable airplane mode a few times to force it to come back.
2) This is due to GB's aggressive memory management and the D1's lack of RAM. To help this you can do 1 of 3 things.
A. Use Swappa 2 to make a swap space on your SDcard.
B. Enable Compcache at about 18% or so.
C. Change ROM's and use Project Elite 5.0.2. They have a function that allows you to lock up to three apps into memory so they don't get auto-closed.
3) I don't use Facebook so I'm no help there.
4) Refer to number 2.
Good Luck!
Hello I'm having the same problem. My Droid seems to not be able to multitask very well anymore. My music player will often get killed by the system randomly, and it has made this phone pretty much useless for music.
I have tried enabling compcache and everything and it doesn't seem to help. I assume this is a problem of the Droid not having enough memory?
Sent from my Droid using XDA App
I'm running CM7 RC4 on my droid and the only "issue" I've noticed is that I get a low memory warning from time to time.
What kernel are you running?
Perhaps CM7 is too much for droid at stock speeds.
The 1.1Ghz low volt Chevy kernel does a very good job for me.
Do you have any issues with music playback? Maybe my kernel is the problem. The 1.2 ghz slayher kernel bootloops with my CM7 but it worked fine on CM6.
Sent from my Droid using XDA App
Sorry to post again, but I just wanted to update you guys. Flashed the Chevy 1.1 LV kernel and am still having the music player shut itself off when I try to open other apps. If I leave the music player up in the foreground, it will run all day with no issues. The minute it gets sent to the background, android seems to kill it within seconds.
The taskbar notification for the player will also disappear, but may reappear randomly as I continue to use my phone. It will appear briefly, then vanish. The music will never resume playback, however, until you physically hit the pause button and then the play button.
The sad part is that this behavior was exactly what my Motorola Q used to do. The thing had so little memory that the minute apps were released from the foreground view, they'd almost instantly close. I hate to say this but I think the only solution is a new phone... I guess android has finally outpaced the hardware on the OG Droid.
I've tried everything setting the music & media processes to 'always keep alive' using the little blue fish memory manager, but that doesn't seem to work. Like I said before, *something* is closing the music process very aggressively when it leaves the foreground and I'm not sure why it's doing this.
Sent from my Droid using XDA App
Yeah I'm using cm7 on my Droid incredible. Everything works fine except, sometimes applications such as messaging app and the default web browser restart randomly. I'm also using the kernel that came with it.
Sent from my ADR6300 using XDA App
I've found that particular memory-hungry apps tend to cause the music player to close itself. The browser for one, almost guarantees that the music playback will stop. Last night I was able to keep the music playback going while switching between my SMS inbox and Tweetdeck. However certain other app combinations don't seem to work so well.
I've heard some talk of "bulletproofing" ... is this something that could help in my case? What does it do and how do I go about locking the music player in memory?
Sent from my Droid using XDA App

Aggressive background process reaping

I'm considering rooting, even though I'd prefer to keep this device stock, simply to have the ability to tweak the background process killer in Honeycomb. I don't know if it's something Asus cranked up, but I haven't heard of anyone else with a tablet having the same problems that I do. I literally cannot listen to music (through ANY app, default Android Music or whatever, they ALL die) because at some random point, beteeen 5 and 15 minutes after I switch away from the player to do something else with my tablet, ActivityManager will kill it and respawn it. This obviously stops playback, which is annoying.
I have no task killer apps or anything like that running on the tablet. Checking logcat shows nothing leading up to the event, simply a line for ActivityManager whacking the music player PID, then restarting it. If I leave the player in the foreground, it's fine, and plays without stoppage. When I switch away from it to browse, or write this post in the XDA app (expecting music to die shortly ...) or anything, it will get killed, even though it's still playing music.
Anyone else experiencing something like this?
Sent from my Transformer TF101 using xda premium
No, it's certainly not normal, and I suggest doing a factory reset before rooting if you want to keep it stock (even though custom ROMs do offer better overall performance). Does it happen randomly, even if you're sitting at the desktop for the 15 minutes, or does it only happen when you are switching between lots of apps, or using memory heavy apps?
Gary13579 said:
Does it happen randomly, even if you're sitting at the desktop for the 15 minutes, or does it only happen when you are switching between lots of apps, or using memory heavy apps?
Click to expand...
Click to collapse
The only situation which will keep the app from dying is if it's the active, foreground app. Strangely enough, the screen can sleep, as long as that music app is the one that's up when it shuts off, and it'll keep playing. I can sit at the home screen, and it will die. It will die if I switch apps, to run Talk, or the browser, or Mail, Market, anything other than Music (or any music app, I've tried them all, it's not a specific app problem.)
Checking the log via logcat shows an entry from the ActivityManager class killing the PID of the app, then immediately restarting it. If I'm watching it when it happens, the music stops, and if there's a status bar icon for the player (such as Music, WinAmp, or PowerAmp) it disappears for a moment, then reappears, on the same track, but reset to the beginning. I suspect this is because the current track is cached/saved somewhere but the position is not when the PID is killed. Oddly enough, the app must be considered to be in a "crashed" state because of the instant restart a second later.
As I said, the tablet is 100% stock. When I got it (early August, I think?) there was a single update that immediately applied. Then I got the latest 8.6.5.9 US update what, a few weeks ago? That's all that's been done as far as the code that's running on it. No root, ever, no custom ROMs, nothing.
I suppose I should do a factory reset and see if that helps. I just hate having to set everything up again without a backup (which I obviously don't have, not rooted.)
[Edit: I should add that the music player isn't the only app that ActivityManager logs kills/restarts on. logcat is full of them.]
Factory reset last night (VolDown while powering on, select "reset," so this was a full wipe) and it's STILL DOING IT.
Sent from my Transformer TF101 using xda premium
hm strange, maybe there is an issue with your music library that crashes the music player? file corruption during transfer, maybe?
or some app your recently installed is not 100% Honeycomb compatible and makes the Activity Manager go nuts.
d3l1 said:
hm strange, maybe there is an issue with your music library that crashes the music player? file corruption during transfer, maybe?
Click to expand...
Click to collapse
I've wiped and re-copied the music files several times. Also, as I said, if I keep the music app active (foreground) it plays forever, no problem.
or some app your recently installed is not 100% Honeycomb compatible and makes the Activity Manager go nuts.
Click to expand...
Click to collapse
I wiped back to stock with no apps and it still does it.
No, I actually did some more research yesterday, involving BTEP and staring at the output of "top" for an hour or two.
Warning: Linux babble ahead --
It seems that ALL the background apps will respawn at the same time. So, when Music drops and restarts, the com.google.android.music process is not the only one dying, pretty much anything running forked from zygote, except for the following exceptions: system_manager, com.android.systemui, com.nuance.xt9.input (part of the Asus keyboard,) com.android.phone (with wifi only, why is this running?) and com.google.process.apps.
You can tell when all the application PIDs are grouped tightly together, in the range of a few hundred, that some event is forcing a mass kill and refresh of the apps, except, curiously, if the app is running in the foreground. So there's at least some logic involved in whatever's doing it, and not simply a kill -HUP `pidof zygote` or something like that. (I don't even know what that would do, heh.)
While monitoring top I didn't notice any processes with extreme CPU or RAM usage. Everything looked fairly well behaved. The system had plenty of memory available at all times. I checked dmesg for any kernel errors, nothing at all to indicate a failed read/write or any other type of hardware error.
Since what I'm looking at is basically a Linux system (and I troubleshoot this sort of stuff for a living) I'm trying to dig into it from that angle first. If I can find out WHAT is causing the mass process kill, then I can hopefully have a better idea of WHY.
Sometimes I hate computers.

Debugging a phone ? (xperia mini)

My phone has a weird bug – after it goes out of 3G/data range for approx 15-20 minutes, the homescreen starts flashing and the phones starts vibrating continuously. Sometimes I can turn off the screen and the flashing/vibrating goes away after about 5 minutes. Otherwise I have to take the battery out to reboot.
The phone has worked no probs for a year, then started doing this a couple of months ago. I would really appreciate any tips on how I narrow down the cause of the problem.
The phone is a rooted 2011 Xperia mini, running Sony GB, and the problem happens on both ADW launcher and the stock launcher. Here's what I've done so far;
- uninstalled facebook, turned off spotify sync
- turned off all syncing apps except gmail.
- turned off all the apps that needed root or that run with a notification icon that I've installed since having the problem
- read the play store reviews for my other existing apps to see if they are causing a problem.
So, short of uninstalling all my apps and adding them back one by one, I'm not sure what to do next. Any ideas?

Nexus 5 dead?

Forenote, my N5 was running PSX v2 and Franco Kernel r13 flawlessly for weeks when this ramdomly happened.
Used my phone today just as I have for weeks on end with little to no issue until around 8 or 9 hours into my day the phone started to lag very badly. Redraws, stutter, unresponsiveness, you name it. I was surprised as this phone usually flies! So I cleared my recent apps and that seemed to help slightly, but it still was very slow. I used cache cleaner's built in ram cleaner to stop all running processes (which I never do) and it seemed like the issue was fixed. The system UI and launcher redrew and I was good to go.
Until I started to play some music in Play Music, a pop up constantly popped up that YouTube has stopped working. I didn't even use YouTube today! I tried to then open the YouTube app and it wouldn't open whatsoever. No animation no execution, just a dialog box reading, "Unfortunately, YouTube has stopped working." I went into app settings and cleared cache/data/and force stopped and the app still was misbehaving. I reinstalled the app via the play store and it still wouldn't open. The dialog box wouldn't stop popping up this whole time mind you.
I was thinking what the hell is wrong with my phone today!? Maybe a reboot would fix things. I tried rebooting and my phone got stuck at boot animation. I force shut off and rebooted into recovery, formatted cache and dalvik cache and rebooted. This time the boot animation actually froze.. I was like what the f***! I let it sit for a few minutes to see if anything would happen without any luck.
I force shut off again and now the phone won't even turn on. Not into bootloader, not normally, the thing won't even charge! So here I am with a dead phone and a $450 paperweight. I'm just so lost I have no idea what could've caused this really unusual sequence of events.
Any ideas? Thanks in advance.
A bad phone. Rma it
Was the phone hot when the weird things happened?
ctbear said:
Was the phone hot when the weird things happened?
Click to expand...
Click to collapse
Nothing seemed out of the ordinary temperature wise.. Although my phone has overheated and shut off before that was maybe 2-3 weeks ago..
Sent from my Galaxy Note 8.0

In-app videos - sound out of sync?

Hi,
has anyone of you experienced the issue with the Youtube (or instagram) apps when playing videos? That sound is totally out of sync of the video, which is really annoying. It happens to me when the phone is not rebooted for a longer period of time (ie 2weeks or so).
Running stock 1.1.13
MirQoo said:
Hi,
has anyone of you experienced the issue with the Youtube (or instagram) apps when playing videos? That sound is totally out of sync of the video, which is really annoying. It happens to me when the phone is not rebooted for a longer period of time (ie 2weeks or so).
Running stock 1.1.13
Click to expand...
Click to collapse
Wipe the cache partition. Only other thing that works is to power it off for a few minutes and back on (not a restart).
Sent from my SAMSUNG-SM-G925A using Tapatalk
MirQoo said:
Hi,
has anyone of you experienced the issue with the Youtube (or instagram) apps when playing videos? That sound is totally out of sync of the video, which is really annoying. It happens to me when the phone is not rebooted for a longer period of time (ie 2weeks or so).
Running stock 1.1.13
Click to expand...
Click to collapse
I thought it was just me. It's very annoying. Probably happens 75% of the time.
Conflicting apps?
I've got the same issue with my HTC U11, clearing the data and cache hasn't helped me, nor did a turn off - turn on.
I have fixed sync issues with other apps by ruling out widgets and other apps with continued activity on the home screen or notification bar.
Background processes originating from a downloaded app could also be a cause.
Happy to get some help!

Categories

Resources