Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

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

OP NielDK

27th May 2011, 12:04 PM   |  #21  
DooMLoRD's Avatar
Recognized Developer
Flag Noida
Thanks Meter: 39,008
 
13,124 posts
Join Date:Joined: Jul 2010
Quote:
Originally Posted by NielDK

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
27th May 2011, 02:25 PM   |  #22  
FrAsErTaG's Avatar
Senior Member
Flag Canberra
Thanks Meter: 1,084
 
1,352 posts
Join Date:Joined: May 2009
Donate to Me
More
I can confirm this is working no worries on new update

Sent from my R800i using XDA Premium App
17th June 2011, 03:47 PM   |  #23  
ncaissie's Avatar
Senior Member
Thanks Meter: 19
 
575 posts
Join Date:Joined: May 2011
More
Does this require a rooted play?
17th June 2011, 04:02 PM   |  #24  
FrAsErTaG's Avatar
Senior Member
Flag Canberra
Thanks Meter: 1,084
 
1,352 posts
Join Date:Joined: May 2009
Donate to Me
More
Quote:
Originally Posted by ncaissie

Does this require a rooted play?

Yes

Sent from my R800i using XDA Premium App
20th August 2011, 02:43 AM   |  #25  
Nhialor's Avatar
Senior Member
Flag Dublin, Ireland, Ireland
Thanks Meter: 57
 
866 posts
Join Date:Joined: Jun 2009
More
Quote:
Originally Posted by NielDK

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 :)
20th August 2011, 03:29 AM   |  #26  
Nhialor's Avatar
Senior Member
Flag Dublin, Ireland, Ireland
Thanks Meter: 57
 
866 posts
Join Date:Joined: Jun 2009
More
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...!
20th August 2011, 05:54 AM   |  #27  
Junior Member
Thanks Meter: 0
 
27 posts
Join Date:Joined: Jan 2011
More
tq it's work!
28th August 2011, 11:58 AM   |  #28  
Recognized Developer
Thanks Meter: 376
 
394 posts
Join Date:Joined: 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:
insmod /system/lib/modules/slow-work.ko
insmod /system/lib/modules/tun.ko

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

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!
1st September 2011, 08:18 AM   |  #29  
Junior Member
Thanks Meter: 1
 
25 posts
Join Date:Joined: 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!
Last edited by curiousde2002; 1st September 2011 at 08:32 AM.
1st September 2011, 08:32 AM   |  #30  
NielDK's Avatar
OP Retired Forum Modertor / Recognized Developer
Flag Farum
Thanks Meter: 102
 
476 posts
Join Date:Joined: Jul 2008
Donate to Me
More
Quote:
Originally Posted by curiousde2002

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: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes