Move recovery init to common

Change-Id: I8210a5c68f4f8e19ce69dccf9ce87e9bd41b5249
(cherry picked from commit 06b4d6938e588a4375221ca82ed56f644b723831)