Skip to content

[BUG] Apps with sharedUserId show up under random sibling package instead of sharedUserId #239

@fedmah

Description

@fedmah

Description:
Apps that declare the same android:sharedUserId are shown in LogFox under a seemingly random package name that shares the same UID, instead of being identified/grouped by their sharedUserId.

Steps to reproduce:

  1. Install two apps signed with the same cert and using the same android:sharedUserId in their manifests.
  2. Generate logs from both apps (e.g., via Log.d or crashes).
  3. Open LogFox and inspect the app/package shown for those log entries.

Actual behavior:
Log entries from both apps appear under one arbitrary package name that shares the UID, making it unclear which app (or shared UID group) they belong to, this is especially bad for system apps which may have 50 packages under the same sharedUserID.

Expected behavior:
Logs for apps sharing a UID should be grouped/labelled by their sharedUserId (or clearly indicate the shared UID group), not by a random sibling package name.

Environment:

  • LogFox version: 2.1.10
  • Android: 16

Notes:
Because android:sharedUserId maps multiple packages to the same Linux UID, resolving logs purely by UID→package can be misleading; LogFox should either surface the sharedUserId or clearly show all packages sharing that UID.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions