Kernel Modules for Xperia 2011 GB v4.0.2.A.0.58: fuse.ko, usb-storage, cifs, tun, .. - Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A

Information and Modules description
I was in the need to add some missing kernel modules to my Xperia Mini Pro sk17i with v4.0.2.A.0.58, but I could only find modules compiled form ICS sources, so I decided to build them myself.
All modules have been compiled from official sony Xperia v4.0.2.A.0.58 kernel sources, using Android NDK r5, and they should be fine with any GB based Xperia 2011 device (with that kernel version at least).
This is the list of modules, with some interesting programs using them:
fuse.ko: Cryptonite (used to create encrypted EncFS or Truecrypt volumes, adds support to mount drives so that are visibile to the whole Android system. Note: Cryptonite is not currently able to load the module automatically, you need to load it from Terminal Emulator..se more below)
usb-storage.ko, nls_utf8.ko, ntfs.ko (compiled with write support, currently untested): USB OTG Helper (used to mount external USB drives with USB On The Go cables).
cifs.ko, slow-work.ko, md4.ko: CifsManager (used to mount network shares)
ext4.ko, jbd2.ko: if you wish to use the EXT4 filesystem
tun.ko: needed by VPN clients, like OpenVPN or DroidVPN
Installation Instructions
Attached to this post you will find a ZIP that can be used along with CWM Recovery to install the modules in system.
Download the module, put it inside you SD card, reboot your phone in CWM (which you can install with the Xperia CWM Auto-Installer) and select install zip from sdcard, and browsed to the ZIP. Reboot your phone when install finishes.
Loading Modules
No module is automatically loaded at system startup: this saves your memory and battery (some of those modules are known to drain your battery if always loaded).
To manually load a module you have to open the Android Terminal Emulator and tap:
Code:
su
insmod /system/lib/modules/MODULENAME.ko
where MODULENAME is the name of the module you want to load.
Other useful commands:
Code:
lsmod
to see currently running commands
Code:
rmmod MODULENAME.ko
to unload a module.
If you wish to manually load a module at phone startup you should use init.rd or any other method (?) to run custom scripts at startup.
Load Order
Some modules need to be loaded in a specific order:
slow-work.ko must be loaded before cisf.ko
jbd2.ko must be loaded before ext4.ko
Other Firmware Versions
I've released the same package for other firmware versions, click on the firmware version to go to the specific thread:
ICS v4.1.B.0.587 Kernel Modules package by zxp
Changes
v2 - 2012.07.19
===========
- customized, built and added slow-work.ko, which is needed to load cifs.ko
- added jbd2.ko, which is needed to load ext4.ko
v1 - 2012.07.12
===========
- First release

Thanks for this..
Fuse, and the rest as required, are automatically loaded as required by USB OTG Helper if found in /system/lib/modules.

shardul_seth said:
Thanks for this..
Fuse, and the rest as required, are automatically loaded as required by USB OTG Helper if found in /system/lib/modules.
Click to expand...
Click to collapse
Yes, the same applies to CifsManager, even if it requires some fiddling in options, while your USB OTG Helper does it automagically...by the way, it would be really nice of you if you could add the same auto-load code to Cryptonite, which is open source somewhat related to your work! :good:

zxp said:
Yes, the same applies to CifsManager, even if it requires some fiddling in options, while your USB OTG Helper does it automagically...by the way, it would be really nice of you if you could add the same auto-load code to Cryptonite, which is open source somewhat related to your work! :good:
Click to expand...
Click to collapse
I have my own encryption script, and I am happy with it.. So no fiddling with cryptonite for me

Updated both install and uninstall packages to fix cifs.ko and ext4.ko that couldn't be loaded because of missing dependencies (slow-work.ko and jbd2.ko).
You can find the updated zips in the first post.

where i can find the ext4.ko module for Xperia 2011 ICS?, i can't find it nowhere, can you help me with it?
sorry for my bad english

lightdesiny said:
where i can find the ext4.ko module for Xperia 2011 ICS?, i can't find it nowhere, can you help me with it?
sorry for my bad english
Click to expand...
Click to collapse
I don't know where to find it, I don't have upgraded to ICS yet, sorry.
If you are sure that no one have released it I may build a package similar to this one once I upgrade to ICS, in the coming weeks. Keep an eye on this forum :cyclops:

