yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] AndyYan:
Figured out what's up with hotspot, will push out a batch of builds tomorrow with a bunch of other small fixes.

SEL is intentionally set to permissive for now (and has always been, no?).

I don't really know why DM is so picky with files (often putting downloads into "queued" state), but for files that do download, I can see their progress just fine.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] mimuta:
Hotshot stopped working only the last build, I followed latest 4-5 builds ?
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] Carlosk1966:
Flash again latest LOS and SEL is disabled again. Can i change to permissive?

I solved DM with this turtoal https://forums.oneplus.com/threads/no-progress-bar-while-downloading-or-updating-any-app.942880/.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] AndyYan:
It *is* permissive (run "getenforce" in terminal -> Permissive).
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] Carlosk1966:
Hallo.

When i run this, i get:

Couldn not get enforcing status: Permission denied
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] AndyYan:
"su" first.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] AndyYan:
New builds. Bunch of small fixes that some of you have been asking for.

Synced with Wight and upstream.

- Added always-on display (thx LightVortex), turn it off manually if you dislike

- Decreased indicator LED brightness (forgot to do it after the rebase)

- Set "cold" (Dynamic) as the default display profile, should be better than "warm" (Reading) at least

- LOS: fixed Trebuchet, it's now usable as a launcher - not that you'd want to use it anyway

- RR/AEX/PE: fixed hotspot crashing SystemUI
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] vwfreak2001:
Hi,

thanks for the new builds.

I'm having a Problem with LOS. The Display stays on. IT always shows the inactivity display. Going back to last weeks build fixes it.

Form the first build on my mobile data is off after a reboot. Is there any fix for this?

Edit: Ah, I just realised that this is the always on feature. But where can I turn it off?
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] AndyYan:
Search for Ambient Display in the Settings search bar, there will be multiple results, one of which containing the "Always on" switch. This also applies for all other ROMs.

To be honest I think AOD is useless on LCD devices, but I got quite a bunch of requests for it, and it can be turned off fairly easily, so it's here...
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] th4in4m:
Thanks for the great rom

Can i get gesture and fullscreen like MIUI rom bro?
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] damaz78:
Seems like latest security update prevents Google Pay to work with BL unlocked?

To be honest I've been reading some reports of such situation on AOSP ROMs from about a week and have been waiting if that will happen on PE as well.

I'm on latest PE with latest Magisk.

Magisk Hide doesn't change anything.

Anybody else can confirm or deny GPay proper working?
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] mimuta:
Thank you for great rom, is it possible to make choice Unlock working?
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] AndyYan:
I heard you'd need Magisk Canary (the cutting-edge builds of Magisk) to get it to work again, but I have no way of confirming that myself.

What even is this?
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] mimuta:
Sorry, I meant voice match unlock.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] tylerdurden:
It seems that the only way to solve it is to search for that option.

When open directly at Dislay->Ambient Display the option can't be set because it don't appear. Missing Link?
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] nicpas:
So no Google pay for now with unlocked bootloader? Also not with magisk 18.1?
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] vwfreak2001:
I don't use it but I can open the Gpay app with magisk 18.1 without problems.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] damaz78:
Solution I've found in local forum and have modified a bit as original did not work for me:

1. Delete all payment methods saved in GPay

2. Uninstall GPay and Magisk (if present) - for No Magisk situation no working solution for me

3. Clear all app data for: Google Play Services and Google Play Store

4. Restart to recovery (personally I use OF R9.0-1)

5. Install Magisk again and restart system

6. Install GPay

7. Magisk Hide: GPay, Google Play Store, Google Play Services and all banking apps you have (if any)

8. You should be able now to add new payment method in GPay (I was)

Important: Haven't had chance till now to check if payment works by terminal. Will update as soon as I know this.

Update: Works like charm!
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] ambyy:
Fast charging is very inconsistent on latest AEX, any fix?

It takes too long to force close app with long press back button on LOS, can this time be reduced?
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] AndyYan:
It's a GAPPS feature, and is in the process of being deprecated.

https://9to5google.com/2019/02/28/google-replacing-voice-match-unlock/

As said above, tried Magisk Canary?

Without a hardware meter you can't put "inconsistent" into reliable numbers. I do have one and I can say from my experience that it is consistent (9V 1.5A) on my side.

The long delay is intentionally there to prevent mispress.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] blazinramirez:
Hi,

Is it possible to force rotate the camera 180 degrees so that the filters in snapchat work when you want to make a selfie with the phone rotated so the top camera is facing up?

I have been looking for days on the internet and tried different solutions as trying to use rotation apps, but they don't work with snapchat and instagram or whatsapp video calls. Your work is really appreciated!
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] Zafrkant:
Hi, I want to thank developer for great contribution :)

