Support GApps other than the Dialer (e.g. "Message Organization" feat in Messages)
jacopotediosi opened this issue · 14 comments
As the title says, it would be useful to mods other Google Apps in addition to the Google Dialer.
The idea is to add an additional tab to the main layout to select which of the supported applications the user intends to patch.
E.g., on Google Messages, we can enable the "Message Organization" and the "Auto-delete OTPs after 24 hrs" features (https://www.makeuseof.com/auto-delete-otp-messages-android/).
For the sake of completeness, I just got it working overriding the following phenotype FlagOverrides (certainly not all of them are necessary, but I don't have time now to do an accurate analysis):
adb shell
su
/data/data/com.jacopomii.googledialermod/sqlite3 /data/data/com.google.android.gms/databases/phenotype.db "SELECT DISTINCT name,boolVal FROM FlagOverrides WHERE packageName='com.google.android.apps.messaging#com.google.android.apps.messaging'"
bugle_phenotype__bug_192909536_supersort_classify_missing_messages_only_when_charging|0
bugle_phenotype__conversation_labels_enabled|1
bugle_phenotype__enable_experiment_carrier_config_override|1
bugle_phenotype__enable_otp_auto_deletion|1
bugle_phenotype__enable_phenotype_override|1
bugle_phenotype__enable_smart_action_settings_page|1
bugle_phenotype__enable_starring_suggestion|1
bugle_phenotype__enable_supersort_annotators|1
bugle_phenotype__enable_text_classifier_actions_in_notifications|1
bugle_phenotype__enable_text_classifier_address_message_annotations|1
bugle_phenotype__enable_text_classifier_contact_message_annotations|1
bugle_phenotype__enable_text_classifier_datetime_message_annotations|1
bugle_phenotype__enable_text_classifier_email_message_annotations|1
bugle_phenotype__enable_text_classifier_map_link_message_annotations|1
bugle_phenotype__enable_text_classifier_phone_message_annotations|1
bugle_phenotype__enabled_testopenbeta_feature|1
bugle_phenotype__reranker_enable_type_sorting|1
bugle_phenotype__supersort_badge_all_filter|1
bugle_phenotype__supersort_enable_qpbc|1
bugle_phenotype__supersort_enable_update_donation_banner|1
bugle_phenotype__supersort_use_only_work_manager|0
This enhancement would probably require a major refactor of the GoogleDialerMod codebase and maybe a project name change (e.g. to "GAppsMod").
Before doing this it is strongly recommended to reorganize the file structure of the app
Hello, for those who wish to make these changes directly using a SQL editor, I have created a script that generates SQL queries through an input file in the format of 'name|boolVal' as defined above.
Edit: make the script private as it's not used anymore.
Hello, for those who want to make these changes directly with a SQL editor, I have created a script that allows you to generate SQL queries via an input file (in "Name | BoolVal" format).
Remember, after changing flags, to force close the Google Messages app and to delete the /data/data/com.google.android.apps.messaging/files/phenotype folder
Multiple GApps support is still in progress, but the "Message Organization" feature of Messages is now supported (168b209).
Thanks for the work! If needed, I can test a beta before creating an official release
Thanks for the work! If needed, I can test a beta before creating an official release
Here's a debug APK compiled from the last commit 0929043:
app-debug.zip
I intend to wait to support multiple apps even in the Boolean Mods tab before publishing a release
Works great here ! I really like the updated UI : it looks fresh. Good work
Implemented with 8433bda. I'll publish a release version soon. Meanwhile, here is the current debug apk: 8433bda.zip.
5954219531604856846.mp4
Hi, sorry, but I just wanted to say thank you!
Finally, someone is breaking that "US only" habbit from Google.
Thanks, for making our pixels what it should be, for unlocking the features we initially paid for.
Hi, sorry, but I just wanted to say thank you!
Finally, someone is breaking that "US only" habbit from Google. Thanks, for making our pixels what it should be, for unlocking the features we initially paid for.
Thanks, I'm trying my best. I plan to create suggested mods for more and more GApps over time. The next ones will probably be the play store and android auto. Feel free to suggest which features you would like, for example by sending screenshots or articles from the 9to5 website showing which hidden features can be unlocked.
Do you think it is possible to enable 5G in countries where it is not supported? For example, here in Belgium we have 5G relays and the phone supports 5G, but it is impossible to connect to the 5G network from a Pixel 7. I'm not sure if these settings are in the db phenotype.
Do you think it is possible to enable 5G in countries where it is not supported? For example, here in Belgium we have 5G relays and the phone supports 5G, but it is impossible to connect to the 5G network from a Pixel 7. I'm not sure if these settings are in the db phenotype.
Are you sure you are using the correct APN?
Yes, this is a known problem here in Belgium. Nobody can connect to the 5G network using their Pixel's phone.