[Q] Can't unmount or properly mount HDD - Galaxy S III Q&A, Help & Troubleshooting

So I bought an OTG cable for the first time yesterday, and I tested it with a pendrive. I could access the pen with Root Explorer, on /mnt/ntfs/sda1, but there was no option to mount/unmount the drive (the android system did ask me to erase the pen because it had a damaged filesystem, but I could access it with no problems with Root Explorer).
So what I want is to be able to unmount the device so I don't damage it over time, or properly mount it on a more logical path so I can use it with other apps.
I also tried an WD HDD of 1.5TB and the same thing happen, I could access it on the same path but no mount/unmount options anywhere. Not even "filesystem is damaged" warning this time.
I have tried with some Play Store apps (root required ones) but no luck.
Any suggestions?
Thanks in advance.

Also, I want to be able to mount FAT32 filesystems and to be able to write on NTFS ones. I have tried almost all of the Play Store apps but all of them crashed or didn't work. The only thing that works on my phone is the auto-mounting of NTFS filesystems in R/O, because of the SiyadKernel. No other filesystems or functions.
Is there any way of doing this?
Thanks.

Related

[Q] Correct format/partition layout for usb to auto mount?

I've got a 3TB external drive drive hooked up to my Ouya running CM11 (Android 4.4)
I run Nzbget and Transmission in optware, and use CM primarily as a vehicle for XBMC so I need the space.
I had it in 2 ext4 partitions which needed a init script to mount under the stock OS.
I was hopping to get it working in a less hacky manner under CM.
I tried with the two parts, and no go so i redid it with one big partition with root as the UID and sdcard_rw as the GID.
Still no dice. I can access it in File Manager with elevated permissions, but no go in XBMC or other apps.
Also tried one big exFAT partioning with no luck.
I plugged in an 8g ntfs drive I had and it automounted it no problem.
Anyone know the right way to configure the drive? We're a Linux household so sticking with ext2/3/4 would be ideal. NTFS I would like to avoid.
Thanks
mounting manually for now
System logged this when it failed to automount
EXT4-fs (sdb1): Unrecognized mount option "context=ubject_r:sdcard_external:s0" or missing value
Anyone shed light on this?

NTFS Read/Write DOES work

Just for the heck of it I tried the Paragon NTFS/HFS download in the Play Store today to see if NTFS read/write would work. The app needs root, and of course we thankfully have that. I had a Seagate USB 3.0 drive formatted NTFS and connected it. Since Android auto mounts on the Mojo, it auto mounted as NTFS read only. I had to unmount it, and then re-mount it with the Paragon app and choose an alternate mount point (just created a folder called "NTFS" and mounted it) and I can confirm that I can read and write to the drive. Moving files, deleting files, and copying files all worked just fine. Just a heads up. I am sure there will be a better, more translucent way of doing this down the road, but for now there does exist the possibility. I wonder if anyone knows how to stop Android from auto mounting drives when plugged in?
I confirm that your method works, thanks!
Although I could have lived without the writing option enabled, it sure is nice being able to delete files I don't need on the fly.
I found that stock rom sucks in regards RW for external drives and doesnt allow it in exfat or NTFS the solution for me and others was installing CM12 rom instead of stock, now my drive has normal RW funtion without having to use an app to mount it
not I can use my 5TB drive

[Q] Rooted MotoG - Cannot change permissions - Need to write to OTG USB device

