lineageos4microg / lineageos4microg.github.io

LineageOS for microG website.
Other
25 stars 16 forks source link

Remove Google Apps from v15 #16

Open rugk opened 6 years ago

rugk commented 6 years ago

It seems some Google apps are bundled with LineageOS in v15.

See https://www.reddit.com/r/LineageOS/comments/83wqdp/project_fi_and_gapps_inside_lineageos/

As I doubt any microg user would use them (or use Google Fi, or so), maybe you can remove them from your build.

corna commented 6 years ago

Thanks for the reminder, I totally forgot about this.

I've looked at the content of /system/app and /system/priv-app of a bullhead build and I've found six Google apks:

I've never heard of them, but after a short research it seems to me that:

What about the others?

rugk commented 6 years ago

and AFAIK all these don't work without Google Play Services. And as I doubt that they work with microG, one can certainly remove them.

corna commented 6 years ago

I've scanned the blobs directories and the affected devices (at least on 15.1) seem to be

On it!

corna commented 6 years ago

Btw, do you have one of these?

If so, are you available to flash my test ZIPs on it?

rugk commented 6 years ago

no

mddvul22 commented 5 years ago

Personally, I think the idea that a Microg user wouldn't be using Project Fi is a bad assumption. For example, a person using Lineage for Microg would be able to get the bare minimum to use Project Fi from a combination of the Yalp Store (Project Fi app updates, Carrier Services, Google Dialer) and the Google Dialer Framework from Magisk. This would allow a person using Fi to still avoid the Google Services Framework, the Play Store, and a system-wide Google account on their device, right? A quick search online shows that there are definitely people trying to use Lineage for Microg with Project Fi.

rugk commented 5 years ago

people trying to use Lineage for Microg with Project Fi

Does not sound like they were successful though. I doubt microG would be enough and thought they needed Play Services, but if you have references.

A quick search online shows

A direct link would also show it to us. But as it seems, you also did not try it?

mddvul22 commented 5 years ago

When I last used Fi, I was using straight lineageos (not the microg variant). I have a new Fi sim card coming tomorrow. Will give it an attempt and report back.

mddvul22 commented 5 years ago

OK, I tried my idea on Thursday night. I already had Lineage OS for Microg installed. I downloaded the latest Project Fi app, using the Yalp Store. I was able to successfully activate Project Fi without any additional Gapps packages. installed on my phone. And I could place calls with the AOSP dialer. But I couldn't switch carriers, away from T-Mobile. So, I installed the Google Dialer Framework, using Magisk Manager and then installed the Goodle Dialer from the Yalp Store. But, unfortunately, I still couldn't switch carriers. I then installed Carrier Services from the Yalp Store, and that didn't help either. Additionally, wi-fi calling wasn't working either. I even tried moving the dialer and carrier services to system partition, but it didn't make any difference. To get everything working, I was forced to install a minimal Open-Gapps, with the dialer framework, dialer, carrier services, Fi, etc. Once I did that, everything worked. So, my idea didn't work -- even though I think it would be great, if it did.

rugk commented 5 years ago

I was forced to install a minimal Open-Gapps, with the dialer framework, dialer, carrier services, Fi, etc.

Okay, this was what I expected. So, removing these lib from the microG lineage version seems to be all fine. :smiley:

LuccoJ commented 2 years ago

I note that this still seems to be the case in LineageOS 18.1.