diff --git a/app/build.gradle b/app/build.gradle index 5eb4d77..39f3588 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -11,7 +11,7 @@ android { minSdk 21 targetSdk 31 versionCode 5 - versionName "4.1" + versionName "5.0.2" } buildTypes { diff --git a/app/release/output-metadata.json b/app/release/output-metadata.json new file mode 100644 index 0000000..510438d --- /dev/null +++ b/app/release/output-metadata.json @@ -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" +} \ No newline at end of file diff --git a/app/src/main/java/balti/xposed/pixelifygooglephotos/DeviceProps.kt b/app/src/main/java/balti/xposed/pixelifygooglephotos/DeviceProps.kt index 6276809..e59b984 100644 --- a/app/src/main/java/balti/xposed/pixelifygooglephotos/DeviceProps.kt +++ b/app/src/main/java/balti/xposed/pixelifygooglephotos/DeviceProps.kt @@ -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", + ), ) /** @@ -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), ) /** @@ -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"), @@ -186,51 +192,55 @@ 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"), @@ -238,12 +248,13 @@ object DeviceProps { 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"), @@ -251,12 +262,13 @@ object DeviceProps { 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"), @@ -264,12 +276,13 @@ object DeviceProps { 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"), @@ -277,16 +290,31 @@ object DeviceProps { 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"), + ), ) /** @@ -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") } \ No newline at end of file diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 6e47bdd..ad36d28 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -38,7 +38,7 @@ App update available! - Version 4.1 + Version 5.0.2 \n # In light of recent event of Vanced project getting shut down because of using Youtube logo, diff --git a/build.gradle b/build.gradle index b02d482..f7b2462 100644 --- a/build.gradle +++ b/build.gradle @@ -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 diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 871409c..43dd4b8 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -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