diff --git a/changelog.md b/changelog.md new file mode 100644 index 0000000..a245763 --- /dev/null +++ b/changelog.md @@ -0,0 +1,26 @@ +Bug Fixes & lots of improvements +Fixed Google Assistant bug +Spoofing via Zygisk (Magisk v24 or v24+ is required) +Call screening support for Italian (IT), Japanese (JP), Spain (ES), France (FR) +Fixes for Android System Intelligence installation. +Rename Device Personalisation services to Android System Intelligence +Module will auto detect and install Bootanimation according your resolution. +(Supported are:- 720p, 1080p, 1440p) +Other resolution will use 1080p +Fixed opposite installation via No volume key problem +Enable All options in At a glance +Forcely Enabled Android S notification style dialer notification for Android S +Fixed Removal of some fonts on installing Pixelify module +Added more fixes to enable Nga voice typing +Fixed Pixel Launcher Crash due to missing PACKAGE_USAGE permission +Added and optimise Nexus launcher 3rd party icons +Updated Android System Intelligence (12) to S11 +Some more fixes for Call screening +Fixed Wrong detection for using Nov patch or December Patch Pixel Launcher +Fixed removal of system app on uninstalling Pixelify module +Made dialer popup less annoyed (it will come if using pixel2021 version +Removed option to spoof Pixel 3XL as Google removed Unlimited for Pixel 3 XL (You can still get Unlimited via Zygisk) +Added missing NGA_BACKUP tag for No volume keys +Fixes for Google recorder +Fixed Search Bar background color in A12 +Please Ignore no_vk files if Volume keys are working fine \ No newline at end of file diff --git a/customize.sh b/customize.sh index 0ad9073..ae031cd 100644 --- a/customize.sh +++ b/customize.sh @@ -10,11 +10,12 @@ fi logfile=/sdcard/Pixelify/logs.txt rm -rf $logfile -echo " ============= +echo "============= Pixelify $(cat $MODPATH/module.prop | grep version= | cut -d= -f2) - Android Version: $API + SDK version: $API ============= ----- Installation Logs Started ----" >> $logfile +---- Installation Logs Started ---- +" >> $logfile tar -xf $MODPATH/files/system.tar.xz -C $MODPATH @@ -69,9 +70,32 @@ elif [ $(echo $sec_patch | cut -d- -f1) -eq 2021 ] && [ $(echo $sec_patch | cut NEW_PL=1 fi -if [ $API -eq 31 ]; then - DPSIZE=28 - DPVERSIONP=1.7 +NEWAPI=$API + +echo " +- Device info - +Codename: $(getprop ro.product.vendor.name) +Model: $(getprop ro.product.vendor.model) +security patch: $sec_patch +Magisk version: $MAGISK_VER_CODE" >> $logfile + +if [ $API -eq 32 && "$(getprop ro.build.version.security_patch)" == "Tiramisu" ]; then + echo "Android version: 13" >> $logfile + WNEED=1 + NEWAPI=33 + WSIZE="2.2 Mb" + PLSIZE="11 Mb" + PLVERSIONP=1 +elif [ $API -eq 32 ]; then + echo "Android version: 12.1 (12L)" >> $logfile + WNEED=1 + WSIZE="2.2 Mb" + PLSIZE="11 Mb" + PLVERSIONP=1 +elif [ $API -eq 31 ]; then + echo "Android version: 12 (S)" >> $logfile + DPSIZE="51 Mb" + DPVERSIONP=2.0 WSIZE="2.0 Mb" WNEED=1 if [ $NEW_PL -eq 1 ]; then @@ -81,22 +105,28 @@ if [ $API -eq 31 ]; then fi PLSIZE="11 Mb" elif [ $API -eq 30 ]; then + echo "Android version: 11 (R)" >> $logfile DPSIZE="20 Mb" DPVERSIONP=1.2 WSIZE="2.1 Mb" WNEED=1 elif [ $API -eq 29 ]; then + echo "Android version: 10 (Q)" >> $logfile WSIZE="3.6 Mb" DPSIZE="15 Mb" DPVERSIONP=1 WNEED=1 elif [ $API -eq 28 ]; then + echo "Android version: 9 (Pie)" >> $logfile WSIZE="1.6 Mb" DPSIZE="10 Mb" DPVERSIONP=1 WNEED=1 fi +echo " - Device info - +" >> $logfile + online_mb(){ while read B dummy; do [ $B -lt 1024 ] && echo ${B} && break @@ -108,18 +138,19 @@ online_mb(){ } if [ $internet -eq 1 ]; then + echo "- Fetching version of online packages" >> $logfile ver=$($MODPATH/addon/curl -s https://gitlab.com/Kingsman-z/pixelify-files/-/raw/master/version.txt) NGAVERSION=$(echo "$ver" | grep nga | cut -d'=' -f2) LWVERSION=$(echo "$ver" | grep wallpaper | cut -d'=' -f2) DPVERSION=$(echo "$ver" | grep dp-$API | cut -d'=' -f2) DPSIZE="$($MODPATH/addon/curl -sI https://gitlab.com/Kingsman-z/pixelify-files/-/raw/master/dp-$API.tar.xz | grep -i Content-Length | cut -d':' -f2 | sed 's/ //g' | tr -d '\r' | online_mb)" - if [ $API -eq 31 ]; then - DPVERSION=$(echo "$ver" | grep asi-$API | cut -d'=' -f2) - DPSIZE="$($MODPATH/addon/curl -sI https://gitlab.com/Kingsman-z/pixelify-files/-/raw/master/asi-$API.tar.xz | grep -i Content-Length | cut -d':' -f2 | sed 's/ //g' | tr -d '\r' | online_mb)" + if [ $API -ge 31 ]; then + DPVERSION=$(echo "$ver" | grep asi-new-31 | cut -d'=' -f2) + DPSIZE="$($MODPATH/addon/curl -sI https://gitlab.com/Kingsman-z/pixelify-files/-/raw/master/asi-new-31.tar.xz | grep -i Content-Length | cut -d':' -f2 | sed 's/ //g' | tr -d '\r' | online_mb)" fi if [ $NEW_PL -eq 1 ]; then - PLVERSION=$(echo "$ver" | grep pl-new-$API | cut -d'=' -f2) - PLSIZE="$($MODPATH/addon/curl -sI https://gitlab.com/Kingsman-z/pixelify-files/-/raw/master/pl-new-$API.tar.xz | grep -i Content-Length | cut -d':' -f2 | sed 's/ //g' | tr -d '\r' | online_mb) Mb" + PLVERSION=$(echo "$ver" | grep pl-new-$NEWAPI | cut -d'=' -f2) + PLSIZE="$($MODPATH/addon/curl -sI https://gitlab.com/Kingsman-z/pixelify-files/-/raw/master/pl-new-$NEWAPI.tar.xz | grep -i Content-Length | cut -d':' -f2 | sed 's/ //g' | tr -d '\r' | online_mb) Mb" else PLVERSION=$(echo "$ver" | grep pl-$API | cut -d'=' -f2) PLSIZE="$($MODPATH/addon/curl -sI https://gitlab.com/Kingsman-z/pixelify-files/-/raw/master/pl-$API.tar.xz | grep -i Content-Length | cut -d':' -f2 | sed 's/ //g' | tr -d '\r' | online_mb) Mb" @@ -127,15 +158,15 @@ if [ $internet -eq 1 ]; then rm -rf $pix/nga.txt rm -rf $pix/pixel.txt rm -rf $pix/dp.txt - rm -rf $pix/pl-$API.txt + rm -rf $pix/pl-$NEWAPI.txt echo "$NGAVERSION" >> $pix/nga.txt echo "$LWVERSION" >> $pix/pixel.txt echo "$DPVERSION" >> $pix/dp.txt - echo "$PLVERSION" >> $pix/pl-$API.txt + echo "$PLVERSION" >> $pix/pl-$NEWAPI.txt NGASIZE="$($MODPATH/addon/curl -sI https://gitlab.com/Kingsman-z/pixelify-files/-/raw/master/nga.tar.xz | grep -i Content-Length | cut -d':' -f2 | sed 's/ //g' | tr -d '\r' | online_mb) Mb" LWSIZE="$($MODPATH/addon/curl -sI https://gitlab.com/Kingsman-z/pixelify-files/-/raw/master/pixel.tar.xz | grep -i Content-Length | cut -d':' -f2 | sed 's/ //g' | tr -d '\r' | online_mb) Mb" - else + echo "- Warning, Cannot able to fetch package version, using saved version instead" >> $logfile if [ ! -f $pix/nga.txt ]; then echo "$NGAVERSIONP" >> $pix/nga.txt fi @@ -145,8 +176,8 @@ else if [ ! -f $pix/dp.txt ]; then echo "$DPVERSIONP" >> $pix/dp.txt fi - if [ ! -f $pix/pl-$API.txt ]; then - echo "$PLVERSIONP" >> $pix/pl-$API.txt + if [ ! -f $pix/pl-$NEWAPI.txt ]; then + echo "$PLVERSIONP" >> $pix/pl-$NEWAPI.txt fi fi @@ -154,13 +185,26 @@ NGAVERSION=$(cat $pix/nga.txt) LWVERSION=$(cat $pix/pixel.txt) DPVERSION=$(cat $pix/dp.txt) DPSVERSION=$(cat $pix/dps.txt) -PLVERSION=$(cat $pix/pl-$API.txt) +PLVERSION=$(cat $pix/pl-$NEWAPI.txt) + +if [ "$(getprop ro.soc.model)" == "Tensor" ]; then + echo "- Tensor chip Detected !" >> $logfile + TENSOR=1 + touch $MODPATH/tensor +else + TENSOR=0 +fi + +if [ "$(getprop ro.product.vendor.name)" == "coral" || "$(getprop ro.product.vendor.name)" == "coral" ]; then + echo "- Pixel 4/XL Detected !" + touch $MODPATH/coral +fi echo " -- NGA version is $NGAVERSION -- Pixel Live Wallpapers version is $NGAVERSION -- Device Personalisation Services version is $DPVERSION -- Pixel Launcher ($API) version is $PLVERSION +- NGA version: $NGAVERSION +- Pixel Live Wallpapers version: $NGAVERSION +- Device Personalisation Services version: $DPVERSION +- Pixel Launcher ($API) version: $PLVERSION " >> $logfile chmod -R 0755 $MODPATH/addon @@ -196,12 +240,12 @@ print() { sleep 0.3 } -ui_print "" +print "" print "- Detected Arch: $ARCH" print "- Detected SDK : $API" RAM=$( grep MemTotal /proc/meminfo | tr -dc '0-9') print "- Detected Ram: $RAM" -ui_print "" +print "" if [ $RAM -le "6000000" ]; then rm -rf $MODPATH/system$product/etc/sysconfig/GoogleCamera_6gb_or_more_ram.xml echo " - Removing GoogleCamera_6gb_or_more_ram.xml as device has less than 6Gb Ram" >> $logfile @@ -257,13 +301,13 @@ abort1() { } keytest() { - ui_print "- Vol Key Test" - ui_print " Press a Vol Key:" - if (timeout 3 /system/bin/getevent -lc 1 2>&1 | /system/bin/grep VOLUME | /system/bin/grep " DOWN" > $TMPDIR/events); then + print "- Vol Key Test" + print " Press a Vol Key:" + if (timeout 5 /system/bin/getevent -lc 1 2>&1 | /system/bin/grep VOLUME | /system/bin/grep " DOWN" > $TMPDIR/events); then return 0 else - ui_print " Try again:" - timeout 3 $MODPATH/addon/keycheck + print " Try again:" + timeout 5 $MODPATH/addon/keycheck local SEL=$? [ $SEL -eq 143 ] && abort1 " Vol key not detected!" || return 1 fi @@ -354,29 +398,32 @@ no_vksel() { # Have user option to skip vol keys if [ "$(grep 'DEVICE_USES_VOLUME_KEY=' $MODPATH/module.prop | cut -d= -f2)" -eq 0 ]; then - ui_print "- Skipping Vol Keys -" + print "- Skipping Vol Keys -" print "" print " Using config: $vk_loc" VKSEL=no_vksel else if keytest; then + echo "- Using chooseport method for Volume keys" >> $logfile VKSEL=chooseport else VKSEL=chooseportold - ui_print " ! Legacy device detected! Using old keycheck method" - ui_print " " - ui_print "- Vol Key Programming -" - ui_print " Press Vol Up Again:" + echo "- using chooseportold method for Volume Keys" >> $logfile + print " ! Legacy device detected! Using old keycheck method" + print " " + print "- Vol Key Programming -" + print " Press Vol Up Again:" $VKSEL "UP" - ui_print " Press Vol Down" + print " Press Vol Down" $VKSEL "DOWN" fi fi DIALER=com.google.android.dialer -ui_print "" +print "" print "- Installing Pixelify Module" print "- Extracting Files...." +echo "- Extracting Files ..." >> $logfile if [ $API -ge 28 ]; then tar -xf $MODPATH/files/tur.tar.xz -C $MODPATH/system$product/priv-app fi @@ -391,14 +438,48 @@ if [ ! -z "$(getprop ro.rom.version | grep Oxygen)" ] || [ ! -z "$(getprop ro.mi done <$MODPATH/spoof.prop fi +drop_sys() { + rm -rf $MODPATH/system$product/etc/sysconfig/pixel_experience_2020.xml + rm -rf $MODPATH/system$product/etc/sysconfig/pixel_experience_2020_midyear.xml + rm -rf $MODPATH/system$product/etc/sysconfig/pixel_experience_2021.xml + rm -rf $MODPATH/system$product/etc/sysconfig/pixel_experience_2021_midyear.xml + rm -rf $MODPATH/system$product/etc/sysconfig/pixel_experience_2022.xml + rm -rf $MODPATH/system$product/etc/sysconfig/pixel_experience_2022_midyear.xml + touch $MODPATH/system$product/etc/sysconfig/pixel_experience_2020.xml + touch $MODPATH/system$product/etc/sysconfig/pixel_experience_2020_midyear.xml + touch $MODPATH/system$product/etc/sysconfig/pixel_experience_2021.xml + touch $MODPATH/system$product/etc/sysconfig/pixel_experience_2021_midyear.xml + touch $MODPATH/system$product/etc/sysconfig/pixel_experience_2022.xml + touch $MODPATH/system$product/etc/sysconfig/pixel_experience_2022_midyear.xml +} + ZYGISK_P=0 -if [ $MAGISK_VER_CODE -ge 24000 ]; then +if [ $TENSOR -eq 1 ]; then + [ $MAGISK_VER_CODE -ge 24000 ] && ZYGISK_P=1 + print "" + print "(TENSOR CHIPSET DETECTED)" + print " Do you want to enable Google Photos Unlimited Backup?" + print " Note: Magic Earser will only work on Photos app given in Github page" + print " Vol Up += Yes" + print " Vol Down += No" + no_vk "ENABLE_TENSOR_UNLIMITED" + if $VKSEL; then + echo "- Enabling Unlimited storage in this Tensor chipset device" >> $logfile + drop_sys + else + echo "- Disabling Unlimited storage in this Tensor chipset device" >> $logfile + rm -rf $MODPATH/zygisk + fi +elif [ $MAGISK_VER_CODE -ge 24000 ]; then print "" print "- Magisk v24 and above detected " print "- Please enable Zygisk in order to Pixelify to work" print "" - rm -rf $MODPATH/system/product/etc/sysconfig/pixel_experience_2020.xml - touch $MODPATH/system/product/etc/sysconfig/pixel_experience_2020.xml + print "- Spoofing Google apps according to there best configuration." + print "" + drop_sys + magisk --denylist add com.google.android.gms + magisk --denylist add com.google.android.gms.unstable ZYGISK_P=1 else print "" @@ -434,9 +515,6 @@ if [ ! -z $(pm list packages -s | grep com.google.android.as) ]; then if [ $API -eq 30 ] && [ ! -z $($MODPATH/addon/dumpsys package com.google.android.as | grep versionName | grep pixel5) ]; then echo " - Ignoring Device Personalisation Services due to Pixel 5 version already installed" >> $logfile DPAS=0 - elif [ $API -eq 31 ] && [ ! -z $($MODPATH/addon/dumpsys package com.google.android.as | grep versionName | grep pixel6) ]; then - echo " - Ignoring Device Personalisation Services due to Pixel 6 version already installed" >> $logfile - DPAS=0 elif [ $API -le 29 ]; then DPAS=0 echo " - Ignoring Device Personalisation Services because it's already installed" >> $logfile @@ -456,25 +534,34 @@ if [ "$(getprop ro.product.vendor.manufacturer)" == "samsung" ]; then fi fi +[ -f /product/etc/firmware/music_detector.sound_model ] && rm -rf $MODPATH/system/etc/firmware + +for i in "InterestsModel__enable_interests_model" "Captions__enable_text_transform" "Translate__translation_service_enabled" "Translate__replace_auto_translate_copied_text_enabled" "Translate__copy_to_translate_enabled" "Translate__blue_chip_translate_enabled" "Echo__enable_headphones_suggestions_from_agsa" "NowPlaying__youtube_export_enabled" "Overview__enable_lens_r_overview_long_press" "Overview__enable_lens_r_overview_select_mode" "Overview__enable_lens_r_overview_translate_action" "Echo__smartspace_enable_doorbell" "Echo__smartspace_enable_earthquake_alert_predictor" "Echo__smartspace_enable_echo_settings" "Echo__smartspace_enable_light_predictor" "Echo__smartspace_enable_paired_device_predictor" "Echo__smartspace_enable_safety_check_predictor"; do + $sqlite $gms "DELETE FROM FlagOverrides WHERE packageName='com.google.android.platform.device_personalization_services' AND name='$i'" + $sqlite $gms "INSERT INTO FlagOverrides(packageName, user, name, flagType, boolVal, committed) VALUES('com.google.android.platform.device_personalization_services', '', '$i', 0, 1, 0)" + $sqlite $gms "UPDATE Flags SET boolVal='1' WHERE packageName='com.google.android.platform.device_personalization_services' AND name='$i'" +done + +$sqlite $gms "DELETE FROM FlagOverrides WHERE packageName='com.google.android.platform.device_personalization_services' AND name='Captions__new_model_version_advanced'" +$sqlite $gms "INSERT INTO FlagOverrides(packageName, user, name, flagType, intVal, committed) VALUES('com.google.android.platform.device_personalization_services', '', 'Captions__new_model_version_advanced', 0, 20211104, 0)" +$sqlite $gms "INSERT INTO FlagOverrides(packageName, user, name, flagType, intVal, committed) VALUES('com.google.android.platform.device_personalization_services', '', 'Captions__new_model_version_advanced', 0, 20211104, 1)" +$sqlite $gms "UPDATE Flags SET intVal='20211104' WHERE packageName='com.google.android.platform.device_personalization_services' AND name='Captions__new_model_version_advanced'" + +$sqlite $gms "DELETE FROM FlagOverrides WHERE packageName='com.google.android.platform.device_personalization_services' AND name='SmartSelect__enable_smart_select_locked_bootloader_check'" +$sqlite $gms "INSERT INTO FlagOverrides(packageName, user, name, flagType, boolVal, committed) VALUES('com.google.android.platform.launcher', '', 'SmartSelect__enable_smart_select_locked_bootloader_check', 0, 0, 0)" +$sqlite $gms "UPDATE Flags SET boolVal='0' WHERE packageName='com.google.android.platform.device_personalization_services' AND name='SmartSelect__enable_smart_select_locked_bootloader_check'" + +$sqlite $gms "DELETE FROM FlagOverrides WHERE packageName='com.google.android.platform.launcher' AND name='ENABLE_SMARTSPACE_ENHANCED'" +$sqlite $gms "INSERT INTO FlagOverrides(packageName, user, name, flagType, boolVal, committed) VALUES('com.google.android.platform.launcher', '', 'ENABLE_SMARTSPACE_ENHANCED', 0, 1, 0)" +$sqlite $gms "UPDATE Flags SET boolVal='1' WHERE packageName='com.google.android.platform.launcher' AND name='ENABLE_SMARTSPACE_ENHANCED'" + if [ $DPAS -eq 1 ]; then - if [ ! -f /data/adb/modules/Pixelify/system/etc/firmware/music_detector.sound_model ] && [[ -f /system/etc/firmware/music_detector.sound_model || -f /product/etc/firmware/music_detector.sound_model ]]; then - rm -rf $MODPATH/system/etc/firmware - elif [ ! -f /data/adb/modules/Pixelify/system/etc/firmware/music_detector.sound_model ]; then - rm -rf $MODPATH/system/etc/firmware - fi - for i in "Echo__enable_headphones_suggestions_from_agsa" "NowPlaying__youtube_export_enabled" "Overview__enable_lens_r_overview_long_press" "Overview__enable_lens_r_overview_select_mode" "Overview__enable_lens_r_overview_translate_action" "Echo__smartspace_enable_doorbell" "Echo__smartspace_enable_earthquake_alert_predictor" "Echo__smartspace_enable_echo_settings" "Echo__smartspace_enable_light_predictor" "Echo__smartspace_enable_paired_device_predictor" "Echo__smartspace_enable_safety_check_predictor"; do - $sqlite $gms "DELETE FROM FlagOverrides WHERE packageName='com.google.android.platform.device_personalization_services' AND name='$i'" - $sqlite $gms "INSERT INTO FlagOverrides(packageName, user, name, flagType, boolVal, committed) VALUES('com.google.android.platform.device_personalization_services', '', '$i', 0, 1, 0)" - $sqlite $gms "UPDATE Flags SET boolVal='1' WHERE packageName='com.google.android.platform.device_personalization_services' AND name='$i'" - done - $sqlite $gms "DELETE FROM FlagOverrides WHERE packageName='com.google.android.platform.launcher' AND name='ENABLE_SMARTSPACE_ENHANCED'" - $sqlite $gms "INSERT INTO FlagOverrides(packageName, user, name, flagType, boolVal, committed) VALUES('com.google.android.platform.launcher', '', 'ENABLE_SMARTSPACE_ENHANCED', 0, 1, 0)" - $sqlite $gms "UPDATE Flags SET boolVal='1' WHERE packageName='com.google.android.platform.launcher' AND name='ENABLE_SMARTSPACE_ENHANCED'" echo " - Installing Android System Intelligence" >> $logfile - if [ -f /sdcard/Pixelify/backup/dp-$API.tar.xz ]; then - echo " - Backup Detected for Device Personalisation Services" >> $logfile + [ $API -ge 31 ] && tar -xf $MODPATH/files/asp.tar.xz -C $MODPATH/system/product/priv-app + if [ -f /sdcard/Pixelify/backup/dp-$NEWAPI.tar.xz ]; then + echo " - Backup Detected for Android System Intelligence" >> $logfile REMOVE="$REMOVE $DP" - if [ "$(cat /sdcard/Pixelify/version/dp-$API.txt)" != "$DPVERSION" ] || [ $SEND_DPS -eq 1 ] || [ ! -f /sdcard/Pixelify/version/dp-$API.txt ] ]; then + if [ "$(cat /sdcard/Pixelify/version/dp-$API.txt)" != "$DPVERSION" ] || [ $SEND_DPS -eq 1 ] || [ ! -f /sdcard/Pixelify/version/dp-$NEWAPI.txt ] ]; then echo " - New Version Detected for Android System Intelligence" >> $logfile echo " - Installed version: $(cat /sdcard/Pixelify/version/dp-$API.txt) , New Version: $DPVERSION " >> $logfile print " (Network Connection Needed)" @@ -492,13 +579,13 @@ if [ $DPAS -eq 1 ]; then echo " - Downloading and installing new backup for Android System Intelligence" >> $logfile cd $MODPATH/files rm -rf /sdcard/Pixelify/backup/dp-$API.tar.xz /sdcard/Pixelify/backup/dp-net-$API.tar.xz /sdcard/Pixelify/version/dp.txt /sdcard/Pixelify/version/dp-$API.txt - if [ $API -eq 31 ]; then - $MODPATH/addon/curl https://gitlab.com/Kingsman-z/pixelify-files/-/raw/master/asi-$API.tar.xz -o dp-$API.tar.xz &> /proc/self/fd/$OUTFD + if [ $API -ge 31 ]; then + $MODPATH/addon/curl https://gitlab.com/Kingsman-z/pixelify-files/-/raw/master/asi-new-31.tar.xz -o dp-$NEWAPI.tar.xz &> /proc/self/fd/$OUTFD else $MODPATH/addon/curl https://gitlab.com/Kingsman-z/pixelify-files/-/raw/master/dp-$API.tar.xz -O &> /proc/self/fd/$OUTFD - fi - cp -f $MODPATH/files/dp-$API.tar.xz /sdcard/Pixelify/backup/dp-$API.tar.xz - echo "$DPVERSION" >> /sdcard/Pixelify/version/dp-$API.txt + fi + cp -f $MODPATH/files/dp-$NEWAPI.tar.xz /sdcard/Pixelify/backup/dp-$NEWAPI.tar.xz + echo "$DPVERSION" >> /sdcard/Pixelify/version/dp-$NEWAPI.txt cd / print "" print "- Creating Backup" @@ -519,10 +606,10 @@ if [ $DPAS -eq 1 ]; then print "- Installing Android System Intelligence" print "" cp -f $MODPATH/files/PixeliflyDPS.apk $MODPATH/system/product/overlay/PixeliflyDPS.apk - tar -xf /sdcard/Pixelify/backup/dp-$API.tar.xz -C $MODPATH/system$product/priv-app + tar -xf /sdcard/Pixelify/backup/dp-$NEWAPI.tar.xz -C $MODPATH/system$product/priv-app echo dp-$API > $pix/app2.txt else - ui_print "" + print "" echo " - No backup Detected for Android System Intelligence" >> $logfile print " (Network Connection Needed)" print " Do you want to install and Download Android System Intelligence?" @@ -535,24 +622,21 @@ if [ $DPAS -eq 1 ]; then if [ $internet -eq 1 ]; then print "- Downloading Android System Intelligence" echo " - Downloading and installing Android System Intelligence" >> $logfile - ui_print "" + print "" cd $MODPATH/files - if [ $API -eq 31 ]; then - $MODPATH/addon/curl https://gitlab.com/Kingsman-z/pixelify-files/-/raw/master/asi-$API.tar.xz -o dp-$API.tar.xz &> /proc/self/fd/$OUTFD + if [ $API -ge 31 ]; then + $MODPATH/addon/curl https://gitlab.com/Kingsman-z/pixelify-files/-/raw/master/asi-new-31.tar.xz -o dp-$NEWAPI.tar.xz &> /proc/self/fd/$OUTFD else $MODPATH/addon/curl https://gitlab.com/Kingsman-z/pixelify-files/-/raw/master/dp-$API.tar.xz -O &> /proc/self/fd/$OUTFD - fi + fi cd / print "" print "- Installing Android System Intelligence" cp -f $MODPATH/files/PixeliflyDPS.apk $MODPATH/system/product/overlay/PixeliflyDPS.apk - tar -xf $MODPATH/files/dp-$API.tar.xz -C $MODPATH/system$product/priv-app - if [ $API -eq 31 ] && [ -z $($MODPATH/addon/dumpsys package com.google.android.as | grep versionName | grep pixel6) ]; then - rm -rf /data/app/*/*com.google.android.as* - fi + tar -xf $MODPATH/files/dp-$NEWAPI.tar.xz -C $MODPATH/system$product/priv-app echo dp-$API > $pix/app2.txt REMOVE="$REMOVE $DP" - ui_print "" + print "" print " Do you want to create backup of Android System Intelligence?" print " so that you don't need redownload it everytime." print " Vol Up += Yes" @@ -562,11 +646,11 @@ if [ $DPAS -eq 1 ]; then echo " - Creating backup for Android System Intelligence" >> $logfile print "- Creating Backup" mkdir -p /sdcard/Pixelify/backup - rm -rf /sdcard/Pixelify/backup/dp-$API.tar.xz /sdcard/Pixelify/backup/dp-net-$API.tar.xz /sdcard/Pixelify/version/dp.txt /sdcard/Pixelify/version/dp-$API.txt - cp -f $MODPATH/files/dp-$API.tar.xz /sdcard/Pixelify/backup/dp-$API.tar.xz + rm -rf /sdcard/Pixelify/backup/dp-$NEWAPI.tar.xz /sdcard/Pixelify/backup/dp-net-$NEWAPI.tar.xz /sdcard/Pixelify/version/dp.txt /sdcard/Pixelify/version/dp-$API.txt + cp -f $MODPATH/files/dp-$NEWAPI.tar.xz /sdcard/Pixelify/backup/dp-$NEWAPI.tar.xz print "" mkdir /sdcard/Pixelify/version - echo "$DPVERSION" >> /sdcard/Pixelify/version/dp-$API.txt + echo "$DPVERSION" >> /sdcard/Pixelify/version/dp-$NEWAPI.txt print " - Done" fi else @@ -579,8 +663,12 @@ if [ $DPAS -eq 1 ]; then fi fi fi - pm install $MODPATH/system$product/priv-app/DevicePersonalizationPrebuiltPixel*/*.apk - [ $API -ge 31 ] && pm install $MODPATH/system/product/priv-app/DeviceIntelligenceNetworkPrebuilt/*.apk + if [ $NEWAPI -ge 31 ]; then + mkdir -p $MODPATH/install + mv $MODPATH/system/product/priv-app/asi_up.apk $MODPATH/install/asi.apk + fi + #pm install $MODPATH/system$product/priv-app/DevicePersonalizationPrebuiltPixel*/*.apk &>/dev/null + #[ $API -ge 31 ] && pm install $MODPATH/system/product/priv-app/DeviceIntelligenceNetworkPrebuilt/*.apk &>/dev/null else print "" fi @@ -604,15 +692,59 @@ if [ -d /data/data/$DIALER ]; then print "- Enabling Call Recording (Working is device dependent)" lang=$(getprop persist.sys.locale | cut -d'-' -f1) CUSTOM_CALL_SCREEN=0 - for i in "es" "fr" "it" "ja"; do + for i in "es" "fr" "it" "ja" "de"; do if [ "$i" == "$lang" ]; then CUSTOM_CALL_SCREEN=1 break fi done - for i in "enable_android_s_notifications" "G__speak_easy_use_soda_asr" "atlas_use_soda_for_transcription" "enable_atlas_on_tidepods_voice_screen" "show_atlas_hold_for_me_confirmation_dialog" "G__enable_call_screen_saving_audio" "G__enable_call_recording" "G__force_within_call_recording_geofence_value" "G__use_call_recording_geofence_overrides" "G__force_within_crosby_geofence_value" "G__enable_atlas" "G__speak_easy_enabled" "G__enable_speakeasy_details" "G__speak_easy_bypass_locale_check" "G__speak_easy_enable_listen_in_button" "G__bypass_revelio_roaming_check" "G__enable_revelio" "G__enable_revelio_r_api" "enable_revelio_transcript" "enable_xatu" "enable_xatu_music_detection"; do + DIALERFLAGS=" + atlas_show_preview_label + G__enable_atlas + enable_atlas_call_audio_state_verification + enable_atlas_on_tidepods_voice_screen + show_atlas_hold_for_me_confirmation_dialog + atlas_use_soda_for_transcription + atlas_ivr_alert_use_dialpad_clicks + atlas_enable_au_business_number + enable_theme_pushing + enable_precall_dialpad_v2 + enable_call_screen_hats + enable_presence_check + enable_hats_proof_mode + enable_time_keeper + enable_time_keeper_histogram + enable_dialpad_v2_ux + enable_android_s_notifications + G__speak_easy_use_soda_asr + G__enable_call_screen_saving_audio + G__enable_call_recording + G__force_within_call_recording_geofence_value + G__use_call_recording_geofence_overrides + G__force_within_crosby_geofence_value + G__speak_easy_enabled + G__enable_speakeasy_details + G__speak_easy_bypass_locale_check + G__speak_easy_enable_listen_in_button + G__bypass_revelio_roaming_check + G__enable_revelio + G__enable_revelio_r_api + enable_revelio_transcript + Xatu__xatu_always_uses_soda + enable_xatu + enable_xatu_music_detection + enable_dialer_hold_handling + enable_hold_detection + enable_sigil + enable_qresampler + enable_fides + enable_video_calling_screen + enable_tincan + G__new_voicemail_fragment_enabled" + + for i in $DIALERFLAGS; do $sqlite $gms "DELETE FROM FlagOverrides WHERE packageName='com.google.android.dialer' AND name='$i'" - if [ $CUSTOM_CALL_SCREEN -eq 1 ] && [[ $i == "G__enable_revelio" || $i == "G__enable_revelio_r_api" || $i == "enable_revelio_transcript" || i == "G__bypass_revelio_roaming_check" ]]; then + if [ $CUSTOM_CALL_SCREEN -eq 1 ] && [[ $i == "G__enable_revelio" || $i == "G__enable_revelio_r_api" || $i == "enable_revelio_transcript" || $i == "G__bypass_revelio_roaming_check" || $i == "G__enable_call_screen_saving_audio" || $i == "G__speak_easy_enabled" || $i == "G__enable_speakeasy_details" || $i == "G__speak_easy_bypass_locale_check" || $i == "G__speak_easy_use_soda_asr" ]]; then continue fi if [ $API -le 30 ] && [ $i == "enable_android_s_notifications" ]; then @@ -622,12 +754,6 @@ if [ -d /data/data/$DIALER ]; then $sqlite $gms "INSERT INTO FlagOverrides(packageName, user, name, flagType, boolVal, committed) VALUES('com.google.android.dialer', '', '$i', 0, 1, 0)" $sqlite $gms "UPDATE Flags SET boolVal='1' WHERE packageName='com.google.android.dialer' AND name='$i'" done - if [ $CUSTOM_CALL_SCREEN -eq 1 ]; then - $sqlite $gms "DELETE FROM FlagOverrides WHERE packageName='com.google.android.dialer' AND name='G__speak_easy_use_soda_asr'" - $sqlite $gms "INSERT INTO FlagOverrides(packageName, user, name, flagType, boolVal, committed) VALUES('com.google.android.dialer', '', 'G__speak_easy_use_soda_asr', 0, 0, 0)" - $sqlite $gms "INSERT INTO FlagOverrides(packageName, user, name, flagType, boolVal, committed) VALUES('com.google.android.dialer', '', 'G__speak_easy_use_soda_asr', 0, 0, 0)" - $sqlite $gms "UPDATE Flags SET boolVal='0' WHERE packageName='com.google.android.dialer' AND name='G__speak_easy_use_soda_asr'" - fi if [ $CUSTOM_CALL_SCREEN -eq 0 ]; then print " " print "- Please set your launguage to" @@ -658,11 +784,12 @@ if [ -d /data/data/$DIALER ]; then $MODPATH/addon/curl https://gitlab.com/Kingsman-z/pixelify-files/-/raw/master/callscreen-$lang.tar.xz -O &> /proc/self/fd/$OUTFD cd / tar -xf $MODPATH/files/callscreen-$lang.tar.xz -C $MODPATH/system/product/tts/google - ui_print "" + print "" print " Do you want to create backup of CallScreening files for '$lang'" print " so that you don't need redownload it everytime." print " Vol Up += Yes" print " Vol Down += No" + no_vk "BACKUP_CALL_SCREENING_FILES" if $VKSEL; then echo " - Creating backup for CallScreening files for '$lang'" >> $logfile print "- Creating Backup" @@ -685,12 +812,14 @@ if [ -d /data/data/$DIALER ]; then fi fi - bool_patch speak_easy $DIALER_PREF - bool_patch speakeasy $DIALER_PREF - bool_patch call_screen $DIALER_PREF - bool_patch revelio $DIALER_PREF - bool_patch record $DIALER_PREF - bool_patch atlas $DIALER_PREF + bool_patch speak_easy $DIALER_PREF + bool_patch speakeasy $DIALER_PREF + bool_patch call_screen $DIALER_PREF + bool_patch revelio $DIALER_PREF + bool_patch record $DIALER_PREF + bool_patch atlas $DIALER_PREF + bool_patch xatu $DIALER_PREF + bool_patch enable_android_s_notifications $DIALER_PREF device="$(getprop ro.product.device)" device_len=${#device} @@ -700,7 +829,7 @@ if [ -d /data/data/$DIALER ]; then echo " - Adding Country ($carr_coun) patch for Call Recording and Hold for me, Direct My Call" >> $logfile sed -i -e "s/TX/${carr_coun}/g" $MODPATH/files/$DIALER if [ -z $(echo "AU US JP" | grep $carr_coun) ]; then - sed -i -e "s/TF/${carr_coun}/g" $MODPATH/files/$DIALER + sed -i -e "s/XY/${carr_coun}/g" $MODPATH/files/$DIALER fi sed -i -e "s/xy/${carr_coun1}/g" $MODPATH/files/$DIALER fi @@ -761,12 +890,14 @@ if [ -d /data/data/$DIALER ]; then rm -rf /data/data/com.google.android.dialer/files/callrecordingprompt/* mkdir -p /data/data/com.google.android.dialer/files/callrecordingprompt cp -r $MODPATH/files/callrec/* /data/data/com.google.android.dialer/files/callrecordingprompt + chmod 755 /data/data/com.google.android.dialer/files/phenotype if [ $CUSTOM_CALL_SCREEN -eq 0 ]; then + chmod 0500 /data/data/com.google.android.dialer/files/phenotype cp -Tf $MODPATH/files/$DIALER $MODPATH/$DIALER cp -Tf $MODPATH/files/$DIALER-custom $MODPATH/$DIALER-1 else - cp -Tf $MODPATH/files/$DIALER-custom $MODPATH/$DIALER - cp -Tf $MODPATH/files/$DIALER $MODPATH/$DIALER-1 + sed -i -e "s/cp -Tf $MODDIR\/com.google.android.dialer/#cp -Tf $MODDIR\/com.google.android.dialer/g" $MODPATH/service.sh + sed -i -e "s/chmod 500 \/data\/data\/com.google.android.dialer\/files\/phenotype/#chmod 500 \/data\/data\/com.google.android.dialer\/files\/phenotype/g" $MODPATH/service.sh fi cp -Tf $MODPATH/files/$DIALER /data/data/com.google.android.dialer/files/phenotype/$DIALER am force-stop $DIALER @@ -791,10 +922,16 @@ if [ -d /data/data/$DIALER ]; then rm -rf $MODPATH/system$product/priv-app/GoogleDialer/oat fi else + rm -rf $MODPATH/system$product/overlay/PixelifyGD.apk chmod 755 /data/data/com.google.android.dialer/files/phenotype sed -i -e "s/cp -Tf $MODDIR\/com.google.android.dialer/#cp -Tf $MODDIR\/com.google.android.dialer/g" $MODPATH/service.sh sed -i -e "s/chmod 500 \/data\/data\/com.google.android.dialer\/files\/phenotype/#chmod 500 \/data\/data\/com.google.android.dialer\/files\/phenotype/g" $MODPATH/service.sh fi +else + chmod 755 /data/data/com.google.android.dialer/files/phenotype + sed -i -e "s/cp -Tf $MODDIR\/com.google.android.dialer/#cp -Tf $MODDIR\/com.google.android.dialer/g" $MODPATH/service.sh + sed -i -e "s/chmod 500 \/data\/data\/com.google.android.dialer\/files\/phenotype/#chmod 500 \/data\/data\/com.google.android.dialer\/files\/phenotype/g" $MODPATH/service.sh + rm -rf $MODPATH/system$product/overlay/PixelifyGD.apk fi GOOGLE_PREF=/data/data/com.google.android.googlequicksearchbox/shared_prefs/GEL.GSAPrefs.xml @@ -864,7 +1001,7 @@ if [ -d /data/data/com.google.android.googlequicksearchbox ] && [ $API -ge 29 ]; $MODPATH/addon/curl https://gitlab.com/Kingsman-z/pixelify-files/-/raw/master/nga.tar.xz -O &> /proc/self/fd/$OUTFD cd / tar -xf $MODPATH/files/nga.tar.xz -C $MODPATH/system/product - ui_print "" + print "" print " Do you want to create backup of NGA Resources" print " so that you don't need redownload it everytime." print " Vol Up += Yes" @@ -879,7 +1016,7 @@ if [ -d /data/data/com.google.android.googlequicksearchbox ] && [ $API -ge 29 ]; cp -f $MODPATH/files/nga.tar.xz /sdcard/Pixelify/backup/nga.tar.xz mkdir -p /sdcard/Pixelify/version echo "$NGAVERSION" >> /sdcard/Pixelify/version/nga.txt - ui_print "" + print "" print "- NGA Resources installation complete" print "" fi @@ -896,17 +1033,22 @@ if [ -d /data/data/com.google.android.googlequicksearchbox ] && [ $API -ge 29 ]; fi fi - for i in "15114" "45365987" "45357281" "10579" "45363261" "45363174" "45366053"; do + $sqlite $gms "DELETE FROM FlagOverrides WHERE packageName='com.google.android.googlequicksearchbox'" + + for i in "45359819"; do $sqlite $gms "DELETE FROM FlagOverrides WHERE packageName='com.google.android.googlequicksearchbox' AND name='$i'" - $sqlite $gms "INSERT INTO FlagOverrides(packageName, user, name, flagType, boolVal, committed) VALUES('com.google.android.googlequicksearchbox', '', '$i', 0, 0, 0)" - $sqlite $gms "INSERT INTO FlagOverrides(packageName, user, name, flagType, boolVal, committed) VALUES('com.google.android.googlequicksearchbox', '', '$i', 0, 0, 1)" - $sqlite $gms "UPDATE Flags SET boolVal='0' WHERE packageName='com.google.android.googlequicksearchbox' AND name='$i'" + $sqlite $gms "INSERT INTO FlagOverrides(packageName, user, name, flagType, boolVal, committed) VALUES('com.google.android.googlequicksearchbox', '', '$i', 0, 1, 0)" + $sqlite $gms "INSERT INTO FlagOverrides(packageName, user, name, flagType, boolVal, committed) VALUES('com.google.android.googlequicksearchbox', '', '$i', 0, 1, 1)" + $sqlite $gms "UPDATE Flags SET boolVal='1' WHERE packageName='com.google.android.googlequicksearchbox' AND name='$i'" done - + # $sqlite $gms "UPDATE Flags SET stringVal='Raven' WHERE packageName='com.google.android.googlequicksearchbox' AND name='13477'" $sqlite $gms "UPDATE Flags SET stringVal='Pixel 6,Pixel 6 Pro,Pixel 5,Pixel 3XL' WHERE packageName='com.google.android.googlequicksearchbox' AND name='17074'" $sqlite $gms "UPDATE Flags SET stringVal='Oriole,oriole,Raven,raven,Pixel 6,Pixel 6 Pro,redfin,Redfin,Pixel 5,crosshatch,Pixel 3XL' WHERE packageName='com.google.android.googlequicksearchbox' AND name='45353661'" + $sqlite $gms "UPDATE Flags SET stringVal=',96,99,115,135,138,100,101,115,142' WHERE packageName='com.google.android.googlequicksearchbox' AND name='GsaPrefs.Bisto__enabled_features'" + # $sqlite $gms "INSERT INTO FlagOverrides(packageName, user, name, flagType, stringVal, committed) VALUES('com.google.android.googlequicksearchbox', '', '13477', 0, 'Raven', 0)" $sqlite $gms "INSERT INTO FlagOverrides(packageName, user, name, flagType, stringVal, committed) VALUES('com.google.android.googlequicksearchbox', '', '17074', 0, 'Pixel 6,Pixel 6 Pro,Pixel 5,Pixel 3XL', 0)" $sqlite $gms "INSERT INTO FlagOverrides(packageName, user, name, flagType, stringVal, committed) VALUES('com.google.android.googlequicksearchbox', '', '45353661', 0, 'Oriole,oriole,Raven,raven,Pixel 6,Pixel 6 Pro,redfin,Redfin,Pixel 5,crosshatch,Pixel 3XL', 0)" + $sqlite $gms "INSERT INTO FlagOverrides(packageName, user, name, flagType, stringVal, committed) VALUES('com.google.android.googlequicksearchbox', '', 'GsaPrefs.Bisto__enabled_features', 0, ',96,99,115,135,138,100,101,115,142', 0)" cp -f $MODPATH/files/nga.xml $MODPATH/system$product/etc/sysconfig/nga.xml @@ -929,8 +1071,12 @@ if [ -d /data/data/com.google.android.googlequicksearchbox ] && [ $API -ge 29 ]; print "- Making Google as a system app" echo " - Making Google system app" >> $logfile print "" - cp -r ~/$app/com.google.android.googlequicksearchbox*/. $MODPATH/system/product/priv-app/Velvet - mv $MODPATH/system/product/priv-app/Velvet/base.apk $MODPATH/system/product/priv-app/Velvet/Velvet.apk + if [ -f /$app/com.google.android.googlequicksearchbox*/base.apk ]; then + cp -r ~/$app/com.google.android.googlequicksearchbox*/. $MODPATH/system/product/priv-app/Velvet + mv $MODPATH/system/product/priv-app/Velvet/base.apk $MODPATH/system/product/priv-app/Velvet/Velvet.apk + else + cp -r ~/data/adb/modules/Pixelify/system$product/priv-app/Velvet/. $MODPATH/system$product/priv-app/Velvet + fi rm -rf $MODPATH/system/product/priv-app/Velvet/oat #mv $MODPATH/files/privapp-permissions-com.google.android.googlequicksearchbox.xml $MODPATH/system/product/etc/permissions/privapp-permissions-com.google.android.googlequicksearchbox.xml elif [ -f /data/adb/modules/Pixelify/system/product/priv-app/Velvet/Velvet.apk ]; then @@ -939,8 +1085,12 @@ if [ -d /data/data/com.google.android.googlequicksearchbox ] && [ $API -ge 29 ]; print "- Making Google as a system app" echo " - Making Google system app" >> $logfile print "" - cp -r ~/$app/com.google.android.googlequicksearchbox*/. $MODPATH/system/product/priv-app/Velvet - mv $MODPATH/system/product/priv-app/Velvet/base.apk $MODPATH/system/product/priv-app/Velvet/Velvet.apk + if [ -f /$app/com.google.android.googlequicksearchbox*/base.apk ]; then + cp -r ~/$app/com.google.android.googlequicksearchbox*/. $MODPATH/system/product/priv-app/Velvet + mv $MODPATH/system/product/priv-app/Velvet/base.apk $MODPATH/system/product/priv-app/Velvet/Velvet.apk + else + cp -r ~/data/adb/modules/Pixelify/system$product/priv-app/Velvet/. $MODPATH/system$product/priv-app/Velvet + fi rm -rf $MODPATH/system/product/priv-app/Velvet/oat fi #mv $MODPATH/files/privapp-permissions-com.google.android.googlequicksearchbox.xml $MODPATH/system/product/etc/permissions/privapp-permissions-com.google.android.googlequicksearchbox.xml @@ -964,13 +1114,13 @@ install_wallpaper() { print "- Downloading Styles and Wallpapers" echo " - Downloading and installing Styles and Wallpapers" >> $logfile cd $MODPATH/files - $MODPATH/addon/curl https://gitlab.com/Kingsman-z/pixelify-files/-/raw/master/wpg-$API.tar.xz -O &> /proc/self/fd/$OUTFD + $MODPATH/addon/curl https://gitlab.com/Kingsman-z/pixelify-files/-/raw/master/wpg-$NEWAPI.tar.xz -O &> /proc/self/fd/$OUTFD cd / rm -rf $MODPATH/system$product/priv-app/WallpaperPickerGoogleRelease print "" print "- Installing Styles and Wallpapers" print "" - tar -xf $MODPATH/files/wpg-$API.tar.xz -C $MODPATH/system$product/priv-app + tar -xf $MODPATH/files/wpg-$NEWAPI.tar.xz -C $MODPATH/system$product/priv-app if [ $API -ge 31 ]; then mkdir -p $MODPATH/system/product/app/PixelThemesStub rm -rf $MODPATH/system/product/app/PixelThemesStub/PixelThemesStub.apk @@ -1031,7 +1181,7 @@ if [ $API -ge 28 ]; then print "- Installing Pixel LiveWallpapers" print "" tar -xf /sdcard/Pixelify/backup/pixel.tar.xz -C $MODPATH/system$product - pm install $MODPATH/system$product/priv-app/PixelLiveWallpaperPrebuilt/*.apk + pm install $MODPATH/system$product/priv-app/PixelLiveWallpaperPrebuilt/*.apk &>/dev/null if [ $API -le 28 ]; then mv $MODPATH/system/overlay/Breel*.apk $MODPATH/vendor/overlay @@ -1055,7 +1205,7 @@ if [ $API -ge 28 ]; then sed -i -e "s/Live=0/Live=1/g" $MODPATH/config.prop print "- Downloading Pixel LiveWallpapers" echo " - Downloading and Installing Pixel Wallpapers" >> $logfile - ui_print "" + print "" cd $MODPATH/files $MODPATH/addon/curl https://gitlab.com/Kingsman-z/pixelify-files/-/raw/master/pixel.tar.xz -O &> /proc/self/fd/$OUTFD cd / @@ -1068,7 +1218,7 @@ if [ $API -ge 28 ]; then mv $MODPATH/system/overlay/Breel*.apk $MODPATH/vendor/overlay rm -rf $MODPATH/system/overlay fi - ui_print "" + print "" print " Do you want to create backup of Pixel LiveWallpapers?" print " so that you don't need redownload it everytime." print " Vol Up += Yes" @@ -1108,33 +1258,37 @@ print " Vol Down += No" no_vk "ENABLE_BOOTANIMATION" if $VKSEL; then echo " - Installing Pixel Bootanimation" >> $logfile - if [ -f /system$product/media/bootanimation.zip ]; then - boot_res=$(unzip -p /system$product/media/bootanimation.zip desc.txt | head -n 1 | cut -d' ' -f1) + if [ -f /system/media/bootanimation.zip ]; then + MEDIA_PATH=system/media + else + MEDIA_PATH=system/product/media + fi + boot_res=$(unzip -p /$MEDIA_PATH/bootanimation.zip desc.txt | head -n 1 | cut -d' ' -f1) + if [ ! -z "$boot_res" ]; then print " - Detected $boot_res Resolution Bootanimation" - print "" - case "$boot_res" in - 720) - tar -xf $MODPATH/files/bootanimation-720.tar.xz -C $MODPATH/system$product/media - print " - Using 720p resolution pixel Bootanimation" - print "" - ;; - 1440) - tar -xf $MODPATH/files/bootanimation-1440.tar.xz -C $MODPATH/system$product/media - print " - Using 1440p resolution pixel Bootanimation" - print "" - ;; - *) - tar -xf $MODPATH/files/bootanimation.tar.xz -C $MODPATH/system$product/media - print " - Using 1080p resolution pixel Bootanimation" - print "" - ;; - esac else - tar -xf $MODPATH/files/bootanimation.tar.xz -c $MODPATH/system$product/media + print " - Warning: Failed to detect Resolution of Bootanimation" fi + print "" + mkdir -p $MODPATH/$MEDIA_PATH + case "$boot_res" in + 720) + tar -xf $MODPATH/files/bootanimation-720.tar.xz -C $MODPATH/$MEDIA_PATH + print " - Using 720p resolution pixel Bootanimation" + ;; + 1440) + tar -xf $MODPATH/files/bootanimation-1440.tar.xz -C $MODPATH/$MEDIA_PATH + print " - Using 1440p resolution pixel Bootanimation" + ;; + *) + tar -xf $MODPATH/files/bootanimation.tar.xz -C $MODPATH/$MEDIA_PATH + print " - Using 1080p resolution pixel Bootanimation" + ;; + esac + print "" if [ ! -f /system/bin/themed_bootanimation ]; then - rm -rf $MODPATH/system$product/media/bootanimation.zip - cp -f $MODPATH/system$product/media/bootanimation-dark.zip $MODPATH/system$product/media/bootanimation.zip + rm -rf $MODPATH/$MEDIA_PATH/bootanimation.zip + cp -f $MODPATH/$MEDIA_PATH/bootanimation-dark.zip $MODPATH/$MEDIA_PATH/bootanimation.zip echo " - Themed Animation not detected, using dark animation as default" >> $logfile fi else @@ -1143,10 +1297,14 @@ else fi if [ $API -ge 29 ]; then - PL=$(find /system -name *Launcher* | grep -v overlay | grep -v Nexus | grep -v "\.") + PL=$(find /system -name *Launcher* | grep -v overlay | grep -v Nexus | grep -v bin | grep -v "\.") TR=$(find /system -name *Trebuchet* | grep -v overlay | grep -v "\.") QS=$(find /system -name *QuickStep* | grep -v overlay | grep -v "\.") - if [ -f /sdcard/Pixelify/backup/pl-$API.tar.xz ]; then + LW=$(find /system -name *MiuiHome* | grep -v overlay | grep -v "\.") + TW=$(find /system -name *TouchWizHome* | grep -v overlay | grep -v "\.") + KW=$(find /system -name *Lawnchair* | grep -v overlay | grep -v "\.") + + if [ -f /sdcard/Pixelify/backup/pl-$NEWAPI.tar.xz ]; then echo " - Backup Detected for Pixel Launcher" >> $logfile print " Do you want to install Pixel Launcher?" print " (Backup detected, no internet needed)" @@ -1154,10 +1312,10 @@ if [ $API -ge 29 ]; then print " Vol Down += No" no_vk "ENABLE_PIXEL_LAUNCHER" if $VKSEL; then - REMOVE="$REMOVE $PL $TR $QS" - if [ "$(cat /sdcard/Pixelify/version/pl-$API.txt)" != "$PLVERSION" ]; then + REMOVE="$REMOVE $PL $TR $QS $LW $TW $KW" + if [ "$(cat /sdcard/Pixelify/version/pl-$NEWAPI.txt)" != "$PLVERSION" ]; then echo " - New Version Backup Detected for Pixel Launcher" >> $logfile - echo " - Old version:$(cat /sdcard/Pixelify/version/pl-$API.txt), New Version: $PLVERSION " >> $logfile + echo " - Old version:$(cat /sdcard/Pixelify/version/pl-$NEWAPI.txt), New Version: $PLVERSION " >> $logfile print " (Network Connection Needed)" print " New version Detected " print " Do you Want to update or use Old Backup?" @@ -1174,15 +1332,15 @@ if [ $API -ge 29 ]; then rm -rf /sdcard/Pixelify/version/pl-$API.txt cd $MODPATH/files if [ $NEW_PL -eq 1 ]; then - $MODPATH/addon/curl https://gitlab.com/Kingsman-z/pixelify-files/-/raw/master/pl-new-$API.tar.xz -O &> /proc/self/fd/$OUTFD - mv pl-new-$API.tar.xz pl-$API.tar.xz + $MODPATH/addon/curl https://gitlab.com/Kingsman-z/pixelify-files/-/raw/master/pl-new-$NEWAPI.tar.xz -O &> /proc/self/fd/$OUTFD + mv pl-new-$NEWAPI.tar.xz pl-$NEWAPI.tar.xz else $MODPATH/addon/curl https://gitlab.com/Kingsman-z/pixelify-files/-/raw/master/pl-$API.tar.xz -O &> /proc/self/fd/$OUTFD fi cd / print "- Creating Backup" print "" - cp -f $MODPATH/files/pl-$API.tar.xz /sdcard/Pixelify/backup/pl-$API.tar.xz + cp -f $MODPATH/files/pl-$NEWAPI.tar.xz /sdcard/Pixelify/backup/pl-$NEWAPI.tar.xz echo " - Creating Backup for Pixel Launcher" >> $logfile echo "$PLVERSION" >> /sdcard/Pixelify/version/pl-$API.txt else @@ -1198,8 +1356,8 @@ if [ $API -ge 29 ]; then print "- Installing Pixel Launcher" print "" - if [ $API -eq 31 ]; then - tar -xf /sdcard/Pixelify/backup/pl-$API.tar.xz -C $MODPATH/system$product + if [ $API -ge 31 ]; then + tar -xf /sdcard/Pixelify/backup/pl-$NEWAPI.tar.xz -C $MODPATH/system$product else tar -xf /sdcard/Pixelify/backup/pl-$API.tar.xz -C $MODPATH/system$product/priv-app fi @@ -1223,25 +1381,25 @@ if [ $API -ge 29 ]; then if [ $internet -eq 1 ]; then print "- Downloading Pixel Launcher" echo " - Downloading and Installing Pixel Launcher" >> $logfile - ui_print "" + print "" cd $MODPATH/files if [ $NEW_PL -eq 1 ]; then - $MODPATH/addon/curl https://gitlab.com/Kingsman-z/pixelify-files/-/raw/master/pl-new-$API.tar.xz -O &> /proc/self/fd/$OUTFD - mv pl-new-$API.tar.xz pl-$API.tar.xz + $MODPATH/addon/curl https://gitlab.com/Kingsman-z/pixelify-files/-/raw/master/pl-new-$NEWAPI.tar.xz -O &> /proc/self/fd/$OUTFD + mv pl-new-$NEWAPI.tar.xz pl-$NEWAPI.tar.xz else $MODPATH/addon/curl https://gitlab.com/Kingsman-z/pixelify-files/-/raw/master/pl-$API.tar.xz -O &> /proc/self/fd/$OUTFD fi cd / print "" print "- Installing Pixel Launcher" - if [ $API -eq 31 ]; then - tar -xf $MODPATH/files/pl-$API.tar.xz -C $MODPATH/system$product + if [ $API -ge 31 ]; then + tar -xf $MODPATH/files/pl-$NEWAPI.tar.xz -C $MODPATH/system$product else tar -xf $MODPATH/files/pl-$API.tar.xz -C $MODPATH/system$product/priv-app fi - REMOVE="$REMOVE $PL $TR $QS" - ui_print "" + REMOVE="$REMOVE $PL $TR $QS $LW $TW $KW" + print "" print " Do you want to create backup of Pixel Launcher?" print " so that you don't need redownload it everytime." print " Vol Up += Yes" @@ -1250,12 +1408,12 @@ if [ $API -ge 29 ]; then if $VKSEL; then print "- Creating Backup" mkdir -p /sdcard/Pixelify/backup - rm -rf /sdcard/Pixelify/backup/pl-$API.tar.xz - cp -f $MODPATH/files/pl-$API.tar.xz /sdcard/Pixelify/backup/pl-$API.tar.xz + rm -rf /sdcard/Pixelify/backup/pl-$NEWAPI.tar.xz + cp -f $MODPATH/files/pl-$API.tar.xz /sdcard/Pixelify/backup/pl-$NEWAPI.tar.xz print "" mkdir -p /sdcard/Pixelify/version echo " - Creating Backup for Pixel Launcher" >> $logfile - echo "$PLVERSION" >> /sdcard/Pixelify/version/pl-$API.txt + echo "$PLVERSION" >> /sdcard/Pixelify/version/pl-$NEWAPI.txt print " - Done" print "" fi @@ -1291,22 +1449,11 @@ if [ $API -ge 30 ]; then print "- Installing Extreme Battery Saver (Flipendo)" echo " - Installing Extreme Battery Saver (Flipendo)" >> $logfile tar -xf $MODPATH/files/flip.tar.xz -C $MODPATH/system - tar -xf $MODPATH/files/flip-$API.tar.xz -C $MODPATH/system - if [ -f /system/system_ext/etc/selinux/system_ext_seapp_contexts ]; then - flip=/system/system_ext/etc/selinux/system_ext_seapp_contexts - elif [ -f /system_ext/etc/selinux/system_ext_seapp_contexts ]; then - flip=/system_ext/etc/selinux/system_ext_seapp_contexts - else - flip="" - echo "user=_app seinfo=platform name=com.google.android.flipendo domain=flipendo type=app_data_file levelFrom=all" >> $MODPATH/system/system_ext/etc/selinux/system_ext_seapp_contexts - fi - if [ ! -z "$flip" ]; then - if [ -z "$(cat $flip | grep com.google.android.flipendo)" ]; then - echo " - Adding Flipendo seapp_contexts" >> $logfile - cp -r $flip $MODPATH/system/system_ext/etc/selinux/system_ext_seapp_contexts - echo "user=_app seinfo=platform name=com.google.android.flipendo domain=flipendo type=app_data_file levelFrom=all" >> $MODPATH/system/system_ext/etc/selinux/system_ext_seapp_contexts - fi - fi + if [ $NEWAPI -ge 31 ]; then + tar -xf $MODPATH/files/flip-31.tar.xz -C $MODPATH/system + else + tar -xf $MODPATH/files/flip-$API.tar.xz -C $MODPATH/system + fi FLIPENDO=$(find /system -name Flipendo) REMOVE="$REMOVE $FLIPENDO" else @@ -1314,39 +1461,57 @@ if [ $API -ge 30 ]; then fi fi -FIT=/data/data/com.google.android.apps.fitness/shared_prefs/growthkit_phenotype_prefs.xml -if [ -f $FIT ]; then - print "" - print " Google Fit is installed." - print "- Enabling Heart rate Measurement " - print "- Enabling Respiratory rate." - bool_patch DeviceStateFeature $FIT - bool_patch TestingFeature $FIT - bool_patch Sync__sync_after_promo_shown $FIT - bool_patch Sync__use_experiment_flag_from_promo $FIT - bool_patch Promotions $FIT - echo " - Patching Google Fit's bools" >> $logfile -fi - GBOARD=/data/data/com.google.android.inputmethod.latin/shared_prefs/flag_value.xml if [ ! -z "$(pm list packages | grep com.google.android.inputmethod.latin)" ]; then - ui_print "" + print "" print " GBoard is installed." print "- Enabling Smart Compose" print "- Enabling Redesigned Ui" - print "- Enabling Lens for Gboard" + # print "- Enabling Lens for Gboard" print "- Enabling NGA Voice typing (If Nga is installed)" - bool_patch nga $GBOARD - bool_patch redesign $GBOARD - bool_patch lens $GBOARD - bool_patch generation $GBOARD - bool_patch multiword $GBOARD - bool_patch core_typing $GBOARD + + bool_patch nga $GBOARD + bool_patch redesign $GBOARD + bool_patch lens $GBOARD + bool_patch generation $GBOARD + bool_patch multiword $GBOARD + bool_patch voice_promo $GBOARD + bool_patch silk $GBOARD + bool_patch enable_email_provider_completion $GBOARD + bool_patch enable_multiword_predictions $GBOARD + bool_patch enable_inline_suggestions_on_decoder_side $GBOARD + bool_patch enable_core_typing_experience_indicator_on_composing_text $GBOARD + bool_patch enable_inline_suggestions_on_client_side $GBOARD + bool_patch enable_core_typing_experience_indicator_on_candidates $GBOARD + bool_patch fast_access_bar $GBOARD + bool_patch tiresias $GBOARD + bool_patch agsa $GBOARD + bool_patch enable_voice $GBOARD + bool_patch personalization $GBOARD + bool_patch lm $GBOARD + bool_patch feature_cards $GBOARD + bool_patch dynamic_art $GBOARD + bool_patch multilingual $GBOARD + bool_patch show_suggestions_for_selected_text_while_dictating $GBOARD + bool_patch enable_preemptive_decode $GBOARD + bool_patch translate $GBOARD + bool_patch tflite $GBOARD + bool_patch enable_show_inline_suggestions_in_popup_view $GBOARD + bool_patch enable_nebulae_materializer_v2 $GBOARD + bool_patch floating $GBOARD + bool_patch split $GBOARD + bool_patch spell_checker $GBOARD + $sqlite $gms "DELETE FROM FlagOverrides WHERE packageName='com.google.android.inputmethod.latin#com.google.android.inputmethod.latin'" - for i in "enable_email_provider_completion" "enable_inline_suggestions_tooltip_v2" "crank_trigger_decoder_inline_prediction_first" "enable_multiword_suggestions_as_inline_from_crank_cifg" "enable_floating_keyboard_v2" "enable_multiword_predictions_from_user_history" "enable_single_word_suggestions_as_inline_from_crank_cifg" "enable_matched_predictions_as_inline_from_crank_cifg" "enable_single_word_predictions_as_inline_from_crank_cifg" "enable_inline_suggestions_space_tooltip" "enable_multiword_predictions_as_inline_from_crank_cifg" "enable_user_history_predictions_as_inline_from_crank_cifg" "crank_trigger_decoder_inline_completion_first" "enable_inline_suggestions_on_decoder_side" "enable_core_typing_experience_indicator_on_composing_text" "enable_inline_suggestions_on_client_side" "enable_core_typing_experience_indicator_on_candidates" "spellchecker_enable_language_trigger" "silk_on_all_pixel" "silk_on_all_devices" "nga_enable_undo_delete" "nga_enable_sticky_mic" "nga_enable_spoken_emoji_sticky_variant" "nga_enable_mic_onboarding_animation" "nga_enable_mic_button_when_dictation_eligible" "enable_next_generation_hwr_support" "enable_nga"; do + for i in "enable_lens" "enable_trigger_spell_check_in_composing" "enable_spellchecker_chips_ui" "enable_trigger_spell_check_in_sentence" "enable_spell_checker_extension" "enable_nga_ime_api" "show_feature_split_debug_activity" "enable_feature_split" "enable_feature_split_brella" "enable_email_provider_completion" "enable_inline_suggestions_tooltip_v2" "crank_trigger_decoder_inline_prediction_first" "enable_multiword_suggestions_as_inline_from_crank_cifg" "enable_floating_keyboard_v2" "enable_multiword_predictions_from_user_history" "enable_single_word_suggestions_as_inline_from_crank_cifg" "enable_matched_predictions_as_inline_from_crank_cifg" "enable_single_word_predictions_as_inline_from_crank_cifg" "enable_inline_suggestions_space_tooltip" "enable_multiword_predictions_as_inline_from_crank_cifg" "enable_user_history_predictions_as_inline_from_crank_cifg" "crank_trigger_decoder_inline_completion_first" "enable_inline_suggestions_on_decoder_side" "enable_core_typing_experience_indicator_on_composing_text" "enable_inline_suggestions_on_client_side" "enable_core_typing_experience_indicator_on_candidates" "spellchecker_enable_language_trigger" "silk_on_all_pixel" "silk_on_all_devices" "nga_enable_undo_delete" "nga_enable_sticky_mic" "nga_enable_spoken_emoji_sticky_variant" "nga_enable_mic_onboarding_animation" "nga_enable_mic_button_when_dictation_eligible" "enable_nga"; do $sqlite $gms "DELETE FROM FlagOverrides WHERE packageName='com.google.android.inputmethod.latin#com.google.android.inputmethod.latin' AND name='$i'" $sqlite $gms "INSERT INTO FlagOverrides(packageName, user, name, flagType, boolVal, committed) VALUES('com.google.android.inputmethod.latin#com.google.android.inputmethod.latin', '', '$i', 0, 1, 0)" - $sqlite $gms "UPDATE Flags SET boolVal='1' WHERE packageName='com.google.android.inputmethod.latin#com.google.android.inputmethod.latin' AND name='$i'" + # $sqlite $gms "UPDATE Flags SET boolVal='1' WHERE packageName='com.google.android.inputmethod.latin#com.google.android.inputmethod.latin' AND name='$i'" + done + for i in "disable_spell_checker_without_chips"; do + $sqlite $gms "DELETE FROM FlagOverrides WHERE packageName='com.google.android.inputmethod.latin#com.google.android.inputmethod.latin' AND name='$i'" + $sqlite $gms "INSERT INTO FlagOverrides(packageName, user, name, flagType, boolVal, committed) VALUES('com.google.android.inputmethod.latin#com.google.android.inputmethod.latin', '', '$i', 0, 0, 0)" + $sqlite $gms "UPDATE Flags SET boolVal='0' WHERE packageName='com.google.android.inputmethod.latin#com.google.android.inputmethod.latin' AND name='$i'" done $sqlite $gms "INSERT INTO FlagOverrides(packageName, user, name, flagType, intVal, committed) VALUES('com.google.android.inputmethod.latin#com.google.android.inputmethod.latin', '', 'inline_suggestion_dismiss_tooltip_delay_time_millis', 0, 2000, 0)" $sqlite $gms "INSERT INTO FlagOverrides(packageName, user, name, flagType, intVal, committed) VALUES('com.google.android.inputmethod.latin#com.google.android.inputmethod.latin', '', 'inline_suggestion_experiment_version', 0, 4, 0)" @@ -1381,7 +1546,6 @@ install_tts() { print "- Google TTS is not installed as a system app !!" print "- Making Google TTS as a system app" echo " - Making Google TTS system app" >> $logfile - print "" mkdir -p $MODPATH/system$product/app/GoogleTTS if [ -f /$app/com.google.android.tts*/base.apk ]; then cp -r ~/$app/com.google.android.tts*/. $MODPATH/system$product/app/GoogleTTS @@ -1395,18 +1559,25 @@ install_tts() { if [ ! -z $(pm list packages com.google.android.tts) ]; then if [ -z $(pm list packages -s com.google.android.tts) ] && [ ! -f /data/adb/modules/Pixelify/system/product/app/GoogleTTS/GoogleTTS.apk ]; then install_tts - elif [ -f /data/adb/modules/Pixelify/system/product/app/GoogleTTS/GoogleTTS.apk ]; then + elif [ -f /data/adb/modules/Pixelify/system$product/app/GoogleTTS/GoogleTTS.apk ]; then install_tts fi else + print "" print " ! Warning !" print " - It is recommended to install Google TTS" print " - If you face any problem regarding call screening or call recording" print " - Then Install GoogleTTS via playstore" print " - Reinstall module to make it system app" - print "" fi +for i in "BatteryUsage__is_enabled" "BatteryWidget__is_widget_enabled" "BatteryWidget__is_enabled"; do + $sqlite $gms "DELETE FROM FlagOverrides WHERE packageName='com.google.android.settings.intelligence' AND name='$i'" + $sqlite $gms "INSERT INTO FlagOverrides(packageName, user, name, flagType, boolVal, committed) VALUES('com.google.android.settings.intelligence', '', '$i', 0, 1, 0)" + $sqlite $gms "UPDATE Flags SET boolVal='1' WHERE packageName='com.google.android.settings.intelligence' AND name='$i'" +done + +if [ $TENSOR -eq 0 ]; then $sqlite $gms "DELETE FROM FlagOverrides WHERE packageName='com.google.android.apps.recorder'" for i in "Experiment__soda_transcriber"; do $sqlite $gms "DELETE FROM FlagOverrides WHERE packageName='com.google.android.apps.recorder'" @@ -1414,12 +1585,21 @@ for i in "Experiment__soda_transcriber"; do $sqlite $gms "INSERT INTO FlagOverrides(packageName, user, name, flagType, boolVal, committed) VALUES('com.google.android.apps.recorder', '', '$i', 0, 0, 1)" $sqlite $gms "UPDATE Flags SET boolVal='0' WHERE packageName='com.google.android.apps.recorder' AND name='$i'" done +fi + +$sqlite $gms "DELETE FROM FlagOverrides WHERE packageName='com.google.android.apps.wellbeing.device#com.google.android.apps.wellbeing'" +for i in "ScreenTimeWidget__enable_pin_screen_time_widget_intent" "ScreenTimeWidget__enable_screen_time_widget"; do + $sqlite $gms "DELETE FROM FlagOverrides WHERE packageName='com.google.android.apps.wellbeing.device#com.google.android.apps.wellbeing'" + $sqlite $gms "INSERT INTO FlagOverrides(packageName, user, name, flagType, boolVal, committed) VALUES('com.google.android.apps.wellbeing.device#com.google.android.apps.wellbeing', '', '$i', 0, 1, 0)" + $sqlite $gms "INSERT INTO FlagOverrides(packageName, user, name, flagType, boolVal, committed) VALUES('com.google.android.apps.wellbeing.device#com.google.android.apps.wellbeing', '', '$i', 0, 1, 1)" + $sqlite $gms "UPDATE Flags SET boolVal='1' WHERE packageName='com.google.android.apps.wellbeing.device#com.google.android.apps.wellbeing' AND name='$i'" +done if [ -f $gser ]; then for i in "fitness.micro.show_fitness_promo" "fitness.micro.enable_active_mode_heart_rate" "fitness.micro.enable_active_mode_media_control" "photos:enable_backup_promo" "search_allow_voice_search_hints" "googletts:use_lstm"; do $sqlite $gser "DELETE FROM overrides WHERE name='$i'" $sqlite $gser "INSERT INTO overrides(name, value) VALUES('$i', 'true')" -done +done for i in "voice_search:advanced_features_enabled"; do $sqlite $gser "DELETE FROM overrides WHERE name='$i'" $sqlite $gser "INSERT INTO overrides(name, value) VALUES('$i', '1')" @@ -1448,6 +1628,9 @@ set_perm_app() { done if [ "$name" == "com.google.android.apps.nexuslauncher" ]; then echo " " >> $path/etc/permissions/privapp_whitelist_$name.xml + elif [ "$name" == "com.google.android.as.oss" ]; then + echo " " >> $path/etc/permissions/privapp_whitelist_$name.xml + echo " " >> $path/etc/permissions/privapp_whitelist_$name.xml fi echo " " >> $path/etc/permissions/privapp_whitelist_$name.xml echo "" >> $path/etc/permissions/privapp_whitelist_$name.xml @@ -1610,7 +1793,7 @@ add_font() { sed -i -e 's/<\/fonts-modification>//g' $MODPATH/system$product/etc/fonts_customization.xml echo "$2" >> $MODPATH/system$product/etc/fonts_customization.xml echo "" >> $MODPATH/system$product/etc/fonts_customization.xml - fi + fi } if [ -f /system$product/etc/fonts_customization.xml ]; then @@ -1643,7 +1826,8 @@ rm -rf $MODPATH/inc.prop # Disable features as per API in service.sh if [ $API -ge 31 ]; then rm -rf $MODPATH/system/product/overlay/PixelifyPixel.apk - sed -i -e 's///g' $MODPATH/system/product/etc/sysconfig/nexus.xml + rm -rf $MODPATH/system/product/overlay/PixeliflyApi30.apk + sed -i -e 's///g' $MODPATH/system/product/etc/sysconfig/pixelify.xml if [ $WREM -eq 1 ]; then rm -rf $MODPATH/system/product/priv-app/WallpaperPickerGoogleRelease fi @@ -1669,10 +1853,14 @@ rm -rf $MODPATH/system/product/data rm -rf $pix/apps_temp.txt mv $pix/app2.txt $pix/app.txt +echo " +- Replacing apps $REMOVE +" >> $logfile + echo " ---- Installation Finished ----" >> $logfile -ui_print "" +print "" print "- Done" -ui_print "" -ui_print " - Installation logs were saved as /sdcard/Pixelify/logs.txt" - +print "" +print " - Installation logs were saved as /sdcard/Pixelify/logs.txt" +print "" \ No newline at end of file diff --git a/deviceconfig.txt b/deviceconfig.txt index 9d7aabc..0b1b058 100644 --- a/deviceconfig.txt +++ b/deviceconfig.txt @@ -1,15 +1,11 @@ -# Privacy -privacy/discrete_history_ops_cslist=0,109,1,108,26,101,27,102,106,100,8,9,6,7,4,5,62,59,60,90,77,111,114,112,51,65,13,6,7,52,53,54,69,74,79,113,20,16,14,19,18,57 -#privacy/location_indicators_enabled=false -privacy/location_indicator_settings_enabled=true -privacy/permissions_hub_enabled=true - # Device Personalistion Services +#device_personalization_services/SmartRecPixelSearch__enable_spelling_correction=false device_personalization_services/ActionRanking__action_ranking_type=verb_preserving_action_invoke_frequency device_personalization_services/ActionRanking__enable_example_store=true device_personalization_services/ActionRanking__enable_example_store_v2=true device_personalization_services/AdaptiveAudio__enable_adaptive_audio=true -device_personalization_services/AdaptiveAudio__show_promo_notification=true +device_personalization_services/AdaptiveAudio__show_promo_notification=false +device_personalization_services/AdaptiveAudio__use_silence_detector_state_bug_fix=false device_personalization_services/Attention__accel_sensor_enabled=false device_personalization_services/Attention__accel_sensor_threshold_mss=0.2 device_personalization_services/Attention__enabled=true @@ -20,15 +16,29 @@ device_personalization_services/BrellaInAstrea__enable_brella_in_astrea=true device_personalization_services/Brella__enable_westworld_logging_override=true device_personalization_services/Brella__log_sampling_percentage=100 device_personalization_services/Captions__enable_text_transform=true +device_personalization_services/Captions__new_model_version_advanced=20211104 device_personalization_services/Captions__speech_threshold=0.2 device_personalization_services/Captions__surface_sound_events=true device_personalization_services/Captions__visibility_playing_duration_millis=5000 device_personalization_services/Captions__visibility_stopped_duration_millis=1500 device_personalization_services/ChroniclePackageMonitoring__enable_reconcile_job=true +device_personalization_services/Echo__activate_people_shortcuts_app_disabling=false +device_personalization_services/Echo__app_prediction_active_predictor=REFRACTION +device_personalization_services/Echo__enable_audio_device_event_usage=true +device_personalization_services/Echo__enable_headphones_suggestions_from_agsa=true +device_personalization_services/Echo__enable_notification_expiration=false +device_personalization_services/Echo__enable_people_module=true +device_personalization_services/Echo__enable_people_shortcuts=true device_personalization_services/Echo__enable_priority_suggestion=true device_personalization_services/Echo__enable_refraction=true +device_personalization_services/Echo__enable_shade_reduction_metric=true +device_personalization_services/Echo__enable_shade_time_metric=true device_personalization_services/Echo__enable_sharesheet_ranking=true -device_personalization_services/Echo__refraction_last_app_override=true +device_personalization_services/Echo__expiration_predictor_timer_in_minutes=1440 +device_personalization_services/Echo__expiration_time_in_minutes=1440 +device_personalization_services/Echo__play_snapshot_manifest_url= +device_personalization_services/Echo__play_snapshot_version=0 +device_personalization_services/Echo__refraction_last_app_override=false device_personalization_services/Echo__refraction_max_prediction_spots=5 device_personalization_services/Echo__sharesheet_enable_base_score_adjustment=false device_personalization_services/Echo__smartspace_enable_doorbell=true @@ -37,18 +47,14 @@ device_personalization_services/Echo__smartspace_enable_echo_settings=true device_personalization_services/Echo__smartspace_enable_light_predictor=true device_personalization_services/Echo__smartspace_enable_paired_device_predictor=true device_personalization_services/Echo__smartspace_enable_safety_check_predictor=true -device_personalization_services/FederatedAssistant__enable_correction_learning=true -device_personalization_services/FederatedAssistant__enable_ekho=true -device_personalization_services/FederatedAssistant__enable_input_context_snapshot_capture=true -device_personalization_services/Fedex__enable_fedex=true +device_personalization_services/InterestsModel__enable_interests_model=true +#device_personalization_services/InterestsModel__interactions_scoring_table_superpacks_manifest_version=0 device_personalization_services/Logging__enable_aiai_clearcut_logging=false device_personalization_services/NotificationAssistant__enable_service=true device_personalization_services/NotificationAssistant__enable_upgrade_importance=true -device_personalization_services/NowPlaying__ambient_music_on_demand_enabled=true -device_personalization_services/NowPlaying__cloud_api_allowed=true -device_personalization_services/NowPlaying__enable_usage_fa=true -device_personalization_services/NowPlaying__on_demand_retry_fingerprinter_install=true -device_personalization_services/NowPlaying__youtube_export_enabled=true +device_personalization_services/OverviewFederatedAnalytics__enable_fa=false +device_personalization_services/OverviewFederatedAnalytics__enable_min_training_interval=false +device_personalization_services/OverviewFederatedAnalytics__enable_non_synthetic_logs=false device_personalization_services/Overview__enable_image_selection=true device_personalization_services/Overview__enable_japanese_ocr=true device_personalization_services/Overview__enable_lens_r_overview_long_press=true @@ -59,6 +65,7 @@ device_personalization_services/Overview__enable_pir_clearcut_logging=true device_personalization_services/Overview__enable_pir_westworld_logging=true device_personalization_services/Overview__enable_proactive_hints=false device_personalization_services/Overview__enable_superpacks_pir_protocol=true +device_personalization_services/Overview__min_lens_agsa_app_version=301084649 device_personalization_services/Pecan__enable_pecan=true device_personalization_services/Pecan__enable_pecan_scroll=true device_personalization_services/Personalization__enable_personalized_slice_info_mdh_sync_v2=true @@ -70,6 +77,7 @@ device_personalization_services/Reflection__enable_share_activity=true device_personalization_services/Reflection__example_logging_enabled=true device_personalization_services/Reflection__training_brella_model_enabled=true device_personalization_services/Safecomms__enable=true +device_personalization_services/Screenshot__enable_covid_card_action=false device_personalization_services/Screenshot__can_use_gms_core_to_save_boarding_pass=true device_personalization_services/Screenshot__can_use_gpay_to_save_boarding_pass=true device_personalization_services/Screenshot__enable_in_work_profile=true @@ -82,21 +90,24 @@ device_personalization_services/SmartDictation__enable_alternatives_from_past_co device_personalization_services/SmartDictation__enable_alternatives_from_speech_hypotheses=true device_personalization_services/SmartDictation__enable_biasing_for_commands=true device_personalization_services/SmartDictation__enable_biasing_for_contacts=true +device_personalization_services/SmartDictation__enable_biasing_for_contacts_learned_from_past_corrections=true +device_personalization_services/SmartDictation__enable_biasing_for_interests_model=true device_personalization_services/SmartDictation__enable_biasing_for_past_corrections=true device_personalization_services/SmartDictation__enable_biasing_for_screen_context=true device_personalization_services/SmartDictation__enable_personalized_biasing_on_locked_device=true device_personalization_services/SmartDictation__enable_selection_filtering=true -device_personalization_services/SmartRecPixelSearch__enable_spelling_correction=true -device_personalization_services/SmartSelect__enable_smart_select_example_cache_on_suggest_selection=false +device_personalization_services/SmartSelect__enable_smart_select_example_cache_on_suggest_selection=true device_personalization_services/SmartSelect__enable_smart_select_example_collection=true device_personalization_services/SmartSelect__enable_smart_select_example_store_connector=true -device_personalization_services/SmartSelect__enable_smart_select_locked_bootloader_check=true +device_personalization_services/SmartSelect__enable_smart_select_locked_bootloader_check=false device_personalization_services/SmartSelect__enable_smart_select_training_manager_populations=true -device_personalization_services/SmartSelect__smart_select_brella_population_name=aiai/smartselect/prod -device_personalization_services/SmartSelect__smart_select_brella_population_name_prefix=aiai/smartselect/prod/train -device_personalization_services/SmartSelect__smart_select_brella_session_name=aiai_smartselect_fa -device_personalization_services/SmartSelect__smart_select_example_ttl_ms=1209600000 device_personalization_services/SpeechRecognitionService__tng_transcription_soda_ttl_sec=10 +device_personalization_services/Superpacks__require_battery_not_low_by_default=false +device_personalization_services/Superpacks__require_charging_by_default=false +device_personalization_services/Superpacks__require_idle_by_default=false +device_personalization_services/Superpacks__use_astrea_http_downloader_transport=true +device_personalization_services/Superpacks__use_logging_listener=true +device_personalization_services/TextClassifierParams__enable_deeplinks_latency_improvement=false device_personalization_services/TextClassifierParams__enable_dynamic_kg_collections=true device_personalization_services/TextClassifierParams__enable_instagram_action=true device_personalization_services/TextClassifierParams__enable_location_scorer=true @@ -107,19 +118,45 @@ device_personalization_services/TextClassifierParams__max_allowable_local_slice_ device_personalization_services/TextClassifierParams__max_allowable_new_slices_size=95 device_personalization_services/TextClassifierParams__use_vocab_annotator=true device_personalization_services/TextClassifierTcLib__enable_superpacks_kg_actions_ranking=true -device_personalization_services/TextClassifierTcLib__enable_tc_easter_egg=false device_personalization_services/TextClassifierTcLib__enable_tc_easter_egg=true -device_personalization_services/TextClassifierTcLib__enable_tc_easter_egg_logging=false device_personalization_services/TextClassifierTcLib__enable_tc_easter_egg_logging=true device_personalization_services/TextClassifierTcLib__enable_tclib_download_using_superpacks=true +device_personalization_services/TextClassifierTcLib__kg_actions_ranking_superpacks_manifest_version=211005 +device_personalization_services/TextClassifierTcLib__kg_actions_ranking_superpacks_url_template=https://gstatic.com/matchmaker/kg_actions_ranking_table/%{VERSION}/superpacks_manifest.zip +device_personalization_services/TextClassifierTcLib__tc_easter_egg_action_name= +device_personalization_services/TextClassifierTcLib__tc_easter_egg_activity_name= +device_personalization_services/TextClassifierTcLib__tc_easter_egg_package_name= +device_personalization_services/TextClassifierTcLib__tc_easter_egg_templates= +device_personalization_services/TextClassifierTcLib__tc_easter_egg_url= +device_personalization_services/TextClassifierTcLib__tc_easter_egg_url_param= +device_personalization_services/TextClassifierTcLib__tclib_actions_superpacks_manifest_url_template=https://www.gstatic.com/matchmaker/tclib_models/actions/v%{VERSION}/%{LOCALE}/superpacks_manifest.zip +device_personalization_services/TextClassifierTcLib__tclib_actions_superpacks_manifest_version=104 +device_personalization_services/TextClassifierTcLib__tclib_annotator_superpacks_manifest_url_template=https://www.gstatic.com/matchmaker/tclib_models/annotator/v%{VERSION}/%{LOCALE}/superpacks_manifest.zip +device_personalization_services/TextClassifierTcLib__tclib_annotator_superpacks_manifest_version=25751233 +device_personalization_services/TextClassifierTcLib__tclib_langid_superpacks_manifest_url_template=https://www.gstatic.com/matchmaker/tclib_models/langid/v%{VERSION}/superpacks_manifest.zip device_personalization_services/TextClassifierTcLib__tclib_langid_superpacks_manifest_version=1 device_personalization_services/TextClassifierWebrefDeploy__enable_tclib=true +device_personalization_services/TextClassifierWebrefDeploy__knowledge_graph_collections_table_superpacks_manifest_version=21102003 +device_personalization_services/TextClassifierWebrefDeploy__template_table_superpacks_manifest_url_template=https://gstatic.com/matchmaker/template_table/21072101/%{TEMPLATE_TABLE_FORMAT_NUMBER}/%{LOCALE}/superpacks_manifest.zip +device_personalization_services/TextClassifierWebrefDeploy__template_table_superpacks_manifest_version_v2=21072101 +device_personalization_services/TextClassifierWebrefDeploy__webref_superpacks_manifest_url_template=https://gstatic.com/webref-ondevice/aiai/22030101_pir/%{FORMAT_NUMBER}/%{LOCALE}/superpacks_manifest.zip +device_personalization_services/TextClassifierWebrefDeploy__webref_superpacks_manifest_version_v3=22030101 +device_personalization_services/TextClassifierWebrefDeploy__webref_supported_locales=en,de +device_personalization_services/TextClassifierWebrefUrl__webref_url_template=https://gstatic.com/webref-ondevice/aiai/%{VERSION}_pir/%{FORMAT_NUMBER}/%{LOCALE}/superpacks_manifest.zip device_personalization_services/Translate__blue_chip_translate_enabled=true device_personalization_services/Translate__copy_to_translate_enabled=true +device_personalization_services/Translate__differentiate_simplified_and_traditional_chinese=true device_personalization_services/Translate__replace_auto_translate_copied_text_enabled=true device_personalization_services/Translate__translation_service_enabled=true +# Now Playing +device_personalization_services/NowPlaying__ambient_music_on_demand_enabled=true +device_personalization_services/NowPlaying__cloud_api_allowed=true +device_personalization_services/NowPlaying__enable_usage_fa=true +device_personalization_services/NowPlaying__on_demand_retry_fingerprinter_install=true +device_personalization_services/NowPlaying__youtube_export_enabled=true + # Back Gesture systemui/use_back_gesture_ml_model=true systemui/back_gesture_ml_model_name=backgesture diff --git a/files/asp.tar.xz b/files/asp.tar.xz new file mode 100644 index 0000000..df02250 Binary files /dev/null and b/files/asp.tar.xz differ diff --git a/files/com.google.android.dialer b/files/com.google.android.dialer index 30f0ba0..95f5d09 100644 Binary files a/files/com.google.android.dialer and b/files/com.google.android.dialer differ diff --git a/files/system.tar.xz b/files/system.tar.xz index feb10e9..63527a3 100644 Binary files a/files/system.tar.xz and b/files/system.tar.xz differ diff --git a/module.prop b/module.prop index 65ba37e..2694e83 100644 --- a/module.prop +++ b/module.prop @@ -1,7 +1,7 @@ id=Pixelify name=Pixelify -version=2.0 -versionCode=20220211 +version=2.01-beta-3 +versionCode=20220310 author=Kingsman44 description=Enables pixel exclusive features :- Call Screening, Live Translate, Direct Call, Google Dialer Call Recording, Extreme Battery Saver, Hold For Me, Gboard Smart Compose, Adaptive Connectivity, Adaptive Sound, Next generation assistant, Pixel LiveWallpapers, Google Fit Heart rate and many more... # 0 - Disable, 1 - Enable diff --git a/no-VK.prop b/no-VK.prop index a64be54..bf61e86 100644 --- a/no-VK.prop +++ b/no-VK.prop @@ -1,10 +1,8 @@ # 0 - Disable(No), 1 - Enable(Yes) # Google Photos Original Unlimited Backup -# Your Device model will be set to Pixel 3 -# Next Generation Assistant won't work -# Enabling it will disable Pixel Spoofing as it will be spoofed to pixel 3 -ENABLE_GPHOTOS_UNLIMITED=0 +# Only for Tensor chip devices +ENABLE_TENSOR_UNLIMITED=1 # Pixel 5/6 Spoofing ENABLE_PIXEL_SPOOFING=0 @@ -26,6 +24,12 @@ BACKUP_DPS=1 # Includes Call Recording, Hold for Me, Direct My Call ENABLE_DIALER_FEATURES=1 +# Donwload lang Specific files for Call Screenining in DE,JP,IT,FR.. +ADD_CALL_SCREENING_FILES=1 + +# BAckup Lang Specific files for Call Screenining in DE,JP,IT,FR.. +BACKUP_CALL_SCREENING_FILES=1 + # Enable Next Generation Assistant ENABLE_NGA=1 diff --git a/sepolicy.rule b/sepolicy.rule index 3965058..6948f32 100644 --- a/sepolicy.rule +++ b/sepolicy.rule @@ -39,3 +39,17 @@ allow servicemanager untrusted_app binder { call transfer } allow servicemanager untrusted_app dir { search } allow servicemanager untrusted_app file { read open } allow servicemanager untrusted_app process { getattr } + +allow platform app_api_service service_manager find +allow platform fwk_stats_hwservice hwservice_manager find +allow platform color_display_service service_manager find +allow platform hal_power_service service_manager find +allow platform hal_power_default binder { call transfer } +allow platform hal_power_client binder { receive call } +allow platform statsd binder { receive call } +allow platform gpuservice binder { receive call } +allow platform stats_service_server binder { receive call } +allow platform platform_userfaultfd anon_inode { ioctl read create } +allow platform appdomain_tmpfs file { read write getattr map execute } +allow platform servicemanager binder { call transfer } +allow platform_app hal_power_service service_manager { find } diff --git a/service.sh b/service.sh index 3098812..ba6811b 100644 --- a/service.sh +++ b/service.sh @@ -12,9 +12,74 @@ export DIALER_PREF=/data/data/com.google.android.dialer/shared_prefs/dialer_phen export GBOARD_PREF=/data/data/com.google.android.inputmethod.latin/shared_prefs/flag_value.xml export FIT=/data/data/com.google.android.apps.fitness/shared_prefs/growthkit_phenotype_prefs.xml export TURBO=/data/data/com.google.android.apps.turbo/shared_prefs/phenotypeFlags.xml +export GOOGLE_PREF=/data/data/com.google.android.googlequicksearchbox/shared_prefs/GEL.GSAPrefs.xml sqlite=$MODDIR/addon/sqlite3 +chmod 0755 $sqlite3 gms=/data/user/0/com.google.android.gms/databases/phenotype.db +ASI_PERM="android.permission.CAPTURE_MEDIA_OUTPUT +android.permission.MODIFY_AUDIO_ROUTING +android.permission.CAPTURE_VOICE_COMMUNICATION_OUTPUT +android.permission.CAPTURE_AUDIO_OUTPUT +android.permission.MODIFY_AUDIO_SETTINGS +android.permission.RECORD_AUDIO +android.permission.START_ACTIVITIES_FROM_BACKGROUND +android.permission.WRITE_SECURE_SETTINGS +android.permission.CAMERA +android.permission.READ_DEVICE_CONFIG +android.permission.UPDATE_DEVICE_STATS +android.permission.SUBSTITUTE_NOTIFICATION_APP_NAME +android.permission.SYSTEM_CAMERA +android.permission.FOREGROUND_SERVICE +android.permission.MODIFY_PHONE_STATE +android.permission.CONTROL_INCALL_EXPERIENCE +android.permission.READ_PHONE_STATE +android.permission.SYSTEM_APPLICATION_OVERLAY +android.permission.QUERY_ALL_PACKAGES +android.permission.REQUEST_NOTIFICATION_ASSISTANT_SERVICE +android.permission.ACCESS_COARSE_LOCATION +android.permission.ACCESS_BACKGROUND_LOCATION +android.permission.BLUETOOTH_ADMIN +android.permission.MANAGE_APP_PREDICTIONS +android.permission.ACCESS_WIFI_STATE +android.permission.ACCESS_FINE_LOCATION +android.permission.PACKAGE_USAGE_STATS +android.permission.ACCESS_SHORTCUTS +android.permission.UNLIMITED_SHORTCUTS_API_CALLS +android.permission.READ_CALL_LOG +android.permission.READ_CONTACTS +android.permission.READ_SMS +com.google.android.apps.nexuslauncher.permission.HOTSEAT_EDU +android.permission.MANAGE_SEARCH_UI +android.permission.MANAGE_SMARTSPACE +android.permission.WAKE_LOCK +android.permission.READ_PEOPLE_DATA +android.permission.READ_GLOBAL_APP_SEARCH_DATA +android.permission.BLUETOOTH_CONNECT +android.permission.BLUETOOTH_SCAN +android.permission.MANAGE_MUSIC_RECOGNITION +android.permission.VIBRATE +android.permission.OBSERVE_SENSOR_PRIVACY +android.permission.RECEIVE_BOOT_COMPLETED +com.google.android.ambientindication.permission.AMBIENT_INDICATION +android.permission.CAPTURE_AUDIO_HOTWORD +android.permission.MANAGE_SOUND_TRIGGER +android.permission.ACCESS_NETWORK_STATE +android.permission.LOCATION_HARDWARE +android.permission.EXEMPT_FROM_AUDIO_RECORD_RESTRICTIONS +com.google.android.setupwizard.SETUP_COMPAT_SERVICE +android.permission.READ_EXTERNAL_STORAGE +com.android.alarm.permission.SET_ALARM +android.permission.MANAGE_UI_TRANSLATION +android.permission.READ_OEM_UNLOCK_STATE" + +ASI_OS_PERM="android.permission.INTERNET +android.permission.READ_DEVICE_CONFIG +android.permission.RECEIVE_BOOT_COMPLETED +android.permission.ACCESS_NETWORK_STATE +android.permission.ACCESS_WIFI_STATE +android.permission.CHANGE_WIFI_STATE" + temp="" pm_enable() { @@ -148,9 +213,11 @@ bool_patch tflite $GBOARD_PREF bool_patch enable_show_inline_suggestions_in_popup_view $GBOARD_PREF bool_patch enable_nebulae_materializer_v2 $GBOARD_PREF #bool_patch use_scrollable_candidate_for_voice $GBOARD_PREF -string_patch crank_inline_suggestion_language_tags "ar,de,en,es,fr,hi-IN,hi-Latn,id,it,ja,ko,nl,pl,pt,ru,th,tr,zh-CN,zh-HK,zh-TW" $GBOARD_PREF bool_patch_false force_key_shadows $GBOARD_PREF bool_patch floating $GBOARD_PREF +bool_patch split $GBOARD_PREF +bool_patch grammar $GBOARD_PREF +bool_patch spell_checker $GBOARD_PREF # GoogleFit bool_patch DeviceStateFeature $FIT @@ -167,16 +234,10 @@ bool_patch AdaptiveCharging__v1_enabled $TURBO # Wellbeing pm_enable com.google.android.apps.wellbeing/com.google.android.apps.wellbeing.walkingdetection.ui.WalkingDetectionActivity -# Increase system's smoothness and launcher's smoothness by increasing priority of some specified processes -for pid in $(pidof -s surfaceflinger) $(pidof -s system_server) $(pgrep -f com.android.systemui) $(pgrep -f com.google.android.apps.nexuslauncher); do - echo "-17" > "/proc/${pid}/oom_adj" - renice -n "-18" -p "$pid" -done - while true; do boot=$(getprop sys.boot_completed) if [ "$boot" -eq 1 ]; then - sleep 10 + sleep 5 break fi done @@ -192,6 +253,25 @@ if [ $(grep Live $MODDIR/config.prop | cut -d'=' -f2) -eq 1 ]; then pm enable -n com.google.pixel.livewallpaper/com.google.pixel.livewallpaper.pokemon.wallpapers.PokemonWallpaper -a android.intent.action.MAIN fi +# pm enable -n com.google.android.settings.intelligence/com.google.android.settings.intelligence.modules.battery.impl.usage.BootBroadcastReceiver -a android.intent.action.MAIN +# pm enable -n com.google.android.settings.intelligence/com.google.android.settings.intelligence.modules.battery.impl.usage.DataInjectorReceiver -a android.intent.action.MAIN +# pm enable -n com.google.android.settings.intelligence/com.google.android.settings.intelligence.modules.batterywidget.impl.BatteryWidgetBootBroadcastReceiver -a android.intent.action.MAIN +# pm enable -n com.google.android.settings.intelligence/com.google.android.settings.intelligence.modules.batterywidget.impl.BatteryWidgetUpdateBroadcastReceiver -a android.intent.action.MAIN +# pm enable -n com.google.android.settings.intelligence/com.google.android.settings.intelligence.modules.batterywidget.impl.BatteryWidgetUpdateReceiver -a android.intent.action.MAIN +# sleep .5 +# pm enable -n com.google.android.settings.intelligence/com.google.android.settings.intelligence.modules.batterywidget.impl.BatteryAppWidgetProvider -a android.intent.action.MAIN +# adb shell am start -n com.google.android.settings.intelligence/com.google.android.settings.intelligence.modules.batterywidget.impl.BatteryAppWidgetProvider + +if [ -f $MODDIR/install/asi.apk ]; then + for i in $ASI_OS_PERM; do + pm grant com.google.android.as.oss $i + done + for i in $ASI_PERM; do + pm grant com.google.android.as $i + done + pm install $MODDIR/install/asi.apk + rm -rf $MODDIR/install/asi.apk +fi while read p; do if [ ! -z "$(echo $p)" ]; then if [ "$(echo $p | head -c 1)" != "#" ]; then diff --git a/update.json b/update.json new file mode 100644 index 0000000..03c193c --- /dev/null +++ b/update.json @@ -0,0 +1,6 @@ +{ + "version": "v2.0", + "versionCode": 20220211, + "zipUrl": "https://github.com/Kingsman44/Pixelify/releases/download/2.0/Pixelify-v2.0.zip", + "changelog": "https://raw.githubusercontent.com/Kingsman44/Pixelify/master/changelog.md" +} diff --git a/zygisk/arm64-v8a.so b/zygisk/arm64-v8a.so index ec3e268..98d90ef 100644 Binary files a/zygisk/arm64-v8a.so and b/zygisk/arm64-v8a.so differ diff --git a/zygisk/armeabi-v7a.so b/zygisk/armeabi-v7a.so index 95913c9..4aec95f 100644 Binary files a/zygisk/armeabi-v7a.so and b/zygisk/armeabi-v7a.so differ diff --git a/zygisk/x86.so b/zygisk/x86.so index 099e340..bc0f5c9 100644 Binary files a/zygisk/x86.so and b/zygisk/x86.so differ diff --git a/zygisk/x86_64.so b/zygisk/x86_64.so index 78c032c..7cfe051 100644 Binary files a/zygisk/x86_64.so and b/zygisk/x86_64.so differ