Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
zerod78
Old
(Last edited by zerod78; 23rd April 2012 at 12:44 PM.) Reason: Updating new tun kernel module
#1  
zerod78's Avatar
Junior Member - OP
Thanks Meter 15
Posts: 25
Join Date: Mar 2012
Location: Singapore
Exclamation kernel module for rooted Tablet S ( 2.6.36.3 ) - CIFS, NTFS, TUN, bash 4.2 n MORE

Hi all,

This thread is to share the kernel module for rooted Sony Tablet S. I think it would be much useful to post all the zips in 1st post..

Requirement:
Condi's rooted solution on ur Tablet S. Instructions here

So now we have the below:
2.6.36.3 Kernel Modules :
- CIFS (and u can mount any LAN Network shared drives to your Tablet S and watch movies or listen musics.) Updated version has /proc/fs/cifs/Stats
- NTFS (mount a USB external drive using OTG cable; pretty obvious filesystem by the name )
- TUN (/dev/tun device for OpenVPN usage.)
- USB Serial ( cp210x, ftdi_sio and oti6858 ) --- NEW

Shell binaries :
- bash 4.1 (with bash configuration files. bash binary is changed to auto read from /data/local/bash for bashrc file ) [ Updated to version 4.2 ]


MD5SUM is as below:

5cd998c7d5f3d7b3e86fb1a46abec6e5 Sony_tablet_S-CIFS_module.zip
6e4b692028461d39fe9c2b291f6a9943 bash-4.1.zip
(OLD builds )

2ad1a2335b8cbd1f7d67b8686af67e48 Sony_tablet_S-CIFS_module_new.zip
fd461c462ca55982d60a274eb04565b5 Sony_tablet_S-NTFS-rw_module.zip
84b11ec49d21d62e1c90155f6b264cb0 bash-4.2.zip
d9859110c52e0a0e923f11564edf35b7 bash_cfg.zip
9b4e4e4505bc5916923b940a46b2e38a Sony_tablet_S-TUN_module.zip
3b97d4291cf7c213b5806b7c574a4475 Sony_tablet_S-USB_Serial_modules.zip


The steps are only manual way to insert the kernel module; automation is up to you. To automate this upon boot, i guess u can put it into init.d or somewhere im not sure.

If you need some kernel modules particular to 2.6.36.3 rooted, let me know.

have fun!

----------------------------------------------------------------

Kernel Module deploy instructions:
1) adb push <module_name>.ko /data/local/tmp
2) adb shell
$ su
# mount -o rw,remount -t ext4 /dev/block/mmcblk0p2 /system
# cp /data/local/tmp/<module_name>.ko /system/lib/modules/<module_name>.ko
# insmod /system/lib/modules/<module_name>.ko

To verify:
# lsmod
(You will see the module_name listed. )

-------------------------------------------------------------------------

bash shell deploy instructions:
1) adb push bash /data/local/tmp
2) adb push bash_cfg.zip /data/local/tmp
3) adb shell
$ su
# mkdir /data/local/bash
# chmod 775 /data/local/bash
# chgrp 2000 /data/local/bash
# cd /data/local/bash
# unzip /data/local/tmp/bash_cfg.zip
# chmod 755 /data/local/tmp/bash
# cp /data/local/tmp/bash /system/xbin/bash

Now, u can type bash at your prompt and you will see the below:
[localhost /data/local/tmp/new_bin]#
The Following 9 Users Say Thank You to zerod78 For This Useful Post: [ Click to Expand ]
 
norberto_
Old
#2  
Senior Member
Thanks Meter 19
Posts: 134
Join Date: Jun 2010
Overclock module possible?
 
condi
Old
#3  
Senior Member
Thanks Meter 743
Posts: 639
Join Date: Feb 2007

 
DONATE TO ME
Quote:
Originally Posted by zerod78 View Post
attached is the kernel module cifs.ko for Sony Tablet S.
Thank you! Will check kernel modules things..

Quote:
Originally Posted by norberto_ View Post
Overclock module possible?
The same I thought
I will check it, if everything will gonna work ok,
then it will be added to AiO as one-click solution.

br
condi
Sony Tablet S/P/Xperia:
NEW! S.onyTablet.S v6.2 [ALLinONE] - root for ICS, JB!
S.onyTablet.S v3.0 [FLASHER]
[FW R5A WIFI/3G] NEW! custom preROOTed newest stock nbx03 R5A with R1A's recovery!

Files mirror - My Google Drive

If u found this post useful, click on the 'thanks' button...
Like my work? Feel free to buy a pack of pampers for my baby
The Following 2 Users Say Thank You to condi For This Useful Post: [ Click to Expand ]
 
zerod78
Old
#4  
zerod78's Avatar
Junior Member - OP
Thanks Meter 15
Posts: 25
Join Date: Mar 2012
Location: Singapore
Quote:
Originally Posted by norberto_ View Post
Overclock module possible?
Not in this current kernel as its compiled as built-in. However custom kernels in future should allow OC. Need time to look into.
The Following User Says Thank You to zerod78 For This Useful Post: [ Click to Expand ]
 
norberto_
Old
#5  
Senior Member
Thanks Meter 19
Posts: 134
Join Date: Jun 2010
NTFS Support for external drives?

---------- Post added at 06:00 PM ---------- Previous post was at 05:59 PM ----------

Quote:
Originally Posted by zerod78 View Post
Not in this current kernel as its compiled as built-in. However custom kernels in future should allow OC. Need time to look into.
damn
I thought it is possible, because ia have seen this kind of modules for other devices.
 
zerod78
Old
(Last edited by zerod78; 22nd March 2012 at 02:16 PM.) Reason: adding NTFS rw kernel module
#6  
zerod78's Avatar
Junior Member - OP
Thanks Meter 15
Posts: 25
Join Date: Mar 2012
Location: Singapore
Quote:
Originally Posted by norberto_ View Post
NTFS Support for external drives?

---------- Post added at 06:00 PM ---------- Previous post was at 05:59 PM ----------



damn
I thought it is possible, because ia have seen this kind of modules for other devices.
Those are already having bootloader cracked. would need more info from Condi abt that on our tablet and the possibilities.

Btw, heres the NTFS rw kernel module.

<6>[96479.498359] NTFS driver 2.1.29 [Flags: R/W MODULE].

# lsmod
ntfs 194248 0 - Live 0xbf03e000

<refer to 1st post for files and deploy instructions>
 
norberto_
Old
#7  
Senior Member
Thanks Meter 19
Posts: 134
Join Date: Jun 2010
Quote:
Originally Posted by zerod78 View Post
Those are already having bootloader cracked. would need more info from Condi abt that on our tablet and the possibilities.

Btw, heres the NTFS rw kernel module.

<6>[96479.498359] NTFS driver 2.1.29 [Flags: R/W MODULE].

# lsmod
ntfs 194248 0 - Live 0xbf03e000

MD5SUM :
fd461c462ca55982d60a274eb04565b5 Sony_tablet_S-NTFS-rw_module.zip
NTFS module is live for me too but when i connect my NTFS formatted pendrive the tablet tells me blank USB device.
Is there any other commands to mount the ntfs drive?
 
zerod78
Old
#8  
zerod78's Avatar
Junior Member - OP
Thanks Meter 15
Posts: 25
Join Date: Mar 2012
Location: Singapore
Quote:
Originally Posted by norberto_ View Post
NTFS module is live for me too but when i connect my NTFS formatted pendrive the tablet tells me blank USB device.
Is there any other commands to mount the ntfs drive?
Does it appear in the mount cmd output? Mounting it manually with '-t ntfs' would be required i feel...

adb shell
$su
# busybox mount

what does your screen show?
 
condi
Old
#9  
Senior Member
Thanks Meter 743
Posts: 639
Join Date: Feb 2007

 
DONATE TO ME
Quote:
Originally Posted by zerod78 View Post
Does it appear in the mount cmd output? Mounting it manually with '-t ntfs' would be required i feel...

adb shell
$su
# busybox mount

what does your screen show?
Maybe you could achieve automount when inserted by changing vold/svold.fstab?
Sony Tablet S/P/Xperia:
NEW! S.onyTablet.S v6.2 [ALLinONE] - root for ICS, JB!
S.onyTablet.S v3.0 [FLASHER]
[FW R5A WIFI/3G] NEW! custom preROOTed newest stock nbx03 R5A with R1A's recovery!

Files mirror - My Google Drive

If u found this post useful, click on the 'thanks' button...
Like my work? Feel free to buy a pack of pampers for my baby
 
zerod78
Old
#10  
zerod78's Avatar
Junior Member - OP
Thanks Meter 15
Posts: 25
Join Date: Mar 2012
Location: Singapore
Quote:
Originally Posted by condi View Post
Maybe you could achieve automount when inserted by changing vold/svold.fstab?
Yeah i was looking at that earlier and on further search it seems possible with patched vold here

Not 100% sure if its the same software but i guess it should be... I do not have a spare sdcard to format into ntfs and still awaiting for my OTG cable to arrived before i can test that.

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Go to top of page...