yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] schwabbele:
wow thanks!

Thanks to your hint I've set now the APN manually and everything works as expected.

I used the stock rom before where I had not to set the APN manually.

Thanks again!
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] timeo78:
:) It was an issue for my setup some time ago. You are welcome.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] peter go:
mmmm kernel franco work in mia1 with lineageOs?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Jackychans:
Anybody can help please :(:(:(
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Beneter:
Add this to your local manifest: https://gitlab.com/the-muppets/manifest/-/blob/lineage-17.1/muppets.xml
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] JoJoHarker:
sms are not working here (error 21)
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] arnova:
I've tried several gcam flavors on my phone but I can't make it work properly. Either it hangs after taking a picture with "Processing HDR" or the phone reboots after taking a picture. For now I've switched to OpenCamera. Anyone have any tips?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] wiz2596:
This one runs perfect to me with no issues

https://www.celsoazevedo.com/files/android/google-camera/f/changelog666/
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Utoixx:
Can you make PS4 remote play app work? I got an error 88001003 when I open the app. Some people say the app detected root but I do not install root before. I try to install magisk and use magisk hide then the app works normally, but I don't want to root because my banking app only works without install root! I installed lineage os 17.1 build 20201117. Thanks!
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] registra78:
Audio not working at all for LineageOS 17.1 Tissot

I have this "Audio not working at all for LineageOS 17.1 Tissot" problem documented in LineageOS Gitlab, do anybody know about it ?

gitlab.com/LineageOS/issues/android/-/issues/2341
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] hieron123:
Nevermind
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] MrAshuBrar:
i just got my screen replaced from a local repair shop. the display no longer turns on in lineage. Though the touch is working (i get haptic feedback when entering pin). Also the display works fine during initial boot and I can see xiaomi logo but as soon lineage starts booting, screen turns off. Maybe its related to driver support in lineage coz in stock rom, the display is working fine . Please help.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] dellinn:
Try using another kernel. I recommend Murtaza's separated perf+ kernel.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] peter go:
With the previous OTA I had a consumption of 1% without use when sleeping, now I had a consumption of 16% with the ota this Tuesday, does anyone else have this consumption? View attachment 5145669
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] baerenbisch:
Your doze session on 1Dec was very short ... 4min vs. 9hours ?!
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] peter go:
the next nigh, same battery drain, today in 6 hours 14% less battery in airplane mode without 4g, without wifi
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] peter go:
View attachment 5147595
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Krishna16:
Is Gapps included in the rom itself or do we need to flash it separately?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] heinhuiz:
GApps is never included in any official LineageOS ROM. That said, just a little bit of reading should have made clear to you that you have to flash it yourself. It is even mentioned in the opening post.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] heinhuiz:
View attachment 5151141
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] peter go:
with the last ota, in 7 hours 11% of battery drain.

I already did calibration, clear cache, etc
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] andrei1015:
Hey guys, coming from a discontinued rom, evolution, installed los17.1 yesterday.

On evolution the phone had multiple random reboots throughout the day and never really bothered to find out why. But since I moved I have the exact same thing. Did a full wipe and all that. What would I need to do to debug this problem? Get logs?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] wiz2596:
same here, since the last update I've noticed faster battery drain
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] heinhuiz:
View attachment 5154445

Also latest build. Sorry ;)
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] peter go:
:cry:last OTA, same battery drain

View attachment 5158453
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] heinhuiz:
What about dirty flashing an older build from when you didn't have these battery problems yet and check? If the battery drain is resolved then, you know where the problem is. As shown above your post, I don't experience any battery problem.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] heinhuiz:
Sorry, double posting (browser problem).
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] peter go:
is posible dirty flashing to old ota? without data loss?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] heinhuiz:
I've never had problems with it. Just to be sure, make a TWRP backup.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] isacang:
I installed the rom today. Liking it so far but I have a problem with bluetooth. Whenever i pair/connect a bluetooth device I get an error message saying "Bluetooth keeps stopping". Anyone has any idea what might be causing it?

Edit: I re-flashed the rom and it seems fine for now.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] peter go:
no, only the battery drain bug
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] cr0ssx21:
Can I flash version 17.1 from the lineage stock recovery, my current version is 16. I don't remember what happened the first time I installed version 16 and why I didn't have TWRP or it didn't stick.

The reason I'm asking is because whenever I try to flash TWRP, in fastboot mode in my mobile this happens:

View attachment 5159849

My pc can list my mobile when booted up but not in fastboot.

