yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi Max 3 Guides, News, & Discussion] jngiag:
It works. I have done it many times. Just replace "audio_policy_configuration.xml" only. No other files is needed or otherwise it will not work.

Have you got the magisk installed successfully? I do not see anything wrong in your steps of installation as I have done it similarly. I remembered in my case after booting in to the twrp recovery for the first time (from the China dev rom), it warns me of the "unmodified system partition", I just do:

Unmodified System Partition -> Swipe to Allow Modifications -> Wipe -> format data -> yes -> Reboot to Recovery

You may try to format the data to see if it works for you. In my case after magisk is successfully installed, the message is "Forced Encryption is not enabled". Good luck! :)
[Xiaomi Mi Max 3 Guides, News, & Discussion] Roykooiman:
Cool, works now.
[Xiaomi Mi Max 3 Guides, News, & Discussion] Roykooiman:
2 things I noticed, its a bit laggy and the snapchat audio isn't working when filming. As for the rest, pretty nice and stable. For battery I have to see it yet. Using nfs v2 so hoping battery is good ?
[Xiaomi Mi Max 3 Guides, News, & Discussion] xgneilx:
Ive tried rhe nfs v2 and I noticed that it is more aggressive in closing tasks in the background. I don't know how it did that, but i find the apps reloading almost every time i use the phone from idle. I'm back to nfs 1.5 because that is the most fluid for me.
[Xiaomi Mi Max 3 Guides, News, & Discussion] lowfat:
Dood. I tried for hours to get it to work. This worked perfectly. Thanks!
[Xiaomi Mi Max 3 Guides, News, & Discussion] xgneilx:
Updated. Included Pixel Dust in OP
[Xiaomi Mi Max 3 Guides, News, & Discussion] lowfat:
Havoc is working awesome for me except one for major issue. Bluetooth audio works fine but if I make or take phone calls, the audio goes to the phones speaker instead of over bluetooth. I even deleted all files that were patched from the /vendor/etc, recopied them, and chmod 644'd them. But still having the same issues.
[Xiaomi Mi Max 3 Guides, News, & Discussion] xgneilx:
What version of Havoc and version of EU ROM are you on?
[Xiaomi Mi Max 3 Guides, News, & Discussion] lowfat:
Xiaomi.eu 8.11.15 and Havoc 2.0 10-27-18 ARM64 A only
[Xiaomi Mi Max 3 Guides, News, & Discussion] xgneilx:
What vendor patch did you use?
[Xiaomi Mi Max 3 Guides, News, & Discussion] Germano1980:
I installed Pixeldust, and the first time everything worked out: bluetooth, handset input, screen brightness, magisk and MTP working. When I rebooted the phone and entered the magisk to install modules, it came to the information that the magisk zip was not installed, and when I installed and rebooted, the system booted, but returned to the TWRP. I tried other times and gave the same problem. Does anybody know how to solve this? Thank you.

(sorry for the lousy English)

edit: the magisk that is causing it.
[Xiaomi Mi Max 3 Guides, News, & Discussion] xgneilx:
I'm using 17.3 and I never encountered that.
[Xiaomi Mi Max 3 Guides, News, & Discussion] Germano1980:
Even with magisk 17.3 the problem persists.
[Xiaomi Mi Max 3 Guides, News, & Discussion] xgneilx:
Btw, I don't have MTP working on Pixel Dust. Did you apply any fix to make it work? if yes, maybe that fix was the one causing the problem? I'm not that certain though.
[Xiaomi Mi Max 3 Guides, News, & Discussion] Germano1980:
I also thought of this, so I cleaned everything up again and reinstalled the ROM and the magisk, but it did not help and the problem still happens. Soon the system even started with magisk installed, but the gapps were constantly failing.
[Xiaomi Mi Max 3 Guides, News, & Discussion] xgneilx:
hmmm... that's weird. Anyways, I moved from Havoc to PD this way...

1. Backup Data, System, and Vendor of installed ROM of Havoc.

2. Wipe Caches, System and Data.

3. Flashed the 8.11.15 EU (mounting all partition before flashing).

4. Rebooted to Recovery

5. Repeated #2.

6. Flashed PD on system partition

7. Repeated #4

8. Installed Gapps and Magisk.

9. Wiped Caches.

10. Reboot.

11. Installed Magisk APK and flashed modules.

