No network location with MicroG 0.3.9 on LineageOS 14.1/Android 7.1.2
Describe the bug I’m not getting any network location with MicroG 0.3.9 on LineageOS 14.1/Android 7.1.2 running on a Samsung Galaxy J3 (2016) SM-J320FN
To Reproduce Steps to reproduce the behavior: 0. Get a Samsung Galaxy SM-J320FN
- Unlock its bootloader and install TWRP
- Install LineageOS from https://xdaforums.com/t/rom-sm-j320fn-f-g-m-18-05-2024-unofficial-lineageos-14-1.4672462/
- Add signature spoofing using https://downloads.nanolx.org/NanoDroid/Stable/NanoDroid-patcher-23.1.2.20210117.zip
- Install MicroG Services + Companion + Framework Proxy from the official F-Droid repo
- Grant all permissions in MicroG Companion
- Set up location by activating all toggles in MicroG Companion (I picked BeaconDB but Positon gets no better result)
- Reboot
- Start SatStat (or any other app using network location)
Expected behavior I should get an coarse/network location through BeaconDB/Positon wifi query
Screenshots If applicable, add screenshots to help explain your problem.
System Android Version: 7.1.2 Custom ROM: LineageOS 14.1
Additional context I’ve installed the XSRG Root X1 certificates from https://www.stoutner.com/lets-encrypt-isrg-root-x1-and-privacy-browser/ but the issue was present before.
microG can bind to system location only if it is a system app.
So this is where your installer comes into play, right?
I thought that signature spoofing + MicroG installation through F-Droid was enough.
Yes.
Normal app installation (doing it via F-Droid, adb install or a different way is the same) works fine for most things, but there some things that cannot work like: waking up apps or binding to system location.