shmykelsa / AA-Tweaker

Tool to apply patches to Google Play Services that will enable some extra functionality on Android Auto
GNU General Public License v2.0
395 stars 27 forks source link

AA Tweaker does not execute any command. #86

Open Pansovi4 opened 1 month ago

Pansovi4 commented 1 month ago

App worked perfectly. After latest AA auto needed to re-disable bluetooth autopairing. AA does not execute any command, wait and try again later.

Phone Samsung Note 9, Android 10, latest AA AIO tweaker. Rooted.

LOG:

-- Force stopping Google Play Services -- OutputStream: am kill all com.google.android.gms

-- Gaining ownership of the database -- O

-- Force stopping Google Play Services -- OutputStream: am kill all com.google.android.gms

-- Gaining ownership of the database -- OutputStream: chown root /data/data/com.google.android.gms/databases/phenotype.db

-- Setting SELINUX to permessive -- OutputStream: setenforce 0

-- run SQL method -- OutputStream: /data/user/0/sksa.aa.tweaker/sqlite3 -batch /data/data/com.google.android.gms/databases/phenotype.db 'DROP TRIGGER IF EXISTS bluetooth_pairing_off; INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.gms.car", 0,"BluetoothPairingcar_bluetooth_service_disable", "" ,1,0); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.gms.car", 0,"BluetoothPairingcar_bluetooth_service_skip_pairing", "" ,1,0); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.gms.car", 0,"BluetoothPairingcar_bluetooth_service_disable", "" ,1,0); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.gms.car", 0,"BluetoothPairingconnect_bluetooth_timeout", "" ,1,0); ' ErrorStream: Error: malformed database schema (flag_overrides_to_commit) - near "WITHOUT": syntax error OutputStream: /data/user/0/sksa.aa.tweaker/sqlite3 -batch /data/data/com.google.android.gms/databases/phenotype.db 'CREATE TRIGGER bluetooth_pairing_off AFTER DELETE On FlagOverrides BEGIN INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.gms.car", 0,"BluetoothPairingcar_bluetooth_service_disable", "" ,1,0); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.gms.car", 0,"BluetoothPairingcar_bluetooth_service_skip_pairing", "" ,1,0); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.gms.car", 0,"BluetoothPairingcar_bluetooth_service_disable", "" ,1,0); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.gms.car", 0,"BluetoothPairingconnect_bluetooth_timeout", "" ,1,0); END;' ErrorStream: Error: malformed database schema (flag_overrides_to_commit) - near "WITHOUT": syntax error

-- restoring Google Play Services -- OutputStream: pm enable com.google.android.gms InputStream: Package com.google.android.gms new state: enabled

-- Restoring ownership of the database -- OutputStream: chown u0_a82 /data/data/com.google.android.gms/databases/phenotype.db

-- Restoring SELINUX -- OutputStream: setenforce 1utputStream: chown root /data/data/com.google.android.gms/databases/phenotype.db

-- Setting SELINUX to permessive -- OutputStream: setenforce 0

-- run SQL method -- OutputStream: /data/user/0/sksa.aa.tweaker/sqlite3 -batch /data/data/com.google.android.gms/databases/phenotype.db 'DROP TRIGGER IF EXISTS bluetooth_pairing_off; INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.gms.car", 0,"BluetoothPairingcar_bluetooth_service_disable", "" ,1,0); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.gms.car", 0,"BluetoothPairingcar_bluetooth_service_skip_pairing", "" ,1,0); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.gms.car", 0,"BluetoothPairingcar_bluetooth_service_disable", "" ,1,0); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.gms.car", 0,"BluetoothPairingconnect_bluetooth_timeout", "" ,1,0); ' ErrorStream: Error: malformed database schema (flag_overrides_to_commit) - near "WITHOUT": syntax error OutputStream: /data/user/0/sksa.aa.tweaker/sqlite3 -batch /data/data/com.google.android.gms/databases/phenotype.db 'CREATE TRIGGER bluetooth_pairing_off AFTER DELETE On FlagOverrides BEGIN INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.gms.car", 0,"BluetoothPairingcar_bluetooth_service_disable", "" ,1,0); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.gms.car", 0,"BluetoothPairingcar_bluetooth_service_skip_pairing", "" ,1,0); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.gms.car", 0,"BluetoothPairingcar_bluetooth_service_disable", "" ,1,0); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.gms.car", 0,"BluetoothPairingconnect_bluetooth_timeout", "" ,1,0); END;' ErrorStream: Error: malformed database schema (flag_overrides_to_commit) - near "WITHOUT": syntax error

-- restoring Google Play Services -- OutputStream: pm enable com.google.android.gms InputStream: Package com.google.android.gms new state: enabled

-- Restoring ownership of the database -- OutputStream: chown u0_a82 /data/data/com.google.android.gms/databases/phenotype.db

-- Restoring SELINUX -- OutputStream: setenforce 1

1cmoody23 commented 3 days ago

