I used XS++ to flash my W580. There is a section in the user document describing how to handle the such an error. It seems that you did not flash in the custom pck.
I follow the exact steps in the XS++ user guide. Here are what I did as the following:
1. Backup GDFS.
2. Flash in MAIN and FS.
3. Use CUSTOM fuction in the FX++ (however I did not find the W580 model) or use the FXXS to transfer in the custom pck. You can download the custom pck you need.
4. I did a write back of the backed GDFS. It may not be a must.
5. The you can power on the phone. DO NOT power on the phone which will trigger a flash file initialization.
Have fun.