How remove microG of /e/ os?

Hi all,

Thanks to your developement of /e/ os.

I just want to remove microG of my device.

Is it possible ?

Thanks a lot.

1 Like

One Question: Whatā€™s the reason for removing microG ??

MicroG is here to allow apps which normally are requiring Google Service to run on /e/, why do you want to remove it ?

Because i want to remove all google services of my devices to avoid sending google information

Yes, it is possible.

ā€œPureā€ LineageOS 16.0 (without GApps, without mircoG) runs ā€¦ for testing purposes.

Banking apps donā€™t work, but messengers like Signal, Threema and Wire work fine.
Also GoogleMaps(!) and some other apps more.

For purists who also call and SMS with their smartphone a ā€œPureā€ LOS16 can be sufficient. So why not try /e/ OS without mircoG?

By the way: The microG packages can be removed via ADB command. How this affects the overall behavior of the /e/ system - I canā€™t say at this time.

1 Like

microG is a open source replacement of google play services. All connections which microG will do to google server are done anonymous.
As archie has written, some apps wonā€™t work without microG. If you think you can go without microG, remove GmsCore from /system/priv-app/ folder via twrp file manager or build your own e version without microG.

I have everything disabled in microG and so far all the apps worked that I tested. Signal, Riot, Telegram, Maps, etc. Only thing I noticed is that Wire does not send notifications but I know that it should work. At least it does for some users without microG.

yes, some apps do need play service or microG for push messages/notifications. I know it from protomail.

So you can go this way:

  1. start twrp
  2. mount /system
  3. open twrp filemanger
  4. open /system
    there you will find the folder ā€˜priv-appā€™. In that folders you will find the folder (GmsCore). Now you can MOVE the apk from inside the folder it to an folder insite of your /sdcard.
  5. reboot

if everything working you can delete the apk after all testing. If something donā€™t work, move the apk back the GmsCore folder

2 Likes

Well, Iā€™ve tried this way.

The device started as usual.

In the menu ā€œSettingsā€ the entry ā€œMicroG >ā€ is still available - and offers two options to choose from:

āŸ³ Open app again
ā–“ Mute until device restarts

Both options lead to the /e/ start screen.

So, now > 6. power off

Now I test with Android Debug Bridge (ADB) ā€¦

$ pm list packages|grep -i microg

package:org.microg.nlp.backend.ichnaea
package:org.microg.nlp.backend.nominatim
package:org.microg.gms.droidguard

$

ā€¦ and I still get 3x org.microg packages.

What is the meaning of these 3 packages for my experiment Ā» /e/ OS without microG? Ā«

this is an error message, because GmsCore is missing. You will get it every time you try to start microG in settings

The first and the second are for location services. Without you get no location on maps or weather apps
the third is a safty feature.

you can look on microG site for more information https://microg.org/download.html

@harvey186, My experiment is Ā» /e/ OS without microG Ā«

To do that, Iā€™d have to uninstall those three packages right now, right?

If you really want no location services, than yes

@harvey186, elsewhere here in the forum I just read that microG cannot be updated manually, only via /e/ OS Update.

My theory is: If I download microG directly from ā†’ Servies Core apk file (ā†’ com.google.android.gms-19420020.apk) and rename this file to GmsCore.apk and replace this ā€œoldā€ GmsCore.apk with the ā€œnewā€ GmsCore.apk in /e/ phone (ā†’ /system/priv-app/GmsCore/GmsCore.apk).

Is the /e/ OS system then also ā€œupdatedā€ with this procedure or are important components missing?

Iā€™m nit sure that it will work, because GmsCore is not all ā€˜microGā€™. So if you will only change the GmsCore.apk it could be hat it will get trouble with other components.
But you can try. If you have moved the apk and your system getā€™s instabile or wonā€™t boot, move the apk back or make a dirty flash and everything should work again.

I think itā€™s better to use the latest update of eOS. It has the latest microG version on board

I like learning by doing. Thatā€™s why I usually try out my therapies from equipment. Today I first chose the way of asking questions - to try it out in practice.

I was encouraged by the sentence ā€œThe GsfProxy version does not need to match the GmsCore.apk version and is installable without higher privileges.ā€

First I renamed the file GmsCore.apk with the TWRP file manager to prevent overwriting. Then I followed installation instructions Julien Schmidt on github com / microg.

Well, no sooner said than done. The test system starts as usual. If it works properly, we will see.

By the way: Itā€™s certainly safer for the majority of users if an update is done by the official /e/ OS support.

Hi Archie! How did you manage it?
I tried those same steps but microg doesnā€™t get recognized by the system anymore. If I clock on it in settings it crashes, and the app canā€™t be found as a installed app.
What I did was downloading the new version from the website, renaming it and moving it into the /priv-app/GmsCore.apk and chmod 644 (in TWRP). What am I missing?

Archje has leave /e/OS and the forum

What are the others parts ?

From https://gitlab.e.foundation/e/os/android_prebuilts_prebuiltapks
i found those informations :

  • microG packages (binaries sourced from here and here)
    • GmsCore: the main component of microG, a FOSS reimplementation of the Google Play Services (requires GsfProxy and FakeStore for full functionality)
    • GsfProxy: a GmsCore proxy for legacy GCM compatibility
    • FakeStore: an empty package that mocks the existence of the Google Play Store
    • com.google.android.maps: legacy microGā€™s mapsv1 reimplementation

I hope itā€™s help

Yess, thatā€™s it. I think all must removed/repaced

Hi I have to agree, I was search for the same solution and found your post, I thought the whole point of /e/ was to avoid Google and itā€™s ā€œservicesā€, . I was surprised to see a complaint after I downloaded Nordvpn apk via the browser, and the error message appeared which said to ā€œEnable Google Play Servicesā€. I use signal, Threema and F-droid and have no need for a service that blocks the operation of my vpn.