Sports app like endomondo getting killed in background - Huawei P9 Questions & Answers

Yesterday i was riding on bike with endomondo and strava apps both running for about 3 hours and everything was ok.
But today, when i was riding only with endomondo app, something killed it after ~ 1 hour of tracking. It just died, and my training wasn't complete.
Both apps are protected in battery menu, battery mode is set on normal. I have about 1GB or more ram free. I do not use auto optimization
I heard about huawei problems with sports tracker apps, but come on, on new flagship phone?...
Any solution to this problem?
my model is european one, eva-l09 with stock rom b136

If you are rooted try freezing "power genie". Worked for me with another app that I had issues with, which relies on background process (gmd gesture control).
And/or try making it a system app.

I do not have root yet, didn't want to woid my warranty unless i knew everything is ok with this phone
today my endomondo and strava apps were killed after 2 hours and 48 minutes of workout... this is so bull****

Just add it to the memory whitelist. All settings available via preinstalled Huawei Phone Manager app.

i've added them to memory whitelist and to the battery whitelist but unfortunatelly this doesn't work at all

Nothing? It's only me having this problem, or nobody uses sports apps? Today it died after 70 minutes of training. Old samsung galaxy ace 2 recorded training perfectly...
Anyone rooted could check if this problem is still present? After you add endomondo or strava to system apps folder?

For what its worth, I am having exactly the same issues with Endomondo. Did you manage to find a solution at all?

ylapas said:
Just add it to the memory whitelist. All settings available via preinstalled Huawei Phone Manager app.
Click to expand...
Click to collapse
How do you do this?
Edit: found it. Click phone manager, optimize, then the gear in the top right

Me too, I am having the same issues with Endomondo. I don't want to get root but I've set the memory whitelist and the battery whitelist.
Sadly, I gave up and now I am using Sport Tracker that, since now, didn't stop event after 2 hours.

Hi, I've done everything said in this thread but the app strava closes after an hour of use..
Anyone have found how to fix this issue?
Thanks

Have you tried another app? Mapmyride seems to be ok for me apart from when the gps gets confused and I get the odd straight line, seems to be another feature of this phone

Greasedferret said:
Have you tried another app? Mapmyride seems to be ok for me apart from when the gps gets confused and I get the odd straight line, seems to be another feature of this phone
Click to expand...
Click to collapse
Sorry, but I want to use strava.
I've tried with another smartphones and it works fine...

Might be worth trying just for the purpose of elimination?

Greasedferret said:
Might be worth trying just for the purpose of elimination?
Click to expand...
Click to collapse
Sorry, I don't understand, what do you mean?

As in, try a third .sport app. to rule out an issue with the app.

Yes, install android 7.0 It is fixed there

I had / have the same issue, after a few hours it is seeying it as an battery drain app and it closes it. (Running the newest EMUI and Android 7.0) ... so still not great, also using Strava (in combination with relive.cc)
will try the memory thing though

Well first of all, if not every app behave like that, and not everyone have that problem, its obvious its not problem of model but your specific device and lack of optimization(bigger companies are actually more know of lacking that).
Next.
I used before endomondo, now I installed it again... and no problem at all. So again, I would say that its problem of specific device and your system configuration.
I would suggest checking AGAIN those options:
Settings->battery-> options(top-right corner) and disable option "turn off energy-intensive applications"
And then go to Application list in settings-> select settings(bottom gear icon)->Special access->Ignore Optimization and there select your app.
Hard to say anything else, because its impossible to reconstruct behave of your phone, and see what cause the problem. In this case everything matter, starting from apps you use to settings you have on your device.

rudnik8 said:
Yes, install android 7.0 It is fixed there
Click to expand...
Click to collapse
Akinaro said:
Well first of all, if not every app behave like that, and not everyone have that problem, its obvious its not problem of model but your specific device and lack of optimization(bigger companies are actually more know of lacking that).
Next.
I used before endomondo, now I installed it again... and no problem at all. So again, I would say that its problem of specific device and your system configuration.
I would suggest checking AGAIN those options:
Settings->battery-> options(top-right corner) and disable option "turn off energy-intensive applications"
And then go to Application list in settings-> select settings(bottom gear icon)->Special access->Ignore Optimization and there select your app.
Hard to say anything else, because its impossible to reconstruct behave of your phone, and see what cause the problem. In this case everything matter, starting from apps you use to settings you have on your device.
Click to expand...
Click to collapse
Thnx, did the things you mentioned, will let you know next week

did not work

Related

[IOS] keep pebble apps in memory

