MicroG

MicroG (typically styled as microG) is a free and open-source implementation of proprietary Google libraries that serves as a replacement for Google Play Services on the Android operating system. It is maintained by German developer Marvin Wißfeld. In a presentation, Wißfeld described microG as "the framework (libraries, services, patches) to create a fully-compatible Android distribution without any proprietary Google components".

Background
Although Google initially released the Android operating system as open-source software in 2007, the company gradually replaced some of Android's open-source components with proprietary software as Android grew in popularity. Marvin Wißfeld, a German software developer, created the NOGAPPS project in 2012 as a free and open-source drop-in replacement for Google Play Services, Google's closed-source system software that has been pre-installed on almost all Android devices. The NOGAPPS project became MicroG by 2016.

Features
MicroG allows Android apps to access replica application programming interfaces (APIs) that are provided by Google Play Services, including the APIs associated with Google Play, Google Maps, and Google's geolocation and messaging features. Unlike Google Play Services, MicroG does not track user activity on the device, and users can selectively enable and disable specific API features. Depending what apps are installed by users, user activity may still be tracked by Google.

LineageOS for MicroG
In 2017, microG released "LineageOS for microG", a fork of LineageOS – a free and open-source Android-based operating system – that includes both MicroG and the F-Droid app store as pre-installed software. LineageOS for MicroG was created after LineageOS developers declined to integrate MicroG into LineageOS; the developers cited MicroG's need to spoof code signatures as a security concern. To enable MicroG's functionality, LineageOS for MicroG includes limited support for signature spoofing.

MicroG developers claim that older smartphones consume less battery power using LineageOS for MicroG compared to operating systems that use Google Play Services. LineageOS for MicroG supported 39 device models in 2017, and now supports the same device models as LineageOS. Devices receive newer versions of LineageOS for MicroG through semi-monthly over-the-air updates.

Adoption
For a 2018 paper on Android app privacy, security researchers from Nagoya University used MicroG to bypass Google's SafetyNet security mechanism on an Android Marshmallow emulator. The researchers altered Android's package manager and implemented signature spoofing to enable MicroG on the emulator.

CalyxOS includes options for using MicroG as a privacy enhanced replacement for some of the functionality in Google Play Services.

DivestOS, a LineageOS soft fork, chose not to support MicroG or other ways of installing or running proprietary Google apps. Since July 2023, DivestOS allows installing MicroG after enabling it in system settings, but does not recommend doing so and still considers this feature unsupported.

Essential Products' "Project Gem" smartphone, previously in development, used a fork of Android that eschews Google Play Services in favor of MicroG, according to Essential's commits to the Android codebase in late 2019. Essential Products shut down in February 2020.

IodéOS includes MicroG.

As of May 2022, Murena company is selling a few phones including MicroG with the /e/ operating system, a privacy-oriented fork of LineageOS, with Google Services "mostly removed". In 2019, companies associated with /e/ began selling refurbished smartphones with MicroG pre-installed.

In 2020, OmniROM began providing builds including MicroG built in for certain devices.

Reception
In 2016, Nathan Willis of LWN.net expected MicroG to be a "welcome addition" for users of alternative Android-based projects, including CyanogenMod, Replicant, and Blackphone. Willis suggested that MicroG could increase its adoption by collaborating with these projects.

Corbin Davenport, writing for Android Police in April 2018, installed LineageOS for MicroG on a Xiaomi Mi 4c smartphone using the Team Win Recovery Project image in an experiment in which he exclusively used open-source software on Android. Davenport was unable to log in to his Google Account through MicroG and concluded that "Going all open-source isn't feasible", despite the high quality of some open-source Android apps from F-Droid. Lifehacker's Brendan Hesse recommended MicroG in his November 2018 tutorial to "quitting Google". Hesse saw MicroG as a "promising" alternative to Google Play Services that was "incomplete and still in development", but said that it was "usable" and "runs pretty well".

Steven J. Vaughan-Nichols, in a 2019 ZDNet review of a refurbished Samsung Galaxy S9+ smartphone from /e/, determined that applications which were more closely integrated with Google Mobile Services were less likely to function properly with MicroG. During his device test, Vaughan-Nichols was able to use Signal, Telegram, Facebook, and other Android apps with no problems, while Lyft and Uber operated less reliably; Vaughan-Nichols was not able to run Google Maps or Twitter at all, concluding, "applications can be a pain" and "installing /e/ is a monster of a job." In May 2022, Vaughan-Nichols in ZDNet wrote "in the /e/OS, most (but not all) Google services have been removed and replaced with MicroG services."