I've upgraded from official LOS 15.1 to 16, is there any way to get status bar icons a little bit larger like on 15.1?
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] dokuz:
You can use this app. It works with all the apps that I have tried including Instagram and Whatsapp.

https://play.google.com/store/apps/details?id=bong.android.androidlock
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] Hacker432:
Hello,

I don't know why but with latest LOS when I use earphones with YouTube there's no sound. Hard rebooting fixes the issue temporarily. The next time I connect the earphones I experience the same issue.

Attached a logcat filtered by "audio"

Let me know if those errors are the issue or if you need a complete logcat
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] GigahurtzUK:
Wow super work keeping these ROMs going on our devices. Thank you.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] mac790:
Thanks for this Andy!

Can we also have the three finger screenshot or a long screenshot for PE? If it's not too much to ask.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] Zafrkant:
Hi, will you enable in near future SELinux to enforce on LOS?

I'm using change it on boot with SELinuxModeChanger and there is no issues so far :)
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] obermotz:
Having a strange BT issue that I did not have with previous LOS builds (obviously on latest LOS): in order to use the media control keys of my car (2018 Seat Leon), first I have to play/pause/skip a song on the phone. Without this only the volume control works.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] AndyYan:
New builds.

Synced with upstream.

- March security patch

- SELinux is now enforcing (if any bugs happen because of this, blame the users who asked me to turn it on)

- LOS/RR: forcefully disabled Trust warnings (they only serve to cause confusion & unnecessary panic)

- New users only: disabled AOD by default

To reiterate: if you don't like AOD, search for "Ambient Display" in the Settings search bar, one of the results contain an "Always on" switch, turn it off.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] sskillerr:
Auto brightness is to low.... I change manualny ~55% and off screen then on screen is ~25% again [emoji3525] i want set min auto brightness to ~55%.

Any solution? Edit any file?
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] blinkycan:
Digital Wellbeing have ever worked for someone on aex rom? nothing happen when i press it in setting, also proximity sensor when calling was working better on 8.1 roms

thanks
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] kottyz:
Hey guys, how do I go back to MIUI? Using recovery it goes in bootloop and flashing the fastboot rom via miflash it finds loads of errors.

I believe it's because I'm coming from Android Pie to Oreo.

Suggestions?
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] Greek13:
I have flashed RR, I think battery performance is not so good as it is in miui 10.

Everything else is perfect, thanks [MENTION=4467696]AndyYan[/MENTION]
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] toneeloco:
Hello Andy.

Thank you for those releases. I love Pixel Experience and because it's simple and smooth, so it's definitely a good thing that you posted it on Mi Mix 2 (I don't why this device is not so popular among devs).

Anyways, in the last version, sometimes Google Discover can't update when I want to read more, as you see in the attached screenshot. What do you think? Anyone noticed this?

[IMG="Google Discover screenshot"]https://i.ibb.co/xSC6x19/Screenshot-20190313-114509.png[/IMG]

If you accept requests, how about OTAs updates? Are they possible?
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] toneeloco:
Solved. Maybe it was a bug from Google app, because with the new update, everything is alright!
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] sskillerr:
When i want downgrade to official los 15.1 only download rom and gaps for android 8 and all flash in twrp?
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] salahmed:
Do that make any difference?

https://www.xda-developers.com/xiaomi-mi-note-3-mi-mix-2-android-pie/
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] Senexis:
That's good news! It'll most likely make development of Pie custom roms much easier for the developers, and might ease the development of Q in the relatively distant future. All in due time, though. First it'll need to be released and open sourced.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] AndyYan:
New builds.

Synced with Wight and upstream.

- Offline charging works again

- LOS, new users only: re-enabled setup wizard

Unlike what Wight did recently with NOS, I didn't (and won't) sign my builds - this is to cater to the greater crowd of users that don't read these notes (for whatever reason). If you want to use GPay, use Magisk Canary.

One thing I know for sure, Pie blobs will enable WeChat fingerprint payment support. Although this might not matter to you, it's an example of what up-to-date blobs can do.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] toneeloco:
Anyone is noticing the phone getting hot during recharge, with the new build of PE?
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] prosen_ghosh:
Yup it heated up even during watching youtube or playing clash of clan also . Again I move back to Miui Global stable 10.2.2 build.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] toneeloco:
I prefer those builds, sincerely. MIUI is full of ads.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] blinkycan:
i've noticed insane battery consumption and battery heating such as i've never seen before when running Camfrog app with aex February rom, i had no problem on 8.1 roms, it thought the battery was going to explode, i have not tried again since
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] salahmed:
I don't have any heating issues with PE, the ROM is one of the best I've used on any of my phones.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] wzzxx:
你好,反馈一个问题,自动亮度 开启后, 亮屏的时候经常性的过于明亮(室内一解锁 亮度滑块就会升高到100%,这很刺眼),是阀值调的有些高吗?希望能注意到这个问题
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] madhavmarri:
I switched to PE (19th March 2019) from MIUI 10.2.2.0

