Default [Q] How to manually initialize hardware sensors?

Hi there,

I have a strange problem with CM11 on my Sony Xperia Z1.

When I encrypt the phone, afterwards all sensors are dead. Phone tester says, the device has no sensors. Thus no auto rotating, no gyroscope, no nothing.

Only wiping /data fixes the problem.

Can anyone tell me how to manually initialize the sensors in Android? Maybe I just need to "start" the sensors management manually?

What I can say, the file /data/system/sensors/settings is there and readable and contains a 1

I have no clue how phone encryption relates to the sensors.

But maybe anyone can give me a hint how the sensors management can be started manually on Android.

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