[go: up one dir, main page]

I tried to set up Signal with my MicroG setup but it just says ‘Missing Google Play Services’ after entering my phone number. Everything is turned on in MicroG (including cloud messaging and device registration) and other apps that use cloud messaging work. I have a bit of a niche setup (fakegapps + rooted stock rom) but I doubt that would cause problems.

Thanks in advance :)

Edit: I forgot to note, I’m doing this mostly for battery savings

Edit 2: I was able to fix it by installing under /system/app; comment thread: https://lemmy.ml/post/43156989/23961778;

Warning!! You need to have MicroG installed as an user app, already, for this to work.

Steps:

Create a folder on your pc with this structure (might not work for other devices; - means subdirectory): folder and also keep in mind you need to have these apps removed with Magisk so Android doesn’t even know they exist:

-module.prop

-system

–product

—app

----GmsCore

-----GmsCore.apk

----Phonesky

-----Phonesky.apk

–system_ext

—app

----GoogleServicesFramework

-----GoogleServicesFramework.apk

module.prop should contain this (without the spaces empty lines): id=yournameforthemodule

name=yournameforthemodule

version=v1.0

versionCode=1

author=yourname

description=blabla

The apks should be this: GmsCore: core MicroG apk ( latest release as of typing: https://github.com/microg/GmsCore/releases/download/v0.3.12.250932/com.google.android.gms-250932024.apk ; or for Huawei: https://github.com/microg/GmsCore/releases/download/v0.3.12.250932/com.google.android.gms-250932024-hw.apk )

Phonesky: fakestore ( https://github.com/microg/GmsCore/releases/download/v0.3.12.250932/com.android.vending-84022624.apk ; Huawei: https://github.com/microg/GmsCore/releases/download/v0.3.12.250932/com.android.vending-84022624-hw.apk )

GoogleServicesFramework: ( updates rarely: https://github.com/microg/GsfProxy/releases/download/v0.1.0/GsfProxy.apk ; Huawei same )

After doing this zip the two folders so it looks like this:

archive:

-system

–…

-module.prop

and flash it to Magisk like any regular module.

I, also, created a Git repo. It’s not the best considering I never used Git, but with this you just need to add the apk’s: https://gitlab.com/zazarpro/microg-unprivileged-install

  • Quacksalber@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    17
    ·
    2 months ago

    Have you tried Molly? It’s a Signal-compatible client with supposedly no Play Service requirement. Only downside is that it’ll take longer for patches to reach you.

  • infeeeee@lemmy.zip
    link
    fedilink
    English
    arrow-up
    9
    ·
    edit-2
    2 months ago

    It works perfectly fine, using it for years.

    IIRC the “checkin” code maybe needed:

    If your device is having trouble registering with Firebase Cloud Messaging, you may need to

    • Open the system phone app and dial *#*#2432546#*#* (or *#*#CHECKIN#*#*) to manually register the device as described here.
    • If typing via the keypad does not work, check this out: (execute as root) adb shell am broadcast -a android.provider.Telephony.SECRET_CODE -d android_secret_code://2432546 --receiver-include-background

    After this, reinstall signal.

    There are some other tips here, check them out:

    https://github.com/microg/GmsCore/wiki/Helpful-Information

    Other apps can register? Is it signal specific, or GCM is not working correctly (I guess it’s the latter)

    We have a microg community, I’m the mod there: !microg@discuss.tchncs.de

    • zazarpro@lemmy.mlOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      2 months ago

      It is Signal specific, all other apps, atleast on my phone, that use cloud messaging work.

      • infeeeee@lemmy.zip
        link
        fedilink
        English
        arrow-up
        1
        ·
        2 months ago

        I remember last time I reinstalled my phone I had to fiddle with something to make Signal work, but I don’t remember what it was, it was one of the tips from the page I linked.

        Does other apps show up in the Cloud Messaging list in the Companion App? Also after you change something reinstall Signal, as it only checks if GMS available after installation, not later.

        • zazarpro@lemmy.mlOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          2 months ago

          I reinstalled Signal from the website apk and got the same message. I currently have 5 apps registered, all displayed in the companion app.

          • infeeeee@lemmy.zip
            link
            fedilink
            English
            arrow-up
            1
            ·
            2 months ago

            I found an old similar issue, where a full reinstall helped random apps not registering: https://github.com/microg/GmsCore/issues/2092

            You wrote you are rooted, but install microg as a system app not as a magisk module, when I installed as a magisk module I had some bugs.

            I had the best experience installing it with minmicrog: https://github.com/FriendlyNeighborhoodShane/MinMicroG_releases/releases It contains everything all in one. It uses upstream apks, so even though it seems old, you can just update everything after installation.

            • zazarpro@lemmy.mlOP
              link
              fedilink
              English
              arrow-up
              1
              ·
              2 months ago

              Oh, I installed MicroG as an user app. I’ll try installing it as a system app as a last resort, since reinstalling every messaging would be really tedious.

              Also, one question. What do you mean by not installing it as a Magisk module? I’m not sure what other way there is, other than directly writing to /system

              • infeeeee@lemmy.zip
                link
                fedilink
                English
                arrow-up
                1
                ·
                2 months ago

                You wrote you are rooted, I guessed you rooted with Magisk. Magisk has a module system, you can install apps as system apps without actually modifying the /system partition. Microg doesn’t like this.

                If you are rooted you can very easily reinstall every app with neobackup.

    • Special Wall@midwest.social
      link
      fedilink
      English
      arrow-up
      5
      arrow-down
      1
      ·
      2 months ago

      Signal is only available on F-Droid via an unofficial build from the Guardian Project. The maintainers of the Guardian Project lag behind on updates for their repos, so their repository should not be used for any apps important for security.

    • zazarpro@lemmy.mlOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 months ago

      Since most people that I know use messaging apps that nag about missing GMS I decided to get MicroG. Now, I want Signal under the Cloud Messaging hood mostly due to battery saving.

  • shortwavesurfer@lemmy.zip
    link
    fedilink
    English
    arrow-up
    4
    ·
    2 months ago

    You can use Molly. It is a signal fork that still allows you access to all of the same signal contacts and network, but it works on devices without Google shit services.