hi,
how can get or compiled cifs.ko and md4.ko modules for 10.4.4.16 JB ?
ali.jabbar said:
hi,
how can get or compiled cifs.ko and md4.ko modules for 10.4.4.16 JB ?
Click to expand...
Click to collapse
I'm interested in this as well.
+1
Sent from my Asus Eee Pad Transformer Infinity TF700T
ali.jabbar said:
hi,
how can get or compiled cifs.ko and md4.ko modules for 10.4.4.16 JB ?
Click to expand...
Click to collapse
You can use the attached modules. I tested them with CifsManager on 10.4.4.16 JB and they worked for me...
MarioGirotti said:
You can use the attached modules. I tested them with CifsManager on 10.4.4.16 JB and the worked for me...
Click to expand...
Click to collapse
thank you .
MarioGirotti said:
You can use the attached modules. I tested them with CifsManager on 10.4.4.16 JB and the worked for me...
Click to expand...
Click to collapse
They work fine here, too. But it took a while to figure out how to enable it.
For other people, the steps I took was as follows (all quotes are for clarification purposes only and should not be entered in settings):
1) Download the files above.
2) Unpack them to your internal SD card
3) Use a root file explorer to copy both the extracted files to "/system/lib/modules" (remember to enable R/W access to system partition and to disable it afterwards)
4) Download and install CIFS Manager.
5) Run it and allow it to gain root access
6) Go to CIFS Manager's settings and enable the following options:
7) Enable "Load cifs module"
8) Enable "Load via insmod"
9) Edit the option "Path to cifs.ko[:<modpath>]" to say "/system/lib/modules/cifs.ko:/system/lib/modules/md4.ko"
10) Disable "Load cifs module"
11) Enable "Load cifs module"
12) Go back to main screen of CIFS Manager
13) Pull up the menu and select "About..."
14) Click on "Modules..." and verify that both cifs and md4 are listed as "Live".
You might be able to use another directory to load the modules from - that, I haven't tried.
When you need to create a new link:
1) Run your root file explorer and create the link directory in /mnt/cifs/<MountName>
2) Then run CIFS Manager, pop up its menu and "Add new share"
3) Enter the value "<ServerIP>/<ShareName>" in option "Share path"
4) Enter the directory you created in step 1 above
5) Enter your user credentials in the "Username" and "Password" fields
6) Press "Save Share"
The share should now be listed in your list of shares. Click on the share you want to mount and it should be mounted at the specified mount point.
Thanks
MarioGirotti said:
You can use the attached modules. I tested them with CifsManager on 10.4.4.16 JB and they worked for me...
Click to expand...
Click to collapse
Thank you, works great.
You are now my hero of the week.
---------- Post added at 07:44 PM ---------- Previous post was at 07:38 PM ----------
ali.jabbar said:
thank you .
Click to expand...
Click to collapse
Say thank you AND give him a "Thanks" please. (by pressing the Thanks button)
mp1405 said:
Thank you, works great.
You are now my hero of the week.
---------- Post added at 07:44 PM ---------- Previous post was at 07:38 PM ----------
Say thank you AND give him a "Thanks" please. (by pressing the Thanks button)
Click to expand...
Click to collapse
Or dont say thanks just hit the button. The reason there is a thank you button is because threads get too full of thank you posts, people couldnt see useful content because of the spam.
Leaving all that behind, someone mind explaining what all this is about? What are CIFS modules?
pileot said:
Or dont say thanks just hit the button. The reason there is a thank you button is because threads get too full of thank you posts, people couldnt see useful content because of the spam.
Leaving all that behind, someone mind explaining what all this is about? What are CIFS modules?
Click to expand...
Click to collapse
Cifs (Common Internet File System) support is needed to mount Windows or Samba shares under Android.
If Cifs support is not compiled as feature into your the kernel you can load Cifs support later at any time if you have a kernel module available for cifs support. Since Asus did not delivere Cifs support with their kernel we have compiled the corresponding kernel module from the original kernel sources
Sent from my ASUS Transformer Pad TF700T using xda app-developers app
HeartWare42 said:
9) Edit the option "Path to cifs.ko[:<modpath>]" to say "/system/lib/modules/cifs.ko:/system/lib/modules/md4.mo"
Click to expand...
Click to collapse
Might want to edit that last to .ko not .mo
Still thanks a ton. This issue was buggin the hell out of me.
It would be great if somebody could post a compiled nls_utf8.ko
Thanks'
Jack Daniel's said:
It would be great if somebody could post a compiled nls_utf8.ko
Thanks'
Click to expand...
Click to collapse
nls_utf8 support is included already in the kernel:
CONFIG_NLS_UTF8=y
Anyhow I compiled it again as module (see attachment). At least the module was loadable on my side
It's working yay.
But horribly slow
On par with Es explorer. Unusable for watching videos.
1.5-3 Mbit,a few peaks at 5Mbit.
Using the same router for downloads from the net, gives me sustained 10Mbit (my net
connection speed).
Could you recommend another way to access my shares?
kosmarnik said:
It's working yay.
But horribly slow
On par with Es explorer. Unusable for watching videos.
1.5-3 Mbit,a few peaks at 5Mbit.
Using the same router for downloads from the net, gives me sustained 10Mbit (my net
connection speed).
Could you recommend another way to access my shares?
Click to expand...
Click to collapse
Mount the volume with the options 'noatime,nodiratime' That may help. It did for me for at least browsing my volumes (expected) but not sure if it will help for streaming. Anyway, give it a go. If your using cifs manager there is a options box to enter them in. or you can make it part of hte mount command if your doing it that way manually.
calisro said:
Mount the volume with the options 'noatime,nodiratime'
Click to expand...
Click to collapse
Or just noatime, since nodiratime is implicit.
briankb said:
Or just noatime, since nodiratime is implicit.
Click to expand...
Click to collapse
on normal linux yes... on busybox I'm not sure so I add both. can't hurt but your probably right.
Works also for Clean Rom
It might be obvious for the experts, but in case that other noobs like me are reading here and are afraid to ask : the cifs module works also perfectly with Clean ROM 2.5.5.
HeartWare42 said:
They work fine here, too. But it took a while to figure out how to enable it.
For other people, the steps I took was as follows (all quotes are for clarification purposes only and should not be entered in settings):
1) Download the files above
2) Unpack them to your internal SD card
3) Use a root file explorer to copy both the extracted files to "/system/lib/modules" (remember to enable R/W access to system partition and to disable it afterwards)
4) Download and install (removed)
5) Run it and allow it to gain root access
6) Go to CIFS Manager's settings and enable the following options:
7) Enable "Load cifs module"
8) Enable "Load via insmod"
9) Edit the option "Path to cifs.ko[:<modpath>]" to say "/system/lib/modules/cifs.ko:/system/lib/modules/md4.ko"
10) Disable "Load cifs module"
11) Enable "Load cifs module"
12) Go back to main screen of CIFS Manager
13) Pull up the menu and select "About..."
14) Click on "Modules..." and verify that both cifs and md4 are listed as "Live".
You might be able to use another directory to load the modules from - that, I haven't tried.
When you need to create a new link:
1) Run your root file explorer and create the link directory in /mnt/cifs/<MountName>
2) Then run CIFS Manager, pop up its menu and "Add new share"
3) Enter the value "<ServerIP>/<ShareName>" in option "Share path"
4) Enter the directory you created in step 1 above
5) Enter your user credentials in the "Username" and "Password" fields
6) Press "Save Share"
The share should now be listed in your list of shares. Click on the share you want to mount and it should be mounted at the specified mount point.
Click to expand...
Click to collapse
Brilliant. Working on a stock 4.1.1. And I went through hell to get there, rooted, unlocked, bricked by using the wrong cifs (put me into a reboot loop I couldn't escape from), debricked, gave up for a week, started looking again today and was trying to figure out if I needed a tweaked ROM, kernel, or both - then I found your post and it turns out I had covered everything I needed to, I just didn't have some of the details right.
I don't really have a use for this but knowing it could work and that the only constraint to such cool technology was my lack of understanding, was not an acceptable situation. In other words thanks for resolving my latest OCD obsession
Many roms and kernels have cifs built in now I know I used this excellent guide to build it into cleanrom inheritance.
Hello, is there please somebody, who succesfully compiled CIFS and MD4 modules for JB 4.2.1?
I've tried, but all I was able to produce using different toolchain versions was either "uncompatible exec format" message, or instant reboot.
Which toolchain version should I use for compiling for JB4.2.1?
Thanks
Sent from my Asus TF700 using TapatalkHD
Related
If so, please let me know what I need to do?
I have cifs.ko in system/lib/modules but the app has not been working since 3.2 update.
Just answering myself in case someone has the same question.
it seems multiple module loading is not working right in the CIFSmanager.
i needed to load cifs.ko and nls_utf8.ko together before mounting my network drives
before Cifsmanager can handle this automatically, but now on honeycomb 3.2, it seems nls_utf8.ko is not getting load
after I loaded that file manually via terminal, all network drives can be mounted.
Could you share the steps?
Thanks.
huzz said:
Could you share the steps?
Thanks.
Click to expand...
Click to collapse
share the steps to get nls_utf8.ko loaded?
cifsmanager still seems to load cifs.ko fine automatically.
to load nls_utf8.ko before mounting any network drives:
1. Open up a terminal app
2. type: su root (then hit enter)
3. type: insmod /system/lib/modules/nls_utf8.ko
You don't need to do this if you don't have foreign characters in the files on your network drives (cifs.ko by itself will do)
Ok, so the latest temp-root has gone well, and things still work okay, which is a great improvement, and much kudos to the devs for this.
However, CIFs Manager seems to not work, and I like to watch stuff over my network - and I'm pretty sure it's something very simple to do with SymLinks and stuff, as to how it works.
"Mounting the share has failed with an error
mount: mounting //10.1.100.10/Films on /mnt/cifs/Films failed: No such device"
Same settings work fine on my Desire, so I know the network's good, must be something to do with where it's looking, or trying to work, and the symlinks etc. in the temp-root.
However, I haven't a clue where to start - maybe someone can help out?
Maybe you start with reading the CifsManager FAQs?
regards
Most Frequently Asked Questions:
Q: When trying to mount a share I only get an error message saying something like...
"Error running exec().Command: [su]"
A: Most probably your device is not properly rooted or the su command is missing.
"No such device".
A: Your current kernel or rom lacks the necessary CIFS support. Try to find a matching kernel module (cifs.ko) or use a rom with explicit CIFS support.
"mounting <yourshare> on <yourmountpoint> failed: No such file or directory"
A: Your "Mount Point" simply does not exist and CifsManager is not able to automatically create it for you. As automatic Mount Point creation is not done with su rights, CifsManager can only create Mount Points in directories with permissions 777 or on your SD-Card.
Q: I have installed CifsManager but launching the app fails with something like "Application not installed on your phone"
A: This is not a problem caused by CifsManager but a bug in your ROMs launcher. Look for an updated version of your launcher.
Q: I mounted my favorite share successfully but files with special characters are not displayed correctly.
A: Try to use a kernel with explicit UTF-8 support or try to find/load the kernel module nls_utf8.ko.
Click to expand...
Click to collapse
f3d0r said:
Maybe you start with reading the CifsManager FAQs?
regards
Click to expand...
Click to collapse
fed0r,
Great information there - thank you so much. I'll double-check the permissions, but I was sure I'd already altered the mount point to 777. If that doesn't work, I'll try using a mount point on SD too.
I never even thought that the issue could be something so simple - thanks agaiN!
I thought he was indicating:
A: Your current kernel or rom lacks the necessary CIFS support. Try to find a matching kernel module (cifs.ko) or use a rom with explicit CIFS support.
Yes, on reading it the second time over, that seems to be what is indicated. I actually had an error combining #2 and #3.
Ah well, back to waiting for S-OFF so I can flash a ROM with the right kernel, because I haven't got a clue when it comes to Kernel type things!!
So, Stock Sensation ROMs do NOT have CIFS support. Tested.
What is zipalign, what are the benefits of zipalign and how do i do this?
Thank you
60 views but 0 replies
Someone help me please
just use the search option
EdisDee said:
just use the search option
Click to expand...
Click to collapse
I find just one thread with the same question and that thread also has only 2 posts and the person who made the thread posted saying he found the answer but never mentions what the answer is.
I found something about placing a file in the init.d folder but the file was not specified so if anyone has the file in their init.d folder could they copy it to their sd card, upload it to dropbox or any other file share website and share it with me please.
Help please
I know this is bloody perfect forum but sometimes you just need to jump out for a while. It's easier.
"The Android SDK includes a tool called zipalign that optimizes the way an application is packaged. Running zipalign against your application enables Android to interact it more efficiently at run time and thus has the potential to make it and the overall system run faster. We strongly encourage you to use zipalign on both..."
source: http://developer.android.com/resources/articles/zipalign.html
Enable? Nor sure. Kyrillos has it by default. I don't remember about others...
EDIT: Remove ".TXT" and place in /etc/init.d (or /system/etc/init.d). I belive it should be enoguh but can't say for sure. I only hope Kyrillos will not mind, it is from his 8.1 rom. Or hillbeast who edited it to work with hybrid.
mrvek said:
I know this is bloody perfect forum but sometimes you just need to jump out for a while. It's easier.
"The Android SDK includes a tool called zipalign that optimizes the way an application is packaged. Running zipalign against your application enables Android to interact it more efficiently at run time and thus has the potential to make it and the overall system run faster. We strongly encourage you to use zipalign on both..."
source: http://developer.android.com/resources/articles/zipalign.html
Enable? Nor sure. Kyrillos has it by default. I don't remember about others...
EDIT: Remove ".TXT" and place in /etc/init.d (or /system/etc/init.d). I belive it should be enoguh but can't say for sure. I only hope Kyrillos will not mind, it is from his 8.1 rom. Or hillbeast who edited it to work with hybrid.
Click to expand...
Click to collapse
I did what you said. I am rebooting the phone now and hopefully your help is sufficient
Smonic said:
What is zipalign, what are the benefits of zipalign and how do i do this?
Thank you
Click to expand...
Click to collapse
Download "ADB Mask Controller"
install it, connect your phone with USB debugging enabled.
Make sure the connection is detected by the application, click on the refresh button beside SEARCH Option in the program.
in the first screen, you will find option "Push Zipalign" Do that.
Go to the screen titled "Zipalign"
select the optioin you want to use zipalign for user app or system app or both.
Caution : Use this tool judiciously, it has many advanced features used by ROM developers mainly. Like pushing an app to system, removing bloatware, Sql LIte, and many many more.....A wrong step may force you to reflash your ROM.
Hope it helped.
umangsagar said:
Download "ADB Mask Controller"
install it, connect your phone with USB debugging enabled.
Make sure the connection is detected by the application, click on the refresh button beside SEARCH Option in the program.
in the first screen, you will find option "Push Zipalign" Do that.
Go to the screen titled "Zipalign"
select the optioin you want to use zipalign for user app or system app or both.
Caution : Use this tool judiciously, it has many advanced features used by ROM developers mainly. Like pushing an app to system, removing bloatware, Sql LIte, and many many more.....A wrong step may force you to reflash your ROM.
Hope it helped.
Click to expand...
Click to collapse
I clicked on 'push zipalign' a number of times and then clicked on zipalign data/app but nothing happens. It says zipalign not found. Push zipalign and try again or sth like that. I've rebooted my phone and i'm trying now,
Check if you have /system/bin/zipalign. If not try to put it there manually.
ADB controller might have problems mounting your /system r/w and it is read-only. Maybe you can mount it r/w and then try with controller (just guessing, though).
And you'll need to have the S03_zipalign made by kyrillos and hillbeast in /system/etc/init.d (or just /etc/init.d) posted earlier. For what I can tell it zipalign's all apps from /system/app and /data/app.
mrvek said:
Check if you have /system/bin/zipalign. If not try to put it there manually.
ADB controller might have problems mounting your /system r/w and it is read-only. Maybe you can mount it r/w and then try with controller (just guessing, though).
And you'll need to have the S03_zipalign made by kyrillos and hillbeast in /system/etc/init.d (or just /etc/init.d) posted earlier. For what I can tell it zipalign's all apps from /system/app and /data/app.
Click to expand...
Click to collapse
I second that esp rw option, its already there in ADB Controller. U can manually browse as instructed above. Its not that difficult, I am sure u will be able to do it well, reply here if u still get probs even after taking all steps as directed in my previous post and the post i quote above.
umangsagar said:
I second that esp rw option, its already there in ADB Controller. U can manually browse as instructed above. Its not that difficult, I am sure u will be able to do it well, reply here if u still get probs even after taking all steps as directed in my previous post and the post i quote above.
Click to expand...
Click to collapse
Thanks for the help. I'll go back and thank the posts
Anyway i decided not to do any tweaks because i always end up flashing a different ROM anyway, I'm weak when it comes to flashing ROMS
It's like an addiction
Smonic said:
Thanks for the help. I'll go back and thank the posts
Anyway i decided not to do any tweaks because i always end up flashing a different ROM anyway, I'm weak when it comes to flashing ROMS
It's like an addiction
Click to expand...
Click to collapse
hahhahahha...this tweak is not that difficult to implement..and i guess pretty safe...agree totally to the last line
I thought I'd give this a go. I've moved the first file on the previous page to system/etc/init.d and the second file on the top of this page to system/bin. Is this sufficient?
you mean to say you have s03_zipalign in /system/etc/ini.d and zipalign file posted above as /system/bin/zipalign ??
i guess this should do for you .. awaiting to hear if u succeeded.
umangsagar said:
you mean to say you have s03_zipalign in /system/etc/ini.d and zipalign file posted above as /system/bin/zipalign ??
i guess this should do for you .. awaiting to hear if u succeeded.
Click to expand...
Click to collapse
It's working fine. The apps load up fast and i'm happy Thanks!
I'm using danalo1979's all in one EP4D posted here: http://forum.xda-developers.com/showthread.php?t=1365376
Currently using the debloated version, but have also used bloated. Either way, it uses the 4.0.0 version of IMoseyON's kernel.
Is it possible to add a CIFS module or something so that I can use CIFSManager and mount a share from my home server? I realize it'd only really work when at home on the local network, but it would still be quite useful.
Thanks.
Yes. If you can get VPN working, which currently is nearly completey worthless on the Charge (it won't pass VPN traffic even on EP4D) then CIFS would be completely sick as hell no matter where you werre.
Anyways, here is how I do it it. There are other ways to do this. This particular way is cool because it allows a simple way to restore CIFS's settings when you change ROMs or wipe, etc.
This is assuming you are using IMO 4.0 kernel and that you have root.
Have fun! Let me know if you have success or need help.
1. Go to Terminal Emulator and type "su", then "cifs enable"
2. Install Busybox 1.18.2
3. Copy cifs.ko and slow-work.ko modules into a folder called "cifs" on the SD card (these can be put anywhere, I just prefer the SD card because its fast and easy)
4. Install CIFS Manager
5. In CIFS Manager settings, check "Loads cifs module" and "Load via Insmod" checkboxes
6. In CIFS Manager settings, type "/sdcard/cifs/slow-work.ko:/sdcard/cifs/cifs.ko" into the the "Path to cifs.ko[:<modpath>]*" field.
7. In CIFS Manager, create a new share and enter the fields- example with computer IP address of 192.168.1.100 with network share called "share" and computer username and password "user" and "password" respectively.:
Share Path:
192.168.1.100/share
Mount Point:
/mnt/sdcard/convert
Username:
user
Password:
password
8. Save Share and restart phone
9. In CIFS Manager, click on a share to mount it
10. Profit!
Note that there is a module in /system/modules called bcm4329.ko that Imoseyon added to the kernel. I don't actually recall where I got my cifs.ko and slow-work.ko modules, but they were advertised for Froyo, possibly for the Galaxy S phone. I would be happy to provide the files if anyone is interested.
Note that the slow-work.ko module likely must be typed into the field first in Step 6.
Major cool. Thanks.
I'm searching for the cifs.ko and slow-work.ko modules now. When I find versions that work I'll go ahead and post them here. However, since you already have working versions it'd be great if you went ahead and posted them in case I can't find ones that work.
Actually, I just turned used the "CIFS enable" command as SU in terminal emulator and I'm now able to use CIFS Manager to mount stuff. I'm now trying to get Mount Manager to work as it appears to be able to automatically mount and unmount when you connect to a wireless network.
As you say, a working VPN solution would tie all this up in a nice bow....
Thanks again.
Interesting, I'm curious how you got it to mount without the modules. I recall getting "No Such Device" when mounting indicating the the kernel doesn't support it unless I point to the slow-work.ko and cifs.ko modules.
Can you describe what you did you get it working without using the modules?
Thanks
The ones I use:
http://www.megaupload.com/?d=IFOUQS9T
The GB ones that I haven't really used:
http://www.megaupload.com/?d=456718D0
By the way, PPTP works fine on ICS. I tested it on the Galaxy Nexus. I don't know about CIFS support on the Galaxy Nexus though.
Absolutely nothing.
I'm using danalo1979's easy all in one odin. I simply opened a terminal emulator, typed SU and then typed "CIFS enable". Upon a reboot I was able to access the share using CIFSManger. Still haven't messed with Mount Manager to automate the remounts.
Probably a long shot, given that the Infinity hasn't been out long yet, but does anyone have a cifs.ko kernel module that can be used with CIFS manager?
I've tried a few I've found for kernel 2.6.39.4. So far, they either fail or cause reboot.
Currently using the latest OTA 9.4.5.22 with kernel 2.6.39.4-00003
Thanks!
hi!
same same TF700T behaviour.
Also looking for mk4.ko and cifs.ko files for Infinity.
Currently version I have: (not very optymistic
1. Terminal Emulator
2. su -
3. insmod /system/lib/modules/cifs.ko (or mk4.lp) = reboot :/
-------EDIT, solution found:
http://forum.xda-developers.com/showthread.php?p=32450851#post32450851
I put instructions in the CROMI thread
sbdags said:
I put instructions in the CROMI thread
Click to expand...
Click to collapse
With CROMI and my kernel, you don't need to load any modules at all.
_that said:
With CROMI and my kernel, you don't need to load any modules at all.
Click to expand...
Click to collapse
I know it's an old thread but accutally I'm on CROMI-X (last version) and with your kernel v2 or v3 cifsmanager seems to works well but the mount point folder are "empty" . Before on CROMI all was ok. I tried different manager and application.
oM4Uo said:
I know it's an old thread but accutally I'm on CROMI-X (last version) and with your kernel v2 or v3 cifsmanager seems to works well but the mount point folder are "empty" . Before on CROMI all was ok. I tried different manager and application.
Click to expand...
Click to collapse
Android 4.2 has per-app mounts. It still works fine if you mount via adb shell.
_that said:
Android 4.2 has per-app mounts. It still works fine if you mount via adb shell.
Click to expand...
Click to collapse
Yes but that requires a separate machine. There is a method of doing this but it requires some further kernel edits. I will see if I can dig up the post.
sbdags said:
Yes but that requires a separate machine.
Click to expand...
Click to collapse
We're talking about a network filesystem, you have a separate machine anyway.
_that said:
We're talking about a network filesystem, you have a separate machine anyway.
Click to expand...
Click to collapse
Not necessarily I have a net drive that is standalone that I access