This is the way to downgrade 3.0 to any firmware using iTunes 8.2
The iPhone "iPhone could not be restored. An unknown error occured (23).
Try restore using different firmware version.
I think this error occur due to corrupt of J.B., I got this problem when I receive a lock phone (screen shown restore mode) and i use redsn0w directly to J.B. it, after this.... the phone stuck, when i on it again it got direct to restore mode, I use itune to restore firmware 3.0 and this error 23 come out, after retry a few times (using different firmware version) I restore using firmware 2.2 and finally it go smoothly.
Hope can help you guys out there.