[Xiaomi Mi MIX  ROMs, Kernels, Recoveries, & Other ] StarScream159:
Hi all. Thanks so much @Inkypen for getting this ROM working. It's very nice coming from Android 10 to the latest version. I'm loving all the new UI elements and features. I've been slowly getting my phone re-setup with my app backups and all that. Stable, fast as before and about the same battery as before - my battery is on the way out again though. :( Gonna have to get a new one and swap again (this'll be the 3rd time!).

I've run into one issue so far: auto rotation doesn't work. I searched the thread and haven't seen it mentioned so maybe it's unique to me, but I've tried everything I can think of. Nothing seems to work. I have the auto-rotate setting on but still when in my test app (Chrome) rotation never happens. I also don't get the floating rotation icon when I rotate in apps either (that setting has been enabled in crDroid Settings).

I've googled a little and saw someone report enabling button navigation instead of gesture (on a Pixel) fixed it for them but that didn't work for me. No combination of settings I've been able to test has fixed it. I'm starting to think it's something with the sensor and the kernel maybe? It worked before I flashed over to this ROM.

Any help would be appreciated. Let me know if I can get you logs or anything you need.

EDIT: I saw your post on page 2 about the proximy sensor and you used the app "Sensor Test" to test it. I installed this app and indeed there appears to be a problem with all my sensors. The only one reported working in that app in the proximity sensor. All the others have a red dot and when tested show a "your device doesn't have this sensor or you have error with sensor service in device firmware."

My flash/upgrade process was:

flash new TWRP (lithium-twrp-3.7.0_12-0-for-A14.img from this page)

set cache/storage to f2fs

flash ROM from within TWRP (crDroidAndroid-14.0-20240101-gapps-lithium-v10.0.zip also from this page)

wipe everything

flash Magisk from within TWRP (I installed this using the flash method and not the recommended "patch" method)

copied my backups back onto the now formatted internal storage

proceed to setup phone again

EDIT 2: I see @Inkypen posted KernelSU images to flash. I'm wondering if that's why mine is messed up. I didn't use that. Is Magisk not compatible?

EDIT 3: I uninstalled Magisk completely (using the option in the manager) and then flashed the original boot.img that I unziped from the ROM zip just to make sure it was gone. Then rebooted. Magisk manager is gone but the Sensor Test still shows only the proximity sensor is working.

EDIT 4: Seeing a lot of posts goolging stuff like "Xiaomi sensor not working rom crdroid" etc etc.. and there are a lot of posts about persist.img and re-flashing from official ROM. Has anyone else had to do that? I came from Pixel Experience A10 so I'm wondering if that isn't right for A14? I also might have a really old Firmware. Not sure how that plays into it but I looks like I last flashed Firmware_8.12.27_Mi_Mix.zip. Not sure if @Inkypen's ROM here includes new firmware or if I'm getting my terminology wrong.

EDIT 5: Here's what I hope are relevant logs: https://pastebin.com/TrpxNWgT Googled a few keywords in there and found this post talking about, again, persist.img... https://xdaforums.com/t/fix-another-fix-for-camera-issue.4034399/