OruxMaps

Uncategorized Boards => GENERAL => Topic started by: orux on February 24, 2018, 09:11:35 PM

Title: Issues with Android Oreo and/or Huawei devices
Post by: orux on February 24, 2018, 09:11:35 PM
Issues with Android Oreo and/or Huawei devices



I'm receiving some bug reports when recording a track on phones with Oreo and/or Huawei phones with Nougat + the latest update.



The problem is that the app stops recording the route when the user turns off the screen, immediately or after a few minutes. When the user unlocks the display, the app continues receiving location updates.



The app should work fine, although some adjustments are required:



//https://github.com/dirkam/backgroundable-android





USE ALWAYS SETTINGS--SENSORS--GPS-->FUSED LOCATIONS PROVIDER



LAST MINUTE: THERE ARE USERS THAT REPORTS THAT THE APP WORKS FINE IF YOU START THE APP USING THE ORUXMAPS WIDGET.



Please, tell us if it works fine,.







orux
Title: Re: Issues with Android Oreo and/or Huawei devices
Post by: johnnycrow on February 27, 2018, 04:06:25 PM
Hi,

I've beeb using Oruxmaps for years on samsung devices (thank you for your great work creating one of the best apps for gps tracking)



Now I bought a Honor 7x phone, and it looks like I'm having the same well known problems: it loses the gps signal as soon as the screen turns off, so the track is made by straight lines.



The phone, as I said, is a



Honor 7X

Model: BND-L21

Build: BND-L21C432B123

Android: 7.0

EMUI: 5.1





Thank you



J.
Title: Re: Issues with Android Oreo and/or Huawei devices
Post by: orux on March 01, 2018, 11:15:50 PM
Quote from: johnnycrow post_id=12951 time=1519743985 user_id=7330
Hi,

I've beeb using Oruxmaps for years on samsung devices (thank you for your great work creating one of the best apps for gps tracking)



Now I bought a Honor 7x phone, and it looks like I'm having the same well known problems: it loses the gps signal as soon as the screen turns off, so the track is made by straight lines.



The phone, as I said, is a



Honor 7X

Model: BND-L21

Build: BND-L21C432B123

Android: 7.0

EMUI: 5.1





Thank you



J.


Hello,



did you checked that:



--device is not in any power saving mode

--oruxmaps in in protected apps list

--oruxmaps can work after screen is locked (android settings--applications--oruxmaps--baterry



orux
Title: Re: Issues with Android Oreo and/or Huawei devices
Post by: hikingforfun on March 30, 2018, 04:55:31 PM
Hello Orux,



positive feedback: your fixed beta version works fine on

* Huawei GT3

* Huawei P9

No more straight lines!



Thank you very much for your quick response to the problem.



We love to use Oruxmaps!
Title: Re: Issues with Android Oreo and/or Huawei devices
Post by: flyjac on March 30, 2018, 11:46:54 PM
Hi,



I have also the problem with a Honor 5C.

I wanted to try the beta version, but link is dead :(
Title: Re: Issues with Android Oreo and/or Huawei devices
Post by: orux on April 01, 2018, 07:46:43 PM
Quote from: flyjac post_id=13146 time=1522446414 user_id=7408
Hi,



I have also the problem with a Honor 5C.

I wanted to try the beta version, but link is dead :(


Hello;



download the last version, 7.2.11 --> oruxmaps.com







orux
Title: Re: Issues with Android Oreo and/or Huawei devices
Post by: matt on April 03, 2018, 08:10:45 AM
Just a comment from a new Android 8 user:



I got my Xiaomi Mi A1 (Android One) a few weeks ago, updated to 8.0.0 (Security patch level 1. Feb 2018), then installing OruxMaps 7.2.7.

When starting trackrecording, OruxMaps gives me the "Warning! OruxMaps is under Power Saving control... will not work properly in background...".

Well, i ignored it and selected  "LATER!", to see if/when i would see straight lines, caused by not getting GPS position at some time.



But all is OK, no gaps or straight lines. Accurate recording as i was used to it from my old phone.

Tested at 1,5-2,5h bike rides, where i left my phone locked and unattended in my backpack.



In the meantime my OruxMaps is on 7.2.11, phone Security patch level on 1st Mar 2018, and i still happily ignore the OruxMaps warning when recording.



Matt
Title: Re: Issues with Android Oreo and/or Huawei devices
Post by: heppu99 on April 04, 2018, 12:25:01 PM
I had this problem with Honor 8, and installing the new update 7.2.11 and selecting...



"After installing, go to Global settings-->Sensors-->GPS-->FUSED LOCATIONS PROVIDER (clicked)."



...works fine! Thank You!
Title: Re: Issues with Android Oreo and/or Huawei devices
Post by: vigil on May 03, 2018, 11:54:09 PM
Same issue with Huawei P20 pro with OREO with Android 8.1 and EMUI 8.1.
Title: Re: Issues with Android Oreo and/or Huawei devices
Post by: vigil on May 04, 2018, 12:00:27 AM
I found on *forum.xda-developers.com* that the problem is caused by Phone Manager (Huawei) which freezes the process when the screen is off. The linux feature *cgroup freezer* is used by Phone Manager to pause processing.
Title: Re: Issues with Android Oreo and/or Huawei devices
Post by: orux on May 04, 2018, 09:25:57 PM
Quote from: vigil post_id=13487 time=1525384827 user_id=7563
I found on *forum.xda-developers.com* that the problem is caused by Phone Manager (Huawei) which freezes the process when the screen is off. The linux feature *cgroup freezer* is used by Phone Manager to pause processing.


Hello;



Huawei uses its own power management systems, with non-standard and non-public policies. This is the problem.



Have you tested last huawei/honor version? -->



remember that you must exclude oruxmaps from apps that are closed after turn off the screen, and from apps closed when using power intensive.





orux
Title: Re: Issues with Android Oreo and/or Huawei devices
Post by: vigil on May 05, 2018, 12:11:48 PM
Today, recommended version 7.2.13 was installed on Huawei P20 Pro but the problem persists. The background GPS recording freezes after a while (some couples of minutes) and continues again when screen gets on. All necessary or recommended battery power settings in phone configuration were set up and re-checked.



I am so pissed off that I am going to return otherwise great phone. Luckily, I am with 2 weeks warranty. Orux accompanies me a few years on my trips to woods.
Title: Re: Issues with Android Oreo and/or Huawei devices
Post by: orux on May 05, 2018, 12:15:28 PM
Quote from: vigil post_id=13492 time=1525515108 user_id=7563
Today, recommended version 7.2.13 was installed on Huawei P20 Pro but the problem persists. The background GPS recording freezes after a while (some couples of minutes) and continues again when screen gets on. All necessary or recommended battery power settings in phone configuration were set up and re-checked.



I am so pissed off that I am going to return otherwise great phone. Luckily, I am with 2 weeks warranty. Orux accompanies me a few years on my trips to woods.


Hello!



Could you share a track in gpx format?



orux
Title: Re: Issues with Android Oreo and/or Huawei devices
Post by: vigil on May 05, 2018, 03:26:13 PM
Sent as private message
Title: Re: Issues with Android Oreo and/or Huawei devices
Post by: agi62 on May 06, 2018, 06:20:55 PM
Hi to everybody,

I would want to purchase a Huawei P9 Lite or a P8 Lite 2017 but before I would want to ask if the problem of the GPS has been resolved.

Thanks.
Title: Re: Issues with Android Oreo and/or Huawei devices
Post by: olwaldi on May 07, 2018, 04:51:55 PM
Hello!



I just wanted to report that oruxmap-7.2.13 is running fine on my Huawei Mate9 MHA-L29 8.0.0.366(C432) with Oreo and latest security updates. I have engaged the new oruxmaps swith FUSED LOCATIONS PROVIDER. I have disabled any power optimisation and I have allowed oruxmaps to ignore automatic power management. But I have enabled to be informed about apps with "excessive" power consumption. During my hike yesterday (~8h) I got a signal roughly all 2h probabely due to that. If I'm hiking typically two apps are actice, oruxmaps and camera. Sometimes I've a short look on current status of my hike, then I switch off the display without problems.



Something I'm missing (maybe a functionality being removed within 7.2.x?) is the option to share a track e.g. by email. I'd expect the share symbol within the button bar of the track list, but I can only do a GPX export. Even after configuration of my email address within settings and re-exporting my track there was no menu to send my track. Not a big issue, because I could share my exported track using the system's file explorer.





Regards, Michael
Title: Re: Issues with Android Oreo and/or Huawei devices
Post by: orux on May 07, 2018, 08:32:51 PM
Quote from: olwaldi post_id=13504 time=1525704715 user_id=7027
Hello!



I just wanted to report that oruxmap-7.2.13 is running fine on my Huawei Mate9 MHA-L29 8.0.0.366(C432) with Oreo and latest security updates. I have engaged the new oruxmaps swith FUSED LOCATIONS PROVIDER. I have disabled any power optimisation and I have allowed oruxmaps to ignore automatic power management. But I have enabled to be informed about apps with "excessive" power consumption. During my hike yesterday (~8h) I got a signal roughly all 2h probabely due to that. If I'm hiking typically two apps are actice, oruxmaps and camera. Sometimes I've a short look on current status of my hike, then I switch off the display without problems.



Something I'm missing (maybe a functionality being removed within 7.2.x?) is the option to share a track e.g. by email. I'd expect the share symbol within the button bar of the track list, but I can only do a GPX export. Even after configuration of my email address within settings and re-exporting my track there was no menu to send my track. Not a big issue, because I could share my exported track using the system's file explorer.





Regards, Michael


Hello;



could you tell me if it is the 7.2.13 version from the web site (the normal one, or the special for Huawei devices) or the google play donate version?



you can share a track if you click the track in the track list, then properties, then the 'share' button,









orux
Title: Re: Issues with Android Oreo and/or Huawei devices
Post by: kischu on May 08, 2018, 08:01:04 PM
If sometimes, e.g. every 20 minutes or so, (during your hike) you turn on the screen, your test is not of much use - sorry to say so.



Only if you keep your screen turned off for let's say 45 minutes or more, it is plausible to conclude that Oruxmaps works alright and would not give any straight lines.



Of course, if your normal usage pattern is to look at the screen every few minutes, then Oruxmaps may really be useful to you - but not as a test for other people who keep the screen off during the whole hike, for instance.
Title: Re: Issues with Android Oreo and/or Huawei devices
Post by: orux on May 10, 2018, 10:53:14 PM
I'm a little tired of this problem, and Huawei does not want to help...



In the first post of the thread, I have added a link to 7.2.14 version that works well on my two test devices,



honor 7x with oreo

huawei p8 lite 2017 with nougat.



Please, test that version with the appropriate android/app settings,





orux
Title: Re: Issues with Android Oreo and/or Huawei devices
Post by: kischu on May 11, 2018, 11:41:58 AM
Is this version 7.2.14  more recent (improved) than the test version you sent me?



I noticed, there is a difference in classes.dex.





I already told you, that your test version 7.2.14 T worked alright so far (my latest walk was about one and a half hours long, and Oruxmaps worked well, but also that it seems to me that battery consumption has considerably risen (of all the various GPS apps that I ran in parallel, Oruxmaps is number 1 now in power consumption, while before it was rather runtastic). The battery issue is not my main problem, if only the straight lines no longer appear, I am quite satisfied.
Title: Re: Issues with Android Oreo and/or Huawei devices
Post by: orux on May 11, 2018, 05:12:56 PM
Quote from: kischu post_id=13524 time=1526031718 user_id=7512
Is this version 7.2.14  more recent (improved) than the test version you sent me?



I noticed, there is a difference in classes.dex.





I already told you, that your test version 7.2.14 T worked alright so far (my latest walk was about one and a half hours long, and Oruxmaps worked well, but also that it seems to me that battery consumption has considerably risen (of all the various GPS apps that I ran in parallel, Oruxmaps is number 1 now in power consumption, while before it was rather runtastic). The battery issue is not my main problem, if only the straight lines no longer appear, I am quite satisfied.


Hello;



there is a small difference; could you test that version?



There should be no changes in energy consumption; keep in mind that the value offered by the device is very approximate, you can not calculate it at 100%.



The app continues to do basically the same, but without the need for additional energy consumption.



orux
Title: Re: Issues with Android Oreo and/or Huawei devices
Post by: stormtroopa on May 13, 2018, 11:44:50 AM
I own a P10 Lite with latest stock FW. Android 7 / Emui 5.1.1. Alas the streight lines doesn't go awai with orux 7.2.13 and all the proposed settings.

Anything I can do to narrow down the problem?
Title: Re: Issues with Android Oreo and/or Huawei devices
Post by: kischu on May 13, 2018, 12:26:15 PM
Version 7.2.14 worked alright during my walk yesterday (nearly one and a half hours). As inaccurate as Android may be showing battery consumption, the pattern appears to be reproducible - Oruxmaps draws more battery power than any other GPS tracking tool running at the same time (except runtastic sometimes), unfortunately.



I guess, I will check that older version 7.2.12b again - maybe it was just that 0 seconds time interval setting that I had changed to 2 seconds that had given me straight lines - battery consumption was lower with that version, if I am not wrong.
Title: Re: Issues with Android Oreo and/or Huawei devices
Post by: orux on May 13, 2018, 04:08:23 PM
Quote from: stormtroopa post_id=13537 time=1526204690 user_id=6692
I own a P10 Lite with latest stock FW. Android 7 / Emui 5.1.1. Alas the streight lines doesn't go awai with orux 7.2.13 and all the proposed settings.

Anything I can do to narrow down the problem?


Hello,



you can test the 7.2.14 version that can find in the first post of this thread,





orux
Title: Re: Issues with Android Oreo and/or Huawei devices
Post by: orux on May 13, 2018, 04:20:24 PM
Quote from: kischu post_id=13538 time=1526207175 user_id=7512
Version 7.2.14 worked alright during my walk yesterday (nearly one and a half hours). As inaccurate as Android may be showing battery consumption, the pattern appears to be reproducible - Oruxmaps draws more battery power than any other GPS tracking tool running at the same time (except runtastic sometimes), unfortunately.



I guess, I will check that older version 7.2.12b again - maybe it was just that 0 seconds time interval setting that I had changed to 2 seconds that had given me straight lines - battery consumption was lower with that version if I am not wrong.




That setting is the main one to save battery.



Depending on the phone, after 2 seconds, Android can decide to turn off the GPS between measurements. This saves a lot of battery. But it has a drawback; On some phones, the hot start of the GPS produces low-quality location fixes. Interestingly, this did not happen in the old androids (Android beginnings).



You have to do tests. With a value of 8 seconds or more, the power saving can be very important.



But with the 'fused locations' + Huawei devices setting, I do not know what the behavior is, I do not know if the device can even stop the app. In no phone there were problems with these settings; in the Huawei, I do not know.



The best combination of GPS settings from the beginning was:

2-4-8 seconds for minimum time,

10-20 mts. for minimum distance,

20-50 mts. for accuracy for position fix.





orux
Title: Re: Issues with Android Oreo and/or Huawei devices
Post by: kischu on May 13, 2018, 06:41:06 PM
I should add that Oruxmaps was  - again - the most accurate tracker of all the tools that ran in parallel.



I carefully measured yesterday's hike in basecamp and qmapshack, and the track length registered by Oruxmaps was spot on - no other GPS tool came that close (viewranger was good, too).
Title: Re: Issues with Android Oreo and/or Huawei devices
Post by: stormtroopa on May 14, 2018, 08:08:03 AM
Okay, the 14 works alright. At least what I can say after testing it briefly.

Cannot tell anything about power consumption yet.

Thx for the quick fixes.

Now I don't have to get another phone ;)
Title: Re: Issues with Android Oreo and/or Huawei devices
Post by: pier on May 16, 2018, 09:30:20 PM
Hi,

Today I have tried the version 2.7.14 Donate but also this app stops the gps recording when the screen is turned off.

I have followed the setting tips but nothing changes.

--device is not in any power saving mode

--oruxmaps in in protected apps list

--oruxmaps can work after screen is locked

--FUSED LOCATIONS PROVIDER (clicked)



I am using:

HUAWEI P8 LITE 2017

Model: PRA-LX1

Build: PRA-LX1C02B158

Android: 7.0

EMUI: 5.0.2



Someone can help me?

Thank you

Pier
Title: Re: Issues with Android Oreo and/or Huawei devices
Post by: olwaldi on May 20, 2018, 09:45:09 AM
Quote from: orux post_id=13505 time=1525717971 user_id=2
Quote from: olwaldi post_id=13504 time=1525704715 user_id=7027
Hello!



I just wanted to report that oruxmap-7.2.13 is running fine on my Huawei Mate9 MHA-L29 8.0.0.366(C432) with Oreo and latest security updates. I have engaged the new oruxmaps swith FUSED LOCATIONS PROVIDER. I have disabled any power optimisation and I have allowed oruxmaps to ignore automatic power management. But I have enabled to be informed about apps with "excessive" power consumption. During my hike yesterday (~8h) I got a signal roughly all 2h probabely due to that. If I'm hiking typically two apps are actice, oruxmaps and camera. Sometimes I've a short look on current status of my hike, then I switch off the display without problems.



Something I'm missing (maybe a functionality being removed within 7.2.x?) is the option to share a track e.g. by email. I'd expect the share symbol within the button bar of the track list, but I can only do a GPX export. Even after configuration of my email address within settings and re-exporting my track there was no menu to send my track. Not a big issue, because I could share my exported track using the system's file explorer.





Regards, Michael


Hello;



could you tell me if it is the 7.2.13 version from the web site (the normal one, or the special for Huawei devices) or the google play donate version?



you can share a track if you click the track in the track list, then properties, then the 'share' button,









orux

Sorry for my late answer, I'm using the web version, not your special version.

And thanks for your hint to locate the share button. I did not try to scroll down within properties menu. Now this works as expected!



Regards, Michael
Title: Re: Issues with Android Oreo and/or Huawei devices
Post by: alli.galli on May 20, 2018, 07:12:33 PM
I have the same issue with the recording track stopping suddenly after some times (30minutes) Oruxmaps is in background.

I had experienced this problem from Oreo 8.0 Update.



I have tried the version 2.7.14  but also this app stops the gps recording when the screen is turned off.

I have followed the setting tips but nothing changes.

--device is not in any power saving mode

--oruxmaps in in protected apps list

--oruxmaps can work after screen is locked

--FUSED LOCATIONS PROVIDER (clicked)





Nokia N6 with Oreo 8.1
Title: Re: Issues with Android Oreo and/or Huawei devices
Post by: peterpa on May 22, 2018, 09:40:46 AM
With my Honor 5c and most current SW I noted some curious behaviour. If starting recording via the widget every few minutes some points are stored. But as soon as I show the map the background recording no longer works.

Btw. background processing on that device in general will be stopped even if all recommended settings are applied. But it seems to work if there is a widget involved.
Title: Re: Issues with Android Oreo and/or Huawei devices
Post by: alli.galli on May 30, 2018, 04:41:35 PM
The reason why the track is stopped is the following message received by Android (oreo 8.1): "App Orux Map has been interrupted" (translated by the orignal Language)

NO other foreground applications are running at the same time.

Of course I don't know why, but it seems  related to Orux and not to Android.



Phone: NOkia N6

OS: Android 8.1

Orux 7.14 with all settings suggested in previous posts.
Title: Re: Issues with Android Oreo and/or Huawei devices
Post by: alli.galli on May 31, 2018, 10:09:26 AM
I'm really to sorry to leave Orux for this issue, after years of pleasant use. Now, I'm trying Locus.
Title: Re: Issues with Android Oreo and/or Huawei devices
Post by: Radim on June 11, 2018, 01:49:50 PM
Hello,

I'm sending an answer from Honor Support:

"The app is not yet fully compatible with Android version 8.1, so I'd also encourage you to contact the developers of these apps to make sure they're already compatible with Android 8.1."



I have Honor 10 / Oreo 8.1. Oruxmaps in the background record for about 4 minutes.

Sports-Tracker.com is recording in the background without any problems. So the solution exists. The problem will probably be in Orux.
Title: Re: Issues with Android Oreo and/or Huawei devices
Post by: peterpa on June 11, 2018, 03:07:47 PM
Unfortunately for recording tracks I had to switch to another app. For me "Easy GPS logger" works fine on my Honor 5c. Possibly some ideas from that app may be adopted to Orux, too.
Title: Re: Issues with Android Oreo and/or Huawei devices
Post by: luchana on June 12, 2018, 11:23:16 AM
Felicidades por vuestro programa.

Veo que muy es usado internacionalmente

Conozco oruxmap desde hace varios  años

Usaba otro programa para tracs, y seguí con el porque  dada mi edad me resultaba difícil cambiar de programa. Tenia un motoX android 6 y mis tracks iban perfectamente. Pero empezaba a fallar la batería y busque otro móvil potente no caro y compré un huawei P10 e instale android 8 y aquí empezaron mis problemas. He probado gpx loger, locus, compe, ing, y todos dejan de grabar cuando se apaga la pantalla. He probado todas las configuraciones habidas y por haber y sigo si poder grabar tracks con la pantalla apagada. He comprado el unico movil que no me sirve para lo que mas uso: grabar tracks.

Voy a probar la version que aconsejais .oruxmaps.com/OruxMaps7.2.14.apk a ver si funciona y se me acaban los problemas.

Lo tengo configurado como 0 metros y 0 segundos, omision de optimizador de bateria, y inicio de aplicaciones gestionar manualmente

Cuando viajo me gusta ver por los pueblos que paso y para que no se apague la pantalla uso la app "manten la pantalla encendida"

Un saludo y gracias por seguir ahí

Luchana (baracaldo)



Sigue sin funcionar
Title: Re: Issues with Android Oreo and/or Huawei devices
Post by: Radim on June 12, 2018, 03:01:43 PM
Bingo!

It looks like background recording works when it is started from Widget.

Honor 10 / Oreo 8.1
Title: Re: Issues with Android Oreo and/or Huawei devices
Post by: Havoc on June 16, 2018, 11:28:14 AM
Thanks for the help. Using the widget helped me also to solve the problem with closing orux tracking in the background. Mobile phone is huawei mate 10 pro.
Title: Re: Issues with Android Oreo and/or Huawei devices
Post by: olwaldi on June 16, 2018, 08:12:23 PM
Quote from: olwaldi post_id=13504 time=1525704715 user_id=7027
Hello!



I just wanted to report that oruxmap-7.2.13 is running fine on my Huawei Mate9 MHA-L29 8.0.0.366(C432) with Oreo and latest security updates. I have engaged the new oruxmaps swith FUSED LOCATIONS PROVIDER. I have disabled any power optimisation and I have allowed oruxmaps to ignore automatic power management. But I have enabled to be informed about apps with "excessive" power consumption. During my hike yesterday (~8h) I got a signal roughly all 2h probabely due to that. If I'm hiking typically two apps are actice, oruxmaps and camera. Sometimes I've a short look on current status of my hike, then I switch off the display without problems.



Something I'm missing (maybe a functionality being removed within 7.2.x?) is the option to share a track e.g. by email. I'd expect the share symbol within the button bar of the track list, but I can only do a GPX export. Even after configuration of my email address within settings and re-exporting my track there was no menu to send my track. Not a big issue, because I could share my exported track using the system's file explorer.





Regards, Michael

Today I've received a new update for my Huawei mate 9 with may 2018 security fxes, and sadly, now GPS logging always stops after 30minutes of logging. To be more precise, I press the power button to switch off the screen. When I switch it on after a longer timespan, orux is no longer running, and GPS logging is off.



There was no change but that OS upgrade. I have validated that all power saving options are off and that FUSED LOCATION PROVIDER was on.



Now I've installed oruxmaps-7.2.14. I'll report if that will solve the issue.





Regards, Michael
Title: Re: Issues with Android Oreo and/or Huawei devices
Post by: Danniella on June 17, 2018, 06:57:58 PM
Same issue with standard Huawei P20 with OREO and Android 8.1
Title: Re: Issues with Android Oreo and/or Huawei devices
Post by: fgb on June 27, 2018, 06:06:43 PM
I have almost the same problem that olwaldi reported on June 16, 2018:

«GPS logging always stops after 30minutes of logging. To be more precise, I press the power button to switch off the screen. When I switch it on after a longer timespan, orux is no longer running, and GPS logging is off»

The only difference being that logging stops after ca. 7 minutes



Phone: Honor 9

Android: 8.0.0 (Upgraded June 26, 2018)

Oruxmaps v.7.2.14 Donate (installed June 26, 2018 from Play Store)

Android-Settings for Oruxmaps:

•   Keep app running in background

•   Ignore battery optomisation

Location Mode: Use GPS, WiFi and mobile networks

(I have not been able to activate FUSED LOCATION PROVIDER as I could not find this setting using the search function for android settings)



I would be very greatful for a solution as I have used Oruxmaps for several years and like it very much.



Regards Fritz
Title: Re: Issues with Android Oreo and/or Huawei devices
Post by: fgb on June 29, 2018, 12:48:21 PM
Hello



Under https://www.xda-developers.com/android-oreo-background-location-whitelist/  I found the following statement:



"The best thing an average user can do to keep their favorite apps that require constant GPS location up and running is to contact the developer and kindly ask them to abide by Android Oreo's new requirements."



My questions to Orux are therefore:

1. Do you intend to adapt Oruxmaps to Oreo's new requirements?

2. How long woud it probably take you?

3. Would this probably solve my problem posted June 27, 2018?



Thanks and kind regards from Switzerland

Fritz
Title: Re: Issues with Android Oreo and/or Huawei devices
Post by: peterpa on June 29, 2018, 01:47:25 PM
Hello,

@Fritz: Please check the download page how to activate the fused location provider in Orux.



With that provider it works much better for me. But unfortunately the system stops Orux after some time. For other apps this could be avoided by a simple widget. Possibly something is not optimal with the Orux widget that doesn't help as expected.



Peter
Title: Re: Issues with Android Oreo and/or Huawei devices
Post by: peterhu318 on June 29, 2018, 03:35:38 PM
Hi orux,

    I have a Huawei Honer 9 handphone, if I use orux 5.5.22, I have to place orux on front(can off screen), if on background, no worked(direct online). If I use orux 7.2.14, all is ok! no any problem, thx your hard work.



  BTW, I need a new function, would you pls add it?

   When I am treking outddor, I usualy download other people's track for direct my treking. from one point to another point, new version can display distance, that's very good. but I wish thast I can calcue the time from one point to another point,so I can plan the time from here to there, rmaps ext app can do that. I wish that orux have this function.





Peter Hu(from china)



Email: peterhu318@126.com
Title: Re: Issues with Android Oreo and/or Huawei devices
Post by: orux on June 30, 2018, 01:44:11 PM
Quote from: fgb post_id=13759 time=1530269301 user_id=7711
Hello



Under https://www.xda-developers.com/android-oreo-background-location-whitelist/  I found the following statement:



"The best thing an average user can do to keep their favorite apps that require constant GPS location up and running is to contact the developer and kindly ask them to abide by Android Oreo's new requirements."



My questions to Orux are therefore:

1. Do you intend to adapt Oruxmaps to Oreo's new requirements?

2. How long woud it probably take you?

3. Would this probably solve my problem posted June 27, 2018?



Thanks and kind regards from Switzerland

Fritz


Hello;



OruxMaps is adapted to android Oreo; it works fine on most of Oreo devices, One Plus, Samsung, Xiaomi,... even some Huawei, after some huawei updates.



The problem is that huawei is not adapted to android standard, it has introduced its own power management systems that are not standard, and very complex. They kill some processes, and do not provide information about why, when and how avoid they be killed! They do not answer developers questions!



The fuse locations provider is an oruxmaps setting-->sensors-->GPS.





orux
Title: Re: Issues with Android Oreo and/or Huawei devices
Post by: orux on June 30, 2018, 01:48:53 PM
Quote from: peterhu318 post_id=13761 time=1530279338 user_id=7718
Hi orux,

    I have a Huawei Honer 9 handphone, if I use orux 5.5.22, I have to place orux on front(can off screen), if on background, no worked(direct online). If I use orux 7.2.14, all is ok! no any problem, thx your hard work.



  BTW, I need a new function, would you pls add it?

   When I am treking outddor, I usualy download other people's track for direct my treking. from one point to another point, new version can display distance, that's very good. but I wish thast I can calcue the time from one point to another point,so I can plan the time from here to there, rmaps ext app can do that. I wish that orux have this function.





Peter Hu(from china)



Email: peterhu318@126.com




It is easy to introduce the time between to points in the function that calculates the distance between two track points.



orux
Title: Re: Issues with Android Oreo and/or Huawei devices
Post by: Brandy on July 01, 2018, 06:58:04 PM
Hallo

My phone in an Huawei Mate 10 pro. Today I have installed the last apk 7,2,14 and of course with the FUSED LOCATIONS PROVIDER cheked. But the problem remains. After few minutes the recording stops. When the phone is turned on again it will draw a straight line to the present position. The time while Oruxmap is STILL working in background is not always the same. It depends on how often you request GPS position. With 2 seconds (recommended setting) this time is much less then with 30 seconds. With 30 seconds Oruxmap in background works for more than 10 minutes then it stops.



phone BLA-L09

EMUI 8.0.0



Battery management and white list are set.

Thanks for this great app.



Brandy
Title: Re: Issues with Android Oreo and/or Huawei devices
Post by: olwaldi on July 02, 2018, 09:39:36 AM
I'm using oruxmaps on my Huawei mate 9, and regularly I have trouble with interrupted GPS logs. orux regularly delivers updated versions from oruxmaps (thanks a lot for your effort!!), but then Huawei also updates its OS, and due to Huawei's tough powermanagement, oruxmaps is killed during GPS logging. Just on last saturday (30th of june) I have received a fresh OS from Huawei (MHA-L29 8.0.0.369(C332), and again oruxmaps fails logging, now after ~15min of background logging.



But some times ago there was a hint from some forum member (in espanol - I did not understand everything). He suggested to use oruxmap's widget to do GPS logging. I tried that yesterday - I have placed oruxmap's widget onto some of my screens - and to my surprise that seems to convince Huawei to do proper GPS logging. I did NOT use the widget at all - it's only on my second screen.



Neverrtheless, I have disabled any generic power saving actions from Huawei, oruxmaps is set to "do manually controlled power savings", and FUSED LOCATIONS PROVIDER is engaged.

I do have 2 other (non-GPS apps) for music playback (neutron and audials) - also both set to manual controlled power savings - which both work as long as I want, even with disabled screen (my default if listening to music).





Hopefully using oruxmap's widget might be a workaround to get oruxmaps running uninterrupted on Huawei devices.





Regards, Michael
Title: Re: Issues with Android Oreo and/or Huawei devices
Post by: orux on July 02, 2018, 04:34:18 PM
Quote from: olwaldi post_id=13767 time=1530517176 user_id=7027
I'm using oruxmaps on my Huawei mate 9, and regularly I have trouble with interrupted GPS logs. orux regularly delivers updated versions from oruxmaps (thanks a lot for your effort!!), but then Huawei also updates its OS, and due to Huawei's tough powermanagement, oruxmaps is killed during GPS logging. Just on last saturday (30th of june) I have received a fresh OS from Huawei (MHA-L29 8.0.0.369(C332), and again oruxmaps fails logging, now after ~15min of background logging.



But some times ago there was a hint from some forum member (in espanol - I did not understand everything). He suggested to use oruxmap's widget to do GPS logging. I tried that yesterday - I have placed oruxmap's widget onto some of my screens - and to my surprise that seems to convince Huawei to do proper GPS logging. I did NOT use the widget at all - it's only on my second screen.



Neverrtheless, I have disabled any generic power saving actions from Huawei, oruxmaps is set to "do manually controlled power savings", and FUSED LOCATIONS PROVIDER is engaged.

I do have 2 other (non-GPS apps) for music playback (neutron and audials) - also both set to manual controlled power savings - which both work as long as I want, even with disabled screen (my default if listening to music).





Hopefully using oruxmap's widget might be a workaround to get oruxmaps running uninterrupted on Huawei devices.





Regards, Michael




Hello!



Thanks for the hints,



It's very strange; the app does not do anything different if it starts recording in one way or another.



But since it is not known what criteria Huawei uses to stop the apps, everything is possible.



The latest beta includes subtle changes in the way you start recording. If you can try it ...  http://oruxmaps.com/foro/viewtopic.php?f=4&t=4894&p=13187#p13187



orux
Title: Re: Issues with Android Oreo and/or Huawei devices
Post by: peterpa on July 03, 2018, 10:46:28 PM
Hi,

unfortunately Huawai doesn't explain those dependencies, but probably existance of a connected widget seems to help that the app is not killed. I have a small app written that works that way.



With my Honor 5c I also noted that allowing notifications for Orux on the lock screen via system settings may help.



Peter
Title: Re: Issues with Android Oreo and/or Huawei devices
Post by: fgb on July 04, 2018, 05:44:55 PM
Hi



With the Android-Settings for Oruxmaps "Keep app running in background" and "Ignore battery optomisation" and choosing "FUSED LOCATION PROVIDER" in Orux, track recording stopped still after a few minutes. Then I put the widget on one of my screens as olwaldi wrote on Mon Jul 02, 2018 7:39 am. Thereafter also with my device (Honor 9, Android 8.0.0, Oruxmaps v.7.2.14)  track recording worked in my one-hour test perfectly.



Thanks to olwaldi for the tip and to Orux for the great app



Regards, Fritz
Title: Re: Issues with Android Oreo and/or Huawei devices
Post by: chironaut on July 05, 2018, 08:22:46 PM
Hi everybody,



I think, this Huawei-thing is making orux crazy. Very sorry for that. But I really like Oruxmaps a lot more than it's competitors!



So, when I switched from the P9 lite running Android 7 to my new P10 with Android I was hoping, that it will work.



Whatever I did, it failed. After a random time, the Huawei Power Management shuts oruxmaps down - using older and current versions, using and not using Fused Locations provider, the huawei bug checkbox (.12beta), using automatic starting of the programs, manuel starting, allowing "ignore battery optimization...



Today I tested the widget-on-the-Homescreen-thing by olwaldi - Well, recording for hours with no straight lines.  :shock:



Currently I am running my P10 with Android 8.0.0, EMUI 8.0.0 (VTR-L09 8.0.0.379(C02)

Using the current oruxmaps Donate Version .14

"ignore battery optimization"  --> allowed

"battery" - "start" - "manage automatically" (sorry, I don't know the real menu name, as I am using the german version)

"Oruxmaps widget" placed on the homescreen, it doesn' matter, on which page it is. I don't even have to start the app via widget. It only has to be there...  :?



Maybe this information detected by olwaldi helps to improve oruxmaps to work without the widget?

Although it is an easy and very acceptable workaround.  :mrgreen:



Br

Chironaut
Title: Re: Issues with Android Oreo and/or Huawei devices
Post by: CHUCHI on July 13, 2018, 02:50:54 PM
Tengo un Huawei mate 10 y no había manera de que no se parase el oruxmaps hasta que me encontré con este foro, usaba la versión de pago de play store y no me hacía bien los tracks, le he instalado la versión de la web y activando en los ajustes lo que aquí habéis mencionado del proveedor de ubicaciones fusionado y poniendo el widget de oruxmaps me ha hecho una ruta completa sin cortes.

Enhorabuena por la aplicación y por el trabajo bien hecho, gracias.

Tengo Oreo con EMUI 8.0.0 ALP-L09 8.0.0.133(C40)

Un saludo
Title: Re: Issues with Android Oreo and/or Huawei devices
Post by: olwaldi on July 15, 2018, 04:53:07 PM
Quote from: orux post_id=13769 time=1530542058 user_id=2
Quote from: olwaldi post_id=13767 time=1530517176 user_id=7027
I'm using oruxmaps on my Huawei mate 9, and regularly I have trouble with interrupted GPS logs. orux regularly delivers updated versions from oruxmaps (thanks a lot for your effort!!), but then Huawei also updates its OS, and due to Huawei's tough powermanagement, oruxmaps is killed during GPS logging. Just on last saturday (30th of june) I have received a fresh OS from Huawei (MHA-L29 8.0.0.369(C332), and again oruxmaps fails logging, now after ~15min of background logging.



But some times ago there was a hint from some forum member (in espanol - I did not understand everything). He suggested to use oruxmap's widget to do GPS logging. I tried that yesterday - I have placed oruxmap's widget onto some of my screens - and to my surprise that seems to convince Huawei to do proper GPS logging. I did NOT use the widget at all - it's only on my second screen.



Neverrtheless, I have disabled any generic power saving actions from Huawei, oruxmaps is set to "do manually controlled power savings", and FUSED LOCATIONS PROVIDER is engaged.

I do have 2 other (non-GPS apps) for music playback (neutron and audials) - also both set to manual controlled power savings - which both work as long as I want, even with disabled screen (my default if listening to music).





Hopefully using oruxmap's widget might be a workaround to get oruxmaps running uninterrupted on Huawei devices.





Regards, Michael




Hello!



Thanks for the hints,



It's very strange; the app does not do anything different if it starts recording in one way or another.



But since it is not known what criteria Huawei uses to stop the apps, everything is possible.



The latest beta includes subtle changes in the way you start recording. If you can try it ...  http://oruxmaps.com/foro/viewtopic.php?f=4&t=4894&p=13187#p13187



orux


Hello!



Today I have installed the beta on my Huawei Mate 9. First of all I was surprised that all my settings seemed to be gone - but you do safe development, the beta versions are separate Android apps. I reactivated the important ones (FUSE GPS LOCATOR, enerrgy management), and I deleted the widget of oruxmaps. Since I had no plan for a "real" hike, I did a "dry" run, i.e. I started logging indoors at home (BTW, Huawei even gets a good fix indoors!!!). I did not reinstall my offline maps, instead I've used the online map (using WLAN). Sadly, there is no improvement. I did the following: Start logging, keep oruxmap on the screeen, and switch the screen off. After 30min or so, if I unlock the screen with my fingerprint, the standard first screen is displayed, no oruxmaps any more. If I now start oruxmaps beta, it asks to continue tracking. As an additional test I added the widget of oruxmaps beta onto my second screen and repeated the same actions. And voila, oruxmaps worked continuously for at least 1,5h. Now I reverted back to the original installation with its corresponding widget.



To conclude: I assume that there are two problems betweeen oruxmaps and Huawei devices:

1. Loss of GPS receiverr - for my Huawei mate 9 resolved by the new FUSE GPS LOCATOR option.

2. Stop of the application oruxmaps after 15..30min without interaction - workaround is to put the widget onto some screen. Beware, I even do not use the widget. I use oruxmaps directly without widget.



If you have any new beta to resolve problem 2, I'll give it a try on my Huawei device. But I will be on holidays for the next 2 weeks (without Internet access), thus it might take some time til I can continue to experiment with Huawei options for oruxmaps.





Regards,

Michael
Title: Re: Issues with Android Oreo and/or Huawei devices
Post by: cxfahrer on July 19, 2018, 04:11:10 PM
I came here from the Strava Support Forum. Huawei Nova EMUI 5.0.3 Android 7.



Until now, everything I tried failed. I deleted all Huawei Apps I could find, and stopped all those other Huawei Apps that one can not delete. Did not change anything!



The best I got was 2:55 hrs with Orux when driving in my car. But the next day using Strava I only got 15 minutes. Same with Googlemaps, stopped talking to me after about 1 hr with the screen off (with screen on all Apps work fine for hours!!).

You never know before, when the tracking will stop. It may be 15 minutes or 3 hrs. Never longer!



There is no solution but to buy another non-Huawei phone!
Title: Re: Issues with Android Oreo and/or Huawei devices
Post by: orux on July 26, 2018, 04:58:20 PM
Quote from: cxfahrer post_id=13856 time=1532009470 user_id=7777
I came here from the Strava Support Forum. Huawei Nova EMUI 5.0.3 Android 7.



Until now, everything I tried failed. I deleted all Huawei Apps I could find, and stopped all those other Huawei Apps that one can not delete. Did not change anything!



The best I got was 2:55 hrs with Orux when driving in my car. But the next day using Strava I only got 15 minutes. Same with Googlemaps, stopped talking to me after about 1 hr with the screen off (with screen on all Apps work fine for hours!!).

You never know before, when the tracking will stop. It may be 15 minutes or 3 hrs. Never longer!



There is no solution but to buy another non-Huawei phone!


I only can say that it is a Huawei problem. More examples:



https://downloadchain.com/vlc-can-no-longer-be-installed-on-huawei-phones/



orux
Title: Re: Issues with Android Oreo and/or Huawei devices
Post by: orux on July 27, 2018, 04:16:37 PM
I don't know if this can be applied to Huawei devices:



http://www.oruxmaps.com/foro/viewtopic.php?f=3&t=4527&start=90#p13915





orux
Title: Re: Issues with Android Oreo and/or Huawei devices
Post by: kriton on August 11, 2018, 03:11:40 PM
I have been using the application for a few years on a samsung device without any problems.

I am now on the honor 9 with emui 8.0.0.

I tried all the solutions proposed here without success.

The gps stops recording a few minutes after the screen is closed...
Title: Re: Issues with Android Oreo and/or Huawei devices
Post by: Gartenzwerg17 on August 12, 2018, 08:44:33 AM
I experience the same problem already reported by user olwaldi (post #39):



Logging stops 30 minutes after the screen is turned off. When turning the screen back on the app is no longer running.



I use oruxmaps v. 7.3.2 donate with "fused location provider" setting activated.

In android settings I deactivated any available energy saving setting.

I tried the "widget trick" mentioned in some posts, but it did not change anything.



My phone:

Nokia 6.1

Android 8.1.0





The energy saving mechanisms in new android versions seem to be quite aggressive. I hope you find a way round them...



Regards



Gunnar
Title: Re: Issues with Android Oreo and/or Huawei devices
Post by: olwaldi on August 12, 2018, 02:48:46 PM
Hello!



It's me again running oruxmaps on a Huawei Mate 9 with Oreo. Huawei provides Google's security updates quite often, I've received the July update end of July. Thus the operating system is changing regularly making any software tests problematic. Nevertheless I have checked the current version 7.3.2 rev2 on my Huawei with its updated OS.



As before oruxmaps will be aborted after some time if the display is switched of. But it stays alive if its widget is stored on some screen (without using it).



I have searched for an system app named LocationService - it's not available on my Huawei device. Instead there is a system app named HWLBSService. For that app the special right to ignore akku optimization is engaged. The same holds true for oruxmaps itself.



Thus for me oruxmaps works fine (as long as I install oruxmap's widget).





Regards, Michael
Title: Re: Issues with Android Oreo and/or Huawei devices
Post by: kriton on August 12, 2018, 07:05:10 PM
Hi!



I finally managed to solve the problem on my honor 9 and the orux does not stop recording.

The problem was I could not find the orux's widget.

I uninstalled the old version and installed the new version again. The orux's widget has appeared. I put it on the screen  and "Ignore battery optomisation" and choosing "FUSED LOCATION PROVIDER" in Orux and everything is ok!



Regards, Kriton!
Title: Re: Issues with Android Oreo and/or Huawei devices
Post by: cfoment on September 12, 2018, 04:48:05 PM
Hola,



gracias a las indicaciones de otro usuario de este foro he podido arreglar el problema de lineas rectas en la grabación de tracks.



Huawey P10

andoid 8.00

emui 8.00.375 (ultima actualización)



solo instalando el widget de orux en la pantalla inicial ya no me da error en la grabación ni lineas rectas. Uso orux desde la aplicación normal para grabar y parar, pero con el widget instalado. A parte como se ha dicho en numerosas veces en este foro, los ajustes de ahorro energía etc.

4 días de ruta por el pirineo con orux grabando 8 horas diarias y perfecto! Menos mal porque es mi programa favorito y me jodía mucho que no funcionase con mi huawei nuevo.

he intentado encontrar el post del compañero que lo explicaba antes para darle las gracias pero no logro encontralo de nuevo...de todos modos gracias!
Title: Re: Issues with Android Oreo and/or Huawei devices
Post by: Raymond Rando on November 18, 2018, 06:40:37 PM
Problem encounterded with honor 7S (Huawei group).

Oruxmaps stops recording tracks after a while, when screen is off on Huawei/honor (Android 7&8) :



SOLUTION :

Push the center of a desk screen having at least one empty line, reducing it,

                   in order to make appear a bottom tools line.

                   Select « widgets ».

                   By shifting the appearing list of apk widgets to the left,

                   select apk Oruxmaps widget and drop it on the screen above.



When opening Oruxmaps with the classic widget on another desk screen, even screeen off, the track will be continuously recorded  !!!
Title: Re: Issues with Android Oreo and/or Huawei devices
Post by: isartrails on January 23, 2019, 04:22:50 PM
Quote from: olwaldi post_id=14019 time=1534078126 user_id=7027... it stays alive if its widget is stored on some screen
I give it a try. But where the hell can I find this WIDGET and how do I put it on the screen?



BTW: the problems reported exist not only on Huawei, on WIKO smartphones is the same. I used 3 different models in the last years and with Android Nougat the problem started...
Title: Re: Issues with Android Oreo and/or Huawei devices
Post by: olwaldi on January 26, 2019, 08:45:48 AM
Depending on your Android version you must tap and hold onto the background of your homescreen to enter widget setup. Then scroll this list till you find Oruxmap's widget. Drag it onto any of your homescreens. That's it.



Regards, Michael
Title: Re: Issues with Android Oreo and/or Huawei devices
Post by: Txoriburu on April 13, 2019, 08:34:29 PM
Vuelve a pasar!  :cry:  Después de la última actualización de Oruxmaps volvía a poder grabar tracks pero poco a durado. Hoy se me ha actualizado el EMUI de mi Huawei y otra vez a dejado de grabar tracks, en cuanto se apaga la pantalla el track se detiene.

Tengo instalado el widget como indican por ahi, tengo configurado todo como se indica en otros post. Ya no sé que hacer.

Android: 8.0.0

EMUI:  8.0.0  Número de compilación: 8.0.0.371(C109)
Title: Re: Issues with Android Oreo and/or Huawei devices
Post by: Txoriburu on April 20, 2019, 01:19:40 PM
Perdón! ha sido falsa alarma. La nueva actualización del software de Huawei me había trastocado toda la configuración en cuanto al uso de la batería. La aplicación del WhatsApp también me funcionaba mal así que me he dado cuenta de lo que podía ser y he corregido todo. Vuelve a funcionar!

Sorry!