Sign Up

Captcha Click on image to update the captcha.

Have an account? Sign In Now

Sign In

Captcha Click on image to update the captcha.

Forgot Password?

Need An Account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Captcha Click on image to update the captcha.

Have an account? Sign In Now

Please type your username.

Please type your E-Mail.

Please choose an appropriate title for the question so it can be answered easily.

Please choose the appropriate section so the question can be searched easily.

Please choose suitable Keywords Ex: question, poll.

Browse
Type the description thoroughly and in details.

Choose from here the video type.

Put Video ID here: https://www.youtube.com/watch?v=sdUUx5FdySs Ex: "sdUUx5FdySs".

Don't have account, Sign Up Here

You must login to add post.

Captcha Click on image to update the captcha.

Forgot Password?

Don't have account, Sign Up Here
Please subscribe to paid membership

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Support Xiaomi | Community Xiaomi Logo Support Xiaomi | Community Xiaomi Logo Support Xiaomi | Community Xiaomi Logo Support Xiaomi | Community Xiaomi Logo
Sign InSign Up

Support Xiaomi | Community Xiaomi

Support Xiaomi | Community Xiaomi Navigation

  • Home
  • About Us
Search
Ask A Question

Mobile menu

Close
Ask A Question
  • Home
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Tags
  • Badges
  • Help
Home/ Questions/Q 1056
Next
In Process

Support Xiaomi | Community Xiaomi Latest Questions

Support Xiaomi
  • 0
  • 0
Support XiaomiEnlightened
Asked: Tháng 12 30, 20172017-12-30T17:50:39+00:00 2017-12-30T17:50:39+00:00In: Tips, Tricks & Customization

[GUIDE] Step by step walk through to install the modded google camera with HDR+ on unrooted Xiaomi devices, even on untouched MIUI. Greatly improves camera performance.

  • 0
  • 0

I wrote someone a guide, and decided someone might make use of it here too. HDR+ is magic, makes your camera so much better than stock.

You don’t need root. You need Nougat though (MIUI 9), but the e.g. RN4 should have that already. Here’s what you need to know:

In MIUI, unfortunately, the camera2api (a thingy which provides a modern interface to the camera) is disabled. The modded google camera needs this, so you need to enable that, this is the only requirement other than running nougat or higher.
Using the following steps will allow you to do this, without losing any data or without having to reinstall anything. It takes only a few minutes. Some of these steps might sound daunting, but it really isn’t, kinda foolproof nowadays:

1. Unlock the bootloader, officially by Xiaomi, following [this guide made by the folks over at /r/xiaomi](https://www.reddit.com/r/Xiaomi/wiki/flashing/unlock). Do not lie on the form, just tell you want to enable the camera2api for hdr+

2. Flash TWRP, following [this guide](https://www.reddit.com/r/Xiaomi/wiki/flashing/flashtwrp). TWRP is a custom recovery. If you want to keep on using MIUI, or you do not want to flash a new OS, use the **cofface** version.
**EDIT: I suggest you just boot into twrp and not flash it with the command, as /u/adrieltan suggested:**

> fastboot boot twrp.img
This way, you won’t need to worry about the version of TWRP (like cofface or not) or later updates.

3. ***optional: only if you flashed TWRP, not just booted into it like the edit said in step2:***
Boot into TWRP. Tap on mount, and mount the System partition.

4. On your PC open your Minimal ADB and fastboot folder (you installed this previously), and open the MAF32 file, that opens up a simple terminal.

5. type the following into this terminal window:
echo ‘persist.camera.HAL3.enabled=1’ >> /system/build.prop

*Note: if this does not work, use [this from step 4, its longer but it works](https://forum.xda-developers.com/redmi-note-4/how-to/guide-enable-camera2-api-root-t3690366)*

6. Reboot to system (from TWRP)

7. Install the google cam from [here](https://www.celsoazevedo.com/files/android/google-camera/). I use [this version, it’s the smoothest and best quality for me](https://www.celsoazevedo.com/files/android/google-camera/f/MGC_5.1.018_7.0+C2API_min_3a_AllinOne.apk) currently. I recommend the MGC versions. You can play around with the settings, but my preference is “Walleye”, jpeg quality 100%, HDR+ set to ‘Super High”, Pixel HDR+ and ZSL on. I use HDR+ enhanced whenever I can (need to turn hdr controls on for that), although its a little slow (but end results are great). Simple HDR+ is also good.

Please note that MIUI OTAs can disable the camera2api back, or sometimes OTA updates fail because of TWRP, but its nothing bad, just reboot and it works again, and if that happens flash MIUI manually.

69
  • 69 69 Answers
  • 0 Views
  • 0 Followers
  • 0
    • Report
  • Share
    Share
    • Share on Facebook
    • Share on Twitter
    • Share on LinkedIn
    • Share on WhatsApp

Leave an answer
Hủy

You must login to add an answer.

Captcha Click on image to update the captcha.

Forgot Password?

Need An Account, Sign Up Here

69 Answers

  • Voted
  • Oldest
  • Recent
  • Random
  1. bennyhillthebest
    bennyhillthebest
    2017-12-30T18:27:57+00:00Added an answer on Tháng 12 30, 2017 at 6:27 pm

    I use this one: https://forum.xda-developers.com/redmi-note-4/themes/google-camerawith-hdr-mido-t3656196

    I assume there are no differences, or am i wrong?

      • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
  2. kuncogopuncogo
    kuncogopuncogo
    2017-12-30T19:27:57+00:00Added an answer on Tháng 12 30, 2017 at 7:27 pm

    There is. I don’t know specifics but this doesn’t even work for me properly with walleye settings, only taimen, and even that is so so. The other is just overall much smoother.

      • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
  3. NETSLAYER369
    NETSLAYER369
    2017-12-30T20:27:26+00:00Added an answer on Tháng 12 30, 2017 at 8:27 pm

    I’m using lineage os ….. How to get Google camera working on that

      • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
  4. SlyScorpion
    SlyScorpion
    2017-12-30T20:33:16+00:00Added an answer on Tháng 12 30, 2017 at 8:33 pm

    Try the step with enabling the camera2api and then install the apk file from the OP’s post.

    If you have root then any file explorer with root access (Solid Explorer, MiXplorer) will let you edit the build.prop file to enable the camera2api.

      • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
  5. kuncogopuncogo
    kuncogopuncogo
    2017-12-30T20:48:04+00:00Added an answer on Tháng 12 30, 2017 at 8:48 pm

    Lineageos 7.0 or higher?

    Test if you have camera2api enabled by [this app](https://play.google.com/store/apps/details?id=pl.vipek.camera2_compatibility_test) or the [build.prop editor](https://play.google.com/store/apps/details?id=com.jrummy.apps.build.prop.editor) app.

    It should be enabled. But if not, you don’t need to do all this jazz cause lineage comes rooted so you can edit the necessary file on your phone, without PC. Download the [build.prop editor app](https://play.google.com/store/apps/details?id=com.jrummy.apps.build.prop.editor), and add the following line with it:

    persist.camera.HAL3.enabled=1

    You can now install the modded google camera .apk and it works.

      • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
  6. kuncogopuncogo
    kuncogopuncogo
    2017-12-30T20:50:03+00:00Added an answer on Tháng 12 30, 2017 at 8:50 pm

    Some people had success with it, you can try. I never needed to do it so unfortunately I have no information on it, sorry about that.

      • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
  7. ivan34bg
    ivan34bg
    2017-12-30T21:02:49+00:00Added an answer on Tháng 12 30, 2017 at 9:02 pm

    Go [here](https://forum.xda-developers.com/redmi-note-3/themes/mod-updated-6-11-17-google-camera-hdr-t3701190). There is one for android 6 which I’m using right now. Just make sure that your camera2api is enabled.

      • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
  8. qixiaoqiu
    qixiaoqiu
    2017-12-30T21:28:05+00:00Added an answer on Tháng 12 30, 2017 at 9:28 pm

    On the Mi6 the resulting pictures are very blurry compared to the Miui camera app. :/

      • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
  9. kuncogopuncogo
    kuncogopuncogo
    2017-12-30T21:39:08+00:00Added an answer on Tháng 12 30, 2017 at 9:39 pm

    Sorry to hear that. Maybe you could try different settings and different versions of the app. Also check the specific mi6 xda subforum, maybe they have something for your specific model.

      • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
  10. qixiaoqiu
    qixiaoqiu
    2017-12-30T21:43:45+00:00Added an answer on Tháng 12 30, 2017 at 9:43 pm

    I’ve tried those as well. No luck so far.

      • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
  11. arun_kp
    arun_kp
    2017-12-30T22:03:38+00:00Added an answer on Tháng 12 30, 2017 at 10:03 pm

    https://www.xda-developers.com/camera2api-magisk-module-enables/

      • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
  12. adrieltan
    adrieltan
    2017-12-30T22:15:33+00:00Added an answer on Tháng 12 30, 2017 at 10:15 pm

    Great guide man! I totally forgot about echo to add it into the build.prop easily!

    However, I’ll suggest changing Step 2 and 3 to just booting into TWRP without flashing it.

    You can do:

    > fastboot boot twrp.img

    and boot straight into twrp without flashing over stock recovery and run all the typical commands.

    The advantage of this is that not every phone out there has a MIUI safe TWRP. So once the command is done, you can reboot into system and everything works great (updates will not fail because of TWRP.)

    Additionaly, I’ll recommend you to add on to disable “Install Automatically” in the updater as sometimes it’ll attempt to update overnight and the Camera2API will be disabled.

      • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
  13. kaffeeschmecktgut
    kaffeeschmecktgut
    2017-12-30T22:18:49+00:00Added an answer on Tháng 12 30, 2017 at 10:18 pm

    Can I do this on Mi A1?

      • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
  14. kuncogopuncogo
    kuncogopuncogo
    2017-12-30T22:27:30+00:00Added an answer on Tháng 12 30, 2017 at 10:27 pm

    Good idea! I will edit my post, thanks!

      • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
  15. HoneyIsTheBestPolicy
    HoneyIsTheBestPolicy
    2017-12-30T22:32:21+00:00Added an answer on Tháng 12 30, 2017 at 10:32 pm

    Are there any downsides to this? Like I have to update manually from now on?

      • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
  16. RenegadeUK
    RenegadeUK
    2017-12-30T22:57:59+00:00Added an answer on Tháng 12 30, 2017 at 10:57 pm

    Excellent post. Well done 🙂

      • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
  17. InfernoZeus
    InfernoZeus
    2017-12-30T23:18:16+00:00Added an answer on Tháng 12 30, 2017 at 11:18 pm

    This is the only way I’ve ever got TWRP working on my RN3P. Every tutorial I’ve followed has always said flash then reboot, but it never works for me… Any ideas what’s up with that?

      • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
  18. adrieltan
    adrieltan
    2017-12-30T23:25:04+00:00Added an answer on Tháng 12 30, 2017 at 11:25 pm

    I always ran stock on my RMN3Pro and my Mi Max 2 and I’ve always booted into twrp instead of flashing it and it worked great… Not sure what’s up. Shouldn’t be any reason why that wouldn’t work…

      • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
  19. Dennygreen
    Dennygreen
    2017-12-30T23:52:34+00:00Added an answer on Tháng 12 30, 2017 at 11:52 pm

    That’s great, now give me a step by step guide to making it save to SD card.

      • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
  20. kuncogopuncogo
    kuncogopuncogo
    2017-12-31T00:01:47+00:00Added an answer on Tháng 12 31, 2017 at 12:01 am

    Since you are asking so nicely, Root->xposed->picture2sd

    Or foldermount

      • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
  21. kuncogopuncogo
    kuncogopuncogo
    2017-12-31T00:46:08+00:00Added an answer on Tháng 12 31, 2017 at 12:46 am

    Newer, but different version, try it for yourself. I installed it with app cloner and tried it side by side.

      • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
  22. Jyrka98
    Jyrka98
    2017-12-31T00:48:05+00:00Added an answer on Tháng 12 31, 2017 at 12:48 am

    You don’t even need an app to check, you can do it with ADB:
    >adb shell getprop persist.camera.HAL3.enabled

      • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
  23. kuncogopuncogo
    kuncogopuncogo
    2017-12-31T00:48:38+00:00Added an answer on Tháng 12 31, 2017 at 12:48 am

    You possibly have camera2api already enabled and just need to install the apk. Check if you do. If not, yes, this works

      • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
  24. kuncogopuncogo
    kuncogopuncogo
    2017-12-31T01:16:15+00:00Added an answer on Tháng 12 31, 2017 at 1:16 am

    Yeah, that’s another good option then!

      • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
  25. scoobdooo
    scoobdooo
    2017-12-31T01:36:14+00:00Added an answer on Tháng 12 31, 2017 at 1:36 am

    no, it’s not enabled in mi a1.

      • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
  26. kuncogopuncogo
    kuncogopuncogo
    2017-12-31T06:50:55+00:00Added an answer on Tháng 12 31, 2017 at 6:50 am

    >if you have to unlock the bootloader as the first step you will need to factory reset your phone.

    no you don’t? I’m not sure what do you mean but I did this on 3 phones thus far and never had to factory reset

      • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
  27. peaslik
    peaslik
    2017-12-31T08:22:11+00:00Added an answer on Tháng 12 31, 2017 at 8:22 am

    Thanks for the guide! Really good work.

    I only booted not flashed TWRP, I had to take that long route from XDA link and flash lazyflasher (without it the OS was freezing at bootanimation).

    Is it possible to re-lock bootloader? Is it wise to even do that (I’m afraid that some problems may occur later, for example when system update will be available, and with locked bootloader I will be screw, but on the other hand, many applications require to have locket bootloader and no root…).

      • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
  28. ValuableHire
    ValuableHire
    2017-12-31T09:25:37+00:00Added an answer on Tháng 12 31, 2017 at 9:25 am

    While trying to install the APK I get the error “The package conflicts with an existing package by the same name. Any idea what to do?

    I am using a RN3 with LineageOS(unrooted).

      • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
  29. adrieltan
    adrieltan
    2017-12-31T12:25:10+00:00Added an answer on Tháng 12 31, 2017 at 12:25 pm

    Every update is a full ota package ( 1GB download almost each time), and you’ll have to re-enable it with every update

      • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
  30. elusive47
    elusive47
    2017-12-31T13:39:45+00:00Added an answer on Tháng 12 31, 2017 at 1:39 pm

    With this you get to keep stock recovery and have OTA. That’s great! With my Mi A1 now updated to Oreo, I’ll do this and have HDR+ too!

      • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
  31. dadihu
    dadihu
    2017-12-31T14:59:31+00:00Added an answer on Tháng 12 31, 2017 at 2:59 pm

    man it works!(mi5)

    this is what i did:

    * cmd:’adb reboot bootloader’
    * cmd:’fastboot boot twrp.img’
    * Boot into TWRP. Tap on mount, and mount the System partition.
    * cmd:’adb shell’
    * cmd:’echo ‘persist.camera.HAL3.enabled=1′ >> /system/build.prop’
    * exit and restart phone

      • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
  32. adrieltan
    adrieltan
    2017-12-31T15:33:17+00:00Added an answer on Tháng 12 31, 2017 at 3:33 pm

    A1 is quite picky when it comes to OTAs… It may or may not work….

      • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
  33. Darkblade48
    Darkblade48
    2017-12-31T16:23:05+00:00Added an answer on Tháng 12 31, 2017 at 4:23 pm

    For some reason, when I do this and install the HDR+ APK, my image becomes rotated 180 degrees (so that it is upside down).

      • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
  34. MultiUseBot
    MultiUseBot
    2017-12-31T16:23:48+00:00Added an answer on Tháng 12 31, 2017 at 4:23 pm

    You activated a secret function of mine!

    By saying upside-down, I will make your text BE upside down! Enjoy!

    >uʍop ǝpısdn sı ʇı ʇɐɥʇ os sǝǝɹbǝp pǝʇɐʇoɹ sǝɯoɔǝq ǝbɐɯı ʎɯ ʞdɐ ɹpɥ ǝɥʇ ןןɐʇsuı puɐ sıɥʇ op ı uǝɥʍ uosɐǝɹ ǝɯos ɹoɟ

    This bot is made to learn how to use APIs better; please give any feedback you deem fit.

    Say hi to me by typing !hibot

    Normal use: Type rhyme followed by a word you wish to rhyme!

    Secret commands: To hear a Chuck Norris joke, comment !chucknorrisjoke anywhere in this subreddit!

    Another secret command: To make your text upside-down, say upside-down anywhere in your text!

      • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
  35. kuncogopuncogo
    kuncogopuncogo
    2017-12-31T17:05:15+00:00Added an answer on Tháng 12 31, 2017 at 5:05 pm

    I imagine you cannot delete/disable the package without root. You can either try to uninstall/delete the existing package, or try to use [App Cloner](https://play.google.com/store/apps/details?id=com.applisto.appcloner&hl=en). I’m not sure if it will work, but worth a try to clone the downloaded APK and rename the app and etc.

      • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
  36. elusive47
    elusive47
    2017-12-31T17:35:42+00:00Added an answer on Tháng 12 31, 2017 at 5:35 pm

    Oh. Darn

      • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
  37. jampol
    jampol
    2017-12-31T19:40:18+00:00Added an answer on Tháng 12 31, 2017 at 7:40 pm

    One question. Does Redmi 3 Pro (not Redmi Note 3) have camera2api support? My google-fu skills are failing me.

      • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
  38. Revenge182
    Revenge182
    2018-01-01T00:30:43+00:00Added an answer on Tháng 1 1, 2018 at 12:30 am

    The autofocus doesn’t work, so you need to switch to video, focuse there, and then back to camera.

      • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
  39. qixiaoqiu
    qixiaoqiu
    2018-01-01T01:18:52+00:00Added an answer on Tháng 1 1, 2018 at 1:18 am

    Oh that explains it. Thanks!

      • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
  40. HYMREDDIT
    HYMREDDIT
    2018-01-01T19:04:13+00:00Added an answer on Tháng 1 1, 2018 at 7:04 pm

    There doesn’t seem to be a Cofface TWRP for the MiA1 (tissot)

    Any way to go around that?

      • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
  41. kuncogopuncogo
    kuncogopuncogo
    2018-01-01T19:45:33+00:00Added an answer on Tháng 1 1, 2018 at 7:45 pm

    It should work with any custom recovery (as long as you can use adb, but that should be no problem). Or just root it and edit the build.prop file and add the line

    persist.camera.HAL3.enabled=1

    Cofface is mainly needed if you want to keep using MIUI (and even then, its more of a safety measure as other recoveries work with it as well)

      • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
  42. kuncogopuncogo
    kuncogopuncogo
    2018-01-01T20:28:32+00:00Added an answer on Tháng 1 1, 2018 at 8:28 pm

    do it like the edited version (step2 and step3 changed), and you will have OTA automatically, you just need to reenable the camera2 api after every update.

      • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
  43. HYMREDDIT
    HYMREDDIT
    2018-01-01T21:11:39+00:00Added an answer on Tháng 1 1, 2018 at 9:11 pm

    Ah ok thanks, I just ended up rooting it and added the line.

    Works great!

    Would you happen to know if I’ll still receive OTA updates if I rooted it but kept the original ROM?

      • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
  44. peaslik
    peaslik
    2018-01-01T21:31:07+00:00Added an answer on Tháng 1 1, 2018 at 9:31 pm

    Okay, good to know, thank you for your answer.

      • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
  45. pika4
    pika4
    2018-01-02T15:14:39+00:00Added an answer on Tháng 1 2, 2018 at 3:14 pm

    IMPORTANT: you need to flash lazyflasher if you have swiped to allow system modifications or else you cannot boot into official MIUI. Even when you aren’t actually installing TWRP.

      • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
  46. ZAK6693
    ZAK6693
    2018-01-02T22:49:02+00:00Added an answer on Tháng 1 2, 2018 at 10:49 pm

    I tried doing that but instead of booting into twrp phone restarts after some time. When I tried to flash twrp, it shows the error : partition table doesn’t exist
    What to do now?

      • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
  47. apt2a
    apt2a
    2018-01-03T17:45:24+00:00Added an answer on Tháng 1 3, 2018 at 5:45 pm

    I would just to clarify that if i unlock the bootloader officially using mi unlock, i would still have OTA updates regularly?

      • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
  48. Manaphy91
    Manaphy91
    2018-01-08T02:58:37+00:00Added an answer on Tháng 1 8, 2018 at 2:58 am

    >Note: if this does not work, use this from step 4, its longer but it works
    Thanks for clarification, it seems dumb to ask since you stated this but, is there any other method to modify build.prop if echo is not working? I would prefer to maintain my device as clean as possible, without TWRP. Thanks in advance!

      • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
  49. Manaphy91
    Manaphy91
    2018-01-08T03:02:33+00:00Added an answer on Tháng 1 8, 2018 at 3:02 am

    If I mount the system partition, do I have to flash lazyflasher to avoid a bootloop? Another comment is suggesting it, I would like to stay as clean as possible with this device

      • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
  50. dadihu
    dadihu
    2018-01-08T09:49:10+00:00Added an answer on Tháng 1 8, 2018 at 9:49 am

    I really dunno. I at least did not. I got myself in a bootloop when i first tried with the oficial twrp, but when i tried booting on with cofface TWRP i was able to boot on the oficial rom again, dunno what happened.

    I also used this method to flash SuperSU on my device and from there i fixed the inverted camera.

      • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
  51. dadihu
    dadihu
    2018-01-08T09:52:13+00:00Added an answer on Tháng 1 8, 2018 at 9:52 am

    Did you unlock your bootloader? If yes, did you use the correct twrp for your device?

      • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
  52. Baanfoo
    Baanfoo
    2018-01-09T06:12:06+00:00Added an answer on Tháng 1 9, 2018 at 6:12 am

    Hey! Currently using that apk but I miss some settings (seen in other screenshot for the same porting of gcm) and my screen seems to flick a bit to grey when I’m ready to take a photo (RN4 Global)

      • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
  53. Dcottop
    Dcottop
    2018-01-09T09:19:25+00:00Added an answer on Tháng 1 9, 2018 at 9:19 am

    Are you on MIUI? Super scared to modify system.prop haha

      • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
  54. ivan34bg
    ivan34bg
    2018-01-09T12:24:40+00:00Added an answer on Tháng 1 9, 2018 at 12:24 pm

    There aren’t much settings because it probably is an auto app which sets itself up. About the flickering I’m not sure why it is happening. It works flawlessly on my phone.

      • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
  55. Baanfoo
    Baanfoo
    2018-01-09T18:19:28+00:00Added an answer on Tháng 1 9, 2018 at 6:19 pm

    Which rom do you have?

      • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
  56. ivan34bg
    ivan34bg
    2018-01-09T19:10:51+00:00Added an answer on Tháng 1 9, 2018 at 7:10 pm

    MIUI 9 8.1.4 Global

      • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
  57. dadihu
    dadihu
    2018-01-09T21:38:52+00:00Added an answer on Tháng 1 9, 2018 at 9:38 pm

    Yea i’m on MIUI 9. It IS a risk. You should know if you are able to come back from it. If you think you will have to learn a lot, then don’t do it. The better camera is not worth the stress of a first timer.

      • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
  58. vonichi
    vonichi
    2018-01-12T15:37:41+00:00Added an answer on Tháng 1 12, 2018 at 3:37 pm

    > just boot into twrp and not flash it

    Care to elaborate more on how to do this?

      • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
  59. adrieltan
    adrieltan
    2018-01-12T15:59:51+00:00Added an answer on Tháng 1 12, 2018 at 3:59 pm

    Put phone into fastboot mode, on fastboot on your computer type

    > Fastboot boot insertyourtwrppathhere.img

    Run the commands that he said, and then just reboot into system.

      • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
  60. woyzek
    woyzek
    2018-01-18T16:42:26+00:00Added an answer on Tháng 1 18, 2018 at 4:42 pm

    Hey first of all thanks for your guide! I’ve just got my phone and wanted to install google cam with the help of your guide but unfortunatly I ran into some Problems. I hope you could help me!

    Heres what I did so far:

    * Unlocked the Bootloader with MI Unlocker
    * Downloaded twrp from This Link: https://eu.dl.twrp.me/tissot/twrp-3.2.1-0-tissot.img.html
    * Put the Image in the ADB folder and renamed it twrp.img
    * Opened up a command window in the ADB folder and checked if the phone is unlocked with fastboot oem device-info
    * then i tried booting into twrp with fastboot boot twrp.img

    the command window shows:
    downloading ‘boot.img’…
    OKAY [ O.702s]
    booting…
    OKAY [ 0.583s]
    finished. total time: 1.292s

    Here is where my problem comes in because everytime i tried that last step my phone just boots to system and not into twrp. My Question is am I missing something or did i skip some crucial Step?

    Thanks for your help!

      • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
  61. misfit_xtnt
    misfit_xtnt
    2018-01-30T19:31:18+00:00Added an answer on Tháng 1 30, 2018 at 7:31 pm

    Please help. Tech noob here. Does unlocking the bootloader void warranty or make the OTA updates ineligible or something? Or can I just continue using it like normal?

      • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
  62. kuncogopuncogo
    kuncogopuncogo
    2018-02-01T05:50:33+00:00Added an answer on Tháng 2 1, 2018 at 5:50 am

    Well if you just boot into TWRP you will still recieve OTA update, normally, nothing changes. If you flash (install) TWRP, depending on the version you might not recieve OTA updates.

    Keep in mind that you will most likely have to re-enable the camera2API after every OTA update.

      • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
  63. murrax
    murrax
    2018-02-13T09:34:29+00:00Added an answer on Tháng 2 13, 2018 at 9:34 am

    I tried to unlock my Redmi Note 4 bootloader but it won’t work… I am using a VM with WinXP (I have a Mac).

    The problem is that after booting up my phone in fastboot mode, and enabling the USB in the VM, the unlock tool won’t enable the “Unlock” button… Any ideas on any workaround for this?

    I am using MiUnlockTool 2.2.406.5. The last version won’t even open for me in XP.

    Thanks for the help!

      • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
  64. kuncogopuncogo
    kuncogopuncogo
    2018-02-13T17:38:52+00:00Added an answer on Tháng 2 13, 2018 at 5:38 pm

    Did you request it through the mi website and then enabled it in your phone’s settings?

      • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
  65. murrax
    murrax
    2018-02-14T05:56:15+00:00Added an answer on Tháng 2 14, 2018 at 5:56 am

    Yes… tried with version 1.1 of MiUnlock, but I get 50% and then asked to update…

      • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
  66. kuncogopuncogo
    kuncogopuncogo
    2018-02-15T17:01:26+00:00Added an answer on Tháng 2 15, 2018 at 5:01 pm

    > restarted to recovery again, wipe to factory reset.

    what do you mean by this?

    also do you push the build.prop back to your phone?

    I mean you should `adb pull /system/build.prop` to get the build.prop file

    edit it as you did (edit the file found on your computer, the new one which just got created by the command above, not the file on your phone’s /system/)

    then

    adb push build.prop /system/
    adb shell
    cd system
    chmod 644 build.prop

    reboot to system

    I mean this is how you do it if you wanna do it your way, or you could just follow the OP which should work perfectly…Did you try that?

      • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
  67. ectelion_
    ectelion_
    2018-03-21T16:36:59+00:00Added an answer on Tháng 3 21, 2018 at 4:36 pm

    Tytutyttu r

      • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
  68. ectelion_
    ectelion_
    2018-03-21T16:37:39+00:00Added an answer on Tháng 3 21, 2018 at 4:37 pm

    Li

      • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report
  69. scourgeoz
    scourgeoz
    2018-05-09T19:51:13+00:00Added an answer on Tháng 5 9, 2018 at 7:51 pm

    Is there a way to do step 2 with booting in to TWRP on Redmi Note 5?

    As far as I can see there is no cofface version for it, and I got stuck in a bootloop on Redmi Note 3 when I used stock TWRP (easily fixed by booting into the cofface version and restarting)

      • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 2k
  • Answers 64k
  • Popular
  • Answers
  • Support Xiaomi

    To all of us Xiaomi phone owners, would you still ...

    • 427 Answers
  • Support Xiaomi

    MIUI RECOVERY MODE

    • 423 Answers
  • Support Xiaomi

    My xiaomi tv just forced me to watch a 60 ...

    • 334 Answers
  • MasterCee91
    MasterCee91 added an answer I'm almost sure I couldn't replicate this result with my… Tháng 5 27, 2025 at 1:55 chiều
  • Icy-Image-928
    Icy-Image-928 added an answer Do you maybe still have a link? Sounds good Tháng 5 27, 2025 at 1:41 chiều
  • nickbutler93
    nickbutler93 added an answer Got mine from AliExpress (I'm in UK) and it's exactly… Tháng 5 27, 2025 at 1:40 chiều

Related Questions

  • Taking still imaged from a video

    • 0 Answers
  • Xiomi HyperOS features are not coming after updating India

    • 0 Answers
  • Display issue on Redmi 13

    • 0 Answers
  • Redmi note 14 camera issue

    • 0 Answers
  • Kit photography Xiaomi 15 ultra

    • 5 Answers

Trending Tags

redmi note 12 redmi note 14 x xiaomi xiaomi 14t pro xiaomi redmi note 8 pro xiaomi redmi note 13

Explore

  • Home
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Tags
  • Badges
  • Help

Footer

Support Xiaomi | Community Xiaomi

Support Xiaomi

SupportXiaomi.com is a community-driven Q&A platform dedicated to Xiaomi users. It allows users to ask questions, share solutions, and collaborate to solve technical issues related to Xiaomi devices and services

About Us

  • Home
  • About Us

Help

  • Terms of Use
  • Privacy Policy
  • Cookie Policy

© 2019. All Rights Reserved

Thêm/sửa đường dẫn

Nhập địa chỉ đích

Hoặc liên kết đến nội dung đã tồn tại

    Thiếu từ khóa tìm kiếm. Hiển thị các bài viết mới nhất. Tìm hoặc sử dụng phím mũi tên lên và xuống để chọn một mục.