Recover HTC Desire 820 from Soft Brick(stuck on HTC logo - white screen)

Recover HTC desire 820 dual sim from soft brick, i.e. getting stuck on HTC logo(white screen).
Tried many things but finally struck a working combination to recover HTC from soft brick. Hope it helps some others too.

1. Get a working TWRP on the phone.
2. Download a lollipop backup of HTC Desire 820 and restore it.