Issues with Android Oreo and/or Huawei devices

Started by orux, February 24, 2018, 09:11:35 PM

Previous topic - Next topic

0 Members and 4 Guests are viewing this topic.

orux

#45
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

Brandy

#46
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

olwaldi

#47
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

orux

#48
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">http://oruxmaps.com/foro/viewtopic.php?f=4&t=4894&p=13187#p13187



orux

peterpa

#49
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

fgb

#50
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

chironaut

#51
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

CHUCHI

#52
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

olwaldi

#53
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">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

cxfahrer

#54
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!

orux

#55
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/">https://downloadchain.com/vlc-can-no-lo ... ei-phones/">https://downloadchain.com/vlc-can-no-longer-be-installed-on-huawei-phones/



orux

orux

#56
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">http://www.oruxmaps.com/foro/viewtopic. ... =90#p13915">http://www.oruxmaps.com/foro/viewtopic.php?f=3&t=4527&start=90#p13915





orux

kriton

#57
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...

Gartenzwerg17

#58
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

olwaldi

#59
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