From d4e955ba104543fb4b3111b56c5c69f084a64b74 Mon Sep 17 00:00:00 2001 From: Pranaya Deomani Date: Wed, 7 Aug 2024 13:47:42 +0530 Subject: [PATCH] PropImitationHooks: Update fingerprint to komodo and tangorpro AP4A.241205.013 Change-Id: I4770cc15657fe99866daba1de6fd15b7a062e907 --- .../internal/util/PropImitationHooks.java | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/core/java/com/android/internal/util/PropImitationHooks.java b/core/java/com/android/internal/util/PropImitationHooks.java index 79c544b69264..38f35bb4df69 100644 --- a/core/java/com/android/internal/util/PropImitationHooks.java +++ b/core/java/com/android/internal/util/PropImitationHooks.java @@ -56,15 +56,15 @@ public class PropImitationHooks { private static final ComponentName GMS_ADD_ACCOUNT_ACTIVITY = ComponentName.unflattenFromString( "com.google.android.gms/.auth.uiflows.minutemaid.MinuteMaidActivity"); - private static final Map sPixelEightProps = Map.of( - "PRODUCT", "husky", - "DEVICE", "husky", - "HARDWARE", "husky", + private static final Map sPixelNineProps = Map.of( + "PRODUCT", "komodo", + "DEVICE", "komodo", + "HARDWARE", "komodo", "MANUFACTURER", "Google", "BRAND", "google", - "MODEL", "Pixel 8 Pro", - "ID", "AP2A.240705.005", - "FINGERPRINT", "google/husky/husky:14/AP2A.240705.005/11942872:user/release-keys" + "MODEL", "Pixel 9 Pro XL", + "ID", "AP4A.241205.013", + "FINGERPRINT", "google/komodo/komodo:15/AP4A.241205.013/12621605:user/release-keys" ); private static final Map sPixelTabletProps = Map.of( @@ -74,8 +74,8 @@ public class PropImitationHooks { "MANUFACTURER", "Google", "BRAND", "google", "MODEL", "Pixel Tablet", - "ID", "AP2A.240705.005", - "FINGERPRINT", "google/tangorpro/tangorpro:14/AP2A.240705.005/11942872:user/release-keys" + "ID", "AP4A.241205.013", + "FINGERPRINT", "google/tangorpro/tangorpro:15/AP4A.241205.013/12621605:user/release-keys" ); private static final Set sPixelFeatures = Set.of( @@ -136,7 +136,7 @@ public class PropImitationHooks { /* Set certified properties for GMSCore * Set stock fingerprint for ARCore - * Set Pixel 8 Pro / Pixel Tablet for Google, ASI and GMS device configurator + * Set Pixel 9 Pro XL / Pixel Tablet for Google, ASI and GMS device configurator */ switch (processName) { case PROCESS_GMS_UNSTABLE: @@ -154,8 +154,8 @@ public class PropImitationHooks { dlog("Spoofing Pixel Tablet for: " + packageName + " process: " + processName); setProps(sPixelTabletProps); } else { - dlog("Spoofing Pixel 8 Pro for: " + packageName + " process: " + processName); - setProps(sPixelEightProps); + dlog("Spoofing Pixel 9 Pro XL for: " + packageName + " process: " + processName); + setProps(sPixelNineProps); } return; case PACKAGE_ARCORE: