Prompt [Q] How to fix an error in DATA partition?

Hi there,

I have DHD with QSense_Multy rom. It was working fine, but all of a sudden, after I took a photo, the device rebooted and stuck on the logo.
I backed all the partitions up, formatted all of them, and installed the same rom from scratch. After that everything works fine.
Then I tried to restore DATA partition, and the issue happened again - the loading process stuck on the logo.
So, the problem is somewhere in DATA partition, and my question is how to figure out what causes the problem and what are the options to solve the issue and save the data?

root and s-off enabled, recovery: 4EXT Recovery Touch

Thanks in advance for all your help.