yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Charles IV:
There's a magisk module, but you didn't say you flashed that, so maybe try Abhishek's opengapps, they also survive ota

---------- Post added at 02:03 PM ---------- Previous post was at 02:01 PM ----------

You don't need twrp for OTA updates, so you can fastboot boot twrp to install los, and if you want magisk and Los recovery won't work (e.g. encryption), you can boot after every update.

Twrp is replaced after every update anyway.

---------- Post added at 02:14 PM ---------- Previous post was at 02:03 PM ----------

If you haven't got an encrypted device you should be able to flash from los recovery, but possibly not, if you aren't encrypted but it doesn't work try downloading and flashing the los su add-on, and then flash magisk using the app from android.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] metalelf0:
Cannot enable voice match after clean install

Hi all, I'm trying to setup a clean install from the latest official build, but I can't get the Google assistant voice recognition to work. The two "Voice match" related options are greyed out and toggled off, and the message under them refers to toggling some "Google" option in input/voice settings, but there is no such option.

I was previously on the May unofficial LineageOS build and it worked perfectly. I did a clean install (wipe data/cache + system). I installed the pico opengapps package for ARM64 as suggested. I'm using the italian language.

If anybody got any hints please help me cause I'm stuck!

Thanks!
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] tomboy84:
Pocket mode not working. I set up, but the phone wake up when I push the power button (I covered the proximity sensor)
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] stevedat:
I still have some questions, hope you help me clear.

1. Should I use TWRP-tissot (https://xdaforums.com/mi-a1/development/recovery-twrp-3-1-1-0-touch-recovery-t3688472 not from this thread to flash official LOS - is it OK for offical LOS with modifiedgapps or mindthegapps?

2. Should I perform encryption from settings when I am on LOS.

From these consequences, can I have OTA updates?

(am not prefer to root, just flash LOS mainly)
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] :
I followed that guide and found out that my lte_bc_config flag was set to 687195291869, which means LTE Band 20 was enabled (bit 20 of 1010000000000000000010000000000011011101).

I had to enable diag mode through adb shell (root) since *#*#717717#*#* didn't do anything.

I flashed latest modem from July 1st stock Oreo (your baseband) and checked this flag again. It is the same and LTE Band 20 is still enabled.

Only explanation I have is that LTE Band got disabled by full fastboot flash of some of the latest Oreo roms. Last full flash I did was December 1st Nougat. Since then only one OTA to July 1st stock Oreo.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Berlino:
1) I'd recommend twrp from op to flash latest official LOS and modified opengapps.

2) I think LOS encryption doesn't work when booted, so better first flash stock and get encrypted from there if you want it. After get encryption via stock, don't format data-partition (format command deletes encryption), instead just wipe it to keep stock encryption.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] metalelf0:
FWIW, it seems it's not a matter of the ROM, it's the same on the official ROM. Maybe it depends on something introduced by the latest android security patches, but it seems it's not a bug related to LineageOS.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] madhuvsan:
This is how Mi had marketed Dirac when it launched MiA1

http://en.miui.com/thread-959067-1-1.html

And when they updated to 8.0, they did not include dirac!?

The poor in call volume is quite persistent even with official LOS.

With every passing update, I had to correct mixer_path_mtp.xml to fix the issue.

Can this dirac change be included in official build?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] kopitalk:
The pocket mode is related to double tap to wake.

You should be worried if the power button doesn't wake up your phone :p
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Saswata Chakraborty:
I was hoping if someone can clear my doubt. So, I have recently flashed extreme kernel with over locked CPU to 2700MHz and over locked GPU to 942MHz. I didn't face any heating issue or battery draining issue. But shortly after flashing the kernel, I have started noticing screen burn-in/retention issue where I see shadow of the last used app even if I use the app just for 1-2 minutes. I have clean flashed stock ROM with stock kernel and I still see the issue. After googling, I got to know that it has something to do with damaged LCD panel and it needs to be replaced. My question is, can over locking damage LCD panel or is it just coincidental? I have also seen many other mi A1 users having the same kind of issue. But I am a bit surprised as I didn't face this problem for the last 9 months and it all started after flashing extreme kernel. I expect answers from senior/experienced members only who have a clear idea of what I am talking about.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Moycano:
I'm running UnOfficial 0730 and I see a 0806 update but the OTA fails ("Download error, please check your internet connection and try later").

Since I'm connected via WiFi (strong reception and crazy fast provider in my workplace), I'm going to assume the servers might be saturated right now.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] fdc77:
Update removed, dialer continusly fc
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] asparaz43:
Sorry I'm trying to follow the thread but due to work I have little time, I have not yet figured out what the exact installation procedure, I see one in OP and one in the sixth post and others scattered in various pages, which one should follow? Thanks and sorry for my bad english
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] TheodorDaniel4:
Hi, anyone else encountering frezze after receiving/calling someone?

After finishing the call, I lock the phone and frezzes next second, nothing shows when trying to unlock, have to press the power button for 10-15 seconds to hard reset.

Dont know if this is because the fact I clean installed the last version and next day updated OTA the last version popped out.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] madhuvsan:
This seems to a way forward for official LOS to support dirac as the in call volume is quite a mockery .

In fact Mi has marketed Dirac when it was launched, but somehow they seem to have get away with oreo.

http://en.miui.com/thread-959067-1-1.html

It's time dirac brought back to official channel..
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] heinhuiz:
According to the OpenGapps page on Github you have to enable Google Assistant yourself.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] AleeexDK:
Official or Unofficial has fix to network fluctuation? (tan stock or AEX rom)
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Moycano:
I believe you need to manually select your local type in "Preferred network type." The option is hiden in "Mobile network." Using "WCDMA only" fixed the fluctuating coverage for me (I'm from Mexico, here we have mostly 3G with small patches of 3G+ -optimistically called LTE- up to 40 dBm weaker). Also, even if you use "LTE," it reverts back to 3G during calls (again, at least in Mexico).

Installing modem firmware zips may help too. Personally I only recommend the TWRP method since fastboot approach can wipe your data and leave your phone in boot loop.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Gray911:
https://review.lineageos.org/#/c/LineageOS/android/+/222627/
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] seinas:
What steps for instal newest unofficial build? What gapps and twrp use
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] stevedat:
[MENTION=4783643]Berlino[/MENTION]

I think I get your point now. I performed a data format first then wiped all. I would do what you suggested later. Thanks.

Hope that Official LOS will support Tissot to Ver16 (P).
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] methuselah:
a whole lot of features are still in infancies. I would love to see stable 15.1 before P.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] metalelf0:
It seems this is only related to devices which Google doesn't want you to use Google Assistant on. The Mi A1 isn't in such list, as all google one devices are meant to work with google assistant. It's some kind of bug in the latest google security patches (july 2018).
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] AleeexDK:
When unofficial update will be ready? If it possible can add fix to network fluctuations in 4G, pls.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Teguhperbawa:
Review play pubg.?:confused:
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] madhuvsan:
Anybody tried latest OTA yet?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] acenosekai:
I already update from OTA and now I got problem. My sim card are not detected. I already try switch sim card position but still no sim card

Anyone ?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] kopitalk:
Just reboot a few times until it got detected.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] acenosekai:
Already reboot dozen times still no luck ?. Still no sim card detected
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] kopitalk:
Have you put it back in the previously known working sim card slot and tried rebooting several times?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Charles IV:
Follow the instructions in the wiki, however use twrp from the first post, and if you want gapps either mindthegapps or the opengapps in the op.

If flashing gapps etc gives errors in lineage recovery, reboot to fastboot and fastboot boot twrp again to flash them. Alternatively you could flash the twrp installer from the op after flashing lineage, then when you reboot recovery it goes to twrp, but seeing as this gets replaced with every ota update anyway, there's little point.

---------- Post added at 06:44 AM ---------- Previous post was at 06:41 AM ----------

Unofficial guide is same as official, the only difference is the zip you are flashing and you can't transition between the two without wiping data.

See my instructions above.

---------- Post added at 06:46 AM ---------- Previous post was at 06:44 AM ----------

I get this as well. Somebody said to leave it a couple of minutes, but this isn't the case for me. I guess we should report a bug on Jira if it isn't there already.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] mr_lennsen:
OTA today took about an hour. That's a lot of time, just saying.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] kopitalk:
Surprisingly it was pretty fast for me. Maybe I got better things to do rather than looking at my phone for the OTA to finish.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] acenosekai:
Already tried change sim position. Remove and use SD card.. put it back to usual position.. reboot lot of time and still not detected ?

I'll try again later..
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] cvjetan22:
Yes, works perfectly.

---------- Post added at 11:47 AM ---------- Previous post was at 11:46 AM ----------

Just leave the screen on and don't touch anything and it works much faster (~20min).
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Charles IV:
It doesn't work with screen off, and if you enable faster updates in preferences it should bring it down to ~5mins?

Still a long time though.