12. Reboot.

13. Applied vendor patch suited for PD.

14. Reboot.

15. Configure the ROM to my liking.

16. Repeated #4.

17. Backup System, Data, and Vendor (to establish baseline).

18. Reboot.

19. Restore apps from TB.
[Xiaomi Mi Max 3 Guides, News, & Discussion] MrColdbird:
With all the different vendor patches and stuff going around it would be damn nice to have a vendor and system image dump from someone that has all the patches working properly.

BT A2DP & HFP, MTP, that IMS.apk VoLTE pre-installed, etc.
[Xiaomi Mi Max 3 Guides, News, & Discussion] lowfat:
OK I got this working. I wiped everything including the /vendor folder and started fresh. Installed Xiaomi.eu 8.11.15 then Havoc 10.27.18. The 'Vendor-2018-11-05' definitely doesn't work for bluetooth calling. I left the /vendor folder stock, except for '/vendor/etc/audio_policy_configuration.xml' from the 'vendor-patch-18102401' that MrColdBird posted here . I renamed the original /vendor/etc/audio/audio_policy_configuration.xml. And that is it. Bluetooth audio and calls are both working flawlessly. Also I believe someone mentioned issue w/ audio not switching to headphones when plugged in. That also still works for me.

What exactly is the /vendor/overlay stuff for that is in the vendor patch zips?

I've installed the MPT fix and haven't come across any other issues so far.
[Xiaomi Mi Max 3 Guides, News, & Discussion] xgneilx:
Good that it is working already. The vendor 11/5 is for lower version of eu and havoc 10/21.

I don't think you need to apply overlay patch on 10/27 havoc and latest eu.
[Xiaomi Mi Max 3 Guides, News, & Discussion] lowfat:
Has anyone been able to get the notification light to work w/ Havoc? I just noticed it isn't working for charging nor notifications.
[Xiaomi Mi Max 3 Guides, News, & Discussion] xgneilx:
When I was on Havoc I didn't notice that my notification light wasn't working. I think it was working just like on my PD now.
[Xiaomi Mi Max 3 Guides, News, & Discussion] NexusPenguin:
Hi guys,

As the owner of a mi Max 3 that is unlocked with TWRP and rooted, I would like to switch to Havoc or PD or maybe even AICP Oreo.

But from the OP it seems to flash a GSI ROM on the mi Max 3 you have to install a recent MIUI version... like 8.11.15. But I asume that this MIUI is with ARB enabled ?

So my question is : can I flash a GSI without installing an ARB enabled ROM ?

And if I can't is there a way to recover an ARB device that has been bricked now (just in case I flash a ROM that is buggy and would like to go to an earlier version...).

Thanks a lto for your answers...

Regards.
[Xiaomi Mi Max 3 Guides, News, & Discussion] opasha:
If you're on non ARB - you're fine. I've flashed gsi without issues on 8.8.9 xiaomi.eu.
[Xiaomi Mi Max 3 Guides, News, & Discussion] NexusPenguin:
Hi,

Thanks a lot for your answer.

So I just flashed over the RevOS latest and everything worked fine and device booted into Havoc.

But as far as I can see : there is no Auto-Brightness.

I have applied the su setprop sys.xxxxx thing. That allows to at least set the brightness manually (which wasn't working before that), but no auto brightness is a problem.

Any fix for that ? Will flashing a 8.1 GSI allow to have autobrightness ?

Regards.
[Xiaomi Mi Max 3 Guides, News, & Discussion] opasha:
[MENTION=1905782]jngiag[/MENTION]'s advice: This is what I have recorded after installation for my own reference:-

Flashing of Eu rom from 8.1/9.0 GSI rom (Mi Max 3)

-------------------------------------------------------------

1. Recovery -> Wipe -> factory reset -> install -> eu_rom.zip -> flash

2. Reboot

3. Recovery -> install -> magisk -> flash

4. Reboot

Flashing of 8.1 GSI rom from Eu rom (Mi Max 3)

--------------------------------------------------------

1. Install TWRP or RedWolf Recovery

2. Download GSI (RR or AICP-mordiford)

3. Recovery -> Wipe -> factory reset -> install -> xx.img (select "image" instead of "zip" option) -> flash

4. -> install -> open_gapps (nano) -> flash (only pico version will work for AICP)

5. Reboot

6. Recovery -> install -> magisk -> flash

7. Reboot

Flashing of 8.1 GSI rom from 8.1 GSI rom (Mi Max 3)

-------------------------------------------------------------

1. Recovery -> Wipe -> factory reset

2. -> install -> xx.img (select "image" instead of "zip" option) -> flash

3. -> install -> open_gapps (nano) -> flash

4. Reboot

5. Recovery -> install -> magisk -> flash

6. Reboot

Flashing of 9.0 GSI rom from 9.0 GSI/Eu rom (Mi Max 3)

-------------------------------------------------------------------

1. Recovery -> Wipe -> factory reset

2. -> install -> xx.img (select "image" instead of "zip" option) -> flash -> reboot

3. Recovery -> install -> open_gapps (pico/nano) -> flash -> reboot -> disable "pixel setup" in App Setting

4. Recovery -> install -> magisk -> flash

5. Reboot

My SD card has no problem at all. I have formatted it in recovery and adb (format userdata). I am not too sure if that make a difference. :)

