Disclaimer:
Please understand that you carry out this procedure understanding that there are risks of bricking your phone, and I will not be held responsible for your actions. Please Read everything before attempting anything. Please note I will be describing the Wipe method for lesser problems, this mean TAKE A BACK UP.
What you need:
A Rom with 2e Recovery. (Froyo has 3e by default). If you Are Proceeding on Eclairs (2.1) Please Skip down to
(For Eclairs Start From HERE)ClockWorkMod Recovery
Working 3 Button Combo (VOLUME DOWN / VOLUME UP + HOME + POWER)
Odin.
This How-to will be for someone who has a stock Kernel running Stock froyo. If you are running any sort of lagfix please Disable it before proceeding.
So First thing you need to do is to patch 2e Recovery to your current ROM.
First Of all goto Settings -> About Phone - > Build Number.
It should say something like FROYO.XXJPY you want the last three letters.
In my case I was using JPU. Now follow this
link.
And Scroll down (there are three posts) until you find a the version that has your Build in it.
In my case I went with "CF-Root-XX_OXA_
JPU-v1.3-BusyBox-1.17.1.zip"
You need to get the one relevant to your Build. Download and Unzip this file to desktop.
Now Get into Download Mode by switching off the phone.
Now press and HOLD Volume Down + Home Key + Power Button keys.
Wait until you see the screen light up and let go of the power button.
Keep the Volume and Home Key pressed until you see a Yellow Android digging his/her way to China.
Remember you have not plugged your phone in to the computer yet.
Start Odin,
Click PDA and Select the new file you unzipped to Desktop.
Connect your phone to the PC in Download Mode.
Press Start.
Don't touch the settings in Odin make sure repartition is NOT checked
and you are Done. You now have 2e Boot Loader.
(For Eclairs Start From HERE)Now follow these link:
Download the one that says CLICK HERE to download v8.0 [Wipe].
ClockWork RecoveryCopy the two files to the
INTERNAL storage. Don't unzip them.
Now switch the phone off and go into 2e BootLoader by:
pressing and HOLDING Volume UP + Home Key + Power Button keys.
Wait until you see the screen light up and let go of the power button.
Keep the Volume and Home Key pressed until you see a Menu.
From Here scroll down with the volume key and select update zip with the home key.
The screen should go blank and come back to the same screen. Repeat the steps,
Scroll down and select update.zip. (If you get the Red menu right away that's ok too)
This will take you to a RED Menu.
This Is an Additional Recommended Step to reduce Problems.
Once in the Red Menu Select wipe Data/factory reset
And scroll down to select Yes.
This will not delete your Internal or External SD files. Only ROM data will be wiped.
As previously Scroll down and select "Install zip from SDCARD" with the back button. (home key will not do anything).
Now Next menu select "Choose zip from SDCARD", look for the big file you downloaded Draky's something and select it.
Then scroll down and select Yes.
Now wait around a minute or so, it will print Blue writing on the top to say it's done.
Once done it will go back to the red Menu.
From here Select Go Back until you see the option to Reboot.
You are done.
The whole process takes less then 10 minutes.
Reading this may feel longer. But please read and understand everything before proceeding.
Ask your doubts away

If I helped please show so by pressing the applaud button.
For those that Miss using
SWYPEPeace.
IronSingh