In order to fulfill the basic functions of our service, the user hereby agrees to allow Xiaomi to collect, process and use personal information which shall include but not be limited to written threads, pictures, comments, replies in the Mi Community, and relevant data types listed in Xiaomi's Private Policy. By selecting "Agree", you agree to Xiaomi's Private Policy and Content Policy .

Redmi Note 4

[Tips] [Guide][Portrait Mode][SD]How to enable Portrait Mode in your Xiaomi Device running on Nougat

2018-01-08 13:36:00
56668 243

Dear Fellow MIUI-ers,

What is Portrait Mode?
                                             Portrait Mode Photography in digital photography is a function of the digital camera that is used when you are taking photos of a single subject. When taking photos in portrait mode, the digital camera will automatically use a large aperture to help keep the background out of focus by using a narrow depth of field so the subject being photographed is the only thing in focus like what we have seen in our Camera Flagship Device Mi A1 last year. Dual Camera  smartphones are the trend of this scenario as per my knowledge this was first introduced in Redmi Pro which uses a wide Angle  Lens and Monochrome one but the technology developed and now we can take some cool Portrait pictures like DSLR using our Smartphone with introduction of  combo of Wide Angle Lens and Telephoto Lens which we have seen in Mi 6 , Mi Note 3 and Mi A1. Portrait mode uses the Telephoto camera and some software trickery to create a photo with a faux bokeh - an artificially blurry background resembling the one that occurs naturally when you use a lens with a bright aperture on a large sensor camera.

How does this Portrait mode work?
                                                     We can classify this into 2 section one which uses hardware and another one which uses Software Processing
Let's talk about Hardware here,  which enables 2x optical zoom along with the ability to take portrait images with shallow depth of field by creating a bokeh effect which blurs a subject's background. The telephoto lens is the base for generating the effect and the wide gathers additional data. If you shoot a picture close to a subject with the telephoto where the background is far away you will see this natural blur occur even without portrait mode. So you’re already starting with a better optical stage.

Is it a hardware thing or software thing?
                                    My answer is both, like what we have seen in Xiaomi Mi A1, which use the combo of Telephoto Lens and Wide Angle Lens which use the telephoto lens for bokeh effect but Google really surprised us with their latest Flagship Device Google Pixel 2 with their advanced image processing technology.

Can we enable it in our Mi Devices which comes with single lens??

                                 Yes, now we can enable Portrait Mode on all Xiaomi Devices which is running in MIUI based on Nougat or above or using Custom Roms. Here I am explaining you all how to enable that on your device. Kindly read all the instructions.

IMPORTANT ADVISE: Install at your own risk. We are not responsible for any damage to your device. Read carefully instructions before install.


1. Unlocked Bootloader      
2. Rooted Device                                    
3. Modded Gcam
4. Build Prop Editor


Portrait (64.9 MB, Downloads: 4056)

2. Build Prop Editor

Let's Start,

1. Download Build Prop Editor from the link above or from the Google Play Store2. Unzip the
3. Enable Root Access for this App
4. Follow these steps
Add these line without Quotes and reboot  ""

5. Install Gcam Mod Apk
6. You can use this Camera for Portrait Mode
7. For HDR+ for HDR Mode in the Zip File

HDR Mode from your Stock MIUI Camera won't work after enabling Camera 2 API, for fixing it you have to remove that line which is added above and reboot and only work for People and Animals now and woont work for objects.

Photo Samples were taken from Mi Max 2

P.S. I am not the developer of the Application.
I am sharing this work and all the credit goes to its developer


Number of participants 7 Experience +52 Pack Reason

View Rating Log

2018-01-08 13:36:00
Favorites328 RateRate

Grandmaster Bunny

Prem | from Redmi Note 4


Thanks for sharing this information with us
2018-01-08 18:22:15

Master Bunny

Dijil | from Mi A1


nice thread
2018-01-08 20:41:39

Master Bunny

ghostzone | from Mi A1


nice information.     
2018-01-08 20:41:42

Master Bunny

Nithish Athreya | from Redmi Note 4


2018-01-09 03:49:05

Pro Bunny

Saran Raju | from Redmi Note 4


nice thread. thanks for sharing
2018-01-09 04:36:11

Master Bunny

diiep4u | from Redmi Note 4


very good share but it would be better if it's given inbuilt with stock ROM camera. if we can do all this things for portrait mode sure our device has hardware to support. then why isn't made available with stock camera itself
2018-01-09 07:14:14

Master Bunny

Rocck | from Redmi Note 4


good job and tnxxxx
2018-01-09 12:11:08

Rookie Bunny

1684867242 | from Redmi Note 4


nice information.. can we did portrait mode without root process ?
2018-01-09 13:26:30

Master Bunny

1622189838 | from Redmi Note 3


Thanks for sharing
2018-01-10 03:14:27

Master Bunny

1622189838 | from Redmi Note 3


Thanks for sharing
2018-01-10 03:15:46
please sign in to reply.
Sign In Sign Up

Karthik Mohan

Grandmaster Bunny

Beta Tester
India 2nd year
100K members
Redmi 3S
APP scratch card
6th MIUI
Mi Max
Independence Day
Power At Last
AP2 Livestream
100 threads in a Month
2016 Diwali with Mi
300K Members
Go Smash!
3 Days Check-In
7 Days Check-In
21 Days Check-In
40 Days Check-In
70 Days Check-In
100 Days Check-In
Lucky Draw No.
500K Members
Christmas Contest
2016 Christmas
Mi Explorers
2016 #ThrowbackwithMiComm
Pokemon Go!
App Review
1 million members
Xiaomi 7th Birthday
New Home
Mi Campus Superstars Entry
Mi Campus Superstar Candidate
Fitness Guru
June-100 replies in a month
July-100 replies in a month
Aug-100 replies in a month
Sep-100 replies in a month
Oct-100 replies in a month
Nov-100 replies in a month
Dec-100 replies in a month
100 ответов в декабре
1st Anniversary
71st Independence Day
My Poster My Life
MIUI 7th Anniversary
Poster của tôi
2 million registered members
Mi A1 Review Contest
Newbie Member
150.000 Pengguna
Вбивця смартфонів
Helloween 2017
World Records
Встреча Mi MIX 2
Twitter Medal
Día de Muertos
250 000 пользователей
New Home Medal
Black Friday
Device Team Member
10k Members
Android O Tester
Mi Apps
Christmas 2017
2018 New Year Medal
2018 Medal
ميدالية السنة الجديدة 2018
MIUI Instagram
2017 Xiaomi Annual Bill
Mi Community Updater
Color Your Planet
Spam Hunter
Color Our Planet Game
April Participation
The Motivator
Golden Mi Bunny
Q & A Master
MIUI Subscriber
MIUI 8th Anniversary
Eid Mubarak
5 Million Registered Users
10 Million Downloads
Throwback With Mi 2018

Read moreGet new
Copyright©2010-2020, All Rights Reserved
Content Policy
Quick Reply To Top Return to the list