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
420 stars 28 forks source link

Unable to successfully patch s2a on android 7.0, magisk 17.1, LG V20 #23

Closed shmykelsa closed 1 year ago

shmykelsa commented 3 years ago

Sent by evandozier@gmail.com

Description:

Trying to patch s2a, bur aa app tweaker keeps being unable. I've tried multiple versions of the app and phenotype. Phenotype says it was successful but the same symptom happens. S2a is never viable on AA.

Device info:

App version3.3
App version code20
Android build version1814517240fe3
Android release version7.0
Android SDK version24
Android build IDAΩ 1CA 3.0 | @i95swervin
Device brandlge
Device manufacturerLGE
Device nameelsa
Device modelVS995
Device product nameelsa_vzw
Device hardware nameelsa
ABIs[arm64-v8a, armeabi-v7a, armeabi]
ABIs (32bit)[armeabi-v7a, armeabi]
ABIs (64bit)[arm64-v8a]

Extra info:

LogLOG: -- Apps which will be added to whitelist: -- - Screen2Auto (ru.inceptive.screentwoauto) -- Drop Triggers and delete flags -- OutputStream: /data/user/0/sksa.aa.tweaker/sqlite3 /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;DELETE FROM Flags WHERE name="app_white_list";' ErrorStream: Error: database is locked -- run SQL method -- OutputStream: /data/user/0/sksa.aa.tweaker/sqlite3 /data/data/com.google.android.gms/databases/phenotype.db 'INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.gms.car",0,"app_black_list", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 0,1) ,"",1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.gms.car",0,"app_white_list", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 0,1),"ru.inceptive.screentwoauto",1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.gms.car",0,"should_bypass_validation", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 0,1) ,1,1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.gms.car",0,"app_black_list", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 1,1) ,"",1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.gms.car",0,"app_white_list", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 1,1),"ru.inceptive.screentwoauto",1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.gms.car",0,"should_bypass_validation", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 1,1) ,1,1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.gms.car",0,"app_black_list", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 2,1) ,"",1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.gms.car",0,"app_white_list", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 2,1),"ru.inceptive.screentwoauto",1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.gms.car",0,"should_bypass_validation", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 2,1) ,1,1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.gms.car",0,"app_black_list", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 3,1) ,"",1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.gms.car",0,"app_white_list", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 3,1),"ru.inceptive.screentwoauto",1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.gms.car",0,"should_bypass_validation", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 3,1) ,1,1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.gms.car",0,"app_black_list", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 4,1) ,"",1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.gms.car",0,"app_white_list", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 4,1),"ru.inceptive.screentwoauto",1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.gms.car",0,"should_bypass_validation", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 4,1) ,1,1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.gms.car",0,"app_black_list", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 5,1) ,"",1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.gms.car",0,"app_white_list", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 5,1),"ru.inceptive.screentwoauto",1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.gms.car",0,"should_bypass_validation", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 5,1) ,1,1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.gms.car",0,"app_black_list", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 6,1) ,"",1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.gms.car",0,"app_white_list", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 6,1),"ru.inceptive.screentwoauto",1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.gms.car",0,"should_bypass_validation", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 6,1) ,1,1);' ErrorStream: Error: database is locked OutputStream: /data/user/0/sksa.aa.tweaker/sqlite3 /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_black_list", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 0,1) ,"",1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.gms.car",0,"app_white_list", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 0,1),"ru.inceptive.screentwoauto",1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.gms.car",0,"should_bypass_validation", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 0,1) ,1,1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.gms.car",0,"app_black_list", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 1,1) ,"",1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.gms.car",0,"app_white_list", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 1,1),"ru.inceptive.screentwoauto",1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.gms.car",0,"should_bypass_validation", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 1,1) ,1,1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.gms.car",0,"app_black_list", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 2,1) ,"",1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.gms.car",0,"app_white_list", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 2,1),"ru.inceptive.screentwoauto",1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.gms.car",0,"should_bypass_validation", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 2,1) ,1,1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.gms.car",0,"app_black_list", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 3,1) ,"",1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.gms.car",0,"app_white_list", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 3,1),"ru.inceptive.screentwoauto",1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.gms.car",0,"should_bypass_validation", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 3,1) ,1,1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.gms.car",0,"app_black_list", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 4,1) ,"",1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.gms.car",0,"app_white_list", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 4,1),"ru.inceptive.screentwoauto",1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.gms.car",0,"should_bypass_validation", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 4,1) ,1,1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.gms.car",0,"app_black_list", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 5,1) ,"",1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.gms.car",0,"app_white_list", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 5,1),"ru.inceptive.screentwoauto",1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.gms.car",0,"should_bypass_validation", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 5,1) ,1,1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.gms.car",0,"app_black_list", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 6,1) ,"",1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.gms.car",0,"app_white_list", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 6,1),"ru.inceptive.screentwoauto",1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.gms.car",0,"should_bypass_validation", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 6,1) ,1,1);END;' ErrorStream: Error: database is locked-- Apps which will be added to whitelist: -- - Screen2Auto (ru.inceptive.screentwoauto) -- Drop Triggers and delete flags -- OutputStream: /data/user/0/sksa.aa.tweaker/sqlite3 /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;DELETE FROM Flags WHERE name="app_white_list";' -- run SQL method -- OutputStream: /data/user/0/sksa.aa.tweaker/sqlite3 /data/data/com.google.android.gms/databases/phenotype.db 'INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.gms.car",0,"app_black_list", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 0,1) ,"",1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.gms.car",0,"app_white_list", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 0,1),"ru.inceptive.screentwoauto",1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.gms.car",0,"should_bypass_validation", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 0,1) ,1,1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.gms.car",0,"app_black_list", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 1,1) ,"",1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.gms.car",0,"app_white_list", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 1,1),"ru.inceptive.screentwoauto",1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.gms.car",0,"should_bypass_validation", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 1,1) ,1,1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.gms.car",0,"app_black_list", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 2,1) ,"",1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.gms.car",0,"app_white_list", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 2,1),"ru.inceptive.screentwoauto",1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.gms.car",0,"should_bypass_validation", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 2,1) ,1,1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.gms.car",0,"app_black_list", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 3,1) ,"",1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.gms.car",0,"app_white_list", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 3,1),"ru.inceptive.screentwoauto",1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.gms.car",0,"should_bypass_validation", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 3,1) ,1,1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.gms.car",0,"app_black_list", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 4,1) ,"",1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.gms.car",0,"app_white_list", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 4,1),"ru.inceptive.screentwoauto",1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.gms.car",0,"should_bypass_validation", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 4,1) ,1,1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.gms.car",0,"app_black_list", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 5,1) ,"",1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.gms.car",0,"app_white_list", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 5,1),"ru.inceptive.screentwoauto",1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.gms.car",0,"should_bypass_validation", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 5,1) ,1,1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.gms.car",0,"app_black_list", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 6,1) ,"",1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.gms.car",0,"app_white_list", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 6,1),"ru.inceptive.screentwoauto",1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.gms.car",0,"should_bypass_validation", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 6,1) ,1,1);' ErrorStream: Error: database is locked OutputStream: /data/user/0/sksa.aa.tweaker/sqlite3 /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_black_list", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 0,1) ,"",1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.gms.car",0,"app_white_list", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 0,1),"ru.inceptive.screentwoauto",1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.gms.car",0,"should_bypass_validation", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 0,1) ,1,1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.gms.car",0,"app_black_list", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 1,1) ,"",1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.gms.car",0,"app_white_list", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 1,1),"ru.inceptive.screentwoauto",1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.gms.car",0,"should_bypass_validation", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 1,1) ,1,1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.gms.car",0,"app_black_list", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 2,1) ,"",1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.gms.car",0,"app_white_list", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 2,1),"ru.inceptive.screentwoauto",1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.gms.car",0,"should_bypass_validation", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 2,1) ,1,1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.gms.car",0,"app_black_list", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 3,1) ,"",1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.gms.car",0,"app_white_list", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 3,1),"ru.inceptive.screentwoauto",1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.gms.car",0,"should_bypass_validation", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 3,1) ,1,1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.gms.car",0,"app_black_list", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 4,1) ,"",1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.gms.car",0,"app_white_list", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 4,1),"ru.inceptive.screentwoauto",1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.gms.car",0,"should_bypass_validation", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 4,1) ,1,1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.gms.car",0,"app_black_list", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 5,1) ,"",1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.gms.car",0,"app_white_list", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 5,1),"ru.inceptive.screentwoauto",1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.gms.car",0,"should_bypass_validation", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 5,1) ,1,1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.gms.car",0,"app_black_list", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 6,1) ,"",1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.gms.car",0,"app_white_list", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 6,1),"ru.inceptive.screentwoauto",1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.gms.car",0,"should_bypass_validation", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 6,1) ,1,1);END;' ErrorStream: Error: database is locked-- Apps which will be added to whitelist: -- - Screen2Auto (ru.inceptive.screentwoauto) -- Drop Triggers and delete flags -- OutputStream: /data/user/0/sksa.aa.tweaker/sqlite3 /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;DELETE FROM Flags WHERE name="app_white_list";' ErrorStream: Error: database is locked -- run SQL method -- OutputStream: /data/user/0/sksa.aa.tweaker/sqlite3 /data/data/com.google.android.gms/databases/phenotype.db 'INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.gms.car",0,"app_black_list", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 0,1) ,"",1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.gms.car",0,"app_white_list", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 0,1),"ru.inceptive.screentwoauto",1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.gms.car",0,"should_bypass_validation", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 0,1) ,1,1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.gms.car",0,"app_black_list", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 1,1) ,"",1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.gms.car",0,"app_white_list", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 1,1),"ru.inceptive.screentwoauto",1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.gms.car",0,"should_bypass_validation", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 1,1) ,1,1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.gms.car",0,"app_black_list", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 2,1) ,"",1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.gms.car",0,"app_white_list", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 2,1),"ru.inceptive.screentwoauto",1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.gms.car",0,"should_bypass_validation", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 2,1) ,1,1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.gms.car",0,"app_black_list", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 3,1) ,"",1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.gms.car",0,"app_white_list", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 3,1),"ru.inceptive.screentwoauto",1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.gms.car",0,"should_bypass_validation", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 3,1) ,1,1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.gms.car",0,"app_black_list", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 4,1) ,"",1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.gms.car",0,"app_white_list", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 4,1),"ru.inceptive.screentwoauto",1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.gms.car",0,"should_bypass_validation", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 4,1) ,1,1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.gms.car",0,"app_black_list", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 5,1) ,"",1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.gms.car",0,"app_white_list", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 5,1),"ru.inceptive.screentwoauto",1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.gms.car",0,"should_bypass_validation", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 5,1) ,1,1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.gms.car",0,"app_black_list", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 6,1) ,"",1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.gms.car",0,"app_white_list", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 6,1),"ru.inceptive.screentwoauto",1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.gms.car",0,"should_bypass_validation", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 6,1) ,1,1);' ErrorStream: Error: database is locked OutputStream: /data/user/0/sksa.aa.tweaker/sqlite3 /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_black_list", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 0,1) ,"",1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.gms.car",0,"app_white_list", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 0,1),"ru.inceptive.screentwoauto",1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.gms.car",0,"should_bypass_validation", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 0,1) ,1,1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.gms.car",0,"app_black_list", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 1,1) ,"",1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.gms.car",0,"app_white_list", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 1,1),"ru.inceptive.screentwoauto",1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.gms.car",0,"should_bypass_validation", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 1,1) ,1,1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.gms.car",0,"app_black_list", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 2,1) ,"",1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.gms.car",0,"app_white_list", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 2,1),"ru.inceptive.screentwoauto",1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.gms.car",0,"should_bypass_validation", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 2,1) ,1,1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.gms.car",0,"app_black_list", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 3,1) ,"",1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.gms.car",0,"app_white_list", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 3,1),"ru.inceptive.screentwoauto",1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.gms.car",0,"should_bypass_validation", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 3,1) ,1,1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.gms.car",0,"app_black_list", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 4,1) ,"",1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.gms.car",0,"app_white_list", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 4,1),"ru.inceptive.screentwoauto",1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.gms.car",0,"should_bypass_validation", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 4,1) ,1,1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.gms.car",0,"app_black_list", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 5,1) ,"",1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.gms.car",0,"app_white_list", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 5,1),"ru.inceptive.screentwoauto",1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.gms.car",0,"should_bypass_validation", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 5,1) ,1,1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.gms.car",0,"app_black_list", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 6,1) ,"",1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.gms.car",0,"app_white_list", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 6,1),"ru.inceptive.screentwoauto",1);INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.gms.car",0,"should_bypass_validation", (SELECT DISTINCT user FROM Flags WHERE user != ""LIMIT 6,1) ,1,1);END;' ErrorStream: Error: database is locked
Tweak Appliedcustom_apps
evandozier commented 3 years ago

