yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] joeyhuab:
Hmmm well that's new. I guess it works differently on 8.1.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] DoR3M3:
When I click on 'Recent Apps' button, the X close button sometimes doesn't appear, and I have to click 'Recent Apps' a second time to make the windows reappear, and then I get the X in the upper right hand corner to close the windows, but I don't always have to click on 'Recent Apps' twice to make this work, just some times...

Anyone else seeing this behaviour?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] kopitalk:
Mine is quite stable and snappy... Did you dirty flash or anything unusual when flashing?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Ron1209:
Doesn't disable capacitive keys for some reason.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Shntnu:
LED Notification Light is not working
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Lupin The Third:
Correct observation!
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Shntnu:
Is there any way I can make it work?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] kopitalk:
Which twrp are you using? There's a copy of working twrp provided in the OP.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] cailloud:
3.2.1-by Mohan CM-mi a1
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] kopitalk:
You should use the twrp copy provided in the OP. It's working.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] cailloud:
Ok, and from there i install the latest lineageOS right?

---------- Post added at 04:55 PM ---------- Previous post was at 04:46 PM ----------

Worked perfectly, if i could press a million thanks i would.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] mierlo420:
Hmmm strange. I did a clean flash myself today with the latest fastboot rom with MiFlash, after that i flashed LOS and didn't format data and my device is encrypted.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Right Now Josh:
The update 07/24 broke all the Google Apps and some applications.

I'm going back to stock.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] RisjadB:
U should format data partition to decript, if u dnt format data it will result in buggy os
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Wixi12:
I see. But to be honest, I doubt this could be considered a proper LineageOS installation given the stock bloatware remains in the device (which is the exact opposite of what the official tutorial advises).
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] kickadnan:
mine is working well
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] mierlo420:
I think you're just doing something wrong, no bloatware from stock here.

I TWRP i wipe everything under 'Advanced wipe' (dalvik, system, data, internal storage) and then flash LOS.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] ibooth2004:
You probably flashed official OpenGapps and that's why they break after OTA, you need to use the OpenGapps found in the OP or MindTheGapps.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] seinas:
With unofficial all works fine gapps
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] AleeexDK:
Which is better: unofficial build or official build?

And, what have the best audio quality?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] mierlo420:
I didn't test myself, but i think unofficial, because it supports Dirac.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] madhuvsan:
Updated latest OTA, after update, TWRP is replaced by LOS recovery, Magisk uninstalled. This is annoying with every OTA to reflash Magisk and TWRP. All other functions seems to be working fine.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] kopitalk:
If you think this is annoying, don't use custom rom. Go back to stock, or even better, buy an iPhone.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] madhuvsan:
Thanks for the advice!! ,I have used lineage as an alternative to stock in other phones, never faced issues with OTA like this..
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] kopitalk:
Your other phones have a/b partitions too?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] neoragex_cl:
Aditional features

Hi!, in the past time I have an OnePlusX and I install CyanogenMod. With CyanogenMod I can do some things that now are include on Gravity Box (by example change the battery icon).

Is possible that in future editions of LOS15.1 for the MiA1 some of the options of personalization be included on the ROM?

Thanks!

(by the way I appreciate you work for free for all of us):good:
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Moycano:
According to the official description, and I quote: "An industry leading 10V smart power amplifier paired with the advanced Dirac HD Sound algorithm provides powerful speaker audio output and deep lows for both music and phone calls. The independent audio amplifier supports high-impedance headphones of up to 600Ω."

Thus... first thing tomorrow morning for me will be changing from Official to Unofficial; and maybe recording some before and after samples to compare.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] ilija simeunovic:
Ok guis, now when we have working Twrp and we can install new L Os builds, i have some questions:

1. How is with ota if i use GApps in O P,. Whether i need to install only Magisk after every update?

2. Can i reinstall Magisk with temporary twrp.img without flashing twrp after update?

3. Is it possible to enable navigation bar and disable hardvare buttons.

Sent from my Mi A1 [MENTION=428455]Stock[/MENTION]
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] kopitalk:
1. Gapps in OP is meant to survive OTA

2. Yes, boot to recovery.img from laptop

3. Yes
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] ilija simeunovic:
Thanks, i wanted to flash AEX, Cr droid or Resurrection. No ota but no complications will this work or no. And second advantage is that twrp will survive flashing updates. I am talking about Cosmic twrp. Do not need to think about slots etc. while flashing.

More questions: which Magisk to flash?

2. Will magisk survive flashing updates on other roms?

Sent from my Mi A1 [MENTION=428455]Stock[/MENTION]
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] kopitalk:
You're in the wrong thread... :silly:
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] mr_lennsen:
Last OTA update worked great, thanks to the devs!
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] mac-duff:
I know, it seems like a hard question, but can anyone tell me how long did the update take to install? Last week it took my phone about 3h
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] mr_lennsen:
OTA from July 24 to July 31 took about 15min.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] omazumba:
About 20min. Worked great, I now only hotboot into twrp to flash magisk after first reboot. I'm using mindthegapps and I formatted and wiped everything before flashing 20180717 nightly and updated from there to 20180724 on Monday. This OTA gave me no problems.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Charles IV:
Some features from 14.1 have not been ported over to 15.1, however custom battery icon is on its way!

https://review.lineageos.org/#/q/topic:battery_customisation

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

Make sure your on the latest magisk beta. 16.6 added support for a/b, but it didn't work.

Magisk currently survives no ota updates on a/b devices.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Charles IV:
It takes a long time, but make sure you have faster updates enabled.

Edit: also the updater can't work when the screens off, I think, so keep the screen on.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] ibooth2004:
I'm torn between the unofficial build with the modified OpenGapps and MicroG, I can't decide, what is better in your opinion?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] 1NK:
I checked the official TWRP repo with all branches and device trees. There's no commit that new from TheScarastic.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Benjamin_L:
There are a few after 3.2.2 so most likely it was before the official 3.2.3 release:

https://github.com/omnirom/android_bootable_recovery/commits/android-8.1

most likely with this:

https://github.com/omnirom/android_bootable_recovery/commit/a344ac6f2660ef29fc37609b8e67399c3fdedeb1
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] mac-duff:
ok, thanks. This time is was really faster. No clue what happened last time.

Just one more question. To reinstall Magisk, do I need twrp and I cannot do it via lineage recovery? Which means I need a PC?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Charles IV:
In theory you should be able to do it in lineage recovery, maybe through adb sideload, but you probably need to fastboot boot Abhishek's twrp.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] mr_lennsen:
How can I keep TWRP after OTA? It gets replaced by LOS recovery, which I can't use to flash Magisk :-/

Edit: Sorry, last posts didn't show up when i posted.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] mac-duff:
I click on Apply update -> Choose from emulated -> Choose Magisk 16 or 16.7 and receive the error:

Failed to find META-INF/com/android/metadata

Error in /sideload/package.zip (Status 127)
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Charles IV:
use twrp then, I don't think I ever managed to do it either, but my phone is encrypted, so I blamed it on that.

---------- Post added at 11:18 ---------- Previous post was at 11:16 ----------

you can't. We just have to wait for people who know their way around addon.d-v2 to fix magisk's one. I had a look at it but had no clue.

I just fastboot boot into twrp after rebooting to apply the update and flash magisk every time.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] victorrz:
Hello,

I flashed the latest official build and when installing the Aroma GApps I replaced the stock camera for the google one but the camera doesn't work. I tried other google camera ports but none works. When I was using the unofficial build the camera was working. Any solution?

Thanks :)
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] mr_lennsen:
By flashing the official LOS my cams stopped working too.

After installing the Pixel G Cam + HAL/EIS enabler patch (magisk) everything works great.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] kopitalk:
I'm using Official LOS and my GCam is working fine out of the box. No mod or magisk module required.

This little tool checks if your rom setup is ready for GCam.

https://play.google.com/store/apps/details?id=de.weis.camera2probe
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] leofwg:
Hey, anyone here use any custom kernel (void, mint, projectK, etc) with official/unofficial LOS?

i cant set another min_freq, i tried with ex kernel manager, kernel auduitor and franco kernel manager... my min_freq always set in 1689mhz... i try to put it in 652mhz but it always back to 1689.. anyone here have the same problem? even if i change governor i got the same problem..

this problem only occurs with LOS :(
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] ubmit:
Just installed the most recent nightly build and I simply can't connect to Wi-Fi. I came from another custom rom, by the way. Any idea on why the Wi-FI is not working?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] mr_lennsen:
Check if your MAC adress is still there. Sometimes it gets lost, BT also.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] victorrz:
What's the name of the Magisk module? Thanks
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] ubmit:
First of all, thanks for the reply! I don't know how to check this though. Where can I check my MAC address?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] mr_lennsen:
Can't check now cause update killed magisk.

System->about phone->status
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] ubmit:
Just checked it! There is a Wi-Fi MAC address here

What should I do next to fix the Wi-Fi?

Also, do you think I should try this? https://xdaforums.com/mi-a1/how-to/easiest-quickest-to-fix-wifi-custom-t3779040
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] :
This one didn't work for me either. Neither did newest .TA.2.3.c1-00723-8953_GEN_PACK-1 from stock Oreo 8.1 July 1 2018.

I reverted back to 953_GEN_PACK-1.117743.1.119183.2 from stock Nougat 7.1.2 December 1 2017 and am using it in LOS 15.1-20180717. LTE Band 20 is now working and I haven't encountered any other problem. I am affraid it might break in future - Nougat modem vs. everything else from Oreo LOS.

Can someone confirm that LTE Band 20 is not working in any Oreo modem? Probably from EU where it is mostly used. Thank you.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] mac-duff:
I guess when there is a WIFI MAC Address everything is fine.

In my case and a missing bluetooth address I had to reboot with turned on bluetooth
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Moycano:
Yesterday I updated OTA from July24 to July31 official versions. After reboot I noticed the lack of Magisk (beta 16.7) and it's modules, particularly the Mi A1 stock camera (the only one that works flawlessly in my opinion), so I solved it without TWRP by going into LOS recovery, flashing latest SU-addon.zip, rebooting, enabling root for devices in Developer menu, and installing Magisk (the recommended way) via Magisk Manager, which survives the OTA update.

Everything works great with this version so far but I'm planning to migrate to unofficial for Dirac sound effects... Lucky us, having two hardworking maintainers for the same device!
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] jackspeed:
I have two A1, bought in the same shop here in Europe within one month. One has LTE Band 20, the other does not.

Before I installed LOS 15.1, I flashed the January stock image modem on both devices. I assumed this to be a hardware limitation, although both are international models. But I might be wrong...
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Moycano:
Using the latest UnOfficial build (July30) and the recommended OpenGapps I was unable to install following the quoted steps: the installation aborts when trying to flash OpenGapps showing Error64.

Even with latest TWRP you need to reboot into recovery before flashing Gapps (any version) and/or Magisk (even Beta 16.7).
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] dirk@moabit:
How did you Install the su add-on from LOS recovery? I placed the zip file into the root directory of the sd card as suggested but I am not able to chose the file from LOS recovery. What do I wrong? Any hint? Thanks in advance!

Gesendet von meinem Mi A1 mit Tapatalk
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] mierlo420:
I had the same, rebooting my router solved it.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Charles IV:
unless a twrp that automatically switches slots is made (which won't be good as it would then switch after gapps and before magisk) is made, all a/b devices will always have to reboot to recovery after flashing lineage.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] mr_lennsen:
Same here, only sideload available.

MI A1 Gcam Mod v1.3 by Addicted
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Moycano:
The thing is abhishek987 is the author of the first post and he knows (as we do) that an extra reboot is necessary for A/B devices, so ¿why not update his post with the correct instructions? I mean, this is THE official UnOfficial Thread. Providing correct instructions sounds just right for me.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] CountC00l:
In los recovery you navigate with the volume and power keys..
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] ydd0ras:
If you don't need the Play Store, but a spoofed signature and a backed microG, use the microG build. If you want Dirac as a sound enhancement and don't want to reboot your phone after setting up your Substratum themes, choose the unofficial.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] soultuckem:
How to fix my magisk . im on juy 31 update . my magisk got erased again
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] kopitalk:
Read the previous posts before yours. Use search function if you need to.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] methuselah:
Does anyone have this issue? I don't have any idea it just happens suddenly. It feels like a kernel issue. The phone suddenly goes black and i can't even restart it at all. It takes many tries to even force restart. like proximity sensor turns the display off. Getting logs is as tuff as hell it seems. Anyone with any way that can help with the logs and how to take them for this will be appreciated.

edit: I am on previous built. But will flash latest one to check is this issue is with current built also. But please what logs needed to report this issue will be appreciated.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Obscurax:
I've experienced the same once. Screen went black and I thought my phone died. Had to hard reset to get it working again. How did you get it started again?

Hard reset wiped my internal storage but the data partition was still there, so beware! I'm wondering why that happened..
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] methuselah:
I have flashed latest built. Let's see how it goes !
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] ibooth2004:
I'm fed up of people complaining about issues with Magisk, just use the damn su add-on, LineageOS doesn't officially support Magisk it supports the su add-on.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] beeshyams:
I am new to Lineage and yet to flash, hence this question. I have read contrary reports, some or most say that su addon supports Magisk installation and few say it doesn't (haven't bookmarked to quote)

Can you kindly clarify? Thanks in advance
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] viktoer:
i have the same issue. always after a call phone freeze in like 10s and then black - hard reset. have you solved it?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] methuselah:
Negative. I have flashed today's built. Till now it's working. As you were using it during the call. There is an app on my phone too I guess which uses somehow proximity sensor. So either kernel or proximity sensor. Can't even report anything because it's sudden. I need ramoops. And I guess needed to be near a computer for that. But whenever that happens its just when I am not there.

Please anyone if knows some other way i can still try to get logs.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] omazumba:
I've used every nightly so far with Magisk. But I've now changed to su add-on because supposedly it survives OTA. I still have magisk but installed it through Magisk Manager app (16.7 beta).

The only downside, in my case, is that now I can't pass safetynet even hiding Magisk from system UI.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Huraxdax:
I've tryed 953_GEN_PACK-1.130033.1.131132.1 and also .TA.2.3.c1-00723-8953_GEN_PACK-1 and I've no LTE connection (o2 Germany). It seems like I have also a problem with band 20 and Oreo modems.

Can you or anyone else tell me where I can download the Nougat baseband you've used? Thanks a lot.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] foodproof:
Get them from here.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] heinhuiz:
Seems like su is not working on Lineage-microG. Can't get it to work.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Dotaram:
Just leave the phone alone for a minute or two. After that, the screen always turns back on normally. You don't have to restart or even reset, just be patient!
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] AleeexDK:
If a flash unofficial build and normal Aroma Gapps with Magisk and normal TWRP installer , I only mess the ota update or I mess other things?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] LenAsh:
This is April's Modem, works well on latest UNOfficial - LTE/4G is solid in the UK at least....

April Modem TWRP

It's 953_GEN_PACK-1.130033.1.131132.1 - same as you've quoted which is odd...

Do you need a TWRP Nougat zip making?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Huraxdax:
Which band do you use in the UK for 4G? Also 20? Now I've tryed 3 modems:

.TA.2.3.c1-00723-8953_GEN_PACK-1

953_GEN_PACK-1.130033.1.131132.1

953_GEN_PACK-1.117743.1.119183.2

I get no LTE connection at all. Is there anything else I can try?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] LenAsh:
3 UK uses B3 and B20

This is the last Nougat Modem...

Nougat Modem TWRP
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] spartanjim:
Many thanks for your assistance, I have got Lineage working using the method the [MENTION=4356248]heinhuiz[/MENTION] has published. Excellent ROM is it as well!!!:D

---------- Post added at 09:04 PM ---------- Previous post was at 08:53 PM ----------

I just wanted to thank all the developers in this forum ( [MENTION=6070905]abhishek987[/MENTION] ) and all the forum members who helped me get the ROM working. It is truly and excellent product and a joy to use.

I started out completely new to this but thanks to all the great tutorials that have been written and the excellent support from the community I now have the nicest phone I have ever used. So much so that a few of my friends are now moving away from Google/IOS and doing the same.

Keep up the good work guys! The world needs more people like you to topple these massive corporations who monopolise the market with a poor product in comparison.

Peace:D
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Charles IV:
Hopefully only OTA, but I think previously I had problems with opengapps
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] seinas:
In this last unofficial don't work gcam