How to mess up you mem mngmnt...then get it back - Mogul, XV6800 ROM Development

Here's a neat trick that completely hoses your memory management. Hopefully somebody can tell me why. If you have other directories in Start Menu, you can only run one program at a time.....??????!!!!!!!!!!!!
I use Quickmenu, and like to set up my windows startup folders like so:
Programs
Media
Utilities
Office Apps
Settings
This allows me to be just a couple clicks from everything.
I recently flashed DCD's latest and LOVED all the extra memory to play with. I could just see myself driving down the road, listening to S2P, following my progress in Google Maps, switching over to check scores on the browser then answer a text....
AND I COULD! when I first loaded the ROM, I didn't have time to make my normal changes to the windows startup and went to work doing just what I illustrated.
Then when I got home, I sat down to set the folders up.
next day on the way to work...I had my music pumpin and opened up Google to check traffic....the music stopped....I lost S2P.
in fact...I could only run one app at once....seriously...if I was browsing this forum and tried to answer a text message, the browser would get dumped....
I couldn't figure it out....I started uninstalling, stuff left and right...but nothing helped. Then I moved my folders out of Start Menu and dropped them under Program Files
Program Files
-----Media
-----Office Apps
-----Utilites
Settings
Low and behold...I could run more than one program again...
SOMEBODY TELL WHAT THE HELL IS GOING ON! ;-P

I haven't set up subfolders in Quickmenu for several ROMS now, but...
just guessing, what do you have your "ok" button set for in the Quickmenu options, or for that matter the "x-button" setting? I would play around with those settings. Maybe if the setting is a certain way, scolling and selecting an additional app through the menu structure also simultaneously closes the one thats active?

ebb said:
I haven't set up subfolders in Quickmenu for several ROMS now, but...
just guessing, what do you have your "ok" button set for in the Quickmenu options, or for that matter the "x-button" setting? I would play around with those settings. Maybe if the setting is a certain way, scolling and selecting an additional app through the menu structure also simultaneously closes the one thats active?
Click to expand...
Click to collapse
Thank you for the reply....If what you are suggesting is true, then I wouldn't matter how my folders were set up....the mere fact that I'm using QuickMenu is somehow closing the current app because of settings.
1. My settings do not change based on folder setup
2. Only when I have more than Programs and Settings in Start Menu do I have the problem.
I'm tellin' ya...there's something funky going on.

Related

WM 6.1 memory management "feature"

