#Android fuse drivers for exFAT and NTFS
**DISCLAIMER:** The source code was taken from open source projects, and only altered for Android compatibility. Expect the same bugs and misbehavior found in the original versions! **No warranty and no support at all: use it at your own risk and responsibility!**
The primary goal of this project was to build the drivers for Lenovo Yoga Tablet 2 8'' 830L (firmware upgraded to 830LC) tablet, which utilizes Intel Atom (x86) CPU and runs Android 4.4.2. There are some ARM builds of these drivers over there, but I found nothing for x86. Also, I failed to find a ready-to-build project with up-to-date source code.
I spent (hope - not wasted!) some time to commit it step by step, starting from original sources, with all further add-ons and modifications commented, for easy repeat for more recent sources, or to merge in an update.
I provide a CWM/TWRP installable zip package, with binaries for `armeabi`, `armeabi-v7a`, `arm64-v8a`, `x86`, `x86_64` and a mounting script, in the [Releases](https://github.com/Lurker00/Android-fs/releases). **Root and SuperSU are required for the mounting script to work correctly!** For more information, please read ["How to mount?"](#how-to-mount) chapter below.
##How to mount?
The primary goal is auto-mount of the microSD card on Android boot, with full functionality. Unmount can be done from the Android Settings. Re-mount after the boot is possible, but currently is a bit tricky (see below).
Currently, to install all this stuff, you need to root your device. If you have done, you already have SuperSU installed, and, as a result, `/system/etc/install-recovery-2.sh` (if exists) is executed on every boot by SuperSU. I've provided one in the `mount` directory of the project, and in the [Release](https://github.com/Lurker00/Android-fs/releases) packages. The script checks if the file system is supported, then tries to mount the external microSD. It appends a log file at `/data/local/tmp/exfat_mount.log`. You may disable it by setting the `logfile` to `/dev/null` in the script (it is done in the installation zip). The script expect the following executable binaries with permissions to run at `/system/xbin`:
* `probe` (to detect the file system type)
* `mount.exfat`
* `ntfs-3g`
* `ntfsfix`
I hope other commands it uses are available in the shell of your device.
The script creates the links for exFAT tools, if required. It checks the file system before mounting, and mounts it read-only if it has found errors. It does not fix the errors found: please use Windows or your OS tools to correct the file system errors.
**NOTE:** If there is no `/system/xbin/supolicy` (provided by SuperSU), the script sets SELinux to Permissive mode! Instead, the mount would be read-only. If you know how to overcome it, please let me know.
The `/system/etc/install-recovery-2.sh` script can be executed manually, from a terminal, e.g. to re-mount without system restart. For this particular purpose, please run it with any parameter, e.g.
/system/etc/install-recovery-2.sh mount
(`mount` is just for example: any parameter!). Then, the script uses `debuggerd` replacement technology to mount from `init` process.
Of course, I've checked all above, and it works just fine on my particular device, though it does not mean it will work for you!
##How to build
Build process of this project is rather straightforward:
1. Install Android NDK for your platform (I use Windows 7 64-bit/Cygwin, NDK r10b).
2. Checkout or download and unpack the source code.
3. Run `ndk-build` in the root directory of the source code tree.
I tried to build for `mips` as well and faced a compile error for `mips64`. It can be worked around with easy, but I never net a `mips`-based Andriod device, so I don't bother.
##Notes on exFAT driver build
Please read [here](https://github.com/Lurker00/Android-fs/blob/master/jni/external/exfat/README.md).
##Notes on NTFS driver build
Please read [here](https://github.com/Lurker00/Android-fs/blob/master/jni/ntfs-3g/README.md)
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
Android 4.4.2 exfat移植 (336个子文件)
mkexfatfs.8 2KB
mount.exfat-fuse.8 2KB
exfatlabel.8 829B
dumpexfat.8 745B
exfatfsck.8 563B
configure.ac 19KB
Makefile.am 5KB
Makefile.am 3KB
Makefile.am 2KB
Makefile.am 1KB
Makefile.am 621B
Makefile.am 558B
Makefile.am 344B
Makefile.am 164B
Makefile.am 75B
AUTHORS 327B
attrib.c 201KB
secaudit.c 182KB
mkntfs.c 156KB
security.c 138KB
ntfsresize.c 117KB
acls.c 115KB
fuse.c 110KB
lowntfs-3g.c 105KB
ntfs-3g.c 101KB
fuse.c 86KB
dir.c 76KB
fuse_lowlevel.c 71KB
ntfsclone.c 71KB
ntfsinfo.c 67KB
ntfsundelete.c 62KB
runlist.c 61KB
mft.c 59KB
win32_io.c 55KB
ntfswipe.c 54KB
compress.c 53KB
volume.c 51KB
index.c 48KB
probe.c 47KB
unistr.c 44KB
ntfsfix.c 44KB
ntfsdecrypt.c 43KB
inode.c 43KB
fuse_lowlevel.c 39KB
uctc.c 36KB
usermap.c 32KB
node.c 32KB
reparse.c 31KB
utils.c 31KB
ntfsck.c 27KB
ntfscp.c 27KB
device.c 25KB
ntfsdump_logfile.c 24KB
logfile.c 24KB
ntfscmp.c 21KB
ntfsfallocate.c 21KB
sd.c 21KB
mount.c 21KB
boot.c 20KB
ntfstruncate.c 20KB
lcnalloc.c 20KB
ntfsmove.c 20KB
ntfs-3g_common.c 20KB
xattrs.c 19KB
fusermount.c 17KB
logging.c 17KB
ntfsls.c 17KB
object_id.c 16KB
main.c 15KB
cache.c 15KB
attrdef.c 15KB
ntfscluster.c 14KB
mount.c 14KB
devname.c 13KB
cluster.c 12KB
ntfslabel.c 12KB
mount_util.c 11KB
mount.c 11KB
helper.c 11KB
efs.c 11KB
ntfscat.c 11KB
tag.c 10KB
read.c 10KB
ntfsmftalloc.c 10KB
io.c 10KB
bootsect.c 10KB
fuse_opt.c 10KB
ea.c 10KB
ulockmgr.c 9KB
ioctl.c 9KB
fuse_opt.c 9KB
attrlist.c 9KB
cuse_lowlevel.c 9KB
mount_bsd.c 8KB
unix_io.c 8KB
bitmap.c 8KB
mst.c 8KB
compat.c 8KB
mount_util.c 7KB
probe.c 7KB
共 336 条
- 1
- 2
- 3
- 4
资源评论
- 小道名也2018-01-06正好我需要的,谢谢谢谢
- 戏谑2018-08-24下载后和源码一样
QQxiaoqiang1573
- 粉丝: 77
- 资源: 29
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功