I see someone else had the same issue 2 days ago. I'll try what worked for them and report back

shmykelsa commented 3 years ago

Try firstly to wait some minutes, if it does not help, clear Google Play Services datas

evandozier commented 3 years ago

Thanks for the advice. I tried this with no success. On the latest v3.3 release of aa aio tweaker, when I try to patch or apply any of the other tweaksha, I get an app crash. I've been unable to actually get logs since the app crashes.

I realize this phone and OS are pretty old. Do you know of any reason in particular this app wouldn't behave on the olderha sw/hw? I'm unable to root by main phone so I was trying to get s2a working on my older rooted phone.

evandozier commented 3 years ago

Here's a logcat dump during the app crashes on v3.3: https://pastebin.com/zyPpHHqu

shmykelsa commented 3 years ago

Thanks for this bug report.

Does this happen for each and every tweak? Or some specifically?

evandozier commented 3 years ago

The app crash happens on at least the first 5 'tweaks' other than patching as well. When I go back into the app after the crash, the app shows a green check for the tweak being successfully enabled, but it doesn't appear to be when connecting to AA.

I updated magisk to 22.0 last night because I was on a very old version (17.1) of it thinking maybe it was a root issue, but it still crashes. I tried uninstalling the Google Play Services update...etc suggestion a couple of times, but I think my failure mode is different enough here that that's not what's going on.

I'm wondering if the app is calling an API entry that doesn't exist on Android 7.0. Phenotype patcher 'succeeds' in that I can see the log and it thinks it's patching. It doesn't work because I have latest AA, but at least it doesn't crash. I'm not sure how diverged your fork has become from that, but figured I'd throw it in as a data point.

evandozier commented 3 years ago

One thing that led me to wonder if it's just an API entry that doesn't exist in Android 7.0 is this line from the logcat: 03-21 13:17:17.561 W/System (19629): ClassLoader referenced unknown path: /data/app/sksa.aa.tweaker-1/lib/arm64

shmykelsa commented 3 years ago

It might be. I will have to investigate on that. Luckily I have an Android 7 rooted device (which is also a LG V10) so I'll try to recreate the setup and rollout a fix for this kind of crash.

shmykelsa commented 3 years ago

I've been able to recreate this bug and, while AA AIO TWEAKER actually applied the given patch, apparently older versions of Android have a different management for updating the UI.

A fix for this will be included in the next version. Thanks for sharing!

evandozier commented 3 years ago

Curious. In spite of the crash, I wasn't seeing s2a in AA after the patch attempt. I'll go back and see if any of the tweaks seem to be applying successfully in spite of the app crash. Thanks!

shmykelsa commented 3 years ago

Curious. In spite of the crash, I wasn't seeing s2a in AA after the patch attempt. I'll go back and see if any of the tweaks seem to be applying successfully in spite of the app crash. Thanks!

I'm currently investigating some patching issues going on with lates builds. Try version 3.1 for the time being.

evandozier commented 3 years ago

Thanks @shmykelsa for your continued help here. I did try patching with 3.1. I noticed that pretty much every 'tweak' I patched was reflected in the AA UI, but patching s2a into AA still didn't work. Is there any debugging I can do on my phone to determine if the 'patch' actually went in and it should be showing up? Because of the app crashes, I don't have any actual logs to inspect to provide you with further help.

evandozier commented 3 years ago

@shmykelsa I did some more testing last night. Patching other AA type apps actually did cause some of them to show up. I tried patch Screen2Auto, CarStream, AAStream, AAMirror, & Fermata Audio. Out of all of those, Fermata and CarStream actually showed up in AA successfully. The others did not, so the problem might not even be with your app. It may be with those apps. I do apologize for the confusion!

shmykelsa commented 3 years ago

@shmykelsa I did some more testing last night. Patching other AA type apps actually did cause some of them to show up. I tried patch Screen2Auto, CarStream, AAStream, AAMirror, & Fermata Audio. Out of all of those, Fermata and CarStream actually showed up in AA successfully. The others did not, so the problem might not even be with your app. It may be with those apps. I do apologize for the confusion!

That's really weird. The app White list should be entirely created and not be partial. Since all those apps are actually AA-compatible that worries me a bit. My hypothesis is that the icons you are seeing are the player part of CarStream and Fermata Auto (Fermata Control). So in this case the patch is not successful.

evandozier commented 3 years ago

@shmykelsa that's interesting. I'm using AA 6.2.610914-release. I can try rolling back to an older one but it's my understanding that's only a part of the puzzle.

evandozier commented 3 years ago

I tried 3.4 today. Its unable to open the phenotype.db. I tried the troubleshooting steps of uninstalling google play services and clearing caches but the result is the same. Ill try it some mote this weekend but I'm driving a bunch today.