hi when I type the cod say me that not found that I istall it with recovery please help me
my phone xperia ray
my rome is 2.3.4 - 4.0.2.A.0.58 GB

hadics1 said:
hi when I type the cod say me that not found that I istall it with recovery please help me
my phone xperia ray
my rome is 2.3.4 - 4.0.2.A.0.58 GB
Click to expand...
Click to collapse
Don't complain if none will answer you.

hadics1 said:
hi when I type the cod say me that not found that I istall it with recovery please help me
my phone xperia ray
my rome is 2.3.4 - 4.0.2.A.0.58 GB
Click to expand...
Click to collapse
Can you please explain your problem better?
I can't understand your post.

zxp said:
lightdesiny said:
where i can find the ext4.ko module for Xperia 2011 ICS?, i can't find it nowhere, can you help me with it?
sorry for my bad english
Click to expand...
Click to collapse
I don't know where to find it, I don't have upgraded to ICS yet, sorry.
If you are sure that no one have released it I may build a package similar to this one once I upgrade to ICS, in the coming weeks. Keep an eye on this forum :cyclops:
Click to expand...
Click to collapse
I've just released the same package as this for Xperia ICS v4.1.B.0.587, you can now use ext4 on the latest ICS firmware

This is great
Sent from my WT19i

mount nfs share works with busybox - but won't with cifsmanager
Hello folks,
as this is my first post here, i'd like to thank all of the contributors for the excellent Guides and Howtos on this platform. Based on the instructions in this forums i was able to root my Xperia Mini Pro sk17i and greatly expand my devices applicability. Thanks to all of you!
Sorry, that the post got that long - hope that someone is still so kind to read and answer to it. I just wanted to be as precise as possible in the desription of my problem.
And here it comes. As the title of my post already implies, my ultimate goal is to mount nfs shares of my NAS and Router in my private network as user-friendly and simple as possible.
So far, I tried the following to achieve this goal:
Install busybox to generally expand linux capabilities of the device
install the Android Terminal emulator also from Google play
as previuosly mentioned, the device is rooted and Super user capabilities are set
created a mount-point for the nfs share
installed cifsmanager for mounting/unmounting with one click later
I tried to manually mount the share in the terminal. Without busybox i had no luck, but actually that was not sursprising at all. With busybox however, it worked instantly - what indeed surprised me, because this thread here implied somehow the kernel, as is, wasn't even capable to do it without additional modules. I could easily browse the share with ES file manager etc. and make use of my shares. So far, so great. :good:
But opening a terminal, get super user rights and mount manually by typing the whole sequence of
Code:
busybox mount -o nolock,vers=3 -t nfs 192.xxx.xxx.x.x:/my/nfs/share /mnt/MyLocalFolder
is not what you'd call simple or user-friendly at all.
So i aimed to improve the mount procedure with cifsmanager, but I always fail. And do no not understand what i am doing wrong. Initially i tried it without further kernel modules, encouraged by the success i had with busybox. But i always got a "Invalid argument" reply.
During the troubleshooting I stumbled upon this post, and thx to zxp's files, i managed to add the kernel modules to my /system/lib/modules folder (and yes, I have the exact same original/stock GB kernel version they are intended for).
But still no luck - even after i added slow-work.ko to the list of modules loaded by cifsmanager in the properties (placed before cifs.ko as it was suggested by another thread found somewhere in the forum). The info tab states the modules are loaded, but i still receive the same crooked "Invalid argument" message. What the heck am I doing wrong?
Seems to me there is some sort of general syntax issue - here is what info I give the app:
Share: 192.xxx.xxx.x.x:/my/nfs/share
Mount Point: /mnt/MyLocalFolder (tested with and without the mount point prefix in properties)
User: guest (default - without it, it wont work,app description states it will be ignored for nfs shares anyway)
Pwd: left empty
Options:nolock, vers=3 (tested with and without these - but where generally considered essential in some threads + my shares are nfs_v3)
Does somebody have an idea what is going wrong and might point me in some useful direction?
Thanks and Cheers to you all,
Nix