Also the commit to update the wiki to the correct twrp has been merged.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] nitroax:
anyone notice the terrible mic record on instagram stories? Is there any fix for that? Thank you
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] mr_lennsen:
Thanks, I'll see next update!

Edit: Screen was always on, nevertheless ~55min. Last update was ~10-20min, nothing changed.

Any news regarding an update-surviving TWRP?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] fosiczka:
Hi, I'm here new and rom lineage-15.1-20180807 is my first update (i'm in 31.07.), please add instruction to manual update, I don't know how to do it...

I've TWRP 3.2.3-0, open gapps unofficial, magisk v 16.6

THX
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] kickadnan:
update directly from lineage updater, gapps will survive but magisk might gone, you need to reflash magisk manualy
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] madhuvsan:
After OTA update, Gapps and Magisk did not survive. I tried to re-install Gapps and Magisk from Abhishek's recovery. Magisk came back. But Gapps were still crashing.

Then I formatted my phone with recovery and did a clean install as per OP guide. Everything seems to be fine now.

For every OTA, I need my laptop to get things working. OTA update is always a failed state of affairs with this ROM.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] fosiczka:
Updater is very very slow, only 15% per hour :rolleyes:
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] madhuvsan:
As few pointed out, you just need to keep the display on. Mine was completed in 20minutes.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] elcrys:
Fingerprint wake-up

Is there a way to disable fingerprint wake-and-unlock? I don't like the idea of fingerprint reader constantly running and analysing everything it touches (it's capacitive, but still). I think it could be potentially very battery demanding (depending on the phone placement). I am quite satisfied with turning the screen on with the power button first and then unlocking with the fingerprint reader. Can anyone help, or it just can't be changed?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] joeyhuab:
I guess it doesn't disable it on 8.1. works for 8.0
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Lupin The Third:
Wait for the OP to fix it.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Nikhilesh_@14:
My battery backup isn't that great...maybe i did the flashing wrong....would you please share?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Rawwr:
i didnt dirty flashed, just didnt wiped my internal data. now that i did it booted fine

had to flash from nougat to make it work properly. even ok google is working fine now

---------- Post added at 08:40 AM ---------- Previous post was at 08:37 AM ----------

dude it depends on usage, flashing procedure has nothing to do with battery life.

if you keep low brightness and use wifi only you can have same screenon time
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] LilBlinx:
Since they share 99% of the hardware I am sure that there will be something used from Note 4 to get it working
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] tnmsrkr:
I already try this but even not working.. tried on this Android 7.1.2 Nougat (N2G47H.7.12.7)...
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] methuselah:
It's so early build. Just an alpha. So you should except these kind of bugs. Logcat for op would be nice

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

It is indeed. Sooti names developed also said so.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Ron1209:
I'm not new to XDA. I am aware that every first build has some issues, all I did was post so it comes to the ROM creator's notice that X feature is broken/buggy. It's only when you know what isn't working that you can start working on fixes.

Cheers!
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] methuselah:
With logcat don't you think would be better instead of making a post. Logcat or it didn't happened
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] t0per666:
How to make a logcat with not working led lights?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] gusbalaa:
I'm just use my device normally just chat with girlfriend, talk on phone couple times, open instagram or something with normal usage. Battery backup is depends how you use your device, not about flashing process. Greetings
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] HULK2275:
Protected apps aren't working
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] DoR3M3:
[MENTION=4231759]methuselah[/MENTION] yes of course this is early build of Lineage OS, sorry, I just didn't know if on this XDA post the OP would want to see the various issues/bugs to help, that is why I made my comments... :)
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Tuneer:
setup the screen lock
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] saski4711:
How do I do this with Linux? I couldn't see a USB drive to mount so I've tried

adb push lineage-15.1-20180302-UNOFFICIAL-tissot.zip /sdcard/

but that resultet in a weird error:

adb: error: failed to copy 'lineage-15.1-20180302-UNOFFICIAL-tissot.zip' to '/sdcard/lineage-15.1-20180302-UNOFFICIAL-tissot.zip': no response: Success

any help?

***NEVER MIND, USING EXTERNAL SDCARD FOR STORAGE WORKS***
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Devansh Bhinde:
Na still doesn't work.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Rzts:
Hey buddy ,

Thanks a lot for this awesome rom , i need some help ok Google not responding , even voice typing is also not working , should i have to install something ?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] gusbalaa:
Yes it's not working, maybe OP need to do something fix.

Wait until it fixed on next build.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] LilBlinx:
The same way you would with working LED lights

Download matlog and upload it here
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] t0per666:
Here sir! https://www.androidfilehost.com/?w=files&flid=254316

