External SD write protection

Error message

  • Deprecated function: Using ${var} in strings is deprecated, use {$var} instead in include_once() (line 1439 of /home/cqhuapyt/www/android/includes/bootstrap.inc).
  • Deprecated function: Using ${var} in strings is deprecated, use {$var} instead in include_once() (line 1439 of /home/cqhuapyt/www/android/includes/bootstrap.inc).

Starting with Android 4.2/4.3, apps granted READ/WRITE permission to device's storage do not actually get those permissions on any external storage, be it an SD card or an USB OTG ! Those permissions only apply to internal storage.

Starting with Android 5.1, apps can acquire write permission through SAF (Simple Android Filesystem), which requires user to manually grant access from a specific folder (or root) of each external storage.

 

More information can be found here: