Move recovery init to common

Change-Id: Ifdb7401529828f2d6024e34b765f250552041ce4
(cherry picked from commit 873c19be57b41bfc634bf5128ba07b6ab23b182a)