FORUMS
Remove All Ads from XDA

[MODULES][Xperia S] NLS_UTF8 | NTFS | TUN/TAP | CPU Governors

13,194 posts
Thanks Meter: 39,783
 
Post Reply Email Thread
[ info ]

so since the kernel sources are now out (atleast for the Xperia NX) till we get kernel sorted out i think this should be useful for some users...

these are build using the vermagic based on this screenshot:



i am providing the kernel modules for:
NLS_UTF8 - Native Language Support UTF8
NTFS support - support to mount NTFS formatted drives/devices
TUN/TAP support - VPN support (more info here)
CPU Governor: Interactive - from pyramid-bricked-kernel by showp1984
CPU Governor: SmartAssV2 - SMP MSM8x60 support by faux123 from pyramid-bricked-kernel by showp1984
CPU Governor: MinMax - from pyramid-kernel by LeeDroid-
CPU Governor: SmartAss - SMP MSM8x60 support by faux123 from pyramid-kernel by LeeDroid-

for info on what CPU Governors are read this


[ requirements ]
  1. rooted device
  2. busybox installed
  3. adb access via PC/terminal emulator app



[ how to install ]
  1. download the modules u want and save on sdcard
  2. start adb shell on PC or use terminal emulator app
  3. execute the following commands at shell
    Code:
    su
    busybox insmod /sdcard/modulename.ko
  4. where modulename is the name of the module u want activated
  5. hopefully u shouldnt get any errors/outputs
  6. now check if the module is properly working/live
    Code:
    su
    busybox lsmod
  7. it show now give output of module name followed by word "Live"
  8. thats it!
  9. enjoy the module of ur choice!


if u want these modules to be autoloaded at startup u can now create an init.d script for the same!

be sure to first flash the init.d support: http://forum.xda-developers.com/show....php?t=1547238



[ donations/device fund ]

i dont yet have this device but i plan to buy it.... if u guys want to donate to me to get this device OR if u feel that this work has helped u OR u think that the work i put into making this is worthy of donations, then click on the following link for buying me some coffee/beer/etc

i am currently channeling all my donations to get this phone asap and to avoid selling my ARC!!!


PAYPAL DONATION LINK



[ download link ]

NLS_UTF8
MD5HASH: 720e137e1698a95f2b86825c0311ff75


NTFS
MD5HASH: d1761a11634ba304a25e7a56c1635e77


TUN/TAP
MD5HASH: 03bda2927114fb892a82e09bccf6617c


CPU Governor: Interactive
MD5HASH: 29b3458ef19c60c7200fba02863d3fcb


CPU Governor: SmartAssV2
MD5HASH: 977720659947fda3e721075f9323a86d


CPU Governor: MinMax
MD5HASH: 29cfcba76e126b3ab155b8112a6cc6be


CPU Governor: SmartAss
MD5HASH: aa0c9d90284190b7659ca59bf389b95d



since i dont yet have device with me i cant test out if these work properly... please test out and report back!


if u guys need any other modules let me know
The Following 13 Users Say Thank You to DooMLoRD For This Useful Post: [ View ] Gift DooMLoRD Ad-Free
15th March 2012, 12:24 AM |#2  
DooMLoRD's Avatar
OP Inactive Recognized Developer
Flag Pune
Thanks Meter: 39,783
 
Donate to Me
More
I will start adding modules for CPU governors soon!!!

Sent from my LT18i using XDA
The Following 10 Users Say Thank You to DooMLoRD For This Useful Post: [ View ] Gift DooMLoRD Ad-Free
15th March 2012, 10:23 PM |#3  
DooMLoRD's Avatar
OP Inactive Recognized Developer
Flag Pune
Thanks Meter: 39,783
 
Donate to Me
More
Exclamation UPDATE!
added new modules:

CPU Governors
  • Interactive - from pyramid-bricked-kernel by showp1984
  • SmartAssV2 - SMP MSM8x60 support by faux123 from pyramid-bricked-kernel by showp1984
  • MinMax - from pyramid-kernel by LeeDroid-
  • SmartAss - SMP MSM8x60 support by faux123 from pyramid-kernel by LeeDroid-

for info on what CPU Governors are read this


download links & how to install at first post


these are untested kindly test them out and let me know asap!
The Following 3 Users Say Thank You to DooMLoRD For This Useful Post: [ View ] Gift DooMLoRD Ad-Free
16th March 2012, 05:57 AM |#4  
kazuni's Avatar
Senior Member
Flag Hong Kong
Thanks Meter: 213
 
More
Thanks a lot DooMLoRD, worked well with init script !

howver i encountered a very weird problem:

# ls
ls
tun.ko
ntfs.ko
nls_utf8.ko
cpufreq_smartass22.ko
cpufreq_smartass.ko
cpufreq_minmax.ko
cpufreq_interactive.ko
# insmod cpufreq_smartass2.ko
insmod cpufreq_smartass2.ko
insmod: init_module 'cpufreq_smartass2.ko' failed (No such file or directory)
# insmod tun.ko
insmod tun.ko
# insmod ntfs.ko
insmod ntfs.ko
# insmod nls_utf8.ko
insmod nls_utf8.ko
# insmod cpufreq_minmax.ko
insmod cpufreq_minmax.ko
# insmod cpufreq_interative.ko
insmod cpufreq_interative.ko
insmod: can't open 'cpufreq_interative.ko'

as u can see from ls the files are there. wonder why it's not picking up the modules?

---------- Post added at 11:55 AM ---------- Previous post was at 11:53 AM ----------

I've tried using absolute path, it gives a different error:

su
busybox insmod /mnt/sdcard/xps_modules/cpufreq_interactive.ko
insmod: can't insert '/mnt/sdcard/xps_modules/cpufreq_interactive.ko': unknown symbol in module, or unknown parameter

---------- Post added at 11:57 AM ---------- Previous post was at 11:55 AM ----------

I've tried using absolute path, it gives a different error:

su
busybox insmod /mnt/sdcard/xps_modules/cpufreq_interactive.ko
insmod: can't insert '/mnt/sdcard/xps_modules/cpufreq_interactive.ko': unknown symbol in module, or unknown parameter
16th March 2012, 02:07 PM |#5  
DooMLoRD's Avatar
OP Inactive Recognized Developer
Flag Pune
Thanks Meter: 39,783
 
Donate to Me
More
Quote:
Originally Posted by kazuni

Thanks a lot DooMLoRD, worked well with init script !

howver i encountered a very weird problem:

# ls
ls
tun.ko
ntfs.ko
nls_utf8.ko
cpufreq_smartass22.ko
cpufreq_smartass.ko
cpufreq_minmax.ko
cpufreq_interactive.ko
# insmod cpufreq_smartass2.ko
insmod cpufreq_smartass2.ko
insmod: init_module 'cpufreq_smartass2.ko' failed (No such file or directory)
# insmod tun.ko
insmod tun.ko
# insmod ntfs.ko
insmod ntfs.ko
# insmod nls_utf8.ko
insmod nls_utf8.ko
# insmod cpufreq_minmax.ko
insmod cpufreq_minmax.ko
# insmod cpufreq_interative.ko
insmod cpufreq_interative.ko
insmod: can't open 'cpufreq_interative.ko'

as u can see from ls the files are there. wonder why it's not picking up the modules?

---------- Post added at 11:55 AM ---------- Previous post was at 11:53 AM ----------

I've tried using absolute path, it gives a different error:

su
busybox insmod /mnt/sdcard/xps_modules/cpufreq_interactive.ko
insmod: can't insert '/mnt/sdcard/xps_modules/cpufreq_interactive.ko': unknown symbol in module, or unknown parameter

---------- Post added at 11:57 AM ---------- Previous post was at 11:55 AM ----------

I've tried using absolute path, it gives a different error:

su
busybox insmod /mnt/sdcard/xps_modules/cpufreq_interactive.ko
insmod: can't insert '/mnt/sdcard/xps_modules/cpufreq_interactive.ko': unknown symbol in module, or unknown parameter


so interactive module is the only one giving issues?

can u post dmesg?
The Following 2 Users Say Thank You to DooMLoRD For This Useful Post: [ View ] Gift DooMLoRD Ad-Free
16th March 2012, 07:52 PM |#6  
Senior Member
Thanks Meter: 398
 
More
Quote:
Originally Posted by DooMLoRD

so interactive module is the only one giving issues?
can u post dmesg?

Nope, all CPU governor modules besides minmax are failed.

<4>[26283.872145] cpufreq_interactive: Unknown symbol __put_task_struct (err 0)
<4>[26283.872754] cpufreq_interactive: Unknown symbol sched_setscheduler_nocheck
(err 0)
<4>[26283.873596] cpufreq_interactive: Unknown symbol nr_running (err 0)
<6>[26289.090458] cpufreq: cpu 1 is not active.
<4>[26289.556946] cpufreq_interactive: Unknown symbol __put_task_struct (err 0)
<4>[26289.557479] cpufreq_interactive: Unknown symbol sched_setscheduler_nocheck
(err 0)
<4>[26289.558689] cpufreq_interactive: Unknown symbol nr_running (err 0)
<4>[26317.921173] cpufreq_smartass2: Unknown symbol nr_running (err 0)
<6>[26331.490507] cpufreq: cpu 1 is not active.
<4>[26339.682453] cpufreq_smartass2: Unknown symbol nr_running (err 0)
<4>[26379.330527] cpufreq_smartass: Unknown symbol nr_running (err 0)
The Following User Says Thank You to mankindtw For This Useful Post: [ View ] Gift mankindtw Ad-Free
16th March 2012, 09:04 PM |#7  
DooMLoRD's Avatar
OP Inactive Recognized Developer
Flag Pune
Thanks Meter: 39,783
 
Donate to Me
More
Quote:
Originally Posted by mankindtw

Nope, all CPU governor modules besides minmax are failed.

[26283.872145] cpufreq_interactive: Unknown symbol __put_task_struct (err 0)
[26283.872754] cpufreq_interactive: Unknown symbol sched_setscheduler_nocheck
(err 0)
[26283.873596] cpufreq_interactive: Unknown symbol nr_running (err 0)
[26289.090458] cpufreq: cpu 1 is not active.
[26289.556946] cpufreq_interactive: Unknown symbol __put_task_struct (err 0)
[26289.557479] cpufreq_interactive: Unknown symbol sched_setscheduler_nocheck
(err 0)
[26289.558689] cpufreq_interactive: Unknown symbol nr_running (err 0)
[26317.921173] cpufreq_smartass2: Unknown symbol nr_running (err 0)
[26331.490507] cpufreq: cpu 1 is not active.
[26339.682453] cpufreq_smartass2: Unknown symbol nr_running (err 0)
[26379.330527] cpufreq_smartass: Unknown symbol nr_running (err 0)

i am not really an expert in creating modules but this all will be fixed when we make custom kernel

Sent from my HTC Flyer P510e using XDA
The Following User Says Thank You to DooMLoRD For This Useful Post: [ View ] Gift DooMLoRD Ad-Free
19th March 2012, 03:22 PM |#8  
Junior Member
Thanks Meter: 1
 
More
I want to make a init script for the ntfs.ko

But i cant get it to work, help?
19th March 2012, 06:11 PM |#9  
Senior Member
Flag Taipei , Taiwan
Thanks Meter: 38
 
More
Quote:
Originally Posted by DooMLoRD

if u guys need any other modules let me know [/B][/I]

Can we have the "CIFS Modules"

Thank you
19th March 2012, 07:35 PM |#10  
DooMLoRD's Avatar
OP Inactive Recognized Developer
Flag Pune
Thanks Meter: 39,783
 
Donate to Me
More
Quote:
Originally Posted by maxx228

Can we have the "CIFS Modules"

Thank you

from what i saw in the defconfig CIFS is already enabled in stock kernel
The Following User Says Thank You to DooMLoRD For This Useful Post: [ View ] Gift DooMLoRD Ad-Free
20th March 2012, 03:20 AM |#11  
kazuni's Avatar
Senior Member
Flag Hong Kong
Thanks Meter: 213
 
More
Quote:
Originally Posted by lorddusk

I want to make a init script for the ntfs.ko

But i cant get it to work, help?

Yeah I have problems using the init.d script as well...

Sent from my LT26i using xda premium
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes