How can i recover files from an emmc drive?

I just accidentally deleted an important file, and I’m unsure how to recover it. Can anybody give some advice or some resources to figure this out? I’m pretty new when it comes to managing things around linux, so its frequent that i mess up somewhere like this.

I’m not sure if this is a KDE specific issue but real quick what I would do:

  1. Make sure you immediately stop working with the drive and do not write any data to it anymore.
  2. Copy the content over to another drive using dd in an unmounted state so you have that as a backup.
  3. Research the topic (e.g. this page) and try recovery, with different tools if necessary.

Good luck!