Use the search button...
You need these things:
- flashtool 0.8+
- stock rom
- a command line tool from the_lazer (sintool or something similar, I not remember the exact name)
- a nandroid backup
Grab the partition parameters from the original stock rom with flashtool, and you can generate xyz.sin from any nandroid image.
But the generated sin file will work only with unlocked bl because the generated sin header NOT contains the security signature.
Sent from my E15i using xda app-developers app