NTFS and Android 4.4

3,736 views
Skip to first unread message

Meerio

unread,
Feb 18, 2014, 7:58:14 AM2/18/14
to andro...@googlegroups.com
it seems ( watching the comments on play store) that Paragon NTFS mounter isn't working anymore on android 4.3+ ( even non x86)
I've read about a fuse.ko lib that enables read and write on ntfs natively. is it true? can be added to sources? if not, how can i mount my ntfs-formatted external hd on 4.4 rc1?

Westerro

unread,
Feb 26, 2014, 10:51:39 PM2/26/14
to andro...@googlegroups.com
У меня тоже проблемы с NTFS. Как сделать чтобы видел другие разделы?

вторник, 18 февраля 2014 г., 20:58:14 UTC+8 пользователь Meerio написал:

MARK-xD

unread,
Mar 1, 2014, 9:50:41 AM3/1/14
to andro...@googlegroups.com
I just saw this problem too, and I!m in the same trouble with you. At install, I only got 1GB of storage, and can't allocate more.
Can someone help us?

Alif Faishol

unread,
Mar 1, 2014, 7:59:09 PM3/1/14
to andro...@googlegroups.com
use SuperSu

SumaroUno The 4th

unread,
Mar 2, 2014, 6:20:27 AM3/2/14
to andro...@googlegroups.com
I can't copy file to my sdcard folder, "it's say not enough space" . My free space is 8Gb. My app also can't write files too. Help me please

Chris Òó

unread,
Mar 5, 2014, 10:13:14 AM3/5/14
to andro...@googlegroups.com
Same question here. I tried everything I could, but I'm still unable to mount any NTFS based partition, neither internal hard drive or via USB.

Is there any NTFS support here? I don't really know about Linux kernel but as far as I know, it supports NTFS. So, if Android is Linux-based, it may support it too.
Sadly, I'm too noobish here to have a clue. :(

Majin-Boo

