There's no problem with storing a SQLite database on an SD card. You need all privs for card access, including the privs needed to create new files, and to change file attributes. You don't really 'install' SQLite. SQLite is an API, a programmer's library, a set of functions your program can call. You build it into your program. If you don't want to call Android's own library <https://developer.android.com/training/data-storage/sqlite> then download the amalgamation source code <https://sqlite.org/download.html> add it to your project, and call that. You can find precompiled binaries for Android on the same download page.