Sensor subsystem non-functional on Jolla C2 (SFOS 5.0.0.76)

Hi everyone, first of all I’m new here so I don’t know if I’m in the right place to discuss my issue. Let me know about this eventually, thank you.

I’m experiencing a problem with gyroscope and accelerometer of my new Jolla C2 SFOS 5.0.0.76. Shortly, auto-rotation and shake-to-flashlight are completely non-functional since factory. I tried several things with no results:

  • sensorfwd.service is active but fails to load Android/Hybris dependencies:
    • library “libhardware.so” not found
    • library “libcutils.so” not found
    • library “libutils.so” not found
    • library “libc++.so” not found
  • /usr/lib/sensorfw/ and /usr/libexec/sensorfw/ directories do not exist
  • IIO device0 (sprd-sensorhub) is visible in /sys/bus/iio/devices/ but sensorfwd has no backend to poll it
  • Gyroscope & Accelerometer always return 0 in CSD

I read similar topics for older OS version than mine but running CSD or switch on/off GPS and similar does not work for my C2. Anyone with the same problem? Could it be related to the latest OS release?

I apologize if I’m in the wrong place, let me know if moving the discussion to BUG category, for example, would be better. Thanks in advance

2 Likes

Experiencing?

That means a short period of time, but you seem to mean it doesn’t work at all?

That’s just normal noise for running pretty much anything.

Yep, gyroscope and accelerometer does not work at all

PS. sorry for english, I’ve just fixed it

2 Likes

Do the other sensor tests work in CSD? Jolla C2 does not use IIO sensors directly, it uses the hybris backend for all sensors. As mentioned already those library loading messages are not a problem. Does it help if you run “systemctl restart sensorfwd” as root (you can become root uses by using devel-su in terminal)?

Good morning everyone,

My C2 is also having issues with the sensors and GPS. As promised, here is a description of how I fixed the accelerometer.

To rotate the screen, I changed the threshold from 800 to 500 in the 30-sensors-c2.conf configuration file – see photo…

I did this because in the CSD tool, the axis reading never exceeds 600 counts when I rotate the phone (while stationary, of course).

I’d like to know if these values are the same on your C2s, especially on those where the GPS isn’t working (I want to see if there’s a connection).

I’ve checked on a Sony XA2 and found that these values easily exceed 900 counts…



I almost forgot… mine is a C2 Q4/25…

1 Like

Could you take the same photos, or could you describe how your C2 behaves?


Your gyro seems dead. But IIRC it doesn’t work properly on any C2. So no big loss.
As you can see above it seems that accelerometer on mine seems to work properly. I suspect HW on your C2.

I also suspect there might be some hardware issues, even with simple flat cables that seem to be coming loose, which is why I want to know if other C2 users are experiencing similar problems. It seems this issue is also affecting the GPS, which in my case can only pick up a maximum of two satellites (as if the module wasn’t getting enough power…).

Do you know how the Jolla warranty works?

Minimum one year as requested in EU. Might be more.
I suggest to open a ticket at Zendesk and wait a few weeks for instructions. I guess they’ll want it there.

Unfortunately “systemctl restart sensorfwd“ does not help in my case. Other sensor tests in CSD like light sensor and proximity sensor are ok, gyro&accelerometer and compass fails

Here my screen of the test result, while the file you mention in my telephone exists but it’s blank (I found it using ssh through linux, the file manager cannot see it I don’t know why)

Maybe worth a reflash.
If file is still empty or both senzor outs sill zero there’s something wrong with HW I guess.

Hi everyone…

I’ve got a question: does reflashing the firmware void the warranty?

I’ve opened a support ticket to get my C2 replaced… who knows when they’ll reply…

Has anyone here had any experience with Zendek?

Of course it does not voiding it. That’s not legal in EU anyway.

Zendesk has a few weeks of backlog. But they do try their best in my experiance.

Good luck.