Tarpaha

Members
  • Posts

    3
  • Joined

  • Last visited

Posts posted by Tarpaha

  1. I realized that many other my applications need access to SD Card so I fix it once and for all.

     

    1) get root access.

    2) modify /system/etc/permissions/platform.xml so android.permission.WRITE_EXTERNAL_STORAGE and android.permission.WRITE_MEDIA_STORAGE sections will look like:

    <permission name="android.permission.WRITE_EXTERNAL_STORAGE" >    <group gid="sdcard_r" />    <group gid="sdcard_rw" />    <group gid="media_rw" /></permission><permission name="android.permission.WRITE_MEDIA_STORAGE" >    <group gid="media_rw" />    <group gid="sdcard_rw" /></permission>

    3) restart phone

     

    This fixed my Samsung S4 (but I lost guarantee due to rooting)

  2. http://www.androidpolice.com/2014/02/17/external-blues-google-has-brought-big-changes-to-sd-cards-in-kitkat-and-even-samsung-may-be-implementing-them/

     

    “Starting in Android 4.4, the owner, group and modes of files on external storage devices are now synthesized based on directory structure. This enables apps to manage their package-specific directories on external storage without requiring they hold the broad WRITE_EXTERNAL_STORAGE permission. For example, the app with package name com.example.foo can now freely access Android/data/com.example.foo/ on external storage devices with no permissions. These synthesized permissions are accomplished by wrapping raw storage devices in a FUSE daemon.

     

    So it is possible to sync folders under the Android/data/<btsync_package>/

    Need only to know btsync package.

     

    Update:

    I found package name - com.bittorrent.sync

    But btsync still throws error when I try to sync folder under /Android/data/com.bittorrent.sync