Go Back   Android Forums > Android Development > Developer Forums > Virtuous

Get excited for the Samsung Galaxy S5! Find everything you need and discuss it in our Galaxy S5 Forum!

test: Reply
 
LinkBack Thread Tools
Old December 2nd, 2010, 07:26 AM   #1 (permalink)
New Member
Thread Author (OP)
 
Join Date: Oct 2010
Posts: 9
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 4 Times in 2 Posts
Default cifs.ko + tun.ko + nls_utf8.ko for stock 2.6.32.17-g9a2fc16 kernel

I compiled these from the latest source on developer.htc.com so I could use vpn & samba/cifs file sharing on my home network.

I thought I would post them in case anyone else likes the stock kernel included with 3.1.0 but needs these modules.

The cifs source was edited to remove any refs to slow_work, so it now works fine with the stock kernel. Watched an episode of Family Guy with no issues on my phone, so I consider cifs working. I recommend "cifs manager" for mounting/unmounting the shares & loading the module with insmod.

Also, make sure you unmount your shares when you leave your network area. I did not, and when I tried to fire up astro or root explorer it would soft reboot my phone. Took me a few minutes to remember that they were last pointing to my cifs share, which was now unavailable. Doh.
Attached Files
File Type: zip modules_263217-g9a2fc16.zip (201.4 KB, 236 views)

ap42 is offline  
Reply With Quote
The Following 3 Users Say Thank You to ap42 For This Useful Post:
rockon83 (December 5th, 2010), Skorpios1027 (December 2nd, 2010)
sponsored links
Old December 5th, 2010, 01:37 PM   #2 (permalink)
Junior Member
 
Join Date: Sep 2010
Posts: 26
 
Device(s):
Carrier: Not Provided

Thanks: 1
Thanked 1 Time in 1 Post
Default

I can finally stream all my videos on my phone directly from my PC! Just pointed CIFSManager to the CIFS.KO, mounted my media folder onto my sd card, and can play from RockPlayer! Thank you!!
rockon83 is offline  
Reply With Quote
Old December 6th, 2010, 09:37 PM   #3 (permalink)
New Member
 
Join Date: Nov 2010
Posts: 10
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 2 Times in 1 Post
Default

This sounds like something I would love to do. Can you give a little more instruction on how to use insmod to install the modules? I see how the shares are created with the mount.sh file in the zip but am curious about how insmod works...

Thanks!!!
bmabry is offline  
Reply With Quote
Old December 7th, 2010, 09:44 AM   #4 (permalink)
New Member
Thread Author (OP)
 
Join Date: Oct 2010
Posts: 9
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 4 Times in 2 Posts
Default

I'm glad someone else finds it useful. Rockplayer + cifs turns the DInc into a great portable media player around the house. I just need to remember to turn off the share when I go to work to avoid the reboot issue when I open astro/root explorer.

bmabry - install CifsManager from the market. Open it. Hit menu button, then Settings. Turn on "Load cifs module". Turn on "Load via insmod". Set the path to where you put the cifs.ko module (I use /sdcard/cifs/263217/cifs.ko).

Now set up the shares. Menu->Add New Share.

Share path: 192.168.1.100/tv2 <your PCs IP/shareName>
Mount point: /sdcard/share/tv2 <I made a dir called share on my sdcard for this>
Username: guest <since I have simple shares from my PC - no password>
Save the share.

Press the share to activate it. If all is well, it will be mounted & you can browse to it with rockplayer/astro/etc and see your files.

I think that should set you up. The mount.sh is how I used to manually mount the dirs via "adb shell" before I had CifsManager set up.
ap42 is offline  
Reply With Quote
Old December 9th, 2010, 09:28 PM   #5 (permalink)
New Member
 
Join Date: Nov 2010
Posts: 10
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 2 Times in 1 Post
Default

This is great ap42! Thanks for the instructions! I plan to set it up this weekend and will let you know how it goes...

Thanks again!
bmabry is offline  
Reply With Quote
Old December 14th, 2010, 09:33 AM   #6 (permalink)
New Member
 
Join Date: Dec 2010
Posts: 1
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Nice job ap42! I used this with the newest Virtuous build 3.1.0 kernel 2.6.32.17-g9a2fc16 and tested both cifs.ko and tun.ko successfully. I used CifsManager to test SMB mounts and get-a-robot-vpnc to test VPN. Thanks for the good work!
radix is offline  
Reply With Quote
Old October 27th, 2011, 05:43 AM   #7 (permalink)
New Member
 
Join Date: Oct 2011
Posts: 1
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 1 Time in 1 Post
Default Also works on EVO stock 2.6.32.17-gee577fd [Thanks!]

I can confirm that these modules work on stock EVO kernel 2.6.32.17-gee577fd if the files are edited such that all occurrences of the string g9a2fc16 within all files ending in .ko are replaced with gee577fd (I used the "vi" editor on my EVO to adjust the .ko files, and it worked just fine!)

The editing is necessary to adjust the version strings of the modules so that they are compatible (in the eyes of the module loader) with the running kernel version (in this case 2.6.32.17-gee557fd).

Hope that helps someone somewhere...

Cheers,
-The--Captain
The--Captain is offline  
Reply With Quote
The Following User Says Thank You to The--Captain For This Useful Post:
Reply


Go Back   Android Forums > Android Development > Developer Forums > Virtuous
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 12:37 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.