MicroG: Free-libre re-implementation of Google's proprietary Android user space (github.com)
357 points by theanonymousone 15 hours ago
maelito 9 hours ago
I have never understood why people using MicroG can use apps like SNCF-Connect, while I cannot.
SNCF-connect is the largest online marchant in France. Since june, I cannot click the "pay" button anymore. It coincides with the new feature of Pay with Google.
So : is it because MicroG allows calls to Google services on e/OS devices, while my LineageOS refuses ? Or because MicroG implemented a try catch around this call, without any call to Google's servers ?
Maken 9 hours ago
I think that's because /e/os also distributes App Lounge [1], which can connect to Google Store and handle payments (most of the time).
singing_tartly 5 hours ago
If it connects to Play Store, then isn't that the same as Aurora? Can people's accounts be banned? That would really suck to pay for something and lose it because Google banned you haha!
ThePowerOfFuet 4 hours ago
I have no Google anything installed on GrapheneOS and SNCF Connect works fine.
ForHackernews 9 hours ago
Some Play Services calls are stubbed out as no-ops and others are reimplemented either with fully free replacements (e.g. navigation) or else by calling proprietary Google remote endpoints (e.g. firebase)
orphea 11 hours ago
I guess this is submitted because of https://news.ycombinator.com/item?id=50154624 ?
jamesnorden 10 hours ago
Why do the most recent commits all say "Merge commit from fork" without any description of what the changes do or what the fork is?
forgotpwd16 10 hours ago
Lazy merge commits. The descriptions of the changes are in the commits from the merged branches.
Pxtl 7 hours ago
This is why I always think emperor git wears no clothes. Hiding these kind of intermediate junk commits from history should not require rewriting and breaking the distributed history you all share. imho the correct solution would be a tag-like layer for annotating existing commits with metadata (additional signatures, hide-flags, retroactive comments, etc) or just a full 2nd dag, but whatever: git sucks at annotating history and annotating history is a core workflow in git.
chungy 2 hours ago
rlpb an hour ago
mshish 9 hours ago
It's too bad you have to rely on signature spoofing to be able to use this as an alternative (but obviously I understand why). The spoofing looks narrowly scoped on LineageOS, but in general I imagine it creates some risk.
floro 6 hours ago
Why can't they signature spoof for those fundamental apps and prevent installing or uninstalling them, similar to how you can't uninstall google stuff on stock android?
HybridStatAnim8 5 hours ago
Signature spoofing violates the android security model. It means giving privileged access to microG, which means giving privileged access to google. For a privacy project, granting 3rd parties privileged access is unacceptable.
ForHackernews 4 hours ago
singing_tartly 5 hours ago
I heard about this, but don't understand the risks?
xx__yy 11 hours ago
I use it on LineageOS, works a charm
cf100clunk 6 hours ago
MicroG is possible to run on GrapheneOS but isn't recommended since GOS has a sandboxing solution for running Google Play apps:
ForHackernews 6 hours ago
Graphene generally seems to feel that running official signed Google adware is more secure than using open source alternatives that might require signature spoofing or having root on your own device.
grapheneos 3 hours ago
microG still heavily uses closed source Google services and even downloads executables run with the full privileges of microG. It downloads and runs droidguard with the privileges it has, giving that full access to the privileged access granted to microG.
Each app using Google Play still has the closed source Google Play SDK and libraries built into it in practice. It's extraordinarily rare to replace those libraries with the incomplete and buggy reimplementations from microG. Very close to zero otherwise open source apps are using those. The closed source Google Play SDK and libraries are therefore still part of the loop and have access to what the app can access. Many of the code paths in the Google libraries directly use Google services without requiring Play services including the full versions of the Ads and Analytics libraries.
The vast majority of data obtained by Play services is via the OS integration and permissions. Apps using it for push messaging, logging into accounts and many other features will send the same data to Google services regardless of whether you use it via sandboxed Google Play or microG.
GrapheneOS stubs out and reimplements APIs on the client side. That includes providing a complete implementation of the Google Play services location API not using on Google Play. These features are being expanded over time. They'll also be made available without having Google Play.
The GrapheneOS approach avoids giving an additional global service access to sensitive data from the OS and apps. microG has repeatedly had vulnerabilities leaking sensitive data to apps including location data. The approach of having an extra service sitting between apps and the OS which handles sensitive data means having to add all the same privacy and security checks as Play services which microG doesn't do in practice and it has caused severe privacy leaks. The main location leakage was eventually fixed but it persisted for years and there are still holes in the location service causing privacy issues.
Unlike microG, sandboxed Google Play doesn't get privileged access. That includes the executables (droidguard) downloaded by microG not getting privileged access. GrapheneOS also doesn't give privileged access to other apps such as Android Auto when those are installed as all the main operating systems using microG are doing. That privileged access gives access to highly sensitive data and doesn't require apps explicitly sending data to Google services, which will nearly all still go to Google services with a partial replacement of the middleware on the device.
other8026 5 hours ago
GrapheneOS's approach is Sandboxed Google Play so the apps don't get special permissions. Without privileged access, Google apps get access to nothing more than what other apps can get access to on Android. So, for example, even if a device has microG installed, an app with a Google library would have virtually the same access as if Sandboxed Google Play was installed. And why would anyone need microG if not to provide compatibility for apps that rely on Play Services, aka apps with Google libraries?
Also, for some reason some people think that microG means deGoogling. That's not at all the case. microG still communicates with Google servers.
microG doesn't meet the project's requirements. If you look at the big picture, microG offers worse app compatibility and is less secure. The cons outweigh the pros by a lot. "Google bad" isn't an argument that works for us. App compatibility is very important.
ForHackernews 4 hours ago
hgfygkh 5 hours ago
TornadoLabfox 3 hours ago
Okay, so lemme break this down real simple
(Correction from prior statement)
GmsCompat is a layer that runs the official google play services and store in the app sandbox which also strips it of all privileges and teaches it to function with only the bare minimum.
The app itself is sandboxed
But it is taught to run without the app panicking
The app sandbox is an OS feature: https://source.android.com/docs/security/app-sandbox.
HybridStatAnim8 5 hours ago
Running google code sandboxed is far more secure than running google code with privileged access. MicroG downloads and runs google code in a privileged context and has had many privacy and security issues like leaking location to apps that dont have the location permission.
mzajc 5 hours ago
hgfygkh 5 hours ago
de-Googleling is unfortunately not a priority for GrapheneOS.
Itoldmyselfso 2 hours ago
other8026 5 hours ago
floro 6 hours ago
GrapheneOS is incredibly focused on security. Privacy is clearly a second thought to them.
grapheneos 5 hours ago
other8026 5 hours ago
HybridStatAnim8 5 hours ago
ramon156 9 hours ago
I dont get why some apps depend on Google Play functionality. Why can't I download Telegram on /e/OS
microtonal 9 hours ago
This about Play Services and not the Play Store. Play Services are a bunch of extra APIs/services that Google does not make available as part of AOSP. The non-nefarious reason is to make it possible to fix bugs and roll out features faster because the OEMs are terrible at rolling out new Android versions. The possible nefarious reason is to make more of Android closed-source.
At any rate, microG is a reimplementation of Play Services.
You can directly download the Telegram APK from: https://telegram.org/android
(Or using the app store that is part of /e/OS and serves as a front for both the Play Store and F-Droid.)
realusername 9 hours ago
They could also have it decoupled from the OS with an open-source version, these are two different subjects.
The real reason to me is that they want to avoid Android forks outside of their control.
microtonal 9 hours ago
raffael_de 9 hours ago
you can't download telegram from telegram.org?
cowlevel 9 hours ago
Telegram is a Russian spy app, it needs remote attestation you are not a bot because collecting bot data is not valuable.
hgfygkh 5 hours ago
Telegram works on my /e/OS device. I am using Obtainium to download it, but you can also download it from the website: https://telegram.org/android
philipallstar 12 hours ago
Is it too late to rename to "MindTheGapp"?
theandrewbailey 11 hours ago
Considering that MindTheGapps is a distribution of the real Google Apps packages, yes, it's too late.
mzajc 10 hours ago
Note that MindTheGapps is distributed at https://github.com/MindTheGapps/. The dot-com domain looks like unaffiliated SEO squatting and could change download links to malware anytime.
mzajc 5 hours ago
philipallstar 8 hours ago
Ah no! Oh well.
undefined 12 hours ago
p0w3n3d 10 hours ago
Go home! Goober!...
I mean Google!
hgfygkh 5 hours ago
My main device uses MicroG with LineageOS. It works really well, and I recommend it. It is a Murena phone from here: https://murena.com/
singing_tartly 5 hours ago
Murena? Didn't their CEO say that security is only for pedophiles lol. Can't trust that guy with our data.
Murena also sent data to Open AI, right? Didn't tell their users.
Also mixed up sessions on their service and users got other users' data downloaded on their devices.
We can't trust your judgement.
grapheneos 5 hours ago
The founder and leader of /e/ and Murena has repeatedly claimed highly private and secure devices primarily benefit criminals and pedophiles. He has also falsely claimed that GrapheneOS is mainly used by criminals. /e/ and Murena heavily mislead users about what they provide. In reality, they lag incredibly far behind on standard privacy/security patches and protections. They set a fake Android security patch level despite having many patches missing. They even miss a large subset of the AOSP patches. Drivers and firmware are rarely updated and lag far behind the official releases. Linux kernel updates are barely provided.
/e/ adds many privacy invasive services to the OS including tracking users with random identifiers for updates. They sent user speech data to OpenAI for years without obtaining consent beyond it being hidden in a massive terms of service but have finally moved away from doing that in newer versions. They still have a bunch of other privacy invasive services and still add many more Google services compared to AOSP by default along with giving those privileged access. microG on /e/ downloads and runs Google Play executables with highly privileged access by default and they give highly privileged to Android Auto and other components as their way of getting those running.
https://clubic.com/actualite-604786-murena-e-os-interview.ht...