unread,
Mar 6, 2014, 7:47:20 PM3/6/14
to andro...@googlegroups.com
Created a partition on Windows 7 with Mini Partition Creater Tool (Google it) used the tool to resize the volume and created a new partition to ext2. (called it android) Partion tool promps restart. Let it run. Now once back in Windows 7,I used a flash drive and linux live usb creator to port iso file to usb. Reboot and set bios to boot from usb,selected install create/modify partitions (carefully chose the correct partition (new,bootable write quit) on the main screen followed prompts accepting grub boot. Bingo! Android Windows7 Dual-Boot on a Dell Inspirion 1525 old school laptop.

Chih-Wei Huang

unread,
Mar 12, 2014, 7:59:06 AM3/12/14
to Android-x86
2014-02-18 20:58 GMT+08:00 Meerio <them...@gmail.com>:
> it seems ( watching the comments on play store) that Paragon NTFS mounter isn't working anymore on android 4.3+ ( even non x86)
> I've read about a fuse.ko lib that enables read and write on ntfs natively. is it true? can be added to sources? if not, how can i mount my ntfs-formatted external hd on 4.4 rc1?

The 4.4-RC1 kernel has fuse-fs enabled.
But I have no idea what the app is and how it works.
You probably have to check with the app owner to
see what precondition the app needs to run.
Android doesn't support mounting NTFS natively.


--
Chih-Wei
Android-x86 project
http://www.android-x86.org

Supriady

unread,
Mar 12, 2014, 8:20:47 AM3/12/14
to andro...@googlegroups.com
When you built Android-x86 4.4 rc1 without add NTFS filesystem to read and write on android-x86 4.4 rc1 kernel. You can't mount NTFS filesystem on linux.

Chih-Wei Huang <cwh...@android-x86.org> wrote:

>--
>You received this message because you are subscribed to the Google Groups "Android-x86" group.
>To unsubscribe from this group and stop receiving emails from it, send an email to android-x86...@googlegroups.com.
>To post to this group, send email to andro...@googlegroups.com.
>Visit this group at http://groups.google.com/group/android-x86.
>For more options, visit https://groups.google.com/d/optout.

Meerio

unread,
Mar 12, 2014, 10:46:40 AM3/12/14
to andro...@googlegroups.com
thanks, i'll contact paragon developers

rbg

unread,
Mar 12, 2014, 11:02:26 AM3/12/14
to andro...@googlegroups.com
mount NTFS filesystem on linux:

         http://www.linuxfromscratch.org/blfs/view/svn/postlfs/ntfs-3g.html

Chih-Wei Huang

unread,
Mar 12, 2014, 9:54:30 PM3/12/14
to Android-x86
The original question is about how to use the NTFS mounter app
in android-x86, not how to mount NTFS on linux or android-x86.
It may be due to the app's bug, or the android-x86 missed
some interfaces required by the app.

There is no problem to mount NTFS on android-x86 --
the kernel definitely supports it.
Remember we support installation to an NTFS partition.

One of the things I'm interesting is adding NTFS support
to vold (the volume daemon). That means you can plug in an
NTFS formated usb/sdcard and it will be mounted automatically.
It's in my TODO list. I think it requires
* port ntfs-3g to android-x86
* modify vold to call mount.ntfs on detecting an NTFS partition

If anyone is also interesting in implementing the feature, let me know.

supriady

unread,
Mar 12, 2014, 10:06:39 PM3/12/14
to andro...@googlegroups.com
I have checked kitkat x86 rc1 from debug mode and didnt have ntfs
module on android-x86 4.4 rc1.that wasnt possible to mount ntfs
partition.

Chih-Wei Huang

unread,
Mar 12, 2014, 10:25:03 PM3/12/14
to Android-x86
2014-03-13 10:06 GMT+08:00 supriady <ady0...@gmail.com>:
> I have checked kitkat x86 rc1 from debug mode and didnt have ntfs
> module on android-x86 4.4 rc1.that wasnt possible to mount ntfs
> partition.

No ntfs module is needed.
The native ntfs driver in linux kernel is obsolete and unmaintained.
No any popular distribution uses it now as I know.
The current policy is to use the FUSE kernel module to implement
NTFS (and other foreign fs like exfat) support in user space.
That's how the ntfs-3g works.

supriady

unread,
Mar 13, 2014, 5:04:47 AM3/13/14
to andro...@googlegroups.com
Where is the fuse module on android x86 4.4 rc1?

On 3/13/14, Chih-Wei Huang <cwh...@android-x86.org> wrote:

supriady

unread,
Mar 13, 2014, 5:19:17 AM3/13/14
to andro...@googlegroups.com
Did u try fuse without ntfs module on ur linux distro?even fat an vfat
module needed to mount fat and vfat.

rbg

unread,
Mar 13, 2014, 3:10:02 PM3/13/14
to andro...@googlegroups.com
but part of your answer on mar 12 implies that it cannot be done....

    "Android doesn't support mounting NTFS natively"

was simply pointing out that it has been done...around june 2012 time frame by xda....

sometimes we're so caught up in having "the latest and greatest" widget/kernel/etc. before others
we forget that having basic stuff "work" is more important to users......but then again when we use a project
as a "sandbox" for our full time job, that will always be the case...

so the perception is sometimes skewed.....overall though the results are excellent and far ahead of any others
working toward AOSP on x86.....

Chih-Wei Huang

unread,
Mar 13, 2014, 9:29:42 PM3/13/14
to Android-x86
2014-03-14 3:10 GMT+08:00 rbg <rbg.hp...@gmail.com>:
> but part of your answer on mar 12 implies that it cannot be done....
>
> "Android doesn't support mounting NTFS natively"
> was simply pointing out that it has been done...around june 2012 time frame
> by xda....

I didn't get your point.
My words just meant the AOSP doesn't support NTFS.
That is, you cannot plugin an NTFS formatted sdcard
to a Google Nexus phone (which runs an unmodified AOSP)
and get sdcard mounted automatically
(without the help of any other app or tool)
Android-x86 is the same.

Of course some vendors have patched AOSP to support
NTFS or other filesystems in their android products.
One example I know is the ASUS padfone which uses
proprietary kernel modules to mount NTFS and exfat.

I didn't doubt some developers have finished the similar thing
in other projects. Just no time to check it.
If you know where the patches are, I'm glad to apply them.

rbg

unread,
Mar 14, 2014, 7:27:50 PM3/14/14
to andro...@googlegroups.com
>If you know where the patches are, I'm glad to apply them...

  intel-ia implemented it from I think it was 4.2.1 onward as I recall....would have to recheck it....
so you could merge it as you have other intel-ia stuff....

Chih-Wei Huang

unread,
Mar 15, 2014, 7:31:34 AM3/15/14
to Android-x86
2014-03-15 7:27 GMT+08:00 rbg <rbg.hp...@gmail.com>:
>>If you know where the patches are, I'm glad to apply them...
>
> intel-ia implemented it from I think it was 4.2.1 onward as I
> recall....would have to recheck it....
> so you could merge it as you have other intel-ia stuff....

It has some ntfs-3g tools ported.
It is used to resize the windows partition on installation,
not to support mounting NTFS at runtime.
But it's a good start.

Except this, I don't see any NTFS related changed
in their vold.

rbg

unread,
Mar 15, 2014, 8:44:12 AM3/15/14
to andro...@googlegroups.com

Corey Sheldon

unread,
Mar 17, 2014, 6:29:10 AM3/17/14
to andro...@googlegroups.com
is there a version of ntfs -3g for the android x86 sources this set of drivers has saved my tail many of times when using my linuxbox (mostly fc20/mint) to fix windows machines on ntfs, finally have a throwaway hdd for android x86 testing so ill be on here more often with such recommendations

Chih-Wei Huang

unread,
Mar 17, 2014, 7:14:41 AM3/17/14
to Android-x86
2014-03-15 20:44 GMT+08:00 rbg <rbg.hp...@gmail.com>:
> fyi-
>
> original
> reference...http://forum.xda-developers.com/showthread.php?t=1724078

Thanks.
I read the post. If I didn't miss something,
it just provided a method to build ntfs-3g tool (for arm)
and a script to mount partition manually.
(similar to what I did in the installer).
It's not the way I'm looking for.

As said, my plan is to hack vold to
call ntfs-3g directly.
I'll try it if time available.

rbg

unread,
Mar 25, 2014, 9:09:11 AM3/25/14
to andro...@googlegroups.com
>is there a version of ntfs -3g for the android x86 sources

the ntfs-3g sources from Cyanogenmod compiles fine on android-x86 KitKat source....

Chih-Wei Huang

unread,
Mar 25, 2014, 10:10:56 AM3/25/14
to Android-x86
2014-03-25 21:09 GMT+08:00 rbg <rbg.hp...@gmail.com>:
>>is there a version of ntfs -3g for the android x86 sources
>
> the ntfs-3g sources from Cyanogenmod compiles fine on android-x86 KitKat
> source....

Thank you.
Just checked the vold of CM.
It contains the ntfs-3g and exfat patches
as I need. Will try to incorporate it.

rbg

unread,
Mar 25, 2014, 10:31:32 AM3/25/14
to andro...@googlegroups.com
Chih-Wei......

after I checked cyanogenmod last week I also downloaded ntfs-3g-ntfsprog from TUXERA.....

and as I recall it also compiled fine............

cyanogenmod has some additional files added to system/vold for ntfs which I also added to android-x86 system/vold

it all compiled fine and I located the ntfs-3g lib and some of the files in out dir....

I then tried a NTFS formatted USB stick and it always wanted to format it, when I finally said ok...it appears it
didn't change the format BUT did mount the USB...!!!???

I can make that build available for you if you need for test..........

Chih-Wei Huang

unread,
Mar 25, 2014, 10:25:02 PM3/25/14
to Android-x86
2014-03-25 22:31 GMT+08:00 rbg <rbg.hp...@gmail.com>:
> Chih-Wei......
>
> after I checked cyanogenmod last week I also downloaded ntfs-3g-ntfsprog
> from TUXERA.....
>
> and as I recall it also compiled fine............
>
> cyanogenmod has some additional files added to system/vold for ntfs which I
> also added to android-x86 system/vold
>
> it all compiled fine and I located the ntfs-3g lib and some of the files in
> out dir....
>
> I then tried a NTFS formatted USB stick and it always wanted to format it,
> when I finally said ok...it appears it
> didn't change the format BUT did mount the USB...!!!???
>
> I can make that build available for you if you need for test..........

No need binary.
I'm working on it.
But you can send me patches if you have.

rbg

unread,
Mar 26, 2014, 12:42:55 AM3/26/14
to andro...@googlegroups.com

1) pulled cyanogenmod - (can also be added to jbx86 using cyanogenmod 10.2 I would assume)

    $ repo init -u git://github.com/CyanogenMod/android.git -b cm-11.0
    $ repo sync -f -j10

2) ntfs-3g is non-existant in android-x86, copied folder from cyanogenmod to android-x86

    need to add pull from cyanogenmod into manifest(default.xml) and most likely keep in the
    remote="x86" revision="kitkat-x86 locations...???

3) using meld diff viewer, select dir and compare android-x86/system/vold with cyanogenmod/system/vold

    moved new files that are related to ntfs/vfat/etc. into android-x86/system/vold

4) build system, burned to USb, inited another USB to NTFS, ran live...plugged in NTFS USB....
   recognized but said unrecognized filesystem do you want to format, said yes...was mounted(select storage)
   but after finished removed NTFS USB and checked on Windose machine and filesystem was still NTFS.....

   using terminal when live and df & mount showed NTFS mounted R/W but didn't show filesystem...


 patches are .diff files as I have yet never been successful using git patch....

  always get my sources by: $ repo init -u http://git.android-x86.org/manifest -b kitkat-x86
                $ repo sync -j5

  and since 2011 time frame always get "not a git repository" if trying to do a git patch...so use
  what works for me...........

will be trying Paragon NTFS mounter later this week after getting some gapps stuff going...


 2 .diff files attached
ntfs-3gA.diff
ntfs-3gB.diff

Nabil Hassani

unread,
Jul 13, 2014, 12:29:33 PM7/13/14
to andro...@googlegroups.com
My question is a step backward:

I am unable to see the NTFS partition on my Windows tablet.

I got Android x86 4.4.2 RC2 installed on /dev/sda2
(and Windows 8 on /dev/sda1)

but mount does not show /dev/sda1 which has Windows on.

trying the command say:
mount -t ntfs /dev/block/sda1 /sdcard/sda1 
yields "no such device" error.
obviously 
mount -t ext2 /dev/block/sda2 /sdcard/sda1
works perfectly.

So how to make the NTFS partition visible?

Zsolt Kzs

unread,
Apr 19, 2015, 6:25:37 PM4/19/15
to andro...@googlegroups.com
Hi,

I am not a Linux expert. I would like to use ntfs drives on THL 5000 Kitkat 4.4.2 phone. Is it pőossible somehow?

Br,
Zsolt

Povilas Staniulis

unread,
Apr 19, 2015, 6:34:48 PM4/19/15
to andro...@googlegroups.com
If you have ntfs-3g installed, you can, but you'll have to mount the
drives manually from terminal.

For example:
ntfs-3g /dev/block/<device> /storage/usb0 -o,uid=1023,gid=1023

where <device> is your partition, eg. sda1.

Some phones and tablets can use NTFS OOB, but those usually have either
Tuxera or Paragon proprietary kernel module installed.

Zsolt Kzs

unread,
Apr 20, 2015, 3:02:34 AM4/20/15
to andro...@googlegroups.com
OK, but how can I check it?
The lsmod gives back empty installed module list.



--
You received this message because you are subscribed to a topic in the Google Groups "Android-x86" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/android-x86/Jj6QV6_prjI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to android-x86...@googlegroups.com.

Zsolt Kzs

unread,
Apr 20, 2015, 3:08:07 AM4/20/15
to andro...@googlegroups.com
Linux version 3.4.67 gcc 4.7
Message has been deleted

Ernest Gabric

unread,
Feb 4, 2016, 4:10:47 AM2/4/16
to Android-x86
Povilas your instruction work for me.
How to automount with ntfs-3g, on android start ?

Chih-Wei Huang

unread,
Feb 4, 2016, 10:40:50 PM2/4/16
to Android-x86
2016-02-04 17:10 GMT+08:00 Ernest Gabric <ern...@gmail.com>:
> Povilas your instruction work for me.
> How to automount with ntfs-3g, on android start ?

Add SDCARD=$partition (sda1, ...) to kernel cmdline.

It's supposed to work in lollipop-x86 or prior versions.
(though I haven't tested it for a long time)
But this is not supported in marshmallow-x86 (yet).
Reply all
Reply to author
Forward
0 new messages