Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update fingerprints #14

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ android {
minSdk 21
targetSdk 31
versionCode 5
versionName "4.1"
versionName "5.0.2"
}

buildTypes {
Expand Down
20 changes: 20 additions & 0 deletions app/release/output-metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"version": 3,
"artifactType": {
"type": "APK",
"kind": "Directory"
},
"applicationId": "balti.xposed.pixelifygooglephotos",
"variantName": "release",
"elements": [
{
"type": "SINGLE",
"filters": [],
"attributes": [],
"versionCode": 5,
"versionName": "5.0.2",
"outputFile": "app-release.apk"
}
],
"elementType": "File"
}
54 changes: 41 additions & 13 deletions app/src/main/java/balti/xposed/pixelifygooglephotos/DeviceProps.kt
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,10 @@ object DeviceProps {
"com.google.android.feature.PIXEL_2021_EXPERIENCE",
"com.google.android.apps.photos.PIXEL_2021_PRELOAD",
),
Features("Pixel 2022", // Pixel 7 Pro
"com.google.android.feature.PIXEL_2022_EXPERIENCE",
"com.google.android.apps.photos.PIXEL_2022_PRELOAD",
),
)

/**
Expand Down Expand Up @@ -142,6 +146,7 @@ object DeviceProps {
AndroidVersion("Q 10.0", "10", 29),
AndroidVersion("R 11.0", "11", 30),
AndroidVersion("S 12.0", "12", 31),
AndroidVersion("T 13.0", "13", 32),
)

/**
Expand Down Expand Up @@ -173,6 +178,7 @@ object DeviceProps {

DeviceEntries(
"Pixel XL", hashMapOf(
Pair("ID", "QP1A.191005.007.A3"),
Pair("BRAND", "google"),
Pair("MANUFACTURER", "Google"),
Pair("DEVICE", "marlin"),
Expand All @@ -186,107 +192,129 @@ object DeviceProps {

DeviceEntries(
"Pixel 2", hashMapOf(
Pair("ID", "RP1A.201005.004.A1"),
Pair("BRAND", "google"),
Pair("MANUFACTURER", "Google"),
Pair("DEVICE", "walleye"),
Pair("PRODUCT", "walleye"),
Pair("MODEL", "Pixel 2"),
Pair("FINGERPRINT", "google/walleye/walleye:8.1.0/OPM1.171019.021/4565141:user/release-keys"),
Pair("FINGERPRINT", "google/walleye/walleye:11/RP1A.201005.004.A1/6934943:user/release-keys"),
),
"Pixel 2017",
getAndroidVersionFromLabel("Oreo 8.1.0"),
getAndroidVersionFromLabel("R 11.0"),
),

DeviceEntries(
"Pixel 3 XL", hashMapOf(
Pair("ID", "SP1A.210812.016.C2"),
Pair("BRAND", "google"),
Pair("MANUFACTURER", "Google"),
Pair("DEVICE", "crosshatch"),
Pair("PRODUCT", "crosshatch"),
Pair("MODEL", "Pixel 3 XL"),
Pair("FINGERPRINT", "google/crosshatch/crosshatch:11/RQ3A.211001.001/7641976:user/release-keys"),
Pair("FINGERPRINT", "google/crosshatch/crosshatch:12/SP1A.210812.016.C2/8618562:user/release-keys"),
),
"Pixel 2018",
getAndroidVersionFromLabel("R 11.0"),
getAndroidVersionFromLabel("S 12.0"),
),

DeviceEntries(
"Pixel 3a XL", hashMapOf(
Pair("ID", "SP2A.220505.008"),
Pair("BRAND", "google"),
Pair("MANUFACTURER", "Google"),
Pair("DEVICE", "bonito"),
Pair("PRODUCT", "bonito"),
Pair("MODEL", "Pixel 3a XL"),
Pair("FINGERPRINT", "google/bonito/bonito:11/RQ3A.211001.001/7641976:user/release-keys"),
Pair("FINGERPRINT", "google/bonito/bonito:12/SP2A.220505.008/8782922:user/release-keys"),
),
"Pixel 2019 mid-year",
getAndroidVersionFromLabel("R 11.0"),
getAndroidVersionFromLabel("S 12.0"),
),

DeviceEntries(
"Pixel 4 XL", hashMapOf(
Pair("ID", "TP1A.221005.002.B2"),
Pair("BRAND", "google"),
Pair("MANUFACTURER", "Google"),
Pair("DEVICE", "coral"),
Pair("PRODUCT", "coral"),
Pair("MODEL", "Pixel 4 XL"),
Pair("FINGERPRINT", "google/coral/coral:12/SP1A.211105.002/7743617:user/release-keys"),
Pair("FINGERPRINT", "google/coral/coral:13/TP1A.221005.002.B2/9382335:user/release-keys"),
),
"Pixel 2019",
getAndroidVersionFromLabel("S 12.0"),
),

DeviceEntries(
"Pixel 4a", hashMapOf(
Pair("ID", "TQ1A.230205.002"),
Pair("BRAND", "google"),
Pair("MANUFACTURER", "Google"),
Pair("DEVICE", "sunfish"),
Pair("PRODUCT", "sunfish"),
Pair("MODEL", "Pixel 4a"),
Pair("FINGERPRINT", "google/sunfish/sunfish:11/RQ3A.211001.001/7641976:user/release-keys"),
Pair("FINGERPRINT", "google/sunfish/sunfish:13/TQ1A.230205.002/9471150:user/release-keys"),
),
"Pixel 2020 mid-year",
getAndroidVersionFromLabel("R 11.0"),
),

DeviceEntries(
"Pixel 5", hashMapOf(
Pair("ID", "TQ1A.230205.002"),
Pair("BRAND", "google"),
Pair("MANUFACTURER", "Google"),
Pair("DEVICE", "redfin"),
Pair("PRODUCT", "redfin"),
Pair("MODEL", "Pixel 5"),
Pair("FINGERPRINT", "google/redfin/redfin:12/SP1A.211105.003/7757856:user/release-keys"),
Pair("FINGERPRINT", "google/redfin/redfin:13/TQ1A.230205.002/9471150:user/release-keys"),
),
"Pixel 2020",
getAndroidVersionFromLabel("S 12.0"),
),

DeviceEntries(
"Pixel 5a", hashMapOf(
Pair("ID", "TQ1A.230205.002"),
Pair("BRAND", "google"),
Pair("MANUFACTURER", "Google"),
Pair("DEVICE", "barbet"),
Pair("PRODUCT", "barbet"),
Pair("MODEL", "Pixel 5a"),
Pair("FINGERPRINT", "google/barbet/barbet:11/RD2A.211001.002/7644766:user/release-keys"),
Pair("FINGERPRINT", "google/barbet/barbet:13/TQ1A.230205.002/9471150:user/release-keys"),
),
"Pixel 2021 mid-year",
getAndroidVersionFromLabel("R 11.0"),
),

DeviceEntries(
"Pixel 6 Pro", hashMapOf(
Pair("ID", "TQ1A.230205.002"),
Pair("BRAND", "google"),
Pair("MANUFACTURER", "Google"),
Pair("DEVICE", "raven"),
Pair("PRODUCT", "raven"),
Pair("MODEL", "Pixel 6 Pro"),
Pair("FINGERPRINT", "google/raven/raven:12/SD1A.210817.036/7805805:user/release-keys"),
Pair("FINGERPRINT", "google/raven/raven:13/TQ1A.230205.002/9471150:user/release-keys"),
),
"Pixel 2021",
getAndroidVersionFromLabel("S 12.0"),
),

DeviceEntries(
"Pixel 7 Pro", hashMapOf(
Pair("ID", "TQ1A.230205.002"),
Pair("BRAND", "google"),
Pair("MANUFACTURER", "Google"),
Pair("DEVICE", "cheetah"),
Pair("PRODUCT", "cheetah"),
Pair("MODEL", "Pixel 7 Pro"),
Pair("FINGERPRINT", "google/cheetah/cheetah:13/TQ1A.230205.002/9471150:user/release-keys"),
),
"Pixel 2022",
getAndroidVersionFromLabel("T 13.0"),
),
)

/**
Expand All @@ -307,11 +335,11 @@ object DeviceProps {
/**
* Default name of device to spoof.
*/
val defaultDeviceName = "Pixel 5"
val defaultDeviceName = "Pixel 7 Pro"

/**
* Default feature level to spoof up to. Corresponds to what is expected for the device in [defaultDeviceName].
*/
val defaultFeatures = getFeaturesUpTo("Pixel 2020")
val defaultFeatures = getFeaturesUpTo("Pixel 2022")

}
2 changes: 1 addition & 1 deletion app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
<string name="update_available">App update available!</string>

<!--changelog-->
<string name="version_head">Version 4.1</string>
<string name="version_head">Version 5.0.2</string>
<string name="version_desc">
\n
# In light of recent event of Vanced project getting shut down because of using Youtube logo,
Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ buildscript {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.1.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.10"
classpath 'com.android.tools.build:gradle:7.3.0'
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.21'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Wed Dec 01 22:54:51 IST 2021
distributionBase=GRADLE_USER_HOME
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-bin.zip
distributionPath=wrapper/dists
zipStorePath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME