[Android Auto General] iplaycn:
After repatch, it shows success, but there is still no screen2auto icon on the car.

Even after I use "triggers manager" to clear, there are still screen2auto records in AA settings - > about. After repatch, it shows success, but there is still no screen2auto icon on the car.

XIAO MI NOTE andriod 6,root by SuperSU

AAPP 0.85

Screen2Auto 1.2

AA about:

Software package:

Map: 10.15.3

YouTube Music: 3.57.52

Google play store: 6.8.21. F-all [0] 3036847

Screen2Auto: 1.2

Google play service: 20.06.16 (040300-296104215)

Android Auto: 5.1.500643-release

Google: 11.1.9.21.arm

AAPP logs:

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

- Screen2Auto (ru.inceptive.screentwoauto)

-- chmod 775 sqlite3 --

OutputStream:

chmod 775 /data/user/0/pl.eselter.aaphenotypepatcher/sqlite3

-- end chmod 775 sqlite3 --

-- Drop Triggers --

OutputStream:

/data/user/0/pl.eselter.aaphenotypepatcher/sqlite3 /data/data/com.google.android.gms/databases/phenotype.db 'DROP TRIGGER after_delete;'

ErrorStream:

Error: no such trigger: after_delete

-- DELETE old Flags --

OutputStream:

/data/user/0/pl.eselter.aaphenotypepatcher/sqlite3 /data/data/com.google.android.gms/databases/phenotype.db 'DELETE FROM Flags WHERE name="app_white_list";'

-- run SQL method #2 --

OutputStream:

/data/user/0/pl.eselter.aaphenotypepatcher/sqlite3 /data/data/com.google.android.gms/databases/phenotype.db '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", "ru.inceptive.screentwoauto",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", "ru.inceptive.screentwoauto",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", "ru.inceptive.screentwoauto",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", "ru.inceptive.screentwoauto",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", "ru.inceptive.screentwoauto",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", "ru.inceptive.screentwoauto",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", "ru.inceptive.screentwoauto",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", "ru.inceptive.screentwoauto",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", "ru.inceptive.screentwoauto",1);'

OutputStream:

/data/user/0/pl.eselter.aaphenotypepatcher/sqlite3 /data/data/com.google.android.gms/databases/phenotype.db '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", "ru.inceptive.screentwoauto",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", "ru.inceptive.screentwoauto",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", "ru.inceptive.screentwoauto",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", "ru.inceptive.screentwoauto",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", "ru.inceptive.screentwoauto",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", "ru.inceptive.screentwoauto",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", "ru.inceptive.screentwoauto",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", "ru.inceptive.screentwoauto",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", "ru.inceptive.screentwoauto",1);

END;'

-- end SQL method #2 --

-- Check (1/3) --

OutputStream:

/data/user/0/pl.eselter.aaphenotypepatcher/sqlite3 /data/data/com.google.android.gms/databases/phenotype.db 'SELECT * FROM Flags WHERE name="app_white_list";'

InputStream:

com.google.android.gms.car#car_setup|230|0|0||app_white_list||||ru.inceptive.screentwoauto||1

com.google.android.gms.car#car_setup|234|0|0||app_white_list||||ru.inceptive.screentwoauto||1

com.google.android.gms.car#car_setup|247|0|0||app_white_list||||ru.inceptive.screentwoauto||1

com.google.android.gms.car#car|230|0|0||app_white_list||||ru.inceptive.screentwoauto||1

com.google.android.gms.car#car|234|0|0||app_white_list||||ru.inceptive.screentwoauto||1

com.google.android.gms.car#car|247|0|0||app_white_list||||ru.inceptive.screentwoauto||1

com.google.android.gms.car|230|0|0||app_white_list||||ru.inceptive.screentwoauto||1

com.google.android.gms.car|234|0|0||app_white_list||||ru.inceptive.screentwoauto||1

com.google.android.gms.car|247|0|0||app_white_list||||ru.inceptive.screentwoauto||1

-- Check (2/3) --

OutputStream:

/data/user/0/pl.eselter.aaphenotypepatcher/sqlite3 /data/data/com.google.android.gms/databases/phenotype.db 'DELETE FROM Flags WHERE name="app_white_list";'

-- Check (3/3) --

OutputStream:

/data/user/0/pl.eselter.aaphenotypepatcher/sqlite3 /data/data/com.google.android.gms/databases/phenotype.db 'SELECT * FROM Flags WHERE name="app_white_list";'

InputStream:

com.google.android.gms.car#car_setup|230|0|0||app_white_list||||ru.inceptive.screentwoauto||1

com.google.android.gms.car#car_setup|234|0|0||app_white_list||||ru.inceptive.screentwoauto||1

com.google.android.gms.car#car_setup|247|0|0||app_white_list||||ru.inceptive.screentwoauto||1

com.google.android.gms.car#car|230|0|0||app_white_list||||ru.inceptive.screentwoauto||1

com.google.android.gms.car#car|234|0|0||app_white_list||||ru.inceptive.screentwoauto||1

com.google.android.gms.car#car|247|0|0||app_white_list||||ru.inceptive.screentwoauto||1

com.google.android.gms.car|230|0|0||app_white_list||||ru.inceptive.screentwoauto||1

com.google.android.gms.car|234|0|0||app_white_list||||ru.inceptive.screentwoauto||1

com.google.android.gms.car|247|0|0||app_white_list||||ru.inceptive.screentwoauto||1

-- Check seems OK :) --