Default Sensors config files below /data?


I have an issue with CM11 on my Sony. When I enable device encryption, all sensors turn off.

Wiping /data partition makes them work again.

So I guess this is due to permission or config issue below /data.

Can you tell me what config files Android creates below /data that controls the sensors?

Maybe I can find manually a config file that triggers this bug after encrypting...

Sony Xperia Z1 - Software 14.4.A.0.108 root - Android 4.4.4