Move recovery init to common

Change-Id: I6acca8fccadc5493bd561dbb3d0586a87b26f209
(cherry picked from commit c10da19991feaafea2fe14951721f64d045c1698)