NTFS Read/Write DOES work - M.O.J.O. Android Development

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

Related

[Q] Can't unmount or properly mount HDD

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.

[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?

Supported filesystems for SD card on android devices

Hi there.
I think that all android devices support fat32 filesystem, the problems its the storage limitation of 4gb max per file in the sdcard.
I been trying to avoid the limitation of 4gb in all my android devices with this results, giving using different filesystems on my sdcard (ext2, ext3, exfat, ntfs...).
Galaxy s3: supports fat32 and exfat
Chinese tablet aoson m7: Suppots fat32 and ntfs
Chinese phone Lenono A760: Suppots only fat32.
Andoid its based on linux, but none of my devices recognice the sdcard with ext2 or ext3 formats.
Also I don't understand why only the chinese tablet supports NTFS. It's because they paid to microsoft so they can use that filesystem?
How it's possible that any device supports a free filesystem like ext3???
I think that I will get rid of the lenovo a760...I need to use files larger than 4gb.
thank you
Looks like you could root it and enable USB OTG support for a little pen drive or something of that sort. How often are you really going to need that many files bigger than 4 GB on your phone?
http://android-sensor.com/Lenovo_A760/programs/system_software/78-usb-otg-helper-root.html (use Google Translate if you can't read Czech - I know I can't lol)
that link leads to:
https://play.google.com/store/apps/details?id=net.shajul.usbotg
To mount ext partitions automatically, I think you also have to be rooted and run an auto-mount script (or manually via terminal commands). This is not for your phone, but provided as an example and info:
http://forum.xda-developers.com/showthread.php?t=2076327
es0tericcha0s said:
Looks like you could root it and enable USB OTG support for a little pen drive or something of that sort. How often are you really going to need that many files bigger than 4 GB on your phone?
http://android-sensor.com/Lenovo_A760/programs/system_software/78-usb-otg-helper-root.html (use Google Translate if you can't read Czech - I know I can't lol)
that link leads to:
https://play.google.com/store/apps/details?id=net.shajul.usbotg
To mount ext partitions automatically, I think you also have to be rooted and run an auto-mount script (or manually via terminal commands). This is not for your phone, but provided as an example and info:
http://forum.xda-developers.com/showthread.php?t=2076327
Click to expand...
Click to collapse
Thanks, I want to use my phone as bittorrent client, that why i need to use big files often. I'm root.
I don't have a USB OTG cable...
I have the sd card with ext4 format as primary partition and it's not working.
I think that it's not an easy way to use files biger that 4 gb in this chinese phone.
I also tried to NTFS format and this tool https://play.google.com/store/apps/details?id=com.paragon.mounter&hl=es and the phone freezes often...it's not a solution at all.
It's frustating that a chinese tablet supports perfectly ntfs and the s3 exfat, but with this phone, ther¡s no way...i been trying all day long! I gave up.
thank you anyway.

[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.

Categories

Resources