adbncfs
0.9.1
|
This is a FUSE based file system client to mount the file system of your android device on your linux host.
The idea of adbncfs was taken from ADBFS file system.
ADBFS uses adb shell
commands to communicate with the device. This involves creation of an adb
process for every command to execute on the device and that's why it is very very slow, especially if using a file manager.
To overcome this limitation I use NETCAT instead of adb shell
to communicate with the device.
At startup a NETCAT process is started on both the android device and on the local host. Additional a adb
port forwarding is setup. Now the shell commands are sent to the local NETCAT, then via port forwarding to the NETCAT on the android device which forwards the shell command to the bash shell. The output is sent the reverse way back.
ADB shell is still used to set up port forwarding and to start and kill the NETCAT process on the android device. ADB push and pull are used to move files to and from the device.
Once adbncfs
is installed (see Installing) running it is very simple:
Make sure that
Create a mount point if needed (e.g. in your home directory)
> mkdir ~/mountpoint
For regular use, simply specifying a mountpoint will have the first available android device mounted under it.
> adbncfs mountpoint
Note, that it's recommended to run it as user, not as root.
> fusermount -u mountpoint
sudo apt-get install libfuse-dev
sudo apt-get install pkg-config
sudo apt-get install android-tools-adb
sudo apt-get install libcppunit-1.13-0 libcppunit-dev
sudo apt-get install cppcheck
sudo apt-get install doxygen graphviz
First you need to DOWNLOAD the repository and unzip it.
Compile adbncfs
the usual way:
> make > make install (as root)
And you are ready to go.
The following FUSE callback functions are not yet implemented: