The iphone 3GS has a bootrom that cant be passed unless everytime you restart/turn off your iphone you have to have your iphone connected using a usb cable and running Blackra1n.
I have this problem myself.