Better late than never
Best of luck to Nokia.
Hardware and R&D of Samsung, aggressive pricing of Xiaomi, software of Sony (minus the bundled bloatware on Xperia phones), combined with the experience of Nokia in the handset business.
A bit of Finnish determination and ingenuity would help too.
The best revenge is tremendous success. Let Microsoft languish in its Lumia quagmire.