(Why) Do I need Network-based location? (specifically: µG UnifiedNlp)

yes, this also works.

ugh, i think it’s the signature thingy then. this looks like a big hassle. first get root then lose it… hmmm. well i’ll give it a try.

do you know whether i will be able to use the FP Open Updater afterwards? (Or do I need to do this whole procedure (or is this only for XPosed?))

The guide looks more complicated than it is and contains some points that are only needed for specific modifications.
Basically you’ll just have to flash everything you flashed before via TWRP again.

For microG to impersonate Google Services, it needs signature spoofing. Just use Tingle.

To know more about the Android security model, or why this is needed, check other posts of mine like this one quoted below:

Sadly, Signal and other bunch of free apps depend on crappy proprietary GMS to work.

About your update concerns, Tingle patch (i.e. modifies) the system, so when you update the system to a newer, pristine version of FP Open, you’ll need to patch it again. But so far, you won’t have any other problem with the Fairphone Updater.

2 Likes

and will i have to remove tingle before being able to update or just reinstall after the update?

also, i was wondering – is it only necessary for the installation of the app? because then i could also install it and forget about it (after the next update) :slight_smile:

Nop, you can update without reverting your modifications, but you lose them.

As of now (current Android state), you can install any app on the ecosystem (this wasn’t true some years ago). On runtime, those apps check if you have Google services, or a reimplementation like microG, and they use them if available. If not, then can occur two things:

  • The app crashes, when initializing or at some step (Signal’s registration)
  • The app shows an avoidable message of "lack of GMS” and can’t use some functions (usually push messages, so you don’t get notifications on Slack or Signal)

You can patch the system with Tingle, install microG, register on Signal, and update the system eventually. Then you can use Signal because you are already logged in, but you won’t receive push notifications.

Privacy note: microG still contact the Google Push Messaging servers and Google receive a bunch of metadata of your communications. However, with microG you can control that with the relatively new push messaging settings and by inspecting the code, which is completely open source.

2 Likes

hey @Roboe, thanks for all your replies and info again! :slight_smile:

so i will need to keep signature spoofing even after the signal registration :\

I just tried to use tingle and I am getting “ERROR: No device detected! Please connect your device first.” after selecting option 1 (after running “python3 main.py”).
I already tried to change the “connected as”-option of the phone (MTP, PTP, mount sd card) but nothing worked. usb debugging is enabled and i allowed root access for adb.

– does anybody have an idea what could be the problem? (@ale5000?)

1 Like

ok, i found it :stuck_out_tongue:

i needed to add my phone ID to ~/.android/adb_usb.ini
(see here – unfortunately only in german)

–> find it via “lsusb” (run it, disconnect the phone, run it again – you see which ID is missing, that was the phone ;))

add “0x” + the first 4 characters of the ID (before the colon)
so, e.g. “0x1234” to the file (create it if it does not exist)

adb doesn’t work if you have any of these USB modes enabled, in my case. Just disable the one you have enabled (uncheck the active tick) to clear a path to ADB to work

@jme: It should have something to do with usb debugging not enabled correctly or missing drivers in the pc.

Does your pc see the phone and is it able to navigate in the phone?
Does your phone display a notification of usb debugging enabled?

1 Like

it works now (se above) … the phone was still in PTP mode… so that was ok :wink:

hey, thanks for the instant reply! :slight_smile:
i figured it out – see above. needed to add my phone id for adb to work first.

1 Like

Thank you for the creative solution! That was something new here in the forum, I think.

yeah, well… signal still does not work.
the tingle patching reported that it was successful – so i guess it must be the issue from above: UnifiedNlp’s self-check does not have a known location :frowning:

You need microG Services Core, not UnifiedNLP. The latter is only for location services, the former replaces more Google services. Add the microG’s repo to F-Droid:
https://microg.org/download.html

And update to the latest microG Services Core:
https://f-droid.org/app/com.google.android.gms

1 Like

i installed microG from fdroid according to the abovementioned guide (5.5).

there it says

Install the latest
*microG Services Core
:exclamation: may be called “µg UnifiedNlp (no GAPPS)” instead, but make sure it displays “microg” and not “F-Droid” as the repository.
*microG Services Framework Proxy
*FakeStore

  • and at least one Unified NLP backend (from F-Droid repository).

I did all of this. Do I still need to install the apk from their website? (i.e. your link)
If yes, then our guide should be updated.

Just be sure to have version 0.2.4-39 or higher

1 Like

Enable the Google device registration from microG Settings and try again, maybe?

After checking the version, check also that everything is OK in the self-check then enable “Google device registration” and “Google Cloud Messaging”.

After that to be sure Signal is registered in GCM clear the data of Signal and restart it.

well ok. something’s wrong. I do not see any “microG settings” only “UnifiedNlp”-settings. I did add the µG fdroid repository and I made sure to install everything I quoted above. And yes, fdroid did not list “microG Services Core” but “µg UnifiedNlp (no GAPPS)”.
So something might be off with the repo and/or instructions. I will try with the apk from their site and report back :wink:

Don’t mind the name, it fails sometimes. See more here about this naming issue: Strange F-Droid microG Services Core update behaviour - #5 by Roboe

Did you update repos (:arrows_counterclockwise: symbol at F-Droid main view) and installed the latest listed version? Preview, 0.2.4-39, not stable

1 Like