Any help would be appreciated.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] manchirua:
same, faster battery drain in last build
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] manchirua:
use twrp comic's dan's
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] heinhuiz:
Are you using GApps? I don't, maybe that is causing it.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] heinhuiz:
What happens if you use fastboot devices instead of adb devices in the bootloader?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] peter go:
Last night I activated the extreme energy saving mode and it only consumed 2% at night, the funny thing is that before I did not respect thatView attachment 5160385
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] cr0ssx21:
It did list it. Thanks for that. But flashing twrp after made it unresponsive, so I had to download another driver.

Finally got it running with the update. Again, thanks!
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Beneter:
Please differentiate between the TWRP installer and the TWRP image.

You can adb reboot bootloader to fastboot and then fastboot boot twrp-3.4.0-0-tissot.img. If you want to flash a persistent TWRP to the device I would recommend to flash the twrp-installer-3.4.0-0-tissot.zip via the booted TWRP afterwards.

If you want to boot to recovery via adb you have to adb reboot recovery.

I would recommend using the official source of TWRP.

BTW: I recently clean flashed and I am not experiencing more battery drain than normal.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] peter go:
is it better to install it from adb or from the twrp app? can twrp be installed from the lineage recovery?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Beneter:
The TWRP image should not be flashed. Just follow my procedure: Boot the TWRP image and then flash the TWRP installer.

Probably. But I never used lineage recovery.

This is getting OT. Please stick to LineageOS 17.1 here.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] sinommo:
Bluetooth is not working with me , i get bootloop in choosing time/date
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] sinommo:
Why i cant get MTP in PC ?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] MI-A1:
How to encrypt lineage os on MI A1? I am trying through settings option but it's not working.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] heinhuiz:
Just add a screen lock like a pattern or a password. That encrypts your phone.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] MI-A1:
Thanks for replying heinhuiz.. But locking phone Or password doesn't encrypts the device.. Is encryption not supported on lineage os?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] timeo78:
You can find the encryption under settings - security - encryption and logins.

If it says your phone is not encrypted, you can do it here. Just fully charge your phone and leave it connected to your power supply during encrytption process.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] manchirua:
deleted
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] heinhuiz:
I stand corrected. I even forgot about this (obvious) first step.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] manchirua:
I mean the battery used

not save battery
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] MI-A1:
Dear@timeo78

I have been trylng the same. But the phone just reboots once and nothing happens. Have anyone done this successfully or encryption is not implemented in mi a1 linease os?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Kiwinadians:
Is anyone else having an issue with saving photos to an external sdcard and then having them take ages to show up in the gallery (either lineage gallery or Google Photos)? I have a U1 card, and have never had issues on another rom, only Lineage 17, I have noticed from reading on other phone forums that this seems to be an across-the-board issue for 17.1. Anyone have a solution for it?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] timeo78:
I did this step successfully with LOS , but I can't remember the LOS version used for that. From a systems integrator's point of view I would start all over by resetting your phone to make sure there is no possible bug left in any setting.

I'm pretty sure this should not impact the encryption, but updating to latest firmware shouldn't do any harm.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] MI-A1:
Thanks timeo78.. i am on latest lineage os.. i tried many times but each time phone just rebooted once and nothing happened. @abhinavagrd_1129 can you please look into it.. Lineage and PE ROMs are wonderful. See if you can enable encryption by default. Many thanks @abhinavagrd_1129 for these two wonderful roms.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Beneter:
I have recently clean flashed and my phone is encrypted by default (after setting a pin).

For you to reproduce:

flash_all.sh Stock-ROM: tissot_images_V10.0.24.0.PDHMIXM_20200810.0000.00_9.0_49f16fd30d

fastboot boot twrp 3.4.0-0

flash lineage-17.1-20201208-nightly-tissot-signed.zip

I recently updated to 20201215 and encryption is still working. I have not flashed one of the two newer builds.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] MI-A1:
Thanks dear.. I will try this
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] hungnv20:
I install ROM lineage-17.1-20201222-nightly-tissot-signed.zip (latest as per lineageos website) for my Xiaomi Mi A1. I encountered following issues:

1. Mi A1 set up after installing (system UI keeps crashing). There's a notification that "Android setup - Mi A1 setup in progress - Tap to finish Mi A1 set up". But when I tapped, it's crashing.