Here's the latest logs `LOG:

-- Drop Triggers -- OutputStream: /data/user/0/sksa.aa.tweaker/sqlite3 /data/data/com.google.android.gms/databases/phenotype.db 'DROP TRIGGER IF EXISTS "assist_short";'

-- run SQL method -- OutputStream: /data/user/0/sksa.aa.tweaker/sqlite3 /data/data/com.google.android.gms/databases/phenotype.db 'INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"LauncherShortcutsenabled", (SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 0,1) ,1,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"LauncherShortcutsassistant_shortcut_enabled", (SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 0,1) ,1,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"LauncherShortcutsenabled", (SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 1,1) ,1,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"LauncherShortcutsassistant_shortcut_enabled", (SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 1,1) ,1,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"LauncherShortcutsenabled", (SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 2,1) ,1,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"LauncherShortcutsassistant_shortcut_enabled", (SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 2,1) ,1,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"LauncherShortcutsenabled", (SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 3,1) ,1,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"LauncherShortcutsassistant_shortcut_enabled", (SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 3,1) ,1,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"LauncherShortcutsenabled", (SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 4,1) ,1,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"LauncherShortcutsassistant_shortcut_enabled", (SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 4,1) ,1,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"LauncherShortcutsenabled", (SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 5,1) ,1,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"LauncherShortcutsassistant_shortcut_enabled", (SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 5,1) ,1,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"LauncherShortcutsenabled", (SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 6,1) ,1,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"LauncherShortcutsassistant_shortcut_enabled", (SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 6,1) ,1,1); ' ErrorStream: Error: database is locked OutputStream: /data/user/0/sksa.aa.tweaker/sqlite3 /data/data/com.google.android.gms/databases/phenotype.db 'CREATE TRIGGER assist_short AFTER DELETE ON FlagOverrides BEGIN INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"LauncherShortcutsenabled", (SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 0,1) ,1,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"LauncherShortcutsassistant_shortcut_enabled", (SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 0,1) ,1,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"LauncherShortcutsenabled", (SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 1,1) ,1,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"LauncherShortcutsassistant_shortcut_enabled", (SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 1,1) ,1,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"LauncherShortcutsenabled", (SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 2,1) ,1,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"LauncherShortcutsassistant_shortcut_enabled", (SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 2,1) ,1,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"LauncherShortcutsenabled", (SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 3,1) ,1,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"LauncherShortcutsassistant_shortcut_enabled", (SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 3,1) ,1,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"LauncherShortcutsenabled", (SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 4,1) ,1,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"LauncherShortcutsassistant_shortcut_enabled", (SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 4,1) ,1,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"LauncherShortcutsenabled", (SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 5,1) ,1,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"LauncherShortcutsassistant_shortcut_enabled", (SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 5,1) ,1,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"LauncherShortcutsenabled", (SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 6,1) ,1,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"LauncherShortcutsassistant_shortcut_enabled", (SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 6,1) ,1,1); END;' -- end SQL method --

-- Drop Triggers -- OutputStream: /data/user/0/sksa.aa.tweaker/sqlite3 /data/data/com.google.android.gms/databases/phenotype.db 'DROP TRIGGER IF EXISTS aa_six_tap;'

