Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Location (network) not working #2726

Open
jstam84 opened this issue Jan 1, 2025 · 3 comments
Open

Location (network) not working #2726

jstam84 opened this issue Jan 1, 2025 · 3 comments
Labels

Comments

@jstam84
Copy link

jstam84 commented Jan 1, 2025

Describe the bug
Microg version 0.3.6.244753. Clean lineage 21. All self check options pass. Location WiFi and Bluetooth enabled. In microg all settings for location enabled. Provider is beacondb (tried position xyz too). Some apps request location sometime via microg (recent location requests) bit most don't show up at all. In android location settings they do. Network location doesn't seem to work properly then?

@jstam84 jstam84 added the bug label Jan 1, 2025
@aiman-al-masoud
Copy link

aiman-al-masoud commented Jan 4, 2025

Hello! Similar problem here, same microg version (0.3.6.244735), clean lineageos 22.1. Microg was granted location permissions, location settings in microg are al active, tried both default location services, I'm getting these logs from the app that I'm trying to make work (via adb logcat):

01-04 18:29:17.513  7765  7765 D LocationApisInterface: fast location: null
01-04 18:29:17.517  7765  7864 W GoogleApiManager: The service for com.google.android.gms.internal.location.zzdz is not available: ConnectionResult{statusCode=SERVICE_INVALID, resolution=null, message=null}

PS: tried an older version of microg (the previous) but still not working.

PS2: it worked! I had to install "microG Companion" (from fdroid, same repo as microg).

@n8name
Copy link

n8name commented Jan 16, 2025

Same here. Worked previously with lineageos for microg. For lineage 22.1 I switched (dirty flash) to official lineage. Since then network location seems to be broken.
Already reinstalled betas via fdroid (0.3.6.40226, 0.3.6.244735).
Hopefully the corresponding logcat:

01-16 15:39:43.839  1417 16447 D ConnectivityService: requestNetwork for uid/pid:10113/2404 asUid: 10176 activeRequest: null callbackRequest: 2452 [NetworkRequest [ REQUEST id=2453, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VCN_MANAGED&NOT_BANDWIDTH_CONSTRAINED Uid: 10176 RequestorUid: 10113 RequestorPkg: com.android.systemui UnderlyingNetworks: Null] ]] callback flags: 0 order: 2147483647 isUidTracked: false declaredMethods: ALL
01-16 15:39:43.841  2601  2601 D OverviewActionsView: updateForGroupedTask() called with: isGroupedTask = [false], canSaveAppPair = [false]
01-16 15:39:43.841  2601  2601 D OverviewActionsView: updateActionButtonsVisibility() called: showSingleTaskActions = [true], showGroupActions = [false]
01-16 15:39:43.841  1417  2264 D UntrustedWifiNetworkFactory: got request NetworkRequest [ REQUEST id=2453, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VCN_MANAGED&NOT_BANDWIDTH_CONSTRAINED Uid: 10176 RequestorUid: 10113 RequestorPkg: com.android.systemui UnderlyingNetworks: Null] ]
01-16 15:39:43.841  1417  2264 D OemPaidWifiNetworkFactory: got request NetworkRequest [ REQUEST id=2453, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VCN_MANAGED&NOT_BANDWIDTH_CONSTRAINED Uid: 10176 RequestorUid: 10113 RequestorPkg: com.android.systemui UnderlyingNetworks: Null] ]
01-16 15:39:43.841  1417  2264 D MultiInternetWifiNetworkFactory: got request NetworkRequest [ REQUEST id=2453, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VCN_MANAGED&NOT_BANDWIDTH_CONSTRAINED Uid: 10176 RequestorUid: 10113 RequestorPkg: com.android.systemui UnderlyingNetworks: Null] ]
01-16 15:39:43.842  1417  2281 D ConnectivityService: NetReassign [2453 : null → 114] [c 1] [a 1] [i 0]

//EDIT Fixed by reinstalling as mentioned here: https://gitlab.com/bblacher/microg-installer

@The-First-King
Copy link

#2635 (comment)

Did you try this and reboot?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants