• Tech Help
  • GPS location not working with Life360 on Kyocera DuraXV Extreme

Mowza

Make sure battery optimization is disabled for the app, and that its also running in background in the dev settings.

Also, the app may not have requested the proper permissions when it started, so you may have to use adb to enable some. If all else fails, I'd try setting up a Traccar instance on a VPS (or use the demo servers).

5 days later

Thank you to all who chimed in and helped point me in the direction of a fix so far! I have installed Waze and everything seems to function normally. I made sure that battery optimization was disabled and that it is running in the background in dev settings. I went through and gave it permissions for both fine and coarse location as well. So far It still shows my phone as "no network of phone off". Any more ideas? Maybe a different version of Life360? There were many to chose from when I searched for the apk download.

    Mowza

    Its quite possible Life360 requires Google Services (or MicroG) to run properly. Last I remember it was a pretty invasive app.

    Like I said, you may consider moving to something like Traccar & setting it up yourself (its easy, lemme know if you need help). It uses open maps & the apps work 100% on the Kyocera. There's also a FOSS app called Zood Location that I've used that works OK (the map doesn't show however without G Services). You'll find this a common theme w a lot of these apps, so you just gotta work around it.

      sappypappy

      Ok I got rid of Life360 and installed Traccar client on my device and Traccar manager on the device that will be used to track it. Unfortunately I am in the same boat with the managing device stating that my device is offline. I have battery optimization disabled for Traccar client and gave it the permissions it asked for when setting it up. The status in the client states "Network offline". What should I be looking for to fix this?

        7 days later

        Mowza

        Sorry, just saw this. Can you show me your setup on the tracked device, what settings & server you used, etc? Is it the demo servers?

          sappypappy

          Thank you for getting back to me. Yes it appears to be a demo server. I found a site listing some demo servers. I punched in the address for the one in the US. Network is now listed as online. May have fixed it.

            Mowza

            Demo is fine, as long as you've inputted the domain name properly & made sure the device identifier is correct on the other device. I believe you have to register an email on those as well.

            Try setting the interval to 30 (30 seconds) to test, enable & see if it starts tracking on the other device. Location accuracy high for the time being (this is a battery drain tho).

              sappypappy Hey sapppypappy can you open a thread here about tmobile and dumbphones with a quick rundown on what wont work?

                Biden2020prez

                Are you talking about some VoLTE devices no longer working? I believe they might've fixed that on the network recently according to reddit posts.

                I switched to Verizon (for the Dura flip) so not sure now.

                  sappypappy Oh okay. I just saw you were very involved with that on Reddit, but wasn't clear whether it's still an issue. Thanks for confirming.

                  sappypappy

                  Ok so while I can get it to say that I am online on my dumb device, It still will not show up on the traccar manager which is on a smart phone. Both devices have the same server address punched in and the ID number listed on my dumb phone is entered correctly on the smart phone. I changed the interval to 30 seconds and also the accuracy to high. What else could be wrong? Does the traccar manager version need to register an email address? would this somehow stop my phone from showing up?

                    Mowza

                    Problem sounds like its on the manager somewhere. Yeah, I believe w the demo, you must enter the email address & pass you registered on it with at the beginning. Try clearing the app data & starting that over again. You can also try logging in from any browser by going to the URL of whatever demo server you signed up with. You should see your tracked device there.

                      sappypappy

                      I went ahead and logged into the server we are registered on through a web browser and it shows my device as offline on there as well. Is there any other settings I need to check or change on my dumb phone through ADB?

                        Mowza

                        On the dumb phone, try leaving the app running in the foreground then check to see if its updating on the manager/site. Could be its closing itself out on exit.

                        You can also make sure to give the app the proper permissions via adb. The ones showing on mine are location, network & sensors.

                          sappypappy

                          App running in foreground does not help with the device appearing unfortunately. There is no change. I checked to see what permissions were granted to the client and this is what it spat out. I don't see anything missing do you? This is still new to me.

                          installPermissionsFixed=true
                          pkgFlags=[ HAS_CODE ALLOW_CLEAR_USER_DATA ALLOW_BACKUP ]
                          declared permissions:
                          org.traccar.client.DYNAMIC_RECEIVER_NOT_EXPORTED_PERMISSION: prot=signature, INSTALLED
                          requested permissions:
                          android.permission.ACCESS_COARSE_LOCATION
                          android.permission.ACCESS_FINE_LOCATION
                          android.permission.ACCESS_BACKGROUND_LOCATION
                          android.permission.INTERNET
                          android.permission.ACCESS_NETWORK_STATE
                          android.permission.RECEIVE_BOOT_COMPLETED
                          android.permission.WAKE_LOCK
                          android.permission.FOREGROUND_SERVICE
                          com.android.launcher.permission.INSTALL_SHORTCUT
                          oppo.permission.OPPO_COMPONENT_SAFE
                          com.huawei.permission.external_app_settings.USE_COMPONENT
                          com.google.android.finsky.permission.BIND_GET_INSTALL_REFERRER_SERVICE
                          org.traccar.client.DYNAMIC_RECEIVER_NOT_EXPORTED_PERMISSION
                          android.permission.REORDER_TASKS
                          install permissions:
                          android.permission.FOREGROUND_SERVICE: granted=true
                          android.permission.RECEIVE_BOOT_COMPLETED: granted=true
                          android.permission.INTERNET: granted=true
                          android.permission.REORDER_TASKS: granted=true
                          org.traccar.client.DYNAMIC_RECEIVER_NOT_EXPORTED_PERMISSION: granted=true
                          android.permission.ACCESS_NETWORK_STATE: granted=true
                          com.android.launcher.permission.INSTALL_SHORTCUT: granted=true
                          android.permission.WAKE_LOCK: granted=true
                          User 0: ceDataInode=-4294956479 installed=true hidden=false suspended=false stopped=false notLaunched=false enabled=0 instant=false virtual=false
                          gids=[3003]
                          runtime permissions:
                          android.permission.ACCESS_FINE_LOCATION: granted=true

                          Just realized that background permission doesn't appear on the list. Now to figure out how to grant that permission....
                          When I try to enter "./adb shell pm grant org.traccar.client android.permission.ACCESS_BACKGROUND_LOCATION" it says the permission is not recognized even though it appears on the list of requested permissions in the above list I posted.

                            Mowza please give the exact output of the adb command. And this is an unmodified APK?

                              Biden2020prez

                              Here is the exact output. The APK is unmodified as far as I know. I know I did not modify anything, at least I don't think I did.

                              Exception occurred while executing:
                              java.lang.IllegalArgumentException: Unknown permission: android.permission.ACCESS_BACKGROUND_LOCATION
                              at com.android.server.pm.permission.PermissionManagerService.grantRuntimePermission(PermissionManagerService.java:1398)
                              at com.android.server.pm.permission.PermissionManagerService.access$900(PermissionManagerService.java:89)
                              at com.android.server.pm.permission.PermissionManagerService$PermissionManagerInternalImpl.grantRuntimePermission(PermissionManagerService.java:2093)
                              at com.android.server.pm.PackageManagerService.grantRuntimePermission(PackageManagerService.java:5486)
                              at com.android.server.pm.PackageManagerShellCommand.runGrantRevokePermission(PackageManagerShellCommand.java:1730)
                              at com.android.server.pm.PackageManagerShellCommand.onCommand(PackageManagerShellCommand.java:217)
                              at android.os.ShellCommand.exec(ShellCommand.java:103)
                              at com.android.server.pm.PackageManagerService.onShellCommand(PackageManagerService.java:21731)
                              at android.os.Binder.shellCommand(Binder.java:634)
                              at android.os.Binder.onTransact(Binder.java:532)
                              at android.content.pm.IPackageManager$Stub.onTransact(IPackageManager.java:2871)
                              at com.android.server.pm.PackageManagerService.onTransact(PackageManagerService.java:3931)
                              at android.os.Binder.execTransact(Binder.java:731)

                                Mowza I wonder if that permission was only introduced on newer android versions? it seems like the permission isnt even existing on the phone

                                  Biden2020prez

                                  If it is not a permission that is present I am at a complete loss as to why my device continues to show as offline. According to the status in my devices client it says I am online. I can't imagine its supposed to be this hard to get it to work.