-- run SQL method -- OutputStream: /data/user/0/sksa.aa.tweaker/sqlite3 /data/data/com.google.android.gms/databases/phenotype.db 'INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, intVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentBrowsedrawer_default_allowed_taps_touchpad",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 0,1) ,999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentBrowsemax_permits",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 0,1) ,999.0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentBrowseenable_speed_bump_projected",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 0,1) ,0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, intVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentBrowse__lockout_ms",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 0,1) ,0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentBrowsepermits_per_sec",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 0,1) ,999.0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentBrowsespeedbump_unrestricted_consecutive_scroll_up_actions",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 0,1) ,999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentForwardBrowseinvisalign_default_allowed_items_rotary",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 0,1) ,999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentForwardBrowseinvisalign_default_allowed_items_touch",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 0,1) ,999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentForwardBrowseinvisalign_default_allowed_items_touchpad",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 0,1) ,999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"Dialerspeedbump_enabled",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 0,1) ,0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, intVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentBrowsedrawer_default_allowed_taps_touchpad",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 1,1) ,999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentBrowsemax_permits",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 1,1) ,999.0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentBrowse__enable_speed_bump_projected",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 1,1) ,0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, intVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentBrowselockout_ms",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 1,1) ,0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentBrowsepermits_per_sec",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 1,1) ,999.0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentBrowsespeedbump_unrestricted_consecutive_scroll_up_actions",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 1,1) ,999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentForwardBrowseinvisalign_default_allowed_items_rotary",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 1,1) ,999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentForwardBrowseinvisalign_default_allowed_items_touch",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 1,1) ,999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentForwardBrowseinvisalign_default_allowed_items_touchpad",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 1,1) ,999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"Dialerspeedbump_enabled",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 1,1) ,0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, intVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentBrowsedrawer_default_allowed_taps_touchpad",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 2,1) ,999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentBrowsemax_permits",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 2,1) ,999.0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentBrowseenable_speed_bump_projected",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 2,1) ,0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, intVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentBrowse__lockout_ms",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 2,1) ,0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentBrowsepermits_per_sec",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 2,1) ,999.0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentBrowsespeedbump_unrestricted_consecutive_scroll_up_actions",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 2,1) ,999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentForwardBrowseinvisalign_default_allowed_items_rotary",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 2,1) ,999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentForwardBrowseinvisalign_default_allowed_items_touch",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 2,1) ,999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentForwardBrowseinvisalign_default_allowed_items_touchpad",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 2,1) ,999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"Dialerspeedbump_enabled",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 2,1) ,0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, intVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentBrowsedrawer_default_allowed_taps_touchpad",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 3,1) ,999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentBrowsemax_permits",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 3,1) ,999.0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentBrowse__enable_speed_bump_projected",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 3,1) ,0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, intVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentBrowselockout_ms",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 3,1) ,0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentBrowsepermits_per_sec",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 3,1) ,999.0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentBrowsespeedbump_unrestricted_consecutive_scroll_up_actions",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 3,1) ,999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentForwardBrowseinvisalign_default_allowed_items_rotary",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 3,1) ,999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentForwardBrowseinvisalign_default_allowed_items_touch",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 3,1) ,999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentForwardBrowseinvisalign_default_allowed_items_touchpad",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 3,1) ,999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"Dialerspeedbump_enabled",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 3,1) ,0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, intVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentBrowsedrawer_default_allowed_taps_touchpad",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 4,1) ,999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentBrowsemax_permits",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 4,1) ,999.0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentBrowseenable_speed_bump_projected",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 4,1) ,0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, intVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentBrowse__lockout_ms",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 4,1) ,0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentBrowsepermits_per_sec",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 4,1) ,999.0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentBrowsespeedbump_unrestricted_consecutive_scroll_up_actions",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 4,1) ,999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentForwardBrowseinvisalign_default_allowed_items_rotary",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 4,1) ,999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentForwardBrowseinvisalign_default_allowed_items_touch",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 4,1) ,999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentForwardBrowseinvisalign_default_allowed_items_touchpad",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 4,1) ,999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"Dialerspeedbump_enabled",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 4,1) ,0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, intVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentBrowsedrawer_default_allowed_taps_touchpad",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 5,1) ,999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentBrowsemax_permits",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 5,1) ,999.0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentBrowse__enable_speed_bump_projected",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 5,1) ,0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, intVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentBrowselockout_ms",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 5,1) ,0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentBrowsepermits_per_sec",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 5,1) ,999.0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentBrowsespeedbump_unrestricted_consecutive_scroll_up_actions",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 5,1) ,999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentForwardBrowseinvisalign_default_allowed_items_rotary",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 5,1) ,999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentForwardBrowseinvisalign_default_allowed_items_touch",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 5,1) ,999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentForwardBrowseinvisalign_default_allowed_items_touchpad",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 5,1) ,999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"Dialerspeedbump_enabled",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 5,1) ,0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, intVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentBrowsedrawer_default_allowed_taps_touchpad",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 6,1) ,999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentBrowsemax_permits",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 6,1) ,999.0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentBrowseenable_speed_bump_projected",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 6,1) ,0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, intVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentBrowse__lockout_ms",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 6,1) ,0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentBrowsepermits_per_sec",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 6,1) ,999.0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentBrowsespeedbump_unrestricted_consecutive_scroll_up_actions",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 6,1) ,999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentForwardBrowseinvisalign_default_allowed_items_rotary",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 6,1) ,999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentForwardBrowseinvisalign_default_allowed_items_touch",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 6,1) ,999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentForwardBrowseinvisalign_default_allowed_items_touchpad",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 6,1) ,999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"Dialerspeedbump_enabled",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 6,1) ,0,1); ' ErrorStream: Error: unable to open database file OutputStream: /data/user/0/sksa.aa.tweaker/sqlite3 /data/data/com.google.android.gms/databases/phenotype.db 'CREATE TRIGGER aa_six_tap AFTER DELETE ON FlagOverrides BEGIN INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, intVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentBrowsedrawer_default_allowed_taps_touchpad",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 0,1) ,999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentBrowsemax_permits",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 0,1) ,999.0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentBrowse__enable_speed_bump_projected",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 0,1) ,0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, intVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentBrowselockout_ms",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 0,1) ,0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentBrowsepermits_per_sec",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 0,1) ,999.0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentBrowsespeedbump_unrestricted_consecutive_scroll_up_actions",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 0,1) ,999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentForwardBrowseinvisalign_default_allowed_items_rotary",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 0,1) ,999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentForwardBrowseinvisalign_default_allowed_items_touch",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 0,1) ,999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentForwardBrowseinvisalign_default_allowed_items_touchpad",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 0,1) ,999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"Dialerspeedbump_enabled",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 0,1) ,0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, intVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentBrowsedrawer_default_allowed_taps_touchpad",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 1,1) ,999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentBrowsemax_permits",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 1,1) ,999.0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentBrowseenable_speed_bump_projected",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 1,1) ,0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, intVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentBrowse__lockout_ms",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 1,1) ,0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentBrowsepermits_per_sec",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 1,1) ,999.0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentBrowsespeedbump_unrestricted_consecutive_scroll_up_actions",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 1,1) ,999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentForwardBrowseinvisalign_default_allowed_items_rotary",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 1,1) ,999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentForwardBrowseinvisalign_default_allowed_items_touch",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 1,1) ,999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentForwardBrowseinvisalign_default_allowed_items_touchpad",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 1,1) ,999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"Dialerspeedbump_enabled",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 1,1) ,0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, intVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentBrowsedrawer_default_allowed_taps_touchpad",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 2,1) ,999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentBrowsemax_permits",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 2,1) ,999.0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentBrowse__enable_speed_bump_projected",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 2,1) ,0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, intVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentBrowselockout_ms",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 2,1) ,0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentBrowsepermits_per_sec",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 2,1) ,999.0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentBrowsespeedbump_unrestricted_consecutive_scroll_up_actions",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 2,1) ,999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentForwardBrowseinvisalign_default_allowed_items_rotary",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 2,1) ,999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentForwardBrowseinvisalign_default_allowed_items_touch",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 2,1) ,999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentForwardBrowseinvisalign_default_allowed_items_touchpad",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 2,1) ,999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"Dialerspeedbump_enabled",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 2,1) ,0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, intVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentBrowsedrawer_default_allowed_taps_touchpad",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 3,1) ,999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentBrowsemax_permits",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 3,1) ,999.0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentBrowseenable_speed_bump_projected",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 3,1) ,0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, intVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentBrowse__lockout_ms",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 3,1) ,0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentBrowsepermits_per_sec",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 3,1) ,999.0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentBrowsespeedbump_unrestricted_consecutive_scroll_up_actions",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 3,1) ,999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentForwardBrowseinvisalign_default_allowed_items_rotary",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 3,1) ,999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentForwardBrowseinvisalign_default_allowed_items_touch",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 3,1) ,999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentForwardBrowseinvisalign_default_allowed_items_touchpad",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 3,1) ,999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"Dialerspeedbump_enabled",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 3,1) ,0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, intVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentBrowsedrawer_default_allowed_taps_touchpad",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 4,1) ,999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentBrowsemax_permits",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 4,1) ,999.0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentBrowse__enable_speed_bump_projected",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 4,1) ,0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, intVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentBrowselockout_ms",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 4,1) ,0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentBrowsepermits_per_sec",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 4,1) ,999.0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentBrowsespeedbump_unrestricted_consecutive_scroll_up_actions",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 4,1) ,999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentForwardBrowseinvisalign_default_allowed_items_rotary",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 4,1) ,999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentForwardBrowseinvisalign_default_allowed_items_touch",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 4,1) ,999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentForwardBrowseinvisalign_default_allowed_items_touchpad",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 4,1) ,999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"Dialerspeedbump_enabled",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 4,1) ,0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, intVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentBrowsedrawer_default_allowed_taps_touchpad",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 5,1) ,999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentBrowsemax_permits",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 5,1) ,999.0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentBrowseenable_speed_bump_projected",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 5,1) ,0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, intVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentBrowse__lockout_ms",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 5,1) ,0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentBrowsepermits_per_sec",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 5,1) ,999.0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentBrowsespeedbump_unrestricted_consecutive_scroll_up_actions",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 5,1) ,999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentForwardBrowseinvisalign_default_allowed_items_rotary",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 5,1) ,999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentForwardBrowseinvisalign_default_allowed_items_touch",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 5,1) ,999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentForwardBrowseinvisalign_default_allowed_items_touchpad",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 5,1) ,999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"Dialerspeedbump_enabled",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 5,1) ,0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, intVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentBrowsedrawer_default_allowed_taps_touchpad",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 6,1) ,999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentBrowsemax_permits",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 6,1) ,999.0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentBrowse__enable_speed_bump_projected",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 6,1) ,0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, intVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentBrowselockout_ms",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 6,1) ,0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentBrowsepermits_per_sec",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 6,1) ,999.0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentBrowsespeedbump_unrestricted_consecutive_scroll_up_actions",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 6,1) ,999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentForwardBrowseinvisalign_default_allowed_items_rotary",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 6,1) ,999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentForwardBrowseinvisalign_default_allowed_items_touch",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 6,1) ,999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ContentForwardBrowseinvisalign_default_allowed_items_touchpad",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 6,1) ,999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"Dialerspeedbump_enabled",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 6,1) ,0,1); END;' -- end SQL method --

-- Drop Triggers -- OutputStream: /data/user/0/sksa.aa.tweaker/sqlite3 /data/data/com.google.android.gms/databases/phenotype.db 'DROP TRIGGER IF EXISTS aa_speed_hack;'

-- run SQL method -- OutputStream: /data/user/0/sksa.aa.tweaker/sqlite3 /data/data/com.google.android.gms/databases/phenotype.db 'INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"CarSensorParametersmax_parked_speed_gps_sensor",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 0,1) ,999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"CarSensorParametersmax_parked_speed_wheel_sensor",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 0,1) ,999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ParkingStateSmoothingenable",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 0,1) ,1,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, intVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ParkingStateSmoothingflake_filter_delay_ms",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 0,1) ,9999999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ParkingStateSmoothingtelemetry_enabled_without_smoothing",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 0,1) ,0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"VisualPreviewunchained",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 0,1) ,1,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"VisualPreviewchained",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 0,1) ,0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"VisualPreviewVisibilityControlrequire_high_accuracy_speed_sensor",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 0,1) ,0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"CarSensorParametersmax_parked_speed_gps_sensor",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 1,1) ,999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"CarSensorParametersmax_parked_speed_wheel_sensor",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 1,1) ,999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ParkingStateSmoothingenable",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 1,1) ,1,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, intVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ParkingStateSmoothing__flake_filter_delay_ms",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 1,1) ,9999999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ParkingStateSmoothingtelemetry_enabled_without_smoothing",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 1,1) ,0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"VisualPreviewunchained",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 1,1) ,1,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"VisualPreviewchained",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 1,1) ,0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"VisualPreviewVisibilityControlrequire_high_accuracy_speed_sensor",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 1,1) ,0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"CarSensorParametersmax_parked_speed_gps_sensor",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 2,1) ,999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"CarSensorParametersmax_parked_speed_wheel_sensor",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 2,1) ,999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ParkingStateSmoothingenable",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 2,1) ,1,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, intVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ParkingStateSmoothingflake_filter_delay_ms",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 2,1) ,9999999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ParkingStateSmoothing__telemetry_enabled_without_smoothing",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 2,1) ,0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"VisualPreviewunchained",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 2,1) ,1,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"VisualPreviewchained",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 2,1) ,0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"VisualPreviewVisibilityControlrequire_high_accuracy_speed_sensor",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 2,1) ,0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"CarSensorParametersmax_parked_speed_gps_sensor",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 3,1) ,999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"CarSensorParametersmax_parked_speed_wheel_sensor",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 3,1) ,999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ParkingStateSmoothingenable",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 3,1) ,1,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, intVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ParkingStateSmoothingflake_filter_delay_ms",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 3,1) ,9999999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ParkingStateSmoothingtelemetry_enabled_without_smoothing",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 3,1) ,0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"VisualPreviewunchained",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 3,1) ,1,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"VisualPreviewchained",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 3,1) ,0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"VisualPreviewVisibilityControlrequire_high_accuracy_speed_sensor",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 3,1) ,0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"CarSensorParametersmax_parked_speed_gps_sensor",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 4,1) ,999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"CarSensorParametersmax_parked_speed_wheel_sensor",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 4,1) ,999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ParkingStateSmoothingenable",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 4,1) ,1,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, intVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ParkingStateSmoothing__flake_filter_delay_ms",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 4,1) ,9999999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ParkingStateSmoothingtelemetry_enabled_without_smoothing",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 4,1) ,0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"VisualPreviewunchained",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 4,1) ,1,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"VisualPreviewchained",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 4,1) ,0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"VisualPreviewVisibilityControlrequire_high_accuracy_speed_sensor",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 4,1) ,0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"CarSensorParametersmax_parked_speed_gps_sensor",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 5,1) ,999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"CarSensorParametersmax_parked_speed_wheel_sensor",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 5,1) ,999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ParkingStateSmoothingenable",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 5,1) ,1,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, intVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ParkingStateSmoothingflake_filter_delay_ms",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 5,1) ,9999999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ParkingStateSmoothing__telemetry_enabled_without_smoothing",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 5,1) ,0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"VisualPreviewunchained",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 5,1) ,1,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"VisualPreviewchained",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 5,1) ,0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"VisualPreviewVisibilityControlrequire_high_accuracy_speed_sensor",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 5,1) ,0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"CarSensorParametersmax_parked_speed_gps_sensor",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 6,1) ,999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"CarSensorParametersmax_parked_speed_wheel_sensor",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 6,1) ,999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ParkingStateSmoothingenable",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 6,1) ,1,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, intVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ParkingStateSmoothingflake_filter_delay_ms",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 6,1) ,9999999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ParkingStateSmoothingtelemetry_enabled_without_smoothing",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 6,1) ,0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"VisualPreviewunchained",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 6,1) ,1,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"VisualPreviewchained",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 6,1) ,0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"VisualPreviewVisibilityControlrequire_high_accuracy_speed_sensor",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 6,1) ,0,1); ' ErrorStream: Error: unable to open database file OutputStream: /data/user/0/sksa.aa.tweaker/sqlite3 /data/data/com.google.android.gms/databases/phenotype.db 'CREATE TRIGGER aa_speed_hack AFTER DELETE ON FlagOverrides BEGIN INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"CarSensorParametersmax_parked_speed_gps_sensor",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 0,1) ,999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"CarSensorParametersmax_parked_speed_wheel_sensor",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 0,1) ,999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ParkingStateSmoothingenable",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 0,1) ,1,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, intVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ParkingStateSmoothing__flake_filter_delay_ms",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 0,1) ,9999999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ParkingStateSmoothingtelemetry_enabled_without_smoothing",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 0,1) ,0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"VisualPreviewunchained",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 0,1) ,1,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"VisualPreviewchained",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 0,1) ,0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"VisualPreviewVisibilityControlrequire_high_accuracy_speed_sensor",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 0,1) ,0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"CarSensorParametersmax_parked_speed_gps_sensor",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 1,1) ,999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"CarSensorParametersmax_parked_speed_wheel_sensor",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 1,1) ,999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ParkingStateSmoothingenable",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 1,1) ,1,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, intVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ParkingStateSmoothingflake_filter_delay_ms",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 1,1) ,9999999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ParkingStateSmoothing__telemetry_enabled_without_smoothing",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 1,1) ,0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"VisualPreviewunchained",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 1,1) ,1,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"VisualPreviewchained",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 1,1) ,0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"VisualPreviewVisibilityControlrequire_high_accuracy_speed_sensor",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 1,1) ,0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"CarSensorParametersmax_parked_speed_gps_sensor",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 2,1) ,999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"CarSensorParametersmax_parked_speed_wheel_sensor",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 2,1) ,999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ParkingStateSmoothingenable",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 2,1) ,1,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, intVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ParkingStateSmoothingflake_filter_delay_ms",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 2,1) ,9999999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ParkingStateSmoothingtelemetry_enabled_without_smoothing",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 2,1) ,0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"VisualPreviewunchained",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 2,1) ,1,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"VisualPreviewchained",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 2,1) ,0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"VisualPreviewVisibilityControlrequire_high_accuracy_speed_sensor",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 2,1) ,0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"CarSensorParametersmax_parked_speed_gps_sensor",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 3,1) ,999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"CarSensorParametersmax_parked_speed_wheel_sensor",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 3,1) ,999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ParkingStateSmoothingenable",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 3,1) ,1,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, intVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ParkingStateSmoothing__flake_filter_delay_ms",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 3,1) ,9999999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ParkingStateSmoothingtelemetry_enabled_without_smoothing",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 3,1) ,0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"VisualPreviewunchained",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 3,1) ,1,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"VisualPreviewchained",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 3,1) ,0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"VisualPreviewVisibilityControlrequire_high_accuracy_speed_sensor",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 3,1) ,0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"CarSensorParametersmax_parked_speed_gps_sensor",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 4,1) ,999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"CarSensorParametersmax_parked_speed_wheel_sensor",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 4,1) ,999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ParkingStateSmoothingenable",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 4,1) ,1,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, intVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ParkingStateSmoothingflake_filter_delay_ms",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 4,1) ,9999999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ParkingStateSmoothing__telemetry_enabled_without_smoothing",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 4,1) ,0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"VisualPreviewunchained",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 4,1) ,1,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"VisualPreviewchained",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 4,1) ,0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"VisualPreviewVisibilityControlrequire_high_accuracy_speed_sensor",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 4,1) ,0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"CarSensorParametersmax_parked_speed_gps_sensor",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 5,1) ,999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"CarSensorParametersmax_parked_speed_wheel_sensor",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 5,1) ,999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ParkingStateSmoothingenable",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 5,1) ,1,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, intVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ParkingStateSmoothingflake_filter_delay_ms",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 5,1) ,9999999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ParkingStateSmoothingtelemetry_enabled_without_smoothing",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 5,1) ,0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"VisualPreviewunchained",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 5,1) ,1,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"VisualPreviewchained",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 5,1) ,0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"VisualPreviewVisibilityControlrequire_high_accuracy_speed_sensor",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 5,1) ,0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"CarSensorParametersmax_parked_speed_gps_sensor",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 6,1) ,999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, floatVal, committed) VALUES ("com.google.android.projection.gearhead",0,"CarSensorParametersmax_parked_speed_wheel_sensor",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 6,1) ,999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ParkingStateSmoothingenable",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 6,1) ,1,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, intVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ParkingStateSmoothing__flake_filter_delay_ms",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 6,1) ,9999999,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"ParkingStateSmoothingtelemetry_enabled_without_smoothing",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 6,1) ,0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"VisualPreviewunchained",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 6,1) ,1,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"VisualPreviewchained",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 6,1) ,0,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.projection.gearhead",0,"VisualPreviewVisibilityControl__require_high_accuracy_speed_sensor",(SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 6,1) ,0,1); END;' -- end SQL method ---- Apps which will be added to whitelist: --

-- Drop Triggers and delete flags -- OutputStream: /data/user/0/sksa.aa.tweaker/sqlite3 /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;'

-- run SQL method -- OutputStream: /data/user/0/sksa.aa.tweaker/sqlite3 /data/data/com.google.android.gms/databases/phenotype.db 'DELETE FROM Flags WHERE packageName="com.google.android.gms.car" AND name="app_white_list";INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.gms.car",0,"app_white_list", (SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 0,1),"ru.inceptive.screentwoauto,com.google.android.kk,me.aap.fermata.auto",1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.gms.car",0,"should_bypass_validation", (SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 0,1) ,1,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.gms.car",0,"app_white_list", (SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 1,1),"ru.inceptive.screentwoauto,com.google.android.kk,me.aap.fermata.auto",1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.gms.car",0,"should_bypass_validation", (SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 1,1) ,1,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.gms.car",0,"app_white_list", (SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 2,1),"ru.inceptive.screentwoauto,com.google.android.kk,me.aap.fermata.auto",1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.gms.car",0,"should_bypass_validation", (SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 2,1) ,1,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.gms.car",0,"app_white_list", (SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 3,1),"ru.inceptive.screentwoauto,com.google.android.kk,me.aap.fermata.auto",1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.gms.car",0,"should_bypass_validation", (SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 3,1) ,1,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.gms.car",0,"app_white_list", (SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 4,1),"ru.inceptive.screentwoauto,com.google.android.kk,me.aap.fermata.auto",1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.gms.car",0,"should_bypass_validation", (SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 4,1) ,1,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.gms.car",0,"app_white_list", (SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 5,1),"ru.inceptive.screentwoauto,com.google.android.kk,me.aap.fermata.auto",1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.gms.car",0,"should_bypass_validation", (SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 5,1) ,1,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.gms.car",0,"app_white_list", (SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 6,1),"ru.inceptive.screentwoauto,com.google.android.kk,me.aap.fermata.auto",1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.gms.car",0,"should_bypass_validation", (SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 6,1) ,1,1); ' ErrorStream: Error: unable to open database file OutputStream: /data/user/0/sksa.aa.tweaker/sqlite3 /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", (SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 0,1),"ru.inceptive.screentwoauto,com.google.android.kk,me.aap.fermata.auto",1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.gms.car",0,"should_bypass_validation", (SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 0,1) ,1,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.gms.car",0,"app_white_list", (SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 1,1),"ru.inceptive.screentwoauto,com.google.android.kk,me.aap.fermata.auto",1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.gms.car",0,"should_bypass_validation", (SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 1,1) ,1,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.gms.car",0,"app_white_list", (SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 2,1),"ru.inceptive.screentwoauto,com.google.android.kk,me.aap.fermata.auto",1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.gms.car",0,"should_bypass_validation", (SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 2,1) ,1,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.gms.car",0,"app_white_list", (SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 3,1),"ru.inceptive.screentwoauto,com.google.android.kk,me.aap.fermata.auto",1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.gms.car",0,"should_bypass_validation", (SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 3,1) ,1,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.gms.car",0,"app_white_list", (SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 4,1),"ru.inceptive.screentwoauto,com.google.android.kk,me.aap.fermata.auto",1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.gms.car",0,"should_bypass_validation", (SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 4,1) ,1,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.gms.car",0,"app_white_list", (SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 5,1),"ru.inceptive.screentwoauto,com.google.android.kk,me.aap.fermata.auto",1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.gms.car",0,"should_bypass_validation", (SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 5,1) ,1,1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, stringVal, committed) VALUES ("com.google.android.gms.car",0,"app_white_list", (SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 6,1),"ru.inceptive.screentwoauto,com.google.android.kk,me.aap.fermata.auto",1); INSERT OR REPLACE INTO FlagOverrides (packageName, flagType, name, user, boolVal, committed) VALUES ("com.google.android.gms.car",0,"should_bypass_validation", (SELECT DISTINCT user FROM Flags WHERE user != "" LIMIT 6,1) ,1,1); END;' -- end SQL method -- `

shmykelsa commented 3 years ago

@evandozier seems like database is having hard time with all the queries. At first it showed database is locked, which usually means there are too many operations going on.

Probably it's because of the 7 Google accounts you have registered. I could try to make to make a dialog at start with the goal of choosing the actually used account(s) for Android Auto but that will create a privacy problem when sharing logs, and I don't want that for my users.

evandozier commented 3 years ago

Interesting. I'll remove all of those extra accounts and give it a try later today.thanks for your continued support!

evandozier commented 3 years ago

After removing all of the extra accounts and redoing the Google play services steps, I was able to successfully patch s2a onto AA! You can consider this issue closed! Thanks for your help!

shmykelsa commented 3 years ago

I'll keep this open as a reminder for considering an account chooser at the start of the application