Rust UDFPS sensor (row 6) + dead ALS correction removed (row 5): module test build (dodge) What changed - sensors.oplus (UDFPS sensor sub-HAL): the sensor runs in Rust (fp_state poll thread, one-shot arm/fire, data-injection pause); a thin C++ shim keeps the HIDL ISensorsSubHal interface and posts the events. Same sensor: "UDFPS Sensor", org.lineageos.sensor.udfps, handle 1, wake-up one-shot, data = x, y. Fixed from the C++: the base Sensor constructor started the thread that calls the virtual run() before UdfpsSensor existed (could run the generic loop, so fp_state was never polled); mStopThread started uninitialized. - android.hardware.sensors-service.oplus-multihal: AlsCorrection removed. Its correction was never called; init() only blocked the sensor list waiting for the ALS capture service. The QTI wise light sensor is still listed as the light sensor. FusionLight (unchanged here) is still the ALS capture client. Sources (server1 ~/penguin-dodge hardware/oplus, local, not pushed) - f63fe4e1 "sensors: udfps: Rewrite the sensor in Rust" - f5faf863 "sensors: Drop the unused ALS correction" ARB: not applicable. Not a flashable zip; the test bind-mounts two files over /vendor until reboot. How to test (root). Not tested on a device yet. 1. Copy this folder to the phone, e.g. /data/local/tmp/sensors-rust; run the libudfps_sensor_rust-test binary as root (chmod 755 first). 2. su -c sh test-sensors-rust.sh Binds both files, restarts the sensors HAL (SensorService reconnects by itself) and must print "PASS: same sensor list" and "UDFPS sensor listed". 3. Lock the phone; with the screen off and with AOD, touch the fingerprint area: unlock and the press animation must work as before. Screen on: rotate, auto brightness, proximity in a call, step counter, to confirm every other sensor still reports. 4. su -c sh check-sensors-rust.sh Rollback: reboot, or su -c sh revert-sensors-rust.sh. Last known-good ROM: https://unicorn.serverhive.in/saikiran/dodge/1811/g627/ 2026-11-18 17:35: test/revert scripts updated: on devices without /vendor/lib64/sensors.oplus.so (dodge) only the multihal is swapped (was: stopped at chcon). Binaries unchanged. 12:05 UTC: scripts fixed per Yoga O2 nits: sensor list diff ignores recent-event history, nsenter re-exec uses an absolute path (sh test-sensors-rust.sh from the folder works), running exe compared by sha256. Binaries unchanged.