From 97ad5393b8e379911aa93da5132a6b4bcad2dbb4 Mon Sep 17 00:00:00 2001 From: Shivan Singh Date: Fri, 21 Jan 2022 10:05:25 +0530 Subject: [PATCH] update v1.9 --- README.md | 33 ++++++++++++++++++++----- customize.sh | 42 +++++++++++++++++++++++--------- files/com.google.android.dialer | Bin 38828 -> 38828 bytes module.prop | 4 +-- service.sh | 6 ++++- 5 files changed, 65 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index ba4f1d3..5d132f1 100644 --- a/README.md +++ b/README.md @@ -10,12 +10,18 @@ Enables Pixel Ui and Some Exclusive Features.
- **Volume Keys** - **Internet for NGA Resources, Pixel Livewallpaper, Device Personalization Services & Pixel Launcher** +### Installation without Volume Keys +- Use packages with Pixelify-${verion}-no_VK.zip +- Place no-Vk.prop to internal storage>Pixelify (/sdcard/Pixelify/no-VK.prop) +- Edit prop according what you want to select +- (If you have any problem placing no-VK.prop there then you also can extract and update no-VK.prop inside the packages it automatcally use it.) + ## ⭐ Features ### Pixel 6 Features Enables - Pixel 6 Live Wallpapers * - Magic Earser (USE THIS APK)(7+) - Google Dialer Direct Call (USE THIS APK)(7+) -- Live Transcript(12+) +- Live Transcript (12+) - Google Quick Pharse * - Google Next Generation Assistant Typing (Next Generation Assistant Required)* @@ -50,13 +56,18 @@ Enables Pixel Ui and Some Exclusive Features.
* - Requires Spoofing to Pixel device ## ⭐ How to Enable Features -### 1) Google Photos Unlimited Backup (storage saver) +### 1) Google Photos Unlimited Backup - **Enable**:- Clear Data Photos for first time installing Module
-- **Note**:- It won't show you Unlimited Text, but your backup photos won't be counted on storage, you can check total after upload photos it won't change or will be back to same storage after 5-10 mins
+### 2) Call Screening +- **Note**:- Don't clear data of Google Dialer
+### 3) Next Generation Assistant +- **Install**:- Recommend to use this apk (Use sai Installer) https://gitlab.com/Kingsman-z/pixelify-files/-/raw/master/Velvet.zip and also make it system app. +- **Note**:- It depends on rom as some rom spoof internally to pixel 3
+
## ⭐ Bugs and Fixes - **Call Screening**: caller can't hear your voice.
-**Fix commit:** https://github.com/Redmi-note-4x/android_hardware_qcom-caf_audio/commit/0074cac9a4b098f8c4c996a4ef7ca44d00b158d9,https://github.com/Redmi-note-4x/android_hardware_qcom-caf_audio/commit/de2146fdd88771182a677aa94ccb8237479d793d (According to your qcom board) +**Fix commit:** https://github.com/Redmi-note-4x/android_hardware_qcom-caf_audio/commit/0074cac9a4b098f8c4c996a4ef7ca44d00b158d9 https://github.com/Redmi-note-4x/android_hardware_qcom-caf_audio/commit/de2146fdd88771182a677aa94ccb8237479d793d (According to your qcom board) - **Call Screening**: can't able to download call screening files.
**Fix:** Set WIFI to unmetered connection.
- **Google**: Ok Google doesn't work without hotword with spoof to pixel.
@@ -69,6 +80,17 @@ Enables Pixel Ui and Some Exclusive Features.
- [Pranav Pandey](https://forum.xda-developers.com/m/pranav-pandey.3962236/) for BreelWallpaper2020 Port ## ⭐ ChangeLogs +### Version 1.9 +- Fixed crash of Private compute app +- Added option for Google Unlimted storage backup +- Added Support without volume keys +- Fixes for call screening, call recording +- Fixed Pixel launcher crash +- Fixed Smart Compose +- Added more icons on Pixel Launcher A12 +- Lots of bug fixes +- Removed intro voice for call recording for more devices + ### Version 1.81 - Fixes for Downloading Live Caption on A12 - Update Device Personalisation Services (A12) @@ -210,5 +232,4 @@ Enables Pixel Ui and Some Exclusive Features.
- Fixed CTS fail for some devices with Spoof ### Beta 1.0 -- Initial repo - +- Initial repo \ No newline at end of file diff --git a/customize.sh b/customize.sh index 32ba319..d1ddcb5 100644 --- a/customize.sh +++ b/customize.sh @@ -968,7 +968,21 @@ if [ -d /data/data/com.google.android.googlequicksearchbox ] && [ $API -ge 29 ]; cp -f $MODPATH/files/nga.xml $MODPATH/system$product/etc/sysconfig/nga.xml - if [ -z $(pm list packages -s com.google.android.googlequicksearchbox | grep -v nga) ] && [ ! -f /data/adb/modules/Pixelify/system/product/priv-app/Velvet/Velvet.apk ]; then + FORCE_FILE="/sdcard/Pixelify/apps.txt" + is_velvet="$(grep velvet= $FORCE_FILE cut -d= -f2)" + if [ -f $FORCE_FILE ]; then + if [ $is_velvet -eq 1 ]; then + FORCE_VELVET=1 + elif [ $is_velvet -eq 0 ]; then + FORCE_VELVET=0 + else + FORCE_VELVET=2 + fi + else + FORCE_VELVET=2 + fi + + if [ -z $(pm list packages -s com.google.android.googlequicksearchbox | grep -v nga) ] && [ ! -f /data/adb/modules/Pixelify/system/product/priv-app/Velvet/Velvet.apk ] || [ $FORCE_VELVET -eq 1 ]; then print "- Google is not installed as a system app !!" print "- Making Google as a system app" echo " - Making Google system app" >> $logfile @@ -978,13 +992,15 @@ if [ -d /data/data/com.google.android.googlequicksearchbox ] && [ $API -ge 29 ]; 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 - print "- Google is not installed as a system app !!" - 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 - rm -rf $MODPATH/system/product/priv-app/Velvet/oat + if [ $FORCE_VELVET -eq 2 ]; then + print "- Google is not installed as a system app !!" + 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 + 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 fi fi @@ -1360,12 +1376,16 @@ if [ ! -z "$(pm list packages | grep com.google.android.inputmethod.latin)" ]; t bool_patch generation $GBOARD bool_patch multiword $GBOARD bool_patch core_typing $GBOARD - gboardflag="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" - for i in $gboardflag; do + #$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 $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 "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'" 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)" + $sqlite $gms "INSERT INTO FlagOverrides(packageName, user, name, flagType, intVal, committed) VALUES('com.google.android.inputmethod.latin#com.google.android.inputmethod.latin', '', 'user_history_learning_strategies', 0, 1, 0)" + echo " - Patching Google Keyboard's bools" >> $logfile if [ -z $(pm list packages -s com.google.android.inputmethod.latin) ] && [ -z "$(cat $pix/apps_temp.txt | grep gboard)" ]; then print "" diff --git a/files/com.google.android.dialer b/files/com.google.android.dialer index 416590579f3077c5b2ead1e2ff3d1bf0723ec17e..30f0ba029b356d24b66d41c05059a34e586c095e 100644 GIT binary patch delta 43 xcmZ3po@vc`rVZRCjEtLkOupMOGHhlkc4lT|oa|Ay0VwvfY$-30n%}}J3;;X|4i*3a delta 43 xcmZ3po@vc`rVZRCj0~H3OupMOGHzxmc4lT|nCwxu0VwvfY$-30n%}}J3;;Xb4if+X diff --git a/module.prop b/module.prop index 0ba2521..c6c4a7f 100644 --- a/module.prop +++ b/module.prop @@ -1,7 +1,7 @@ id=Pixelify name=Pixelify -version=1.9-beta -versionCode=20220117 +version=1.9 +versionCode=20220121 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/service.sh b/service.sh index 2a93ff7..8fef74d 100644 --- a/service.sh +++ b/service.sh @@ -126,7 +126,7 @@ bool_patch enable_inline_suggestions_on_decoder_side $GBOARD_PREF bool_patch enable_core_typing_experience_indicator_on_composing_text $GBOARD_PREF bool_patch enable_inline_suggestions_on_client_side $GBOARD_PREF bool_patch enable_core_typing_experience_indicator_on_candidates $GBOARD_PREF -long_patch inline_suggestion_experiment_version 1 $GBOARD_PREF +long_patch inline_suggestion_experiment_version 4 $GBOARD_PREF long_patch user_history_learning_strategies 1 $GBOARD_PREF long_patch crank_max_char_num_limit 100 $GBOARD_PREF long_patch crank_min_char_num_limit 5 $GBOARD_PREF @@ -151,6 +151,7 @@ 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 # GoogleFit bool_patch DeviceStateFeature $FIT @@ -219,5 +220,8 @@ for i in $flip_perm; do pm grant com.google.android.flipendo $i done +rm -rf /data/data/com.google.android.tts/ccache/* +am force-stop com.google.android.tts + log "Service Finished" echo "$temp" >> /sdcard/Pixelify/logs.txt