So, follow that as a base reference then flash whatever extra files are noted in the OP for the Bluetooth, brightness, MTP fixes, etc.
[Xiaomi Mi Max 3 Guides, News, & Discussion] weissgarnichts:
Hi i followed exactly those instructions, but when i reboot i am stuck in fastboot.

I installed and configured xiaomi.eu-rom and i do the factory resets (what means wiping everything but system).

I used this image:

Havoc-OS-v2.0-20181027-GSI-ARM64-Aonly-Official.img

from 10/27

Any ideas?
[Xiaomi Mi Max 3 Guides, News, & Discussion] opasha:
Flash magisk directly after gsi install before rebooting to system and see if that helps.
[Xiaomi Mi Max 3 Guides, News, & Discussion] weissgarnichts:
Hi and thanks.

That changed something. Now i am no more stucked into fastboot but into a bootloop.

The mi-unlocked screen is shown for several minutes and then it switches off and seems to boot again.

Am i closer to my goal?

EDIT:

Do I really have to delete everything but the /system in twrp before i reboot?
[Xiaomi Mi Max 3 Guides, News, & Discussion] opasha:
Start over.

1) Boot back to twrp.

2) Wipe - factory reset.

3) Install - Select gsi image and flash

4) Go back, flash magisk

5) Reboot to system

Report back.
[Xiaomi Mi Max 3 Guides, News, & Discussion] weissgarnichts:
Report back:

Did it (like a few times before)

Everything works, no error or anything but i am still stucked in a bootloop (mi-unlocked-screen).

Questions:

a) First i had a global MIUI rom, so i hinstalled this one: xiaomi.eu_multi_MIMAX3_8.11.15_v10-8.1.zip

Ok?

b) I use the following GSI:

Havoc-OS-v2.0-20181027-GSI-ARM64-Aonly-Official

Ok?

c) I install the GSI to"system image"

Right?

d) Then i install magisk 17.1

Ok?

e) Maybe i missed something in the development settings of the MIUI?

Regards
[Xiaomi Mi Max 3 Guides, News, & Discussion] opasha:
Where did you wipe? Before havoc?
[Xiaomi Mi Max 3 Guides, News, & Discussion] weissgarnichts:
Yes
[Xiaomi Mi Max 3 Guides, News, & Discussion] opasha:
Hmm, very strange. Try this. Mount system and vendor. Wipe factory reset. Flash gsi. Reboot system.
[Xiaomi Mi Max 3 Guides, News, & Discussion] NexusPenguin:
Hi,

I ain't no expert, but for me it went as smooth as can be :)

I was on Revolution OS with no ARB enabled.

Just rebooted into TWRP, set to factory reset and then installed the GSI Image of Havoc.

Rebooted... and there it goes.

I would simply like to stress that I installed everything else and erased the lib/Soundfx folders.

Despite all that, I still have no real control over brightness :(

there is no auto brightness at all for sure, and even setting brightness to minimum is still quite "bright".

But besides that, it seems it's working really nicely and that battery life is more than acceptable when used.

Let's see tonight what the idle drain looks like :)

Regards.
[Xiaomi Mi Max 3 Guides, News, & Discussion] weissgarnichts:
Ok, i tried to start at the very beginning:

- installed xiaomi.eu-ROM

- fastboot format userdata

- factory reset in twrp

- mount everything but OTG

- install havoc as system-image

- factory reset

- reboot to system

and this time it WORKED!

Had again an "Encryption unsuccessful"-error but after wipe data in twrp it booted.

Thanks a lot!
[Xiaomi Mi Max 3 Guides, News, & Discussion] opasha:
It worked because of fastboot format userdata. Good job on getting it to work. The factory reset after gsi wasn't needed.
[Xiaomi Mi Max 3 Guides, News, & Discussion] nijel8:
Any factory reset is not needed... especially when formating data.
[Xiaomi Mi Max 3 Guides, News, & Discussion] opasha:
You're right since data is completely wiped anyway using the fastboot command. Forgot the redundancy there. :D
[Xiaomi Mi Max 3 Guides, News, & Discussion] Normogrosso:
Hi guys sorry for the noob question, I come from a oneplus3t device which was quite easy, but I have no idea of what ARB is and how it will affect my ability to install custom roms. I have recently received my device and already made the request for the mi unlock, registering my device for the 720 hours. It's gonna soon come to an end (should be next week), I am on MIUI global 10.0.1.0(OEDMIFH) currently. When I get the possibility to unlock, can I follow procedures in the first post normally or should I be aware of something? Thank you in advance.
[Xiaomi Mi Max 3 Guides, News, & Discussion] :
ARB only applies to MIUI roms. I have flashed multiple 9.0 and 8.1 GSIs on my ARB-enabled device with zero obstacles. The only time you need to be wary of ARB is when you're flashing MIUI.
[Xiaomi Mi Max 3 Guides, News, & Discussion] maxld:
Hi guys. I am browsing through the topic for few days as I am still waiting for an unlock from Xiaomi. Could anyone tell me what doesn't work with GSI? I mean I get it that auto brightness is broken and MTP, but is there something else?
[Xiaomi Mi Max 3 Guides, News, & Discussion] :
my findings

Hello guys,

pro: when flashing vendor from 8.11.26 PIE based miui rom and then going to pixel pie MTP is fixed and its working more fluid.

con: camera seems to be broken or not compatible with camera2api anymore for using gcam.

the upcoming update of PIE based firmwares gives hope that we can fully benefit very soon of treble based roms.

regards
[Xiaomi Mi Max 3 Guides, News, & Discussion] SUPERUSER:
hmm does camera2api work on miui or is it broken there too?
[Xiaomi Mi Max 3 Guides, News, & Discussion] jngiag:
Thank you for the findings.

Vendor Eu 8.11.29 + GSI Havoc-20181027

1) MTP fixed

2) Seem to be working more fluid

3) gcam with camera2api is broken but the default camera is working without camera2api
[Xiaomi Mi Max 3 Guides, News, & Discussion] opasha:
Gcam is also broken in xiaomi.eu pie 8.11.29
[Xiaomi Mi Max 3 Guides, News, & Discussion] n4zm830:
What about the other issues like Bluetooth calling? Do you still need to install vendor file in #1?
[Xiaomi Mi Max 3 Guides, News, & Discussion] soloilmeglio:
I confirm this issue
[Xiaomi Mi Max 3 Guides, News, & Discussion] Chlastek:
Me too- about not working GCam on 8.11.29.
[Xiaomi Mi Max 3 Guides, News, & Discussion] jngiag:
BT calling is still the same as previous version - BT call is working but BT media is not. You still need to apply the fix.
[Xiaomi Mi Max 3 Guides, News, & Discussion] RawKnighy:
Conformit
[Xiaomi Mi Max 3 Guides, News, & Discussion] Germano1980:
[MENTION=4657999]xgneilx[/MENTION], how you managed to make the gcam work on android 9. I tried several different mods, including the one in this topic and it did not work. Camera2api is enabled via magisk.
[Xiaomi Mi Max 3 Guides, News, & Discussion] xgneilx:
If you are on EU android 9, then you won't be able to make gcam work.

Pixelbdust / havoc + eu rom on android 8.1 (any version prior to 8.11.29) + camera2api magisk module = working gcam.
[Xiaomi Mi Max 3 Guides, News, & Discussion] Germano1980:
Got it. So it was not working. Thank you for your help.
[Xiaomi Mi Max 3 Guides, News, & Discussion] SUPERUSER:
An update on running AICP-mordiford