So, ever since I upgraded to windows mobile 6.1, there is one "feature" that is driving me nuts... I haven't seen any reference to it in the forums (though it's possible I just didn't read enough of the 20+ page threads), but I'm wondering if anyone knows how to disable it.
It seems that windows mobile automatically starts closing programs when I start running low on memory. Particularly Messaging and Internet Explorer are prone to suddenly not be there anymore, but other programs do it as well.
For example, I'm reading a text message, switch to contacts to update someone's information, and then I try to switch back to the text message to verify the data and it's no longer running. I start up text messaging, and contacts has closed.
Very frustrating. I'm fairly certain it does it only when memory is very low, but I much preferred the warning "yo, idiot, you're out of memory, shut stuff down" messages to this "I'm going to close this program with no consideration to what you're doing and w/out asking" approach.
Anyone have any ideas? Maybe I'm missing something obvious?
taxilian said:
So, ever since I upgraded to windows mobile 6.1, there is one "feature" that is driving me nuts... I haven't seen any reference to it in the forums (though it's possible I just didn't read enough of the 20+ page threads), but I'm wondering if anyone knows how to disable it.
It seems that windows mobile automatically starts closing programs when I start running low on memory. Particularly Messaging and Internet Explorer are prone to suddenly not be there anymore, but other programs do it as well.
For example, I'm reading a text message, switch to contacts to update someone's information, and then I try to switch back to the text message to verify the data and it's no longer running. I start up text messaging, and contacts has closed.
Very frustrating. I'm fairly certain it does it only when memory is very low, but I much preferred the warning "yo, idiot, you're out of memory, shut stuff down" messages to this "I'm going to close this program with no consideration to what you're doing and w/out asking" approach.
Anyone have any ideas? Maybe I'm missing something obvious?
Click to expand...
Click to collapse
WoW. You must be running a memory HOG program in the background to run out of memory with text messaging and the contacts program.
I have bluetooth to use with my Stereo Bluetooth head phones when I listen to Windows Media and Have the Threaded Text Messaging Software in the background running ( I text alot and I need it running in the background to initiate it faster ) all with HTC Home Plugin and I dont get any memory problems. Nothing closes out.
Do you have the X-Button program installed? The one that closes things out completely when you press the X. If so this can be the problem.
Honestly I use an Alt-Tab program to switch between programs. This helps alot.
I know exactly what you mean as far as the memory management closing applications. for example i used to be able to have tomtom running, and also audio manager playing music, however if memory is low, the management always closes audio manager. Rather annoying, i've had it do it during other programs also ie. messaging, internet explorer.
That's weird.... Possibly sending hibernate signal to programs to see if some will shut down?
I haven't noticed any apps getting closed automatically but I never try to have more than a few open at a time.
Well other then recommending that you review your installations and see if there are any memory HOG programs to remove, I also recommend using Oxios Hibernate.
Check out this website for more details.
http://www.oxios.com/memory/
I have some today plugins (like SBP diary) that may be taking part of the memory. I have to blame the memory leak for the rest... on a fresh boot I have 18 meg free, by the time I start having real problems with things shutting down left and right I only have 5 free. I use QuickMenu, which has a program similar to X-Button so that I can explicitly close programs, but I can also use it to switch tasks. In WM6 it worked fine. However, unless I reboot frequently, I end up with this problem. Some things always exhibit this problem, even right after a soft reset reset. For example, if I use PIE to view a site such as youtube and I play a video clip, PIE closes in the background while the video is playing, which is very annoying.
I know that there are things to do to try to free memory... I have hibernate, I have the task manager connected to quickmenu, but I still have this problem.
taxilian said:
I have some today plugins (like SBP diary) that may be taking part of the memory. I have to blame the memory leak for the rest... on a fresh boot I have 18 meg free, by the time I start having real problems with things shutting down left and right I only have 5 free. I use QuickMenu, which has a program similar to X-Button so that I can explicitly close programs, but I can also use it to switch tasks. In WM6 it worked fine. However, unless I reboot frequently, I end up with this problem. Some things always exhibit this problem, even right after a soft reset reset. For example, if I use PIE to view a site such as youtube and I play a video clip, PIE closes in the background while the video is playing, which is very annoying.
I know that there are things to do to try to free memory... I have hibernate, I have the task manager connected to quickmenu, but I still have this problem.
Click to expand...
Click to collapse
What ROM are you using? I have DCD 2.2.0 core with others mixed in and I get about 23 to 24 MB on soft boot. That is with all of my apps installed.
It might be that the page pool on your ROM is high. If it is high it tends to speed up your device but you sacrifice memory. Are you using one of DCD's new ROM's? Because I believe his new ROM's have a higher page pool then before to cope with WM6.1.
taxilian said:
So, ever since I upgraded to windows mobile 6.1, there is one "feature" that is driving me nuts... I haven't seen any reference to it in the forums (though it's possible I just didn't read enough of the 20+ page threads), but I'm wondering if anyone knows how to disable it.
It seems that windows mobile automatically starts closing programs when I start running low on memory. Particularly Messaging and Internet Explorer are prone to suddenly not be there anymore, but other programs do it as well.
For example, I'm reading a text message, switch to contacts to update someone's information, and then I try to switch back to the text message to verify the data and it's no longer running. I start up text messaging, and contacts has closed.
Very frustrating. I'm fairly certain it does it only when memory is very low, but I much preferred the warning "yo, idiot, you're out of memory, shut stuff down" messages to this "I'm going to close this program with no consideration to what you're doing and w/out asking" approach.
Anyone have any ideas? Maybe I'm missing something obvious?
Click to expand...
Click to collapse
i've heard of oxios causing this phenomena, something in the way of how it alters things when you run it. I use oxios exclusively to manage my ram, and have done so for a long time. the newer dcd roms are a lot better at this, some 6.1 roms though have a terrible memory leak.
Honestly though, you really shouldnt ever have that many apps open at one time. i start to freak out when i get down to 15mb free
try to use something where you can monitor your ram on the today screen, like batterystatus today plugin along with mbutton to see the open apps in the taskbar, and oxiosw memory apps to keep it all tidy.
I'm having the same issue, but not sure it has to do with low memory. I have dcd 2.1.0 rom with Spb pocket plus 4.0, mobile shell and oxios. If I'm going from say IE to any other program and go back fairly quickly to IE it would is still active but If I'm on another program for more than a minute it closes down on its own
Strangly having same issue here. Bus most annoying for internet sharing, and Messenger Live, can't be memory issue, nothing else is running! It just closes stuff as it feels like it.
Using Task Manager 2.0 here, no X-Button.
Mine is doing the same thing and I am running DCD 3.1 ROM. Sometimes I can have only 2 apps open and it will close the one that I am not in. Just 5 secs ago I had opera mini running and spb wallet. I had opera mini running and minimized it with the ok button and then opened SPB wallet from the start menu to get a password and when I went to go back to opera mini it was gone. This seems to be happening to me when I get ~8M of RAM left. This is very annoying. I am running quite a few programs in the background though.
SPB mobile shell 1067kb
S2u2 613kb
tmail 125kb
Wisbar Lite 65kb
Mortscript 16kb
AEB 13k
Ftouchsl 5k
I have had all these programs running before on a WM6 rom and never had this issue. and I never map the ok key to close.
Guys, sooner or later you're going to have to come to terms that the Titan only has 64 mb of ram, with over 50% of it being used by the system. This means you only get about 23-26 mb of free ram with a CLEAN rom. Taking a look at some of the applications you use, I can see why the system is auto closing stuff. WM 6.1 does this so your freakin os won't crash due to no memory. I use a LOT of software and I still end up with 22 mb free at boot. This is because I choose not to use certain programs that eat ram. If you absolutely need to use all that bloat, go back to WM 6.0 until a device with more ram comes out.
Nothing I'm using should be going above 22MB (which is free at startup)
Here's what I use and how much ram they eat up:
Garmin Mobile 5-7
Opera same
Navizon 2.7
GPS Viewer 1
other stuff (no more than 4 at most) less than 1MB
But I use Garmin Mobile in the car and not Opera becuase I don't have a data plan. And If i'm using Opera I wouldn't have garmin on as I would be at a house or mall or something like that.
But with JUST garmin Navizon and GPS viewer (with free ram mind you) garmin will close everything else (sometimes)when I activate it. However, with all three open and garmin in he back it won't close....
Ha..first off..Navizon has to be the BIGGEST pile of bloat I've ever used on my ppc. I had it installed for about 5 minutes before I trashed it.
WM 6.1 doesn't close programs when you run out of ram. It automatically senses when certain programs are eating ram, and when it gets low it closes programs to ensure you don't run out of ram.
If it's closing programs it means something you're running is causing your ram to drop tremendously. I've never had WM 6.1 close any of my programs.
Hello, i had the same problem on my Hermes. But i solved it. Just changed this two registry Keys.
Hkey_Current_USER/Software/HTC/Taskmanager
Enable Autokill change from 1 to 0
Hkey_Current_USER/Software/HTC/Taskmanager
MemoryThreshold change from 9437184 to 943718
Now it works perfect. No more closing Tasks automatically.
Greets
ckraus000 said:
Hello, i had the same problem on my Hermes. But i solved it. Just changed this two registry Keys.
Hkey_Current_USER/Software/HTC/Taskmanager
Enable Autokill change from 1 to 0
Hkey_Current_USER/Software/HTC/Taskmanager
MemoryThreshold change from 9437184 to 943718
Now it works perfect. No more closing Tasks automatically.
Greets
Click to expand...
Click to collapse
I am running a stock rom and it doesn't seem to have those keys. Could you post the exact spelling for the values (for example, is the value "Enable Autokill" or is it "EnableAutokill")
A clip for the registry itself would be even better.
Thanks for the tip!!!
ckraus000 said:
Hello, i had the same problem on my Hermes. But i solved it. Just changed this two registry Keys.
Hkey_Current_USER/Software/HTC/Taskmanager
Enable Autokill change from 1 to 0
Hkey_Current_USER/Software/HTC/Taskmanager
MemoryThreshold change from 9437184 to 943718
Now it works perfect. No more closing Tasks automatically.
Greets
Click to expand...
Click to collapse
thankyouthankyouthankyouthankyouthankyou!! I'll try this out, if it works then one of my biggest gripes with this device will be addressed! I played with a friend's Tilt and the amount of available RAM blew me away but this will definitely help with the craptastic memory!
ckraus000 said:
Hello, i had the same problem on my Hermes. But i solved it. Just changed this two registry Keys.
Hkey_Current_USER/Software/HTC/Taskmanager
Enable Autokill change from 1 to 0
Hkey_Current_USER/Software/HTC/Taskmanager
MemoryThreshold change from 9437184 to 943718
Now it works perfect. No more closing Tasks automatically.
Greets
Click to expand...
Click to collapse
This appears to have solved my issue with this. I run no2chem 5069k with a 10mb Pagepool. I use Oxios and have ~24 mb of ram at boot. I normally encounter problems when trying to switch between apps. I use the LastFM app and prior to this fix I would OK out of the app and it would close 5-10 seconds after OKing out. Even with a fresh boot. With this fix implemented I have successfully had it running in the background for 10+ minutes while switching between using Google Maps, Live Search and IE. Note that none of the programs closed.
Keep in mind your mileage may vary from ROM to ROM and app to app. I'm guessing that it is exclusive to a certain version of HTC Task Manager. Also possibly maybe exclusive to some type of Memory Mangement App. All I know is that I have been fighting this closing issue since no2chem 5066 IIRC and this has apparently solved it. I've used the same app loadout since I've had my Mogul pretty much.
What I did:
I did not have these registry keys. I created the:
"HKCU\Software\HTC\TaskManager" key
then created a binary-dword for "Autokill" with Decimal value "0"
then created a binary-dword for "MemoryThreshold" with Decimal value of "943718"
I have rebooted my phone several times and have not had any close issues.
Radio: 3.39.10
PRL 60613
PRI.03_003
Current Mogul app load:
Oxios Memory
AC IMSelecter
Lonely Cat Games Slick
Unyverse Ltd Upvise
MS Hearts (yeah, yeah... I'm an addict)
Dashwire
Vicsoft Cleartemp
Youtube youtubeplay
WMwifirouter (.91 IIRC)
Singer's Creations Weather Watcher
HTC Diamond MP3 Trimmer
Google Maps
MS Live Search
PocketPicture
PocketCM Contacts .23
TP PPC-6800 Hacks
PocketToolman (ver, unknown
Total Commander
.net CF 2.0 (certain old programs can't use the ver 3.5)
ShoZu Mobile
GC Java Pack 1.1
TCPMP .72
Opera 9.5 Beta (build ???)
ELF Calc Skin
Someguy sMMS
vtable software lastcab
moBlog
Pocket CM Keyboard .14
EDIT: 20+ minutes and still no app closes, still browsing and switching between. I'm going to delete the keys, soft reset and test again just to make sure
ive found that 6.1 seems to establish a "baseline" of how much ram it wants to keep free, if i let it have 22-23mb free after a soft reset it will kill any apps in the background to get back up to 23mb, even if the app it kills is only using 500k or so
if i open a bunch of apps right after a soft reset, and get the ram down to about 10mb, i can run all day perfectly stable, and keep all those apps open, or close them and open others and be fine, but i let it free up more ram and 6.1 realizes it can have more ram it starts closing apps to reach the "new" baseline
Alright...
So...
That reg edit appears to do nothing. But. I think I may have stumbled onto something that may be causing the issue.
Reset 3 times and tried lastfm with removed reg keys. Nada - multitasked as previously mentioned with no issue. Had me confused. Then I realized I had never run Oxios Close/Hibernate since my last boot. Something I generally do at least once or twice a day, my phone usually doesn't get reset unless I'm installing something. Closed lastfm, ran Closeapps, launched lastfm and tried to multitask, closed out within 5-15 seconds. Something that Oxios (and most likely other tools like it) messes with WM memory management. I realize that even after a fresh boot I'll sometimes run Oxios (quick way to check ram). Either it loads something into memory or the function is sends is somehow looping or causing WM memory to close nonfocused apps.
So, essentially not any further along, but maybe mem management apps are more responsible than many have guessed before? Anyone else have some time to do some independent research?

Google Sync

OK, so I am syncing my Hero with all my Google stuff and it uses push to do so.
I was wondering how I switch that off and select a sync interval (a bit more like activesync) and if that might have a positive effect on battery life.
Thanks
There's an app for that!!
Only got my Hero a couple of days ago, but I think that application you want is Locale.
It has a plugin for sync and another for SMS.
You can do some pretty cool stuff with it.
I currently have it set to disable syncing between 23:00 and 07:00 if my GPS position is at my house. That way if I'm still out on the razz I'll get messages and updates.
Just make sure you setup the default to do the reverse of whatever you setup otherwise it might not start syncing again.
Hope that helps.
Rob
I will have a look into that thanks.
A quick look suggests it might actually be much more than I need though!
check in settings > data synchronisation > google
there you can set it on or off, but you would need an app from the market to set intervals.
You might find settings like that in Settings - Data Synchronisation
Remember the Menu button is ever changing, so check what options it gives in each selection - I've found lots of stuff hiding that way...
Daisy xxx
Dayzee said:
...Remember the Menu button is ever changing, so check what options it gives in each selection...
Click to expand...
Click to collapse
Good Advice!
You can get extra options on many things by tapping an holding on items as well. That is always worth a try!

Closing Apps vs Running In Background

Hey Everyone,
Just got my Droid Eris yesterday and I'm having fun exploring the phone and checking everything out.
One question, I noticed that many apps (in fact, almost all) don't have a direct "Quit" or "Exit" command. So I'm usually pressing "back" or "home" when I'm done with something. This left me wondering though... when I use "back" or "home", does the app actually exit? From what I can tell, it doesn't... so does the OS automatically clean up these apps from time to time? I came from WinMo 6.1, and it was irritating that everything defaulted to running in the background. How does Android treat it? Is there something special in this regard with the HTC Sense UI? I've seen there are some third-party task manager apps you can get... are they worth getting? Or just "let the phone do it's thing" and i will be fine?
Thanks!
I use a Task Manager from the Market called "Taskiller." But I'm still trying to figure out how the Hero handles the apps because sometimes it gets sluggish and taskiller helps out but then theres other times when I have all sorts of apps open and it runs smoothly, lol, I guess it just works sometimes.
I wonder if it's like the iPhone, where it kills the task when you hit the "Home" button. It doesn't seem like it, as some apps seem to just come up instantly when go back in them, as if I was "switching" to them, and no re-opening them...
false_apology said:
I wonder if it's like the iPhone, where it kills the task when you hit the "Home" button. It doesn't seem like it, as some apps seem to just come up instantly when go back in them, as if I was "switching" to them, and no re-opening them...
Click to expand...
Click to collapse
No I dont think thats the case because Android has a special way of "Multitasking," though I'm not completely informed so you might have to research that on your own. But like I said download a Task Manager from the market so you can see how much available memory there is.
By default, Android applications never really "close" as their components can be called upon at any time. (Android applications are structured to be very modular, allowing individual components to be used from each.) When an application needs memory immediately, and another hasn't used it for a while, it shoves the old app into what's called swap space (presumably it's on your SD card) while the new one takes over. This is why you'll occasionally see a delay while performing a "hard" operation (like opening an app) while the system is under heavy load. That's the old app's memory getting written out to temporary storage and the other one taking it over.
At least this is my understanding of the situation.
From what I've heard Android (linux) does a much better job of managing the memory used by our apps. And, that we "...shouldn't have to use a task killer..." to close out apps that are running in the background, especially on our phones.
For instance, the myTouch 3G usually only gets about 20-30 MB of RAM freed after a full clean up of background apps, the Eris will have about 80+ MB after a cleanup and they both feel about the same to me.
I still use Task Panel to close my apps sometimes because I just like starting fresh in an app from time to time. Also if things start getting fishy (screen stuttering, touch screen not working properly) I'll kill all running apps to see if it fixes the problem which in some cases it just does not and a reboot is still required.
I have found that by holding the home key it will bring up all the apps so you can switch to the one that you want so it is still running them in the background.
refthemc said:
I use a Task Manager from the Market called "Taskiller." But I'm still trying to figure out how the Hero handles the apps because sometimes it gets sluggish and taskiller helps out but then theres other times when I have all sorts of apps open and it runs smoothly, lol, I guess it just works sometimes.
Click to expand...
Click to collapse
i use a Task application called Task Manager. It gives lists of all Applications running, all process and even has an uninstall feature. It also has a auto end application feature but on my eris it's greyed out(maybe Pro only?)
Here are a couple of links that I found on this subject. Don't mind that it says Hero in the thread title it talks about android phones in general. Also something to look into once we get the Eris rooted in the second link.
Task Managers and your Hero by romeosidvicious @androidforums.com
How to configure Android's *internal* taskkiller by androcheck @xda-developers.com

Three questions I haven't been able to find an answer to..

These are across several roms(senseless, bulletproof, etc) and don't seem rom specific.
First is creating a contact: I create a google contact(on device or online), doesn't seem to matter if it is in a group or not, and they don't show up in contacts. If I type their name to send an SMS it appears, but otherwise isn't searchable.
Second: on reboot the ringtone and notification sound I choose gets reset. Most of the time it doesn't even use the one it shows, it could be an entire song.. I understand it could be because the sdcard is scanning, but it happens on each rom I've tried.
Third: sometimes when I turn the screen on it will show "xxx has been granted superuser privledges".. is this because it was in deep sleep? My old phone doesn't do this, so I'm not sure if it is an error, but it happens with each app I have running continuously that has root, and across different roms.
Please don't just post I could search for the answer, I have, and I haven't found an answer. The contact one is most annoying, the ringtone one can be if i forget to set it after I reboot, and the super user one I'm just curious about..
Thanks in advance.
Sent from my HTC_Amaze_4G using Tapatalk
1. Depending on what ROM or what contacts app you're using, you should be able to choose what kind of contacts are shown in the app. I'm using BulletProof, so in the "People" app, I can choose to see only Google contacts by selecting the menu button soft key on the phone > View > Google contacts checked.
2. I've never had this problem, but in any case, I use an app called Ringtone Maker (link here) to trim and cut songs to use as my ring tone. I also use the app to set the trimmings as my ringtone, and it has never reset on me on any reboot. There are probably other solutions to this, but this is the way I set my ringtones and it's worked so far
3. The superuser privilege means that the application has been granted root access, which means that it can control certain parts of your phone that otherwise wouldn't be allowed if your phone was stock. In short, it means that the application is able to make changes and access system information on your phone because the ROM you installed comes with root. This is normal if you're using apps that require root.
adslee said:
1. Depending on what ROM or what contacts app you're using, you should be able to choose what kind of contacts are shown in the app. I'm using BulletProof, so in the "People" app, I can choose to see only Google contacts by selecting the menu button soft key on the phone > View > Google contacts checked.
2. I've never had this problem, but in any case, I use an app called Ringtone Maker (link here) to trim and cut songs to use as my ring tone. I also use the app to set the trimmings as my ringtone, and it has never reset on me on any reboot. There are probably other solutions to this, but this is the way I set my ringtones and it's worked so far
3. The superuser privilege means that the application has been granted root access, which means that it can control certain parts of your phone that otherwise wouldn't be allowed if your phone was stock. In short, it means that the application is able to make changes and access system information on your phone because the ROM you installed comes with root. This is normal if you're using apps that require root.
Click to expand...
Click to collapse
1. Okay, I don't know if I have fully explored the VIEW part of the contacts, I didn't enable everything before because it had it showing as 2700+ contacts(thanks G+), but I just experimented with it a bit and it appears to be working right. Thanks.
2. Most of my ringtones and notifications were properly created or downloaded from the net, the problem is that on reboot it will go to the first on the list, while selecting a random song or ringtone from the internal SD. I am thinking that the ringtone/notification I choose must be on the external, so when it scans when the phone starts up, it chooses something available. I'm gonna see if I can move whatever ringtones/notifications I use to the internal sd fixes the problem.
3. I understand how root works, I was only asking because my old phone would only give that popup the first time it boots- on this phone when I turn the screen on sometimes, it will pop up that it gave superuser permissions as if the app didn't have it. I was more or less just wondering if this was a problem with the way the phone sleeps, or the superuser app, or something, only because I would never see that notification after the first boot with my old phone.
Really, the main annoyance was with adding a contact and not seeing it. Luckily I could select "my contacts"(using your advice) and not see the 2700 it says I have.. so that problem is pretty much solved, which I thank you for
For #2, use a file manager and move your ringtones to /system/media/ringtones (you may have to create the ringtones folder of it's not there). I have had this problem across a few different ROMs and that was the only way to fix it.
For #2:
Did you happened to checked "Backup my Setting" and "Automatic Restore" in Setting/Privacy?
I have the same problem before because Google automatically restored data from other Rom and they are conflicting ...
Try un-check the Automatic Restore and see if it is repeating
gravis86 said:
For #2, use a file manager and move your ringtones to /system/media/ringtones (you may have to create the ringtones folder of it's not there). I have had this problem across a few different ROMs and that was the only way to fix it.
Click to expand...
Click to collapse
This seems to have fixed it Seems like having it in the /media/ringtone folder, when it would rescan on boot, the system would grab some other random sound.. but putting it in the system/media/ringtone and problem is gone. Thanks

System is shutting down apps in background (i.e. Spotify)

I'm using the Mate 10 Pro.
I listen to Spotify in my car. Right now every time I enter my car, I have to start up Spotify on my phone, which is quite annoying. On my previous phone (Mate 7), I could add Spotify to the "Protected Apps" and it wouldn't shut down anymore.
Is there a way to solve it in Mate 10 Pro/Oreo 8.0.0/EMUI 8.0.0?
So far I have:
- Added Spotify to "Ignore Battery Optimization" (Status: "allowed")
- In Launch, I deactivated "Manage automatically" and set all three option active (Auto-launch / Secondary launch / Run in Background)
I don't know what else to do. Any help appreciated!
The stock music player app takes precedence over spotify and others. So if there is any sample music on your phone, it will try to launch that first. Maybe remove any locally stored music and try again.
microhaxo said:
The stock music player app takes precedence over spotify and others. So if there is any sample music on your phone, it will try to launch that first. Maybe remove any locally stored music and try again.
Click to expand...
Click to collapse
Thanks, but I already did that. I removed all rights from the "Music" player and deleted all files in the same folder. I created a new folder, named it "My Music", so since then (about 1 month ago) the default Music player has not played anything anmore That's good so far. My issue is really just that it shuts down Spotify.
I noticed that when I'm at work. Maybe another hour later, I still see the Spotify icon on top of the screen, so it wasn't shut down. But sometimes later during the day, it's suddenly gone. So when I'm back in the car, I need to start the app again.
I also tried to hit the "open apps" button (the one next to the home button), then clicked the lock icon. But didn't help either.
I dont use spotify throughout the entire day, but usually as long as I wasn't playing a random video or gif online just before entering my car, spotify will start back up.
I cant say that it runs in the background all the time when not in use. Its like my car triggers it to re-open when it reconnects to bt.
I have a mazda 3 though, all cars seem to act different for BT connectivity.
The thing is, if I leave my car to go shopping or something quick and I get back in my car, it works perfectly fine.
Therefore by my logic, I can rule out the BT of my car. When this happens as explained before, the Icon still remains on top in the notification bar.
So, I guess in the end, for some reason my phone just shuts down Spotify.
Anyway, thanks for your input.
I Have the same problem with VPN App it work fine in background but After a while the App Closed Why?
Having a similar problem with VPN app and also with Youmail visual voicemail. No notification of new voicemails until I open the app. Any ideas? I also set to ignore battery optimization and launch manually.
You need to deactivate the battery settings of the app.
valerio.tosti said:
You need to deactivate the battery settings of the app.
Click to expand...
Click to collapse
That doesn't help. Apps still shut down in background.
FWIW, I have noticed that battery optimization (Launch in settings) changes can be hit or miss. Some apps perform as set. For instance, I have some items set to manage automatically and they seem to stop when I want them to. However apps like Facebook when Set to manage manually and run in background is off, it does not stop. Other apps set this same way will be stopped. Not really sure how it works actually.

Categories

Resources