Use script manager and create a script!
Nixblicker said:
Hello folks,
as this is my first post here, i'd like to thank all of the contributors for the excellent Guides and Howtos on this platform. Based on the instructions in this forums i was able to root my Xperia Mini Pro sk17i and greatly expand my devices applicability. Thanks to all of you!
Sorry, that the post got that long - hope that someone is still so kind to read and answer to it. I just wanted to be as precise as possible in the desription of my problem.
And here it comes. As the title of my post already implies, my ultimate goal is to mount nfs shares of my NAS and Router in my private network as user-friendly and simple as possible.
So far, I tried the following to achieve this goal:
Install busybox to generally expand linux capabilities of the device
install the Android Terminal emulator also from Google play
as previuosly mentioned, the device is rooted and Super user capabilities are set
created a mount-point for the nfs share
installed cifsmanager for mounting/unmounting with one click later
I tried to manually mount the share in the terminal. Without busybox i had no luck, but actually that was not sursprising at all. With busybox however, it worked instantly - what indeed surprised me, because this thread here implied somehow the kernel, as is, wasn't even capable to do it without additional modules. I could easily browse the share with ES file manager etc. and make use of my shares. So far, so great. :good:
But opening a terminal, get super user rights and mount manually by typing the whole sequence of
Code:
busybox mount -o nolock,vers=3 -t nfs 192.xxx.xxx.x.x:/my/nfs/share /mnt/MyLocalFolder
is not what you'd call simple or user-friendly at all.
So i aimed to improve the mount procedure with cifsmanager, but I always fail. And do no not understand what i am doing wrong. Initially i tried it without further kernel modules, encouraged by the success i had with busybox. But i always got a "Invalid argument" reply.
During the troubleshooting I stumbled upon this post, and thx to zxp's files, i managed to add the kernel modules to my /system/lib/modules folder (and yes, I have the exact same original/stock GB kernel version they are intended for).
But still no luck - even after i added slow-work.ko to the list of modules loaded by cifsmanager in the properties (placed before cifs.ko as it was suggested by another thread found somewhere in the forum). The info tab states the modules are loaded, but i still receive the same crooked "Invalid argument" message. What the heck am I doing wrong?
Seems to me there is some sort of general syntax issue - here is what info I give the app:
Share: 192.xxx.xxx.x.x:/my/nfs/share
Mount Point: /mnt/MyLocalFolder (tested with and without the mount point prefix in properties)
User: guest (default - without it, it wont work,app description states it will be ignored for nfs shares anyway)
Pwd: left empty
Options:nolock, vers=3 (tested with and without these - but where generally considered essential in some threads + my shares are nfs_v3)
Does somebody have an idea what is going wrong and might point me in some useful direction?
Thanks and Cheers to you all,
Nix
Click to expand...
Click to collapse

that works, but...
Well, yeah - that was an option. I already did, and it works with the busybx mount as stated.
But i would have to write another to mount another share, unmount them, and one to prevent ES file manager to somehow occupy the mount to make it busy before unmounting etc.
I hoped that cifsmanager would smooth and ease the mounting/unmounting.
Thank you for your suggestion, anyway!
Cheers, Nix
shardul_seth said:
Use script manager and create a script!
Click to expand...
Click to collapse

Related

Autostart

Hi People... It's my first post, so please be gentle!
Thanks to this board I now have a fully rooted X10i - everything went smooth except for having 64bit java, but found answers to everything here, so props to all you lot.
I've got all the usual suspects installed on a rooted phone (root explorer, set cpu, cachemate, root manager etc) - all working fine.
But... the one that interests me the most is Autostart. 3 questions:
1) I've added a busybox command to automatically mount the filesystem as rw and that works great. - Is that super dangerous to do?
2) I saw some others that have installed autostart have added a command to use swapon /sdcard - when I try that I get "unsupported" - I'm guessing that is because we don't have custom ROM yet, and the generic kernel does not support swap?
3) Can anyone suggest any other good uses of an autostart script?
Thanks peeps, and peace out...
Check this out
adamsweeting said:
Hi People... It's my first post, so please be gentle!
Thanks to this board I now have a fully rooted X10i - everything went smooth except for having 64bit java, but found answers to everything here, so props to all you lot.
I've got all the usual suspects installed on a rooted phone (root explorer, set cpu, cachemate, root manager etc) - all working fine.
But... the one that interests me the most is Autostart. 3 questions:
1) I've added a busybox command to automatically mount the filesystem as rw and that works great. - Is that super dangerous to do?
2) I saw some others that have installed autostart have added a command to use swapon /sdcard - when I try that I get "unsupported" - I'm guessing that is because we don't have custom ROM yet, and the generic kernel does not support swap?
3) Can anyone suggest any other good uses of an autostart script?
Thanks peeps, and peace out...
Click to expand...
Click to collapse
1. Mounting /system as rw automatically... hmmm... sounds useful, but is it? I don't know about dangerous, but take a look at this:
http://forum.xda-developers.com/showthread.php?t=712951
2. Don't know and didn't try. But, sounds interesting... will look into it. I was more inclined to first create an ext3 filesystem on the sdcard and move stuff around from the /data filesystem on to there...
3. Well once we get a working custom ROM, we can use groh_kun's splboot loader to boot into it.

[Q] xperia x10 cifs

I want to mount some cifs or even better nfs mounts. I Found the cool cifs app, but I'm having no luck loading the cifs driver.
I have a rooted x10a
firmware 1.6
Kernel 2.6.29-rel semc-android semc 2
Build r1fa014
so what do I have to do? I have looked high and low for a x10 cifs.ko, and tried a ton of others with the app and insmod. Do I need to upgrde the kernel? build?
Current links to what I have to do would be apreciated.
Thanks
check the kernel compiling topic, I posted cifs kernel module for X10 there.
Thanks for the info
I have found your main post: # 716360, Compiling X10 kernel sources.
And I have downloaded your cifs.zip, put it on my x10. I can insmod or use the cifsmanager gui to load the module, and it appears to be running with no errors, lsmod even shows it.
But when I go to mount I still get the "No Such Device" error. Do i need to upgrade my phone first from the above specs?
I don't want to hijack the other post, so ill reply here.
Thanks
bango123 said:
Thanks for the info
I have found your main post: # 716360, Compiling X10 kernel sources.
And I have downloaded your cifs.zip, put it on my x10. I can insmod or use the cifsmanager gui to load the module, and it appears to be running with no errors, lsmod even shows it.
But when I go to mount I still get the "No Such Device" error. Do i need to upgrade my phone first from the above specs?
I don't want to hijack the other post, so ill reply here.
Thanks
Click to expand...
Click to collapse
use the same command line i used on the kernel topic,
also the destination directory must exists.
last but not least, busybox mount instead of the native android mount
if you succeed, please provide compiled module
After some work, I got it to work, and in the end it was not to complicated at all.
1. Get the CIFS module (driver) for the X10, I have attached a copy I am now using for version 1.6. It was compiled by alx5962 and put on these forums in another thread "Compiling X10 kernel sources". There is more info there. I just added "X10" to the name of his file to avoid confusion and posted it here in case of a search engine brought others here for help.
Unpack and save the file somewhere on your SD card, write down where it is at.
2. Install the CIFS Manager from apps, it will need root access to load the cifs module ("Superuser Permissions" app manages this very well), there is lots of info and this is a easy fix. Should be easy to find.
In settings:
Check "Load cifs module"
Check "Load via insmod"
the under path point it to where you saves the cifs modile (something like /sdcard/cifsx10/cifs.ko)
Then setup your share, for example:
Share Path:
192.168.0.1/Share
Mount Point:
/mnt/cifs/Share
Username"
me
Password:
mepassword
Don't worry about any of the options
And that should do it. I did try the command line mounting in the shell, that worked well too, I even made some scripts with a script app. But the CIFS Manager once i figured out my problem(read my note below), worked very well and very easy.
*NOTE* My big problem was an error when mounting "invalid argument". What I found is even if I have the share open to anyone with no password, it will spit out an error if you leave the username and password blank. I just put in "me" and "pw" (or anything really) and i was up and running in one foul swoop!
can i ask what is the point to all this?
mootmaina said:
can i ask what is the point to all this?
Click to expand...
Click to collapse
CIFS also called SMB is the network file sharing used by windows mostly, this would then let you share a folder on you sdcard over you wifi to your home pc leting you copy files to and from your phone without connectinig USB
I haven't tried to share any folders on the sdcard, but I use it to mount shares that are on the network on my pc. ES File Explorer is a nice app to browse the network, but some files wont open well using this.
My main use is to play media, mainly DIVX movies that are stored on my pc. By mounting a share on cifs ( smb - samba, or windows file sharing, both more or less same thing) I can open my DIVX movies with rockplayer and they play like a charm. I have heard of some other apps that have the same issue.
But now I can have access to all of my media stuff when i want.
you can also use webdrive - windows program for mounting ssh filesystems, and launch ssh daemon on android.
Anyone tried this on 2.1? Do we need a new cifs.ko?
Bump.
Anyone got any info on cifs and 2.1? Id like to upgrade but don't want to lose this use.
[sorry] Bump [/sorry]
I tries some of the cifs.ko files i found trying to use the same kernel version (2.6.29), but insmod gave me errors.
Please, if anyone found a working version of cifs.ko for X10 2.1 kernel, post it - or give us a hint ...
(yes i know, compiling it myself would be a way, ... - i promise i will try, but why reinvent the wheel?)
THANKS,
Bax
Bumpito
Still no news about the new cifs.ko ?
Thanks !
Sony Ericsson haven't released the sources for 2.1 yet, so no "cifs.ko" until then. (It seems SE are breaking the GPL license by not releasing their Linux kernel source code)
And is there a way without using cifs.to to play files (such as mp3 or avi) directly from a samba share on 2.1 or we have to wait ?
Bump
Anyone have any luck with 2.1 yet?
hhave we gotten this yet?
cifs.ko experia x10 2.1 rooted
dutchschultz said:
hhave we gotten this yet?
Click to expand...
Click to collapse
In this thread,
http://forum.xda-developers.com/showthread.php?t=716360&highlight=cifs&page=12
Many thanks to alx5962
goto page 1 for instruction, or just use cifsmanager for market

