yashsingh1/xdaforums huggingface dataset:
[Defy Q&A, Help & Troubleshooting] Bernd.Defy:
Tried to oc pll1 -> distorted display. can't recommend that. OC'ing PLL0 leads to somewhat faster 480 MHz frequency (480 MHz is generated by PLL0 and DIV2, so 960MHz / 2 => 480 MHz.) In the module only changed PLL2 is payed attention for modified frequency-tables.

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

Simple difference: PLL2 exists in SOC, PLL4 does not exist. So Motorola didn't underclock something, they got a crippled MSM7225A. Speed ist limitied by hardware.
[Defy Q&A, Help & Troubleshooting] Guitwo2:
I'm pushing pll2_l_val to 73 (+11)

I get 700 MHz stable for now. Without overeating.

I'll keep you posted.
[Defy Q&A, Help & Troubleshooting] Bernd.Defy:
Do you still use the "performance" governor?
[Defy Q&A, Help & Troubleshooting] Guitwo2:
Re: Defy-Mini: Updated the overclock-module

I use setCPU with different governor. All seems to work. Higher freq (600) is replaced by a new one thanks to your OC module.

Btw 700 is stable. I runned some stress tests. Performances are increased. Linpack score goes from. 14.5 to 17.5 MFLOPS.

I was wondering if the soc pll were used by other stuff than cpu. Could explain your troubleshoot when oc pll0.

XT230 rocks now
[Defy Q&A, Help & Troubleshooting] Bernd.Defy:
...but keep an eye on stability. :)

For ~16% overclocking ~20% higher MFLOPS? Hmmm.... sounds - interesting. :)
[Defy Q&A, Help & Troubleshooting] Guitwo2:
Re: Defy-Mini: Updated the overclock-module

I would rather have a buggy phone than a awfully slow one... (thank you motorola).

The linpack result shows a .5 MFLOPS standard deviation.

XT230 rocks now
[Defy Q&A, Help & Troubleshooting] Sh0m1:
I'm a noob, can you tell me what exactly do i need? Busybox?
[Defy Q&A, Help & Troubleshooting] Guitwo2:
Re: Defy-Mini: Updated the overclock-module

Busybox / adb or a terminal emulator / root access

Eventually init.d support if you want to use my script to automatically load the module at boot.

XT230 rocks now
[Defy Q&A, Help & Troubleshooting] Sh0m1:
Ok so i've installed busybox, done steps in the first post but nothing happened? Is it normal that the phone hadn't restarted or something?
[Defy Q&A, Help & Troubleshooting] Bernd.Defy:
It's definatly a good sign if your phone doesn't reboot. Just check the Frequencies using CPU-Spy or something else.

And please post your Firmware-Version and the adresses you used, i'll add them in the first post.
[Defy Q&A, Help & Troubleshooting] Sh0m1:
I just installed your module from the first post and i changed value from 63 to 70, and now i have 672mhz. How can i change pll2 value again? What do i type? If i use your module but with 73 instead od 63 i get: File already exists.
[Defy Q&A, Help & Troubleshooting] Guitwo2:
Re: Defy-Mini: Updated the overclock-module

reboot and load it again with other arguments.

Or use rmmod command

busybox rmmod defymini_oc.ko

XT230 rocks now
[Defy Q&A, Help & Troubleshooting] Bernd.Defy:
You have to remove the module first (no need to reboot):

rmmod defymini_oc.ko

Then you can install the module again.
[Defy Q&A, Help & Troubleshooting] Sh0m1:
Alright i've used 66overclock file and pushed it manually with root explorer, changed permissions, set owner and i've edited it so pll2 is 73. My phone is rebooting atm, i will post if i had success.

---------- Post added at 04:22 PM ---------- Previous post was at 04:12 PM ----------

