recovery: clean up, add f2fs capabilities

Change-Id: Ia3c354ff8d952ad91834671180bf2ead669f3254