A quick announcement:
So as you all know by now that OnePlus is adding checks and disabling features if device isn't a OnePlus phone like they did for Zen mode last year on pie and now they are doing the same for some core services on Q.
And moreover they've moved many stuff to kernel, like houston, aigov and ramboost etc. Without fixing this, your device will have random reboots or bad battery life along with log spamming. Although these things can be ported into our kernel, but that takes a lot of time and resources.
Some of the things that we've added are: OnePlus jack detection, OnePlus thermals(minimal import), OnePlus dt2w node, Houston and memboost on pie...
And to add salt to the wound, beryllium has issues with doze suspended state (setPowerMode = 1) where screen remains off bcoz ours isn't AMOLED. Usually in such cases, it should switch to normal power mode, which isn't happening on Poco
Commit:
hwc: Bump up version to 1.4
Add support for setPowerMode HWC_POWER_MODE_DOZE and HWC_POWER_MODE_DOZE_SUSPEND are treated equally as HWC_POWER_MODE_NORMAL.
Tldr: we need to modify drm(idk why the fuck xiaomi added doze stuff there) to put phone in power state 2 else screen remains off. Modifying drm had profound issue with deep sleep so I modified surfaceflinger instead. So now ambient and lift up works on any kernel.
And many more issues with beryllium is bcoz of the common kernel source with mi8.
Also other issue with xiaomi is non flattened APEXs.(no wonder why nobody trying to port OOS for mi8/polaris wink wink)
So if want to appreciate the effort we put in and keep us motivated, you can consider becoming a patreon.
https://www.patreon.com/amog787 | Read tier info for more details.
Or you can directly send if patreon isn't working for you:
https://t.me/oos_beryllium/22Usual public builds will be released normally as we do.