forked from LeddaZ/frameworks_base
PropImitationHooks: Update fingerprint to komodo and tangorpro AP4A.241205.013
Change-Id: I4770cc15657fe99866daba1de6fd15b7a062e907
This commit is contained in:
parent
f58316fb70
commit
4c8df4f0a6
|
@ -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<String, String> sPixelEightProps = Map.of(
|
||||
"PRODUCT", "husky",
|
||||
"DEVICE", "husky",
|
||||
"HARDWARE", "husky",
|
||||
private static final Map<String, String> 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<String, String> 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<String> 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:
|
||||
|
|
Loading…
Reference in New Issue