News for hackers. Stuff that matters.
Re:LineageOS 19 by karteum on Tuesday April 26, 2022 @08:38AM (#31166706)
I wish that LineageOS could accept the "signature spoofing" patch that is needed for microg (possibly with a toggle switch that would be "off" by default), so that we could avoid the need for the less-frequently-updated https://lineage.microg.org/ and properly install apps from Play Store without the Google Service Framework (that essentially give root access to Google on your smartphone).

(and actually I also wish they could implement the shims developed by https://grapheneos.org/usage#sandboxed-google-play in order to sandbox the google play services, so that the user could choose between approach 1 (microg with signature spoofing) and approach 2 (sandboxed GSF) on any smartphone supported by LineageOS (grapheneos only supports Pixel phones due to their ability to relock the bootloader))

Re:LineageOS 19 by user_7832 on Tuesday April 26, 2022 @10:19AM (#31167778)
I believe the reason Lineage doesn't do this (along with things like SafetyNet spoofing/passing) is to stay on the right side of Google et al. This way there's never a threat of a legal shutdown à la Vanced. If Lineage was backed by big foundations/folks with deep pockets that could change.

I have no idea why GrapheneOS takes this risk, but am grateful to them nevertheless for the code.

Re:LineageOS 19 by user_7832 on Tuesday April 26, 2022 @03:10PM (#31171788)
I'd like to edit this comment but unfortunately it's probably too late to edit - it appears I was at least partially mistaken. LOS declined to integrate MicroG because of security concerns from spoofing signatures, as per the Wikipedia article of MicroG (https://en.wikipedia.org/wiki/MicroG)
Re:LineageOS 19 by karteum on Tuesday April 26, 2022 @03:39PM (#31172181)
Yes, but if it was with a toggle switch (and a default value on "off"), then the user could decide and take the risk (and/or only activate it when needed), which would alleviate the risk.
Re:LineageOS 19 by SahAssar on Tuesday April 26, 2022 @03:17PM (#31171903)
The spoofing can be locked down to only include microg, this is the approach calyxos has taken.
Re:LineageOS 19 by NoGravitas on Tuesday April 26, 2022 @02:48PM (#31171502)
I think GrapheneOS does things completely differently, with actual Google Play Services in a sandbox, and doesn't need signature spoofing.
Re:LineageOS 19 by dTal on Tuesday April 26, 2022 @12:01PM (#31169134)
Perhaps I'm not understanding the issue - what legal standing does Google have to object? "Terms of service violation"?
Re:LineageOS 19 by user_7832 on Tuesday April 26, 2022 @12:30PM (#31169530)
Partly that, but also a lot of/all of Google Services Framework is proprietary Google code. Other implementations reverse-engineer and modify it afaik. Google probably doesn't go after them because they're small, but LOS is the largest such organization and would be an easy target if Google were to sue.

And also, even if it's technically legal, it's such lawsuits/slappsuits can entirely bring down an organization as legal fees can be very expensive. They probably want to err on the side of caution so that Google can't, and wouldn't care to, sue them.

Re:LineageOS 19 by SahAssar on Tuesday April 26, 2022 @12:50PM (#31169809)
microg replicates the API but contains no actual google code, right? Isn't that exactly what google argued was completely legal when they were sued by oracle over replicating the java API?
Re:LineageOS 19 by user_7832 on Tuesday April 26, 2022 @03:15PM (#31171871)
Yes MicroG is open source, but they probably had to reverse engineer something. However I don't know if that's the main reason, my initial comment was likely (partially?) wrong, here's an update: https://news.ycombinator.com/item?id=31171788
Re:LineageOS 19 by SahAssar on Tuesday April 26, 2022 @03:29PM (#31172043)
I responded to the other comment too, but:

> Yes MicroG is open source, but they probably had to reverse engineer something.

MicroG being open source is irrelevant. The relevant point is that google play services is not, so MicroG devs could not have copied source from it. Besides the fact that the API used by other programs to interact with play services is public and that the team had no access to the play services source code US law also has a specific carve out for "interoperability" which might (I'm guessing) apply here. Google has already spent many years and many millions in court arguing that an API is not copyrightable.

IANAL but it seems hard to argue that this would be an easy legal case.

Re:LineageOS 19 by colordrops on Tuesday April 26, 2022 @12:48PM (#31169771)
Is this your speculation or is that their stated reasoning?
Re:LineageOS 19 by kbenson on Tuesday April 26, 2022 @02:00PM (#31170860)
Nobody is talking about stated reasons, the question is what grounds Google would have to object on if they chose to. That means it's speculation.
Re:LineageOS 19 by user_7832 on Tuesday April 26, 2022 @03:05PM (#31171720)
Edit: I'm no longer trusting my memory lol. Apparently security was why LOS didn't integrate it (see https://news.ycombinator.com/item?id=31171788). I'm still leaving my original reply below.

The SafetyNet part is something I read from somewhere else, though unfortunately I don't remember if that was LOS or some random developer on reddit/XDA. You can treat most of this as (oft-repeated) speculation by users.

Re:LineageOS 19 by m3adow on Tuesday April 26, 2022 @09:14AM (#31167076)
Having the sandboxed Google Play services would be wonderful. I'm currently using LineageOS with microG and Aurora store, but quite a lot of apps do not properly run with microG. Having some kind of fallback alternative in a second user or even better a work profile would be great.
Re:LineageOS 19 by colordrops on Tuesday April 26, 2022 @12:49PM (#31169794)
What apps dont run for you? Everything is working fine for me. Are you also using Magisk with the DenyList enabled?
Re:LineageOS 19 by ajvs on Tuesday April 26, 2022 @01:30PM (#31170422)
Uber maps are totally inaccurate when you try to zoom in/out with microG (even with Mapbox), unfortunately had to reinstall GApps because of this.

Because of this I'd love to see GrapheneOS' sandboxed Google Play Services shims I'd love to see integrated into LineageOS.

Re:LineageOS 19 by alex-robbins on Tuesday April 26, 2022 @10:34PM (#31175616)
Not sure if this is acceptable to you, but Uber has a web app at <https://m.uber.com>. I seem to recall that you have to "request" access in order to use it, but it was an automated rubber-stamp thing. The only downside (besides what you'd expect for a web app vs a native app) is that you can't do fancy things like multiple destinations in one trip, or changing your destination on the fly.

The Lyft equivalent is <https://ride.lyft.com>.

Re:LineageOS 19 by ajvs on Wednesday April 27, 2022 @04:04PM (#31185046)
Unfortunately the Uber web app is disabled for my country (UK).
Re:LineageOS 19 by mishafb on Tuesday April 26, 2022 @01:07PM (#31170079)
There's a payment app that detects the installation source is not google play store, and I haven't found a way to use it
Re:LineageOS 19 by LukeShu on Tuesday April 26, 2022 @02:16PM (#31171058)
FYI, GrapheneOS supports sandboxed Google Play services.
Re:LineageOS 19 by guillermin on Tuesday April 26, 2022 @08:46AM (#31166788)
I'm getting bi-weekly updates on LineageOS for MicroG (Xiaomi Poco F3), which I consider more than enough.
Re:LineageOS 19 by karteum on Tuesday April 26, 2022 @08:57AM (#31166900)
I have a Oneplus 5T (dumpling) and get much less frequent updates (which puzzles me : I though they would have an automated build system i.e. that all supported devices would have exactly the same updates at the same time...)
Re:LineageOS 19 by ysleepy on Tuesday April 26, 2022 @12:11PM (#31169272)
I have yet to jump to lineage with the 5T, does it run well? I've had so many phones have glitches like random reboots etc. before, I'm hesitant.
Re:LineageOS 19 by ssvss on Thursday April 28, 2022 @10:34PM (#31200746)
I have been running lineage for more than a year in my OP5, I don't face any issues with it. I don't use microg. I have also rooted it with magisk, so that banking apps will work.
Re:LineageOS 19 by lazyier on Tuesday April 26, 2022 @09:04AM (#31166978)
Probably something is broken/fragile in the build for that particular image and the maintainer doesn't have a lot of time to fix it.
Re:LineageOS 19 by Markoff on Tuesday April 26, 2022 @09:09AM (#31167026)
You can install apps from Play Store through Aurora store without GSF.

But I agree with your sentiment.

Re:LineageOS 19 by tymscar on Tuesday April 26, 2022 @12:10PM (#31169251)
You can’t install paid apps and your google account can be terminated at any point for using Aurora store. So it’s out of the question for a lot of people
Re:LineageOS 19 by colordrops on Tuesday April 26, 2022 @01:31PM (#31170443)
Other than paid apps you can use an anonymous or burner account for Aurora - no need to put your Google account at risk.

You can also migrate off google and not worry about it.

Re:LineageOS 19 by Markoff on Wednesday April 27, 2022 @03:06AM (#31177139)
you don't need to provide any Google account, they provide dummy accounts within app

I'm not sure about paid apps unable to install, never tried, I thought that's the whole point of signing in with your own account

Re:LineageOS 19 by hedora on Tuesday April 26, 2022 @09:39AM (#31167324)
I'm on GrapheneOS for this reason. Sandboxed GSF isn't perfect, but it's good enough for use as a daily driver.
Re:LineageOS 19 by gear54rus on Tuesday April 26, 2022 @10:49AM (#31168163)
Can you share what's broken on this config?
Re:LineageOS 19 by 0xdeadb00f on Tuesday April 26, 2022 @10:54PM (#31175758)
Sandboxes GSF literally IS perfect though. I'd be interested to know what doesn't work for you.
Re:LineageOS 19 by jhoho on Wednesday April 27, 2022 @01:24AM (#31176626)
I'd also love to see them forking CalyxOS' Datura firewall: https://calyxos.org/docs/tech/datura-details/ It's so much handier when you don't have to navigate through each app's settings.
Re:LineageOS 19 by dimensionc132 on Tuesday April 26, 2022 @01:37PM (#31170511)
Install a custom rom such as MokeeOS which is derived from Lineage sans microg