FreshROMs / Fresh

Primary information center for The Fresh Project.
GNU General Public License v3.0
5 stars 0 forks source link

None of the sensors work #45

Closed TenSeventy7 closed 1 year ago

TenSeventy7 commented 1 year ago

The issue tracker on this page is ONLY used for reporting bugs and feature requests. If you are a Fresh Betta Tester, please discuss other issues on the dedicated channel on Fresh's Discord server.

Primary checklist

Device Information

Fresh version: 5.0.1.02 Experimental

Device model: SM-A505GN

Current Behavior

None of the sensors on the device work, including the accelerometer and proximity sensor.

Using stock libraries for sensorhub no longer works. We might need to port over Android 12's vendor sensor HAL wholesale.

Steps to Reproduce

  1. Open any sensor 'testing' app
  2. Test for any sensor
  3. Nothing works

Expected Behavior

Sensor should work.

TenSeventy7 commented 1 year ago

Fixed by changing the libutils.so dependency of older sensorhub libraries to VNDK 32's using patchelf. Sensors now work as expected.