The original answer here just says "format code," which isn't a complete or reliable instruction.
If you're looking to format or reset a Sony Ericsson K770i, the safest approach is to consult the official user manual or Sony Ericsson's support resources for the correct code for your specific model. Entering the wrong code can cause problems, so it's best to confirm the exact steps from a trusted source first.