yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Xaviers101:
I dont think your amazon transactions getting cancelled once you recieve otp , is sth to do with rom.. Maybe it's the app. Reinstall or Update the app.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] arik100:
after flashing - recovery doesn't seem to "Stay", just disappears to the stock recovery some why.

if i flash the OS with GAPPS after factory reset is crashes the "update google account process"

after rebooting it "forgets" the OS and boots into the stock recovery

any suggestions?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Unipo:
Which TWRP did you use? And what ROM? Does "stock recovery" mean Stock Rom's recovery of stock LineageOs' recovery?

Anyway if you try CosmicDan's TWRP it has a bootloader auto-backup functionality which replaces the need to re-flash recovery after installing of updating a custom ROM.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] cheffy11:
Mate, it seems like you are new to all of this so a couple of tips, use the search function, all of the issues you are facing are common knowledge to most of the mi a1 crowd.

Every time you flash an update you need to reflash twrp. (Unless using cosmic dans)

Every time you flash an update you need to flash gapps.

Every time you update you need to reflash any mods eg magisk...

Search this thread, all of the answers are there, just showing up and asking questions without doing your research is not cool.

Hope this helps.

Peace. ☮️
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Vignesh Prasad:
Even on playing PUBG, SMS notification closes the game :(
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] meet4300:
Why the Pixel launcher is not getting installed even if it's Android Pie? I mean, even ported ones are not getting installed.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Xaviers101:
https://xdaforums.com/showthread.php?p=78473557

try that mod by [MENTION=9299667]romantissm[/MENTION] . works great!
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] F4bri92:
Having issues with bluetooth (latest build): I can connect my headset but bt keeps crashing;

Logcat: drive.google.com/file/d/1MA5b2eYJPVv_CtQviPuyxeR2_MInmuRU/view?usp=sharing
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] flex1911:
New build is available now.

Changelog:

Fully updated to stock P base

Fixed Wi-Fi Display (needs more testing)

Minor fixes and performance improvements

Download:

https://drive.google.com/open?id=1cOEc4oeUbQ-trbiY3oHlR77dungxcQ6-

Starting with this build, flashing P firmware is required, proper functionality on old fw is not guaranteed.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] flex1911:
And by the way, for people wondering if this becomes official anytime soon - yes, I'm polishing it now and fixing the remaining bugs to make it /really good/.

Once 16.0 releases officially - I will not keep you waiting too long for tissot support... Unless I die of a heart attack/stroke/New Year's consequences.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] solace mukhtar:
You ain't dying bro,:laugh: keep up the good work..... We are grateful
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Xaviers101:
Thanks for this absolutely delightful news flex.

It's gona be "Legen.... Wait for it....dary"

" Until los pie official." [emoji113][emoji4]
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Arief Darmawan:
Love u buddy. Haha, appreciate it :svetius:
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] ondy182:
Sorry if I'm super dumb, but can I simply flash stock december via miflash over the custom rom? To get the latest firmware and then go for this latest los version? Thanks!
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Xaviers101:
I think miflash tool is unnecessary as we got twrp flashable zips of stock firmware/modem. Let's see what others got to say.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] adityab7:
Yeah exactly! Firmware zip will do the work. :)
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Distky:
I'll wish you are healthy and long life for next year ??
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] saski4711:
Bro I love you for what you're doing :highfive: THANK YOU sooo much :cyclops:

---------- Post added at 09:20 PM ---------- Previous post was at 08:45 PM ----------

[MENTION=5120185]flex1911[/MENTION]: Tried to flash with November Oreo Fw but RIL didn't work. So I flashed PIE fw from this post. RIL is back work however I have no more LTE Band 20 :crying: It's not your fault this has been reported with pie stock rom as well.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Distky:
Does anyone still have night light settings after flashing the new build? Am just clean flashed it, but night light is gone
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] rostifaner:
[MENTION=5120185]flex1911[/MENTION]

Does miracast work on your build?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] akashavel:
In built cast working?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] kopitalk:
Just reporting that every time I flash twrp installer found in the OP after flashing the latest 20181229 built, the phone would go to "system is destroyed". So what I did was to keep using "fastboot boot recovery.img" for the whole installation process (rom -reboot- gapps, magisk).
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Unipo:
[MENTION=5120185]flex1911[/MENTION]

Thank you so much for all your hard work.

BTW you should add your PayPal info in your signature or in the OP.

I am so glad you are working on our device ?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] fdc77:
+1

Same problem for me
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] kopitalk:
I personally think it's the twrp installer that needs to be updated since the latest LOS16 build is completely based on Pie now.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] murtaza1326:
made firmware from 10.0.3 build in case anyone is looking for it ?

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

enjoy :) and flex keep up the good work :')
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Shobit Joura:
My caller screen is stock at dialing even after the reciever picked up the call..... Any fix !??? I am on latest stable pie firmware?

---------- Post added at 05:30 AM ---------- Previous post was at 05:18 AM ----------

I have tried this too ,but no luck....always caller is stuck at dialing
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] anoubhavcashyap:
How did you flash it? I was on stock pie & i did a clean flash. Flashed the rom, twrp installer & rebooted to recovery then flashed gapps & magisk. But mine's stuck on that Xiaomi logo.

Edit: My bad. The procedure here is different. Apologies.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] murtaza1326:
i have fp not detecting in security & location /fingerprint but fp gestures is working fine :/ I am on latest december firmware (from build 10.0.3)

---------- Post added at 06:29 AM ---------- Previous post was at 06:18 AM ----------

Edit:- I restored my persist partition looks like it is working now (but at max I can store up to 3 fingerprints only) :confused: don't know what is happening
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Distky:
You are right, it can only store 3 fp, when trying to add the 4th fp, I got error message

---------- Post added at 06:38 AM ---------- Previous post was at 06:37 AM ----------

Am clean flash from the previous build, got no issue when flashing.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] adnbwta:
is this firmware have in-call audio issue? or do I have to flash flex's fix ? thank you
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] murtaza1326:
flex in call audio issue is for guys with november firmware no need of it here :) also i am using this one only no audio issues :)
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] sammarwah1:
Fingerprint hardware not available... Any fix for this?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] LOswaldoRO:
Are there any bugs with this firmware?

Edit: I can't add my fingerprint in secure settings, the fingerprint scanner desn't work. Solutions?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] John Shaize:
How to fix this issue. This will not allow to have conference calls
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Teguhperbawa:
how to install sir.?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] khoale1998:
Has anyone faced this problem? the gapps say that this rom is 7.1 (sdk 25) and can't be installed
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] sammarwah1:
I falshed the latest firmware and modem and now it working ?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] flex1911:
Try to reboot to recovery once again and install them.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] oceanbreeze:
Ehm how do I install the latest build? Like usual update via TWRP over my last update with System / Davlic Cache wipe? Because after flashing the latest build TWRP is telling me that there is No OS installed.

Edit: NVM Figured it out, just looks like old TWRP compatibility issue, just reboot to Fastboot and boot to recovery via TWRP image after Cache Dalvik / System wipe + Firmware install and then install Gapps, everything works fine now, thank's.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] pravinsundarajan:
Bugs apart. How is the performance and smoothness in this latest build? As the stock pie users were telling they have never experienced such smoothness in other rom than stock.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] LOswaldoRO:
Did you installed TWRP after rom and reboot in recovery before install gapps?

---------- Post added at 03:42 AM ---------- Previous post was at 03:37 AM ----------

Anyone is facing this issue?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] fdc77:
if you flash pie fw, try to restore an oreo efs backup, only efs no modem, then install "network signal guru", you should see all band but not all are enabled, enable all and everything should work, some one post this solution, don't have tried personally
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] saski4711:
Thanks for the tip. After restoring oreo EFS the Network Signal Guru shows LTE bands 1,3,5,40 and 41 and all are enabled. Band 7 and 20 which I heavily depend on in my country are not listed however :(. Guess I have to revert and wait until official fw for european devices is released.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Fractals:
Sorry for noob question: where can I get December firmware with all LTE bands for Europe? Any chances for adding link to OP and update instructions? I think you should make your own thread Flex.

Keep up the good work. Best wishes on New Year!!
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] saski4711:
I've lost band 7 and band 20. IF you update make a backup of your oreo efs partition FIRST so you can roll back and get LTE back! Go back a couple of posts someone postet a link to the latest fw.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] murtaza1326:
restore persist partition it will work then
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] 5i1v3rStorm:
This morning I flashed joeyhuab's latest December FW and immediately dirty flashed the ROM. It didn't boot but went straight to TWRP.

Yet another dirty flash, this time to the same slot did the trick, everything is fine, I have in call volume (previously I couldn't talk to people with December FW).

I can't test LTE bands, since I do not have LTE from my carrier. Can I still check for Band 20?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] khoale1998:
Everything works now. Thank you for the most stable custom rom :D

Just a small problem. Although my signal strength is excellent, the quality of calls and the internet speed are oke, the signal indicator of sim 2 is widely fluctuating (often shows 0-2 level of signal strength). So it may be a visual bug or something else?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] saski4711:
If your SIM card is not LTE enabled it might not work. Anyway try installing Network Signal Guru, open it, choose "Lock Bands" from the top right menu and select LTE. Does it show band 7 and 20? I only see Band 1,3,5,40,41 :rolleyes: Please report back I'm curious. :cyclops:
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] JakobSWE:
No b20 here on latest firmware.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] mfauzirahman:
might be because ofdecember firmware
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] JakobSWE:
It is. Do you know of any other firmware working or patch available?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] gartzen:
Hi,

I tried to update rom and firmware to the latest posted here, and I got a message saying that my phone got destroyed, or something similar. So I'm trying to get it working again, and so far I had twrp installed and working (the one here in op, and cosmicdan's) but when flashing the rom (last update, and the ones before that too) I always get the same result: a bootlop:

during the installing process all seems fine, and then when I reboot system, when LoS should start booting, I see a green point where the animation begins (animation doesn't start), but after a second or so it reboots.

I've been using this rom since it came out, and didn't have any problems updating until now.

If anyone could help it would be much apretiated!

Edit. I forgot to say that I wanted to flash stock try to repair it, but although fastboot sees my phone, MiFlashTool doesn't, don't know why. Maybe knowing this helps to get to the cause.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] 5i1v3rStorm:
I had that behavior when I was not on the right firmware. Have u flashed joeyhuab's latest December?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] gartzen:
I flashed this firmware (through twrp):

https://xdaforums.com/showpost.php?p=78546837&postcount=1809

Where can I find joeyhuab's? Is it the one in pixel expirience rom?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Buckethand:
I had the same problem it seems the twrp zip is the problem if you use twrp with fastboot boot twrp.img and install Los without flashing recovery you can boot
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] crossxn:
Hi, how do we flash gapps then if los works only when flashing twrp with fast boot command?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] gartzen:
Tried that. Rom not bnooting, same behaviour as when installing twrp.

Thanks anyway :)
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] crossxn:
Please provide latest build install procedure. Thanks.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] razorinc:
same problem here, got message system destroyed
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Xaviers101:
Try this. flash stock pie via mi flash tool. Boot into stock rom once. Reboot to fastboot mode/bootloader by pressing power + vol down.

Fastboot boot TWRP recovery. Wipe system, data, dalvik, cache. And flash rom.

Do not flash twrp installer.

Reboot to bootloader , fastboot boot twrp img.

Flash gapps, magisk 18.0

Reboot to system.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] 5i1v3rStorm:
So, I tried the "lock bands" and saw only 1, 3, 5, 40 and 41...

I reverted back to November backup from this morning and saw this (attachment) :confused:

No 20 as well?!

I don't care, I don't need B20 but the December FW obviously has it's problems
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] 5i1v3rStorm:
Forgot the attachment :o
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] oceanbreeze:
Yes I did exactly that and it worked just fine this way. Do not install TWRP Zip after flashing ROM, it will case system destroyed message to appear on first boot.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Xaviers101:
This is my understanding so far... For some reason, Twrp needs to be updated to work with stock pie. As you all know latest build has been updated to stock pie base. Hence the issue bcos of flashing twrp installer zip.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] saski4711:
I see the same LTE bands on my device with december fw. after rolling back to november fw and restoring my oreo efs everything is back to normal. After clean flash the latest build runs fine even on november fw as well :) !

Did you restore your efs? Remember you also have to flash the november fw package to roll back modem, dsp and other fw blobs.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Tepig:
You can avoid the System destroyed error if you flash ROM, GAPPS, TWRP and then flash Magisk after flashing the TWRP zip.

That's what I have been doing and TWRP works fine (tested with stock 9, lineage, Syberia and Arrow)
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] 5i1v3rStorm:
Yeah, I did revert to November with boot, modem, efs and everything. Then, I wiped the cache and flashed the ROM, but only dirty.

As u see something HAS changed from December to November FW but still I don't see band 20. However I don't even know if I should. I am on Vodafone in Germany and there's only Edge where I live. I don't even know if it should see the band 20?!

I might try stock November and stock December but I have little time tomorrow. New year's Eve preparations, son's birthday, stuff like that :)
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Buckethand:
So you flash all on the same slot? Or first rom gapps twrp them reboot recovery and flash magisk?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] LilBlinx:
Wouldn't the kernel tree shared between mido and tissot be a problem?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Tepig:
Sorry for not clarifying. You need to follow the usual procedure of AB devices (flash ROM in one slot, reboot to switch to the other one, flash Gapps and Magisk in different slot)

What I usually do is:

- Flash ROM

- Switch slot

- Flash Gapps

- Reboot to System

- Boot TWRP again (using fastboot and the twrp IMG)

- Flash TWRP zip

- Flash Magisk
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] razorinc:
so for system has been destroyed messsage steps are:

-flash firmware

-flash rom

-reboot to bootloader and flash twrp

-flash gapps

-reboot system

-reboot bootloader and flash twrp

-flash magisk and reboot system

notice: for some reason twrp wont stay, it must be flashed from fastboot every time to enter it
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] murtaza1326:
are you aware of this (because i saw no one reported this earlier ?) if not then do kindly look at this

ims registration service shows not registered but volte/dual 4g works for both sims)

happens on both december firmwares (10.0.2 and 10.0.3)

on november firmware it works fine

happy new year :) btw and thanks for this awesome work :)

---------- Post added at 07:23 AM ---------- Previous post was at 07:05 AM ----------

also cant enroll more then 3 fingerprint with help of my friend subham singh he debugged it and found that because of old (finger print getting saved) and not getting removed it can not enroll more fingerprints from having old one as backup one's

results in i can save 3 fingerprints only

deleting persit fingerprints can get us more fingerprints this was carried out by goodix hax for fingerprint seems like it is not working anymore

regards :laugh: :good:
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] olistudent:
You should definitely see band 20. Which EFS backup did you restore? I used the one from Joey Huab around here and I got back band 20...

First restore EFS backup. Then flash november firmware, magisk, kernel.

Regards,

Oliver
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] saski4711:
Very strange. My old MiA1 (now bricked) lost LTE band 20 somewhere back in april while testing various custom roms. Never got the band back even with the help of low level qualcomm tools. I too live in germany but I'm on o2 and in my rural hometown there is only moderate lte b20 - nothing else not even 2g ;)

By the way: Try dialing *#*#4636#*#* select Phone Information and fro the top right menu "Select Radio Band". Try "Band 800 DD" or somthing similar if listed if you're in lte b20 range. You can checkout where your carrier offeres b20 with this slick tool: https://www.cellmapper.net/map

Anyway happy new year :highfive:
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] flex1911:
Well, mido also doesn't like new radio blobs, but no one is going to support it in 16.0.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] 5i1v3rStorm:
Thanks, mate. I am considering using LTE (I'm on Lidl Connect in the vodafone network) - but since there is only EDGE around where I live I don't know if that would help...

However, I don't need the phone during the holidays and was able to back everything up and make some tests. I actually went back through ALL and EVERY modem from Joeyhuab's thread, even restored my LowLevelBackup and found my Band 20!

But guess what: I found it on the November Stock ROM from 2017!!! :laugh: Android 7.1.2... well. Since I went back to stock I am now upgrading through some tissot images and keeping an eye on the basebands. I'll try and get to december without losing it. I'll report back.

EDIT: Soo, this might not work for you, but here's what I did to get Band20 back.

1.) Revert to previous EFS/modem. I had a LowLevel backup from treblizing.

2.) Using the bash scripts (flash_all.sh) I flashed the official tissot images 7.11.18. This is the same process than MiFlash does. I personally went down 8.1.10 and from there to 7.11.18 but I do not know if that is needed.

3.) On stock 7.11.18 I had the correct bands selectable and updated directly to "tissot_images_V9.6.8.0.ODHMIFE_8.0"

4.) From there I did not get the Pie stable update so I hot-booted the "boot-recovery.img" from the PixelExperience thread and installed the TWRP-Stock-Pie-stable zip from this forum.

5.) Now I had Band20 on Pie with december firmware.

6.) last step: Format data, install Lineage (btw: 20181229 zip is not linked in Post #1) and Band 20 is still present. I won't touch my firmware again until absolutely necessary.

And guys: make backups.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] albsat:
It seems so much trouble updating to latest Pie firmware. I am not upgrading for the first time since I started using this Rom.

I hope Xiaomi puts everything at place with latest band issues soon.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] flex1911:
Development have been moved to my own thread: https://xdaforums.com/mi-a1/development/rom-lineageos-16-0-xiaomi-mi-a1-t3885100
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] LOswaldoRO:
Which fastboot ROM?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] 2363:
Sorry for nope question! I follow the mentioned steps but my device have been bricked, and i have to fastboot the recovery.img and restore twrp backup from previous rom (RR-O-v6.2.0-20180913-tissot-Final)

PS. it gives me an error when I tried to flash GApps after flashing the lineage!

whats I missing here?!
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] ImSSin:
After flashing the ROM, reboot to TWRP and then flash gapps or any other zips..
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] 2363:
This is exactly what I did, but it doesn't reboot to TWRP after flashing the ROM and stuck on boot screen every time!

BTW: I'm using TWRP 3.2.3.0 by CosmicDan.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] ImSSin:
Try this:

1. Boot into TWRP using "fastboot boot recovery.img"

2. Flash the ROM.

3. Reboot to bootloader

4. Again boot into TWRP using "fastboot boot recovery.img"

5. Flash gapps or any other zips.

6. Reboot system.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] 2363:
Unfortunately, it doesn't work, black screen after reboot :(

back to RR ROM again! Should I flash Stock Pie ROM first??
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] mfauzirahman:
did you flash firmware as well?