As stated here, I can access certain file of SharedPreferences through path
/data/data/YOUR_PACKAGE_NAME/shared_prefs/YOUR_PREFS_NAME.xml
I'm going to use it for export of SharedPreferences by reading several Preferences files into string array, saving them to json and writing result to one particular file.
But is it safe in production and at all possible if the device is not rooted, the developer options are off, or anything? And which additional permissions do I need besides READ_EXTERNAL_STORAGE? Thank you!