Things of Android

  1. USB-OTG on 4.0 or higher

    1. Buy a powered OTG cable.

    2. root

    3. vi /system/etc/vold.fstab and enable the following setting.

      # usb otg diskdev_mount usbotg /mnt/usbotg auto /devices/platform/mt_usb /devices/platform/musbfsh_hdrc


  2. append a group to WRITE_EXTERNAL_STORAGE (http://blog.csdn.net/luozhuang/article/details/17024217)

    1. root

    2. use REto edit system\etc\permissions\platform.xml within r/w mode.

    3. change as follows:

      before:
          <permission name="android.permission.WRITE_EXTERNAL_STORAGE" >
              <group gid="sdcard_rw" />
          </permission>
      after:
          <permission name="android.permission.WRITE_EXTERNAL_STORAGE" >
              <group gid="sdcard_rw" />
              <group gid="media_rw" />
          </permission>

    4. save and reboot.






你可能感兴趣的:(Things of Android)