I am assuming here that you are trying with a bold.
Either disable password in phone or tick full erase in mfi.
You should also check that mass storage is off.
I usually do bold's (only) without battery.
One of these should solve your problem, I've seen the error message b4, i just don't remember exactly when it occurs.