Revert "fix restore as secondary ROM"

This reverts commit cf308dbbf02e8dcaf188dcbf76bdea382474faa1.