2. During some calls (via phone calls, WhatsApp calls and Microsoft Teams call), there's much noise in the recipient phone when they hear my voice. I guess there's something wrong with connection to my phone's microphone. I don't have this issue hearing people talk over the phone, so it shouldn't be due to my internet connection. This happens about 50% of my number of calls. This was never happened with stock ROM issued by Xiaomi.

3. Titanium backup root app keep crashing when I open the app (after installing). I tried clear cache of Google play app, reboot OS, delete the .kermidas. file in /data/data but still couldn't successfully run titanium backup root app.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] ipsodroid:
I remember facing the same problem once: In my case the filesystem on the /data partition allocated all of the space of the partition and there was no space left for the encryption footer. I found the Solution on gitlab.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] MI-A1:
I did complete reset after installing rom and luckly it worked for me
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] tearex:
About Titanium Backup. You must give it permission to storage in Settings - Apps - Titanium Backup firstly. Then it will work fine.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] baerenbisch:
On my MiA1 with Lineage OS 17.1 it seems that notifications are delayed while the phone is locked (screen off). Usually the delay is only a few minutes (3-5), but sometimes if my phone has been locked for a long time (1+ hours) the notifications will also be about an hour delayed. The only app I use is SMS/Texto but I think it probably affects all apps. I realised this since about LineageOS 16. Is there a chance to get notified via sound and blinking LED direct when a SMS is received?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] martin_155:
Just deactivate 4G calls. I gave this phone to my gf, she has complained too (cannot fiddle around too much though, as it's not my phone). Seems to have fixed the issue. Latest modem (V10.0.24.0) is already installed.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] astrobugoy:
is Official LOS 17.1 Camera2api & EIS enabled by default?

is there any difference on fastboot "boot" & "flash boot" when flashing roms?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] peter go:
lineage os 17.1 have camera2api and eis enabled by default.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Mrmostafaxd:
Hello, when I connect my device to PC the device only recognize the PC as charging only and doesn't even display the prompt to switch it to transfer device on the notification, It is also not recognized in adb even when usb debugging is enabled, the problem doesn't stem from hardware issues because MTP was working and the device was identified in adb in the stock ROM before flashing LOS and they both currently work in TWRP.

Any Ideas how to solve this?

I flashed 17.1-20210119-NIGHTLY-tissot to my device.

And thanks in advance.

EDIT: fixed after updating the device to 17.1-20210126-NIGHTLY-tissot through the updater.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Beneter:
I flashed 17.1-20210119-NIGHTLY-tissot as well and do not have any issues with the prompt, mtp and adb.

Unfortunately my only idea would be a clean flash...
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] wiz2596:
I started having an annoying issue with mi cellphone, I'm getting random taps everywhere on the screen, like ghost touches, it fixes by itself after a while and then happens again, any suggestion if this is a software or hardware issue?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] hungnv20:
Thank you. I installed the Titanium backup app > Went to Settings-Apps-Titanium Backup and give permissions to everything. Then I open the app. It still crashed on opening. I tried many versions of the app (installing from Google Play or installing from .apk file), same crash result.

Did you mean to deactivate 4G connection and just use Wifi for calls? So what can I do when there's no wifi around? Did you mean to not let both Wifi and 4G connection at the same time? Thanks in advance.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Rueqwertz:
Hello there. Thanks for the nice work on the build.

Im using the latest update of LOS 17.1 from the microg releases. Magisk updated, 4G calls and wifi call disabled.

I´ve got one problem which i just cant figure out and couldn't find in any thread.

My Wifi just keeps disonnecting every now and then which can be just 1 to 2 minutes. If i go to wifi its showing me the network as saved but in most cases it just won't connect back on again automatically. Same problem in different networks. I would be pleased about every advice. Thanks.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] heinhuiz:
Did you install the latest modem firmware? You can download it here.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Rueqwertz:
Oh well. Never heard about these. I guess i just flash this via twrp?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] heinhuiz:
Yes.

Good luck.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Rueqwertz:
Thanks for the reply :) Lets see if this helps.

I just stumbled upon another problem where im not sure if its too offtopic for this thread.

I found myself in a recovery bootloop after reinstalling twrp which has been purged with the major LOS 17 update.

