Skip to content

Signature spoofing patch doesn't work for Android 7.1.1 #245

Description

Hi,

I want to build a custom ROM based on Android 7.1.1... Applying the signature spoofing patch from here (https://github.com/microg/android_packages_apps_GmsCore/tree/master/patches) worked fine for Android 6 and 7.0, however for 7.1.1 I receive the following error:

Prüfe Patch core/res/AndroidManifest.xml ...
Patch-Bereich #1 erfolgreich angewendet bei 1903 (249 Zeilen versetzt)
Prüfe Patch core/res/res/values/config.xml ...
Patch-Bereich #1 erfolgreich angewendet bei 1267 (-31 Zeilen versetzt)
Prüfe Patch core/res/res/values/strings.xml ...
Patch-Bereich #1 erfolgreich angewendet bei 664 (48 Zeilen versetzt)
Prüfe Patch services/core/java/com/android/server/pm/PackageManagerService.java ...
error: bei der Suche nach:
final Set permissions = permissionsState.getPermissions(userId);
final PackageUserState state = ps.readUserState(userId);

    return PackageParser.generatePackageInfo(p, gids, flags,
            ps.firstInstallTime, ps.lastUpdateTime, permissions, state, userId);
}

@Override

error: Anwendung des Patches fehlgeschlagen: services/core/java/com/android/server/pm/PackageManagerService.java:2816
error: services/core/java/com/android/server/pm/PackageManagerService.java: Patch konnte nicht angewendet werden

Can you give me a hint how to fix this?
Thanks in advance and best regards.

Activity

  1. mar-v-in commented on Dec 16, 2016

    @mar-v-in
    Member

    OmniROM has the patch active in their 7.1 branch (see this commit). What ROM are you trying to patch? There might be slight modifications in the ROM that cause the patch to fail.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions