thune-xiaobai / android_device_xiaomi_sagit

52 stars 25 forks source link

Camera doesn't work with oss kernel #10

Closed DanWard closed 7 years ago

DanWard commented 7 years ago

Camera doesn't work in any application with the OSS kernel. I'm using your kernel fork to compile, and have tried both 7.9.14 China Dev and 7.9.22 Global Dev firmwares.

Logcats below: Snap camera crash - https://pastebin.com/raw/RGEVYV30 Google camera crash - https://pastebin.com/raw/EWbzBpNg

coderstory commented 7 years ago

he know it

thune-xiaobai commented 7 years ago

baseline of this OSS kernel is too old. find a miui rom with Meta_Build_Id on firmware matches MSM8998.LA.1.1.r1-* replace all camera blobs with it,then camera works

DanWard commented 7 years ago

Cool easy fix then. Where can I find the Meta_Build_Id? Appreciate the help.

coderstory commented 7 years ago

开源的代码的最后更新日期 匹配 miui版本发布日期 233333

DanWard commented 7 years ago

@coderstory - what date is 233333? I've got it working with China Dev 7.5.5. Edit: Never mind, I see that 2333 translates to 哈哈哈.