yashsingh1/xdaforums huggingface dataset:
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] azaan477:
U will get ota but u should not update from there it may contain anti 4 frimware always update roms available on this thread if you want to keep your anti 3.
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] kbsarfaraz:
Thank You....

---------- Post added at 09:35 PM ---------- Previous post was at 09:34 PM ----------

If I want to go back to official firmware, what to do
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] Gaia93:
awesome job.. thanks
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] azaan477:
U can flash older roms as far as your anti is 3
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] Lorenzo3631:
Coming from MIUI eu, how do I flash your edited global ROM in TWRP? Do I need to first wipe system, data and cache?
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] sourish_sbg:
Thanks for your hard work, information and guide. I have one query - May i flash Masik 2.1 without making any mod?

I guess masik 2.1 merely updates the modem and splash without updating firmware. Please refer to the attached screenshot below :

I am on anti -3. After flashing Masik 2.1 will I remain anti -3?
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] KHSH01:
So official ota will not brick my phone? Just update the arb to latest? I don't really care about arb for the most. By CN users do you mean people using cn version of the rom or the note 5 users?
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] Keppo2911:
So... now I have stock 9.5.19.0 with

ARB 4

... I can flash your fw-less 9.5.14.0 through TWRP, right? I just want to make sure not to run into hard-bricks, that would be a nightmare!
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] ANR2K:
Btw, if my Chinese RN5 already use a global stable MIUI 9.5.6.0 do i need to do those additional steps for CN users? or can i just flash your fwless roms directly?

Thanks in advance :)
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] ir_bahri:
It safe if I'm delete firmware update in miuipro ROM 9.5.6.0?

ARB 4.?
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] ManDone.vRs:
English mby ?!
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] fardeenah:
8.8.2 global please
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] av7373:
I'm on Aosp rom with anti4 but it has Dual Volte problem now can i flash the official 9.5.19 with firmware (as i need it to fix volte) using twrp or Mi flash tool without bricking the device?
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] dustmalik:
And how are you sure that 9.5.19 firmware would fix the VoLTE issue?
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] otonieru:
Because its working fine for other people who are in stock, i guess ?

My dual volte is fine on 9.5.19 (ARB 3)
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] dustmalik:
But 9.5.19 is anti 4.
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] Shree26:
Can you do for global 9.6.2? Released shortly...
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] Kumarankav:
Waiting for 9.6.2 global stable..

Edit: Sorry haven't noticed.. it's already uploaded. Downloading
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] kuance:
Hello OP, I have one question. My bootloader is locked and still waiting or countdown (180 hr left). Previously when i unbox, my version is on 9.5.6.0 stable global. then without unlocking bootloader, i downloaded the recovery rom for 9.5.17.0(still on anti-3), put into internal memory at downloaded_rom, then with the updater app, i was able to flash and update to 9.5.17.

So my question is, since im on 9.5.17 stable global with locked bootloader now, can i do the same step to flash 8.8.2 global beta(modded firmwareless in this thread) thru updater without unlocking bootloader?
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] ajay1602:
These are the modded builds and I guess you need to have unlocked bootloader and TWRP to flash these Roms.
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] dustmalik:
I've gone through the whole thread and my curiosity hasn't been satisfied. So, here is my question;

I'm currently on unmodified/official global 8.7.5(anti 3) beta. If i flash your modified 8.8.2 beta, which means i would still be on anti 3. Can i still flash a full unmodified/official anti 3 fastboot rom, say, for instance, 8.7.5 beta? Technically, i believe it should be safe, since i'd still be on anti 3. But your informed opinion would satisfy my curiosity.
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] otonieru:
If you use 9.5.19 from this thread. It would be anti 3
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] ManDone.vRs:
Seems lot of ppl saying 9.6.2 battery draining too fast and ui lag ....
[Xiaomi Redmi Note 5 Pro Guides, News, & Discussion] metalfreak188:
Which is the global rom for Redmi Note 5 Ai china above?..I can't identify..I am counfused which fw less global stable rom to download for Note 5 Ai China..
[Android Q&A, Help & Troubleshooting] jvictormp:
Hi!

I'm experiencing some issue with Webkey app. I ain't got enough knowlegde about development of apps, that's why I'm asking for help.

Webkey used to work well before the May 2018 update. I have it installed in my Asus Zenfone 2 Z00A, with root.

But after the update, it doesn't connect anymore. In the main screen, I turn it off, then on again, and it says "connecting" for some seconds, then "offline" again.

Then I downloaded a previous version of Webkey in it's website, but unfortunately it doesn't work neither. But it's not the version I used to have previously. Apparently it's a version older than that. The version I used to have I can't find anymore.

Default restored my device, rooted and installed Webkey again, and no success.

The SuperUser app shows these logs below in different times I tried:

So would you please suggest something I could do?

Thanks!
[Galaxy S I9000 Android Development] MYEUHD:
[IMG="omni"]https://img.xda-cdn.com/nxQb92ehvBIaKgYgLD-M4ZjomIA=/https%3A%2F%2Fomnirom.org%2Fwp-content%2Fuploads%2F2013%2F11%2Fomnirom_logo-big_layout_transparent-250px-150x150.png[/IMG]​

/*
* Your probably long expired warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you
* and point my finger right back at you.
*/

What is Omnirom?

A new Android custom rom was announced at the BABBQ (Big Android BBQ) in late 2013 by [MENTION=2162789]XpLoDWilD[/MENTION], [MENTION=631273]Chainfire[/MENTION], [MENTION=912474]Dees_Troy[/MENTION] & Team.

"The goal of Omni is to experiment with Android development because we enjoy it. Omni isn’t better, just different. "

Installation instructions

Backup your data and your current ROM.

(install any other 7.x ROM.)

Reboot to the custom recovery.

Wipe /data in f2fs, and then wipe /system and /cache.

Install the ROM zip. it may fail and let you know it's repartitioning. If that's the case, install it a second time.

Reboot.

Wait for about 15 minutes.

Working list

Wi-Fi

Bluetooth

Audio

RIL(SMS and calls)

Camera

Hardware decoding and encoding

Sensors

Not working list

RIL(Cellular data)

SELinux is permissive

Beware that the alarm app didn't work for me sometimes

Download

08-06-2018

Source Code

Device specific source code: https://github.com/MYEUHD

Rom manifest: https://github.com/omni-security/android/tree/android-7.1

OmniROM gerrit: https://gerrit.omnirom.org

Credits/Thanks

Thanks to [MENTION=5414656]xc-racer99[/MENTION] for:

his trees and patches! I based mine on top of his.

answeing my numerous questions and helping me fix compilation errors/bugs!

Thanks to [MENTION=6794010]Coldwindofnowhere[/MENTION] and [MENTION=5916159](°_o)[/MENTION] for their work on Nougat for this device!

Screenshots

XDA:DevDB Information

OmniROM 7 for the Galaxy S I9000, ROM for the Samsung Galaxy S I9000

Contributors

MYEUHD, xc-racer99, Coldwindofnowhere, (°_o)

ROM OS Version: 7.1.2 Nougat

ROM Kernel: Linux 3.0.101

ROM Firmware Required: Android 7.x

Based On: OmniROM

Version Information

Status: Testing

Created 2018-07-14

Last Updated 2018-07-14
[Galaxy S I9000 Android Development] MYEUHD:
Status update

I probably won't provide any further updates to this ROM, mainly because my computer takes ages to compile (with only 4GB of RAM). Moreoever, my interest shifted towards other projects such as postmarketOS.

In fact, I didn't work on this ROM during the last month or so. That's why the build I uploaded dates back to June.

All my sources are uploaded. So, everyone is welcome to make improvements and share new builds in this thread!
[Galaxy S I9000 Android Development] MYEUHD:
Gapps

Gapps are not recommended as they make the device much slower. However, if you really need them, you can use microg instead.

microg installation instructions.

Root instructions