Happy now? :D

---------- Post added at 05:26 PM ---------- Previous post was at 05:15 PM ----------

Yeah i mean it will still capture the logs right? Anyway i did it hope the one whos asking will be happy now.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] danteomar:
Hi, I want to create a shortcut to Google weather but when I choose to create it, I doesn't appear on screen the shortcut... Any ideas?

Enviado desde mi Mi A1 mediante Tapatalk
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] fosiczka:
My TWRP is dead (I've LOS recovery), how i can install magisk? :eek:
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] kickadnan:
do "fastboot boot twrp.img" thing
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] boodaeng:
had the same issue but with the latest update (Aug 7) this started working for me... it's still a bit quirky though
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Charles IV:
For gapps to survive you need to use mind the gapps, works great for me, I believe Abhishek's opengapps (in op I think) also works.

Magisk doesn't currently work, but use the betas and you'll get it when it comes out, it would be nice if Abhishek could try to fix magisk's add-on.d like he did with opengapps, because currently this is the thing stopping me from updating while on the go.

I think some people flashed the su add-on after update though, and then installed magisk from magisk manager, so you could try this, then you don't need a compiler every update.

---------- Post added at 06:42 AM ---------- Previous post was at 06:41 AM ----------

I don't think it's possible, but you could try building los yourself with twrp built in, and set up a computer to run an ota server on your network.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] laserkater:
Lineage's addonsu didn't survive latest OTA, can anybody confirm?

Can't be flashed via Lineage recovery either, have to use TWRP for it.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] frojnd:
Hello. I've installed latest microg build (no gapps) with op's TWRP and I've experienced following issues:

During wiping process I saw could not unmount/mount media volume (I use microSD card) and I think it was used (on stock) for system...

It installed successfully nevertheless but when I booted up it automatically detected my local language and system froze. I had to press 10s power button to reset. This was yesterday. Today It also happened. Display off and everything unresponsive. I had to press power button for 10s to reboot.

Before install my phone was encrypted (I cannot use unencryped phone....) Also I was using fingerprint. Not sure if this is the reason for random freezes?

Also I followed official lineage wiki guide. What guide should I follow in order to not experience these random freezes?

EDIT: I just found out my phone is not encrypted and I can't actually encrypt it? I tap encrypt when I see for a second droid but then after a few seconds lineageos icon and I am back in system? Anyone experiencing this?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] sgace2:
Yes i can. Havent reflashed it yet.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] frojnd:
Why I can't encrypt my phone? During install process I just booted OP's twrp version. Do I have to actually flash it after lineageos installation in order to be able to encrypt phone?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] frojnd:
All my problems went away after I reflashed stock 8.1 following this guide: https://xdaforums.com/mi-a1/how-to/ota-official-fastboot-image-n2g47h-7-12-t3728929 removed all security lock settings. Left encryption untouched and reflashed microg los. No random freezes so far.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Wyroczen:
I'm not sure. If I will change kernel, it will be removed after OTA, and everything will be ok?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] leofwg:
yes.. without problem :) youll be able to change kernel again after update
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Wyroczen:
Thanks :D

Correct me if I'm wrong Unofficial LOS have seamless updates too?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] leofwg:
yes!! just like the official :D
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Wyroczen:
Hey I have problem installing LOS

I do all needed wipes and want to copy LOS.zip via MTP but nothing is happening, copying files don't work, and my internal storage size shows "Unknown"

Edit. I restarted to TWRP and now it works :P
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] stevedat:
From stock rom to LOS for 1st twrp wipe, don't format data; just wipe advanced - all

Data encrypted support
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] cvjetan22:
Did you use Mindthegapps - only they can survive OTA update. Magisk must be reflashed after every OTA.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Wyroczen:
Is encrypting data after installing LOS (i formatted data earlier) working?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] madhuvsan:
Thanks.. And I used Gapps, so next OTA,i will definitely install Mundthegapps or addon v2 unofficial ones from OP.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] seinas:
What instal steps udpade unofficial with mindgaps?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] jaureguiramirez:
Can you please share your GPS.conf file? I've been having problems with the GPS fix for a very long time.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] heinhuiz:
Not for me, but why don't you try?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] methuselah:
It's there in lineageos. Each time after fresh flash I have to go outside and struggle with getting gas lock
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] jaureguiramirez:
Yeah, I'm aware of that. I'm just curious to try his GPS file since his GPS seems to be working flawlessly. I have flashed various stock ROMs and other custom but nothing seems to make the GPS work like it should.