OK, waiting helped. I managed to reset the device after some time. Then I reinstalled the firmware and applied the patch again. Now the device hanged just after applying the patch. I was unable to reset the device once more. I waited again and now everything works just fine.
I'm not sure if my problems were just random or if they have something to do with the patch.