How to Enable Camera2 API on the Xiaomi Mi A1 without disabling OTA updates

Multiple Xiaomi devices like the Mi A1 have support for the Camera2 API, but it isn’t enabled by default. That’s a shame because it means that things like the variousGoogle Camera ports floating around our forums won’t work. We’ve shown how the Google Camera HDR+ mod can greatly enhance the picture quality on Xiaomi phones
, and coupled with all of the other neat features that these ports bring such as Portrait Mode, AR Stickers, and more, it’s no surprise that people are drawn to these camera mods.

It it possible to enable the Camera2 API on Xiaomi phones, however, the process requires that you root your device and make some changes to system properties so the API is enabled. Making any modifications to system files like the build.prop normally means you can’t accept OTA updates anymore, but thankfully there’s a way to enable Camera2 without modifying any system files

This step by step guide for the Xiaomi Mi A1 from XDA Recognized Developerflex1911walks you through unlocking your bootloader and rooting the device so you can enable the Camera2 API through a setprop command, but once the change has been made to enable Camera2, you can completely uninstallMagisk and relock the bootloader so you can accept official OTAs again.

This is actually a fairly common method of making modifications to build.prop without needing to keep your device permanently bootloader unlocked/rooted (and thus preventing you from taking OTAs), but for newcomers it’s nice to have a detailed guide like this around. If you would like to enjoy the Google Camera port on your Xiaomi Mi A1 without sacrificing the ability to accept OTA updates, then check out the guide at the source link below.

How to Enable Camera2 API on the Xiaomi Mi A1

xda-developers责编内容来自:xda-developers (源链) | 更多关于

本站遵循[CC BY-NC-SA 4.0]。如您有版权、意见投诉等问题,请通过eMail联系我们处理。
酷辣虫 » 移动互联 » How to Enable Camera2 API on the Xiaomi Mi A1 without disabling OTA updates

喜欢 (0)or分享给?

专业 x 专注 x 聚合 x 分享 CC BY-NC-SA 4.0

使用声明 | 英豪名录