
Ported Google Camera app (gcam) is surely a hype among Android users. It offers advanced features powered with Google’s own technology not available on any other camera apps by default.
Gcam itself is basically a default camera app available on all Google’s devices including Pixel, Pixel 2/2 XL, Pixel 3/3XL, Pixel 3A, and all future Pixel variants.
The success of BSG and friends (Arnova8G2, Cstark, and so on) in porting the app for other devices makes all other Android users happy. We can now enjoy the awesomeness of Gcam on Android phones other than Google Pixel, including our lovely Redmi Note 5.
Xiaomi Redmi Note 5 codename Whyred (also known as Redmi Note 5 Pro in India) is one Xiaomi’s best selling smartphone last year. It boasts company’s profit significantly.
The device sports Qualcomm SDM636 Snapdragon 636 (14 nm) chipset under the hood. The existence of Octa-core 1.8 GHz Kryo 260 CPUs and Adreno 509 makes it the most valuable phone of the year.
Redmi Note 5 initially comes running MIUI 10 Android 7.1 Nougat. Recently, the device receives Android 9.0 update within MIUI 10 v10.3.1.0 Global Stable ROM.
Previously, we have shared the trick to enable Camera2 API on Redmi Note 5. There are three methods available. All of those work flawlessly on Redmi Note 5 running MIUI 10 based on Android 7.1 Nougat and 8.1 Oreo.
The recent Pie update makes the trick useless.
The proven steps below allow you to enable Camera2 API level 3 successfully on Redmi Note 5 Pro/Ai/China/Global. We tested it and proved it to work flawlessly.
This trick requires no root access. We will also flash no custom recovery and hence we can still enjoy MIUI OTA update mechanism.
Nevertheless, while we can confirm that this method is safe, we still recommend you to create backups. It is a good habit to create backups of all important data and files.
Nobody forces you to do the trick. We hold no responsibility for any damages that may happen to your phone. Please proceed with caution.
REQUIREMENTS
You will need:
- Windows computer either a PC or a Laptop. Windows 8/8.1/10 64-bit is recommended.
- ADB and Fastboot Driver and Platform Tools (download both zip files).
- Orangefox or Redwolf Recovery image – we suggest you to go with Redwolf.
- Anti-rollback Protection (ARB) bypasser.
- Camera2 API HAL3 Enabler (zip).
- Any compatible USB Data cable
How to Enable Camera2 API on Redmi Note 5 MIUI 10 Pie?
Step 1. Disable Windows Drivers Signature Enforcement on your computer. We have a detailed tutorial here.
Step 2. Extract Xiaomi ADB Fastboot Driver zip file (miui-ADB-Driver-Installer-v1.4.3.zip) and install it on your computer. This should finish in seconds. Make sure you install it on C:\adb\. This step is necessary to install ADB Fastboot system-wide.
Step 3. Extract the miui-platform-tools_r28.0.1-win.zip on your computer. You’ll get a folder called “platform-tools“. This step is important to make sure you use the latest version of ADB-Fastboot.
Step 4. Unlock the bootloader of your phone. Read the full guide on how to unlock MIUI bootloader officially here. Please be aware that the process requires you to reset your phone. All your data will be lost.
Step 5. Extract Orangefox zip file (OrangeFox-R9.0-2-whyred-MIUI-Pie.zip) to get the flash-able recovery image file (recovery.img). If you choose to use Redwolf TWRP, download the flash-able image file (RedWolfTWRP-3.2.3-027-unofficial.img) and rename it to “recovery.img” (without quotes).

UPDATE: Use Red Wolf Recovery instead of Orange Fox. Some users reported fail attempts with Orange Fox. Use RedWolfTWRP-3.2.3-027-unofficial.img build.
MIUI 10 v10.3.2.0.PEIMIXM use Red Wolf.
Step 6. Copy that recovery.img file into the “platform-tools” folder (Step 3).

Step 7. Also, extract the ARB-Bypasser-Fastboot-Unlocker.zip file. You’ll get a dummy.img file. Copy that dummy.img file to the “platform-tools” folder as well.
Alternatively, you can also extract the dummy.img file directly to the platform-tools folder.

Here’s what inside our platform-tools folder.

Step 8. Now enable USB debugging on your phone. You might have it enabled during the bootloader unlocking process. However, it is a good practice to double-check it.
Enabling Developer Options, go to:
Settings >> About phone >> tap the MIUI version 7x >> You are developer!
Enable USB Debugging, go to:
Settings >> Additional Settings >> Developer Options >> USB Debugging >> toggle it on.
A notification will pop up on your screen. Tap “OK“.

Step 9. Now connect your Redmi Note 5 to your computer using its USB.
Step 10. Choose “File Transfer” mode when asked (do not choose the Charging mode).

Step 11. In Windows Explorer, go to the “platform-tools” folder. Hold down the Shift button on the keyboard, right-click anywhere within that folder, and choose “Open command prompt window/PowerShell window from here“.

Step 12. Now type following lines of command. Hit Enter every line to issue it.
adb devices
adb reboot bootloader
fastboot devices
The first line asks your computer to recognize your device. The second line instructs your phone to boot into bootloader mode a.k.a fastboot mode. You’ll see the Mi Bunny logo displayed.

Step 13. Now type following command and hit Enter on your keyboard:
fastboot flash antirbpass dummy.img
This flashes the dummy.img onto your phone. This shall finish in seconds.
Step 14. Next, type the command below (and hit Enter) to boot your phone into recovery mode:
fastboot boot recovery.img
Step 15. Your phone shall reboot into recovery mode which in this case is either Orange Fox or Red Wolf TWRP.

Step 16. The first time entering TWRP recovery, you’ll need to do the “Swipe to allow system modification” action. Do it.

P.s: Since both Orange Fox and Red Wolf recoveries are based on TWRP, I simply call it as TWRP in the next steps.
Step 17. Now copy the Camera2 API HAL3 Enabler (HAL3_ENABLE_MIUI_PIE.zip) to your phone.
You can do this in two ways. First, copy and paste it through Windows Explorer just like copying any file from computer to a USB flash drive.
Second, you can also use following command:
adb push HAL3_ENABLE_MIUI_PIE.zip /tmp/
All the command lines you typed shall look like this:

Step 18. On your phone, choose “Install” from the main menu of TWRP.

Step 19. Now locate the HAL3_ENABLE_MIUI_PIE.zip file you have it copied earlier. Tap on its filename to select it.

Step 20. Next, do the “Swipe to Install” (in Orangefox) or “Swipe to confirm flash” action. This will install the zip file to your phone.

Step 21. Finally, go back to main menu, choose “Reboot” then choose “System“. In Red Wolf TWRP you can simply choose “Reboot System“.

Your phone will now reboot back to MIUI system. You may notice no difference with your phone.
How to find out if the Camera2 API has been activated? Simply open up Play Store, search for “Camera2 Probe”, and install it.
Launch the app to conduct Camera2 API test. You should notice something similar to these ones:
Couldn’t manage to make it work? Well, rooting is your only option. Root your Redmi Note 5 with Magisk.
UPDATE: TESTED AGAIN ON SEPTEMBER 22ND, 2019.
The recent MIUI OTA update bringing version 10.3.2.0(PEIMIXM) breaks Camera2 API. Hence, you’ll need to re-activate it. Our team tested the above method again. This time we enable Camera2 API on MIUI 10.3.2 and it still works.

We can confirm this method work on Redmi Note 5 MIUI 10.3.2.0
Be confident to use the above method exactly as mentioned. Leave a comment below about your experience (success or not).

UPDATE: This trick also works on MIUI 11. We have tested it again and we have proven that the above steps still work on Redmi Note 5 running MIUI 11.0.3.0.PEIMIXM Global Stable ROM.
This video proves that the method works on MIUI 11:
How to Install Gcam on Redmi Note 5 MIUI 11 Android 9.0 Pie?
There are no significant differences in the method for installing Gcam on Android 8.1 Oreo or 9.0 Pie. Simply grab the .apk file and install it as usual.
The trick is choosing the right APK. There are so many versions of the ported Gcam app. Some may work flawlessly, some may work partially with minor bugs, and others may not work at all.
Visit our dedicated page of Google Cam for Redmi Note 5 Whyred here. All of them have been tested.
Currently, there are basically two versions of Gcam (with so many variants). First, Gcam version 5.1.x. This is an older version that’s built for Android 8.1 Oreo. Second, Gcam version 6.x which is for Android 9.0 Pie.
There is also Gcam v7.x which is originally for Android 10 Q. Thankfully, there is a Gcam v7.x port that also works on Android 9.0 Pie.
We recommend you download and install the latest version since it has all the latest features.
Credit: This article is inspired by one of Mi Fans with ID 1610317960.
waktu instal zip muncul tulisan DM Verity is not enable?apakah anda dapat membantu mengatasi masalah ini? terima kasih
that should not appear. Did you use Red Wolf Recovery?
i used the both recoveries. when i use the redwolf its says that “dm verity is not enabled” but when i use orangefox its success but there is no manual settings as what manual camera compability test says.. google camera did not work. why?
Did you use the same build of Redwolf? The unofficial one?
when i put the command “adb devices” .my devices doesnt show.. my devices redmi note 5 ai cn rom,bootloader unlocked
try one of these:
– change USB cable
– make sure USB debugging is enabled
– use USB 2.0 instead of 3.0
– change different USB port
– reinstall USB ADB-Fastboot driver
My redmi note 5 ai can version have the same problem. Didn’t show when I input fastboot device but if my phone is ON and I input code adb devices it will show my phone. I’m really confused sir
Did you use the Platform Tools?
Thanks alot working now. Please can you recommend best gcam I could use, please please
It happens to me too.. I used orange recovery (extract the recovery.img from zip) and it works… Unfortunately the camera2 API enabler don’t work for me…
use Red Wolf instead.
checked all bt didnt work yet.. 🙁
Bootloader unlocked? Used Redwolf recovery (the same build/version)?
yes bootloader unlocked ..and i have used redwolf recovery and also orange recovery
That’s unusual. You may try again following exactly what explained in steps above.
i tried redwolf but after reboot, camera2api doesnt enable. already unlocked my bootloader
For some f*ck*n reason my Camera2Api disabled after updating to Android 9.
Did everything as you described, used Orangefox though, as RedWolf and TWRP both keep telling me, that my files are decrypted, which is nonsense.
Still, my Camera2Api Checker Apps keep telling my I got only Legacy support, Gcam still not opening…
Use red Wolf instead, download from the given link, choose Redwolf Unofficial build. It shall work, trust me 😉
I followed all the steps and it did not worked. What to do?
May be you missed something within the tutorial. Please tell me which step(s) that you didn’t fully understand 🙂
yes bootloader unlocked ..and i have used redwolf recovery and also orange recovery
Hello,
I recently updated to android pie. My bootloader was already unlocked, I followed all the steps (with Red Wolf TWRP) and everything worked just fine, except when I conducted Camera2 API test it says that only manual focus is enabled. Is that normal?
you can see it here: https://ibb.co/BCxZkHk
UPDATE: Nevermind, I had a previous gcam apk installed that was not working, that’s the Camera2 API test was showing only manual focus enabled. I uninstalled that old gcam apk and the Camera2 API test worked ok (as your screenshots).
I can confirm the method with Red Wolf TWRP worked and gcam is working just fine.
Thanks! 🙂
In build.prop there is already a line stating
persist.vendor.camera.HAL3.enabled=0
Just change the value from 0 to 1 and you are done. Most importantly, now in pie update gcam is working perfectly for front camera in hdr enhanced mode.
Yes, it is working great! Is there any way to enable 4k video recording?
I need to root my phone for that, right?
No, you don’t need to. You may comprehend the article again 😉
I have Redmi Note 5 Global Version, MIUI 10.3.1, Android 9 Pie and i did everything step by step like it says on this page and even did this with build.prop and i still cant enable camera 2 api. IIS there any other way to enable it for this version of MIUI and android 9?
Thanks
Is your device rooted? Or there is a way to edit build.prop without root?
No, my phone is not rooted. Follow the above guide.
Since we are flashing HAL3_ENABLE_MIUI_PIE.zip which adds a line to build.prop file, does it break OTA updates?
No it won’t break OTA since you don’t flash a custom recovery.
Hi, i have a problem, after i install Redwolf and then the HAL3 archive…it doesn’t show enabled camera 2 api in test. And the other problem is that when i try to start by recovery mode, Redwolf doesnt appear, just Recovery stock. What am i doing wrong??? i installed the “unofficial” version of REDWOLF. Shoul i try with the other?
You don’t need to install redwolf, just use it to boot into recovery.
i think the problem is that appears “DM verity is not enabled” when i install the HAL3 zip, instead “DM successfully patched”…. i tried several times and i can’t
I’m having the same problem as you sir, I’ve tried flashing first the OrangeFox to solve that problem, and flash it again using RedWolf to succesfully enable camera2 api, but it did not work. I hope somebody can help us solving this.
*booting I mean, I am using Note 5 AI whyred PIE 10.3.1
After booting into redwolf recovery, it says data partition is encrypted, please enter password to decrypt. What do I do? Please help.
Use RWRP unofficial build
10.3.1.0 global and it doesn’t work. Only orange recovery (took it from the zip and not installed) let me see my device trough mtp but, even if it let me flash the zip I’m still with no cam2api support. I also tried to pass the commands through the ADB shell to modify buildprop but no luck. Any suggestion?
Finally it works, I had to use first Orangefox the first that let me see the phone via MTP (but that doesn’t apply the patch even if it say was flashed with no errors); once tried again whit RWRP unofficial finally it works like a charm!
I am happy for you 😉
Do you find a solution?
Hello, I have Redmi Note 5 Global Version, MIUI 10.3.1, Android 9 Pie with unlocked bootloader, i did all steps as above but camera2api still remains disabled, i pulled build.prop file from phone and find that line persist.vendor.camera.HAL3.enabled=1 already exists, does it needs also line persist.camera.HAL3.enabled=1 to work as in oreo? I haven’t enabled camera2api before pie update. Also build.prop file exists in vendor folder but there is no line persist.vendor.camera.HAL3.enabled in this file.
It worrkksss…thank you brothaaaa…..
DM Verity is not enabled??? Why??
Hi,i am having a problem whereby after flashing to recovery, adb cannot list devices,as its not visible until i reboot back to system that’s when adb functions again,what might be the problem ? I have tried using different cables,using 2.0 port and also reinstalling adb drivers but still nothing.Please assist.
Did you use Red Wolf, Orange Fox, or the official TWRP?
I used red wolf,but my issue is not really the recovery.The main issue is that adb cannot detect my phone after flashing to any recovery.When i start the commands it responds fine,even fastboot commands work fine but after commanding fastboot to boot recovery.img and get into recovery mode,adb cant list any devices.This particular issue began after updating my redmi note 5 global version to android 9 and miui 10.3.1
It works fine but I every time I reboot my phone, camera2api doesn’t work for some reason, in other words, all the process dissapear. I tried with both recoverys and it’s the same thing :/
can’t download RedWolfTWRP-3.2.3-027-unofficial.img where else can i find it?
we ran into temporary down time, try again 😉
Bro I had used red wolf but it’s asking for password
brother u r god for me, i tried by other methods and had to format my MI6 two times. But your method worked like a charm. Long live, Thanks alot
I did every step on the guide but its not working… DM verity not enabled in red wolf recovery…. Any help?
You can flash DM-Verity disabler manually
Before the camera patch through recovery?
How? I have got the same problem, tried all the ways
can you please to be exact about the problem you experienced?
Hello,
After the last miui update (10.3.2.0) cam2api was disabled, I tried to do the same I did in June, and described here, using Red Wolf TWRP. on this line “fastboot boot recovery.img” it shows the Red Wolf and then TWRP asks for a password to decrypt.
What password is that? I don’t know.
Thanks
same here. did you find a fix?
No, not yet. I have no idea what password is that.
I also tried with Orange Fox Recovery, still not working after the Manual Camera Compatibility Test
Does not work for me. In June I was able to make it work but then after some upgrade file it stopped.
Yesterday I tried again and I was able to pull edit and push the build.prop file and it contains:
#properties for camera front flash lux
persist.vendor.flash.low.lux=390
persist.vendor.flash.light.lux=340
persist.vendor.imx376_ofilm.low.lux=310
persist.vendor.imx376_ofilm.light.lux=280
persist.vendor.imx376_sunny.low.lux=310
persist.vendor.imx376_sunny.light.lux=280
persist.vendor.ov13855_sunny.low.lux=385
persist.vendor.ov13855_sunny.light.lux=370
persist.vendor.s5k3l8_ofilm.low.lux=379
persist.vendor.s5k3l8_ofilm.light.lux=367
persist.vendor.camera.HAL3.enabled=1 #the required line
persist.vendor.camera.eis.enabled=1 #I tried with and without this line
persist.vendor.camera.ltm.overlap=13
Thanks for the post
Hi, has anyone solved the update (10.3.2.0) problem, or did anyone got it working on this update?
thanks
This method still works. Use RedWolfTWRP-3.2.3-027-unofficial.img
“DM verity not patched” this comes and camera2api is not enabled no matter how many times or ways i do it. please help me with a solution.
UPDATE: Solved.
I tried with “RedWolfTWRP-3.2.3-027-unofficial.img” and it worked. You need to disable any lockscreen password (code, fingerprint, etc).
Also, I installed the latest gcam 6.3 (stable), all is working fine!
Congratulation
any method for redmi 6a
Redmi 6A is not powered with Qualcomm Snapdragon chipset.
the link to RedWolfTWRP-3.2.3-027-unofficial.img is somehow broken. could you fix i? thx
Triple-checked it and can confirm it works. You may need to click the button saying “Click to generate download link”.
ok you are right download worked. But can’t activate camera2 api. DM-VERITY is not enabled. I am on MIUI 10 v10.3.2.0.PEIMIXM. is there a solution?
Greetz an thx
have you flashed the antirbpass dummy.img file?
Is it possible to reverse this process and go back stock ??
Yep, you just need to edit build.prop file
Is it possible to lock the bootloader with camera2api ativated ??
Can’t download Redwolf TWR-3.2.3-Unofficial..
try again, we confirm the link still working.
I have a problem in step 12 when i type fastboot devices code in fastboot logo doesn’t working and didn’t detect the device
What can i do
Thanks
– try using a different USB port (USB 2.0 is preferred)
– try reinstalling the USB driver
– make sure USB debugging is enabled
Hi.
Just one question.
If you have root access and a basic editor (just like Root Explorer has), could you just add the HAL3 line to the end of build.prop?
I have done it and i can’t reach level 3 support. Flashing the ZIP through TWRP unofficial, which has Pie encryption support, stops with error 7.
My device os whyred China with latest MIUI 10 weekly ROM from xiaomi.eu.
Regards.
Followed one tip from HTMmania forum, likely taken from another source:
Add these lines to /system/buid.prop and /vendor/build.prop, then change file permissions to rw-r–r– (octal 644):
persist.camera.HAL3.enabled=1
persist.camera.eis.enable=1
persist.camera.is_mode=4
persist.camera.stats.test=5
persist.vendor.camera.HAL3.enabled=1
persist.vendor.camera.eis.enable=1
persist.vendor.camera.is_mode=4
persist.vendor.camera.stats.test=5
All is working now, but there are thousands of ports, and many of them are buggy.
Maybe there’s a simpler solution, involving less lines, not editing 2 files, or not changing permissions, but this simple steps have worked nicely for me.
Somebody could test if there’s a simpler way, and make a TRWP script to automatize ir?
Thanks for the tip.
Hi again.
After extensive tests on the latest MIUI 11 weekly xiaomi.eu ROM, i have determined that only 1 step is mandatory.
So:
– No need to edit 2 files
– No need to change file permissions
– No need to add 8 lines
For my whyred, and acting as root, this instruction is enough:
– Edit /system/build.prop and add this line to the end:
persist.vendor.camera.HAL3.enabled=1
Reboot and check.
I’ll add the 8 lines anyway, just to avoid further investigations/problema.
We haven’t tested it yet on Xiaomi.e MIUI 11. Your tips are extraordinary. Thanks, we really appreciate it.
can you give us permission to add your tips in the main article?
Of course, you can use these tips on your article, and everywhere you want.
My goal was enabling level 3 on my own whyred, but if my little investigation can help any other person/people, i’ll be glad to have helped a bit.
And if there’s a way to create a new HAL3 enabler TWRP script compatible with (un)official TWRP, i’ll be happy to use it everytime i flash a weekly ROM, instead of having to edit build.prop and copy those lines by hand.
Regards 😉
I have tried all above methods, nothing works, i have tried both orange…. and redwolf… non worked, i have pulled my build.prop using adb and noticed that my persist.vendor.camera.Ha…. =1 (enabled already ) yet the gcam probe test fails, i have added the suggested line of codes above and pushed back to my device via adb also, yet probe also fails.. i don’t know what is the issue
ps i use whyred note 5 pro, running on miui 10.3.2 pie
if anyone has recently successfully ported gcam on his/her redmi, pls indicate
And have you tried to add those 8 lines:
persist.camera.HAL3.enabled=1
persist.camera.eis.enable=1
persist.camera.is_mode=4
persist.camera.stats.test=5
persist.vendor.camera.HAL3.enabled=1
persist.vendor.camera.eis.enable=1
persist.vendor.camera.is_mode=4
persist.vendor.camera.stats.test=5
Do you have a rooted whyred? Make it with a file editor and just reboot.
yes..i added them to system/build.prop, may be i had try adding them to vendor/build.prop.. hopefully my device won’t crash.. ps, my phone is not rooted
and if i wanna root my device to give it a try, hope it won’t crash my device because of the recent miui 10.3.20 update, and moreover, miui 11 update will soon be rolled out to my device
For me it’s the same, with one intriguing difference. I tried everything, no success, but one day, 3 weeks ago, I launched the manual camera test app and it showed green all parameters. I installed Gcam, it worked, the 2api settings in opencam and in procamx was enabled, I managed to use manual shutter speed and other manual settings. But suddenly it all stopped working last week, the manual camera test are all red. I just don’t know why, there where no major system updates since then, just a few system apps that have been automatically updated. I have pulled my build.prop from system and vendor folders, edit and add the proper lines, push them back but nothings seems to work.
I did everything, it looked everything was fine but after all API 2 looks not enabled…the only difference is that after “force encryption is not enabled” there was something else (I do not remember how it was called) that was not enabled. But all the processes written in green were done successfully…someone may help?
hey I have tried to follow your method but I can’t flash/boot dummy.img and the recovery. please help. It says write command failed(too many links)
Yup, everything works as described!
After the latest update I had to apply this trick again… in my case I used RedWolf recovery, unofficial version. I tried oficial one from the link but it asked a password in order to mount data partition!?
So, I start it again but this time I boot it with RedWolf unofficial as I mentioned above and VOILA, cam2api WORKS AGAIN!
Thank you!
hello, please do you mind pulling your build.prop file and uploading somewhere so i can check and compare with mine? please, i would be really grateful and appreciate it.. just in case, use the command “adb pull /system/build.prop c:\(name of a folder on pc)” without quotes.. thanks
hello, please do you mind pulling your build.prop file and uploading somewhere so i can check and compare with mine? please, i would be really grateful and appreciate it.. just in case, use the command “adb pull /system/build.prop c:\(name of a folder on pc)” without quotes.. thanks
I tried using Windows 7 64 bit… ADB Devices could not find my phone…
-adb devices
no device attached
have you installed ADB Fastboot driver? Tried using Platform Tools?
hello, please can i chat you upbon telegram or whatsapp is possible? i need assistance, mine isnt working, though the zip files are flashed successfully, and my dm-variety is not enabled, so i don’t understand why it doesn’t enable cam2api
C:\adb>fastboot boot recovery.img
downloading ‘boot.img’…
OKAY [ 0.930s]
booting…
FAILED (remote: Failed to load/authenticate boot image: 00000050)
finished. total time: 1.014s
Most likely because the recovery is not compatible with the current version of bootloader.
On which MIUI version did you try?
Have you unlocked bootloader? enabled USB debugging?
Step 20. Next, do the “Swipe to confirm flash” action. This will install the zip file to your phone.
E:Unhandled flag: ‘ose’
E:Unhandled flag: ‘dumwolfresize’
E:Unhandled flag: ‘dumwolfresize’
E:Unhandled flag: ‘ose’
E:Unhandled flag: ‘ose’
E:Unhandled flag: ‘ose’
E:Unhandled flag: ‘ose’
.
.
.
Starting ‘Dumwolf’ process
DM-Verity is not enabked
Forced Encryption is not enabled’
Finished ‘Dumwolf’ process
which MIUI version did you try?
MIUI Global 10.3.2 Stable 10.3.2.0 (PEIMIXM) Android PKQ1.180904.001
Is it working on MIUI 11…? I have tried your methods and its work on miui 10. Please give us a method for MIUI 11. Thank you
Honestly, we haven’t tried this method on MIUI 11 yet since our Whyred is still on MIUI 10. We’ll update the article once we confirm.
Hey Fariez!
I did this tutorial on MIUI 11 and it worked as flawless as can get…
So, to everyone interested, just follow this tutorial by letter and you’ll have no surprises! Cam2Api will be enabled on your phone also!
Just be confident and give it a go, it just works!
Thanks for your confirmation, since MIUI 11 for Whyred is still Android 9.0 Pie, the way should also still the same unless it gets Android 10 update 🙂
Hi , Tnx For Your Topic But Links Not Work For Me
Could you Plz Uplaod Files On Another Mirror? it’s opens first miui blog page
i’ve tried too many recoverys and non of’em work i need the recovery img that u’ve mentioned.
cannot download Redwolf unofficial.. please
the server is up, what error did you face?
redirect to https://miui.blog/?id=bDI1Q0dqYjJGSDNMTWNDa0FobzcxeHlxNUowbFFpYUNFaktSWW1ZbS9pVT0=
and back to https://miui.blog/
Click the red button saying “generate download link”, wait, click the blue button saying “Click to download”, you’ll then get the file
its done by double klik “download”
I have done everything but i stuck on ‘fastboot flash antirbpass dummy.img’ line
powershell doesnt take anymore adb comand after this line..
Did you use Powershell or Command Prompt?
powershell
I am also facing the same issue. My MIUI version is global 11.0.3 with Android pie. When I use the command “fastboot flash antirbpass dummy.img” the device shows the dialogue on top “press any key to shutdown” in fastboot screen. The cmd/powershell also shows no response after I enterthe command.
I complete your guide when my phone is running miui 10. Yesterday it received miui 11 update and I wanted to try again with your guide but redwolf twrp asking me password. I tried default, pattern code etc. I deleted all lock screen codes including face and fingerprint. Nothing changed.
Sorry, we haven’t tried it on MIUI 11. We’ll update the article once we did.
Please give solution for miui 11, after the update i cannot install twrp.
My system is MIUI 11, I do the tutorial and don’t get any errors.
But my camera2 API still not enabled. So confused.
I see in the example image that dm verity is green, but in mi log says “dm verity is not enable”.
could that be the reason why i can’t use gcam? how can i solve this??
I don’t think so, Camera2 API is the main factor for gcam to work
in redwolf i selected read only in first time. next time that option is not showing what to do???
“Read only” prevents redwolf to make any modification which is useless. What’s the point of using redwolf if we can’t edit any system files? 😉
Worked like a charm. Thanks a lot.
Which MIUI version are you using?
Trying this method on whyred, miui 11.0.3 NOT WORKING. Someone with telegram can help me?
Did you use Redwolf TWRP? The same build as this tutorial?
Great It worked…before MIUI 11 I had unloaded the boot loader and Camera 2 API but suddenly after the update camera 2 api had stopped working..but your method worked great..and was easy to implement too..My version is Build version is the latest to the date(MIUI Global 11.0.3)
thanks, glad knowing it works for you too 🙂
PS C:\Users\ASUS\Desktop\platform-tools> fastboot devices
92aac96 fastboot
PS C:\Users\ASUS\Desktop\platform-tools> fastboot flash antirbpass dummy.img
waiting for device for long time . 30 min
Double-check your USB connection, use USB 2.0 instead
hallo, waktu masuk Redwolf recovery (pakai yang unofficial), malah diminta password, Data Partition is encrypted.
saya coba back, install HAL3 enablednya, tetap gak bisa juga. apakah pengaruh data partition encrypted tersebut?
You cannot flash Hal3 while it’s still encrypted. RWRP cannot modify anything. Try disabling PIN, Face unlock, and finger unlock first.
i have root, orangefox recovery and miui 11.0.3, but i can’t change the build.prop value, as they will revert back to default after reboot. i have tried by changing them manually by build.prop editor, or using recovery to flash the zip, but no success
Simply wonderful. Thanks for this guide.
Hi,
I have Cam2api disabled now. Gcam was working fine until 2 days ago. Is this normal?
No, that,s not normal.
I repeated all the steps (with Red Wolf TWRP) but cam2api remains disabled.
It’s weird because there were none miui update since November, I think. I didn’t change anything. Simply one day was working and the next day was not.
I tried again and in the step 13 “fastboot flash antirbpass dummy.img” simply doesn’t complete this step. I changed usb cables and ports.
Do you have any idea what it is?
UPDATE: Believe it or not: today I wiped the data of the phone -> reboot system -> restore mi cloud backup. Made the came2api test and it’s enabled. Don’t ask me why, I have no idea wtf happened. 😀
same problem with my phone. do not want to wipe anything. Any solution?
Every time I tried then below message 🙁 . Any solutions
FAILED (Write to device failed (Unknown error))
FAILED (command write failed (No error))
Bootloader unlocked? Storage not encrypted?
Hi, It’s showing my phone is encrypted. So is there any methods available so that I can remove that encryption. I can’t even reboot my phone into recovery mode. May be next months we will get miui 12 , so is there any chance that we will get auto camera API 2 enable functions?
Thank You mate for your help.
Hi, It’s showing my phone is encrypted. So is there any methods available so that I can remove that encryption. I can’t even reboot my phone into recovery mode. May be next months we will get miui 12 , so is there any chance that we will get auto camera API 2 enable functions?
Thank You mate for your help.
I tried but this too is not working.
upto fastboot devices command its fine when i tried to flash the dummy.img suddenly disconnects
this is the issue with my devices whenever i tried to flash anything the fastboot suddenly disconnects. is there a solution for this. tried drifferent cables and usb. still the same.
same issue here. I’ve had the gcam up and running, last OTA update made me think, I’d just reapply everything mentioned in my notes. But uhuh, no way. I’d probably need to flash the bootloader permanently, which might break some applications on my phone for banking and such.
Got the exact same bug, phone disconnects when trying to flash a dummy OR boot into the recovery directly.
after step 13.. after typying commansd.. window powersell shows, waiting for devices.. nothing happens after that
Every step worked, but it didn’t enable camera2 api – the ‘probe’ app still shows only ‘Legacy’ in green and gcam apps crash immediately. I even tried the older methods. Phone unlocked, build.prop contains both “persist.vendor.camera.HAL3.enabled=1” and “persist.camera.HAL3.enabled=1” (checked by pulling it after restart). Any ideas what to try next?