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 .
Agree

Redmi Note 5/Pro

[Review] Guide - Camera2API and Google Camera installation

2018-05-30 20:58:05
3759 9
This post was edited by subbu2582 at 20:59, May-30-2018

Before you continue reading further, I'm not responsible for Bricking your device, please try at your own risk
Please continue reading if you have bootloader unlocked. If not, you might want to unlock your bootloader before you can try these steps.

- Boot phone into fastboot (Volume down + Power)
- Install TWRP
- Boot into recovery (TWRP)
- Press on "Keep read only" on the first page that is presented in TWRP
- Connect phone to PC
- Type "adb devices" and ensure connectivity
- Type "adb shell"
- Type "setprop persist.camera.HAL3.enabled 1"
- Type "exit"
- Type "adb reboot"

Once your phone boots up, install BSG Google camera port
https://www.celsoazevedo.com/files/android/google-camera/

Download the camera from MGC 5.2.022.apk



Open camera, and below are some settings I did to get better photos as compared to stock camera
Settings -> BSG mod settings
- Model New style Pixel
- HDR+ parameter - Super High
- Fix back camera (black level)
- Final jpg quality HDR+ 100%
- Zoom in portrait for back and front camera - 1.0 (without zoom)

Settings -> Developer settings
- enable camera.p3
- enable camera.enable_hwhdr

Please verify the photos taken from Google camera vs Stock camera for analysis

Google Camera photo
https://ibb.co/b3sUay

Stock camera
https://ibb.co/bGJ2vy

2018-05-30 20:58:05
Favorites8 RateRate
Google Cam vs MIUI stock camera photos running stock 9.5.11.0

The monkey
MIUI - https://ibb.co/gjgCfy
Gcam - https://ibb.co/kDDxDJ

The penguin
GCAM - https://ibb.co/irUnDJ
MIUI - https://ibb.co/hLwjtJ

Silent lady
GCAM - https://ibb.co/hUVKtJ
MIUI - https://ibb.co/mRhcfy


Garfield
GCAM - https://ibb.co/gmtB7d
MIUI - https://ibb.co/iDVf0y


The cat
GCAM - https://ibb.co/eUaDLy
MIUI - https://ibb.co/hQtTnd


The slide
GCAM - https://ibb.co/d6xtLy
MIUI - https://ibb.co/hkFkYJ


Silent lady 2
GCAM - https://ibb.co/i4Z17d
MIUI - https://ibb.co/ksuJnd

Giraffe
GCAM - https://ibb.co/hUYdnd
MIUI - https://ibb.co/hYYNDJ
2018-05-31 23:09:18

Pro Bunny

Ryans | from app

#2

llllooool
2018-05-31 23:14:23

Rookie Bunny

gyash1021 | from mobile

#3

Great work
2018-06-01 03:44:31

Advanced Bunny

ramez88 | from app

#4

Any way to do it without root?
2018-06-01 08:26:06

No you can't
2018-06-01 09:37:28
2018-06-01 09:37:46

Yes, follow my steps. It is without root.
2018-06-01 14:08:05

Advanced Bunny

ramez88 | from app

#8


Isn't unlocking bootloader and installing a custom recovery have some risks as rooting?
2018-06-01 17:42:05

Rookie Bunny

Bellwin | from mobile

#9

Thanks for your post. This is working perfectly. I just completed the process today and tested it. Slow motion video alone not working
2018-06-03 17:56:46
please sign in to reply.
Sign In Sign Up

subbusnexus

Wizard Bunny

  • Followers

    0

  • Threads

    1

  • Replies

    0

  • Points

    259454

Read moreGet new

Mi Comm APP

Stay updated on Mi Products and MIUI

Copyright©2010-2020 Xiaomi.com, All Rights Reserved
Quick Reply To Top Return to the list