I can't delete files
I haven't got a rooted phone but the only solution I can give to you is to delete the files from the system applications.

I.e. instead of from the file Explorer, delete photos from the gallery app. And apps from the application manager.