[Q] TnT Lite 4.4.0 & CIFS (help)

Hi Folks.. need some input.. I'm still a noob at this but getting better n better everyday.
After doing lots o diggin, i cannot find any conclusive fix for adding CIFS towards a TNT Lite Rom (or if there's even a fix ) .
The closest thing to a potential fix is
http://forum.xda-developers.com/showthread.php?t=889088
But i'm a little reluctant to pull the trigger on it.
So far TNT lite 4.4.0 for me is perfect... less the CIFS / streaming video I want to do from my xp share.
Any input or comments on this topic would be welcome.
Thanx for your support! You guys rock!
M
I got CifsManager from the Market for my samba shares. Seems to work fine.
Is that what you are looking for? I am on TNT Lite 4.4
TnT Lite 4.4 uses Clemsyn's kernel which has CIFS support. All you need is an app or script to mount your share. I used to use CIFS Manager. Should be available in the market.
Thanx for the quick feedback .. trying CIFS Manager
Step 1) appears that you have 1 shot at setup once you download CIFS Manager..now that it's installed and I muffed my settings .. i try to go back to the CIFS Manager app and i get "Application is not installed on your phone"..but settings show that it IS infact installed. Re-downloading it from app store (after you have uninstalled it) gives you your change again.
Step 2) configuring it correctly to my XP shares of pix movies and music.
Question: when installing CIFS Manager (with the intention of accessing Windows share on XP)... do i need to go into Settings of CIFS Manager.. and load cifs module on startup?
2ndly .. I don't have CIFS.KO on my system ... and in Path to CIFS.KO (setting).. it's looking for it in System/lib/modules/cifs.ko
Do i need this module to make this work?
Where do i get it if i do?
Am i making this more complicated than it should be?
Off to bed.. enuf tweaking for tonite.. but any input is welcome.
Thanx again folks.
M
I haven't touched Menu -> Settings, so I have everything unchecked/default there.
I added my shares using Menu-> Add New Share and I just open Cifsmanager and mount/unmount the shares when needed.
With this setup, the mounts don't survive a reboot.... which is fine with me.
--
Some Kernels include cifs.ko as a separate module that you load/unload as needed. My assumption is this method saves memory, etc by not running modules that aren't actively needed.
I use pershoot's kernel (with Vegan Ginger) and it's set up this way. So I have to point CIFS Manager at my cifs.ko and it will load the module as necessary.
My understanding is that Clemsyn's kernel includes all of the "extra" modules precompiled in. No loading of extra modules. Therefore, you shouldn't have to worry about the path to cifs.ko or anything like that.
Don't get used to this, btw - I plan to go back to stock after the next firmware update. I used clem's this one time to minimize the sleep issue.
I prefer to leave TNT Lite as stock, and let the user decide if they want to add a customized kernel or not. I personally use one, but I felt that keeping it closer to stock is the better idea.
Maverick_120 said:
Thanx for the quick feedback .. trying CIFS Manager
Step 1) appears that you have 1 shot at setup once you download CIFS Manager..now that it's installed and I muffed my settings .. i try to go back to the CIFS Manager app and i get "Application is not installed on your phone"..but settings show that it IS infact installed. Re-downloading it from app store (after you have uninstalled it) gives you your change again.
Step 2) configuring it correctly to my XP shares of pix movies and music.
Click to expand...
Click to collapse
That's a stock Launcher bug - I've seen the same thing. You'd need an alternate launcher to correct (again, a user option - I personally add Launcher Pro as soon as I re-flash my own device. I dislike the stock Launcher).
Thanx Roebeet...
K so this is the plan when i can get my mittens on my tab afterwork.
1) fix the application issue by adding launcher pro (doofus i am, i just figured out its on the market for me to download to apply this potenial fix to my woes.
2) Try CIFS Manager install again .. "as is" sans modules .. and see if i can hit my shares and stream a video or 2... which would be ..friggin awww someee !!
My circle of life will then be complete.
Thanx for your feedback and support guys n gals !
K Update...
1) done... added launcher pro and it did fix the error from CIFS Manager.
2) problem.. installed CIFS manager but not sure how to get to share.
My share on XP is called "movies" in mount point i'm putting /mnt/cifs/movies
put user and pw that has admin rights... no go.
"mounting the share has failed with an error. mount: Invalid Argument"
Any ideas what i may be doing wrong?
M
GOT IT !
In CIFS Manager ..
ipaddress/sharename = 192.168.1.100/movies
Sharepoint
/mnt/cifs/movies <-- believe this mimics a local drive but is really the share
AWEESOME ...
Thanx again folks.
M
I'll add some comments later with the bumps i get on my journey.
I have tnt lite 4.4 but if I do a command in
terminal:
mount -t cifs //192.168.0.5/video /mtn/cifs/video
I get the error
mount: Invalid argument
But the kernel with tnt lite 4.4 has cifs built in,
doesn't it?
EDIT: the problem was simply that I need to add "guest" as username for
a freely browsable share ...