I just cant get it to keep freq at 700 after reboot. I've done everything from Guitwo2's post and it keeps resetting to 600MHz after reboot :(
[Defy Q&A, Help & Troubleshooting] wilberfish:
Watch out people i seem to have fried my nand! and thats with no higher than pll2 69 and vdd at 6
[Defy Q&A, Help & Troubleshooting] MauroSZ:
OC - for XT321

Hi,

Congratulation ! Great job ! :laugh:

[MENTION=4745666]Guitwo2[/MENTION] about your OC single post:

Please, May you answer the question "yes", "no", "don't know", or something like "partly agree" and a quick explanation " because ..." if you think necessary ?

I Hope it will not take much of your time.

My objective: Easy and stable XT321 (my device) Overclock. Some OC functional is enough for me.

a - Does Work XT321 ?

b - Are only files I need xt320_overclock2.zip, recovery.img ?

c - Is recovery.img the same I used to root ?

d - Shall I follow these 5 steps only ( 0 to 4 ) ?

( nothing else ? )

0 - push the XT320_overclock.zip on your sdcard

1 - Make sure you have busybox installed

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

3 - Flash XT320_overclock.zip thorough CWM

4 - Enjoy !

e- Does busybox installed with SuperSU when I rooted works well with overclock module ?

f- In the third step above I have to use the same CWM menu options that I used to root my phone ?

g- The other things that you wrote are to explain the steps to other people that worked with you to discovery OC and I don't need to understand it or do any thing else to make a functional OC in my device. Is it true ? (enough to reach my objective ? )

h- Do you advice to install some app like Set CPU to control OC in my device saving battery ? Other app ? Which ?

i- After OC update module, if I Set CPU maximum at 600Mhz via app will the battery consumption be the same before ?

Forgive my English and Thank you in advance.
[Defy Q&A, Help & Troubleshooting] wilberfish:
A Don't know.

B Yes and fastboot.(You should have fastboot if you rooted)

C Yes.

D Yes

E Yes if not installed via smart option.

F Yes

G Yes

H SetCPU works well.

I If you dont change anything else then yes.
[Defy Q&A, Help & Troubleshooting] rootdefyxt320:
Did you have bad blocks or the storage changed? I put my pll2 on 75 and vdd 7 for 2 months now and my storage has stayed the same.
[Defy Q&A, Help & Troubleshooting] Guitwo2:
If the kernel is the same it should.

Plus a working android debug bridge executable (adb) and fastboot (easy to get, if you rooted your phone, you should already have these, otherwise just google it, you will find it)

No. Not the same version, but basically you can use the same you used to root

Actually step 1 is of no use as busybox (v1.19.4-cm7 static) come along XT320_overclock.zip update. It is automatically installed in /system/bin. You can adjust /etc/init.d/66ocmodule file afterwards to adjust OC values.

With superSU you should get busybox v1.19.3-Stericson, installed in the /system/xbin folder. It is also working with oc module.

Yes indeed

You can read it if you want to understand how it is working. Basic OC is 662MHz.

That is of no use. Performance CPU governor is the most efficient governor I ever used. It enables a quicker deep sleep switch. You can edit /etc/init.sdrstate_scaling.sh file to adapt deep sleep governor (I changed it from 'interactive" to "conservative" and I am wondering if I should change the min/max CPU frequencies or eventually call again a script to load the OCmodule with lower values for power saving).

If you OC, 600MHz will not anymore be available. It will be replaced by 662MHz. You may use more battery.

My pleasure.
[Defy Q&A, Help & Troubleshooting] wilberfish:
Bad blocks all over the place!

No storage left.

With a fresh install i have 28mb free.
[Defy Q&A, Help & Troubleshooting] rootdefyxt320:
Ok, trying doing Sachin Thomas Recovery method: http://xdaforums.com/showpost.php?p=38941897&postcount=2

http://xdaforums.com/showpost.php?p=39662919&postcount=3

First, boot into TWRP by using the command

fastboot boot *.img

* name of recovery.img

If recovery works then just mount system, cache, userdata

Goto Advanced -> Terminal Command and select any start directory

Then type

erase_image system

erase_image cache and

erase_image userdata

After that, flash nandroid of system.img via fastboot using the command:

fastboot flash system system.img

If it doesn't work then send it to Motorola and say that apps won't install on your phone and if you have warranty, the should replace it for free. :)
[Defy Q&A, Help & Troubleshooting] MauroSZ:
XT321 kernel version

I rooted two identical XT321s:

Kernel Version : 2.6.38.6+ buildsrv@lxdex2 #1 Is familiar ?

Number Version : 07.26.11

Base B. Version : 76xxu-USMEKOLYM-109806-8310

Flex Version : LATAN_RTL_V19_0522_FLEXTNBST

Software Version: TNBST_4_07.26.11RPD

Fastboot : Orange Spain (flash for about 3 seconds)

Link2SD Does it disturb OC ?

CWM recovery.img v6.0.2.9 - pritty one ! :) Thanks ! I've backuped with it!

I hope my overclock day will be closer
[Defy Q&A, Help & Troubleshooting] CrazyLost_:
help me get the overclock to 720MHz please.......
[Defy Q&A, Help & Troubleshooting] rootdefyxt320:
That's the same kernel that is on the XT320 so your overclock should be successful but be careful you might burn your NAND like wilberfish. :)

Bernd.Defy is NOT responsible for burnt NANDs.
[Defy Q&A, Help & Troubleshooting] CrazyLost_:
dgovem 55.0

help me get the overclock to 720MHz please........ I'm with the files posted and could only 662MHz
[Defy Q&A, Help & Troubleshooting] rootdefyxt320:
1. Connect phone to computer

2. Then in cmd type in this command

path-to adb.exe shell

3. Then

su

4. Then

busybox insmod /system/etc/defymini_oc.ko pll2_l_val=75 acpu_freq_tbl_addr=0xcXXXXXX cpufreq_stats_tbl_addr=0xcXXXXXXX vdd=7

Remember to press enter after every command. :)
[Defy Q&A, Help & Troubleshooting] MauroSZ:
OC

Thanks about the good information (Kernel) and warning (burn the nand) . First I will follow several :) burnt cases because only I am responsible for my device :cool:. Thanks also about the 720Mhz OC instructions.

A lot of thanks to [MENTION=4745666]Guitwo2[/MENTION] for a lot of informations and to wilberfish, he is teaching me with his experience.

It seems the next step for me is to know enough about burnt nands.
[Defy Q&A, Help & Troubleshooting] Guitwo2:
If you want to make a 720MHz OC permanent, change pll2val in /etc/init.d/66ocmodule the line #12 "pll2val =69" to "pll2val=75". You'll get 720MHz.
[Defy Q&A, Help & Troubleshooting] MauroSZ:
Hi,

If I simply update with your OC zip staying 662 (and not modify it anymore) it is still possible to burn my nand ?

My plan is to get a basic and safe Overclock, learn about burnt nands and finally try out faster OCs.

(Only I am responsible for my device).
[Defy Q&A, Help & Troubleshooting] Guitwo2:
Sincerely I dunno.

We got only one report of burnt nand.... He who never climb'd, never fell.
[Defy Q&A, Help & Troubleshooting] CrazyLost_:
Have the ability to make some of you a package to install by CWM ? please
[Defy Q&A, Help & Troubleshooting] rootdefyxt320:
1. Boot into fastboot mode.

2. Then

fastboot boot recovery.img

3. Install zip from sdcard

4. Choose zip

5. Confirm it

6. That's it
[Defy Q&A, Help & Troubleshooting] CrazyLost_:
I already have my defy mini-overclocked 662MHz I wanted a update.zip to increase to 720MHz, because I have not had success with the method you described me up to do the commands in cmd...........you could upload a update.zip for me to increase my overclock to 720MHz by CWM
[Defy Q&A, Help & Troubleshooting] rootdefyxt320:
You have to change 66ocmodule in /system/etc/init.d/66ocmodule change pll2_l_val=75 and vdd=7. Use Root Explorer to edit the files. :)
[Defy Q&A, Help & Troubleshooting] CrazyLost_:
already tried do this plus the defy not alloy when making such procedure, gets in a boot infinite and shuts
[Defy Q&A, Help & Troubleshooting] rootdefyxt320:
Follow my method to get rid of the bootloop

http://xdaforums.com/showpost.php?p=40380494&postcount=152

:)

pll2_l_val=73 is the best stable overclock.
[Defy Q&A, Help & Troubleshooting] CrazyLost_:
worked as expected but not the defy mini is coming up to start, checked in SetCPU and brand 720MHz only shortly after it turns itself off already tried with 700MHz and gave the same error ...

