Skip to content
 
 

Repository files navigation

MicroG vendor for FireLineage

This project facilitates the inclusion of the following apps/etc during build-time.

*Please see links above for sources and additional information on the components included within this project.

Why is this necessary?

For those seeking to install microG, there are some roadblocks:

Can't you just flash a NanoDroid package?

Installation by flashing an official package would be preferred, but I was unable to succeed with this method while on Pie. I can't attribute my failure here to user error, as NanoDroid worked flawlessly on pre-Pie roms. After trying several combinations of deodexing and running patcher on non-spoofing-enabled rom, not deodexing or running patcher on spoofing-enabled rom, running patcher in TWRP/magisk-mode, etc. I decided to have my desired components installed at build-time.

Signature-spoofing

Roms without built-in support for signature-spoofing can be built from source and patched to include it by applying an OS-specific patch from here.

Patching Procedure

cd to frameworks/base within your build directory.

download and apply patch

For android 9

wget https://raw.githubusercontent.com/microg/android_packages_apps_GmsCore/master/patches/android_frameworks_base-P.patch
patch -p1 < android_frameworks_base-P.patch

git clean -f to clean frameworks/base of ".orig" files with

For android 8

wget https://raw.githubusercontent.com/microg/android_packages_apps_GmsCore/master/patches/android_frameworks_base-O.patch
patch -p1 < android_frameworks_base-O.patch

git clean -f to clean frameworks/base of ".orig" files with

For android 7

wget https://raw.githubusercontent.com/microg/android_packages_apps_GmsCore/master/patches/android_frameworks_base-N.patch
patch -p1 < android_frameworks_base-N.patch

git clean -f to clean frameworks/base of ".orig" files with

Incorporate this project into build

in .repo/local_manifests/roomservice.xml, add

 <project name="FireLOS/android_vendor_microg" path="vendor/microg" remote="github" revision="master" />

add $(call inherit-product-if-exists, vendor/microg/microg.mk) to ex: device/google/muskie/aosp_walleye.mk

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages