Open Shivelight opened 10 months ago
For those with similar issue this is how I solved it https://github.com/Shivelight/recovery_device_infinix_X6833B/commit/d4af99003b88c040c81ae886e33aafc1dd8c6dc9 Which is inspired by https://github.com/sfX-android/android_device_oneplus_hotdog/commit/404d8806010775e9da32225b4142ec10e5cc7ed8
I'm building TWRP for my Infinix Note 30 (X6833B) [tree] and I found that the vibrator/haptics is not working because, for some reason, my device haptic driver is using
/sys/class/leds/vibrator_single
instead of/sys/class/leds/vibrator
. It would be nice if these paths are customizable.https://github.com/TeamWin/android_bootable_recovery/blob/bc8dce77076b7d9e4ec078ee8023870f4ddc8873/minuitwrp/events.cpp#L63-L64
Device sysfs:
Device with similar configuration: https://github.com/TrebleDroid/treble_experimentations/issues/21