With the influx of new people to rooting, I decided to write this guide. If you experiment or make mistakes sometimes something may go wrong with your phone. This will fix almost any problems. I like testing anything, and I've never permanently bricked. I've got caught in a bootloop, my phone wouldn't boot, and some other things. Custom recovery wouldn't boot or system was corrupted, among other things. This has fixed it all.
The only things this may not fix are if you flash the wrong .tar through SWUpgrade, and sometimes if you flash the wrong sized boot image.
**Note** If you are able to flash something through custom recovery, Just do step 2.
1. Flash this through SWUpgrade: Free File Hosting, Online Storage & File Upload with FileServe (installs 2.1 with custom recovery)
2. Put this in your SD card in sdx/zip. Flash it through the custom recovery (puts you to 2.1 stock) full_restore_stock.zip
3. Download this file and place it in the root of your SD card. Select apply update.zip in the stock recovery (get to it same way as custom recovery) update.zip - 4shared.com - online file sharing and storage - download (updates phone to Froyo)
4. Download this file and flash it through SWUpgrade: http://dl.dropbox.com/u/21183005/recovery.tar (adds custom recovery to 2.2)
The only things this may not fix are if you flash the wrong .tar through SWUpgrade, and sometimes if you flash the wrong sized boot image.
**Note** If you are able to flash something through custom recovery, Just do step 2.
1. Flash this through SWUpgrade: Free File Hosting, Online Storage & File Upload with FileServe (installs 2.1 with custom recovery)
2. Put this in your SD card in sdx/zip. Flash it through the custom recovery (puts you to 2.1 stock) full_restore_stock.zip
3. Download this file and place it in the root of your SD card. Select apply update.zip in the stock recovery (get to it same way as custom recovery) update.zip - 4shared.com - online file sharing and storage - download (updates phone to Froyo)
4. Download this file and flash it through SWUpgrade: http://dl.dropbox.com/u/21183005/recovery.tar (adds custom recovery to 2.2)