Question: how to recover deleted photos on sony xperia xz?
Answer: Connect your Sony Xperia phone to the computer.
Launch Xperia Companion, select Restore option on the main interface.
Select a backup file that includes the lost pictures from a list of available backups.
If your selected backup is protected, enter your password when prompts.
Choose what data to restore.