Replace the ramdisk.img in the ROM zip with the one attached below. It contains Magisk v14.0 and it is taken from (°_o)'s ROM (thanks [MENTION=5916159](°_o)[/MENTION] )

Then, you have to install the latest MagiskManager apk from https://github.com/topjohnwu/MagiskManager/releases
[Galaxy S I9000 Android Development] it'sup:
voodoo sound included?
[Galaxy S I9000 Android Development] MYEUHD:
It is supported by the kernel but you have to install the app separately.
[Galaxy S I9000 Android Development] it'sup:
It has been taken down from google play and voodoo-sound.org do you know where you can side barge the apk?
[Galaxy S I9000 Android Development] xc-racer99:
Here's a copy of the apk that I found on my computer.
[Galaxy S I9000 Android Development] it'sup:
Hey, thanks a ton I could not find an actual working apk anywhere. You should add it into your Rom because wouldnt you think anybody whose using the S1 is really using it for the dac?
[Galaxy S I9000 Android Development] xc-racer99:
Well, it's not my ROM, [MENTION=8106387]MYEUHD[/MENTION] made it :)

And no, believe it or not I still use my S1 as my day-to-day phone - although only for texting and music. Partly because I don't need anything more, partly because there are no small phones (<5") around any more. I've tried a couple of 5" phones but they're not as convenient to carry around plus you can't cover the full screen with one handed use. The Palm phone looked interesting, until I found out it was a Verizon exclusive not available where I live.
[Galaxy S I9000 Android Development] pink0:
me too was looking for a compact-not-looking-pan model to replace my glorious i9000. I found out that the A3 2017 was closer enough to its size and I'm quite satisfied. Now the only problem I see is that it lacks the same support from the xda community of modders, so I would be glad if you bought this model :^)
[Galaxy S I9000 Android Development] joam280:
Hello after installing this rom I can not go back to the previous 6.0.1 error in the installation. I restored from the factory and still the problem persists. Any solution.

Enviado desde mi Redmi 5 Plus mediante Tapatalk
[Galaxy S I9000 Android Development] MYEUHD:
No, TV out support on this phone was dropped on lollipop+ ROMs
[Android Q&A, Help & Troubleshooting] ScriptKiddy007:
Prank Android phone users with ADB:

Connect to phone wirelessly:

Connect phone via USB

adb tcpip 5555

adb connect <Your phone IP>:5555

Disconnect USB

(To get IP address type adb shell ip -f inet addr show wlan0)

(To return to using USB for adb, type adb usb)

Record Screen:

adb shell screenrecord /sdcard/demo.mp4

(to record)

adb pull /sdcard/demo.mp4

(to copy the file)

Send Text:

adb shell input text "This%Sis%Stext"

(%S is a space)

Send Keypress:

adb shell input keyevent <keycode>

(This can be used to quit to the launcher, send random keys, etc.)

(Keycodes listed here: https:<double slash>elementalx<dot>org<slash>button-mapper<slash>android-key-codes<slash>)
[Nokia 5 Questions & Answers] Rangasaman:
I Am Ranga saman from Srilanka. Srilanka Dialog 4G sim VoLTE option Activate. But srilanka Nokia All modal phone VoLTE not working *#*#4636#*#* code menu volte option disable. I am Inform Dialog network and Srilanka Nokia softlogic hotline.

Please idea VoLTE enable my Nokia 5 phone
[Nokia 5 Questions & Answers] nerid_n:
Machan

Hey Machan.. Did u managed to get VOLTE on nokia? pls give me ur number?
[Samsung Galaxy J3 (2016) Questions & Answers] New2017:
Hello, I am a newbie in the Android world and i was wondering if stock ROM for J3 (2016) supports F2Fs, and if yes. How can i format it ?
[Huawei P20 Lite Questions & Answers] haidermiz:
My device is ANE-LX1 and I unlocked bootloader and rooted my phone using fastboot and when i tried to installed magisk it failed and stuck in boot menu i don't know what to do and i can't find frimware for my device I bought this phone in Jeddah Saudi Arabia 2 days back

https://ibb.co/dHBZhT

https://ibb.co/dkskp8

https://ibb.co/jokuhT

I don't know what to do please help. I'm noob.

Thanks
[Huawei P20 Lite Questions & Answers] kilroystyx:
Do you have TWRP installed?
[Huawei P20 Lite Questions & Answers] haidermiz:
i can boot into bootloader i tried to install twrp but whenever i Huawei Erecovery pops up
[Huawei P20 Lite Questions & Answers] haidermiz:
I cannot extract update.zip from huawei extractor I'm getting a error

https://ibb.co/k0HmGy
[Huawei P20 Lite Questions & Answers] haidermiz:
Thanks it worked

https://xdaforums.com/showpost.php?p=76943321&postcount=4
[Huawei P20 Lite Questions & Answers] César Terrazas:
Verify that in the HuaweiExtractor Options still unchek the first Options in "unzip level"
[Huawei P20 Lite Questions & Answers] milionmobile:
p20 lite bricked

i have my p 20 lite stuck on th huawei logo i tried to flash it with a a box the flash done but it stell stuck on the huawei logo i dont know what to do please help me
[Upgrading, Modifying and Unlocking] scilor:
I have rebooted my Kaiser this morning and it took a while, and than came a message that it cant boot...

The Software i installed before the last reboot was s2p and before that i installed and deinstalled vito sms chat...

Is there a way to fix it without the need of hard reset or can i download files via the bootloader?

thanx SciLor
[Upgrading, Modifying and Unlocking] bbobeckyj:
there may be, but if you're still waiting, it would be quicker to hard reset.

try to get used to it if you haven't already. It only takes me a few minutes now to setup after a hard reset, I keep as much as possible on a memory card, never sync with my PC, use mortscript to auto setup my programs and settings, and keep a copy of all folders on the memory card to copy accross.
[Upgrading, Modifying and Unlocking] scilor:
I hard reseted it and used the last backup had (18March) ^^

i copy nearly everthing on my card but after the backuo WM5torage doesnt work.... even after reinstalling if i connect it it show the volume but when i click on it it says there is nothing :(
[General Questions and Answers] Jack_Rickwood:
I dont care about bricking it, or how hard it would be to do, i just want some suggestions on the coolest things i could do to my phone.

I have a galaxy s7, its rooted with magisk and twrp is installed.
[Xiaomi Redmi Note 4 Questions & Answers] djsolidsnake86:
Hi to all, there is a way for use arnav gcam on miui 10?
[Xiaomi Redmi Note 4 Questions & Answers] howasparty:
I've installed Camera 2 API Module within Magisk. After a reboot Google Cam worked again.
[Xiaomi Redmi Note 4 Questions & Answers] djsolidsnake86:
on what rom?
[Xiaomi Redmi Note 4 Questions & Answers] howasparty:
Have a look at the screenshot
[Xiaomi Redmi Note 4 Questions & Answers] kumarraj4096:
Not working black screen

Not working black screen
[Xiaomi Redmi Note 4 Questions & Answers] howasparty:
Well, to be honest. I had two modules for Camera2 api. But for testing I've removed them both and now GCam is still working.

BUT.. I've also installed Google Framework and Google Lens Enabler. Maybe one of them is needed, or maybe it's just working after a reboot.

You may check your configuration with an app: Camera2 probe. My Gcam is working if it shows "Legacy" und Hardware Level Support Category
[Xiaomi Redmi Note 4 Questions & Answers] howasparty:
My settings within Camera2 probe
[Xiaomi Redmi Note 4 Questions & Answers] AN0No:
Which Gcam port are you using? I thought one would need a higher api support category for Gcam. For me it shows level 3 support but the app is crashing anyway.
[Xiaomi Redmi Note 4 Questions & Answers] howasparty:
I am using this one, it.'s quite old (3.2...) and I could not find the link, where I got it from

https://drive.google.com/file/d/1nGTjxAUIfZtxI4SLUz3k5XZ31OiZH5kI/view?usp=drivesdk

After installation you've to hit once the camera button, than it should work
[Xiaomi Redmi Note 4 Questions & Answers] Merli-:
Where is Google Framework and Google Lens Enabler?
[Xiaomi Redmi Note 4 Questions & Answers] howasparty:
They are both Magisk modules
[Xiaomi Redmi Note 4 Questions & Answers] Merli-:
Didn't work, black screen. Application Cam 2 probe only shows level_3 :/
[Xiaomi Redmi Note 4 Questions & Answers] gigiotd:
Level 3 is good: it's the better compatibility level!
[Xiaomi Redmi Note 4 Questions & Answers] djsolidsnake86:
me too has level 3, black screen here also with your apk
[Xiaomi Redmi Note 4 Questions & Answers] gigiotd:
Which phone model did you choose? In my rn4 I much choose Pixel 2 XL, otherwise I see Black screen
[Xiaomi Redmi Note 4 Questions & Answers] djsolidsnake86:
i have redmi note 4x, what apk you use?
[Xiaomi Redmi Note 4 Questions & Answers] gigiotd:
I have redmi note 4 sd (MIUI 9), but I meant the phone model you must choose inside apk:

View attachment 4553604
[Xiaomi Redmi Note 4 Questions & Answers] djsolidsnake86:
we are talking about miui 10!
[Xiaomi Redmi Note 4 Questions & Answers] gigiotd:
I know, but what I mean is that you must try different models of phone and not all of them are functioning in our redmi.
[Xiaomi Redmi Note 4 Questions & Answers] AN0No:
The problem is the app crashes/hangs up when I open it. I'm not able to change any settings inside the app.
[Xiaomi Redmi Note 4 Questions & Answers] olegpolisan1:
Anyone knows how to fix 2api? I think, that trouble in libs..
[Xiaomi Redmi Note 4 Questions & Answers] meetkalamar:
This, the API is bugged, it doesn't work in several camera apps I tested
[Xiaomi Redmi Note 4 Questions & Answers] heroboy107:
gcam isn't comptabile in MIUI 10 8.7.12

I have tried every single gcam port there on MIUI 10 8.7.12, none what so ever worked :rolleyes:

I kinda like MIUI but i like gcam more so i switched to RR Official 6.1 . until this thing sort's itself out .

have anyone tried a Custom MIUI like Miui.AM MultiPro Miui.EU that are based on MIUI10. i heard rumors that gcam is working on them. any to confirm ?
[Xiaomi Redmi Note 4 Questions & Answers] olegpolisan1:
I tested roms by Miui.eu; miuipro; miui 10 by kosmos and nothing are working.
[Xiaomi Redmi Note 4 Questions & Answers] gigiotd:
Did you test magisk camera2api flash too?
[Xiaomi Redmi Note 4 Questions & Answers] olegpolisan1:
No, cuz i dont have a magisk
[Xiaomi Redmi Note 4 Questions & Answers] DepeTT:
So the problem is the api that are bugged? You can enable them but they don't work?
[Xiaomi Redmi Note 4 Questions & Answers] meetkalamar:
It seems to half work, there are some camera apps that it works fine, there are others that the camera is totally black (maybe apps that use it more heavily).

---------- Post added at 07:24 PM ---------- Previous post was at 07:23 PM ----------

I tested it with and without magisk, still doesn't work
[Xiaomi Redmi Note 4 Questions & Answers] DepeTT:
It's probably related to sensor too, Omnivision has always been problematic.

I have Samsung sensor but i can't test it right now because i'm on a custom rom.
[Xiaomi Redmi Note 4 Questions & Answers] gigiotd:
How to identify sensor? I tried with cpuZ, but it doesn't say anything.

Thanks
[Xiaomi Redmi Note 4 Questions & Answers] meetkalamar:
That's possible also, I have an Omnivision sensor
[Xiaomi Redmi Note 4 Questions & Answers] meetkalamar:
As the attached images, in a MIUI Rom tap on kernel version until the test service pops up. Then access the first option, there is the code of you cameras and so. In non MIUI Roms it's pretty harder to get this info
[Xiaomi Redmi Note 4 Questions & Answers] AN0No:
Personally I do have a Samsung sensor but Gcam doesnt work either.
[Xiaomi Redmi Note 4 Questions & Answers] gigiotd:
Is this Samsung? Thanks very much.
[Xiaomi Redmi Note 4 Questions & Answers] meetkalamar:
Yes
[Xiaomi Redmi Note 4 Questions & Answers] Tomarzig:
How to used Google Camera in MIUI 10 Global Beta ROM ?
[Xiaomi Redmi Note 4 Questions & Answers] djsolidsnake86:
So no way?
[Xiaomi Redmi Note 4 Questions & Answers] D3NMOH:
after enabling camera2 API ALL apps except "miui camera" can't connect to camera: gcam, hedge cam, Google duo and other.

how to fix it?
[Xiaomi Redmi Note 4 Questions & Answers] Curi0:
I have Samsung sensor and doesn't work
[Xiaomi Redmi Note 4 Questions & Answers] DepeTT:
It looks like it's the camera2api that are bugged on miui 10, you can enable them but they don't work.
[Xiaomi Redmi Note 4 Questions & Answers] Curi0:
I've tried replacing camera blobs like camera.msm8953.so and stuff in /vendor but it still won't work. What else could I try replacing ?
[Xiaomi Redmi Note 4 Questions & Answers] DepeTT:
Take a look at this thread
[Xiaomi Redmi Note 4 Questions & Answers] Iamtheboss426:
Plz give the files you've flashed

It seems you are just the one on the whole internet who's gcam is working. So plz give the lens and framework files

It may work for others too.
[Xiaomi Redmi Note 4 Questions & Answers] djsolidsnake86:
There is no solution for now :(
[Xiaomi Redmi Note 4 Questions & Answers] omarilzz:
Solution Found !

Well there is a group on telegram guys who ported miroom 10 8.1 *bug exists on miui 10 running android 7.0" i tested it my self and worked

if u want it go to treble devlopment thread you will find 2 versions one is ported by fxsheep and other by a member called j spair i think i tried both and they got minor bugs but who cares ^^
[Xiaomi Redmi Note 4 Questions & Answers] djsolidsnake86:
What is the best version and how install it?
[Xiaomi Redmi Note 4 Questions & Answers] bhanuchowdary:
where is the link to download? can you gide
[Xiaomi Redmi Note 4 Questions & Answers] h4harsimran:
It worked! But there's a catch

Thanks man.

I used this method to install google cam and it worked. I am listing the steps I performed for anyone who want to follow-

1. I rooted my mobile with magisk.

2. Enabled camera2api by adding following line in build.prop

'persist.camera.hal3.enabled=1'

3. Installed google lens and google framework modules in magisk.

4. Disabled camera2api by setting the value to zero in the build.prop file line I added earlier.

5. Downloaded and installed GCam from link provide by [MENTION=1978874]howasparty[/MENTION].

6. Restarted my phone and it worked like charm.

But there's a catch. This is very old version of GCAM and it does not have "Portrait mode".

P.S.- I tried newer version of GCAM with this method but they did not work. So question remains, if anyone can make newer version work?
[Xiaomi Redmi Note 4 Questions & Answers] aatifaneeq:
Nice sharing. Thank you. Its working on Redmi note 4 miui 10 beta.. Thanks you make my day
[Xiaomi Redmi Note 4 Questions & Answers] djsolidsnake86:
it's not a good gcam that
[Xiaomi Redmi Note 4 Questions & Answers] gigiotd:
At the end, I have understood that RN4 with MIUI 10 do not support GCam. Do other xiaomi devices with miui 10 support It? By example, of I buy RN5, will It support Gcam?
[Xiaomi Redmi Note 4 Questions & Answers] appman1234:
Don't know the answer for you question.

May be you can try Magisk module MICB (Mido Camera Booster) which enhance the RN4 stock camera and I like the portrait mode.
[Xiaomi Redmi Note 4 Questions & Answers] Noter2017:
Some devices with MIUI support GCam, others don't.