TL;DR: If the Z3C camera doesn’t work after restoring the /data partition from another phone, try deleting the contents of the /data/credmgr directory. Recently I wanted to restore the TWRP backups from my broken Z3C to a new device. The usual process including TA backup and restore went well, however, after the restore, the rear camera of the new device…