Table of contents:
- How to install the Google camera on the Xiaomi Redmi Note 5
- Simple steps through the command window
- We must install a custom recovery
- Now, it only remains to test the Gcam on your Xiaomi Redmi Note 5
If you want to have in your Xiaomi Redmi Note 5 the camera application that comes in the Google Pixel, with the benefits that this entails, you will have to follow, conscientiously, the steps that we give you next in this tutorial. They are very simple steps but you must do it to the letter. If you do something that you should not, or do something wrong, you will be left without a mobile. He who warns is not a traitor.
The first thing we must know to install the Google or Gcam camera on our Xiaomi Redmi Note 5 is that we need to have the bootloader unlocked. In this link we teach you how to do it, a very simple process but that can take between two weeks and a month while waiting for Xiaomi to give you permission to do it. Once you have it done, we will carry out the following process.
How to install the Google camera on the Xiaomi Redmi Note 5
We download the files the files necessary to carry out the procedure. There are three files necessary, a folder called 'Platform Tools', the new recovery file that we will install, called TWRP and the apk of the Gcam application. In order to install the Gcam in the Xioami Redmi Note 5 we have to activate the API2 of the camera. And for this we need to modify a mobile file. If you make a mess, nothing happens. Follow the steps that we detail to the letter and you will see how everything goes well.
First, we download Platform Tools from this link. We unzip the folder that comes inside the zip and save it on the desktop, inside, in turn, another folder where we put the three necessary files. We can call this folder GCAM. Next we download the image file of TWRP in this link and the APK of GCam in this other. We gather the three files together in the same GCAM folder. Next, we take the TWRP file and put it in the 'Platform Tools' folder.
We see that the 'Platform Tools' folder has the TWRP file inside to be able to install the recovery.
Simple steps through the command window
We recap. We already have Platform Tools with the TWRP file inside and the Gcam APK in the same folder. We go with the most sensitive section of the tutorial.
- We connect the phone with USB debugging activated. If a message appears on your terminal advising you to turn on USB debugging, make sure to turn on the switch. We connect the mobile to our PC through the microUSB cable, turned on, in normal mode, without doing anything else.
- Next, we go to the desktop folder that we have created in which we have the different files. Press the shift key or SHIFT + right button on the 'Platform Tools' folder. In the pop-up window you should see 'Command Prompt'. Click and a CMD command window will open.
- Now, in the command window, we are going to write the following 'adb devices' (without quotes). If everything goes well, it should appear written 'list of devices attached' as it appears in the following screenshot. If a connected mobile does not appear, we must write 'exit' (without quotation marks), close the window, disconnect the mobile from the PC and start over at point 1.
- If you see the mobile connected now we must write in the command window, remember, without quotes, 'adb reboot bootloader'. The terminal will restart automatically in 'FASTBOOT' mode.
- Now we place the third command. In this case, it is the command that will install the TWRP recovery in our terminal, which, remember, must be inside the 'Platform Tools' folder. We write, without quotes, 'fastboot boot twrp.img'.
We must install a custom recovery
Now we go to our mobile. On the screen you will see the TWRP recovery logo. Wait until it changes and looks like we see in the screenshots. Next, we have to press 'Keed read only' and that new screen that we see below will appear.
We re-enter the 'adb devices' command to verify that the terminal is still correctly connected. If yes, let's write ' adb shell '. Some symbols will appear.
This that comes next IS VERY IMPORTANT. We will then have to write, without quotes and EXACTLY THIS, ' setprop persist.camera.HAL3.enabled 1 ′. Such that it is, but without quotes or bold. You can copy and paste the command into the notepad and then from here, copy and paste into the command window. To paste this command in the command window, just click on that window with the right mouse button and it will be pasted automatically.
Once you have made sure that you have put exactly what we have indicated, press enter. The symbols from the previous screenshot will reappear.
Now type 'exit' to successfully exit the 'adb shell'. To restart the terminal we write 'adb reboot' and that's it. The mobile will restart itself and we will be able to close the command window. Now, wait until everything has gone well and the terminal restarts normally.
Now, it only remains to test the Gcam on your Xiaomi Redmi Note 5
Now we are going to install the Gcam application on our Xioami Redmi Note 5 terminal. As we still have our mobile connected to our PC, we take the opportunity to pass the APK file that we have in the GCAM desktop folder to our mobile. To activate the file transfer, lower the notification curtain and click on ' Loading this device by USB '. A small lower window will open where we must choose 'Transfer files'.
We wait for the Xiaomi Redmi Note 5 folder to appear on our computer. Then, we copy the GCam file and place it on our computer. When the transfer is finished, we go back down the notifications and choose 'Charge the device' and disconnect it.
We now open our file explorer. On the main screen, click on the 'APK' icon and, on this screen, we see the downloaded application. We click, we grant the necessary permits for the installation and that's it.
We can now open our GCam in which everything works correctly, the panorama, the slow motion, the photo sphere and even the front portrait mode. Now, go outside to take photos!