Code Monkey home page Code Monkey logo

ums-interface's Issues

Can't find lun file ?

+ dirname /data/data/com.termux/files/home/usb_mass_storage.sh
+ cd /data/data/com.termux/files/home
+ pwd
+ basename /data/data/com.termux/files/home/usb_mass_storage.sh
+ script_path=/data/data/com.termux/files/home/usb_mass_storage.sh 
+ basename /data/data/com.termux/files/home/usb_mass_storage.sh
+ log_path=/sdcard/usb_mass_storage.sh.log 
+ termux_bin=/data/data/com.termux/files/usr/bin 
+ mount=/data/data/com.termux/files/usr/bin/mount 
+ umount=/data/data/com.termux/files/usr/bin/umount 
+ losetup=/data/data/com.termux/files/usr/bin/losetup 
+ find=/data/data/com.termux/files/usr/bin/find 
+ truncate=/data/data/com.termux/files/usr/bin/truncate 
+ toast=/data/data/com.termux/files/usr/bin/termux-toast 
+ mkfs='' 
+ lun_file='' 
+ default_size_mb=2048 
+ src=/storage/emulated/0/mass_storage.img 
+ dst=/sdcard/mass_storage 
+ '[' namespace '=' root ']'
+ '[' namespace '=' namespace ']'
+ run_with_namespace
+ typeset block
+ '[' -z '' ']'
+ search_lun_file
+ typeset configfs_mount
+ typeset config_path
+ /data/data/com.termux/files/usr/bin/mount
+ grep configfs
+ configfs_mount=$'none on /config type configfs (rw,nosuid,nodev,noexec,relatime)\nnone on /debug_ramdisk/.magisk/mirror/config type configfs (rw,nosuid,nodev,noexec,relatime)\n/dev/block/dm-14 on /system/etc/init/hw/init.usb.configfs.rc type ext4 (ro,seclabel,relatime,discard)' 
+ '[' -n $'none on /config type configfs (rw,nosuid,nodev,noexec,relatime)\nnone on /debug_ramdisk/.magisk/mirror/config type configfs (rw,nosuid,nodev,noexec,relatime)\n/dev/block/dm-14 on /system/etc/init/hw/init.usb.configfs.rc type ext4 (ro,seclabel,relatime,discard)' ']'
+ echo $'none on /config type configfs (rw,nosuid,nodev,noexec,relatime)\nnone on /debug_ramdisk/.magisk/mirror/config type configfs (rw,nosuid,nodev,noexec,relatime)\n/dev/block/dm-14 on /system/etc/init/hw/init.usb.configfs.rc type ext4 (ro,seclabel,relatime,discard)'
+ awk '{print $3}'
+ config_path=$'/config\n/debug_ramdisk/.magisk/mirror/config\n/system/etc/init/hw/init.usb.configfs.rc' 
+ /data/data/com.termux/files/usr/bin/find $'/config\n/debug_ramdisk/.magisk/mirror/config\n/system/etc/init/hw/init.usb.configfs.rc' -type f -name file
find: ‘/config\n/debug_ramdisk/.magisk/mirror/config\n/system/etc/init/hw/init.usb.configfs.rc’: No such file or directory
+ lun_file='' 
+ '[' -e '' ']'
+ /data/data/com.termux/files/usr/bin/termux-toast 'can'\''t find lun file'
+ exit 1

What's going on ?

镜像文件格式化是否增加ext4

我希望生成镜像文件的格式化选项能添加格式化为ext4这个选项,顺便一提,挂载镜像文件在我的手机上会失败,即使是/data目录

[advice] how about release this app in fdroid?

hey, i believe it is a good application. how about release it in fdroid?
i believe the app is worth more one to use it!

it is just a suggestion. no offense. Thanks for your effort again!

[question] cannot read the part of disk when set external SD as ums

ums_log.tar.gz

when set disk image file as ums, it can work normally.

when i try to set an external sd as ums, the disk can be listed by lsblk in
linux or diskmgmt.msc in windows, but the part of the disk cannot be read.

i have formatted the external sd and try again, but nothing changed. and i make
sure that the mount namespace is global and the software coming from github
is latest.

thanks!

镜像文件在重启后无法读取

系统是安卓10的类原生,机型魅族16th。
镜像原本是可以被挂载的,但是重启后就提示

  [ ERR]>>mount: mounting /dev/loop0 on /data/media/0/ums_mnt/mnt0 failed: Invalid argument

Fails to mount on Android 11

Error message reads "UMS fail:MassStorageSysfs is not ready!"

Affected device: Google Pixel 3a
Affested OS: Android 11, build RQ1A.210105.002
App version: 1.4.1
Happens every time when mounting iso as usb or mounting to directory

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.