Software:MicroG

From HandWiki
Short description: Free and open-source alternative to Google Android libraries

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.[1] 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".[2]

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.[3] Marvin Wißfeld,[1] 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.[4]

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.[1][5][6] Unlike Google Play Services, MicroG does not track user activity on the device, and users can selectively enable and disable specific API features.[1] Depending what apps are installed by users, user activity may still be tracked by Google.[citation needed]

LineageOS for MicroG

Logo of 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.[7][8] To enable MicroG's functionality, LineageOS for MicroG includes limited support for signature spoofing.[7]

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

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.[10]

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

DivestOS, a LineageOS soft fork, chose not to support MicroG or other ways of installing or running proprietary Google apps.[13] 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.[14]

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.[15][16] Essential Products shut down in February 2020.[17][18][19]

IodéOS includes MicroG.[20]

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".[21][22][23] In 2019, companies associated with /e/ began selling refurbished smartphones with MicroG pre-installed.[5][24]

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

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.[4]

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.[26] 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".[27]

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."[5] 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."[21]

References

  1. 1.0 1.1 1.2 1.3 Gordon, Arielle (7 June 2019). "The Open Source Project That Keeps Google's Hands Off Your Android Data". https://www.vice.com/en_us/article/d3n5gw/the-open-source-project-that-keeps-googles-hands-off-your-android-data. 
  2. W., Marvin (16 November 2019). "MicroG - what it is and where it's going" (in en-US). https://www.sfscon.it/talks/microg-what-it-is-and-where-its-going/. 
  3. Amadeo, Ron (21 October 2013). "Google's iron grip on Android: Controlling open source by any means necessary". http://arstechnica.com/gadgets/2013/10/googles-iron-grip-on-android-controlling-open-source-by-any-means-necessary. 
  4. 4.0 4.1 Willis, Nathan (30 March 2016). "Replacing Google with microG". https://lwn.net/Articles/681758/. 
  5. 5.0 5.1 5.2 Vaughan-Nichols, Steven J. (12 November 2019). "The /e/ Google-free, pro-privacy Android phone runs well -- for a beta" (in en). https://www.zdnet.com/article/the-e-google-free-pro-privacy-android-phone-runs-well-for-a-beta/. 
  6. "Release v0.2.12.203315" (in en). 2020-09-10. https://github.com/microg/android_packages_apps_GmsCore/releases/tag/v0.2.12.203315. 
  7. 7.0 7.1 7.2 7.3 Leemhuis, Thorsten (4 November 2017). "LineageOS-Ableger vermeidet Google-Code" (in de). https://www.heise.de/newsticker/meldung/LineageOS-Ableger-vermeidet-Google-Code-3879358.html. 
  8. "195284: [RFC Add signature spoofing permission"]. 10 December 2017. https://review.lineageos.org/c/LineageOS/android_frameworks_base/+/195284. 
  9. 9.0 9.1 LineageOS for microG, 1 June 2019, FAQ, https://lineage.microg.org/#faq, retrieved 19 January 2020 
  10. Ito, Katsutaka; Hasegawa, Hirokazu; Yamaguchi, Yukiko; Shimada, Hajime (8 August 2018). "Advances in Information and Computer Security". 13th International Workshop on Security, IWSEC 2018, Sendai, Japan, 3–5 September 2018. Springer. pp. 143, 150–151. ISBN 9783319979168. 
  11. "Degoogled Phone | Definitive Guide to CalyxOS & Micro G". https://gofoss.net/calyxos/. 
  12. "microG". https://calyxos.org/docs/guide/microg/. 
  13. "Broken - DivestOS Mobile". https://divestos.org/index.php?page=broken#unsupported. 
  14. "Faq - DivestOS Mobile". https://divestos.org/pages/faq#microgEnable. 
  15. Amadeo, Ron (9 October 2019). "Essential's new smartphone has the aspect ratio of a TV remote" (in en-us). https://arstechnica.com/gadgets/2019/10/essentials-new-smartphone-has-the-aspect-ratio-of-a-tv-remote/. 
  16. Rahman, Mishaal (23 September 2019). "Essential Confirms its Next Device is in Early Testing" (in en-US). https://www.xda-developers.com/essential-next-device-early-testing/. 
  17. Nieva, Richard. "Essential, led by Android founder Andy Rubin, is shutting down" (in en). https://www.cnet.com/news/essential-led-by-android-founder-andy-rubin-is-shutting-down/. 
  18. Hughes, Matthew (13 Feb 2020). "After just one phone, Essential Products ascends to the great venture capitalist in the sky" (in en). https://www.theregister.co.uk/2020/02/13/essential_products_closed/. 
  19. Wakabayashi, Daisuke; Griffith, Erin (2020-02-12). "Andy Rubin's Start-Up, Essential Products, Shuts Down" (in en-US). The New York Times. ISSN 0362-4331. https://www.nytimes.com/2020/02/12/technology/andy-rubin-essential-shutdown.html. 
  20. Introduction, iodeOS, 2022-08-22, https://github.com/iodeOS/ota, retrieved 2022-08-23 
  21. 21.0 21.1 "Murena, the privacy-first Android smartphone, arrives" (in en). https://www.zdnet.com/article/murena-the-privacy-first-android-smartphone-arrives/. 
  22. "Meet eelo: An Android-based operating system that doesn't use Google services" (in en-US). 3 January 2018. https://www.bgr.in/news/meet-eelo-an-android-based-operating-system-that-doesnt-use-google-services/. 
  23. Singh, Charanjeet (25 November 2018). "Privacy-focused /e/ Smartphone OS Gets Support For More Devices". https://fossbytes.com/privacy-focused-e-smartphone-os-gets-support-for-more-devices/. 
  24. Wang, Jules (15 May 2019). "This company will sell refurbished Android phones with all of Google's services removed". Illogical Robot. https://www.androidpolice.com/2019/05/15/this-company-will-sell-refurbished-android-phones-with-all-of-googles-services-removed/. 
  25. "OmniROM". 2020-03-10. https://omnirom.org/#blog. 
  26. Davenport, Corbin (29 April 2018). "This is what it's like using only open-source software on Android". Illogical Robot. https://www.androidpolice.com/2018/04/29/like-using-open-source-software-android/. 
  27. Hesse, Brendan (8 November 2018). "The Comprehensive Guide to Quitting Google". https://lifehacker.com/the-comprehensive-guide-to-quitting-google-1830001964. 

External links