With this new PE build , Phone is heating up during charging. No bluetooth ion in status bar when Bluetooth is ON. It took approx 115 minutes to full charge 100% and dropped to 98% with in couple of minutes of absolutly no usage ( No syncing/ no app updates ...etc) , Phone was just siting idle.

Over all the siplicity if this ROM is much appreciated.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] salahmed:
Bluetooth icon will only appear when connected to a device, this is the default behavior in Android 9 Pie
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] madhavmarri:
Thanks,

I see the Bluetooth Icon only when connected to an audio interface also it is shown in paired devices.

But the Bluetooth icon is not visible in status bar when connected to MI Band but it can be seen as connected in Settings---> Connected devices, also showing connected in MI Fit app.

Headphones icon doesn't appear in the status bar, when any headphones/earphones are connected through the type-c to 3.5mm audio adapter which came with the phone.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] jimmys121979:
How can i check that the firmware changed?
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] FernandoYoung:
Greetings!

I am using PE. .I found there is a white line on the bottom when switching to recents panel.Is that a bug? Besides, it get very hot when charging. Except these, all perfect :) BTW, do you have weibo or other SNS accounts I can follow like weibo? ;)

[IMG="PE"]https://drive.google.com/file/d/17CHvniOY0Or752oXVo2khOaZ8unjRKpu/view?usp=drivesdk[/IMG]

[IMG="PE"]https://drive.google.com/file/d/1ujOeZyiYmXFa1G2qyyULG1bivz1f2BMF/view?usp=drivesdk[/IMG]
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] toneeloco:
If you pay attention, it's a visual slider. You can even see a slight shadow under your finger when you slide it!

Yes, I find it's hot too.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] sean70653:
I found the camera app is very easy to crash
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] toneeloco:
Use Google Camera from by Arnova, is better.

https://www.celsoazevedo.com/files/android/google-camera/dev-suggested/
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] sean70653:
Thank you very much.

Problem solved.....

---------- Post added at 01:50 AM ---------- Previous post was at 01:46 AM ----------

You can check the baseband version.

It should be AT20-0821_1414_ffb37ba
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] mixFin:
Battery usage exploded after updating from build around december. Google play services takes 45% of all consumed power. Now only getting 4h screen on time from previous build's ~7,5h.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] AndyYan:
New builds.

Synced with upstream.

- April security patch

Refreshed OP as well.

Not much meaningful updates until official Pie drops.

All reports of overheating during charging are from PE users, so I'm assuming it was PE's fault (the device source didn't change anyway). Try this version and see if it's any better.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] toneeloco:
Thank you Andy, now it seems ok with the overheating. I got 39º C/ 102º F.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] jimmys121979:
I believe that with official Pie drops we gonna have a more better battery performance
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] Rafiuuu:
I get Zip Treble compatibility error when i flash lineage 16 can i get help?
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] mehelum:
Why am i getting error 7 on my device and it shows check that your installing on correct

device for every rom
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] AndyYan:
OP already makes clear that you need dedicated recovery.

Error 7 is not a valid (full) error message. Better take a screenshot (yes, in recovery, with the regular key combo) to show what's really up.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] GigahurtzUK:
I can confirm error 7 on latest PE version.

It mentions trust file in error.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] AndyYan:
I'm sure it wouldn't - I flash and test every single release before I upload. As said above, screenshot or it didn't happen.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] yugiri-chi:
Come from Previous build?

Or another Miui rom

If come from miui rom

Did you flash The recommend firmware?
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] GigahurtzUK:
Fix

Firstly massive thanks for your work, really appreciated.

My device was already on the latest V10.0.2.0.ODEMIFH, I had flashed it as part of your instructions but was getting error 7, after much wiping and re downloading your rom I have found the I fixed the issue by flashing the latest firmware (V10.0.2.0.ODEMIFH) and wipe vendor and PE now installs.

Hope this helps others.

---------- Post added at 01:55 PM ---------- Previous post was at 01:44 PM ----------

I was on Havoc OS before.

Installed latest firmware V10.0.2.0.ODEMIFH as part of Dev's instructions but got error 7.

Installed firmware again plus wiped vendor and tried PE and all good now.

I have been flashing ROM's for many years, I know how to follow instructions and do not skip steps.

I agree with DEV 100% that pictures are required to help diagnose but I had to get my phone working so abandoned PE install and went back to Havoc OS, which installed fine.

Stating it is simply not happening even when users are reporting it does not help anyone. My process of retracing my steps resulted in me fixing the issue.

I will state again I am very grateful to the DEV for their hard work.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] Blurred00:
I ve tryed to update to the last PE and got the error 7. I don t have root. Could be this?
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] AndyYan:
Guys? Come on! I said "Error 7" alone is not a valid error message! This is the 3rd time in a week I'm saying this...

Screenshot or it didn't happen!
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] yugiri-chi:
Try reflash the firmware like The above commented
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] FernandoYoung:
Bluetooth is not working properly

I don't know why but bluetooth on my phone is not working properly. I mean part of bluetooth devices cannot be found by this phone, like my bt speaker and another phone of mine. I am using PE:(
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] Blurred00:
Sorry andy but what mean whit "Screenshot or it didn't happen!"
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] deviousconundrum:
Take a screenshot of the error 7. More information than that is required to understand what might be causing the problem. Have you tried installing a different recovery?
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] kurtextrem:
Latest RR build removed weather in the status bar, it's simply gone and I can't get it back even though I tried to disable-enable it etc.

Also since latest build: when I unlock the device or try to unlock, it says "hold power button to unlock" with a black background. What exactly is that feature called?

And two more things:

- I think Wright released a new recovery.img a day ago or so (Telegram group), can I use that TWRP as well or only the linked one from OP? (older version might have different features, so idk...)

- "Location" in Settings is crashing: https://del.dog/ateciwugam.sql I think this started happening since I'm using "Island" + a work profile

- EDIT: Got it. Go to lockscreen options and turn off "Power button locks phone" (it says when Smart Lock is on, it doesn't lock... but still shows lockscreen... confusing)Is there a way to "skip" the lockscreen when using Smart Lock or if the phone is still unlocked because I set the timeout to 5 min? Atm I have to use the fingerprint sensor if I want to skip it, if I use the power button the phone shows the lockscreen and I have to swipe up (but not enter my pin)

Thanks in advance!
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] GigahurtzUK:
Error 7 Fix - wipe vendor and then flash firmware and then ROM.

Lord alive.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] drbones:
Hi Everyone,

I'm running AndyYan's Pixel Experience Rom for the past 5 months. I've noticed that my screen on time is crazy, yesterday after being unplugged for 16 hours my SOT was 9 hours. As of now, my phone has been off the charger for 3 hours with 2 hours of screen usage.

Apparently any time there is a notification my screen is turning on at a low illumination level and showing the clock and an icon for existing/undismissed notifications. As soon as I turn off my screen when I'm done using my phone, the notification screen turns on with the clock and notifications and stays on for 30 seconds, turns off and then back on again.

Is there a setting in Pixel Experience that will stop the screen from turning on and staying on for notifications?

Thanks!

Dr.Bones
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] salahmed:
Go to Settings/Display/Ambient Display.... And turn it off
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] drbones:
Thanks! That is exactly the info I needed, I appreciate the help! I guess I'm confused what Ambient Display does.

Dr.Bones
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] Arnav2015:
Try flashing 10.0.2 fw and then flashing ROM
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] AndyYan:
1. Just checked, the feature was removed entirely last month. Can't put fingers on why.

2. Sounds like pocket detection...

3. OP and SF page already updated with new link (I linked to the non-F2FS version). Not that it's mandatory though.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] kurtextrem:
Oh noo, loved the weather :(

And it was indeed the pocket detection.

Thanks for the replies!
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] Basharat kar:
Bootloop

I am getting bootloop after installing pe
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] AndyYan:
Received some generous donation recently - thanks! I hope you donated to Wight as well :)

You probably need to deal with unencrypted data, read OP.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] salahmed:
[MENTION=4467696]AndyYan[/MENTION] I just discovered that PE support NTFS read/write on my external SSD drive without the need for any OTG patch or anything that only enabled read files, now the stock Files app can do that natively

Is it something added recently? I don't think stock Android can do that!!!

Thanks for this nice addition, finally I can write/modify files from NTFS drives directly on my phone
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] AndyYan:
Got a report yesterday that 1002's LOS will be stuck at an infinite SystemUI crash loop on first boot. It seems a simple reboot would get rid of it and allow you to setup the device properly. The problem seems to be within LineageSetupWizard which has just been added back to upstream since that build. As it might confuse new users I might as well disable the setup wizard until it's verified fixed. This will not affect users that have already setup the device in any way.

New TWRP is required, plus the ROM itself and DecScript. You shouldn't need more like when you flashed that ported GSI.
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] Blurred00:
Thank you so much Andy!!

Just last two questions

I need to wipe or format ?

For install new twrp i need root?

Thanks and sorry i m noob
[Xiaomi Mi Mix 2 ROMs, Kernels, Recoveries, & Other] AndyYan:
Just wipe.

You can install the new TWRP within the old TWRP with "install image" option.