adb install recovery twrp.img (which is said to be the way on the twrp webside) leads to remote: partition table doesn't exist and adb install boot twrp.img (which supposed to be the way according to LOS) leads to the bootloop. Anyway I managed to flash the firmware update by temporarily booting the img.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Rueqwertz:
But part of the topic is just, that now my wifi seams fixed, but my bluetooth wont work anymore at all. The bluetooth app just crashes if i click on connect a new device.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] heinhuiz:
That is weird. Try dirty flashing the latest ROM again. If that does not work, I would start all over with a clean flash of the stock ROM with MiFlash, and then the LOS+uG ROM using using official TWRP from here. That's what I did 2 months ago and it works fine.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] martin_155:
Nah, you can use everything else for calling like 2G/3G aka gsm, cdma, wcdma and so on. You don't need to change those settings, neither do you need to deactivate 4G/LTE completely. "4G calling" has a separate toggle-switch in settings. Calling over WiFi? Never tried before - sorry, I cannot say anything regarding that.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] peter go:
this week we have update (OTA)?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] heinhuiz:
We just had one last week!
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] wiz2596:
What do you mean?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] heinhuiz:
Latest version is only one week old.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] abhinavgupta371:
(imp)

My PayPal has been changed to :-

Paypal.me/abhinavgupta0371

Kindly don't use the old one
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] timeo78:
Anything wrong with the updates or build server? Latest version is from Feb 2nd but normallly there is an update each week.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] yinga:
My phone doesn't seem to connect to 4G/LTE for some reason. No matter which network mode I set it won't connect to 4G/LTE. However if I use the app called Cellular-Pro I can lock RAT to 4G and I'll have 4G/LTE connection so I guess that should mean the issue isn't with APN settings. My phone can clearly obtain 4G/LTE connection but for some reason it doesn't.

Second I can't use VoLTE because of no IMS registration. Already tried flashing latest modem firmware. This seems to be a rather common issue so I guess it might depend on which mobile phone operator you have? I should probably try contacting them about it....
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] daerragh:
There was a new build released. I installed it vis Settings but at the end of installation my phone didn't restart but switched off instead. I powered it on and when the system booted, there was a notification "Finalizing system update" (or something). Is it OK? I mean, shouldn't the update install also in recovery?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Xmata:
Great job abhinavgupta371! Thanks a lot.

I have some problems... I don´t understand how to do a clean flash. The LO oficial site shows a procedure. Here, in firs thread I see a very simple instruction, another procedure...

I follow this steps:

1- Boot recovery twrp (official 3.5.0_9).

2- Flash LOS (Official ROM 17.1 20210223).

3- Change Slot and reboot to recovery.

4- Flash gapps.

5- Reboot.

Another problem I have is with charging. A very slow charging, 10 hs if the phone is on. I charge the phone powered off because of that.

Sorry for my bad engish bros and thanks for all. Regards
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] heinhuiz:
Don't change the slot in step 3, just reboot to recovery. Slot changes are handled automatically.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Xmata:
Thanks @heinhuiz!

I'll flash again my device at the weekend. Can I update by OTA after that?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] heinhuiz:
You're welcome 😊

If you're not using Magisk OTA updates should work, but if you are then I don't now, also due to the recent changes in the Magisk itself.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] vrjabd:
I have a few problems, after flashing lineage os and gapps through twrp my phone booted into lineage os with no google apps. When I boot into recovery I get lineage os recovery and not twrp. I cannot install twrp again. When I boot into fastboot and then type fastboot devices, no devices show up. In fastboot mode when I try to flash twrp the promp says waiting for device and nothing happens.

I cant installl twrp on my phone. I cant root the phone so that I can install twrp through the phone app. I dont know what to do. I am stuck now and need help. Thanks
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] daerragh:
1. You probably didn't flash gapps because only small gapps packages can be installed as there's not enough space on the system partition for the full package. When you install a big gapps package, it appears to be installing at first but ends up with an error ("not enough space"). Choose a smaller gapps package and install.

2. It is normal to have LineageOS recovery, because LineageOS installer replaces TWRP recovery.

3. You probably don't have the necessary drivers installed and your phone cannot be recognized by fastboot (but it should be bacause you used it previously). Enter fastboot mode, connect your phone to PC, go to device manager on Windows, uninstall and delete all Android drivers, then try to reinstall them or just run Windows Update (it installed the necessary drivers for me).
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] vrjabd:
Thanks. managed to fix the driver issue. reinstalled twrp and flashed lineage os again then reinstalled twrp and flashed gapps.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] daerragh:
Does it work OK? On the LienageOS website, its says that you should flash gapps immediately after flashing LineageOS.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] vrjabd:
yes works for me. when you install lineage os you need to reboot to install gapps. But lineage os boots into its own recovery. so when this happens I put my phone into fastboot, flash twrp and then install gapps.