AA-Tweaker
AA-Tweaker copied to clipboard
AA-Tweaker doesn't work on Android 14
Working well on my old Huawei 6p / Android 11 Lineage. Yesterday, i have switched to my new Pixel P8P and i can't use any options on AA Tweaker without error message that tell me "action can't be performed, please wait and try again".
Does AA Tweaker is supposed to be working and Android 14 / Android Auto 10.5.633834?
Same problem for me. Worked fine with Lineage 20 on my OnePlus 6T but not on my new Pixel 8 Pro.
No Android 14 support on Pixel 8 Pro
To work with Android 14 on Pixel 8, and Pixel 8 Pro, you need to replace the following file with a 64-bit version. This will make AA AIO Tweaker work if it is not. Here is a 64-bit version that works for me.
/data/data/sksa.aa.tweaker/sqlite3
Edit: I should have added this originally. Make sure you set the file to be readable, and executable by user/group/other:
chmod 555 /data/data/sksa.aa.tweaker/sqlite3
or
chmod a=rx /data/data/sksa.aa.tweaker/sqlite3
Perform either of those two commands (they are equivalent and do the exact same thing) via adb shell, with root permission. You can also set the attributes in Root Explorer, or via Terminal if you don't have access to adb.
That file replacement solution is a universal fix for Android 14 or only specific to pixel 8 pro? I have a Xiaomi 13 pro with android 14...
That file replacement solution is a universal fix for Android 14 or only specific to pixel 8 pro? I have a Xiaomi 13 pro with android 14...
It didn't work for me on android 14 wuth a pixel 8 pro, unfortunately.
This app still works for me and I have Android 14 on a Pixel 5.
I have a POCO X6 Pro (Android 14 HyperOS) and the app doesn't work (I tried also modified sqlite3). Any operation I try to do tells me: command failed. On other phones it works perfectly. 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 force_ws;
DROP TRIGGER IF EXISTS force_no_ws;
INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, intVal, committed) VALUES ("com.google.android.projection.gearhead", 0,"SystemUi__widescreen_breakpoint_dp", "",470,0);
INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, intVal, committed) VALUES ("com.google.android.projection.gearhead", 0,"SystemUi__rail_assistant_media_rec_enabled_min_screen_width", "",470,0);
'
ErrorStream:
/system/bin/sh:
-- 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_a146 /data/data/com.google.android.gms/databases/phenotype.db
I have a POCO X6 Pro (Android 14 HyperOS) and the app doesn't work (I tried also modified sqlite3). Any operation I try to do tells me: command failed. On other phones it works perfectly. 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 force_ws; DROP TRIGGER IF EXISTS force_no_ws; INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, intVal, committed) VALUES ("com.google.android.projection.gearhead", 0,"SystemUi__widescreen_breakpoint_dp", "",470,0); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, intVal, committed) VALUES ("com.google.android.projection.gearhead", 0,"SystemUi__rail_assistant_media_rec_enabled_min_screen_width", "",470,0); ' ErrorStream: /system/bin/sh: [5]: /data/user/0/sksa.aa.tweaker/sqlite3: can't execute: Permission denied OutputStream: /data/user/0/sksa.aa.tweaker/sqlite3 -batch /data/data/com.google.android.gms/databases/phenotype.db 'CREATE TRIGGER force_ws AFTER DELETE On FlagOverrides BEGIN INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, intVal, committed) VALUES ("com.google.android.projection.gearhead", 0,"SystemUi__widescreen_breakpoint_dp", "",470,0); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, intVal, committed) VALUES ("com.google.android.projection.gearhead", 0,"SystemUi__rail_assistant_media_rec_enabled_min_screen_width", "",470,0); END;' ErrorStream: /system/bin/sh: [6]: /data/user/0/sksa.aa.tweaker/sqlite3: can't execute: Permission denied
-- 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_a146 /data/data/com.google.android.gms/databases/phenotype.db
Reread your logs. You're lacking permission to execute your sqlite3 executable.
chmod ugo+rx /data/data/sksa.aa.tweaker/sqlite3
This is my log (I replaced the sqlite3 and make it executable), but Car Stream doesn't show up in AA (I'm on Xiaomi 12 Pro stock ROM with Android 14):
REGISTRO: -- Apps which will be added to whitelist: -- - CarStream (com.google.android.kk2)
OutputStream:
mv
/data/local/tmp/tmpapkcom.google.android.kk2.apk
ErrorStream:
mv: Needs 1 argument (see "mv --help")
/system/bin/sh: <stdin>[2]: /data/local/tmp/tmpapkcom.google.android.kk2.apk: can't execute: Permission denied
OutputStream:
pm uninstall com.google.android.kk2
InputStream:
Failure [DELETE_FAILED_INTERNAL_ERROR]
OutputStream:
pm install -t -i "com.android.vending" -r /data/local/tmp/tmpapkcom.google.android.kk2.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.google.android.kk2",0); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.gms.car", 0,"car_connect_broadcast_whitelist", "","com.google.android.kk2",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"; ' 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.google.android.kk2",0);
INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.gms.car", 0,"car_connect_broadcast_whitelist", "","com.google.android.kk2",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;'
-- end SQL method --
-- 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_a141 /data/data/com.google.android.gms/databases/phenotype.db
Hi, still not working on LineageOS21/Android 14 :/ I tried to patch Organic Maps but it doesn't display on AA. I also tried to modify the sqlite3 file as mentionned above but still doesn't work. Thanks ! cress
Don't forget to enable developer options in Android auto first. I think there's a setting you have to change after doing that if I remember correctly.
Yes it is already done.. :/