From 15c6646d40c5f22a5b01b2a4308dd92ae7b100a5 Mon Sep 17 00:00:00 2001 From: ralph950412 Date: Wed, 14 Aug 2024 21:27:31 +0800 Subject: [PATCH] PIHooks: Update fingerprint to Pixel 9 Pro XL Change-Id: Ib29c9d619a362945979c290cf69f7993319eb6c0 --- .../internal/util/PropImitationHooks.java | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/core/java/com/android/internal/util/PropImitationHooks.java b/core/java/com/android/internal/util/PropImitationHooks.java index f2c4c468cf79..9477cff5f37e 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.240805.005", - "FINGERPRINT", "google/husky/husky:14/AP2A.240805.005/12025142:user/release-keys" + "MODEL", "Pixel 9 Pro XL", + "ID", "AD1A.240530.047", + "FINGERPRINT", "google/komodo/komodo:14/AD1A.240530.047/12143574:user/release-keys" ); private static final Map sPixelTabletProps = Map.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: