microg / microg/GmsCore

patch to accept a network location provider outside of /system

Open
#1,556 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Java
Stars
14.6k
Forks
3.2k
Avg merge
12d 11h
Merged PRs (30d)
4

Description

Hi!

When building a custom rom (lineage 18.1), with the goal to add microg as a regular user package (from f-droid for example), I had to apply a supplementary patch to frameworks/base, to make it accept network location providers outside of /system (the spoofing signature patches from lineageos4microg /docker-lineage-cicd were not enough).

So, in my case, I had to add this patch from UnifiedNlp/patches/android_frameworks_base-N.patch to my custom rom, and slightly adapt it for R. (it applied just fine for Q, IIRC).

Maybe this could be more explicitly advertised in the documentation ?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Read the issue details and the referenced UnifiedNlp/patches/android_frameworks_base-N.patch, noting how it was adapted for Android R. Update the project documentation to explicitly explain that accepting network location providers outside /system may require this frameworks/base patch, and verify that the documented guidance matches the referenced patch.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
documentation, mobile-dev
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.