[Android General] PiXinCreate:
Linking previous about GMS_Comapt by @sn00x here: https://xdaforums.com/t/sandboxed-play-services.4341085/

I'd talks with GrapheneOS dev on twitter and reproducing them here for more insights:

> Can gms_compat be made available to use by everyone? I really want that to be implemented on LineageOS but that's not possible as they straight away rejected the request.

Is gms_compat device specific? If not, can it developed as a Magisk moduleso that installing that allows users to install GApps without actually flashing them in the first place?

Thank you.

> it's not device specific at all

> it could be easily ported elsewhere at least once the changes are squashed

> Can you elaborate a bit about these in case of the time permits? Squashing changes? You mean merging of commits?

> https://github.com/GrapheneOS/platform_libcore/commit/8d4383d15f9baed7665dbb459b29567e729b166d

> here's the simplified libcore changes, for example

> will be doing frameworks/base next

> Sandboxed Google Play compatibility layer (gmscompat):

Add support for loading DEX files from "/proc/self/fd" APK paths · GrapheneOS/platform_art@0e27719

Needed to load code from the Google Play services' Dynamite APK modules, which are available only by the file descriptor reference.

github.com

gmscompat: linker: Add support for opening zip files by fd paths · GrapheneOS/platform_bionic@17e9a9a

In some cases, it can be useful to load libraries from zip files that are only available by fd reference. For example, file descriptors of APKs containing native libraries may be sent via Binder IP...

github.com

add GmsCompat app · GrapheneOS/platform_build@85c5b95

Make Build System (being phased out upstream). Contribute to GrapheneOS/platform_build development by creating an account on GitHub.

github.com

gmscompat: add compatibility layer for unprivileged GMS · GrapheneOS/platform_frameworks_base@8928383

Originally authored by Danny Lin <danny@kdrag0n.dev> for inclusion in GrapheneOS. It has since been substantially extended and rewritten by Dmitry Muhomor <muhomor.dmitry@gmail.com> (pr...

github.com

gmscompat: support for Dynamite modules · GrapheneOS/platform_libcore@8d4383d

Authored by Danny Lin <danny@kdrag0n.dev> and Dmitry Muhomor <muhomor.dmitry@gmail.com> for inclusion in GrapheneOS. Commit history: Before June 2022: https://github.com/GrapheneOS/pl...

github.com

https://github.com/GrapheneOS/platform_packages_apps_GmsCompat

https://github.com/GrapheneOS/platf...mmit/550842c62ac693234b38fcaa0ed30692fae1873b

do not allow disabling GmsCompat app · GrapheneOS/platform_packages_apps_Settings@7036f71

Apps will break if it's disabled, handling this case in code increases complexity unnecessarily.

github.com

gmscompat: Add ConnectivityManager hook for baseline compatibility · GrapheneOS/platform_packages_modules_Connectivity@039c4ab

This is part of GmsCompat's baseline compatibility for unprivileged Google Play Services. Change-Id: I3e87706f1f3b87c0af9d00f6ce92144469596f8c

github.com

gmscompat: restart GMS processes when permission gets granted · GrapheneOS/platform_packages_modules_Permission@e39e7b9

Contribute to GrapheneOS/platform_packages_modules_Permission development by creating an account on GitHub.

github.com

gmscompat: Add WifiManager hooks for baseline compatibility · GrapheneOS/platform_packages_modules_Wifi@7ddba36

This is part of GmsCompat's baseline compatibility for unprivileged Google Play Services. Change-Id: I2f56a47a6a732d6a73531c7f80aca69065a88c38

github.com

gmscompat: allow harmless COLUMN_NOTIFICATION_CLASS · GrapheneOS/platform_packages_providers_DownloadProvider@0bec164

Contribute to GrapheneOS/platform_packages_providers_DownloadProvider development by creating an account on GitHub.

github.com

Pixel eSIM management app integration:

https://github.com/GrapheneOS/platf...mmit/be60cb05013a1fb61675f21c705ddbef296f221a

https://github.com/GrapheneOS/platf...mmit/4c4a2f0df9c53eaf22b7add0305f0bfaac46695c

> this is the list of commits now

> after it has been squashed / cleaned up

> Thank you very much for more detailed info. I'll try my level best analyse and learn from these.

Based on this, I believe that, instead of making GMS_Compat just available for LineageOS, we can make it a module that can be flashed wither with Magisk or Recovery making it available for everyone as it is **NOT** device specific..