I've flashed the latest rom plus the gcam module from 4dpa forum and the phone boots on the 1st try.

No more multiple bootloops every time the phone boots up.

The phone is dead stable until a phone call is incoming.

First the screen is unable to wake so I have screen of death bug and only way to solve it is to hard reset the power and redial the number.

I flashed the new build to hopefully have this resolved without luck.

Today I had a random reboot right after ending the call and one more time while updating Firefox on playstore.

This happens about every time someone calls me..

I will probably stick with the rom for a few weeks more until moving back to miui or first trying out a pie rom.

Edit 1:

I discovered along with the random reboots all photos I took yesterday apart from one are gone.

I am giving up on google camera mod and moving back to open camera

Edit 2:

Testing pixel dust it does not turn on the screen either, I was able to wake the screen which I was not able to do on AICP-Mordiford.

Next time I called again the screen woke up...eeh not good enough for me.

I'm going back to xiaomi eu rom
[Xiaomi Mi Max 3 Guides, News, & Discussion] julyfurth:
Hi I have a question, it says that "Flash the original China dev via miflash" but won't it trigger ARB when you flash on global stable rom? And which version of China dev rom is appropriate?

My rom is MIUI Global 10.0.1.0, and waiting for unlocked in Dec 12th
[Xiaomi Mi Max 3 Guides, News, & Discussion] :
Pretty sure it'll trigger ARB.

I'm now running HAVOC Pie, and did the following steps in order for it to work (ARB is still inactive)

I began from Global MIUI 9.6.6.0 OEDMIFD (came preinstalled on my device)

Unlocked the device

Factory reset

Flashed xiaomi.eu_multi_MIMAX3_8.11.15_v10-8.1 (last xiaomi.eu on Oreo. Any version above messes up with the Camera2 API.)

Booted device into OS

Factory reset

Flashed Havoc-OS-v2.0-20181027-GSI-ARM64-Aonly-Official

Rebooted into recovery

open_gapps-arm64-9.0-nano-20181208.zip

Wiped caches

Booted into the OS

Everything is working

ARB is deactivated
[Xiaomi Mi Max 3 Guides, News, & Discussion] :
Brightness not flickering while adjust? Autobrightness, too? Bluetooth Call/ Media working, wireless Display also?
[Xiaomi Mi Max 3 Guides, News, & Discussion] julyfurth:
Thanks! So I don't need to flash China rom right?

I think top of this thread's navigating to https://xdaforums.com/showpost.php?p=78061336&postcount=194 has a danger of bricking someone's phone with global rom so I suppose it needs to be changed.
[Xiaomi Mi Max 3 Guides, News, & Discussion] :
Sorry, should've been clearer.

Fixes are still needed, but after performing them - flickering is gone both in adjustment and auto,

I actually didn't manage to get Bluetooth calls working yet - only media.

Wireless display works fine.

Google Assistant unlocks the phone fine and battery stats work, too.

No need for China whatsoever.

I agree it's dangerous; I stumbled upon those instructions many times but refused to follow them because I knew the risks.
[Xiaomi Mi Max 3 Guides, News, & Discussion] chetchuakaka:
Why you flash havoc pie with gapps 8.1??? Something wrong??
[Xiaomi Mi Max 3 Guides, News, & Discussion] :
My bad, confused once again - I actually used open_gapps-arm64-9.0-nano-20181208
[Xiaomi Mi Max 3 Guides, News, & Discussion] :
Where do you find the fixes for brightness etc.?
[Xiaomi Mi Max 3 Guides, News, & Discussion] :
First post, under HAVOC Pie 10/21 (Click to show content)
[Xiaomi Mi Max 3 Guides, News, & Discussion] jngiag:
Gcam works now with the new Camera_2_API_Enabler_-_Pie_v1.1. Thanks to opasha for providing the link.
[Xiaomi Mi Max 3 Guides, News, & Discussion] :
Cam2API New approach TWRP

here is my version to enable CAM2API from twrp as flashable zip some of the configuration should also adress the laggy gcam. It is tested with multiple beta testers and does NOT require magisk.

Anti brightness flickering settings are included as well. So its a currently all in one solution. have fun guys.

Technical whats inside?

persist.camera.HAL3.enabled=1

persist.camera.eis.enable=1

persist.camera.is_mode=4

persist.camera.stats.test=5

persist.vendor.camera.HAL3.enabled=1

persist.vendor.camera.eis.enable=1

persist.vendor.camera.is_mode=4

persist.vendor.camera.stats.test=5

persist.sys.qcom-brightness=4095

script attaches to build.prop

tested with 8.11.26, 8.11.29, 8.12.6
[Xiaomi Mi Max 3 Guides, News, & Discussion] julyfurth:
To enable BT audio, on the first post, it says that I should put some files in vendor partition but I couldn't do it. I tried by root browser and ES but it seems I don't have permission to write in that folder. Any help?
[Xiaomi Mi Max 3 Guides, News, & Discussion] :
Where is the typo error?
[Xiaomi Mi Max 3 Guides, News, & Discussion] SUPERUSER:
Don't know, it can be something tiny such as a missed colon or a line break.. I'm not really up to looking through every line and look for it.

Its usually what error 6 means.

Edit:

Could probably flash the file and then look at the twrp log and see if that has some clues.

But I have my device set up now so I'm not doing any more modifications, maybe someone else is curious
[Xiaomi Mi Max 3 Guides, News, & Discussion] Phanty:
Has anyone been able to get IR blaster working on AOSP based Pie ROM? Just got my Mi Max 3 unlocked and loaded with Pixel Dust and used the vendor zip in OP and sound only plays out of the right bottom speaker.

Also, I was able to get past the annoying device fingerprint error on boot using the MagsikHide Props Config Magisk module and setting the fingerprint to the Mi A2. Appear to be passing Safetynet.
[Xiaomi Mi Max 3 Guides, News, & Discussion] minadzuki:
About ineffective fix, someone said miui eu roms may cause this: https://xdaforums.com/showpost.php?p=78531166&postcount=1307

Because phh's GSI match device by ro.vendor.build.fingerprint, maybe miui eu used a fake fingerprint, and moved the real fingerprint to ro.vendor.build.fingerprint_real

Can you have a check? Just execute these commands below (on your device or adb shell):

getprop ro.vendor.build.fingerprint
getprop ro.vendor.build.fingerprint_real

If yes, try to flash back stock ROM and flash GSI again, or you can try to edit /vendor/build.prop, delete the fake fingerprint and revert the real fingerprint
[Xiaomi Mi Max 3 Guides, News, & Discussion] PianoMonkey:
Problem 1

: double tap to wake

I was looking up "double tap to wake" in the XDA Treble forums, and someone mentioned to change

/sys/devices/soc/c177000.i2c/i2c-3/3-0038/fts_gesture_mode 0

to

/sys/devices/soc/c177000.i2c/i2c-3/3-0038/fts_gesture_mode 1

Unfortunately, their device was a Mi Pad 4, and this directory does not exist on the Mi Max 3 (at least not on mine)

Is there a different one for Mi Max 3?

Problem 2

: the automatic brightness on AICP-Mordified is still pretty slow after the fixes

Problem 3

: when I use a screensaver (in Settings -> Display), after I wake the phone from standby, the screen turns off (black), and I need to wake the phone manually with the power button

Any solutions to these fixes?

Thank you!
[Xiaomi Mi Max 3 Guides, News, & Discussion] Jesenican:
Has anyone tried AOSP Extended and does it work on our device? Is procedure same as for phh or havoc or PD?
[Xiaomi Mi Max 3 Guides, News, & Discussion] crixus937:
December build doesn't work. You can try November's. Same procedure
[Xiaomi Mi Max 3 Guides, News, & Discussion] btvbtv:
I tried to put this settings to /vendor/default.prop and it worked well.

Default.prop looks like a good place to me since it's almost empty by default, hence less risky to override.
[Xiaomi Mi Max 3 Guides, News, & Discussion] hlcm151:
Anyone know why magisk sometime force close on treble rom and how to fix ?
[Xiaomi Mi Max 3 Guides, News, & Discussion] nirur:
The script did not work from me. But, I made manual entry and after that GCam started working.:good:
[Xiaomi Mi Max 3 Guides, News, & Discussion] kusutaku:
Is there any way to support ext4 or exFat for external sdcard on Android Pie?

I am using HovacOS. It would be perfect OS with it.
[Xiaomi Mi Max 3 Guides, News, & Discussion] Skyllery:
Search Vold on Magisk install and reboot

Regards