- Edited
I regularly partake in outdoor activities in extrended trips overseas, so I always bring a 2nd phone in case my primary is damaged or lost (both are identical p9pros) . The problem is, it's a huge hassle to set up all my accounts and apps again on a new phone and I invariably end up losing messages and content that's trapped by the hardware-backed KeyStore.
I would like to clone my entire phone's state to a local backup on my laptop (which has remote encrypted backups), so that I can clone the entire phone's state to another device with the push of a button.
I realize I'll need to do a custom build of GrapheneOS. Has anyone already done this or can give me suggestions on what needs to be patched? I'm guessing the main thing is a software bypass for the Keystore. And of course making it a userdebug build, which I already do.