Changing firmware in the phone will erase all of your data.
All described operations you are doing at your own risk.
If want saves your data do a backup before start.
Remember that phone battery should be at least 30%
That all now you change firmware on your phone without any problem. Great work!!