Thanks to visit codestin.com
Credit goes to github.com

Skip to content

config the USB mass storage for android to use the phone as usb disk, provide mount function and simple file explorer.

Notifications You must be signed in to change notification settings

Choogle-Ma/UMS-Interface

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UMS Interface

This program allows you to chose a block device or disk image as a 'disk', and communicate with PC through usb mass storage (just as usb disk do). Root permission is needed.

introduction

quick start

usb connection: set current data source as U disk
mount to: mount current data source
quick create: create a image with the given size,format as vfat,mount it,and use it as U disk

*If the file you just copied can not be displayed immediately, try click 'close'/'launch' and 'umount'/'mount' continuously.

U disk

block device: Representing a disk or partition, usually located in /dev/block or /dev.
image file: Usually named as *.img .An image file with a file system can be mounted like normal disk.
data source: source of the data in U disk,an image file or a block device is available .
config path: path this software relied.Like /sys/class/android_usb/android0 or /sys/devices/virtual/android_usb/android0.
readonly:may have no effect for some phone

mount

data source: source of the data to mount,an image file or a block device is available .
mount point: chose a directory to mount.
file system: will be automatically chose if not specified.
mask: used to set dmask and fmask.

*You must disable 'mount namespace separation' in SuperSu, or it won't work.

create image

format: create file system for image file.

It can be used as a boot disk for PC when select a solved image.

screen shots

see more

简介

快捷启动

U盘连接: 将当前数据源作为U盘,点击'终止'取消
挂载到: 自动挂载当前数据源,点击'终止'取消
一键启动: 点击创建,创建指定大小镜像文件,格式化vfat,并将其挂载,同时作为U盘使用

*如果刚复制的文件无法立即显示,尝试连续点击'关闭'/'启动','卸载'/'挂载'.

U盘

块设备: 代表一个存储器或分区,通常位于/dev/block 或 /dev.
镜像文件: 通常命名为*.img .一个内含文件系统的镜像文件可被挂载,和普通存储器一样使用.
数据源: 可选任意镜像文件或块设备.若选则块设备,请谨慎操作,以免数据丢失.
配置目录: 通常会自动寻找,可点击"选择"以手动指定.多数手机上此目录为 /sys/class/android_usb/android0 或 /sys/devices/virtual/android_usb/android0.
只读: U盘只读,很多手机上可能无效

*由于内核原因,使用三星芯片的一些手机使用此功能会被作为CD ROM

挂载

数据源: 可以指定内含文件系统的镜像文件或块设备.
挂载点: 指定一个目录,"磁盘"中的文件会被放到这里.
文件系统: 忽略,会自动判断.
权限掩码: 用于挂载vfat时指定文件访问权限.

*SuperSU 中的"挂载空间分离"可能会影响本功能,可尝试在SuperSu中取消.

创建镜像

格式化: 为文件建立文件系统,以便立即挂载.
可将启动盘的磁盘镜像作为U盘的数据源,这样便可方便的将手机作为电脑启动盘.

指南

About

config the USB mass storage for android to use the phone as usb disk, provide mount function and simple file explorer.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 98.5%
  • Shell 1.5%