yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] worldwidegigio:
I did some experiments...

I was on firmware 8.1.25 with SIM 1 working and wifi always switching off when rebooting the device. I then flashed firmware 9.2.3.0 and I lost SIM 1 working but gained wifi back and maybe even fixed google stops working. Then I reverted back to 8.1.25 and SIM 1 was not working anymore. I tried to toggle with both firmwares then LTE option on and off as suggested from a previous post but didn't work. Then I also tried to change the preferred network in LTE and then Global but nothing was working. Then I tried to make a phone call with SIM 1 and it worked. And soon after that SIM 1 was able to receive again phone calls. Then after few minutes I tried to call again and it didn't work anymore.

When I had this issue few days a go it got solved when I flashed either the firmware and the rom. I wonder if I need to do that again to have the SIM 1 back to work now.

That's annoying bug 'cause this rom is really cool!!! I hope the OP will find a solution...kudos

IMPORTANT EDIT: I toggled the mobile data on (I keep it always off at home since I'm connected to the wifi) and SIM 1 started working!!!! With mobile data off SIM 1 doesn't work. At least in my case
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Cryo7:
Right now I'm on 02.28 with 8.1.25 firmware and I don't have neither the SIM1 card problems, nor the WiFi problem. What I did after the initial flash of the 02.28 build was to make a backup before trying blankaf' LineageOS version, and after trying it, I ended up restoring my system, data, boot and efs positions. I know it seems strange, but right now i I have no problems :cowboy:

---------- Post added at 06:49 PM ---------- Previous post was at 06:46 PM ----------
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] worldwidegigio:
Lucky you!!! I just solved the sim 1 issue by toggling on mobile data...when it's on off my sim 1 can't receive phone calls!
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Cryo7:
I think you're talking about ambient display (live display, unfortunately, is not available on Pixel Experience). My experience with ambient display on PE is that it's rarely working. Most of the time when I pick my phone it's not working.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] pi4a7a:
I'm confused with all that new/old cameras.. Can someone post a screenshot from the miui camera from latest build?
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] sepsep 21:
From latest rom:
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] littleantony:
Could you extract the APK and send it over?
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] pi4a7a:
Thanks. That was what I wanted to know. So not gonna try it until they put the new UI.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Jhonnythereaper:
Yes mate, sorry, that's what I meant. In my phone the lift to check is just useless, but the ambient display just comes on by itself without even touching the phone
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] #Giovanni#:
This rom support project treble ?
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] wildger:
;)

LoL why you want "miui camera" when there is a gcam with HDR that destroys miui camera
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] pi4a7a:
miui cam has features that I personally find useful. (eg FOCUS PEAKING, logo...etc.) The modded gcam is unstable now, can'f find a decent one for N. I don't know if its good on O or not. Currently gcam 3.2 has the best front cam quality. Newer gcams doesnt.

I really like the miui cam specially the newer version, so can we request that somehow or?
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] wildger:
Modded Gcam unstable??? I use it every single day to take picture or record videos. It never crash of course Slow motion doesn't work....

This "MGC_5.1.018.177470874.41362666_MI6_1.0-beta" is the best version for MI6, but people just rush and download the one with the newer release date and get gcam that were modded for other device that don't work that well...

About the features you like, i guess when you talk about logo, you mean the watermark. That feature doesn't work in any custom rom. If not mistaken only roms made by Verevka, use the MIUI camera. The rest use other cameras, like Snap camera or Open camera.

Of course you can request, but most dev won't use their time with "miui camera" that software is way too inferior, most camera out there are just better.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] pi4a7a:
Yes almost all 5.x are unusable. It got just too messy later on. Front fixes, back fixes, portrait fixes, all that different flashables, "flash this, use that module, oh snap doesn't work..." So now I'm with BSG's 3.2 and miui cam. I will try the one you suggested and test it to see if it's gonna fill my gcam need. Is there any fix I should apply for HDR+ to work as expected or at all?

About the watermark, so you are saying that the watermark option does not work on this this rom? Anyway miui cam is the thing that got my sight when checking this rom, so looking forward to upgrade it.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] wildger:
About the gcam that are 5.x remember that most of them are API26 and UP. Some of them were modded to work in 7.1 but those are indeed unstable.

What can i say is this:

Don't enable camera2api using magisk, enable it using adb,

-adb shell

- SU

-setprop persist.camera.HAL3.enabled 1

then reboot the phone, it won't mess with "system" and it will stay even after updates.

Then set the camera i told you with

Model: Nexus 6P

Config Camera HDR+ : Nexus 6hdr+ auto Nozsl

Hdr+ Parameters : Super High

Watermark doesn't work outside Miui roms. In fact "miui cameras" outside Miui roms lack some features. If you like "miui camera" stick with Miui roms
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] worldwidegigio:
I am using GoogleCamera-Pixel2Mod-Arnova8G2-V6 and it works very well on Mi6 even though it's a version for One+. You only need to enable Camera2api through Magisk and only few tweaking is done through the google camera app settings. Only slow motion video doesn't work. A V7 is in beta right now...
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] ArinAbdul:
Suggestion

Why don't the developers of this rom add the front hdr+ fix to the rom with camera2api enabled as default I don't really see why not and it will be awesome [MENTION=5213876]Verevka[/MENTION]
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] @cano:
Bro. I cannot enable it via adb. Can you help me ?
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] littleantony:
Just use kernel auditor, you don't need a pc
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] LibertyLancer:
I flashed the magisk and the root works but I cant turn on the WIFI after reboot. How to resolve this problem?
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] ArinAbdul:
Clear cache in twrp then boot back its a tiny bug for now
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] LibertyLancer:
It works, thanks bro!
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] LuminaryChief56:
how did you manage to mount storage and data though?
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] s0ur0v:
Any workaround for getting data icon ?

I am only getting 2G icon 'E'

But 3G or 4G/LTE icon is never showing
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] cyanogen1363:
It's working fine here and I haven't heard of someone having this problem
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] s0ur0v:
But i heard that in this thread. I did search here before asking. Its a weird problem
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] cyanogen1363:
Yeah, I should've added "Recently". I thought it's solved long time ago
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] s0ur0v:
Which build & which Firmware version you're using?
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] cyanogen1363:
Well, I had MIUI developer 8.2.1, then I flashed the first release of this Rom, and I haven't flashed a newer Firmware. I always dirty-flash new builds. Now I'm on latest build (02.28).

It's certainly weird that people here have so much difficulties and bugs while installing and using this Rom, it's been perfectly stable on my phone.

I had some big battery drains at first, but fixed it with installing Magisk.

The only "minor" bug I currently have is unpredictable behavior of "Lift to check phone" feature which I couldn't turn it off. Other than that, I just wish for better battery life, but it's fine too, just could be better and I think it will be better in future builds.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] worldwidegigio:
First I flashed a different twrp via fastboot then I wiped all datas and whatever was tickable from the advanced wipe menu. After that my mobile could be seen by my Mac and I added the PE rom to the root folder of my mobile. I flashed it and booted the rom. It got into a kind of boot-loop where google system was crashing like 3/4 times in a second but I didn't care. Installing the rom, even if causing boot-loop, put things back in order and I could mount storage and data at this point by rebooting in twrp.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] wildger:
Do you have USB Debbuging enable??You need it for ADB

Do you have an app that grants superuser, like magisk? When you write SU and press enter, a notification should appear in the phone asking for superuser.

Also the battery now seems to be on par with Miui roms, i don't know if it was due the last update or Google updated their apps to be more battery friendly.

Now i can get up to 10 hours of SOT.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] LuminaryChief56:
I did that when flashing as well, weird I'd say. What's even weirder is that i tried flashing the last unofficial build of the rom and my performance in games was back to normal. It seems it's the build that cause the problems, but I do hope they get fixed.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] worldwidegigio:
I also have icon issues with network and network coverage. In my phone 4g, h+ and E disappear randomly while surfing or using internet. Network coverage disappears while placing calls
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] dandan26:
The fingerprint scanner response here is much slower then on Miui, anyone noticed?
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Frycuu:
I think, that problem is in sound on headphones. Sound is not loud and looks like mono. You have too problem like this ?
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] wildger:
Which firmware are you using??

In my phonr with Atmos +Viper4A sounds very loud with great qualitu
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Jhonnythereaper:
I am getting about 5.5 hours SOT. Not very impressed with that. Have NFC turned off as well. The rest is great. Anyone else with similar battery life?
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Mrmelan0:
I have the same SOT. Maybe march 5 security patch will fix it???
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] e_denizduman:
screen image unofficial writing

---------- Post added at 07:36 AM ---------- Previous post was at 07:27 AM ----------

is viper4android working?
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Cryo7:
I don't know what that means, but this thread started with unofficial builds and, beginning with 20180214 build it became official, and OTA is working.

For me, the best build is 20180220, which I currently use.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] e_denizduman:
thanks bro

---------- Post added at 07:54 AM ---------- Previous post was at 07:43 AM ----------

will l flash firmware?or not
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Frycuu:
Im using the newest 8.3.1
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] JeffreyM:
Does this rom pass SafetyNet?

