[Defy Q&A, Help & Troubleshooting] Guitwo2:
cat /proc/kallsyms > /sdcard/toto.log

Then search for pll0_960_pll1_245_pll2_1200_pll4_800_25a in the /sdcard/toto.log file.

---------- Post added at 11:08 AM ---------- Previous post was at 10:38 AM ----------

If you want to load the module on boot and have init.d support, there is attached a init.d script that will do it automatically.

There is a CWM flashable zip

0 - push the XT320_overclock.zip on your sdcard

1 - Make sure you have busybox installed

2 - Reboot with a CWM... (recovery.img attached)

>adb reboot bootloader
> fastboot boot recovery.img

3 - Flash XT320_overclock.zip thorough CWM

4 - Enjoy !

Default values are : pll2=69 and vdd=6

Edit /etc/init.d/66ocmodule for further tweaking.

In V2 - updater-script has been updated, to fix busybox permission issues.

66ocmodule script change log :

V0.1

First be sure to adjust pll2_l_val, acpu_freq_tbl_addr and cpufreq_stats_tbl_addr.

Be sure that defymini_oc.ko is in /sdcard/

1 - push the module to your phone :

adb push 66ocmodule.txt /sdcard/66ocmodule.txt

2 - in shell mode, remove the extension .txt and move the file to /etc/init.d folder

mv /sdcard/66ocmodule.txt /etc/init.d/66ocmodule

3 - Change mode to -rwxrwxrwx

chmod 777 /etc/init.d/66ocmodule

4 - Change user/group to root/root

chown 0.0 /etc/init.d/66ocmodule

That should work.

NB : you may have to remount your /system partition in rw to change user/group

busybox mount -o remount,rw -t auto /system

NB2: For init.d support go to : http://xdaforums.com/showthread.php?t=1933849

NB3: have only one version of 66ocmodule in your /etc/init.d directory to avoid trouble.

NB4: if you are experiencing trouble with step 2, use

cp /sdcard/66ocmodule_vX.X.txt /etc/init.d/66ocmodule
rm /sdcard/66ocmodule_vX.X.txt

where X.X is the number version

NB5: be extra careful when editing the files. You could mess when with the end of line markers. I recommend using Notepad++ and check if the end of line markers are in unix format (LF) (view/show symbol/show all characters). You can correct that easily with edit/EOL conversion/convert to UNIX format

NB6: make sure there is a blank line in the end of the file as well

V0.2

gets automatically the needed addresses.

Module is supposed to be located at /data/defymini_oc.ko

If troubleshoot refer to the /data/oc.log log file.

Set for a 700MHz oc

Follow steps 1 to 4 for installation. Read NB, NB2 and NB3.

V0.3

Checks for the presence of older versions and gives a warning

Checks if the module is already loaded (unload if true)

Chekcs in the end if the module is loaded

+ Minor changes

pll value and module path can be edited in the beginning of the file

Follow steps 1 to 4 for installation. Read NB, NB2 and NB3.

V0.4

Vdd support

+Minor changes

pll and vdd values and module path can be edited in the beginning of the file

Follow steps 1 to 4 for installation. Read NB, NB2 and NB3.

V0.5

best busybox support

+Minor changes

pll and vdd values and module path can be edited in the beginning of the file

V0.6

Force vdd change if performance governor set

+ Minor changes

Follow steps 1 to 4 for installation. Read all NBs.

pll and vdd values and module path can be edited in the beginning of the file

Follow steps 1 to 4 for installation. Read NB, NB2 and NB3.

V0.7

+ Minor changes

V0.8

Log some info, available in logcat

V0.9

Can adjust all pll values.