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

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.

            Mowza I honedtly dont know much about life360. Is location services turned on and other apps detect your location?

              Mowza

              It does indeed sound like some type of permissions issue. Esp if you've ran it in the foreground (w the screen still on & updating every 30 seconds) & it still doesn't show online. Maybe try running an older apk to see what happens?

              Also, I'd start experimenting. What happens when you try Zood Location on the tracked device?

                Biden2020prez

                Waze seems to work just fine. I have not tried anything else yet besides Life360 , Waze and Traccar.

                4 months later