mobox icon indicating copy to clipboard operation
mobox copied to clipboard

External sdd support

Open thefcraft opened this issue 1 year ago • 6 comments

Not showing external SSD

thefcraft avatar Jan 08 '24 09:01 thefcraft

How to use pendrive or external SSD/HDD

thefcraft avatar Jan 11 '24 08:01 thefcraft

I wrote a script that will allow mobox to use external drive but it's not ideal and might not working on all devices

hisham2630 avatar Jan 12 '24 11:01 hisham2630

Give the script

thefcraft avatar Jan 12 '24 11:01 thefcraft

###root access is needed ###

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

hisham2630 avatar Jan 12 '24 20:01 hisham2630

Can you tell more about script???

MaxSnes avatar May 05 '24 17:05 MaxSnes

o cara vai falar mais oque o script esta ai e so usar

genrogameryt avatar May 06 '24 03:05 genrogameryt