FORUMS
Remove All Ads from XDA

Google Pixel 2 Ported Camera Working on SD 425, Redmi 5A

56 posts
Thanks Meter: 58
 
Post Reply Email Thread
Hello guys, and today i'll be sharing a great post with you guys that how can you use Google Pixel 2's Portrait effect on Your Snapdragon 400 Series Powered android devices, (as of now i have tested on Redmi 5A) and it working super fine, like i am able to capture Front Cam Bokeh shots, and rear cam portrait images, so in this post i'll show you how to enable or use Google Pixel 2's Modded Camera on Your Redmi 5A

so first of all i would like to thanks Senior XDA developers @Arnova8G2 and @miniuser123 for improving these kind of port.

Disclaimer:

guys the process requires Root Access to enable Camera2API, so it will void your warranty, and also if you dont follow the steps correctly you can brick your device, do it at your own risk, AndroWide is not responsible for any issues caused to your phone after rooting or during the process.

Known Bugs :

After enabling Camera2API on Redmi 5A MIUI camera does't work (you can disable the Camera2API at any time to use stock camera),
Video Recording is not working on GCMode Camera as of now on Redmi 5A.

Now let me tell you that what you will have to do to achieve this camera port on you device.

Steps :

Unlock Your Bootloader

Download Magisk.zip file and LazyFlasher.zip files and put it on your Redmi 5A's Internal Storage and also download the GCMode camera apk and put put it on your device

Download and install ADB & Fastboot Drivers on Your Laptop/PC

Download latest adb folder (extract it to desktop)

Download the official TWRP for Redmi 5A and ( copy twrp-3.2.1-0-riva.img to the adb folder)

Now boot you device into fastboot mode (simply press and hold volume down + power key for upto 5 seconds)

now connect your device with the pc and open the adb folder,

now press & hold shift key and press right click on the screen to open command window AKA powershell window (just open the command window)

now type command:

fastboot devices

now it will show you some random string (that means you device has been detected)

now run the following command :

fastboot flash recovery twrp-3.2.1-0-riva.img

now type the following command :

fastboot boot twrp-3.2.1-0-riva.img

now your device will boot into recovery mode just swipe right,

now click on install and select the LazyFlasher.zip file, after flashing done, just reboot your device,

now again boot into twrp recovery by pressing and holding volume Up+power key at the same time for upto 6 seconds

now again click on install and this time select magisk.zip file and wait until it shows done, now just reboot your device

and download the magisk manager app and install it, now download build prop editor from play store and edit the build.prop file (make sure to make a backup of your stock build.prop file)

now add the following line in build.prop file

persist.camera.HAL3.enabled=1 save the file and reboot your device.

now install the GCMod Camera which you have downloaded in the step one and make the following settings.

go to GCMod Settings, Click on Config camera HDR+ and select Nexux 5X, and click on model and select Nexus 5X, now scroll down and go to advanced and Enable HDR+ Control,

Now Just force close the GCMod Camera and now you can capture great portrait images with the front cam as well as rear cam.

The Following 7 Users Say Thank You to androwide For This Useful Post: [ View ] Gift androwide Ad-Free
 
 
6th March 2018, 01:45 PM |#2  
Junior Member
Thanks Meter: 0
 
More
how it is working on Redmi A5
is there big difrence to stock camera ?
13th April 2018, 02:05 PM |#3  
Senior Member
Flag mumbai
Thanks Meter: 72
 
More
Amazing work bro.. works great.
7th May 2018, 08:16 AM |#4  
Junior Member
Thanks Meter: 0
 
More
Hi.please help
So I have the redmi note 5 pro rooted and running a custom rom on Android 8.1 Oreo. I have enabled the camera2api enabler module in magisk manager.but still the manual camera compatibility app shows everything red and the camera apk I installed keeps crashing.
Please reply asap
1st June 2018, 03:03 AM |#5  
Junior Member
Thanks Meter: 0
 
More
How to fix video record
18th June 2018, 04:43 AM |#6  
Junior Member
Thanks Meter: 1
 
More
thank you, but when i want to send the image to facebook messenger, line, facebook app, the image doesn't appear, but when i open galery the image is there
21st June 2018, 07:45 AM |#7  
Junior Member
Thanks Meter: 4
 
More
Hi sir great work , but after enabling CAMERA2API my stock camera of Redmi 5a not working ,

I have followed the procedure step by step.

Please help sir

---------- Post added at 07:45 AM ---------- Previous post was at 07:42 AM ----------

Great work sir , Sir But I'm facing a problem that After enabling CAMERA2API my stock camera of Redmi 5a not working.

I have followed the procedure step by step.

Please help
The Following User Says Thank You to Akash10053 For This Useful Post: [ View ] Gift Akash10053 Ad-Free
10th December 2018, 05:35 AM |#8  
Junior Member
Thanks Meter: 0
 
More
have gcam for samsung j8 SD 450 ???
12th December 2018, 03:00 PM |#9  
Member
Flag Varanasi
Thanks Meter: 9
 
More
Quote:
Originally Posted by tiestodemoni

have gcam for samsung j8 SD 450 ???

It doesn't have camera 2api enabled
You have to enable it
12th December 2018, 08:40 PM |#10  
Junior Member
Thanks Meter: 0
 
More
Quote:
Originally Posted by m.ayaz1148

It doesn't have camera 2api enabled
You have to enable it

if i'm enable, i'm can use the apk?
25th January 2019, 12:57 PM |#11  
Junior Member
Thanks Meter: 0
 
More
Quote:
Originally Posted by tiestodemoni

if i'm enable, i'm can use the apk?

Yes i m using gcam with night sight mode
Post Reply Subscribe to Thread

Tags
pixel 2 camera on redmi 5a, portrait images on redmi 5a, redmi 5a, root redmi 5a, xiaomi-redmi-5a

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes