码迷,mamicode.com
首页 > 移动开发 > 详细

Things of Android

时间:2015-08-28 08:32:17      阅读:226      评论:0      收藏:0      [点我收藏+]

标签:

  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

标签:

原文地址:http://my.oschina.net/cofecafe1/blog/498416

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!