[Android Auto General] Tiemichael:
Thanks for your help!

Here is the entire sqlite-session:

adb shell
tissot_sprout:/ $ su
sqlite3 /data/data/com.google.android.gms/databases/phenotype.db <

sqlite> DROP TRIGGER after_delete;
sqlite> DELETE FROM Flags WHERE name="app_white_list";
Error: Flags.version may not be NULL
sqlite>
INSERT OR REPLACE INTO Flags (packageName, version, flagType, partitionId, user, name, stringVal, committed) VALUES ("com.google.android.gms.car#car", 234, 0, 0, "", "app_white_list", "com.github.slashmax.aamirror,org.openauto.unleashedaudioplayer",1);
INSERT OR REPLACE INTO Flags (packageName, version, flagType, partitionId, user, name, stringVal, committed) VALUES ("com.google.android.gms.car#car", 230, 0, 0, "", "app_white_list", "com.github.slashmax.aamirror,org.openauto.unleashedaudioplayer",1);
INSERT OR REPLACE INTO Flags (packageName, version, flagType, partitionId, user, name, stringVal, committed) VALUES ("com.google.android.gms.car", 234, 0, 0, "", "app_white_list", "com.github.slashmax.aamirror,org.openauto.unleashedaudioplayer",1);
INSERT OR REPLACE INTO Flags (packageName, version, flagType, partitionId, user, name, stringVal, committed) VALUES ("com.google.android.gms.car", 230, 0, 0, "", "app_white_list", "com.github.slashmax.aamirror,org.openauto.unleashedaudioplayer",1);
INSERT OR REPLACE INTO Flags (packageName, version, flagType, partitionId, user, name, stringVal, committed) VALUES ("com.google.android.gms.car#car_setup", 234, 0, 0, "", "app_white_list", "com.github.slashmax.aamirror,org.openauto.unleashedaudioplayer",1);
INSERT OR REPLACE INTO Flags (packageName, version, flagType, partitionId, user, name, stringVal, committed) VALUES ("com.google.android.gms.car#car_setup", 230, 0, 0, "", "app_white_list", "com.github.slashmax.aamirror,org.openauto.unleashedaudioplayer",1);
INSERT OR REPLACE INTO Flags (packageName, version, flagType, partitionId, user, name, stringVal, committed) VALUES ("com.google.android.gms.car#car", (SELECT version FROM Packages WHERE packageName="com.google.android.gms.car"), 0, 0, "", "app_white_list", "com.github.slashmax.aamirror,org.openauto.unleashedaudioplayer",1);
INSERT OR REPLACE INTO Flags (packageName, version, flagType, partitionId, user, name, stringVal, committed) VALUES ("com.google.android.gms.car", (SELECT version FROM Packages WHERE packageName="com.google.android.gms.car"), 0, 0, "", "app_white_list", "com.github.slashmax.aamirror,org.openauto.unleashedaudioplayer",1);
INSERT OR REPLACE INTO Flags (packageName, version, flagType, partitionId, user, name, stringVal, committed) VALUES ("com.google.android.gms.car#car_setup", (SELECT version FROM Packages WHERE packageName="com.google.android.gms.car"), 0, 0, "", "app_white_list", "com.github.slashmax.aamirror,org.openauto.unleashedaudioplayer",1);

CREATE TRIGGER after_delete AFTER DELETE
ON Flags
BEGIN
INSERT OR REPLACE INTO Flags (packageName, version, flagType, partitionId, user, name, stringVal, committed) VALUES ("com.google.android.gms.car#car", (SELECT version FROM Packages WHERE packageName="com.google.android.gms.car"), 0, 0, "", "app_white_list", "com.github.slashmax.aamirror,org.openauto.unleashedaudioplayer",1);
INSERT OR REPLACE INTO Flags (packageName, version, flagType, partitionId, user, name, stringVal, committed) VALUES ("com.google.android.gms.car#car", 230, 0, 0, "", "app_white_list", "com.github.slashmax.aamirror,org.openauto.unleashedaudioplayer",1);
INSERT OR REPLACE INTO Flags (packageName, version, flagType, partitionId, user, name, stringVal, committed) VALUES ("com.google.android.gms.car#car", 234, 0, 0, "", "app_white_list", "com.github.slashmax.aamirror,org.openauto.unleashedaudioplayer",1);
INSERT OR REPLACE INTO Flags (packageName, version, flagType, partitionId, user, name, stringVal, committed) VALUES ("com.google.android.gms.car", (SELECT version FROM Packages WHERE packageName="com.google.android.gms.car"), 0, 0, "", "app_white_list", "com.github.slashmax.aamirror,org.openauto.unleashedaudioplayer",1);
INSERT OR REPLACE INTO Flags (packageName, version, flagType, partitionId, user, name, stringVal, committed) VALUES ("com.google.android.gms.car", 230, 0, 0, "", "app_white_list", "com.github.slashmax.aamirror,org.openauto.unleashedaudioplayer",1);
INSERT OR REPLACE INTO Flags (packageName, version, flagType, partitionId, user, name, stringVal, committed) VALUES ("com.google.android.gms.car", 234, 0, 0, "", "app_white_list", "com.github.slashmax.aamirror,org.openauto.unleashedaudioplayer",1);
INSERT OR REPLACE INTO Flags (packageName, version, flagType, partitionId, user, name, stringVal, committed) VALUES ("com.google.android.gms.car#car_setup", (SELECT version FROM Packages WHERE packageName="com.google.android.gms.car"), 0, 0, "", "app_white_list", "com.github.slashmax.aamirror,org.openauto.unleashedaudioplayer",1);
INSERT OR REPLACE INTO Flags (packageName, version, flagType, partitionId, user, name, stringVal, committed) VALUES ("com.google.android.gms.car#car_setup", 230, 0, 0, "", "app_white_list", "com.github.slashmax.aamirror,org.openauto.unleashedaudioplayer",1);
INSERT OR REPLACE INTO Flags (packageName, version, flagType, partitionId, user, name, stringVal, committed) VALUES ("com.google.android.gms.car#car_setup", 234, 0, 0, "", "app_white_list", "com.github.slashmax.aamirror,org.openauto.unleashedaudioplayer",1);
END;
sqlite> DELETE FROM Flags WHERE name="app_white_list";
Error: Flags.version may not be NULL
sqlite> SELECT * FROM Flags WHERE name="app_white_list";
com.google.android.gms.car#car|234|0|0||app_white_list||||com.github.slashmax.aamirror,org.openauto.unleashedaudioplayer||1
com.google.android.gms.car#car|230|0|0||app_white_list||||com.github.slashmax.aamirror,org.openauto.unleashedaudioplayer||1
com.google.android.gms.car|234|0|0||app_white_list||||com.github.slashmax.aamirror,org.openauto.unleashedaudioplayer||1
com.google.android.gms.car|230|0|0||app_white_list||||com.github.slashmax.aamirror,org.openauto.unleashedaudioplayer||1
com.google.android.gms.car#car_setup|234|0|0||app_white_list||||com.github.slashmax.aamirror,org.openauto.unleashedaudioplayer||1
com.google.android.gms.car#car_setup|230|0|0||app_white_list||||com.github.slashmax.aamirror,org.openauto.unleashedaudioplayer||1
com.google.android.gms.car#car|240|0|0||app_white_list||||com.github.slashmax.aamirror,org.openauto.unleashedaudioplayer||1
com.google.android.gms.car|240|0|0||app_white_list||||com.github.slashmax.aamirror,org.openauto.unleashedaudioplayer||1
com.google.android.gms.car#car_setup|240|0|0||app_white_list||||com.github.slashmax.aamirror,org.openauto.unleashedaudioplayer||1