[Android Apps and Games] DiamondJohn:
Thank-you for editing your post (y)

Now, the issue you appear to be having is that the SQLite binary that comes with your ROM is VERRRRRY old. And thus, unstable. The following is a comparison of different versions.

SOURCE	VERSION
Yours	3.7.6.3-Titanium
From an Oreo ROM I built from source a few YEARS back (NB: Oreo is before/older than Pie)	3.19.4
The one from Magisk Repository	3.27.2
Mine (built from latest source)	3.35.5

Looking in comparison at the features supported:

YOURS v3.7.6.3-Titanium​

MINE v3.35.5​

Usage: /system/xbin/sqlite3 [OPTIONS] FILENAME [SQL]

FILENAME is the name of an SQLite database. A new database is created

if the file does not previously exist.

OPTIONS include:

-help show this message

-init filename read/process named file

-echo print commands before execution

-[no]header turn headers on or off

-bail stop after hitting an error

-interactive force interactive I/O

-batch force batch I/O

-column set output mode to 'column'

-csv set output mode to 'csv'

-html set output mode to HTML

-line set output mode to 'line'

-list set output mode to 'list'

-separator 'x' set output field separator (|)

-stats print memory stats before each finalize

-nullvalue 'text' set text string for NULL values

-version show SQLite version

-vfs NAME use NAME as the default VFS

Usage: /system/bin/sqlite3 [OPTIONS] FILENAME [SQL]

FILENAME is the name of an SQLite database. A new database is created

if the file does not previously exist.

OPTIONS include:

-append append the database to the end of the file

-ascii set output mode to 'ascii'

-bail stop after hitting an error

-batch force batch I/O

-box set output mode to 'box'

-column set output mode to 'column'

-cmd COMMAND run "COMMAND" before reading stdin

-csv set output mode to 'csv'

-echo print commands before execution

-init FILENAME read/process named file

-[no]header turn headers on or off

-help show this message

-html set output mode to HTML

-interactive force interactive I/O

-json set output mode to 'json'

-line set output mode to 'line'

-list set output mode to 'list'

-lookaside SIZE N use N entries of SZ bytes for lookaside memory

-markdown set output mode to 'markdown'

-memtrace trace all memory allocations and deallocations

-mmap N default mmap size set to N

-newline SEP set output row separator. Default: '\n'

-nofollow refuse to open symbolic links to database files

-nullvalue TEXT set text string for NULL values. Default ''

-pagecache SIZE N use N slots of SZ bytes each for page cache memory

-quote set output mode to 'quote'

-readonly open the database read-only

-separator SEP set output column separator. Default: '|'

-stats print memory stats before each finalize

-table set output mode to 'table'

-tabs set output mode to 'tabs'

-version show SQLite version

-vfs NAME use NAME as the default VFS

As you can see, it is also lacking a LOT of functionality, as well as being unstable.

Just because a ROM is stable when making calls and SMS does not mean it is really stable. For example, my grandmothers car is "stable" and may never break-down, but as soon as you drive around a corner at speeds greater than 5km/hr, it may flip on its roof. I call that car unstable, even though my car may break-down randomly more often.

Now, your options.

For all of this, it is your responsibility to make back-ups and only proceed if your comfortable. Its all on you, dont blame me for anything.;)

Contact your ROM dev and ask them to update their SQLite source. This may actually be the tip of the iceberg with other parts of their ROM (ie ToyBox) being old

Try installing the updated SQLite3 binary from/as the Magisk modules. The thing that I am unsure of is your location as /system/xbin where the magisk module (and my previous ROM) place it in /system/bin

NB I am assuming this is an ARM Spoiler content hidden. processor, not x86. To get really funky, I am guessing your system partition is R/W, you could (and make a Nandroid before) copy the sqlite3 file from /data/data/diamondjohndroid.utility.temefi/cached/sqlite3 to /system/xbin/sqlite3 And make sure the ownership & permissions (755) are correct

Ive attached my results for your own comparisons.