[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] Cezar`:
[ROM][UNOFFICIAL][Slim7 v0.25][7.1.2r_8][RN4/mido][20170528]

EDIT 2

: OK, I know why I get the "old" camera and not the "pixel" one. Slim has in it's build.prop this line

persist.camera.HAL3.enabled=[B][COLOR="Red"]0[/COLOR][/B]

while most other AOSP ROMs have this

persist.camera.HAL3.enabled=[B][COLOR="Red"]1[/COLOR][/B]

which enables the Camera2 API (which should give you more manual control over camera functions in 3rd party camera apps but also installs a useless stock camera.

Edit

: it seems that the Camera is in fact Google Camera (with HDR), opposite to what happens on other AOSP ROMs where the camera is the Pixel one (without HDR) after installing the Stock Gapps package. It appears that the Gapps installer script checks for camera capabilities on the phone and then decides what camera app to use. In our case it uses cameragooglelegacy (the "nexus" camera, rathern than the "pixel" camera). What's interesting is that on Slim it is unable to confirm compatibility with new Camera API so it reverts to legacy camera (which HDR capabilities), while on other AOSP ROMs, compatibility checks are successful, therefore, the "pixel" camera is installed (but without HDR capabilities).

# Begin Open GApps Install Log
------------------------------------------------------------------
ROM Android version | 7.1.2
ROM Build ID | [COLOR="Red"]slim_mido-userdebug 7.1.2 N2G47O 406d1a21df test-keys[/COLOR]
ROM Version increment | 406d1a21df
ROM SDK version | 25
ROM/Recovery modversion | Slim-mido-7.1.2.build.0.25-UNOFFICIAL-20170528-2021
Device Recovery | TWRP 3.1.1-0-9c3b7e99
Device Name | mido
Device Model | Redmi Note 4
Device Type | phone
Device CPU | arm64-v8a,armeabi-v7a,armeabi
Device A/B-partitions | false
Installer Platform | arm
ROM Platform | arm64
Display Density Used | 480
Install Type | Clean[Data Wiped]
Smart ART Pre-ODEX | false
Google Camera already installed | Clean
FaceUnlock Compatible | true
VRMode Compatible | false
[B][COLOR="Red"]Google Camera Compatible | true
New Camera API Compatible | false[/COLOR][/B]
Google Pixel Features | false
Current GApps Version | No GApps Installed
Google Camera version | Legacy
Installing GApps Zipfile | /sdcard/Download/open_gapps-arm64-7.1-stock-20170601.zip
Installing GApps Version | 20170601
Installing GApps Type | stock
Config Type |
Using gapps-config | Not Used
Remove Stock/AOSP Browser | true[default]
Remove Stock/AOSP Camera | true[default]
Remove Stock/AOSP Email | true[default]
Remove Stock/AOSP Gallery | true[default]
Remove Stock/AOSP Launcher | true[default]
Remove Stock/AOSP MMS App | true[default]
Remove Stock/AOSP Pico TTS | true[default]
Ignore Google Contacts | false
Ignore Google Dialer | false
Ignore Google Keyboard | false
Ignore Google Package Installer | false
Ignore Google NFC Tag | false[TagGoogle]
Ignore Google WebView | false
Total System Size (KB) | 3047184
Used System Space (KB) | 1133196
Current Free Space (KB) | 1897604
Post Install Free Space (KB) | 1009144 << See Calculations Below
------------------------------------------------------------------
# End Open GApps Install Log

NOTE: Stub WebView was installed instead of Google WebView because your device
has already Chrome installed as WebViewProvider. If you still want Google WebView,
you can add 'Override' to your gapps-config to override this redundancy protection.

# Begin GApps Size Calculations
------------------------------------------------------------------
TYPE | DESCRIPTION | SIZE | TOTAL
| Current Free Space | 1897604 | 1897604
Remove | Existing GApps | + 0 | 1897604
Remove | Obsolete Files | + 24 | 1897628
Remove | browser | + 0 | 1897628
Remove | calculatorstock | + 392 | 1898020
Remove | calendarstock | + 0 | 1898020
Remove | camerastock | + 6060 | 1904080
Remove | clockstock | + 4152 | 1908232
Remove | contactsstock | + 6440 | 1914672
Remove | dialerstock | + 8316 | 1922988
Remove | email | + 0 | 1922988
Remove | exchangestock | + 0 | 1922988
Remove | extservicesstock | + 16 | 1923004
Remove | extsharedstock | + 0 | 1923004
Remove | gallery | + 0 | 1923004
Remove | keyboardstock | + 46592 | 1969596
Remove | launcher | + 1404 | 1971000
Remove | mms | + 0 | 1971000
Remove | picotts | + 6372 | 1977372
Remove | printservicestock | + 36 | 1977408
Remove | provision | + 12 | 1977420
Remove | storagemanagerstock | + 3712 | 1981132
Remove | tagstock | + 0 | 1981132
Remove | webviewgoogle | + 0 | 1981132
Remove | webviewstock | + 103916 | 2085048
Install | Core | - 101584 | 1983464
Install | batteryusage | - 200 | 1983264
Install | books | - 11092 | 1972172
Install | calculatorgoogle | - 1192 | 1970980
Install | calendargoogle | - 22696 | 1948284
[COLOR="red"][B]Install | cameragooglelegacy | - 31424 | 1916860[/B][/COLOR]
Install | chrome | - 127824 | 1789036
Install | clockgoogle | - 6400 | 1782636
Install | cloudprint | - 3620 | 1779016
Install | contactsgoogle | - 8736 | 1770280
Install | dialerframework | - 24 | 1770256
Install | dialergoogle | - 11512 | 1758744
Install | docs | - 45812 | 1712932
Install | drive | - 25668 | 1687264
Install | exchangegoogle | - 492 | 1686772
Install | facedetect | - 2472 | 1684300
Install | faceunlock | - 19032 | 1665268
Install | fitness | - 15740 | 1649528
Install | gmail | - 19164 | 1630364
Install | googlenow | - 8100 | 1622264
Install | googleplus | - 21648 | 1600616
Install | googletts | - 21876 | 1578740
Install | hangouts | - 43368 | 1535372
Install | keep | - 13412 | 1521960
Install | keyboardgoogle | - 38236 | 1483724
Install | maps | - 39084 | 1444640
Install | messenger | - 18388 | 1426252
Install | movies | - 14912 | 1411340
Install | music | - 17120 | 1394220
Install | newsstand | - 11928 | 1382292
Install | newswidget | - 5628 | 1376664
Install | photos | - 46376 | 1330288
Install | pixelicons | - 344 | 1329944
Install | pixellauncher | - 2472 | 1327472
Install | playgames | - 16596 | 1310876
Install | printservicegoogle | - 40 | 1310836
Install | search | - 69212 | 1241624
Install | sheets | - 50188 | 1191436
Install | slides | - 71492 | 1119944
Install | speech | - 39240 | 1080704
Install | storagemanagergoogle | - 3720 | 1076984
Install | taggoogle | - 336 | 1076648
Install | talkback | - 9748 | 1066900
Install | vrservice | - 14636 | 1052264
Install | wallpapers | - 2632 | 1049632
Install | webviewstub | - 56 | 1049576
Install | youtube | - 31216 | 1018360
| Buffer Space | - 9216 | 1009144
------------------------------------------------------------------
Post Install Free Space | 1009144
------------------------------------------------------------------

# End GApps Size Calculations

# Begin User's gapps-config

# End User's gapps-config

Phone process dies when using dual sim, otherwise, you get an absolutely beautiful nexus/pixel experience after flashing the stock opengapps package. Even camera, although the Google one, has HDR option. Not sure what's different about this rom but all other AOSPs I tried did not have HDR or used the Qualcomm camera app. Great job to the Slim team and the dev that ported this to us. Fix the dual sim functionality and it's perfect.

My phone is a mido , RAM 4GB/64GB ROM Global. Using latest firmware from the xiaomi.eu dev rom (nougat based). I'll post logcat if requested.