A Microsoft file hosting and synchronization service.
Hi, Robie Ortega
OneDrive appears to have been linked through Samsung Gallery sync, which is two-way. Deleting photos in OneDrive can therefore delete them from the phone’s Gallery as well.
Here are some suggestions you can try:
First, turn off Wi-Fi/mobile data and stop taking photos or installing apps for now, so deleted data is less likely to be overwritten.
Check your phone’s own deleted-items folder, which is separate from OneDrive:
Samsung: Gallery > Menu > Recycle bin > select the photos > Restore.
Google Photos: Collections > Trash > hold the photos > Restore. Restored items return to Google Photos and may also reappear in the phone Gallery.
iPhone: Photos > Recently Deleted > View Album > Recover.
Also search the phone’s Files app under DCIM, Pictures, Camera, and any SD card. Check Google Photos, iCloud Photos, Samsung Cloud, WhatsApp, and any computer previously used to import the pictures.
If the photos were stored on a removable SD card, stop using it and scan it on a computer with a free recovery tool such as PhotoRec. Unfortunately, if they were permanently removed from encrypted internal phone storage and no other backup exists, free recovery cannot be guaranteed.