Move recovery init to common

Change-Id: I62c2ff6ec3d9396274788b20517fb6dde62c4047
(cherry picked from commit 4da76b633612fe35b984d666d212a9870fb37626)