A Finder or iCloud restoration would do all that, but such restorations (and the iMazing one) over-ride the proximity sensor setup.

//

variablepulserate.10centuries.org.