any suggestions?
[Defy Q&A, Help & Troubleshooting] rootdefyxt320:
There's probably something wrong with your VDD/Voltage levels. Try overclocking from the computer/laptop follow Bernd.Defy's instructions in the first post to overclock from computer/laptop :)
[Defy Q&A, Help & Troubleshooting] Guitwo2:
What's in the /data/oc.log file ? It may help us understand.
[Defy Q&A, Help & Troubleshooting] CrazyLost_:
my oc.log

link dropbox https://www.dropbox.com/s/hqqcvuqhyvzx5y6/oc.log
[Defy Q&A, Help & Troubleshooting] Guitwo2:
This log is uncomplete. It seems that you have several version of the 66ocmodule script in you /etc/init.d folder.

Try to remove the older one.

try (from terminal emulator or adb shell)

su
ls -l /etc/init.d
sh /etc/init.d/*66ocmodule*
[Defy Q&A, Help & Troubleshooting] AirFiori:
doing just this part I get the overclock?
[Defy Q&A, Help & Troubleshooting] Guitwo2:
Yep. Step 0 to 4. One by one.
[Defy Q&A, Help & Troubleshooting] AirFiori:
I got overclocked

thanks
[Defy Q&A, Help & Troubleshooting] rootdefyxt320:
Hey guys, I've made an all-in-one script/utility for Motorola Defy Mini XT320/XT321. Link is in the signature. :)
[Defy Q&A, Help & Troubleshooting] wilberfish:
Hey!

Sorry for the delay but I had to send my mini back to Moto, and wait........

Today i got a new mini and a explanation as to what happened.

GOOD NEWS!

It seems my mobo had a fault that burnt my nand, and it had nothing to do with the OC!

Spoke to a Moto engineer and he said that because of the way it is set you would have to realy push it to burn with pll2 OC.

It will reboot/bootloop before it burns.

I have just tried [MENTION=4880538]rootdefyxt320[/MENTION] amazing all in one and it works great.

Thank you all for all the help!
[Defy Q&A, Help & Troubleshooting] Bernd.Defy:
Ask him how to unlock the bootloader, please. :)
[Defy Q&A, Help & Troubleshooting] wilberfish:
I called them to confirm I had received the phone. While on to customer services i asked for clarification about the problem and they put me through to servicing.....Well I already had my new mini so I thought may as well come clean about the O.C. and ask some questions.

To be fair he already knew about this thread and all the work going on and answered almost all my questions.

I asked about the chances overclocking burnt my nand. He said very low chance unless we took the voltage way too high or tried something silly, apparently 700-800 is fine but that he won’t recommend overclocking at all.

I asked if we could unlock the bootloader he said there was no way Moto would release that for us but it can be done.

Asked about pll4 overclock, he said once we open boot there would be many more options open for us. He said that the chip is not crippled.(Don't know what he meant by that)

Asked about releasing code for us and he replied that since Google there are many things in the pipeline that should make all Moto phones more customizable.

He said even though I flashed back to stock and removed root he knew the phone had been rooted.

Still got a new phone!

---------- Post added at 12:43 PM ---------- Previous post was at 12:32 PM ----------

Oh, He also said that the mini was made with higher specs in mind then put back at the last min to 600 and no gpu.
[Defy Q&A, Help & Troubleshooting] Sachin Thomas:
MSM7225A doesn't have pll4, thus it's a crippled version of MSM7225AA (clocked at 800 MHz by default) and MSM7225AB (clocked at 1 GHz by default). HTC Desire C, HTC Explorer and Motorola Defy Mini are MSM7225A devices.

Bootloader can be unlocked on HTC devices but it only allows flashing of unsigned images on boot, system and recovery partitions. You can't enable pll4 by unlocking bootloader because it's not present in our SoC
[Defy Q&A, Help & Troubleshooting] wilberfish:
Hey,

Just posting what he said.

His exact words were

"Your cpu is not crippled so no pll4 but when you unlock bootloader you will have more options for customisation."

I am no expert just thought while he was there I would ask some questions.

If I knew i would get that far I would have asked you guys what i should ask him..
[Defy Q&A, Help & Troubleshooting] Sachin Thomas:
At least 70% of all people who have overclocked the HTC Explorer have burned NAND at least once. Even pll2 at 68 is not safe for us

But most of us could recover burnt NAND using flash_erase which is a part of MTD Utilities (http://processors.wiki.ti.com/index.php/MTD_Utilities)

Bad blocks always occured in partitions that were frequently accessed (cache and userdata). There were no bad blocks in read-only partitions (radio and boot)
[Defy Q&A, Help & Troubleshooting] wilberfish:
Mine were due to a fault on the board. He didn't go into it, just a fault.

The engineer said that with Defy mini you would have to push to burn nand;

"There is hardly any chance your overclock burnt your nand as the voltage is so low on your device. You would have to realy mess up to break it that way, changing the vdd level is unsafe unless you are upping the speed of pll2. Likewise pushing pll2 too far will have bad effects. Most of the time the phone would go into a bootloop or stick at the splash screen, but you could burn nand if you push too far. For the Defy mini 700-800 should be fine. All phones are different so what will work on one won't work on another, one will sit at 700 and work another will crash. It's just trial and error if you want to try to overclock. We would not recommend you even try to,as the risk of bricking is high especially on older more worn devices, but as you know it is possible."
[Defy Q&A, Help & Troubleshooting] Sachin Thomas:
So, he meant that voltage levels differ greatly even if it's the same board? And don't you have an Adreno 200 GPU? :confused:
[Defy Q&A, Help & Troubleshooting] wilberfish:
No idea, but i think he was saying that there is greater risk on older mini's.

Didn't make sense to me, why are all phones of the same make different?

Why would one phone oc to 700 and another not?

Why is there more risk on older phones?

I think I messed up not asking enough questions.

Sorry.:confused:
[Defy Q&A, Help & Troubleshooting] rootdefyxt320:
My motherboard on my Defy Mini says that it was made in April 2012 so I don't have a burnt NAND on 720MHz. I think they lowered the voltage on the newer Defy Mini's
[Defy Q&A, Help & Troubleshooting] wilberfish:
Ah! That could explain it!
[Defy Q&A, Help & Troubleshooting] cute_prince:
Some news for Defy Mini XT320 community :)

http://xdaforums.com/showthread.php?t=2337886
[Defy Q&A, Help & Troubleshooting] Luiz Paulo Damaceno:
Hi to all, first of all sorry for my bad english... Okay. I have bought a xt320 and i'm very happy with this smartphone. I have the overclock modules, but i want to chenge pll4 values, but i don't know of this line, where i found this lines? Other thing: i have overclocked pll0 line and my sound have bugged, i put the value to 14 ( original 12 ), but after bug i have backed pll0 to original values, why of this? how do I change the frequencies 245, 320 and 480 Mhz for more and how do I change the values ​​of pll4?
[Defy Q&A, Help & Troubleshooting] MauroSZ:
Hi brow, We can read in the [MENTION=4649424]cute_prince[/MENTION] 's post linked above the difference between pll2 and pll4, He quoted in his post a [MENTION=4880538]rootdefyxt320[/MENTION] 's text that explains it comparing with PC hardware. It is easy to understand. Pll2 increase more speed than Pll4 but it is more dangerous. Unfortunately XT320/1 chipset doesn't have pll4 support and has locked bootloader. The way is using Pll2 like [MENTION=5101064]Bernd.Defy[/MENTION] updated OC module. May be in the future we can apply the [MENTION=4649424]cute_prince[/MENTION] 's technique, avoiding r/w /DATA /CACHE on nand using /DATA /CACHE on EXT4 class 6/10 micro SD card. It seems this OC may be stable at 900 MHz or more.

Now I ask: Is it really needed unlocking bootloader to use /DATA /CACHE in SD card ? Is there another way to do it without modifying kernel ?
[Defy Q&A, Help & Troubleshooting] Luiz Paulo Damaceno:
Oooh thanks!!! Hi brow, i have readed the post. And realized that when we use Link2SD part of the "data" folder goes to SD (apps only) for moving the data folder altogether, I do not quite understand ... Now the partition "Cache" actually I did not even try ... hahaha hmm while the bootloader read this: http://xdaforums.com/showthread.php?t=2312349

They almost got it unlock, but find errors, I read the blog about unlock in Qualcomm based smartphones. If they can unlock the bootloader we can probably access the pll4 (or maybe the modules already come integrated in a future kernel that can be developed with a CM7, 9.10 and 10.1 that might), now when I change the values ​​of pll0 found strange sound getting "faster" in music playback and sound system, another thing: when I overclock pll0 screen seemed decreased refresh rate, no strange?
[Defy Q&A, Help & Troubleshooting] MauroSZ:
Link2SD doesn't avoid writing on data folder, it works with symbolic link only. Mount2SD I don't know, maybe it is closer to goal. This you can search ... All UNIX like systems you have to mount partitions. It seems you U can mount partitions on class 10 SD card as /DATA and /CACHE avoiding to write on nand and burn it. I forgot Pll4. Our chipset does not support. As for unlock thread, it seems we have to wait [MENTION=4745666]Guitwo2[/MENTION] 's Phd These concluded:). One of OC team already tested Pll0 with no success. This job started in another thread. Another effect was distorted screen.
[Defy Q&A, Help & Troubleshooting] Luiz Paulo Damaceno:
I got stable clock at 748.8Mhz (2hours), i have overclocked pll0 and pll2 (pll0 original 50 i set to 60 pll2 original 62 i set to 78), and AnTuTu Benchmark says 4096 points: 635CPU 2613GPU 293RAM 555 I/O. VERY STABLE, I switched governor to "ondemand" and Min freq has 320Mhz, i switch Power Save Bias to 100 (10%) Up Treshold to 60 and ignore nice load to 1. The settings are nice? we suggest any changes?

Tanks

UPDATE: i have disabled powersave bias in ondemand governor and i get 4560Point on Antutu (Ram: 351 CPU Integer: 433 CPu Float:293 2D:402 3D: 2502 Database IO: 380 SD Write: 42 Sd Read: 151
[Defy Q&A, Help & Troubleshooting] MauroSZ:
Thanks for information ! :)

What about battery consumption ? If you use normally, sometimes calling sometimes accessing data network or wifi how many hours can you use before recharging ? :confused:

Do you use Pimp My Rom ? Does it affect benchmark significantly ? If yes, did you test OC and Battery Consumption without Pimp My Rom ? :confused:
[Defy Q&A, Help & Troubleshooting] Luiz Paulo Damaceno:
I dont use Pimp my Rom ( i don t like...) per night I leave the phone charging, today I will again do the flash rom stock and leaves you clean, to overclock, the commands in the build.prop etc, amanhãde afternoon ( In my GMT 2 hours pm i live in Brazil ) I tell how you been ... While the Wifi network and 3G data connections, all absolutely NORMAL, I will play a game to see if super heats.
[Defy Q&A, Help & Troubleshooting] Luiz Paulo Damaceno:
Ok. I already did the tests and I got this results: 4664 points in 748.8 MHz and the battery has lasted 17h50m in performance governor and noop io. Is stable and in 2hours in full load i got 40 degrees celcius. Thanks for the overclock module! :D
[Defy Q&A, Help & Troubleshooting] Guitwo2:
I do not understand how people can have up to 750MHz stable OC.

This is the 2nd mini I OC, when setting for 720MHz, it just freezes.
[Defy Q&A, Help & Troubleshooting] MauroSZ:
In this case, you should not understand how [MENTION=4880538]rootdefyxt320[/MENTION] got 720MHz stable :confused:. Maybe older motherboard ? In my case, XT321 with 600MHz yet. I'm a observer a long time ago. Maybe I will OC next weekend:cool:. Maybe in my case something different will go on and I will get more MHz :fingers-crossed: ... My problem is us in my house we need the phone working all the time:p. My consumer dream in a short time is applying EXT4 class 10 sdcard [MENTION=4649424]cute_prince[/MENTION] 's technique to overclock at 900Mhz:laugh:. It seems class 10 SD card responds better than nand:fingers-crossed:. Do you think it is viable without unlock bootloader ? :confused: We count on you guys to solve this problem:). Thanks !

I intend writing less avoiding pollute the thread.