Hello there.
Recently I bought a "Sandisk Dual Ultra USB Drive" (32GB) since my smartphone only have 8GB of internal non-volatile memory and I could use some extra space. Sandisk says my device is supported but they won't help me if I don't update my Android, what I don't want to do because I did that before and some essential functions are broken (e.g.: no call recorder works). So I'm using Jelly Bean here.
I've formatted the USB device as FAT32 and it gets mounted automatically (with rw access) when I plug it, however, the permission is 075, and no matter what I do I can't change that... In fact, for some reason I can't change any permission of anything. In a shell (with root access of course) everything seems to work fine except for the fact chmod simply doesn't work, it doesn't matter the location of the object I'm trying to change the permission. The USB device gets mounted with rw access automatically, but even though I've tried to remount it a number of times, with and without write access and nothing changes. Root checker says everything is fine.
The only way I could write to the USB device is formatting it as NTFS and using the Paragon plugin for Total Commander. However, only Total Commander is able to access the device and I want to access it from other apps.
Any help?
Thank you in advance.
EDIT:
In fact I can chmod stuff in / and in /system
I solved the issue, here is what I did:
TIP-Forget about FAT32. I simply couldn't make it work.
I've installed the Paragon NTFS thing that adds support and mounts NTFS filesystems on Android devices. It works kinda okay, but ordinary apps won't be able to see the files outta the box. By default it mounts the device on /storage/emulated/legacy/ParagonNTFS, but for some reason the apps can only access the files there if the path is /data/media/0/ParagonNTFS, and most apps can't browse this folder.
To workaround that limitation, I've configured Paragon to mount the USB drive on /storage/sdcard1 and added a symlink on /storage/emulated/0/_USB, so every app will be able to access it from the 'home' folder through the symlink. It's working wonders. (NOTE to make a symlink just run "ln -s /storage/sdcard1 /storage/emulated/0/_USB").
In any case, I'm extremely tired of Android... only things that works correctly are games and unimportant stuff like social media stuff and 'entertainment' overall... the system feels extremely cheapo and it's full of idiotic things, stupid bugs and moronic limitations. I'm certainly not buying another Android device again. I'm gonna wait for something minimally decent, perhaps Tizen or something.
I didn't mean to offend anyone, it's just that Android is so bad that I was about to puke while trying to make a simple USD drive work. Too many dumb people working at Google I think.
My solution to NEXUS 5 can write to OTG USB pendrive
Ok, that's that I did, and it worked ( 4 or moure hours testing various things)
I used a Corsair Voyager GO 64 gb with NTFS filesystem.
My Nexus 5 is rooted.
I installed Chainfire "StickMount". So we can mount out USB pendrive to /sdcard/ubsStorage/sda1 No need to be PRO app.
I installed Paragon "paragon NTFS&HFS". Open it, and will ask to fix SELinux policies to Permisive. So Root Explorer can see now /Data/Media/ClockWorkmod/backup
I installed Jrummy Apps inc. "Root Explorer". I will copy, for example /Data/Media/ClockWorkmod/backup to /sdcard/ubsStorage/sda1 whithout any problems.
Don't forget to unmount USB drive before disconnecting it, go to StickMount and choose unmount
ES FILE EXPLORER WILL SAY "No space" "Error" or similar
Worked for me!
I'm happy with my investigation. I used Root Explorer in the past, and now it's useful again.
Sorry about my english, not perfect.
ENJOY!

[Help] OTG access by music players not working

Vzw phone so no root access. Note my phone is a Play version.
Solid Explorer, the new one, works and shows path of : /mnt/media_rw/0EB0-0FF1. It also asks for permissions and you can successfully grant them. Yet you cannot see this folder/drive while exploring /mnt. It creates it's own shortcut and browsing is fine that way..
Neutron sees the drive and tries the get permissions but you never get to grant them.
Google Player (stock), Player Dreams, Jetaudio, Hiby and Kamerton do not see the drive at all.
Has anyone had success with any player accessing OTG drives?
I'm having the same problem, I couldn't access my NTFS formatted stick with neither using stickmount nor the Paragon app.
After reformatting my stick to FAT32 it's mounted by the system but only accessible and usable by the integrated android file manager.
I now tried total commander and the Paragon plugin and this way you can access files and play them in your standard player and it's even able to load subtitles to a movie but this way it's not even mounted as separate device anymore and therefore not visible to anything.
I'm using the TurboZ kernel and already wrote the creator about the NTFS problem.
regenwurm16 said:
I'm having the same problem, I couldn't access my NTFS formatted stick with neither using stickmount nor the Paragon app.
After reformatting my stick to FAT32 it's mounted by the system but only accessible and usable by the integrated android file manager.
I now tried total commander and the Paragon plugin and this way you can access files and play them in your standard player and it's even able to load subtitles to a movie but this way it's not even mounted as separate device anymore and therefore not visible to anything.
I'm using the TurboZ kernel and already wrote the creator about the NTFS problem.
Click to expand...
Click to collapse
I take it you are still on MM.
I found some better filers but still no players.
MM is a tricky one for Dev's to get OTG right. I read many stackoverflow comments, hence the shortage of apps. I think N might be worse.
See here and other recent post of mine.
https://forum.xda-developers.com/showthread.php?t=3533577
Yes I'm still on MM
It's not the file managers fault but more that there's no reliable/functioning way to actually mount an NTFS or even FAT32 OTG stick in a manner that it's easily visible for apps and such under marshmallow.
I tried a few of your suggested apps but only x-plore and "file manager by scavengers" offered an access to the USB stick prompt but didn't actually display it then (probably because of NTFS) or offer a real mount option so they are not helping with my problem but thanks anyway for the help/suggestion.
Actual mounting isn't supported under marshmallow anymore (as far as I found out) so USB OTG is pretty useless now because I don't want to use a file manager to access the files and hope it's able to combine the video with the subtitle file.
regenwurm16 said:
Yes I'm still on MM
It's not the file managers fault but more that there's no reliable/functioning way to actually mount an NTFS or even FAT32 OTG stick in a manner that it's easily visible for apps and such under marshmallow.
I tried a few of your suggested apps but only x-plore and "file manager by scavengers" offered an access to the USB stick prompt but didn't actually display it then (probably because of NTFS) or offer a real mount option so they are not helping with my problem but thanks anyway for the help/suggestion.
Actual mounting isn't supported under marshmallow anymore (as far as I found out) so USB OTG is pretty useless now because I don't want to use a file manager to access the files and hope it's able to combine the video with the subtitle file.
Click to expand...
Click to collapse
Right no hard mounts anymore.
But I use xfat and all app suggestions do work. FX is best but it does not let you use all the app on your phone. But these are Dev growing pains.
I actually just managed to mount it like it used to with stickmount but with an app called "USB OTG helper" by "Ray of light"
I tried it before and it gave me the error that it couldn't create the folder where it wanted to mount the stick so it didn't work but now after installing it again it worked flawlessly.
I suspect it's because I used the "external SD card full access" option from the xposed module "installeropt" because now it didn't write any error messages and worked as expected even with an NTFS USB stick.

Mount USB and SDcard drives

I have a lenovo A10 Tab 2 upgraded to MM. I have su installed.
When I plug in an external usb drive, programs like vlc cannot find it as they do not seem to have access to /mnt or simply do not bother looking in it. I have a USB with music that I Would like to create playlists for and do other things(since I have multiple USB drives with various uses).
What I'd like to is is be able to create a permanent mount to the usb port to a useful place that I can easily access as well as other programs. I'd like to do this for the sdcard too.
One thing I hate is these "random" hex string representing the devices. I never know what is what.
I have tried to use mount -t /mnt/1DVE-4323 /drives/USBDrive
and get operation not permitted
I've tried to go in to /dev/block/vold/public:8,1 and mount that but same issue or other issues.
I've tried creating a symlink using ln -s but same issues.
executing mount by itself lists quite a bit of stuff and it does show the mount point to the 1DVE-4323 which I guess android creates internally when the usb drive is inserted but I can't mount that put.
I'm using terminal emulator and call su from the start.
All I want is to be able to access these damn devices in a convenient way but it's damn near impossible It really shouldn't be that difficult(in fact, I shouldn't have to go to the terminal). While I can use explorers to explore the disk I tend to have to bookmark things because stuff is just not organized in a natural way. (either hex values for drive names or things like emulated or usbtg, etc... most of which tend to be empty and I never remember what is what).
What would be awesome is if I had 3 directories like
/root which took me to the system root
/usbdrive which took me to the usb drive
/sdcard which too me to the sd card
and that these could easily be found by every other program.
or possibly
/drives/root
/drives/sd_internal
/drives/usb
/drives/sd_external
Any ideas how to achieve nirvana?

Categories

Resources