[Q] NFS mount freezes tablet?

Hi,
I am trying to get my GT-7510 (retail with the latest updates, rooted) mount an NFS share.
I have built the necessary modules and loaded them via insmod.
However, when I attempt to mount a share the tablet freezes. Screen is on, can't connect or ping in any way.
I've tried adb logcat - it just stops showing any output. I've tried getting a core dump without any success.
Is there any way I can see what the dmesg output was when the thing froze? Any suggestions on how to troubleshoot this?
And I don't want to use CIFS because it's slow and it generally sucks.
Thanks in advance!
Does anybody use NFS on the GT-7510?
Hi weasel,
I'm also struggeling with NFS. I tried using pershoot's Kernel with his modules. But I'm not even near to get NFS mounted or the Tab frozen ;-)
Maybe you can share which modules you loaded, which kernel, which mount command, how you issued the command.
So far I don't have a solution but maybe we can find one together!
Here is what I did so far:
[Kernel] - 2.6.36.4 - OC-VFPv3-d16_FP 1.4GHZ - Galaxy Tab 10.1 (9/13/11; 9.00PM EDT)
Installed the kernel above, loaded the following modules in the following order:
1. sunrpc.ko
2. auth_rpcgss.ko
3. lockd.ko
4. nfs_acl.ko
5. nfs.ko
When I try to mount my nfs share running on a Ubuntu 10.04 server with this command line:
mount -o nolock -t nfs <IP>:/<Path> /sdcard/<mountpoint>
I'm getting the following error message: Invalid argument
Is this a bug in the kernel/module. Am I doing something wrong?
I did get it to work but I had to use the source from Samsung's site and not the android source.
The modules you have listed are correct but you need to use the mount command that comes with busybox because the built-in mount doesn't support nfs. Also check your dmesg output after you load the last module to make sure there are no error messages.
So try using
/system/xbin/mount
instead of just mount
Oh, and I'm using the stock kernel so that's why I needed Samsung's source, you shouldn't need to re-compile your modules.
weasal said:
Oh, and I'm using the stock kernel so that's why I needed Samsung's source, you shouldn't need to re-compile your modules.
Click to expand...
Click to collapse
Did you compile those modules on your own? Do you know any howto for doing that? Or can you even provide me with the modules?
I'd like to use the stock kernel as well!
Thanks again!!
I already managed to compile them on my own. Thanks again for the hint.
For all of you who are searching for the required modules for the stock Kernel as well - please find attached.
The correct mount option:
/system/xbin/mount -t nfs -o nolock <ipaddress>:/<path> <mountpath>

[Q] Ntfs-3g, rw, fstab and mount options and daemons

This is extremeley far away from howto implementing ntfs read write support in rooted archos gen9 devices.
Everybodey is welcomed to bring on ideas and modifications.
my linux know how is not too much.
Somebody interested to help implement ntfs-3g rw for rooted archos gen9?
First - is it possible?
a) It could be possible with ntfs-3g from tuxera, on their website they say its for android, too.
b) When kernel side ntfs (the read only one) is set - can one use ntfs-3g with fuse instead or does it conflict?
Dont know if ntfs in kernel is set as yes or module. Can somebody confirm something?
Second - Which files are to be transported in which directory and which are to be modificated?
What mechanism (auto)mounts blockdevices (also sticks, flash cards, etc ...)
Is it archos specific or something related to android?
Does somebody know which daemon does this job especially on g9 and what config files it has?
Is it /etc/fstab (only) ?
Downloaded the source code from ntfs-3g and have to look.
attached ntfs-3g latest stable release as source from Tuxeras Website.
had a look in running kernel modules with
adb shell lsmod
Fuse is loaded as kernel module and active.
Therefore, i assume, one could push an arm version of ntfs-3g and ntfsprogs in the directorys in a dirty way and edit some fstab entrys or other config files?
Apropos arm version. Is there somebody who was able to (cross)compile ntfs-3g for arm and attach neccessary files?
NTFS read fine on my kingston 16 GB flash.
Write on flash dont work. How fix dont know, but i'll try to search info =)
Yes, ntfs CAN be read, but we need Write-Support.
On linux no problem, and Android IS Linux. On Arm instead of x86 or a64
Everey x86-linux has Write Support.
Thanks.
gegabit said:
NTFS read fine on my kingston 16 GB flash.
Write on flash dont work. How fix dont know, but i'll try to search info =)
Click to expand...
Click to collapse
However, thank you for your report
Found It
Hi svennimann
I was going to take up this challenge and have a go at compiling it, however this post In the galaxy S2 forum has it covered.
You don't need the worry about the fuse.ko as the archos kernel already has it and It wouldn't have the right magic anyway.
I'll probably have a poke around with integrating it more into the kernel, get it to use ntfs-3g by default.
I'll post an update, if I find anything interesting out.
Wow!
Hadnt found it but who searches on galaxy thread for archos things?
And That should be on general android thread.
We are lucky now.
Okay.
Now it is possible that there are issues with mount points, scripts, and so on, and perhaps one had to change ntfs-3g permissions to 755.
for the case that something doesnt work, i think this could be do the trick if neccesary.
http://forum.xda-developers.com/showpost.php?p=15490573&postcount=49
Apropos what do you mean with right magic of the fuse module?
Yes maybe. I only did a quick root shell test to make sure it mounted and wrote. I'll play around more with it later when I get in.
With regards to magic:
.ko files are compiled against a specific version of the kernel. They contain a vermagicapp string which is checked against the installed kernel when insmod is run. If they don't match the Kernel module won't install.
That's how I understand it.
Sent from my HTC Sensation XE with Beats Audio using xda premium

Categories

Resources