Hi i am getting similar problem when applying tweak.

PASTEBIN Search...

LOGIN SIGN UP Guest User log A GUEST JUN 29TH, 2024 1 0 NEVER ADD COMMENT Not a member of Pastebin yet? Sign Up, it unlocks many cool features! 7.09 KB | None |

LOG: -- Apps which will be added to whitelist: --

-- Force stopping Google Play Services -- OutputStream: am kill all com.google.android.gms

-- Gaining ownership of the database -- OutputStream: chown root /data/data/com.google.android.gms/databases/phenotype.db

-- Setting SELINUX to permessive -- OutputStream: setenforce 0

-- run SQL method -- OutputStream: /data/user/0/sksa.aa.tweaker/sqlite3 -batch /data/data/com.google.android.gms/databases/phenotype.db 'DROP TRIGGER IF EXISTS aa_patched_apps; DROP TRIGGER IF EXISTS after_delete; DROP TRIGGER IF EXISTS aa_patched_apps_fix; INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.gms.car", 0,"app_white_list", "","com.aatorque.stats",0); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.gms.car", 0,"car_connect_broadcast_whitelist", "","com.aatorque.stats",0); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.projection.gearhead", 0,"AppValidationallowed_package_list", "" ,"",0);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.projection.gearhead", 0,"AppValidationblocked_packages_by_installer", "" ,"",0); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead", 0,"AppValidationshould_bypass_validation", "" ,1,0); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead", 0,"AppValidationplay_install_api", "" ,0,0); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.gms.car", 0,"FrameworkCarProjectionValidatorFlagslog_reason_apps_not_allowed_all_apps", "" ,0,0); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.gms.car", 0,"should_bypass_validation", "" ,1,0); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.gms.car", 0,"FrameworkCarProjectionValidatorFlagsuse_package_manager_api_for_installed_by_play_check", "" ,0,0); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.gms.car", 0,"FrameworkCarProjectionValidatorFlagsvalidator_must_run_on_background_thread", "" ,0,0); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead", 0,"CarProjectionValidator__filter_disabled_packages_in_ispackageallowed_method", "" ,0,0); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead", 0,"CarProjectionValidatorfilter_disabled_packages_in_ispackageallowed_method", "" ,1,0); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead", 0,"UnknownSources__allow_full_screen_apps", "" ,1,0); DELETE FROM Flags WHERE name="app_black_list"; ' ErrorStream: Error: malformed database schema (flag_overrides_to_commit) - near "WITHOUT": syntax error OutputStream: /data/user/0/sksa.aa.tweaker/sqlite3 -batch /data/data/com.google.android.gms/databases/phenotype.db 'CREATE TRIGGER aa_patched_apps AFTER DELETE On FlagOverrides BEGIN

    INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.gms.car",  0,"app_white_list", "","com.aatorque.stats",0);
    INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.gms.car",  0,"car_connect_broadcast_whitelist", "","com.aatorque.stats",0);
    INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.projection.gearhead",  0,"AppValidation__allowed_package_list",  "" ,"",0);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.projection.gearhead",  0,"AppValidation__blocked_packages_by_installer", "" ,"",0);
    INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",  0,"AppValidation__should_bypass_validation", "" ,1,0);
    INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",  0,"AppValidation__play_install_api", "" ,0,0);
    INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.gms.car",  0,"FrameworkCarProjectionValidatorFlags__log_reason_apps_not_allowed_all_apps", "" ,0,0);
    INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.gms.car",  0,"should_bypass_validation", "" ,1,0);
    INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.gms.car",  0,"FrameworkCarProjectionValidatorFlags__use_package_manager_api_for_installed_by_play_check", "" ,0,0);
    INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.gms.car",  0,"FrameworkCarProjectionValidatorFlags__validator_must_run_on_background_thread", "" ,0,0);
    INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",  0,"CarProjectionValidator__filter_disabled_packages_in_ispackageallowed_method", "" ,0,0);
    INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",  0,"CarProjectionValidator__filter_disabled_packages_in_ispackageallowed_method", "" ,1,0);
    INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",  0,"UnknownSources__allow_full_screen_apps", "" ,1,0);
    DELETE FROM Flags WHERE name="app_black_list";
    END;'
ErrorStream:
    Error: malformed database schema (flag_overrides_to_commit) - near "WITHOUT": syntax error

-- restoring Google Play Services -- OutputStream: pm enable com.google.android.gms InputStream: Package com.google.android.gms new state: enabled

-- Restoring ownership of the database -- OutputStream: chown root /data/data/com.google.android.gms/databases/phenotype.db Add Comment Please, Sign In to add comment create new paste / syntax languages / archive / faq / tools / night mode / api / scraping api / news / pro privacy statement / cookies policy / terms of service / security disclosure / dmca / report abuse / contact

Not a member of Pastebin yet? Sign Up, it unlocks many cool features!