FORUMS
Remove All Ads from XDA

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

58 posts
Thanks Meter: 64
 
Post Reply Email Thread
redmi 5a with pixel 2 camera


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 12 Users Say Thank You to androwide For This Useful Post: [ View ] Gift androwide Ad-Free
20th January 2018, 03:58 PM |#2  
@anonymous94's Avatar
Senior Member
Thanks Meter: 26
 
More
Is it possible on 32bit phones?? Moto G2??
The Following User Says Thank You to @anonymous94 For This Useful Post: [ View ] Gift @anonymous94 Ad-Free
20th January 2018, 04:03 PM |#3  
sunnyraj84348's Avatar
Recognized Developer
Thanks Meter: 557
 
Donate to Me
More
Awesome
Wow super, just used perform well.. fix bugs soon
The Following 4 Users Say Thank You to sunnyraj84348 For This Useful Post: [ View ]
20th January 2018, 05:11 PM |#4  
androwide's Avatar
OP Member
Flag Noida
Thanks Meter: 64
 
Donate to Me
More
Thumbs up
Quote:
Originally Posted by @anonymous94

Is it possible on 32bit phones?? Moto G2??

Most probably i wont work on 32bit SoCs..but give it a try if you are rooted no one thought that i can work on a Snapdragon 425 Chip like Redmi 5A..
20th January 2018, 05:14 PM |#5  
androwide's Avatar
OP Member
Flag Noida
Thanks Meter: 64
 
Donate to Me
More
Quote:
Originally Posted by sunnyraj84348

Wow super, just used perform well.. fix bugs soon

yes, it works super amazing, with a single lens and on a cheapest smartphone of India, and i am pretty impressed with the quality...
The Following 2 Users Say Thank You to androwide For This Useful Post: [ View ] Gift androwide Ad-Free
22nd January 2018, 07:36 AM |#6  
@anonymous94's Avatar
Senior Member
Thanks Meter: 26
 
More
Quote:
Originally Posted by androwide

Most probably i wont work on 32bit SoCs..but give it a try if you are rooted no one thought that i can work on a Snapdragon 425 Chip like Redmi 5A..

Tested, not working. Could u give it a try on 32bit iam ready to tes
The Following User Says Thank You to @anonymous94 For This Useful Post: [ View ] Gift @anonymous94 Ad-Free
22nd January 2018, 08:22 AM |#7  
androwide's Avatar
OP Member
Flag Noida
Thanks Meter: 64
 
Donate to Me
More
Quote:
Originally Posted by @anonymous94

Tested, not working. Could u give it a try on 32bit iam ready to tes

As of now i dont have any 32bit phone, but if i get one will surely test that out..
The Following User Says Thank You to androwide For This Useful Post: [ View ] Gift androwide Ad-Free
22nd January 2018, 02:30 PM |#8  
Member
Flag Ghaziabad
Thanks Meter: 15
 
More
Can anyone post sample photos please??
Really excited😁
22nd January 2018, 06:14 PM |#9  
androwide's Avatar
OP Member
Flag Noida
Thanks Meter: 64
 
Donate to Me
More
Thumbs up
Quote:
Originally Posted by amanverma025

Can anyone post sample photos please??
Really excited😁

here is some sample shots i have made for my YouTube Video taken by Redmi 5A running Pixel 2 Ported Camera.. find the full images here in High Quality :

Sample 1 - https://goo.gl/QSNTHd

Sample 2 - https://goo.gl/FSFt4U

Sample 3 - https://goo.gl/ZBmdcE

Sample 4 - https://goo.gl/UY7PP3


Samples are compressed by XDA CDN so see full size samples on the above links.







The Following User Says Thank You to androwide For This Useful Post: [ View ] Gift androwide Ad-Free
23rd January 2018, 04:36 AM |#10  
Member
Flag Ghaziabad
Thanks Meter: 15
 
More
Quote:
Originally Posted by androwide

here is some sample shots i have made for my YouTube Video taken by Redmi 5A running Pixel 2 Ported Camera.. find the full images here in High Quality :

Sample 1 - https://goo.gl/QSNTHd

Sample 2 - https://goo.gl/FSFt4U

Sample 3 - https://goo.gl/ZBmdcE

Sample 4 - https://goo.gl/UY7PP3


Samples are compressed by XDA CDN so see full size samples on the above links.







Awesome work 👏
Bought Redmi 5a yesterday. Gonna try it today only.😁
Post Reply Subscribe to Thread

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

Advanced Search
Display Modes