Folks; using a P20 Lite with stock Android 8 firmware, we experience "reproducible"(?) issues while trying to record GPS tracks in apps such as Komoot or Runtastic. With all these apps, track recording seems to stop a couple of moments after the phone display went off. So far we didn't figure out any way to change this, even whitelisting the apps in question (all along the lines of https://www.xda-developers.com/android-oreo-background-location-whitelist/) didn't change anything. Problem wasn't however reproducible on another Android 8+ device.
Is this a known problem or limitation? Any hints on how to resolve this?
Thanks in advance and all the best,
Kristian
Related
Hi,
I have an issue with the way 2.1 roms handle background processes. Using Cronos 1.4.1 at the moment but the issue is the same in every 2.1 rom I've tried. The issue is not there in 1.5 roms.
In the car I like to run Spotify and CoPilot at the same with Spotify in the background over A2DP. When I do this the music from Spotify starts breaking up and becomes unlistenable. I can fix this by turning off the screen but it starts again when the screen is turned back on. CoPilot isn't a huge amount of good without a screen so this is a pretty bad workaround. I wouldn't complain and just chalk it up to underpowered hardware but I never had this problem with the 1.5 roms.
I've tried overclocking but that doesnt help at all. At a guess I would say that the scheduler is effectively choking Spotify when it's got a another app in the foreground (it isn't just CoPilot that deprives Spotify but most programs that have constantly running processes i.e. games). Web browsing only breaks up the music during page loads.
Is there a way of telling the scheduler to give Spotify a greater or equal priority to foreground apps? Is this something that BFS will solve (or make worse). Is it possible the official kernel will make a difference?
Any help will be much appreciated.
Cheers,
Phil
PS: Apologies if this belongs in the general forum but I thought this is more of a development issue.
You can always try setting a `nice`/renice constant.
I have exactly the same issue with spotify, it seems to have very low priority, I don't know if this is a problem with the spotify app or the way in which android 2.1 deals with it but it does seem to be throttled to the point of stopping when you try and do anything else with your phone while running it.
It didn't appear to be an issue on any of the 1.5 roms and seems to be a lot worse on a Sense 2.1 rom (I don't know if that is because there are a lot more things running in the background)
I used a the "top" command within adb shell and could see that other process, some htc and some standard android were jumping up the cpu usage way higher than spotify and this seemed to cause the music to break up.
I really hope that if the official 2.1 version is released, whatever is causing the issue (sense, android or the spotify app) is fixed!
EDIT: for some reason, trying to load up web pages makes it stutter like crazy!
Hi,
adwinp: you clearly know more than I do. How would I go about setting that?
DarthOps: I'm glad that I'm not the only one that finds this frustrating. I'll check to see if the Music app behaves the same way or if it's just Spotify. If it's just Spotify then maybe it's worth raising a bug report with them. Have you tried it recently in a 1.5 rom? Wondering if the later versions of Spotify still behave fine in 1.5.
Cheers,
Phil
Hey.
I have the same issue with all 2.1 roms. I'm currently using cronos 1.4.1 and it's a bit better than with other roms.
I guess we'll have to wait for the official eclair release before raising a bug report
With 1.5 there's no problem.
I'm using app2sd, are you guys too ?
Yup, but I am pretty sure I've had the same issue using non app2sd roms. I'm trying that scheduler hack somebody put up on the forum, will post my results in a sec.
Update 1:
All the tests were done with Spotify over headphones and not A2DP. Going to test that on my way home in the car.
Spotify and Torque (OBD app that is constantly running and uses BT), saw a possible improvement in that it took a good half a minute before Spotify started breaking up but then it was as bad as before.
Spotify and CoPilot are playing nicely together in the office but the real issue is when the map updates (i.e. moving). Will test on my way home.
Spotify and web browsing: loaded bbc.co.uk and Spotify didn't stutter once.
Spotify and Frozen Bubble: No stutter at all during playing.
This could actually be a workable solution and is promising that maybe BFS based roms will work.
Could you give us some informations about how to do this hack ?
herman3101 said:
Hi,
adwinp: you clearly know more than I do. How would I go about setting that?
DarthOps: I'm glad that I'm not the only one that finds this frustrating. I'll check to see if the Music app behaves the same way or if it's just Spotify. If it's just Spotify then maybe it's worth raising a bug report with them. Have you tried it recently in a 1.5 rom? Wondering if the later versions of Spotify still behave fine in 1.5.
Cheers,
Phil
Click to expand...
Click to collapse
You have to edit your initrd (init.rc) and rebuild your boot.img
You have to find out the resource # of the process choking the system and reduce its nice, and upp the one being slow, for example.
The arguments of setrlimit: resource current max
Sorry, should have said. http://forum.xda-developers.com/showthread.php?t=689829 has all the details.
Turn usb debugging on and open an adb shell to type in the commands from the post above or alternatively use the gscript method (didn't work for me on Cronos 1.4.1, the SU request FC on me).
adwinp: Wow, think that might well be beyond my capabilities. Is there any way to edit that in adb? Also it's not one program being "nasty" but rather Spotify being too "nice" .
Ok thanks a lot, I'm gonna give it a try
I find that I tend to get stutters when the phone changes between 2G and 3G connections too, I remember some Droid users reporting the same problem
DarthOps said:
I find that I tend to get stutters when the phone changes between 2G and 3G connections too, I remember some Droid users reporting the same problem
Click to expand...
Click to collapse
Change your band to WCDMA only:
open dialer, and:
*#*#4636#*#*
Be sure you have good 3G coverage in your region first!
Unfortunately the scheduler hack doesn't fix this for me. Tried it in the car going home and still got lots of stutter when running CoPilot. Possibly a bit better than before. Tried with and without A2DP and it made no difference. Back to the drawing board I guess.
herman3101 said:
Unfortunately the scheduler hack doesn't fix this for me. Tried it in the car going home and still got lots of stutter when running CoPilot. Possibly a bit better than before. Tried with and without A2DP and it made no difference. Back to the drawing board I guess.
Click to expand...
Click to collapse
Are you going to raise a bug with Spotify?
Moved as not ROM Dev.
Just tried with the official release, it's worse than with cronos droid.
Back to cronos...
I've finally hit a breaking point with Maps 7.x. Has anyone else still been having problems with it, or better yet, not had problems with it?
This is a video showing some of the problems I've been seeing. Most noticeable is the jittering glitches. If I'm driving around, the screen is unreadable for directions or street names. At the end is a screenshot I took of a completely glitched out warning prompt to tell me "please enable wifi and mobile network to improve accuracy" though you'd never be able to guess that.
http://www.youtube.com/watch?v=yMAVZnMx3m8
I'm running Infection 2.9.1, and I've tried several kernels (ROM default, Hiro, and Funkybean) and switched up the governors and schedules, and nothing has seemed to work. I've tried disabling/enabling hardware overlays. I'm just at a loss, and hoping someone out there knows more than I do. I just finally had it because it's cool enough outside to run now without getting heat stroke, and Endomondo (my running app) freaks out and loses signal 5 steps into a run. Downgrading to Maps 6.x makes everything happy. Is sticking with the old Maps still the best solutions for this?
Is there any more information that I can provide to eventually get this resolved?
nu Maps stinks on Rezound
I unwisely installed the new Maps from Google Play Store.
It forgot my Favorite places and cached location. Experienced
poor location finding and not-fun routing to locations.
After hating it for a week, I searched for Maps 6.14.4.apk
and installed it with Root Explorer. I am very glad to have
a good working version of Maps running again now.
dbighead77 said:
I've finally hit a breaking point with Maps 7.x. Has anyone else still been having problems with it, or better yet, not had problems with it?
This is a video showing some of the problems I've been seeing. Most noticeable is the jittering glitches. If I'm driving around, the screen is unreadable for directions or street names. At the end is a screenshot I took of a completely glitched out warning prompt to tell me "please enable wifi and mobile network to improve accuracy" though you'd never be able to guess that.
http://www.youtube.com/watch?v=yMAVZnMx3m8
I'm running Infection 2.9.1, and I've tried several kernels (ROM default, Hiro, and Funkybean) and switched up the governors and schedules, and nothing has seemed to work. I've tried disabling/enabling hardware overlays. I'm just at a loss, and hoping someone out there knows more than I do. I just finally had it because it's cool enough outside to run now without getting heat stroke, and Endomondo (my running app) freaks out and loses signal 5 steps into a run. Downgrading to Maps 6.x makes everything happy. Is sticking with the old Maps still the best solutions for this?
Is there any more information that I can provide to eventually get this resolved?
Click to expand...
Click to collapse
To be honest google has been messing up alot of things for the Rez lately and maps being one of them....no matter what kernel you are on or what rom you are on its not gonna fix this maps issue...personally i prefer waze as it is not only free on google play but just works alot better and are even more up to date than google maps....plus it has many cool features like it lets you know if theres a cop or accident up ahead...also to note theres a gps test app out there that gives you a much better lock on your gps so it wont loose its signal as much
I have the same flickering issue until I close the app and reopen it. Seems to work fine after that.
I've used an app called 'MM Tracker' for several years on several different devices to provide positional / tracking info. It has been working successfully on my RN2 Prime up until I moved from Miui 7 to Miui 8. The app normally continues to track my position using the inbuilt GPS even when I switch the screen off but now in Miui 8 it almost immediately stops tracking when I switch the screen off. I've read elsewhere of others having problems with GPS and Miui 8 and they have resolved their problems by adding the GPS.CONF file for their region to the ETC folder but this makes no difference in this case.
Has anyone else experienced this problem ? Does anyone have any suggestions that I might try to fix this ?
fourlans said:
I've used an app called 'MM Tracker' for several years on several different devices to provide positional / tracking info. It has been working successfully on my RN2 Prime up until I moved from Miui 7 to Miui 8. The app normally continues to track my position using the inbuilt GPS even when I switch the screen off but now in Miui 8 it almost immediately stops tracking when I switch the screen off. I've read elsewhere of others having problems with GPS and Miui 8 and they have resolved their problems by adding the GPS.CONF file for their region to the ETC folder but this makes no difference in this case.
Has anyone else experienced this problem ? Does anyone have any suggestions that I might try to fix this ?
Click to expand...
Click to collapse
Maybe the app gets Stopped by the security app?!
Make Sure autostart is on
Noobsi said:
Maybe the app gets Stopped by the security app?!
Make Sure autostart is on
Click to expand...
Click to collapse
I gave it a try but it didn't resolve my problems. Thanks for the suggestion
Don't forget to switch off battery optimisation
fourlans said:
I've used an app called 'MM Tracker' for several years on several different devices to provide positional / tracking info. It has been working successfully on my RN2 Prime up until I moved from Miui 7 to Miui 8. The app normally continues to track my position using the inbuilt GPS even when I switch the screen off but now in Miui 8 it almost immediately stops tracking when I switch the screen off. I've read elsewhere of others having problems with GPS and Miui 8 and they have resolved their problems by adding the GPS.CONF file for their region to the ETC folder but this makes no difference in this case.
Has anyone else experienced this problem ? Does anyone have any suggestions that I might try to fix this ?
Click to expand...
Click to collapse
The symptoms you describe are consistent with MM Tracker being put to sleep by the battery optimiser built into the OS. If you switch off the battery optimisation in the OS settings for MM Tracker it should start working fine. This applies also for fresh installs of MM Tracker.
Hey everyone!
I have already posted this issue in my device specific forum (which is the S6), but for a lack of views and replies, I am trying it in the general section too.
So! I am having an issue with my S6 that involves video playback in both youtube and whatsapp, and possibly other apps that I am not yet aware of.
In the youtube app, my phone will play audio, but i only get to see a black screen.
Sometimes, this even changes to showing a picture of the first frame with no sound (or anything happening) at all.
In whatsapp I can click on a video and it opens a player, but it doesn't play anything.
Instead, like sometimes in the youtube app, all I get is a picture of the first frame with nothing happening.
However! youtube works fine in the browser (both chrome and firefox, no issues), and i can watch my whatsapp video's from the gallery as normal too. (but it is still a BIG problem!!!!)
Also! Sometimes when I restart my phone, everything will work fine for a little while (usually for 5 minutes or so) but after a while, it will just break again and goes back to the problem described above.
Lastly! I know on other (samsung) roms that contain an app and framework file called minimode, removing the 2 will cause this exact issue, but these do not seem to be present on my phone. Simply injecting them from other roms won't magically solve it either. (Although I haven't actually found specific nougat versions of these files yet...)
I am experiencing this on different versions of the Stock S6 Nougat AND Marshmallow firmwares, even after full data wipes (including wiping the internal storage).
I have not tried flashing back to Lollipop, but I don't really wanna go down from nougat anyway, so it shouldn't be relevant.
As it does work some times, I find it hard to believe this is a hardware issue...
But I am completely clueless as to what I can do to fix it.
Any help, advice or insight in this issue is much appreciated
Please help me :crying:
Carpe-Dimi said:
Hey everyone!
I have already posted this issue in my device specific forum (which is the S6), but for a lack of views and replies, I am trying it in the general section too.
So! I am having an issue with my S6 that involves video playback in both youtube and whatsapp, and possibly other apps that I am not yet aware of.
In the youtube app, my phone will play audio, but i only get to see a black screen.
Sometimes, this even changes to showing a picture of the first frame with no sound (or anything happening) at all.
In whatsapp I can click on a video and it opens a player, but it doesn't play anything.
Instead, like sometimes in the youtube app, all I get is a picture of the first frame with nothing happening.
However! youtube works fine in the browser (both chrome and firefox, no issues), and i can watch my whatsapp video's from the gallery as normal too. (but it is still a BIG problem!!!!)
Also! Sometimes when I restart my phone, everything will work fine for a little while (usually for 5 minutes or so) but after a while, it will just break again and goes back to the problem described above.
Lastly! I know on other (samsung) roms that contain an app and framework file called minimode, removing the 2 will cause this exact issue, but these do not seem to be present on my phone. Simply injecting them from other roms won't magically solve it either. (Although I haven't actually found specific nougat versions of these files yet...)
I am experiencing this on different versions of the Stock S6 Nougat AND Marshmallow firmwares, even after full data wipes (including wiping the internal storage).
I have not tried flashing back to Lollipop, but I don't really wanna go down from nougat anyway, so it shouldn't be relevant.
As it does work some times, I find it hard to believe this is a hardware issue...
But I am completely clueless as to what I can do to fix it.
Any help, advice or insight in this issue is much appreciated
Please help me :crying:
Click to expand...
Click to collapse
Did you try updating the app used for playing video?
Augustoandro said:
Did you try updating the app used for playing video?
Click to expand...
Click to collapse
Yeah, all apps are up to date.
Thanks for the input tho
Hello. Few days ago I've got Huawei M5 10
And I've found strange behavior of the touch screen.
Long story short :
If you slowly move finger in one direction, and then change the direction, touch screen doesnt detect changing of direction and doesn't follow the finger. It waits for 10-15 (or more) pixels and only after that it places touch point into correct position.
I wanted to add video but XDA prohibits me
Its not a problem in regular work, but its annoying in games because you can't take aim in any shooters.
Do you have the same?
I haven't gamed much on my 8.4", but when new I initially experienced some buggy scrolling, possibly similar to what you describe, inside web browsers and what not.
If you are experiencing the same, I recommend:
Upgrading to the latest available OTA. (I actually hate upgrading software, but this was forced o me after a boot loop)
Disable/Delete Chrome (so it doesn't take over for Android System Webview)
Uninstall any updates to Android System Webview (after a reset, some buggy behavior returned for me immediately after updating Webview)
There are other things you can do if rooted. But those were the big things that seemed to fix touchscreen behavior for me. fwiw I can't discount that my upgrade to B153 may have helped, but I suspect that Chrome/Webview was the issue all along.
Thanks for answering
I've already updated Android and even tried to play with screen resolution (thought that because of huge resolutions touchscreens have this problem)
I can't paste link to YouTube but you can find the video named 'huawei medipad m5 10 screen lagging?'
I show there a bug.
Notice that in the name of video Mediapad replaced with Medipad. It's okay.
I'm having the same problem as you but i am pretty sure this is a software issue... But it doesn't bother me much as I use my tablet more for work than games
Hi, did anyone find a fix for this problem?
I don't have this problem on my 8.4. I play alot of first person shooters.