I'll need this for Android Pay wich I use a lot.

Or do I need to hide it with magisk?
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Cryo7:
I flashed the firmware in the first post (8.1.25). With subsequent firmwares and/or builds (20180228) I had problems with phone calls not being received on SIM card 1. At one point I had problems not receiving calls even with 8.1.25 firmware and 20180220 build, but it must have been something I have messed up on my device, because after wiping System & Data, flashing firmware and ROM and starting all over again it worked.

---------- Post added at 10:03 AM ---------- Previous post was at 10:01 AM ----------

It does, but using latest Magisk 16.0 (I don't use Android Pay, but just installing Magisk passes SafetyNet).
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] worldwidegigio:
I had same issues like you with not receiving phone calls on sim1. I was on 8.1.25 and it was working. Then I updated firmare to 9.2.3.0 and I couldn't receive calls on sim1 anymore. I went back to 8.1.25 and the issue was still there. Then I found out that when I have mobile data off I cannot receive phone calls. When I toggle mobile data on everything works fine with receiving phone calls.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Cryo7:
What I did to correct the problem was to wipe System & Data partitions, flash firmware 8.1.25, flash ROM (my pick was 20180220) and went through setup again. I can now receive calls even with mobile data off.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] worldwidegigio:
I will probably need to do that too. I will wait for the next build with new Google security patch, hoping that it will reduce battery drain.

Thanks for sharing!
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] JeffreyM:
I'm having some problems with installing this rom.

I am coming from Xiaomi.eu version.

I wiped my system, user data & installed the firmware, rom & magisk.

When I reboot it will automaticly go to twrp again.

It will not boot and twrp said there is no internal storage found.

What can I do? Allready tried to sideload the rom, it works but when I boot it will go to twrp again.

EDIT: fixed, wiping data again did the trick.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] sepsep 21:
My home button stops working suddenly. Rom was fine but suddenly home button stops responding. After rebooting it starts working but after 1 minutes it stops again. Then i flashed 8.3.1 firmware and re flashed rom but problem is still here. Any solutions?

Tnx

Update: Home button starts working it self
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Mrmelan0:
This is a bug happened to me too...but a couple of reboot after it was automatically fixed...no problems now
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Cryo7:
Next time, flash ROM, boot once into OS, and then flash Magisk.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] sepsep 21:
now its happening to me randomly. i have to turn the screen on and off a few times to make it work again.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Mrmelan0:
Which update are you on?
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] sepsep 21:
28/02

and firmware version is 8.3.1 global
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Everlite92:
Okay thanks. Only have to find a recovery where the touchscreen works or where I don't have to to wipe whole internal storage to see my files in TWRP file manager :confused: :laugh:
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] littleantony:
Just don't flash with the ROM, flash after first boot.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] wildger:
You don't have to wipe the whole internal storage. There is a workaround, if you need to use twrp, disable the pin lock, then TWRP won't have to decrypt anything.

And is not like you are going to boot to TWRP every single day.

A small hassle, till there is a new version of twrp
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Everlite92:
Where can I find this workaround? Google isn't quite helpful
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] wildger:
When you want to use TWRP, before you reboot. Go to Smart Lock and remove pin lock then boot into TWRP.

You will be able to use it no problem.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Everlite92:
Removed everything, TWRP still shows me 0mb storage
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] ICpIRaiden:
You use the twrp from the atomic OS thread? IT should be Android 8 compatible
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Android Mi 6:
thanks
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Mrmelan0:
Can't unlock bootloader!!!

I've tried to unlock bootloader..website says that sms code has been sent to my phone but i haven't received any code...so my device is not eligible to unlock bootloader. What do i do? I really want to test this rom ?
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] jdtwentyfour:
As stated by Raiden, flashing the latest TWRP build from the AtomicOS thread solves the issue.

Link: https://androidfilehost.com/?fid=889964283620778448
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] cyanogen1363:
Very nice and neat Rom. Thank you so much [MENTION=5213876]Verevka[/MENTION] :good::good:

Battery is on par with crDroid, about 1% per hour at night and it's still too soon to tell about SOT but I think it is good too. Remember to turn off NFC.

Very smooth, without any lag, no problem with Gboard.

And for those fellas having issues with Magisk-hide, try this: Don't install Magisk with the Rom, install the Rom, boot it once, don't set any pin or password, then go back to TWRP and flash Magisk ( I use 15.3 version ). This way Magisk-hide will work ( Well works for me ) and there is no need to install Magisk Manager afterwards, and also no need for safetynet-fix
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Everlite92:
Flashed it already, touchscreen didn't work with this.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] cattolicboy:
Have you tried the one I suggested before?
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] LisekDH:
Ota in this rom? I wait for more feedback. It's look promising
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] cyanogen1363:
If you want OTA, you have to wait for a veeeery long time ;)
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] LisekDH:
It's not important, this ota :D I just waiting for stability and performance feedback :) im tired of using miui
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] cyanogen1363:
IMO it's stable enough for daily use, camera works good, battery is like what you get on MIUI, I just flashed it last night, but I haven't seen any problem.

Here is a screenshot for battery:
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] servimih:
The battery is bad. Do you use Google?
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] littleantony:
Turn off NFC and it's fine, only turn on when you need to
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Everlite92:
Tried every Recovery i can find. Either the Touchscreen isn't working or the storage Shows 0mb and i have to format everything
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Mrmelan0:
Ok so I'm in 2/20 update with the firmware linked in the first post.....this problem happened to me and a couple of reboot fixed it....maybe you should try to clear dalvik/art cache through twrp...that might help.....

For now you can use on screen navigation buttons...

Btw how's the 2/28 ROM?? SOT?
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] sepsep 21:
Its smooth. First when i installed it battery drain was awful. But wiped everything and again reflashed and battery seems to be normal. I get 6 hours of screen with normal usage (about an hour of gaming and 3-4 hours of web browsing and 1 hour watching YouTube) its enough for me. Performance is not the best in games but it doesn't bother me.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] wildger:
What do you mean performance is not the best in games???

PPSSPP, works at full Speed with upscaled graphics

Retroarch and it's multiple emulators works great

Dolphin works at full speed in a lot of games and it's a heavy emulator

Doom Ports great

Quake Ports Great

So far the performance when it comes to games beats MiUi roms.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] sepsep 21:
I only play nfs no limits with modified graphics and its significantly smoother in miui roms. Its not bad here in pixel experience but in my case miui is smoother.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] dandan26:
Noob question here..Do I need to install Magisk even if I'm not interested in root access? Does Magisk does some fixes or make the ROM more stable? What are the benefits of having Magisk installed on my phone except the obvious Root access ?
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Carlosbgx:
I have a similatr issue here, it sometimes works sometimes doesnt, they say its because of dirty install, but i came from a previous version which didnt have this issue, weird.

I added the navbar just i case it didnt work and now im happy xd However, they should try to solve this
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] GiovanniT:
Same issue here 8.31 (i think, i don't know how i see it After 8.31 zip fw-only flash). Latest pixel experience rom
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] JeffreyM:
Hi, new to this rom.

Battery was draining untill I turned off NFC.

Any ETA when this will be fixed? I searched the topic but couldn't find if the developer is working on it.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] e_denizduman:
how to install magiks? l flashed but always opening twrp
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Jhonnythereaper:
You need to boot the ROM before you flash magisk or it won't boot at all.

Steps:

Wipe all data

Flash firmware

Flash ROM

Boot

Restart into twrp and flash magisk

Probably best if you wipe dalvik for good measure then reboot system
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] wildger:
Well if you want to pass safetynet check, you need magisk.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] anticor248:
WiFi Miracast is working without problem with this rom. I try to cast screen with MIUI9 to my Philips TV but was not working. Thx for sharing rom.
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] e_denizduman:
It was not,

How did you do it
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Jhonnythereaper:
I don't understand the question
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] e_denizduman:
l can not flash magiks,how did you flash magiks pls help
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Jhonnythereaper:
Follow the steps in my original comment.

You need to flash twrp through fastboot

Then wipe all data

Flash firmware

Flash Pixel experience ROM

Reboot the phone

Set up android if you want with your details

Then reboot into twrp once again and flash magisk

Then wipe dalvik and reboot
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] shn007:
twrp

this is the best custom rom i have tried yet.. but,,

i cant use twrp recovery after installing this. want to install magisk,but cant. its showing _password failed, try again..... dont know what to do :/
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] Jhonnythereaper:
Search please. There's plenty of people that have already answered this exact question. You need to get rid of any passcode and fingerprint locks then reboot into twrp
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] shn007:
thnx.... it works :D while i was on miui/ aosp, it was needed to put the pin code. so i was confused :)
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] e_denizduman:
what is pin code
[Xiaomi Mi 6 ROMs, Kernels, Recoveries, & Other Dev] jdtwentyfour:
Your credit card pin code. Put it in to twrp.

Read the posts in the thread!!!! When trying to flash anything in twrp, you must delete any passwords or pin codes before booting into twrp to flash anything.