[Magisk] zulu99:
Constant crash after first boot on Shield Android TV last 5.2 firmware

this is the log

06-18 17:50:46.575 2644 2644 W IntentService[B: type=1400 audit(0.0:13): avc: denied { open } for path="/data/data/com.topjohnwu.magisk/databases/su.db-shm" dev="mmcblk0p29" ino=512675 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:app_data_file:s0 tclass=file permissive=0
06-18 17:50:46.585 2644 2644 W IntentService[B: type=1400 audit(0.0:14): avc: denied { open } for path="/data/data/com.topjohnwu.magisk/databases/su.db-shm" dev="mmcblk0p29" ino=512675 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:app_data_file:s0 tclass=file permissive=0
06-18 17:50:46.591 2626 2644 E SQLiteLog: (14) cannot open file at line 30975 of [bda77dda96]
06-18 17:50:46.591 2626 2644 E SQLiteLog: (14) os_unix.c:30975: (13) open(/data/user/0/com.topjohnwu.magisk/databases/su.db-shm) -
06-18 17:50:46.591 2626 2644 E SQLiteLog: (14) statement aborts at 2: [CREATE TABLE IF NOT EXISTS android_metadata (locale TEXT)] unable to open database file
06-18 17:50:46.592 1696 1987 I Publisher: Processing device 25b68b19d9ea3581db9ea42b21020594 SHIELD: online = true, in use = false
06-18 17:50:46.592 1696 1987 I CastMediaRouteProvider: onDevicesPublished with 1 devices
06-18 17:50:46.593 2626 2644 E SQLiteLog: (14) cannot open file at line 30975 of [bda77dda96]
06-18 17:50:46.593 2626 2644 E SQLiteLog: (14) os_unix.c:30975: (13) open(/data/user/0/com.topjohnwu.magisk/databases/su.db-shm) -
06-18 17:50:46.593 1696 1987 I CastMediaRouteProvider: buildRouteDescriptorForDevice: id=25b68b19d9ea3581db9ea42b21020594, deviceType: TV, description=SHIELD, connectionState=Disconnected, volume=0, isIdle=false
06-18 17:50:46.594 2626 2644 E SQLiteDatabase: Failed to open database '/data/user/0/com.topjohnwu.magisk/databases/su.db'.
06-18 17:50:46.594 2626 2644 E SQLiteDatabase: android.database.sqlite.SQLiteException: Failed to change locale for db '/data/user/0/com.topjohnwu.magisk/databases/su.db' to 'en_US'.
06-18 17:50:46.594 2626 2644 E SQLiteDatabase:	at android.database.sqlite.SQLiteConnection.setLocaleFromConfiguration(SQLiteConnection.java:419)
06-18 17:50:46.594 2626 2644 E SQLiteDatabase:	at android.database.sqlite.SQLiteConnection.open(SQLiteConnection.java:219)
06-18 17:50:46.594 2626 2644 E SQLiteDatabase:	at android.database.sqlite.SQLiteConnection.open(SQLiteConnection.java:194)
06-18 17:50:46.594 2626 2644 E SQLiteDatabase:	at android.database.sqlite.SQLiteConnectionPool.openConnectionLocked(SQLiteConnectionPool.java:463)
06-18 17:50:46.594 2626 2644 E SQLiteDatabase:	at android.database.sqlite.SQLiteConnectionPool.open(SQLiteConnectionPool.java:185)
06-18 17:50:46.594 2626 2644 E SQLiteDatabase:	at android.database.sqlite.SQLiteConnectionPool.open(SQLiteConnectionPool.java:177)
06-18 17:50:46.594 2626 2644 E SQLiteDatabase:	at android.database.sqlite.SQLiteDatabase.openInner(SQLiteDatabase.java:815)
06-18 17:50:46.594 2626 2644 E SQLiteDatabase:	at android.database.sqlite.SQLiteDatabase.open(SQLiteDatabase.java:793)
06-18 17:50:46.594 2626 2644 E SQLiteDatabase:	at android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:696)
06-18 17:50:46.594 2626 2644 E SQLiteDatabase:	at android.app.ContextImpl.openOrCreateDatabase(ContextImpl.java:682)
06-18 17:50:46.594 2626 2644 E SQLiteDatabase:	at android.content.ContextWrapper.openOrCreateDatabase(ContextWrapper.java:289)
06-18 17:50:46.594 2626 2644 E SQLiteDatabase:	at android.database.sqlite.SQLiteOpenHelper.getDatabaseLocked(SQLiteOpenHelper.java:223)
06-18 17:50:46.594 2626 2644 E SQLiteDatabase:	at android.database.sqlite.SQLiteOpenHelper.getReadableDatabase(SQLiteOpenHelper.java:187)
06-18 17:50:46.594 2626 2644 E SQLiteDatabase:	at com.topjohnwu.magisk.b.b.b(Unknown Source)
06-18 17:50:46.594 2626 2644 E SQLiteDatabase:	at com.topjohnwu.magisk.MagiskManager.c(Unknown Source)
06-18 17:50:46.594 2626 2644 E SQLiteDatabase:	at com.topjohnwu.magisk.services.BootupIntentService.onHandleIntent(Unknown Source)
06-18 17:50:46.594 2626 2644 E SQLiteDatabase:	at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:67)
06-18 17:50:46.594 2626 2644 E SQLiteDatabase:	at android.os.Handler.dispatchMessage(Handler.java:102)
06-18 17:50:46.594 2626 2644 E SQLiteDatabase:	at android.os.Looper.loop(Looper.java:154)
06-18 17:50:46.594 2626 2644 E SQLiteDatabase:	at android.os.HandlerThread.run(HandlerThread.java:61)
06-18 17:50:46.594 2626 2644 E SQLiteDatabase: Caused by: android.database.sqlite.SQLiteCantOpenDatabaseException: unable to open database file (code 14)
06-18 17:50:46.594 2626 2644 E SQLiteDatabase:	at android.database.sqlite.SQLiteConnection.nativeExecute(Native Method)
06-18 17:50:46.594 2626 2644 E SQLiteDatabase:	at android.database.sqlite.SQLiteConnection.execute(SQLiteConnection.java:581)
06-18 17:50:46.594 2626 2644 E SQLiteDatabase:	at android.database.sqlite.SQLiteConnection.setLocaleFromConfiguration(SQLiteConnection.java:397)
06-18 17:50:46.594 2626 2644 E SQLiteDatabase:	... 19 more
06-18 17:50:46.594 206 2701 D Magisk : su: request from client: 8
06-18 17:50:46.594 206 2701 D Magisk : su: request from uid=[10069] (#1)
06-18 17:50:46.594 2626 2644 E SQLiteOpenHelper: Couldn't open su.db for writing (will try read-only):
06-18 17:50:46.594 2626 2644 E SQLiteOpenHelper: android.database.sqlite.SQLiteException: Failed to change locale for db '/data/user/0/com.topjohnwu.magisk/databases/su.db' to 'en_US'.
06-18 17:50:46.594 2626 2644 E SQLiteOpenHelper:	at android.database.sqlite.SQLiteConnection.setLocaleFromConfiguration(SQLiteConnection.java:419)
06-18 17:50:46.594 2626 2644 E SQLiteOpenHelper:	at android.database.sqlite.SQLiteConnection.open(SQLiteConnection.java:219)
06-18 17:50:46.594 2626 2644 E SQLiteOpenHelper:	at android.database.sqlite.SQLiteConnection.open(SQLiteConnection.java:194)
06-18 17:50:46.594 2626 2644 E SQLiteOpenHelper:	at android.database.sqlite.SQLiteConnectionPool.openConnectionLocked(SQLiteConnectionPool.java:463)
06-18 17:50:46.594 2626 2644 E SQLiteOpenHelper:	at android.database.sqlite.SQLiteConnectionPool.open(SQLiteConnectionPool.java:185)
06-18 17:50:46.594 2626 2644 E SQLiteOpenHelper:	at android.database.sqlite.SQLiteConnectionPool.open(SQLiteConnectionPool.java:177)
06-18 17:50:46.594 2626 2644 E SQLiteOpenHelper:	at android.database.sqlite.SQLiteDatabase.openInner(SQLiteDatabase.java:815)
06-18 17:50:46.594 2626 2644 E SQLiteOpenHelper:	at android.database.sqlite.SQLiteDatabase.open(SQLiteDatabase.java:793)
06-18 17:50:46.594 2626 2644 E SQLiteOpenHelper:	at android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:696)
06-18 17:50:46.594 2626 2644 E SQLiteOpenHelper:	at android.app.ContextImpl.openOrCreateDatabase(ContextImpl.java:682)
06-18 17:50:46.594 2626 2644 E SQLiteOpenHelper:	at android.content.ContextWrapper.openOrCreateDatabase(ContextWrapper.java:289)
06-18 17:50:46.594 2626 2644 E SQLiteOpenHelper:	at android.database.sqlite.SQLiteOpenHelper.getDatabaseLocked(SQLiteOpenHelper.java:223)
06-18 17:50:46.594 2626 2644 E SQLiteOpenHelper:	at android.database.sqlite.SQLiteOpenHelper.getReadableDatabase(SQLiteOpenHelper.java:187)
06-18 17:50:46.594 2626 2644 E SQLiteOpenHelper:	at com.topjohnwu.magisk.b.b.b(Unknown Source)
06-18 17:50:46.594 2626 2644 E SQLiteOpenHelper:	at com.topjohnwu.magisk.MagiskManager.c(Unknown Source)
06-18 17:50:46.594 2626 2644 E SQLiteOpenHelper:	at com.topjohnwu.magisk.services.BootupIntentService.onHandleIntent(Unknown Source)
06-18 17:50:46.594 2626 2644 E SQLiteOpenHelper:	at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:67)
06-18 17:50:46.594 2626 2644 E SQLiteOpenHelper:	at android.os.Handler.dispatchMessage(Handler.java:102)
06-18 17:50:46.594 2626 2644 E SQLiteOpenHelper:	at android.os.Looper.loop(Looper.java:154)
06-18 17:50:46.594 2626 2644 E SQLiteOpenHelper:	at android.os.HandlerThread.run(HandlerThread.java:61)
06-18 17:50:46.594 2626 2644 E SQLiteOpenHelper: Caused by: android.database.sqlite.SQLiteCantOpenDatabaseException: unable to open database file (code 14)
06-18 17:50:46.594 2626 2644 E SQLiteOpenHelper:	at android.database.sqlite.SQLiteConnection.nativeExecute(Native Method)
06-18 17:50:46.594 2626 2644 E SQLiteOpenHelper:	at android.database.sqlite.SQLiteConnection.execute(SQLiteConnection.java:581)
06-18 17:50:46.594 2626 2644 E SQLiteOpenHelper:	at android.database.sqlite.SQLiteConnection.setLocaleFromConfiguration(SQLiteConnection.java:397)
06-18 17:50:46.594 2626 2644 E SQLiteOpenHelper:	... 19 more
06-18 17:50:46.585 2644 2644 W IntentService[B: type=1400 audit(0.0:15): avc: denied { open } for path="/data/data/com.topjohnwu.magisk/databases/su.db-shm" dev="mmcblk0p29" ino=512675 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:app_data_file:s0 tclass=file permissive=0
06-18 17:50:46.595 206 2701 D Magisk : su_db: query policy=[2]
06-18 17:50:46.595 1696 1987 I CastMediaRouteProvider: Published 1 routes
06-18 17:50:46.596 2626 2644 E SQLiteLog: (14) cannot open file at line 30975 of [bda77dda96]
06-18 17:50:46.596 2626 2644 E SQLiteLog: (14) os_unix.c:30975: (13) open(/data/user/0/com.topjohnwu.magisk/databases/su.db-shm) -
06-18 17:50:46.596 2626 2644 E SQLiteLog: (14) statement aborts at 1: [PRAGMA user_version;] unable to open database file
06-18 17:50:46.596 1696 1987 I CastMediaRouteProvider: 1 Route: SHIELD /Cast/9AC194DC/Media Filters
06-18 17:50:46.596 2702 2702 D Magisk : su: child process started
--------- beginning of crash