Locus Pro on Huawei smartphones

Kipcior shared this question 11 months ago
Answered

Hi,

my old SGS4 Active is coming to an end so it's about time to think about new smartphone. I analyzed a lot of them and almost decided to buy new Huawei P10 which is right about what I searched for: dual SIM, 64 RAM, fullHD screen, good look. But then I found some information on net that Huawei and Honor smartphones which comes with EMUI interface, are killing applications which're running in background when screen is off. Most examples were referring to Endomondo and other sports tracking apps but Locus is basically similar when it comes to tracking and recording tracks. My question is: did anyone tested how Huawei phones are dealing with Locus pro? I've been using it on my old SGS4 for many years, recording tracks even for a whole day in mountains and never had problems like killing app without notifying me about it which seems to be the problem described on net with Huawei products. Maybe one or two times the phone restarted itself but then I knew something went wrong.


I found one topic where menion also mentioned about some problems with Locus on Huawei when Huawei decide to kill it because locus was overusing CPU or smth like that but it was like 8 months ago. Has it been already solved? Are this kind of problems still existing ?? To be honest if I knew that it's all fine I'd go for it but if I buy Huawei and after one day of walking I find out that only th first hour was recorded because Huawei killed app I'd very very angry :)

Comments (33)

photo
1

Good day Kipcior,

I would also like to read some responses from other users that use Locus Map on latest Huawei devices.


I may confirm that few months ago, there were serious issues with Locus Map & Huawei devices. I even purchased P8 Lite just to solve this problem ... anyway unsuccessfully. Huawei optimization was so agressive, that is always killed Locus Map, no matter what I did ( as a developer ).


Anyway during last months I did not read about some new issues. So

  • a) by some accident, Locus is now more robust on Huawei devices ( I don't think so ... )
  • b) Huawei updated their software so it is now not so aggressive ( most probably )
  • c) all Locus Map users already give up ...


So I do not know. I personally do not trust these devices too much, but as I wrote .. it's some time since I really read about some serious issues with Huawei devices. Some personal user experiences are welcome here ... ( consider this as my humble opinion from developer point of view ).

photo
1

Thanks' for the answer Menion. That was quick :) Although it's still a mystery whether it will work properly or not - but thank's for honesty :) So, I'm also curious whether other users have any experience with this duo. Taking into account my phone requirements there's not much choice on the market in Poland. By the way, anyone have any experience with Asus Zenfone 3 ? I know it's not that powerful, but seems to have the features I want and also much cheaper then

p10 so maybe it's better choice (assuming it does not have that issue as huawei - at least haven't heard)

photo
1

I see that no responses given so it;s a question mark. Although finally I went with OnePlus 5 phone - it;s on the way to me so we'll see how it handles with Locus and the processes in background. If anyone is intereste I can share observations after some time of usage

photo
1

Thanks Kipcior for an information. Hope your new device will serve well to you! In case of problem, feel free to write us, we will gladly help ( if possible ).

Menion

photo
1

Hello,

is there any user that can confirm that Locus is running on Huawei devices (P8 / P9 / P10 / Lite) and is not being killed? I plan to buy P9, but locus is the main interest - so it would be nice to know in advance if this issue is still valid.

Thank you in advance!

photo
1

Can't say for P-series, but on my Honor 8 Locus is running nicely.


Yes, there are these powersafe settings killing apps when screen gets locked, but you can quite easily disable the killing for each app in power-settings.

The versions are Android 7.0 and Emui 5.0.1

I lately had problems with another app not running its background sync anymore, until I checked the powersafe settings. The developer there is also interested to see if there's a possibility from devel side, to prevent killing...

Else, I have no problem using locus. Did track recordings a whole day long, auto backup is working BLE (heart rate), all is well (as long as killing in background is disabled :-)

Same counts for my wife's Honor 6x.

photo
1

Hi Uatschitchun,

thank you for your message. I am now testing Huawei P10 :) and I am quite surprised from the not accurate GPS. You said, it's running nicely for you - what about the accuracy? Do you get smooth logged trace (my is jumping around the path)? I have to play with it little bit, my concern is that the accuracy is lost when I turn off the display.

Can you please advice if some specific settings is necessary to get the best possible accuracy of the log and distance measurement?

Thank you

photo
1

Can't say for anything other than Honor 8 & 6X. Especially the 6X is recording very nice and accurate! The 8 is a little worse in that regard, but I had it 'grounded' once, so could be it has something to do with that 🤔

Regarding GPS there's nothing you can do. No settings.

Turning off the display has an influence on GPS accuracy? Bet not! :-)

photo
photo
1

Hello,

just want you to know that I have the same problem on my Huawei P20 Pro. When recording a track the OS keeps killing Locus after about 10 minutes. I never managed to record any complete track. I tried whitelisting Locus on all features I consider related to power saving, which is "Apps > Settings > Special access > Ignore battery optimisation", "Battery > App launch > Manage manually" and "Lock" in the Recent Apps screen. However, no luck.

I really think of returning the phone, just because of this issue. No working Locus makes the phone effectively worthless.

photo
1

Good day Patrick,

sorry to hear about these troubles. Huawei devices are known for this aggressive "sleeping" policy.

Anyway may you please try to enable in latest Locus Map version: settings > GPS & location > Google services assisted location . If this will make any difference ... thank you.

photo
1

Hey Menion,


thanks for the quick response. Unfortunately this option does not help.

At first I thought it worked, after some screen off time Locus was gone from the Notification Area, but after relaunching it immediately resumed recording. But nothing was recorded after Locus has been killed, it just jumped to the new location. I then tried several times with and without the option but it is hard to say if the behavior is any different.

I first had the impression, that with the option enabled Locus is better in resume recording after it has been killed, while without the option enabled it seemed it is more often the case that after Locus is restarted it does not even notice it was recording a track and thus showed no "Track paused" screen and the partial recorded track was lost. But the longer I tried the more it seems to have nothing to do with this option.

Sometimes it records 15 minutes, sometimes it is killed already 30s after I switched off the screen.

So maybe when it was killed right away it just didn't have any points recorded and thus had nothing to resume when relaunched.


Thanks anyway for the help, I really appreciate your work and I know it is not your fault. I have similar problems with other apps, such as the Pebble app, which, however, at least works for some hours before it looses the connection.

photo
1

Hello,

damn ... what Android version you have, is it already Android 8? In app is one optimization that is disabled for Huawei devices because it caused some troubles in history. Anyway, it may start work on new Android 8, so if you are interested, I may prepare the special Locus Map Free version for you for a test. Are you interested?

photo
1

Yes it runs 8.1.0. I'm happy to help testing your special build.

photo
1

Hi Menion,


I have a Huawei Mate 10 Pro, and had the same issues as described by Patrick. Over the past couple of months I have tried all available Huawei tips and tricks to prevent killing background tasks, but without success. Yesterday I tried your tip and enabled "Google Services Assisted Location".

As of that moment I have not had a single problem with Locus. I left it running (and recording) in the background over the past 15 hours and can say it is now stable, thanks very much! Apart from the sometimes too agressive battery saving options I love my Huawei, so I am very glad it is solved.

photo
1

Is it possible that the "Google services assisted locations" does only work when certain Google settings are enabled? I have Google location history and sharing disabled. However, I have High Accuracy mode enabled.

photo
1

Good day Patrick,

if possible, give a try to this Locus Map Free - Beta version: https://nas.asamm.com/share.cgi?ssid=0EEtERj

Some Google history etc. should not affect this alternative location source I hope. @Duco , I'm glad to hear that at least somewhere we succeed :).

photo
1

BTW, I'm using Android 8.0 on my Huawei Mate 10 Pro...

photo
1

Hey Menion, tried your special beta but unfortunately absolutely no change. I tried all combinations of "Ignore battery optimisation", "App launch > manually" and "Google services assistant locations" no success, when waking the device about 10 minutes after switching off the display any trace of a running Locus is gone and with it all traces of recorded tracks. After a new start of Locus there is no "Unfinished track record pending" or anything.

In the last test I get at least the "Unfinished track record pending" notification, but nevertheless the recording is interrupted any few minutes. Here is a screenshot of the altitude chart of the track. Every hour or so I switched the device on, noticed Locus got killed again, restarted it and resumed the recording.

934d3bd849bbaa2c02cf2e8f5c3bd201

As the phone was just lying at the window the accuracy of the altitude measurement was not so good, but one can clearly see how often quick the recording was interrupted.

Thanks, nevertheless, Menion, for trying.

photo
1

Good day Patrick,

thanks for a tests and screenshots. Because your device P20 Pro is quite new with new Android & Huawei modifications, we do not have any experience with it for now. Anyway from your chart is clear that system did not completely kill an application, just put it into "sleep mode". Which is good. I'm sure, there have to be some settings in your device, that affect this behaviour. Maybe check Locus Map settings in your system settings >apps. There should be "Battery" option and under it are some more settings to allow or disallow optimize app etc. Please check it let me know if something will work.

There is too much devices to purchase every one of them to discover some crazy modifications that manufacturers do, so I really hope you will succeed. Thanks!

photo
1

Please don't forget, that I needed something 5 attempts to get this screenshot. Most of the time after re-launching Locus there isn't any track record pending. So I guess in this cases maybe Locus has just been killed and not gracefully been sent to sleep. I'm not sure why sometimes the track can be recovered and sometimes it is simply gone. Maybe it has something to do with the time before switching on the device again, or with the GPS reception. I don't know.

photo
photo
1

Hello,

Just for your information. I'm using a Huawei Mate 10 Pro since 01.2018 with Android 8.0. Locus Pro was working fine till the last update of Huawei in 04.2018 (BLA-L29 8.0.0.129(C432)). I have also tried the suggested settings, but without any success. The app will be exited after about 15min when the screen is off. My wife uses a Huawei P10 Plus, also with Android 8.0, and Locus Map is running fine on this phone.

photo
1

Update:

I've disabled this function (German screenshot; -> manage automatically)

/n9LV1OScoBT1QAAAABJRU5ErkJggg==

After that, I've started a record in the office and it runs over 50 minutes:

/7xHAPnGAgMnAuLwMT57zkGzjFwKgb+Jxs7boHKFYtNAAAAAElFTkSuQmCC

photo
1

@Stefan, this is what I meant with "App launch > manually" above. I'm glad it works for you. Unfortunately it didn't change anything in my case. Just tried it again with and without the "Ignore battery optimisation" option enabled.

photo
1

@freischneider

Really interesting information on the linked sites!

photo
1

@Patrick

Yes, I've read your tips yesterday after posting my first comment.

I use these settings like you: "Apps > Settings > Special access > Ignore battery optimisation", "Battery > App launch > Manage manually"

Yesterday I had enabled this function in the Locus settings: "Google services assisted locations"

Today I've tracked my trip to work successfully without it.

And I use these GPS settings in Locus:

("deactivate if not displayed -> off" and "Track recording" -> on

/zzNeTY3VkgZrsuyrnAvMXHHnssP9Eo5h4SCAQCQ0MgCHlouMVdgUAgEAjUjkDssqgd0sgwEAgEAoGhIRCEPDTc4q5AIBAIBGpHIAi5dkgjw0AgEAgEhoZAEPLQcIu7AoFAIBCoHYEg5NohjQwDgUAgEBgaAkHIQ8Mt7goEAoFAoHYEgpBrhzQyDAQCgUBgaAgEIQ8Nt7grEAgEAoHaEQhCrh3SyDAQCAQCgaEhEIQ8NNzirkAgEAgEakfgfwGovleeHD728QAAAABJRU5ErkJggg==

photo
1

Hello guys,

may anyone who use Beta versions, test just published version 3.30.4.2?

Or I've made public link to our NAS here https://nas.asamm.com/share.cgi?ssid=0qf0UjQ.

I made more depth comparison of old 3.29.2 version and the latest and found one minor difference that may caused this change, so we will see. Thanks!

photo
1

Sry, same as always... After waking my phone from standby after half an hour or so Locus is gone, as is the recorded track.

photo
1

Hello Patrick,

that's bad. We have an unsolvable problem (for now) here ...

photo
1

Yeah, they fixed it! With the new Huawei Firmware CLT-L29 8.1.0.120(C432) the problem is solved. Although the changelog [1] contains nothing related, only Google Patches and camera improvements.


Just made a 30 minute test bike tour without waking my phone and when I arrived home and I couldn't believe my eyes, Locus was still running and the whole track has been recorded, unbelievable :)

For the reference I used Locus Map Pro 3.30.4 with "Google Services Assisted Location" disabled.

Thanks, nevertheless, Menion for your great support. Keep it up.

[1] https://www.huaweiblog.de/software/firmware/firmwareupdates-fuer-huawei-p20-und-p20-pro/ (German)

photo
1

That's good!


It was the same for Huawei P9 5 months ago - solved with new firmware version. It seems that Huawei repeat the same problem again and again.

photo
1

👍👍👍 We hope, the next update doesn't kill it again!

photo
1

Hi guys,

really? These are really good (and interesting) news. If anyone wants to test it and confirm, I may suggest trying the latest Beta version, where was done some more changes that should affect GPS stability.

photo