Copyright (c)
2011, The Linux Foundation. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
# * Redistributions of source code must
retain the above copyright
# notice, this list of conditions
and the following disclaimer.
# * Redistributions in binary form
must reproduce the above
# copyright notice, this list of
conditions and the following
# disclaimer in the documentation
and/or other materials provided
# with the distribution.
# * Neither the name of The Linux
Foundation nor the names of its
# contributors may be used to
endorse or promote products derived
# from this software without
specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
# ARE DISCLAIMED. IN NO EVENT SHALL THE
COPYRIGHT OWNER OR CONTRIBUTORS
# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
# BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#dev_mount sdcard /storage/sdcard1 auto /devices/platform/msm_sdcc.3/mmc_host
# modified by songxh For UMS Partiton begain
dev_mount sdcard /storage/sdcard0 29
/devices/platform/msm_sdcc.1/mmc_host/mmc0/mmc0:0001/block/mmcblk0
dev_mount sda /storage/UDiskA auto /devices/platform/msm_hsusb_host/usb2
dev_mount sdb /storage/UDiskB auto /devices/platform/msm_hsusb_host/usb2
dev_mount sdc /storage/UDiskC auto /devices/platform/msm_hsusb_host/usb2
dev_mount sdd /storage/UDiskD auto /devices/platform/msm_hsusb_host/usb2
dev_mount sde /storage/UDiskE auto /devices/platform/msm_hsusb_host/usb2
dev_mount sdf /storage/UDiskF auto /devices/platform/msm_hsusb_host/usb2
# modified by songxh For UMS Partiton end
vold.fstab怎么修改让他支持OTG?
答案:2 悬赏:80 手机版
解决时间 2021-02-14 02:12
- 提问者网友:wodetian
- 2021-02-13 08:41
最佳答案
- 五星知识达人网友:冷風如刀
- 2021-02-13 09:33
在vold.fstab的末尾添加如下代码:
# usb otg diskdev_mount usbotg /mnt/usbotg auto /devices/platform/mt_usb /devices/platform/musbfsh_hdrc
# usb otg diskdev_mount usbotg /mnt/usbotg auto /devices/platform/mt_usb /devices/platform/musbfsh_hdrc
全部回答
- 1楼网友:不想翻身的咸鱼
- 2021-02-13 10:30
①您可以尝试在所有系统盘目录下搜索此文件或者类似名称的文件。
②您也可以尝试到百度贴吧此机型吧向其他root了手机的大神和机友求助分享此文件。
③您还可以尝试使用其他相似配置的安卓机的此文件。(有一定的变砖风险)
我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