Open thefcraft opened 9 months ago
How to use pendrive or external SSD/HDD
I wrote a script that will allow mobox to use external drive but it's not ideal and might not working on all devices
Give the script
here's my script use it as your own risk, I'm not responsible of data lost or something bad happen!
script should be copied to
/data/data/com.termux/files/home
script shouldn't be run as root
you have to insert your usb ssd or flash drive before runscript
then in termux write:
./usb.sh
after that run mobox you will find a new drive called h: which should list all of the usb storage files.
`su -c setenforce 0 su -c chmod 777 /mnt/media_rw/ su -c mkdir /mnt/media_rw/usb_rw su -c mkdir /data/data/com.termux/files/usr/usb_rw su -c umount /mnt/media_rw/- su -c mount /dev/block/vold/public* /mnt/media_rw/usb_rw
cd .. ln -s /mnt/media_rw/usb_rw usr/glibc/wine-ge-custom/.wine/dosdevices/h:`
you can save this commands to usb.sh inside /data/data/com.termux/files/home
then chmod 775 usb.sh
after that ./usb.sh
Can you tell more about script???
o cara vai falar mais oque o script esta ai e so usar
Not showing external SSD