Try this step:
1) Uninstall all market versions from your phone.
2) Reboot (not hot boot or shell reboot)
3) Install Market version 1.82 (APK HERE: http://www.mediafire.com/?51htm8lag77552b)
4) Launch Market, accept agreement
5) Reboot into recovery and flash Market 2.2.7