if you have sensors problems i think you have to follow this (mine) guideAnyone that has root with this Android 11 build, can you please verify if your sensors are working. You can download the sensor test app from the playstore or any sensor app for that matter.
Reason being, I have been re-flashing all sorts of combinations TWRP and rom versions before finally flashing OOS 11 to obtain root for the oneplus 6t. For the life of me I can not get this rooted with the sensors being registered! Please verify if your rooted OOS 11 has working sensors!
Also, if anyone knows a fix to calibrate sensors, please do tell!