I have tried to debug for it. And the kernel driver work well for mma8452 sensor.
But the Android sensor HAL is 32bit library file. Unluckly, our VIM2 system is 64bit and I haven’t the sensor HAL source code.
I wish the amlogic has the 64bit ‘sensors.amlogic.so’ file and can provide it for me
I’m very sorry for the sensor support. I asked the amlogic to give me the 64bit sensor library file, But they said the sensor library is not being maintained and can’t provide the new sensor library for me.
As Amlogic SoCs are designed for TV-Box or TVs, so there source code didn’t develop to support screen roatation features, Terry check the source code and also double confirm with Amlogic engnieers: it will require a huge works to done that.