Skip to content

Commit

Permalink
update v1.9
Browse files Browse the repository at this point in the history
  • Loading branch information
Kingsman44 committed Jan 21, 2022
1 parent 21a0d80 commit 97ad539
Show file tree
Hide file tree
Showing 5 changed files with 65 additions and 20 deletions.
33 changes: 27 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,18 @@ Enables Pixel Ui and Some Exclusive Features.<br>
- **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 (<a href="https://t.me/google_nws/864">USE THIS APK</a>)(7+)
- Google Dialer Direct Call (<a href="https://www.apkmirror.com/apk/google-inc/google-phone/google-phone-72-0-407683083-publicbeta-pixel2021-release/">USE THIS APK</a>)(7+)
- Live Transcript(12+)
- Live Transcript (12+)
- Google Quick Pharse *
- Google Next Generation Assistant Typing (Next Generation Assistant Required)*

Expand Down Expand Up @@ -50,13 +56,18 @@ Enables Pixel Ui and Some Exclusive Features.<br>
* - 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<br>
- **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<br>
### 2) Call Screening
- **Note**:- Don't clear data of Google Dialer<br>
### 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 <br>
<br>

## ⭐ Bugs and Fixes
- **Call Screening**: caller can't hear your voice.<br>
**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.<br>
**Fix:** Set WIFI to unmetered connection. <br>
- **Google**: Ok Google doesn't work without hotword with spoof to pixel.<br>
Expand All @@ -69,6 +80,17 @@ Enables Pixel Ui and Some Exclusive Features.<br>
- [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)
Expand Down Expand Up @@ -210,5 +232,4 @@ Enables Pixel Ui and Some Exclusive Features.<br>
- Fixed CTS fail for some devices with Spoof

### Beta 1.0
- Initial repo

- Initial repo
42 changes: 31 additions & 11 deletions customize.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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 ""
Expand Down
Binary file modified files/com.google.android.dialer
Binary file not shown.
4 changes: 2 additions & 2 deletions module.prop
Original file line number Diff line number Diff line change
@@ -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
Expand Down
6 changes: 5 additions & 1 deletion service.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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

0 comments on commit 97ad539

Please sign in to comment.