Hi everyone,
I have an iPhone 4S running ios7. I find that my watch faces and apps work fine as long as I make a habit of re-opening the pebble app and the companion apps often, but this defeats the purpose of the pebble. I'm trying to limit the number of times I have to take my phone out of my pocket. I need a good way to stop ios' oom manager from killing these apps. I tried background manager but it didn't seem to be helping any. Has anyone had better experience with this app or some alternative?
Sent from my iPhone using Tapatalk
I've encountered the same thing on my 4s. I've been testing background manager as well and it seems to improve the behavior of a few faces and apps, but it's not consistent across the board. I'd be curious if anyone comes up with a complete solution or if it's something they'll properly address in future updates.
Jailbroken? There is a Cydia tweak I use that settled this for me. It's called background manager.
Non JB iOS the best I was able to do was Settings -> General -> Backgroud app refresh -> turn stuff on.
If that helps anyone, hit the Thanks-o-meter thingy, I need to build some street cred to unlock the full forum. LOL.
Good luck!
EDIT: I just noticed in the OP's case that it's a multi-app issue, and tried BM. Currently iOS only allows 1 app at a time to interact with Pebble app. This may be your issue. If you leave more than one companion app running and for example load the watch face for one, then try and go back to the other; you'll find you have to reload that companion app. This irks me as well, but I now a days only use 1 companion app regularly any way. I am unsure of any work around for this on the horizon.

[Q] OK pebble now!

I'm not an experienced programmer. Or in that way inclined but would I'd like to develop or would want helping. An app that would activate the google now voice search from a pebble application.
1. Activate pebble and access the OK pebble now app.
2. Would activate the google now voice search on your phone.
2.5 speak your request through your headset (if wearing a headset) (hands free).
3. Speak your request through the microphone through your phone.
4. Does the request in your pocket. Shows task complete on the pebble.
5. Show message sent to recipient.
Thanks in advance. if an experienced pebble developer decided to take on the project. i'm willing to pay them £10 through paypal once the job is finished. all i want to see is the project complete.
Vibrate on task complete.
I tried my hand at the application and couldn't do it.
UI is very simplistic.
I've just found an application that has functionality like what I'm asking for. Its called tasker and it works in conjunction with pebble tasker. So commands and apps can be open from the watch and to be opened up on the phone itself without even touching your phone. But its so long winded.
There's so many more options that you can do with the tasker/pebbletasker but I just want a google now voice search launcher.
No with the pebble receiving an update that allows you to have shortcuts to the apps that you assign them buttons too. This is a perfect opportunity to have a google now voice search launcher or a siri launcher so it covers both platforms.
Don't forget, I am willing to pay someone that will develop this idea. I will be creating images that I would like the UI to be.
Sent from my LG-D802 using XDA Free mobile app
Update With Proposed UI design
Here's pictures that i've designed that i would like for some to develop this app.
as you can see it's very minimalistic and it's very simple.
Somebody make me an offer and i will pay them to develop this app, it will be benefical for those working at an office and those working in retail that would like to reply back to family/friends whilst working.
$12 USD really isn't worth the time for any real development. We need people interested in this and create a bounty.
Kickstarter URL
https://www.kickstarter.com/projects/417577635/ok-pebble-now?
Here's the link for the kick starter project, I've set up for this particular application.
https://www.kickstarter.com/projects/417577635/ok-pebble-now?
Did you ever get any traction on this? I just got my first pebble and this is the first thing I went looking for. I downloaded tasker and bought pebble tasker but I seem to lack the patience to figure out how to make that work. I agree that a shortcut would be perfect so I could operate google now in my pocket. All I use it for is to set reminders and save voice to text notes in evernote but it's a pain in the rear to get myphone out every time. I tried an app that listens for okgoogle even while the screen is off, but it triggered intermittently for no reason and other times would refuse to work at all. This would be the ideal solution. Count me in for $20.
kfreels said:
Did you ever get any traction on this? I just got my first pebble and this is the first thing I went looking for. I downloaded tasker and bought pebble tasker but I seem to lack the patience to figure out how to make that work. I agree that a shortcut would be perfect so I could operate google now in my pocket. All I use it for is to set reminders and save voice to text notes in evernote but it's a pain in the rear to get myphone out every time. I tried an app that listens for okgoogle even while the screen is off, but it triggered intermittently for no reason and other times would refuse to work at all. This would be the ideal solution. Count me in for $20.
Click to expand...
Click to collapse
Sadly i didn't get anywhere with this application. I would have easily loved something like this and like yourself i couldn't be bothered to go through the tasker app and setting it up. Just a install an install and go app i wanted.
If you know any developers out there that are willing to give this a shot.
When you say 'Count me in for $20', do you mean you are a developer that will be willing to develop this application?
techguy276 said:
Sadly i didn't get anywhere with this application. I would have easily loved something like this and like yourself i couldn't be bothered to go through the tasker app and setting it up. Just a install an install and go app i wanted.
If you know any developers out there that are willing to give this a shot.
When you say 'Count me in for $20', do you mean you are a developer that will be willing to develop this application?
Click to expand...
Click to collapse
Sadly, no. I can't develop anything but film. But I'll put $20 in for the developer who puts it together.
There is someone who created a nice dashboard app that lets me find my phone if lost, control wifi, lock the screen, and a number of other things. I think I'll email that developer and see if they can just add that. I really want this and I want it to work. And with the new Pebble coming out soon I think I'll be picking one of those up as well so I'm committed to the platform. This is the one thing I feel I'm missing.
Not really what you are after, but I very easily set up a Tasker task to wake up my phone (but keep it locked) so I could give it "OK Google" commands. This way I can send texts or navigate home without taking my phone out. Pebble Tasker makes it only a click away.
imaginaryenemy said:
Not really what you are after, but I very easily set up a Tasker task to wake up my phone (but keep it locked) so I could give it "OK Google" commands. This way I can send texts or navigate home without taking my phone out. Pebble Tasker makes it only a click away.
Click to expand...
Click to collapse
I did this as well, but now, every time I launch PebbleTasker on my phone, Voice Search begins opening repeatedly and I can't even get to it to try to add additional tasks. Have you run into this? Did I do something wrong? Al I did was create a profile, then a task to launch the VoiceSearch App. It came up on my pebble fine and works flawlessly. It wasn't until I went to add somethign else to the PebbleTasker that I ran into this. Since then I've deleted the task from PebbleTasker and it still does it. Very odd. Any ideas?
I didn't do mine this way because your phone needs to be awake for the Voice Search app to open. However, I just set it up to see if I had the same issue as you, and I didn't. Everything worried as it should. I don't know why it isn't working for you.
My task is just to wake up my phone, then I give my "OK Google" voice command.
imaginaryenemy said:
I didn't do mine this way because your phone needs to be awake for the Voice Search app to open. However, I just set it up to see if I had the same issue as you, and I didn't. Everything worried as it should. I don't know why it isn't working for you.
My task is just to wake up my phone, then I give my "OK Google" voice command.
Click to expand...
Click to collapse
OK. I'm setup a little different. I installed the Xposed mod which lets me do this without a task to wake the phone. I simply set a task to launch VoiceSearch, and when I press the button on pebble tasker, the app launches without even lighting up the screen.
Here's the link to it. forum.xda-developers.com/xposed/modules/mod-secure-google-search-t2606688
I think there's something else going on here though. It was working fine Sunday. I'm having general issues with Google now it seems. Reminders aren't getting set to notes and instead are getting sent to alarms. Even if I say "remind me to get cheese the next time I'm at walmart", it tries to set an alarm then it stops because it's waiting for me to set a time. I installed Keep thinking that might fix it...no joy. I cleared the cache and all data, uninstalled google app and the launcher, restarted to clear the cache partition, rebooted in safe mode, went back to regular mode and still get the same problems. Kind of stumped right now. I can't delete older cards and if I go directly into reminders and try to push the plus sign button to add a reminder, it correctly identifies my words and they go on the screen and it just stops there. it's not locked up or anything. It just won't go any further. So something is really wrong with google. just dont' have a clue what it could be at the moment.
Yeah, it sounds like like the Pebble task is the least of your worries. I read here that someone else was having a similar reminders issue. I have no idea if he is rooted or not, so I don't know if it is Xposed related. Good luck.
imaginaryenemy said:
Yeah, it sounds like like the Pebble task is the least of your worries. I read here that someone else was having a similar reminders issue. I have no idea if he is rooted or not, so I don't know if it is Xposed related. Good luck.
Click to expand...
Click to collapse
The plot thickens. I have a Nexus 7 mounted on my refrigerator basically for Google now and the way I can just say "make a note" and it will save a note in evernote for me. It's stock and with the latest auto update is running 4.4.4. A power cord is connected perpetually. I haven't touched the thing physically in MONTHS. But apparently in the last 3-4 days it has developed the same problem with reminders not working. It gets stuck just like my phone does when I'm manually trying to make a reminder. It's like the entire reminder function was removed and my phone just grabbed onto alarms as a last resort rather than not do anything at all. I've googled it and haven't found anyone else with the issue (or they haven't noticed yet). but to have it on two different devices at the same time - one of which I haven't even touched indicates that there's a conflict with an update and probably a common app between the two devices.......now to figure out what it might be.......
kfreels said:
The plot thickens. I have a Nexus 7 mounted on my refrigerator basically for Google now and the way I can just say "make a note" and it will save a note in evernote for me. It's stock and with the latest auto update is running 4.4.4. A power cord is connected perpetually. I haven't touched the thing physically in MONTHS. But apparently in the last 3-4 days it has developed the same problem with reminders not working. It gets stuck just like my phone does when I'm manually trying to make a reminder. It's like the entire reminder function was removed and my phone just grabbed onto alarms as a last resort rather than not do anything at all. I've googled it and haven't found anyone else with the issue (or they haven't noticed yet). but to have it on two different devices at the same time - one of which I haven't even touched indicates that there's a conflict with an update and probably a common app between the two devices.......now to figure out what it might be.......
Click to expand...
Click to collapse
As far as I know, a lot of voice-initiated command will become available with Pebble-core's connection to Alexa
Currently, the pebble is also capable of doing such with 'snowy' commands. See mydogsnowy.com
I have no stake in that product whatsoever, and in fact I struggling a bit with its voice-recognition ... I'm dutch, so perhaps my english is not adequate for the recognition. So... your mileage may vary, but from what I've tested and seen described it's really promising
kfreels said:
I did this as well, but now, every time I launch PebbleTasker on my phone, Voice Search begins opening repeatedly and I can't even get to it to try to add additional tasks. Have you run into this? Did I do something wrong? Al I did was create a profile, then a task to launch the VoiceSearch App. It came up on my pebble fine and works flawlessly. It wasn't until I went to add somethign else to the PebbleTasker that I ran into this. Since then I've deleted the task from PebbleTasker and it still does it. Very odd. Any ideas?
Click to expand...
Click to collapse
where to buy such a gadget

[GUIDE] Stop Google Play Services Wakelocks (AppMeasurement, net_scheduler, etc.)

Update 09.12.17: The methods below may not fully work on the latest OS versions. There is an ongoing discussion in the last pages so I hope it gets cleared out eventually, sadly I've been busy with my studies and haven't touched my phone since initially making this thread (it's on OOS 4.0.2). I write this just to make sure I don't waste your time accidentally, so please check the latest replies if you're on newer OS versions.
Hello everybody,
*the undermentioned methods and app(s) require root*
I have asked you guys in the AKT thread if you would like to see a small tutorial on how to stop the constant "com.google.android.gms/.measurement.PackageMeasurementService" and "net_scheduler" wakelocks that might or might not be responsible for the device waiting longer than it should before dozing off.
Please keep in mind that this method does work for me, and might or might not work for you, as everybody uses different things/apps so in case you see unwanted behavior, just revert back and sigh that the method has failed you.
I am not responsible for any hardware-/software damage that may occur upon using these settings.
So, now that we've got all the generic stuff out of the way, first few words about why this might bother you:
1) You don't like your device doing stuff you didn't make it do.
2) You want to minimize wakelocks
3) You're here because you just saw the two beforementioned wakelocks and already decided you want to get rid of them.
So, regarding the first one, all I can say is I got the method from this reddit post , which briefly explains which services are doing the waking and what they are. Starting with "At the heart of Firebase is Firebase Analytics, a free and unlimited analytics solution. .." got me raising an eyebrow, as I don't like handling control of my device to other people, without me even knowing.
UPDATE: I have merged the two approaches into just using one app and making the changes on a global level, so you can just do them in like 5 minutes and forget about it, but in case you have problems with disabling package measurement you can also check the hidden text just below for instructions using another app, which was basically "the old way".
So to get rid of the "snooping", as already described in that post, you need to download MyAndroidTools.
Disclaimer: Disabling some services/receivers may "crash" the app. I found it is normal, just go back to where you were and check if you managed to disable the thing you wanted, if yes, then it was successful.
1. Open the app
2. Click on the top left to open the panel, click on Broadcast Receiver.
3. On the menu that opens go to the right column named System. Click search on the top right, type "Play" and choose the Google Play Services option.
4. In the search bar there type at least "ana" and disable the two found results with the names "AnalyticsReceiver" and "AnalyticsSamplerReceiver"
5. Hit x and search again for at least "meas". You will see three results with the names "AppMeasurementInstallReferrerReceiver", "AppMeasurementReceiver" and "PackageMeasurementReceiver*". Disable all three.
****Update 15.02.17*** Apparently this one resets every once in a while, I blame this again on Google's efforts to have their spying on, but anyways. Go to services->system->Google Play Services->search "meas"->disable both "AppMeasurementService" and "MeasurementBrokerService". The third one (PackageMeasurementService) will restart too so don't bother. This should do the trick though.
6. There was discussion about "Campaign Tracking" . I only found it in the same System menu, in Android Pay, by searching at least "cam" you get the result "CampaignTrackingReceiver". Disable it if you feel you want to. I don't use Android Pay and cannot say if it breaks something there, but otherwise have it disabled and haven't noticed any problems so far.
7. Search for Google Play Store in System. In that option, search for at least "app" and disable "AppMeasurementReceiver". Hit x and search for at least "fir", then disable the two results with names "FirebaseInstanceIdInternalReceiver" and "FirebaseInstanceIdReceiver"
8. Done. All the setttings are now global for any sort of app measurements, as far as I know.
This is the "old way" of dealing with app measurement. If you have done the steps above just ignore (hide) this part and continue with disabling net_scheduler below.
So to get rid of the "snooping", as already described in that post, you need to download Root Package Disabler or equivalent alternative.
ATTENTION: As per the last version of the app, I see there might be a bug which reverts some settings when you use the search bar, so please try and find the services by hand in stead of searching, as it is more reliable.
1. Open the app
2. Start with the left-most pane, e.g. "Installed". There you can see all your installed apps
3. Click on the first app on the list, it will display a small menu. Apps that use services will have the bottom-left option named "SERVICES" available, click there. This will take you to the services list that this app uses.
4. Click on the searching icon on the top-right in order to filter the services we need disabling.
5. Write at least "appm" . If the AppMeasurementService is used by this app, it will now be displayed.
6. Tick that off (the switch will turn gray)
7. Hit x, and search again for at least "fireb". This will display all services that use the Firebase SDK. You may also check under the name of the service and see the word is contained in the "executable name", so it might not always have "an official" name that states Firebase, but still use one of their "executables" (sorry for lack of detail)
7.1 Check for any other services that have "analytics" in their description, although I haven't checked if this stops something useful, but I doubt it.
8. When you're done with the current app, it will no longer call these services and cause wakelocks as long as the services remain stopped. To my experience the settings stay after reboot, it's just the above mentioned bug you have to keep in mind since it happened to me now while making the guide, and I know it came with the latest update.
9. Go back to the installed pane and maybe tick on the star next to the app in question. It will be added to the "favourite" list where you can have all those apps and don't bother to search them again if needed.
10. Repeat from step 1 for the next app and go through all your apps. If not you will still get calls to this service from the apps that still have these services on. Also a reminder here, you have to remember and check every new app you install, as most apps do have the service enabled.
11. After you're done with all apps in "Installed", check out bloatware (I think I haven't found anything there, but it's worth checking).
12. "System" apps that I know have some of those services: Calendar, (probably) Chrome (I have that disabled so dunno), Drive, Duo, Gboard, Google Play Services, Google Play Store, Google VR Services.
Here are two pictures how an app's services list looks like, and one with some of the services disabled:
all services on
some services off
After doing these steps, you should charge your battery to 90% to reset the battery statistics and you should see that the "com.google.android.gms/.measurement.PackageMeasurementService" wakelock no longer occurs (or stays really, really low, and not thousands like before). If you still have it after all this, then you probably have an app you haven't disabled the services for.
The second approach will get rid of the "net_scheduler" wakelock. Thanks to @denon480 for the idea, it's post #34 in this thread It involves installing (again) MyAndroidTools or equivalent alternative.
1. Open the app
2. Click on the top left corner to open the menu panel.
3. Click on Broadcast Receiver
4. Navigate to the System pane
5. Click on search on the top right. Search for Google Play Services. Click on them when they show up
6. In the search top right, write at least "sche" and you will see the two receivers responsible for the "net_scheduler" wakelock, "SchedulerInternalReceiver" and "SchedulerReceiver" . Here's a picture how it looks
7. Switch the first one off. The app will quit, don't worry.
8. Go back to where you were (steps 1 to 6) . You will see that you indeed managed to swtich that receiver off.
9. Switch the second one off. The app will quit, again no worries.
10. Check if you managed to switch the second one as well. After that you're done!
I hope I could help you guys out. I know there is nothing fancy in these methods but felt a thread might be useful as I saw a good number of requests when I mentioned it in the AKT thread.
Also sorry for misleading the guys I already told it was going to be a short guide, I honestly thought it would take way less words than it did. But I think it is for the better.
Have fun.
* Reserved *
Going through this guide, I was able to get the services disabled through root package disabler, bit my android tools kept force closing for some reason.
*edit* uninstalled, rebooted, reinstalled, and was able to get the app to stay open, and got them disabled. I'm curious to see what my wake locks are going to look like tomorrow. This is pretty much the nougat answer to amplify, huh? =)
MeggaMortY said:
* Reserved *
Click to expand...
Click to collapse
I think Everything is fine or?
tzbigworm said:
Going through this guide, I was able to get the services disabled through root package disabler, bit my android tools kept force closing for some reason.
*edit* uninstalled, rebooted, reinstalled, and was able to get the app to stay open, and got them disabled. I'm curious to see what my wake locks are going to look like tomorrow. This is pretty much the nougat answer to amplify, huh? =)
Click to expand...
Click to collapse
Hope it gets rid of those for you too. If I remember correctly I noticed the problem since Nougat, but then again I've been on Android since only a few months, coming from a big pause. Last time I was around we were rocking the HTC HD2 and had to deal with very different problems.
1+3_FA said:
I think Everything is fine or?
Click to expand...
Click to collapse
Yup looks great.
MeggaMortY said:
Hope it gets rid of those for you too. If I remember correctly I noticed the problem since Nougat, but then again I've been on Android since only a few months, coming from a big pause. Last time I was around we were rocking the HTC HD2 and had to deal with very different problems.
Click to expand...
Click to collapse
Crazy how much of a beast that phone was. People forget it's actually a windows phone, Android was put on it so much lol!
Thanks for the tips. Works great!
Thank you for your awesome work!
I have two more questions:
1. What about CampaignTrackingService? Could we disable this one as well?
2. In MyAndroidTools under Broadcast Receiver there are lots of receivers like AppMeasurementReceiver or FirebaseInstanceIdReceiver. They also need to be disabled or disabling the corresponding service is sufficient?
Thank you very much
youknownothing said:
Thank you for your awesome work!
I have two more questions:
1. What about CampaignTrackingService? Could we disable this one as well?
2. In MyAndroidTools under Broadcast Receiver there are lots of receivers like AppMeasurementReceiver or FirebaseInstanceIdReceiver. They also need to be disabled or disabling the corresponding service is sufficient?
Thank you very much
Click to expand...
Click to collapse
1. I initally disabled that in a few apps and didn't have problems System-wide or with the apps. So you can give it a go and in case of apps not functioning you can revert those back.
2. No for now it's okay to just use the Package Disabler for that. Like I said both apps have similiar functionality, there's probably a way to find the right service/receiver and disable it globally from MyAndroidTools, then we won't need the Package Disabler. But since it did work for me and I don't install new apps more than like once a week, I just didn't bother figuring it out. I can only say that disabling certain services/activities in MyAndroidTools can brake functionality or even bootloop your device, so be very careful in case you wanna find out if it's possible.
MeggaMortY said:
1. I initally disabled that in a few apps and didn't have problems System-wide or with the apps. So you can give it a go and in case of apps not functioning you can revert those back.
2. No for now it's okay to just use the Package Disabler for that. Like I said both apps have similiar functionality, there's probably a way to find the right service/receiver and disable it globally from MyAndroidTools, then we won't need the Package Disabler. But since it did work for me and I don't install new apps more than like once a week, I just didn't bother figuring it out. I can only say that disabling certain services/activities in MyAndroidTools can brake functionality or even bootloop your device, so be very careful in case you wanna find out if it's possible.
Click to expand...
Click to collapse
Thank you for your quick response. I'll give it a try, if anything goes wrong I'll let you know.
Is there any difference between Package Disabler and Disable Service app? I've tried the former, but it was really buggy. Scrolling was so glitchy and with lots of stutters that I've accidentally disabled few services. So I've used Disable Service with success. Now I only wonder whether both apps have the same functionality. Do you happen to know that?
Thanks in advance
youknownothing said:
Thank you for your quick response. I'll give it a try, if anything goes wrong I'll let you know.
Is there any difference between Package Disabler and Disable Service app? I've tried the former, but it was really buggy. Scrolling was so glitchy and with lots of stutters that I've accidentally disabled few services. So I've used Disable Service with success. Now I only wonder whether both apps have the same functionality. Do you happen to know that?
Thanks in advance
Click to expand...
Click to collapse
Assuming you're disabling services, which we are lol (should've been more obvious for me too I guess), I'd say you should be fine, and even say maybe the same goes for just using MyAndroidTools, just scroll through the Service menu in Table Third-Party and you'll see the same settings you applied with the other app/Package Disabler. I guess I was lazy to realize that since I liked I can favourite the apps I need to keep an eye on in the Package Disabler.
So all in all you should be okay, but even better you may try and just use MyAndroidTools for both. I have some exams coming so I won't be able to test those things but will make sure to update the tutorial if indeed that turns out to be right (for the app you suggested or even just MyAndroidTools).
Give a shout in case you find out something more. And thanks for the info
Followed the guide, thanks for this like said before kind of amplify for nougat. But as I was disabling net.schedule I noticed "my android tool" can do the fire base and app activity. Under service activity and press <...>
I suppose that this two methods doesn't compromise any function of the device right? For example loosing notifications or similar
Sent from my OnePlus 3
Mr.Jay said:
I suppose that this two methods doesn't compromise any function of the device right? For example loosing notifications or similar
Sent from my OnePlus 3
Click to expand...
Click to collapse
Like mentioned, it works fine for me, and probably depends on personal usage. I don't use Google Pay for example, and Chrome, and Google Music.... but besides those I haven't had problems anyway.
Disabled everything that is said to do in this thread and it worked great while I was at home while on wifi. I had drain of .5% an hour at times. However today while at work and on LTE, drain went up to 2.6% an hour, plus wakelocks from play services was waking up the device on average over 3 times a minute. When I looked into it further there was one service under play services where all the alarms were coming from. I do have a screenshot of this. Anyone have any insight to this? For the record, I do keep location off on my device.
Edit: I wonder f it comes from moving around a lot, as I'm always on the move as I manage a restaurant. Its not really a major drain, but still makes me wonder.
NJGSII said:
Disabled everything that is said to do in this thread and it worked great while I was at home while on wifi. I had drain of .5% an hour at times. However today while at work and on LTE, drain went up to 2.6% an hour, plus wakelocks from play services was waking up the device on average over 3 times a minute. When I looked into it further there was one service under play services where all the alarms were coming from. I do have a screenshot of this. Anyone have any insight to this? For the record, I do keep location off on my device.
Edit: I wonder f it comes from moving around a lot, as I'm always on the move as I manage a restaurant. Its not really a major drain, but still makes me wonder.
Click to expand...
Click to collapse
Have you disabled location history in the Google App? The problem is this guide fixes only one concrete aspect of the whole "Google stalking experience" shenanigans. Please check for the thing I mentioned and also in Settings -> Backup & Reset, make sure Back up my data is off if you haven't logged in an account and intend to use that - these two things were also draining battery for me when I was on the go as far as I can remember.
LMcR92 said:
Followed the guide, thanks for this like said before kind of amplify for nougat. But as I was disabling net.schedule I noticed "my android tool" can do the fire base and app activity. Under service activity and press <...>
Click to expand...
Click to collapse
I did some checking on that list and am currently testing a way to only use MyAndroidTools for the whole aproach. If it turns out to be working the whole guide would get reduced to like 10 clicks, since the settings are global. I'll post more info after a day or so to make sure it is working, but as for now I see promising results.
Anyone used Franco's Servicely app to do this?
Up, I have updated the guide to just using MyAndroidTools and disabling the receivers on a global scale. So now you just have to do it once and (hopefully) forget about it.
MeggaMortY said:
Up, I have updated the guide to just using MyAndroidTools and disabling the receivers on a global scale. So now you just have to do it once and (hopefully) forget about it.
Click to expand...
Click to collapse
Will Doing like #1 post notifications from Gmail?
techusthad said:
Will Doing like #1 post notifications from Gmail?
Click to expand...
Click to collapse
Don't know what you mean by #1 - disabling the AppMeasurement stuff, e.g. first set of instructions? I haven't had problems with Gmail and I use it with two accounts on there.

Can't keep apps running in the background

I know this is the Mi 8 forum, but I feel that the issue I have on my Mi 9 will be common across both phones, and thought I would post here too.
I've noticed that at least two apps will mysteriously stop working in the background, causing problems:
First, most important, I use my Google Voice number, not my SIM number, so I need Google Voice to be running so that it intercepts my calls and uses the right phone number to make calls. If I open Google Voice, it will work for a few hours, maybe a day, and then GV stops working and calls start going out through my SIM number.
The other app that exhibits this behavior is Garmin Connect -- my watch gives me notifications, but then, for no reason, it will stop working. Opening Garmin Connect solves the problem.
I have ensured all permissions are set as liberally as possible, even the "allow autostart" option. Not sure what else to do. Any ideas would be great. I actually didn't have the issue with my Mi 8, but I wonder if anyone has any knowledge on how this could happen on the Mi 9.
Thanks!
sshanky said:
I know this is the Mi 8 forum, but I feel that the issue I have on my Mi 9 will be common across both phones, and thought I would post here too.
I've noticed that at least two apps will mysteriously stop working in the background, causing problems:
First, most important, I use my Google Voice number, not my SIM number, so I need Google Voice to be running so that it intercepts my calls and uses the right phone number to make calls. If I open Google Voice, it will work for a few hours, maybe a day, and then GV stops working and calls start going out through my SIM number.
The other app that exhibits this behavior is Garmin Connect -- my watch gives me notifications, but then, for no reason, it will stop working. Opening Garmin Connect solves the problem.
I have ensured all permissions are set as liberally as possible, even the "allow autostart" option. Not sure what else to do. Any ideas would be great. I actually didn't have the issue with my Mi 8, but I wonder if anyone has any knowledge on how this could happen on the Mi 9.
Thanks!
Click to expand...
Click to collapse
MIUI itself is a bit heavy on RAM, for one, and it's always been a bit aggressive on RAM management. Another thing, have you disabled MIUI's power saving functionality for those apps? I believe it only affects background push data, but I may be wrong. To configure said apps, go to Settings > Battery & performance > Choose apps and then select the apps in question and set to No Restrictions. There used to be an option to completely disable it, but that has since been removed. Another thing is to enable Developer options by tapping the MIUI version several times in the About phone section of the Settings app, then go to Additional settings > Developer options and disable MIUI optimizations. Read the prompt that pops up as I recall it mentioning something about affecting certain services.
Crossvxm said:
MIUI itself is a bit heavy on RAM, for one, and it's always been a bit aggressive on RAM management. Another thing, have you disabled MIUI's power saving functionality for those apps? I believe it only affects background push data, but I may be wrong. To configure said apps, go to Settings > Battery & performance > Choose apps and then select the apps in question and set to No Restrictions. There used to be an option to completely disable it, but that has since been removed. Another thing is to enable Developer options by tapping the MIUI version several times in the About phone section of the Settings app, then go to Additional settings > Developer options and disable MIUI optimizations. Read the prompt that pops up as I recall it mentioning something about affecting certain services.
Click to expand...
Click to collapse
I have set the apps in question to No Restrictions, a long time ago, but that didn't help. Today, I tried another option -- Use Adaptive Battery (Limit battery for apps that you don't use often). I turned that OFF, and it appears I've been getting alerts on my Garmin watch all day. However, I made a call and Google Voice wasn't active. I was getting excited that I'd found a cure until that happened. I'll try your suggestion in developer options and report back if it works. Thanks for that idea.
No luck -- Google Voice is still stopping, even after just a few minutes. I can't make calls on my google voice number unless I first launch Voice, then go to the phone app.
sshanky said:
No luck -- Google Voice is still stopping, even after just a few minutes. I can't make calls on my google voice number unless I first launch Voice, then go to the phone app.
Click to expand...
Click to collapse
Yeah MIUI 10 + Android 9.0 are worse than previous versions of MIUI, but Google apps have issues on all devices that do not use stock or near stock Android. Have you attempted to lock the app in the task manager? Open your app, for example Google Voice, then using the task manager (App switcher), long press that app and tap the lock button. Try using the phone as you normally would and see if it helps.
@Crossvxm that's a good idea. I'll try and let you know how it goes.
sshanky said:
@Crossvxm that's a good idea. I'll try and let you know how it goes.
Click to expand...
Click to collapse
All you have to to do is turn off Battery restrictions.
Also, I would suggest giving the launcher "Smart Launcher: a try. Not only is it awesome but it gives you quick access to all of the permissions, and battery optimizations. You can manage all of this from the Apps list.. Press and hold on any icon and click namage ( or the gear then manage) this is much easier then searching through the system settings for autostart, permissions, battery management etc. This is one app that is worth buying. The free version is great, but the paid version is incomparable, and I own all of the popular launchers. Smart Launcher Pro 5 is absolutely the best, and highly customizable.
My biggest issue with all AOSP roms is that the battery goes up to 105F when charging on every single AOSP rom that I have tried on the Mi8. While there is no immediate risk in the long term the battery should not get hotter than room temperature.
Back to Miui, turn off battery restrictions and you will have no issues, you also have the option of clicking the pin in recents to keep the app active.
Hi @tsongming, I've done everything possible to deactivate restrictions. I've done it the way you mentioned and other ways as well. I did try locking the app as mentioned by @Crossvxm and it might have done the trick -- will know more in a few days. I use Nova Launcher (paid version) and it has the same features you mentioned about Smart Launcher, where I can get to the settings instantly.
sshanky said:
Hi @tsongming, I've done everything possible to deactivate restrictions. I've done it the way you mentioned and other ways as well. I did try locking the app as mentioned by @Crossvxm and it might have done the trick -- will know more in a few days. I use Nova Launcher (paid version) and it has the same features you mentioned about Smart Launcher, where I can get to the settings instantly.
Click to expand...
Click to collapse
I run MIUI stock 10.3.3.0 with Sphinx Kernel and root. I also use Hangouts, Google voice, and Google message without issues. It's like tsongming mentioned. Turn off the adaptive battery and remove battery restrictions on each app. Also make sure they get all permissions.
Something to note , when I used Canting Kernel, I had lots of apps turn off in background including my Fossil sport watch connection. Going back to Sphinx Kernel took care of issue, probable too aggressive memory killer in Canting. Stock Kernel might have same issue idk.
./
When I had my Mi 8, I had no issues. This seems to be something new with the 9. I've disabled adaptive battery, I've provided all permissions to the app, I've removed all power restrictions. I'm not rooted, so I can't change kernel right now. It appears that locking the app might have helped a bit, but I wish I didn't have to do it.

Android 11 cant set background permission for smartwatch

Hello folks. I've been reading a lot to fix this issue but no luck yet so I come to you. I have a Pixel 4XL running android 11, and a smartwatch brand Haylou Ls05, with the apk Haylou Fit.
The thing is I cant set the proper permissions to use the location services in the background. Mi GF has a android 10 phone and no problem.
I already tested everything I founded over the internet and nothing works. When I start running, the app goes good until the screens is off and the tracking of the running gets lost.
Any suggestion? Thanks in advance!!
Are you running without your phone? This watch doesn't have any GPS chip or functionality, so it is not going to track your location or track your your route by itself. Sorry if this was obvious already but I don't know what your use case is. On Android 10/11 you can control the location use on a per-app basis. If your watch app uses the newest API and supports this function, you will see under the Haylou Fit app permissions>>location the following: (Allow all the time/Allow only when using the app/Ask every time/ Deny). If you don't see this option in your app settings then the app itself needs to be updated. It's not the phone that is the issue, but the app. See the screenshot attached. Android 10 has this same functionality, so I'm not sure why your GF's is working correctly and yours is not. You may try removing and re-installing? Please post a screenshot of what you are seeing under location permissions for this app. Cheers.
Thanks very much for your answer. Yes, I run with the cellphone to use the gps of it because the watch does not have gps. Sorry i'm not very familiar with API, but I understand now that it is a problem of the app itself and not of android. My screenshot doesn't show the "allow all the time" item, as i would like to.
Any way to force it? like patching the app o magisk or something I could do? I like this watch very much , its small and light, and would really like to be able to use it..
Thanks you for the answer.
Agustín.
agucasta said:
Thanks very much for your answer. Yes, I run with the cellphone to use the gps of it because the watch does not have gps. Sorry i'm not very familiar with API, but I understand now that it is a problem of the app itself and not of android. My screenshot doesn't show the "allow all the time" item, as i would like to.
Any way to force it? like patching the app o magisk or something I could do? I like this watch very much , its small and light, and would really like to be able to use it..
Thanks you for the answer. Agustín.
Click to expand...
Click to collapse
Not that I know of. I still would like to know why the app it works on your GF's phone (10) and not yours (11) because they both have the same location security options. Is the "always" option available on hers, or is it working on the "when app is running"? Running the same version? This may be related to the API used by the app and until the dev updates it, it will not work. Try contacting the dev? Contact info is available on the Google Play Store.

Categories

Resources