yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] flex1911:
New build is available now.

Changelog:

Removed integrated gapps

Fixed (or not?) FPC fingerprint

Fixed "Internal problem" error on boot

Fixed instability in Chrome and some other apps

Download:

https://drive.google.com/open?id=1SJnG7fohi5U1KXRkqjtefbFxJCVu_Ap6
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] teacapan:
Thanks men,

which gapps can i use since opengapps doesn't have for android 10. :eek:
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] flex1911:
https://drive.google.com/uc?id=1Ju8g0xLe-aMROh4f5crJoWXZ0eEK6nKX&export=download
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] teacapan:
Thanks. :)
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] webnorka:
Can we dirty flash over first version?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] flex1911:
yes
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] webnorka:
Thanks, great job.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] shoxtar:
is gpay working?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] albsat:
If I understand correctly, we should do a flash clean to jump to this new release. I am in a 16x version, from another rom.

By clean flash, should I go to an official rom first or it is only necessary to install Los 17 afer doing 3 steps of formats in twrp except media storage ?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] jadephyre:
How would it? The Mi A1 does not have NFC!
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] methuselah:
There are ways through which Google pay can work. Like transferring cash through bank account. Gpay I guess work differently in each country and the ways they support local services
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] jadephyre:
I know, but when people usually ask about GPay they most of the time talk about contact-less payment, which our device simply can't do ;)
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] manchirua:
delete
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] ranjodhricky:
i think Android one Phone's get update directly from google and google promise 2 years os update.

mi a1 release date is September 5 2017 so 2 years is over. now we can only hope for Android Q update or be happy what you got.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] methuselah:
Well, Q will be better than stock in the meantime. ?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] ho3yn89:
Thanks to dev this rom is so great , I'm reporting a possible bug here . I'm trying to connect to tor network using a bridge via orbot and I'm getting this error that I never had with same version of the app and same configuration on pie, and I believe it's related to The rom itself . by the way the error is :

"can't find a pluggable transport proxy supporting 'obfs4'. This can happen if you haven't provided a ClientTransportPlugin line, or if your pluggable transport proxy stopped running"

Another bug that I'm facing is battery percentage and network traffic which is not showing despite the option is available in the rom
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] saurabhinabyss:
As usual hats off flex.

in few hours of usage, all major functions work flawlessly.

Issues that i saw are:

1. Expanded desktop doesn't work

2. In style Black under dark mode doesn't work

3. SeLinux is disabled

Pretty sure Flex will fix them in no time.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] shoxtar:
Gpay is an app, and you don't need NFC to use it. I don't about other countries, but atleast in India it doesn't require NFC.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] saurabhinabyss:
Which gcam is working great on this rom? Anybody?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] jadephyre:
I know what GPay is, thank you, but for it to be of any effective use for what it was intended, a phone needs NFC. Without it, it is just another banking app and unless you're running multiple accounts at different banks, one banking app is usually enough for the average Joe.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] shoxtar:
Here in India we use gpay for online transactions, and no we don't require NFC for it. Just a UPI registered account.

---------- Post added at 08:31 PM ---------- Previous post was at 08:31 PM ----------

is SELinux permissive ?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] MrCrossover42:
LTE works? What about internet speed?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Unipo:
[MENTION=7668961]shoxtar[/MENTION]

Yup, permissive for now
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] saurabhinabyss:
casting to Any device forces device to Restart UI

---------- Post added at 09:19 PM ---------- Previous post was at 09:11 PM ----------

who do i submit bug report to? I'm unable to upload zip file here
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] manchirua:
wait next build update :)
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] webnorka:
Bug or just me? No sound on bluetooth connected device. Repaired few times without change.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] dur3xtremme:
VoWifi is working with this android 10?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] alienspl:
yup!!
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] fosco_:
I'm using GCAM 6.2.024 https://f.celsoazevedo.com/file/gcamera/GCam_6.2.024_N7P_test1.apk

Slow Motion not working for me, other options seem to be ok
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] sdeft:
[MENTION=5120185]flex1911[/MENTION]

have you stopped updating the los kernel ?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] saski4711:
out of the box? VoWIFI or did you mean VoLTE?I have the option to enable VoWifi but it doesn't work (worked with stock rom). Changes in build.prop needed like with stock? :confused:
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] taurelio:
I dont think so. There were a bunch of changes in the kernel last month. Do you check the changelog?

Enviado do meu Mi A1 através do Tapatalk
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] flex1911:
For 17.0 I'm not doing any major kernel changes until I rebase it on new CAF tag.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] charcutero:
Hi, thanks for your great work.

I have installed and tested. For now this I have found:

- Sharing the data connection is difficult to use. Connection without internet and when you get to surf it is very slow.

- Although I select the option in settings, the battery percentage cannot be displayed in the status bar, nor can I change the icon.

- My bluetooth audio works for me, both with headphones and in the car.

Greetings.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] yashgumaste:
I am on AEX pie.

Shoud I just install latest twrp from given link through fastboot.

And just flash rom zip and gapps?

No clearing data or system required ?

Do I need to flash the twrp again after flashing build ?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] odyss199:
i think you mean hot-boot TWRP you cant install twrp from recovery in mi a1

boot to recovery, format /data /system, flash rom, boot back into recovery to change slots, flash gapps or magisk, reboot to system

if you flash twrp flash magisk on top of it, i personally avoid having permanent twrp
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] charcutero:
After a second installation and clearing of cache it seems that now it is going well.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] ho3yn89:
Guys I just wanna know , if I wanna change the gapps for example from nano to micro ,do I have to clean flash the whole rom? or dirty flash will do?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] methuselah:
Dirty flash and the gapps(open gapps) variant, will do the trick.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Zentom:
Installing the latest TWRP is optional, but of course you need to wipe the system because you're shifting to a totally different ROM. And no, you don't NEED to flash TWRP again after.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] teacapan:
I can't update or download anything from the play store,

It's just me or someone else has that problem. :eek:

View attachment 4830263
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] odyss199:
if that's right after you installed the rom, then it might be updating some libraries in the background, give it a little time
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] teacapan:
Thanks Men,

I have disabled the option to automatically update on purpose to update only what I want,

just enable the option and now it is working as it should be. :)
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Glics:
I'll admit I don't remember how this works: do I need to be on a specific security update? If so where would I find it and how would I flash it? I remember needing to flash the latest vendor.img via fastboot If I hadn't it already and I haven't done that in a lot (not on stock currently), to ensure compatibility. Do I still need to do that? :rolleyes:
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] coremania:
No, it's not a gsi, no vendor.img to flash. But you can flash latest firmware. I don't know if flex put the latest firmware into the unofficial Los 17 like he's doin with Los 16.

https://xdaforums.com/showpost.php?p=80288331&postcount=541
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] teacapan:
Nothing yet ?:D
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] manchirua:
Get build 29.9.2019 on Telegram
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Zentom:
What's the changelog? Telegram doesn't work here at mine.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] manchirua:
Telegram work for me. :D

---------- Post added at 04:18 AM ---------- Previous post was at 04:16 AM ----------
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Zentom:
I meant Telegram doesn't work in my country ?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Ahmed Kassem:
Can you send me the link to the group?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] manchirua:
t.me/MiA1LineageOS
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] niko666x:
Hi, thank you very much for this great job. I could only see that Bluetooth is not working and the camera is defective (The flash does not synchronize with the moment of capture)
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] niko666x:
Install the build on 29.9.2019 and nothing is fixed. Bluetooth is still broken and the camera continues to take defective photos with the flash activated
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] manchirua:
Flash work for me with Gcam MGC_6.2.030_RazerPhone2_V5
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] charcutero:
Bluetooth works well for me, both with headphones and in the audio car. I tried the stock camera and the flash works well for me. Maybe you need to do a clean installation?

Apart from this, I comment:

- Magisk Canary 19.5 tested and working.

- Battery percentage still not working.

- Up and down speed indicator already works.

Thanks for the rom. We will continue pending new versions to continue testing what is needed. Regards.

(Tested on 29.09.2019)
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] niko666x:
I did a clean installation but the Bluetooth is still broken.

Estoy usando build 29/09 with Lightning kernel.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Arief Darmawan:
How about default kernel?

Dude, u are reporting while on custom kernel. Really?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] leofwg:
https://xdaforums.com/showpost.php?p=80390343&postcount=206
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] niko666x:
you are right. sorry

---------- Post added at 11:43 PM ---------- Previous post was at 11:41 PM ----------

Anyone have the original kernel for this rom for flash in custom recovery?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] methuselah:
Dirty flash the ROM
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] flex1911:
New build is available now.

Changelog:

Updated to Q blobs, HALs and new kernel

Enforcing SELinux

Fixed HW encryption (buggy if you encrypt on the first boot tho)

Re-enabled QCOM Wi-Fi Display implementation

Fixed bluetooth audio issues

Minor fixes

Download:

https://drive.google.com/open?id=1bff-7tQbV9B1xZCJJJAXRnZM8RRx8yDA
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Zentom:
Doesn't that make your build valid for the Official tag from Lineage? I think these new fixes make the ROM completely stable, or is there anything else that still needs fixing?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] flex1911:
some minor bugs are still there.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] coremania:
Gapps still included ?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] flex1911:
no.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] :
How do you choose to not encrypt on first boot?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] flex1911:
don't do it? It doesn't happen automatically.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] :
So I'm running stock 9. Just unlock, flash ROM and then no problems with encryption? I was unaware of being able to have encryption on boot.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] flex1911:
Yes, just do it this way.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] :
And wipe data in advanced first or leave it stock encrypted?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] coremania:
Could someone be so kind and upload lineage email 10 apk ?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] flex1911:
leave stock encrypted, but wipe data.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] :
Great. I'll give it a try
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] jadephyre:
What about encryption after a data-wipe? Is it now possible to encrypt from within the system or do I need to follow the instructions in the LineageOS 16 thread about encryption? :o
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Unipo:
Format, wipe everything, install Lineage 17, magisk, kernel or whatever, Then boot system for the first time, reboot system so it's its 2nd boot and you can now encrypt your phone.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] niko666x:
Please try to give a better explanation.

It is the third time that I have to delete data and I lose photos and videos since after installing, the rom does not start if I do not delete data
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] berezker:
based on the size of the zip file, i'd say no
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Unipo:
If you come from encrypted stock rom, just wipe data as Flex just said a couple a post above. Then install lineage 17 and it will use the previous encryption.

If you want to clean flash everything, Format data, wipe everything, install lineage 17, boot for the first time, then reboot. Only then you would be able to successfully encrypt your device in settings=>security/encryption=>encryption and credentials.

By the way, you should be aware as it is stated in OP that by flashing custom ROM you can potentially loose your data, it as always been advised to backup everything before tinkering with ROMs and custom kernels.

---------- Post added at 09:09 PM ---------- Previous post was at 09:07 PM ----------

Flex already answered this question a few posts above, no Gapps included in the 2 last builds.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] flex1911:
as long as you formatted your data before with recent twrp (it preserves crypto footer), you can encrypt just fine. Just better avoid doing it on the first boot just after you finished setting up the phone.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] jadephyre:
damn, in that case i'll have to resize the data partition to restore some space for the encryption headers... hope this won't break anything :(
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] h0ttentot:
The gapps package available on this thread is working fine?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Distky:
Can you make it so this ROM detected by apps like the LOS 16? I mean on LOS 16 my banking app isn't detect this as custom rom or rooted device (even without root) but on this version suddenly my banking app can tell that it's custom rom and another payment app detect it as rooted device.

Nb: am not rooting my device at all
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] jack404:
i get this too, the solution is to install magisk and use magisk hide to the mbaking app, pretty sure this is because Q using system-as-root partition so the app is detecting the device is rooted but its not, maybe you should contact the mbanking app dev. instead
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] mania4uga:
guys if i will update my mia1 to lineage os17, can i after it change it back to official android 10 in case if it will be released for mi a1 ?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] coremania:
Yes, why not.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] h0ttentot:
Just posting to say the release is really good and i'm using as a daily driver without any issues. Just downloaded the beta gapps package and it's working fine.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] PaulWes:
Do I need to install gapps? Or can I install without?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Arief Darmawan:
Needed.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] valyta2:
Hello, Can't install gapps, code 25..?

*** No ro.build.id ***

Your ROM has no valid build.prop or equivalent

****Gapps installation failed****

- Copying log to

- No changes were made your device

Installer wil now exit..

Error Code: 25

- Unmounting

After starting the Android system and restarting in twrp the gapps installation happens but the system does not start, what is wrong?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] LautiLosio:
Hi, I'm having some problems with this ROM. I had no issues flashing it, everything went smoothly. It was when I started using it that I noticed some issues:

*Gcam works very poorly (it gets stuck on "processing HDR+" an takes way to long to save the picture whenever it does save it)

*Settings seems kind of broken. I can go in an tinker around in developer options or display options but other sections like Apps & Notifications crash the app instantly when I try to go inside

*I don't know if this is supposed to be like this but the theme personalization (the LOS one that lets you change accent color, etc) doesn't work at all

*Changing the battery icon to text or round does nothing

*Something else I probably forgot

I'm thinking about changing to Pixel experience and see if that works better but if it doesn't I'll just roll back to pie.

I hope someone can benefit from this comment and of anybody knows any possible solution feel free to respond.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] h0ttentot:
You can install without just like previous LineageOS versions. You won't have any google services, but the system will work fine.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] nicche:
Sorry guys I posted this message in the wrong version of lineage!

Hi to everyone! I've installed lineage (last update) on my girlfriend's phone but I'm facing some issues like:

- I can't turn on the high accuracy. From the toggle i can turn on the gps but when I choose the High accuracy and then press done immediately it comes back on "only device"

- I've installed Gcam but the selfie are purplish

- The system updater is very slow to apply the change, it is normal?

thank you in advance
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] PaulWes:
Thank you both.

Guess I've to find out myself.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] baerenbisch:
Oh my god. This would be the end... :p
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Gratisweb12:
lineageos 17

New update ?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Zentom:
Are you sure this specific ROM is the reason for the purplish selfies in GCam? Have you tried other GCam versions from different developers?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] nicche:
thanks for the answer! indeed I've found the solution with another GCam version, the Tigr one. But GSP problem still remain.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] coremania:
Don't request eta !
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Klauno:
Linageos 17 works fine on my Mi A1.

Also the gapps work fine.

I enabled the Google camera by using first Camera2_API_Enabler-1.0.0.zip.

After a reboot i choose the GBCam_Thunder_V1.0.apk.

I don´t know if im allowed to link this, but Dr. Google will help you finding it :)
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Unipo:
Working good so far :good: Encryption working properly even though I have some glitches on the boot animation afterwards (like with the early 16.0 build if I remember).

The only functionality I'm missing for now is privacy guard.

Bit of OT ,Something odd, I don't see any post of users having trouble with magisk. The thing is I can only have v19.3 working on the latest unofficial. 19.4 and more recently v20 don't, magisk manager is complaining that magisk is not installed. Clean flashed every time. Is something missing within ROM for now to have the latest magisk working? (Flashing canting did not help)
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] coremania:
Magisk 20 is working fine here with inbuilt kernel. If you are on 19.3 update the magisk manager and update to magisk 20 with direct install.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] manchirua:
Magisk v20 work very good

[IMG="magisk"]https://drive.google.com/uc?id=1Tm1ZE_npPdesRUYZ1CD9Bt4Mzr6A_Loy&export=download[/IMG]
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Unipo:
Crap. I don't know what's wrong then... Clean flash from latest stock, wipe everything, install ROM and TWRP, reboot onto other slot, flash magisk or flash magisk then kernel, reboot...

Well I'll try updating from magisk manager

Edit: Hm, not working either...
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] KaaMyA:
In these cases, taking in mind In using TWRP Treble Recovery, I have to install ROM and recovery inject, then switch slots, reboot recovery and repeat.

After that switch slots, reboot recovery and install Magisk without injecting recovery, switch slots, reboot recovery and repeat the same.

Finally switch slots, reboot recovery and from there reboot system.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] niko666x:
Can anyone explain what this is? I delete them and they are downloaded again.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] KaaMyA:
Look like temp from downloaded files. I had the same when I installed Evolution X 3.0 ROM... Perhaps related to download permissions on Android 10.

Delete them and download just one file, then check if a new file of this kind appears along with your downloaded file.

Tell us what happened.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] manchirua:
Try,

Use TWRP Comic Dan's

* Wipe:

- Cache

-System

-Data

* Flash ROM

* Reboot TWRP

* Flash Gapps

* Reboot System

- Install Magisk Manager 7.3.5

.........................

* Reboot TWRP

* Flash Magisk V20

* Reboot System

Note: Use kernel stock of LOS 17 (not use kernel custom).

Good lucky :good:
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] niko666x:
Thanks for answering.

It had never happened to me, the first time is with LineageOS 17. I really don't know what it is and it gives me a lot of doubts about the safety of this rom.

I tried to download something to verify what you told me but nothing related to the download appears.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] methuselah:
safety is illusion and you have flash back stock ROM anytime bro