Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AA Tweaker does not execute any command. #86

Open
Pansovi4 opened this issue May 29, 2024 · 8 comments
Open

AA Tweaker does not execute any command. #86

Pansovi4 opened this issue May 29, 2024 · 8 comments

Comments

@Pansovi4
Copy link

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,"BluetoothPairing__car_bluetooth_service_disable", "" ,1,0);
INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.gms.car", 0,"BluetoothPairing__car_bluetooth_service_skip_pairing", "" ,1,0);
INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.gms.car", 0,"BluetoothPairing__car_bluetooth_service_disable", "" ,1,0);
INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.gms.car", 0,"BluetoothPairing__connect_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,"BluetoothPairing__car_bluetooth_service_disable", "" ,1,0);
INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.gms.car", 0,"BluetoothPairing__car_bluetooth_service_skip_pairing", "" ,1,0);
INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.gms.car", 0,"BluetoothPairing__car_bluetooth_service_disable", "" ,1,0);
INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.gms.car", 0,"BluetoothPairing__connect_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,"BluetoothPairing__car_bluetooth_service_disable", "" ,1,0);
INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.gms.car", 0,"BluetoothPairing__car_bluetooth_service_skip_pairing", "" ,1,0);
INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.gms.car", 0,"BluetoothPairing__car_bluetooth_service_disable", "" ,1,0);
INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.gms.car", 0,"BluetoothPairing__connect_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,"BluetoothPairing__car_bluetooth_service_disable", "" ,1,0);
INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.gms.car", 0,"BluetoothPairing__car_bluetooth_service_skip_pairing", "" ,1,0);
INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.gms.car", 0,"BluetoothPairing__car_bluetooth_service_disable", "" ,1,0);
INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.gms.car", 0,"BluetoothPairing__connect_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
Copy link

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: --
- AA Torque (com.aatorque.stats)

OutputStream:
	mv /data/app/~~aSNKbfw_HwsLqK2Df4lhAQ==/com.aatorque.stats-xPTPFDa2L1k2PYI_iRgEyA==/base.apk /data/local/tmp/tmpapkcom.aatorque.stats.apk
OutputStream:
	pm uninstall com.aatorque.stats
InputStream:
	Success
OutputStream:
	pm install -t -i "com.android.vending" -r /data/local/tmp/tmpapkcom.aatorque.stats.apk
InputStream:
	Success

-- 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,"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";
'
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!

@gabrys
Copy link

gabrys commented Oct 5, 2024

Same here. OnePlus 9 Pro on LineageOS

@Lidl1111111
Copy link

idem oneplus 10 pro rooté
AA n'exécute aucune commande, attendez et réessayez plus tard. alors qu'il remet a zero les fichiers qui sont proposer en apps

@Lidl1111111
Copy link

le problème c'est aussi peut-être android 14
sur mon oneplus 10 pro

@Mygod
Copy link

Mygod commented Oct 19, 2024

Looks like the sqlite3 binary shipped with this is outdated and needs updating.

@phbk-admin
Copy link

Patches are not applied

LOG:

-- 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,"BluetoothPairing__car_bluetooth_service_disable", "" ,1,0);
INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.gms.car", 0,"BluetoothPairing__car_bluetooth_service_skip_pairing", "" ,1,0);
INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.gms.car", 0,"BluetoothPairing__car_bluetooth_service_disable", "" ,1,0);
INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.gms.car", 0,"BluetoothPairing__connect_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,"BluetoothPairing__car_bluetooth_service_disable", "" ,1,0);
INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.gms.car", 0,"BluetoothPairing__car_bluetooth_service_skip_pairing", "" ,1,0);
INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.gms.car", 0,"BluetoothPairing__car_bluetooth_service_disable", "" ,1,0);
INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.gms.car", 0,"BluetoothPairing__connect_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_a90 /data/data/com.google.android.gms/databases/phenotype.db

-- 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,"BluetoothPairing__car_bluetooth_service_disable", "" ,1,0);
INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.gms.car", 0,"BluetoothPairing__car_bluetooth_service_skip_pairing", "" ,1,0);
INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.gms.car", 0,"BluetoothPairing__car_bluetooth_service_disable", "" ,1,0);
INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.gms.car", 0,"BluetoothPairing__connect_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,"BluetoothPairing__car_bluetooth_service_disable", "" ,1,0);
INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.gms.car", 0,"BluetoothPairing__car_bluetooth_service_skip_pairing", "" ,1,0);
INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.gms.car", 0,"BluetoothPairing__car_bluetooth_service_disable", "" ,1,0);
INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.gms.car", 0,"BluetoothPairing__connect_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_a90 /data/data/com.google.android.gms/databases/phenotype.db

@Lidl1111111
Copy link

Thanks phbk-admin for your efforts but it wouldn't be easier for everyone to update AA Tweaker directly. We are not all computer champions and if there are updates we might as well update the original?? No

@realjack-1
Copy link

I have the same problem with asus zenfone 9 rooted android 13...so for now there is no solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants