Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,742,143 Members 52,333 Now Online
XDA Developers Android and Mobile Development Forum

[DEV]TUN, CIFS modules (UPDATE EXP. 4.0.A.2.364)

Tip us?
 
DooMLoRD
Old
#21  
DooMLoRD's Avatar
Recognized Developer
Thanks Meter 38008
Posts: 13,045
Join Date: Jul 2010
Location: Noida
Quote:
Originally Posted by NielDK View Post
Modules are compiled for 2.6.32.9 kernel. From Sony Ericsson available sources. Baseband doesn't matter to my knowledge.

Sent from my R800i using XDA Premium App
actually it does!

we have a module for x10 (undervolt module) and it is specific to baseband:
http://forum.xda-developers.com/show....php?t=1061691
 
FrAsErTaG
Old
#22  
FrAsErTaG's Avatar
Senior Member
Thanks Meter 1080
Posts: 1,352
Join Date: May 2009
Location: Canberra

 
DONATE TO ME
I can confirm this is working no worries on new update

Sent from my R800i using XDA Premium App
If you found my post helpful please click the thank you or donate button.

 
ncaissie
Old
#23  
ncaissie's Avatar
Senior Member
Thanks Meter 19
Posts: 575
Join Date: May 2011
Does this require a rooted play?
 
FrAsErTaG
Old
#24  
FrAsErTaG's Avatar
Senior Member
Thanks Meter 1080
Posts: 1,352
Join Date: May 2009
Location: Canberra

 
DONATE TO ME
Quote:
Originally Posted by ncaissie View Post
Does this require a rooted play?
Yes

Sent from my R800i using XDA Premium App
If you found my post helpful please click the thank you or donate button.

 
Nhialor
Old
#25  
Nhialor's Avatar
Senior Member
Thanks Meter 57
Posts: 866
Join Date: Jun 2009
Location: Dublin, Ireland, Ireland
Quote:
Originally Posted by NielDK View Post
Compiled tun.ko, cifs.ko and slow-work.ko modules for our Xperia Play.

unzip the attached file and

adb push tun.ko /sdcard/
adb push slow-work.ko /sdcard/
adb push cifs.ko /sdcard/
adb shell
su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock0 /system
cp /sdcard/tun.ko /system/lib/modules/
cp /sdcard/slow-work.ko /system/lib/modules/
cp /sdcard/cifs.ko /system/lib/modules/
cd /system/lib/modules/
chmod 644 tun.ko
chmod 644 slow-work.ko
chmod 644 cifs.ko
insmod tun.ko
insmod slow-work.ko
insmod cifs.ko

to mount a share (example, use your own parameters):
# mount -t cifs -o username=USER,password=PASSWORD //192.168.1.5/music /sdcard/music


Or use cifs manager from Market
CIFS Manager


GSCRIPT VERSION by FrAsErTaG
Link: click here


Instructions:
1) if you already use gscript skip to step 3
2) install gscript from market, create a folder on sdcard called gscript
3) extract files from archive to gscript folder on sdcard
4) load gscript press menu, select add script, then select load script
5) MAKE SURE SU is ticked, then run script
6) Enjoy streaming mp3's and avi's from your home/work pc's to your phone
7) Click the thank you button for FrAsErTaG for the gscript.



ADDED! New modules for firmware 4.0.A.2.364 for testing. Input is needed from ARC/NEO/PLAY if it is working, as I only have the Play, and no new firmware ..
testing atm, btw, you might wanna add in the updated instructions for the new modules...i just guessed what to do, will report back with what happens :)
Devices:

Samsung Galaxy Nexus
HP Touchpad - CM9 - Ice Cream Sandwich
 
Nhialor
Old
#26  
Nhialor's Avatar
Senior Member
Thanks Meter 57
Posts: 866
Join Date: Jun 2009
Location: Dublin, Ireland, Ireland
CifsManager doesn't work for me, keeps saying can't find folder, have it set up correctly, went back to using ES File Explorer to stream videos...!
Devices:

Samsung Galaxy Nexus
HP Touchpad - CM9 - Ice Cream Sandwich
 
veL17
Old
#27  
Junior Member
Thanks Meter 0
Posts: 27
Join Date: Jan 2011
tq it's work!
 
viulian
Old
#28  
Recognized Developer
Thanks Meter 371
Posts: 394
Join Date: Apr 2011

 
DONATE TO ME
GScript solution is cumbersome for me (when I want to start OpenVPN, I would always have to execute the script before to load the two modules - too many clicks!).

I created the following wrapper script:

Code:
Select Code
insmod /system/lib/modules/slow-work.ko
insmod /system/lib/modules/tun.ko

/system/xbin/openvpn_orig $*
To create it:

Code:
Select Code
cd /system/xbin
mv openvpn openvpn_orig
vi openvpn # here paste the content above and save
chmod 755 openvpn
I have configured OpenVPN settings NOT to load tun module by default, and now everything works and modules get loaded every time I start the connection.

Hope it helps!
 
curiousde2002
Old
(Last edited by curiousde2002; 1st September 2011 at 07:32 AM.)
#29  
Junior Member
Thanks Meter 1
Posts: 17
Join Date: Aug 2009
Hi
I am looking for the tun.ko module only as I want to use VPNC widget to access my company's network via a cisco VPN.
I have an xperia neo, standard ROM 2.3.3, root, locked bootloader and build 4.0.A.2.368, Kernel-Version 2.6.32.9-perf.
It is a german version.
Can I try this tun.ko which is for the xperia play without ruining my system and if so how can I do this?
As an Android newcomer I would need some detailed instruction as I only dealt with windows and windows mobile so far.

Thank you very much in advance!
 
NielDK
Old
#30  
NielDK's Avatar
Retired Forum Modertor / Recognized Developer - OP
Thanks Meter 102
Posts: 474
Join Date: Jul 2008
Location: Farum

 
DONATE TO ME
Quote:
Originally Posted by curiousde2002 View Post
Hi
I am looking for the tun.ko module only as I want to use VPNC widget to access my company's network via a cisco VPN.
I have an xperia neo, standard ROM 2.3.3, root, locked bootloader and build 4.0.A.2.368, Kernel-Version 2.6.32.9-perf.
It is a german version.
Can I try this tun.ko which is for the xperia play without ruining my system and if so how can I do this?
As an Android newcomer I would need some detailed instruction as I only dealt with windows and windows mobile so far.
Just use this tun.ko, it should work for Neo also. It wont impose any ruining.
Follow instructions in first post.

But I believe CISCO vpn works without this module. It is most for openvpn.
You can try search market for cisco vpn.


Sent from my GT-I9100 using xda premium

The Following User Says Thank You to NielDK For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes