6th July 2012, 11:17 AM
(Last edited by whirleyes; 27th November 2012 at 09:25 AM .)
Recognized Developer -
OP
Thanks Meter
1787
Posts: 832
Join Date: Aug 2007
DONATE TO ME
[KERNEL MODULE] Extra modules pack v0.1.3 (feat. overclock) [OMAP4 kernel 3.0.8]
Some extra kernel modules for you & me.
Modules :
Quote:
filesystem ntfs.ko (read/write support)
cifs.ko (with extra attributes)
kernel hacking symsearch.ko (Unexported symbol finder by Skrilax_CZ)
CPU scaling governor (back ported from other dev) cpufreq_interactiveX.ko [@] (interactiveX V2 governor by imoseyon)
early suspend support and hotplugging
cpufreq_hotplugX.ko [@] (hotplugX governor by imoseyon)
early suspend support and tweaks
cpufreq_smartass2.ko [@] (SmartassV2 governor by erasmux)
cpufreq_pegasusq.ko [@] (Samsung multi-core governor)
based on modification done by Gokhanmoral
cpufreq_boostedASSv2.ko [@] (a modified smartassv2 governor)
ported from BMc08GT
CPU/GPU frequency control cpu-control.ko [@] (Tweak CPU frequency & voltage to your like)
my 1st kernel module. based on milestone overclock & opptimizer.
I/O scheduler sio-iosched.ko (Simple IO scheduler)
based on Noop, Deadline and V(R) IO schedulers. In android world, simple is better
modules with [@] mark requires symsearch.ko to operate
These kernel module will work for most Motorola omap4 device. (kernel 3.0.8 only)
Disclaimer : I don't write all of these modules. Only make a few changes/tweak for it to work on our device. Enjoy!
Kernel version : 3.0.8
Kernel source : 67.42.17.XT910S.SKT.en.KR
Compiler setup : CodeSourcerey arm-2012.03-56-arm-none-eabi (-O2 optimization)
Build revision : Project Lense build *.*
Change logs:
Quote:
0.1.1
- Add Simple I/O scheduler.
0.1.2
- Recompile with -O2 flag. I notice some instability when using -O3 flag
- Tweaked sio scheduler
- Add tweaked pegasusq governor.
0.1.3
- Add cpu overclock/underclock module
- Add boostedASSv2 governor
Source code : Download link : extra_kernel_modules_0.1.3.zip - contains all the modules
init.d_n_governor_installer_0.1.3.zip - optional. init.d installer (load all modules to memory on startup).
Update : Add a preview of Tweakerz app.
- Include all kernel module. Module are loaded from app storage.(no install /alter system partition.)
- Load/unload kernel module on-the-fly (No save setting or set on boot option)
- Set CPU voltage/freq via GUI (No persist option yet)[/LIST]
XT909 : KAIZEN 0.1 - BMM 0.3.2
TF101 : PACman beta
-
www.projectlense.com -
The Following 71 Users Say Thank You to whirleyes For This Useful Post: [ Click to Expand ]
我顶你个肺隔膜 (19th April 2013),
1stichiban (15th April 2013),
a4t (30th July 2012),
alteredlikeness (9th August 2012),
Andrey G. (30th July 2012),
arohrmann (5th November 2012),
artur0588 (5th April 2013),
avalakvista (19th August 2012),
BADDINOROX99 (25th April 2013),
BigJArm (17th August 2012),
blackhawk_LA (17th October 2012),
bobka_rus (12th January 2013),
bogante (27th July 2012),
cogeary (31st July 2012),
cryonicjason (6th July 2012),
deathviper (4th January 2013),
demonshouter (2nd April 2013),
desertmod1 (8th February 2013),
DjBastard (5th August 2012),
dtrail1 (6th July 2012),
Faekie (7th December 2012),
farhanito (6th July 2012),
farshad525hou (11th August 2012),
FrAsErTaG (6th July 2012),
fsol (30th October 2012),
G2sws (28th July 2012),
HallOfSacrilege (7th July 2012),
heblu (21st November 2012),
HSD-Pilot (6th July 2012),
i3enz (10th August 2012),
J.Y.Daddy (27th July 2012),
Jack'O (9th October 2012),
kintwofan (27th July 2012),
kougloff (28th July 2012),
kulek (19th July 2012),
Leviathan26 (10th July 2012),
life isgood (16th October 2012),
lukensteinz (30th July 2012),
miewter (26th September 2012),
moofree (31st July 2012),
motopuk (19th August 2012),
mtnlion (8th December 2012),
Neomaxis (20th July 2012),
picz (25th December 2012),
Q9Nap (10th October 2012),
RAD7 (31st March 2013),
Ramdanih (6th July 2012),
reachking (10th September 2012),
RETIEF (7th August 2012),
RFrisch (7th February 2013),
scottdanpor (5th October 2012),
Serenedelusions (17th August 2012),
Shaffer678 (7th July 2012),
shardul.phatak (26th August 2012),
shev4enkostr (12th January 2013),
shoguevara (3rd November 2012),
socialx (11th August 2012),
spc_hicks09 (8th July 2012),
spryte (6th July 2012),
Sp_Ark (15th August 2012),
stebomurkn420 (29th August 2012),
sugwacee (28th August 2012),
surdu_petru (25th February 2013),
tbhall77 (7th July 2012),
teradaz (19th September 2012),
theZest (11th July 2012),
vervactor (6th July 2012),
vkass (28th July 2012),
wiltton (11th July 2012),
yuyuchen0204 (7th January 2013),
zzyfisher (26th November 2012)
6th July 2012, 11:18 AM
(Last edited by whirleyes; 27th July 2012 at 03:29 PM .)
Recognized Developer -
OP
Thanks Meter
1787
Posts: 832
Join Date: Aug 2007
DONATE TO ME
Easy Install method: (For init.d)
Quote:
Reboot to recovery
Install extra_kernel_modules_0.1.zip
Install init.d_n_governor_installer.zip (Thanks to core720)
Install guide for adding init.d script via Script Manager - SManager app
Quote:
1.Extract all *.ko files from extra_kernel_modules_0.1.2.zip to /system/lib/modules
2.Open Script Manager, Create new script / modify existing script
Code:
#!/system/bin/sh
insmod /system/lib/modules/symsearch.ko
insmod /system/lib/modules/cpufreq_interactiveX.ko
insmod /system/lib/modules/cpufreq_hotplugX.ko
insmod /system/lib/modules/cpufreq_smartass2.ko
insmod /system/lib/modules/cpufreq_pegasusq.ko
insmod /system/lib/modules/sio-iosched.ko
3.Save to /system/etc/init.d/
Q: How to load a cpufreq governor
Quote:
1.Load symsearch.ko
2.Load your choice of governor
3.Enable it
Code:
insmod /system/lib/modules/symsearch.ko
insmod /system/lib/modules/cpufreq_interactiveX.ko
echo interactivex > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
Q: What is the best cpu-freq governor
Quote:
maybe this will help you choose/tweak
Q: How to load cpu frequency/voltage (underclock/overclock)
Quote:
1.Load symsearch.ko
2.Load cpu_control.ko
Code:
insmod /system/lib/modules/symsearch.ko
insmod /system/lib/modules/cpu_control.ko
Q: How to change cpu frequency & voltage
Quote:
echo id frequency(Mhz) voltage(mV) > /proc/cpu_control/tweak_cpu
example :
Code:
echo 0 196 980 > /proc/cpu_control/tweak_cpu
echo 1 500 1195 > /proc/cpu_control/tweak_cpu
echo 2 750 1320 > /proc/cpu_control/tweak_cpu
echo 3 1000 1388 > /proc/cpu_control/tweak_cpu
echo 4 1350 1410 > /proc/cpu_control/tweak_cpu
ICS kernel default voltage&frequency table
Code:
Id Freq Volt(mV)
0 300 1025
1 600 1200
2 800 1325
3 1000 1388
4 1200 1398
GB kernel default voltage&frequency table
Code:
Id Freq Volt(mV)
0 300 1025
1 600 1200
2 800 1313
3 1000 1374
4 1200 1375
** voltage min : 830mV, max : 1410mV
More/Details about cpu_control.ko module
Quote:
To view ICS default frequency-voltage table
Code:
cat /proc/cpu_control/opp_table_default
To view current frequency-voltage table
Code:
cat /proc/cpu_control/opp_table_current
To view current CPU & GPU frequency
Code:
cat /proc/cpu_control/frequency_current
XT909 : KAIZEN 0.1 - BMM 0.3.2
TF101 : PACman beta
-
www.projectlense.com -
The Following 17 Users Say Thank You to whirleyes For This Useful Post: [ Click to Expand ]
aliuwr (6th October 2012),
Andrey G. (12th August 2012),
Archmag3 (1st October 2012),
artur0588 (5th April 2013),
chrisp6825 (12th September 2012),
DjBastard (5th August 2012),
paulnorinn (23rd November 2012),
Ramdanih (4th August 2012),
Ravikirancg (14th November 2012),
sad days (4th May 2013),
sevenup30 (20th August 2012),
shardul.phatak (5th March 2013),
shreyas.kukde (4th April 2013),
Sp_Ark (12th October 2012),
stebomurkn420 (29th August 2012),
theZest (13th September 2012),
vervactor (6th July 2012)
6th July 2012, 11:28 AM
Senior Member
Thanks Meter
148
Posts: 541
Join Date: Aug 2010
Location: Jakarta
Quote:
Originally Posted by
whirleyes
cpufreq governor install method
1.Load symsearch.ko
2.Load your choice of governor
3.Enable it
Code:
insmod /system/lib/modules/symsearch.ko
insmod /system/lib/modules/cpufreq_interactiveX.ko
echo interactivex > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
Will this survive a reboot Whirleyes?
______________________________________
HTC One X - coma
Nexus 4 - [ROM] CarbonRom [Kernel] Motley
Nexus 7 - [ROM] USB ROM [Kernel] M-Kernel
6th July 2012, 11:31 AM
Recognized Developer -
OP
Thanks Meter
1787
Posts: 832
Join Date: Aug 2007
DONATE TO ME
NO.. use init.d or custom init to have it persist.
I've upload new version of bootmenu with 2nd-init support today.
Just waiting for Google Play to start distributing it
XT909 : KAIZEN 0.1 - BMM 0.3.2
TF101 : PACman beta
-
www.projectlense.com -
The Following 5 Users Say Thank You to whirleyes For This Useful Post: [ Click to Expand ]
6th July 2012, 12:36 PM
Senior Member
Thanks Meter
789
Posts: 491
Join Date: Jul 2011
Location: Seoul
Awesome!
"67.42.17.XT910S.SKT.en.KR" is our Razr(Korea Razr).
is that kernel source has been opened?
Thanks for your work!
I'll try to test on my razr.
6th July 2012, 01:43 PM
Recognized Developer -
OP
Thanks Meter
1787
Posts: 832
Join Date: Aug 2007
DONATE TO ME
Quote:
Originally Posted by
J.Y.Daddy
Awesome!
"67.42.17.XT910S.SKT.en.KR" is our Razr(Korea Razr).
is that kernel source has been opened?
Thanks for your work!
I'll try to test on my razr.
see this thread for all link ..
ICS source code is now available!
XT909 : KAIZEN 0.1 - BMM 0.3.2
TF101 : PACman beta
-
www.projectlense.com -
The Following 2 Users Say Thank You to whirleyes For This Useful Post: [ Click to Expand ]
6th July 2012, 03:08 PM
Senior Member
Thanks Meter
445
Posts: 523
Join Date: Feb 2012
DONATE TO ME
good work
EPSILON PROJECT - Motorola Atrix - Motorola Razr - Samsung Galaxy S2 - Samsung Galaxy Note - Samsung Galaxy S3 - HTC One X
6th July 2012, 04:04 PM
Senior Member
Thanks Meter
445
Posts: 523
Join Date: Feb 2012
DONATE TO ME
I've created an installer that includes support for automatic load init.d modules so they can select with SetCPU or other similar program....
EPSILON PROJECT - Motorola Atrix - Motorola Razr - Samsung Galaxy S2 - Samsung Galaxy Note - Samsung Galaxy S3 - HTC One X
The Following 3 Users Say Thank You to core720 For This Useful Post: [ Click to Expand ]
6th July 2012, 04:39 PM
Recognized Developer -
OP
Thanks Meter
1787
Posts: 832
Join Date: Aug 2007
DONATE TO ME
Quote:
Originally Posted by
core720
I've created an installer that includes support for automatic load init.d modules so they can select with SetCPU or other similar program....
Thanks.. but to be more efficient, I would like to have them separated.
1. User install my module pack. (extra_kernel_modules_*.zip)
2. User install init.d loader. (init.d_n_governor_installer.zip
XT909 : KAIZEN 0.1 - BMM 0.3.2
TF101 : PACman beta
-
www.projectlense.com -
The Following User Says Thank You to whirleyes For This Useful Post: [ Click to Expand ]
6th July 2012, 04:49 PM
(Last edited by robertwhitten87; 6th July 2012 at 04:54 PM .)
Member
Thanks Meter
3
Posts: 48
Join Date: Apr 2010
Location: Ohio
Quote:
Originally Posted by
core720
I've created an installer that includes support for automatic load init.d modules so they can select with SetCPU or other similar program....
I tried to use your flashable zip. It doesn't work, but I found that after I chmod 777 the 90module in the init.d folder it works flawlessly. So I think you need to add that set permissions to your script.
*edited for grammar issues. It was bugging me that my You're and Your was wrong.
The Following User Says Thank You to robertwhitten87 For This Useful Post: [ Click to Expand ]
Thread Tools
Search this Thread
Display Modes
Linear Mode
Most Thanked In This Thread
17 Easy Install method: (For
init.d)
… 9 Hopefully can be finished
before weekend … 9 (quote) I put a filter
inside the code. … 6 Kernel Modules for 3.0.31
Kernel:
… 6 Re-open this thread so
that people can …
2 Anyone know if there's a
working set of … 1 I built these modules some
weeks ago for … 1 (quote)
No, you can not boot then. 1 Well, if it ain't broke, don't fix it 1 Delete the 90modules
Script out of your …