microg / microg/GmsCore

[Shelter Work Profile] FakeStore unable to get spoof permission

Open
#913 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Hi everyone, i have a complete working microg setup on my main profile and i was trying to get it working also on my work one (using shelter).

Everything went smooth, i cloned over all the required microg components, i was able to give microg the spoof permission but phonesky/fakestore for some reason doesn't obtain it.

This was also happening on my main profile but i solved it by manually giving the required permission to the fake vending using the command:
pm grant com.android.vending android.permission.FAKE_PACKAGE_SIGNATURE

I tried to do the same thing from inside the work profile by cloning over magisk (for su) and a terminal emulator but even though i wasn't given an error, phonesky is not able to spoof its signature.

UPDATE:
Revoking and granting again the permission doesn't solve the issue.
It might as well be an implementation issue of signature spoofing by the ROM (HavocOs on Whyred).

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

Start by reproducing the permission behavior in a Shelter work profile with the cloned microG components, comparing it with the main profile. Check whether pm grant com.android.vending android.permission.FAKE_PACKAGE_SIGNATURE changes FakeStore behavior, and record the result on HavocOS running on Whyred; a useful outcome would identify whether the failure is in the work profile or ROM signature-spoofing implementation.

Written by the indexing model from the issue text.

Assessment

Tech stack
android
Domain
mobile-dev, operating-systems, security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.