With the use of powerful recovery program like
OnePlus Phone Data Recovery [androiddata-recovery.com], you can retrieve
deleted data from OnePlus 5 and other OnePlus phones. This software is very
effective as it can restore files deleted due to any reasons. At the same time,
it also allows you to preview the data before recovery. So I would suggest you
to use this tool and get back deleted files from it easily.