Delete patches_platform/frameworks_base/0019-gmscompat-Use-Nexus-6P-fingerprint-for-CTS-Integrity.patch
This commit is contained in:
parent
6d7e965504
commit
8a002da9c5
@ -1,46 +0,0 @@
|
|||||||
From d67897a23c6e182294d6a6d137d7ccc430a1abe0 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Dyneteve <dyneteve@hentaios.com>
|
|
||||||
Date: Thu, 8 Sep 2022 14:39:52 +0200
|
|
||||||
Subject: [PATCH 19/22] gmscompat: Use Nexus 6P fingerprint for CTS/Integrity
|
|
||||||
|
|
||||||
Google seems to have patched the KM block to Play Store in record time,
|
|
||||||
but is still not enforced for anything under android N.
|
|
||||||
|
|
||||||
Since we moved to angler FP we don't need to spoof model to Play Store
|
|
||||||
anymore, however the KM block is still needed.
|
|
||||||
|
|
||||||
Test: Run Play Intregrity Attestation
|
|
||||||
|
|
||||||
Signed-off-by: Dyneteve <dyneteve@hentaios.com>
|
|
||||||
Change-Id: Ic2401a6e40ddfc4318a1d0faa87e42eb118ac3d1
|
|
||||||
---
|
|
||||||
.../com/android/internal/gmscompat/AttestationHooks.java | 6 +++---
|
|
||||||
1 file changed, 3 insertions(+), 3 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/core/java/com/android/internal/gmscompat/AttestationHooks.java b/core/java/com/android/internal/gmscompat/AttestationHooks.java
|
|
||||||
index 65469239a0c6..328d9777b2a2 100644
|
|
||||||
--- a/core/java/com/android/internal/gmscompat/AttestationHooks.java
|
|
||||||
+++ b/core/java/com/android/internal/gmscompat/AttestationHooks.java
|
|
||||||
@@ -54,8 +54,9 @@ public final class AttestationHooks {
|
|
||||||
}
|
|
||||||
|
|
||||||
private static void spoofBuildGms() {
|
|
||||||
- // Alter model name to avoid hardware attestation enforcement
|
|
||||||
- setBuildField("MODEL", "Pixel 5a");
|
|
||||||
+ // Alter model name and fingerprint to avoid hardware attestation enforcement
|
|
||||||
+ setBuildField("FINGERPRINT", "google/angler/angler:6.0/MDB08L/2343525:user/release-keys");
|
|
||||||
+ setBuildField("MODEL", "Nexus 6P");
|
|
||||||
}
|
|
||||||
|
|
||||||
public static void initApplicationBeforeOnCreate(Application app) {
|
|
||||||
@@ -67,7 +68,6 @@ public final class AttestationHooks {
|
|
||||||
|
|
||||||
if (PACKAGE_FINSKY.equals(app.getPackageName())) {
|
|
||||||
sIsFinsky = true;
|
|
||||||
- spoofBuildGms();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
--
|
|
||||||
2.34.1
|
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user