Problem with force closing apps working in foreground - Xiaomi Mi 9 Questions & Answers

Hey
I have huge problem with MIUI. Phone is closing apps that are working in foreground, just as I'm using them. For example sometimes it just closes the chrome or game I'm playing. It looks like phone has very brute ram Management. Sometimes it happens when someone send me message on messenger. Also I have noticed that when I'm driving and I have turned on navigation and music in split screen, it just ends navigation, and stops playing music, turns off screen and after unlocking I have split screen of apps just like they would be just started - in main screens, with empty playlist and just gps position. It's really annoying and quite dangerous when it happens while I'm driving.
I have also found that in apps manager even after locking app and allowing it to autostart, it just stops playing music as soon as I hit x(clean) button. In list of exceptions I can't add any app, so it would skip cleaning it from ram and running.

Related

[Q] Music stopping randomly on WiFi only Xoom

OK so I have tried the stock music player, TuneWiki and PowerAmp and all three seem to have the same issue. The music will simply stop playing and it acts as though I pressed the pause button. I have my Xoom in the standard HD dock and I have seen this behaviour both through the speakers of the Xoom and when I have external speakers plugged into the dock.
I have tried to determine if a notification is stopping the music, but it does not appear to be triggered by that. I tried sending myself an email to both my Gmail and Touchdown (exchange) accounts and the notification played but the music resumed as expected.
Has anyone else seen this behaviour?
I have noticed this too but for me it only happens when loading something or deleting things and it must be using alot of CPU.
not sure if this is correct, but maybe it's not the CPU - maybe it's the internal memory. I mean, let's say you're playing music, and in the background you've got google services, tweetdeck, weather widget etc... updating data and then you open the market and so on
seems like a lot of things using the same memory. If memory was seperate like on the NExus One (some internal, some on sd) it wouldn't happen...
happens to me once in a while on my 3g xoom... doesnt bother me much. however sometimes the music app totally closes(force close) and sometimes the music pauses itself.
Happens to me sometimes too.
Sent from my Xoom
Mine does kind of the opposite....every once in a blue moon it will open the music app
I too have noticed this but only when another application is attempting to make a sound or notify. For example when I am playing music and an email comes through ... the music will pause while the email notification is playing.
I would check your running apps. Some poorly written apps might be grabbing the sound for some reason even though it is not needed by the app.
Mine does this on Wifi Xoom as well, only appears to happen on stock music player, winamp has worked fine. I think I has something to do with other apps running or transfering data over usb.
I think motorola/google need to release a stablity/bug fix update. Theres a few quirks that need to be ironed out.
dan.expo said:
Mine does this on Wifi Xoom as well, only appears to happen on stock music player, winamp has worked fine. I think I has something to do with other apps running or transfering data over usb.
I think motorola/google need to release a stablity/bug fix update. Theres a few quirks that need to be ironed out.
Click to expand...
Click to collapse
Yea, stock music app seems to be full of bugs. For me it always resorts to having to reset the xoom because the whole thing crashes. This plus the constant force closes in browsers is really starting to annoy me. Winamp seems to fix the music issue but no other market browser solves the other issue. Sorry to get a bit off track. Google needs to get their act together. I don't think I've ever seen even a windows release this buggy.

[Q] Music playback stopped when multitasking

I use Poweramp for my music playing needs, and it works great, but when I open Chrome or Facebook, the system automatically shuts off the music. I hate this, and I have tweaked every possible option in the Poweramp configuration to keep the service alive, but nothing works. I can understand that the device starts shutting down other software when running out of RAM, but I would expect it not to close the media player app.
Does anyone have a fix for this?
The same happens to me with Google play music too. But some times the music playback stops even when I'm not multitasking, meaning I play music and lock screen and listen thru my headsets.
Any thoughts?
Sent from my XT1068
Same problem here. Happens with several music players including Poweramp and Shuttle so it's not necessarily a bug within the music players themselves.
This will happen to me even when there is 150-200MB of RAM free, so it seems strange that it feels the need to close these background apps.
I am now rooted with a custom ROM, but this happened even beforehand, I had hoped rooting would help matters, sadly not.
I assume all of your music is on an external SD card? Have you tried playing music from the internal storage?
I have my music in my internal storage only and yet it happened.
For the last two days play back is smooth after I updated to Play Music from Lollipop.☺☺
Sent from my XT1068
Manolingam said:
I have my music in my internal storage only and yet it happened.
For the last two days play back is smooth after I updated to Play Music from Lollipop.☺☺
Sent from my XT1068
Click to expand...
Click to collapse
Strange, I couldn't recreate the problem when playing off internal storage. I will have to try another SD card and see if the problem persists.
-------------------------
I'm fairly sure its an issue with my external SD card. I moved a few albums onto my internal storage and could not recreate the problem despite keep as many high RAM usage apps open as possible.
I switched back to using music on the SD card this morning and it crashed within minutes. All of this has been tested using Poweramp.
I can think of a few things to try and will report back
Try Internal storage - Success! Unable to recreate the problem. However not a brilliant solution as I have only 5GB of usable internal storage.
Accessing over 20GB of music - Try a smaller subset of folders - Problem still occurs.
Using a 64GB SD card, reformatted to FAT32. Try smaller 32GB SD card. - will report back when I have tried this
axl409 said:
Try ram manager pro, it should solve your problem.
play.google.com/store/apps/details?id=com.smartprojects.RAMOptimization
Edit: root only
Click to expand...
Click to collapse
I will try the free version of that app anyway, just to be sure, thanks.
Pandora and Play Music also stops for me when I launch Clash or Clans but they both keep playing when I launch the Chrome browser and view some pages. All the apps I mentioned are installed on internal memory.
So, for me, any music-playing app (including streaming apps) stops when I launch certain apps but not when I launch other apps.
Also happens for me. A reboot will suppress the problem for quite some time
I am thinking it might really be memory manager problems.
bountygiver said:
Also happens for me. A reboot will suppress the problem for quite some time
I am thinking it might really be memory manager problems.
Click to expand...
Click to collapse
I did experience one single crash while playing music off internal memory, but it happens 10x as often when playing off external SD card, so I guess that's not the only issue here.
If it was purely a memory manager problem, then why does altering the priority of poweramp make no difference to the crashing?
fathermocker said:
I use Poweramp for my music playing needs, and it works great, but when I open Chrome or Facebook, the system automatically shuts off the music. I hate this, and I have tweaked every possible option in the Poweramp configuration to keep the service alive, but nothing works. I can understand that the device starts shutting down other software when running out of RAM, but I would expect it not to close the media player app.
Does anyone have a fix for this?
Click to expand...
Click to collapse
Guys,
This is a memory management problem in moto g.....There is a moto forum post regarding this.. Here is the link https://forums.motorola.com/posts/6168839e0e ..Please make some noise so that they fix it with an update.. This happens not only with music app but also with other background apps...Cant play music while surfing...
Same problem.
Any active music player crashes once I start web browsing. It is very annoying. Please has anyone found a solution. I've tried all possible solutions such as, clearing app cache, wiping dalvik cache from bootloader, reinstalling the music player. Nothing has helped as yet. Also can't really multi task with the phone right now. It seems that any process that is not in focus is stopped in sometime.
Off topic, even asphalt 8 does not run proprlerly, it too crashes in between races. Think it is related to the same issue.
Thanks.
91Y0 90LLY said:
Guys,
This is a memory management problem in moto g.....There is a moto forum post regarding this.. Here is the link https://forums.motorola.com/posts/6168839e0e ..Please make some noise so that they fix it with an update.. This happens not only with music app but also with other background apps...Cant play music while surfing...
Click to expand...
Click to collapse
Well if it really is purely a memory manager problem it may be related to another issue I have:
Often, when locked, pressing the power button takes 5-10 for the phone to wake. when it does, I am usually greeted with the "com.android.systemui isn't responding" message.
Anybody else also experiencing this problem? (note: you won't see the message unless you have "Show all ANRs" ticked under Settings->Developer options)
solzhenitsyn said:
Well if it really is purely a memory manager problem it may be related to another issue I have:
Often, when locked, pressing the power button takes 5-10 for the phone to wake. when it does, I am usually greeted with the "com.android.systemui isn't responding" message.
Anybody else also experiencing this problem? (note: you won't see the message unless you have "Show all ANRs" ticked under Settings->Developer options)
Click to expand...
Click to collapse
Yes, it happens to me as well. I hope Motorola fixes this.
I guess this might be a stupid question but has anyone tried using ART? I believe the memory management varies between ART and dalvik (although I don't understand the exact differences).
I'll probably try this over the next couple of days in any case to see if there's a noticeable difference.
Looking for solution
I'm on ART and haven't seen any differance.
So I tried freezing some Moto system apps (though it might be bad for the system) to free up some RAM. After that I've installed Auto Memory Manager and tweaked some minfree and OOM settings. So far so good. Tested out Spotify stream in background with Chrome tabs open and switching and taking pictures with the Camera app. Chrome Tabs still refresh when i switch in between but the music still runs in background.
How about you guys?
temuulenchoi said:
I'm on ART and haven't seen any differance.
So I tried freezing some Moto system apps (though it might be bad for the system) to free up some RAM. After that I've installed Auto Memory Manager and tweaked some minfree and OOM settings. So far so good. Tested out Spotify stream in background with Chrome tabs open and switching and taking pictures with the Camera app. Chrome Tabs still refresh when i switch in between but the music still runs in background.
How about you guys?
Click to expand...
Click to collapse
Hey thanks for the tip. I installed Auto Memory Manager and did some tweaks. I'm using rocker player, I also doubled its buffer and white listed it in auto memory manager. I'm running dalvik, its working better. It still quits but not untill i open more than 4 tabs on chrome and do multi tasking.
Also for any music player, if you swipe it out is recent tasks the music stops. Which never happened it the earlier versions of android.
So try a trick, swipe the music player out of recent tasks and start music from headset button of wedget, then see if the playback stops while browsing, for me it hasen't yet.
If possible please try out and confirm whether it works or not.
OK I tried patching my memory manager to make sure my players don't get killed. It worked, but now chrome gets really laggy when I am using it while playing music. It might be the system causing lots of memory leaks when accessing external SD. I noticed that ES remote manager also gets killed if on background when copying large files to external SD.
Chrome is ofc smooth with material design and stuff, but man it sure uses a heck loads of memory. I'm using Dolphin as default now
bountygiver said:
OK I tried patching my memory manager to make sure my players don't get killed. It worked, but now chrome gets really laggy when I am using it while playing music. It might be the system causing lots of memory leaks when accessing external SD. I noticed that ES remote manager also gets killed if on background when copying large files to external SD.
Click to expand...
Click to collapse
This would make a lot of sense since there is a massive difference in the frequency of music player crashes when playing off internal vs external.
Anything we can do about it?

[Q] Correct song not updating on Lock Screen

I noticed this awhile ago, but its starting to get on my nerves now.
Whenever I am playing music, either via the google music app or Pandora, the lock screen display will not update what song is currently playing. For example, if I was listening to "Sublime - KRS One" and that song ended .. then "Third Eye Blind - Never Let you go" started playing... my lock screen would still say "Sublime - KRS One" with that album art. At first I thought my mp3 tags were messed up, but when I unlock the screen, the correct song is displayed.
Anyone else have this issue? I am sure that other types of lockscreen notifications behave the same way, but this was the most apparent to me
The music program needs to be in the foreground. I have that issue with the Bluetooth in my car, too.
Thanks.. I don't recall this being an issue in past devices. I also have issues with Tasker not updating my location until I unlock the screen, @SirBindy do you think this is the same issue? Do you happen to know a workaround/fix to this?
The only thing I've been able to do is just make sure my music app is running in the foreground. If it's in the background or in the notification shade... it works for a while, but then stops sending new meta data.
I had the issue on my Note 3 as well.

Keeping the screen on when app is running in foreground

Wasn't sure where exactly to post but please move to the correct sub forum.
I need an app that does what the subject title does. Its not a necessity but more of a gimmick. I want the screen to remain on when an app is running in the background and I've tried and tested various apps from the play store and none of them are working the same with my old nexus 5.
When I begin playing a playlist from Spotify I dock it in my car cradle and then put it to sleep mode, the music is still playing and when I push the sleep button on again, it comes up with a cover art which looks pritty cool in my car.
I've downloaded several apps and when I assign the 'screen on function' to Spotify it stays on fine when loading up the app but when I get the phone to go into sleep mode (with the app still in the background) the screen doesn't stay on. The apps do what they are supposed to do when keeping the screen on when Spotify is loaded but its the sleep mode I'm stuggling to get it to work properly.
Any ideas which App can do this? I've crawled through google play store and none of them are doing what I need them to do.
Thanks
exactly what you want:
https://play.google.com/store/apps/details?id=nl.syntaxa.caffeine
good luck
Thats working, will test later but thanks for responding. Been looking for an app for a long time. Cheers.

YouTube Premium background play

Evening all,
So I have started my three months free YouTube premium, to see if it's worth it from September onwards except there is an issue I'm encountering which doesn't seem to affect other phones.
YouTube Premium allows for background play, either with another app open or with your phone locked however on my P20 Pro the music stops after 3 minutes. It doesn't pause, it just stops playing and resumes as soon as I touch the screen or a button on the phone.
Is anyone else experiencing this?
Did you find the solution?
I believe the problem could be with battery optimisations as usual. Open settings -> apps -> find the youtube and in battery settings and disable "power intensive promt" and in "app launch" switch to "manage manually" and turn all the three switches on. Report back

Categories

Resources