[Xiaomi Mi Max 2  ROMs, Kernels, Recoveries, & Othe] beingtejas:
Make an mi account

And request for bootloader unlock permission

Link here

https://en.miui.com/unlock/

You find unlock now button there , click it and write your details there that it will ask you..

Now after you get permission

Download mi unlock tool , you find it on same website, when you get unlocking permission from Xiaomi (mi)

Now as you r unlocked, download mi max 2 beta rom first , most latest from here

https://en.miui.com/getrom.php?r=328&m=yes&app=false

Now download and install two imp things to your pc

Mi flash tool , and ADB drivers , do Google it.. pls

And install them , all procedures will be found on Google

Short list of things you have to download:

Latest beta rom miui

Mi unlock tool

Mi flash tool

Adb drivers

Adb fastboot interface for command ( drivers and adb link :

https://xdaforums.com/showthread.php?t=2588979)

Twrp (both official and treble supported)

ROM (havoc os, arrow os, etc )

Open gapps 9.0 arm64

Graphics driver (new version I will post just after this post)

Audio echo fix gain 0 (search some post back)

Magisk 18.1 (as this is latest at present)

Magisk manager 7.0 ( as this is latest at present)

Now download 2 twrp , 1. Twrp official , 2. Twrp treble ( links are in arrow os original post)

Place both of them on sdcard or otg pendrive , ( as you need to clear internal storage so place all imp files to some other storage)

Now boot into fastboot , turn off your phone and press and hold volume - and power on/off button for 4-5 seconds

It will take you to fastboot , now connect your phone to computer

Now check device manager , you must see driver up there

android bootloader interface driver must be shown, if not check drivers and update it..

Now open ADB folder that you downloaded earlier (place ADB folder to c:/adb like this for easy access)

Now open command prompt as and administrator ( right click and select as administrator)

Now type : cd/ or cd.. (twice)

When it comes to c:/> type cd adb

And now type - fastboot devices and press enter (it will list phone serial connected , this must be done to make sure device is connected)

Now place the official twrp in same adb folder and rename it to recovery.img for easy access

Now type - fastboot flash recovery recovery.img

It will flash the twrp recovery

Now , keep all imp files those I mentioned above ready like

Miui beta ROM latest

Magisk 18.1 or latest

ROM (havoc os , arrow os etc )

Graphics driver , audio echo gain fix 0,

Gapps 9.0 arm64 ready in sdcard or in otg

Press and hold volume + and power button to boot device to twrp recovery that you just flashed

Now go to wipe In twrp

Select advance wipe , and select dalvik , system, data, cache

And swipe below to wipe them

Get back twice

And select install , and browse to miui beta ROM , and flash it

And again flash magisk 18.1 after that and boot the device

Setup device, use it for call , headphones during call , for 5-6 minutes

Turn off your phone

Then again get back to twrp ( volume + and power button press and hold )

Now select install , and select install zip below there

Browse to twrp treble that you get from pie roms thread link

Select it then select recovery and flash it

Now get back to main twrp screen and select reboot and reboot to recovery

After recovery get booted

Get to wipe and select advance wipe

Now select dalvik, system, data , cache, vendor

And swipe to wipe

Get back to main screen of twrp

Now flash pie ROM, graphics driver latest V2, echo gain 0 fix, gapps (micro I suggest)

Magisk 18.1

And reboot , setup device and enjoy pie..

:o

---------- Post added at 08:26 AM ---------- Previous post was at 08:21 AM ----------

hey guys , I updated the graphics drivers fixed some bugs and added most latest vulkan drivers

You can check it before using

App : https://play.google.com/store/apps/details?id=de.saschawillems.vulkancapsviewer

And check after flash too. must be flashed before first boot with rom

To update in middle , do wipe only system and vendor, (don't wipe data, dalvik, cache)

Flash ROM, graphics drivers, gapps , echo gain 0 fix, magisk

Links : MI MAX 2 , PIE GRAPHICS DRIVERS V2 for My bro's [MENTION=6615644]Hard_Rock83[/MENTION] roms

https://drive.google.com/file/d/1qWmUkKiA_H40GU-OqQbXlVckdRRDXDZ4/view?usp=drivesdk