yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] priban:
WiFi reconnects

Hello all! Does somebody have the same bug that WiFi reconnects nearly every 10 seconds? I did a clean Install and everything is working great except for that reconnects. No matter what wifi i am using. Maybe flex can look into this.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] greenlabel:
Nice to know. I was thinking to switch to note 7 but first I wanna check this Rom. So u feel good with it as daily driver! There are things u do not like of it?

Inviato dal mio G8441 utilizzando Tapatalk
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] vvenancio:
google backup

After flashing Lineage I'm not able to backup the phone through the Backup menu. Is it normal? I've opened Google Drive tried to backup from there but when I press "START BACKING UP" it does nothing.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Yasabh:
No issues here. Backup works great.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Klaus Meier:
You know the difference between installing per twrp and ota? You ask for twrp and now you talk about ota.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Vignesh Prasad:
Hi guys,

I have signal problem, many times no signal and alway low signal while other mobiles with same sim works good. Please suggest some fix [MENTION=5120185]flex1911[/MENTION] any solution?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] :
Is it normal for the ota "finalising package installation" to take about 20 mins to reach about 37%?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Ahmed Kassem:
Keep the screen on while installing ota, it does not work with screen off.

It appears that flex is working on kernel rebase, that's gonna be great!
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] m.shoaibb:
How to apply dark theme on stock dialer and messaging app?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] :
Have you tried settings>display>style?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] m.shoaibb:
Already dark but no effect on dialer and messaging app, I think there was an option to apply dark theme in stock rom on dialer and messaging but cant find here
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Creater0822:
So where is the flashable TWRP?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] albsat:
You are misunderstanding me, but I guess flex know what I mean. The new format of lineage can't be flashed without using the custom recovery if coming from another rom. The custom recovery is required due to the new ota feature. You could install the unofficial lineage rom via twrp before even when you were in another rom.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] priban:
I did this exactly like you did multiple times and every single time i get the "corrupt data" error. I wiped both Slots (all of it) multiple times and tried with alternating LOS nightlies.

It seems as if there was something wrong with the updater. I used OpenGapps but i dont think that this will make any difference in this case.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] teacapan:
AOSP dialer and AOSP messaging do not have dark theme,

try google phone v29 minimum and try google messaging v4.1.067.

View attachment 4732859
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] heinhuiz:
I'm on microG+LOS 15.1 with encrypted data (I know it's not supported but I managed to upgrade without wiping). Tried to upgrade to microG's 16.0 using several methods: flash directly; flash official 16 and then microG's version; flash [MENTION=5120185]flex1911[/MENTION]'s experimental version and then microG's, but every time the fingerprint scanner is not working (and I'm not sure about networking either). I didn't take any logs and obviously my current system is not common (but stable).

Has anyone with the same setup managed to upgrade to microG's 16.0 without wiping /data? If so, please tell me how you did that.

If not and if I really have to wipe all, can I restore all apps and data with oandbackup?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] HidekiRyuga:
advantage of mindthegapps? I'm using opengapps nano, Enlighten me.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] HidekiRyuga:
Flashing instruction

Proper Flashing Lineage 16 / fixing encryption after formatting data

Based on OP Instructions if your coming from other rom/stock

since you are here you are aware that you have a UNLOCKED bootloader

Download the latest build here https://download.lineageos.org/tissot

hot boot the downloaded TWRP provided by flex via fastboot

-Format Data 1st

-Wipe Dalvik, System, Data, Internal storage

-Change a/b slot

-Reboot to fastboot and again hotboot to TWRP

-repeat wipes for other slot

-reboot to fastboot and again hotboot to TWRP

-flash LOS rom

-reboot to fastboot and then to TWRP as before

-flash GAPPS

-Reboot to system and setup your device as usual

-reboot to bootloader again hot boot twrp

-flash MAGISK if required or add on su on los16 whatever you preferred

-reboot system

now to fix the encryption

-you need a terminal app for that I used termux

-open termux we grant root access by typing "su" without "" ofc you have to grant su access

-type in this

ls -l /dev/block/platform/soc/7824900.sdhci/by-name/userdata

This should give you an output similar to this: lrwxrwxrwx 1 root root 21 1970-08-01 02:10 /dev/block/platform/soc/7824900.sdhci/by-name/userdata -> /dev/block/mmcblk0p49

Next, you need to calculate the block size of the existing partition. Again, in termux, type in:

tune2fs -l /dev/block/mmcblk0p49 | grep "Block count"

this should give you: Block count: 13449081

Formatting /data in TWRP uses up all the blocks, but encryption from Lineage needs 16kb of free space at the end of the partition to store the headers. The block size is 4KB so you basically need to subtract four from your block count to get the new partition size allowing for the encryption headers

(in my case 13449081 - 4 is 13449077)

now you have to reboot to bootloader again and hot boot the twrp

-unmount data and go to advance>terminal and type in this codes:

e2fsck -y -f /dev/block/mmcblk0p49

press enter

resize2fs /dev/block/mmcblk0p49 13449077

press enter

now mount system again and reboot system and encrypt your device.

thanks to [MENTION=2410753]Brendanus[/MENTION] for giving me flashing instruction and [MENTION=4690504]gordonthegopher[/MENTION] for fixing encryption.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] boodaeng:
i'm also running microg and went the same path, so there's at least two of us :) you need to upgrade your firmware for the fingerprint scanner to work. i had the same issue but after flashing the latest (firmware_V10.0.6.0.PDHMIXM.zip) via twrp it works (including LTE bands).
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] heinhuiz:
Great! I will try that.

Any chance for a quick download link?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] boodaeng:
I used the latest from this thread https://xdaforums.com/mi-a1/themes/twrp-baseband-modem-april-stock-rom-t3777901 (9.0 March patch)
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] heinhuiz:
Thanks again (and thanks [MENTION=4936496]joeyhuab[/MENTION]). Was looking for that thread here in the ROMs section, but it is in Themes :confused::o
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] heinhuiz:
- deleted -
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] boodaeng:
want to add that you need to flash the full firmware zip, not just the modem like in the example in that thread. the zip has all the needed firmware partitions like keymaster, lksecapp and so on.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] heinhuiz:
Thank you, I did that and everything works now. (Even got Magisk working, and XPrivacyLua under EdXposed. Hopefully OTA will work too.)
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] HidekiRyuga:
I thought "All official builds already include the up-to-date firmware, so you don't need to update it manually"
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Obscurax:
LOS for microg isn't official.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] FenderKetchup:
Nowhere.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] corvonero:
I flashed the rom yesterday coming from stock.

Super smooth experience, flashing guide from OP works fine, no problems with encrypted data.

I flashed the rom following the OP guidelines coming from a wiped stock rom with february firmware.

I just have a problem with the bluetooth: every time i connect any device it just keeps on connecting and disconnecting the device and i get an error message on the screen that the bluetooth app has stopped working.

I tried with 3 different devices and 2 cars and no one works, i keep getting the same behavior.

Anyone can help me please?

BTW thanks [MENTION=5120185]flex1911[/MENTION] for all your work and this nice rom
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] ashjas:
I am on 20 march of this ROM. Everything working.

Can anyone provide steps that gurantee a successfull OTA update?

Strange that there is no official steps of flashing OTA zips in OP, especially when users are reporting here getting into bootloops.

Thanks.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] nararendra:
Use the inbuilt updater in settings
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] :
Just use updater in settings. It's a little slow sometimes but works fine.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] vvenancio:
"data corruption" after OTA

after last OTA my phone keeps trying to boot (shows lineage animation) until it shows "data may be corrupted, try again or factory reset".
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] drrossum:
How do you know when these updates propagated to the nightly builds? Because that is the time to OTA.

Are the nightlies generated directly from [MENTION=5120185]flex1911[/MENTION]'s git repo?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] flex1911:
The nightlies are generated from the sources on LineageOS git. I maintain tissot trees here and update them regularly.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Ahmed Kassem:
I noticed that kernel changes don't show in lineage changelog, I wonder why does that happen? I also wanted to ask if you gonna use the new firmware that just got released yesterday? Thanks
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] saaad56:
can any body tell me how to get the full capacity i.e. 64 gb as when i installed lineage 16 official rom on my xiaomi m1 on original software the resulting system is only 32 gb.is there any way to get the other slot storage to system
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] HidekiRyuga:
You wanna destroy your system? That's impossible, a/b system is really good imo, Mi A1 is lucky to have that partition.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] bmccoy11:
I've had a similar problem too -- however, my connection usually drops every 2-5 minutes instead and my WiFi often remains off when my phone is in standby until it's turned back on, resulting in tons of dropped VoIP calls, excess cellular data usage (thanks to it constantly being active whenever my WiFi connection drops), and late notifications. I've heard of a myriad of other users with WiFi problems on this phone but I haven't seen anyone else report the same exact problem I have right now, and this is after a complete low-level/EDL restore of my phone's partitions to the way they were when I first bought it. When reverted back to Oreo, my device doesn't have these problems but as soon as I flash the stock Pie ROM the constant network drops come back. My router is an ASUS RT-AC68U and no other devices on my network have had this. Has [MENTION=5120185]flex1911[/MENTION] or any other kernel dev for this phone looked into (or even heard of) this issue at all?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] flex1911:
Kernel merges usually bypass gerrit and that's why they don't appear in the changelog.

About the new firmware - I want to be sure that it's stable and can be used globally.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] mac-duff:
Hello,

yesterday I updated my device as flex1911 described from 15.1 to 16.0 and everything worked and stills works without a problem (mindthegappas, magisk).

However, I have a question about Lineage OS 16. When I set my clock on the left side of the status bar, the alarm clock icon is displayed correctly on the right hand side. But when I set the clock to the right side, the alarm clock is only displayed as a dot. Is there a way to have the clock and the alarm clock symbol on the left hand side at the same time?

Thanks

Stephan
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] saaad56:
Thank u for the advice but original software of the phone show me the full capacity of the storage despite the a/b slots also present.how is that done;i was wondering thanks for the reply btw
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] spfmuntz:
1- March Firmware

2- Unlocked bootloader

3- Custom TWRP booted from fastboot

4- Wipe ///

5- Lineage installed

6- custom twrp booted again

7- opengapps nano installed

8- custom twrp booted again

9- magisk installed

10- magisk manager installed

11- API2 Enabled with commands

12- Gcam installed

13- My daily-use apps installed

14- Magisk removed

15- Pokemon Go Installed

16- rebooted to bootloader

17- Splash Screen flashed

18- rebooted

Everything working fine, i'm here just to say: Thank you, awesome work; i was tired of ram and background apps bugs on stock Pie (never lost 4g with pie update, wifi working fine with bluetooth, etc...) and three monthly updates didn't solved anything
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] heinhuiz:
Indeed, it isn't, bit it claims to be based on official. That's why I expected the current firmware in the latest build.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Klirioth:
What new firmware do you reffer?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Yeisonkirax:
The 10.0.7.0
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] fhsd22:
Can anyone teach me how to move from Lineage OS 16 to roms like Havoc OS having hard time because when I flash official twrp using boot twrp of Lineage it shows system is destroyed, I want to change to other roms. ? please help!
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] henk_j:
Hi, I try to put ldac in my Bluetooth settings in developer options but it still goes back to default. What am I doing wrong?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] rkview37:
after booting lineage twrp wipe system,data,dalvic cache &then flash other custom rom

after that flash twrp installer what u prefer

without deleting lineage os u cant use other twrp

& u have to first flash a custom rom to install any twrp permanantly
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] rexendz:
Hello my friend, I have another custom rom installed and I would like to try this rom. I have a flashed twrp installer and currently have twrp as my recovery. Can I flash Lineage OS without hotbooting your twrp variant and just use my installed twrp? Does twrp remain after flashing lineage? Thank you my friend.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] gartzen:
Nope and nope.

But you can hotboot twrp anytime to install any other twrp/rom.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] cheffy11:
Read the thread. Don't be lazy. All info has been said a thousand times in this thread already.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] priban:
Solutions

I think i solved this problem and another one i had regarding the update.

1. I realized that the connection drops, when multiple WiFi-Spots are around and you have been connected to them. It seems to me that the ROM chooses the WiFi with the strongest signal. But when there are more than 1 possible hotspots it switches between them. Try to turn one of them off and see if it solves this problem (maybe you can just remove one from the phone).

2. The second problem i had was the "data corrupt" message when trying to update. I tried it multiple times and did everything exactly like described. Yesterday i tried it again with no luck, so i decided to "repair or change filesystem" the data partition (on both slots).

I just used "change filesystem -> format partition with ext4" (even though it was ext4 before). But after that the update process went through without problems.

Maybe this helps some people. Now the ROM is working flawlessly! Good work!
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] vvenancio:
Hey! I'm having that "data corrupt" after I try to update, can you give the full step-by-step to use your solution, sorry, it's the first time i'm trying a custom rom and I'm feeling a little lost here.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] champagne66601:
How often you guys recommend me to update? Daily, weekly or monthly?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Shobit Joura:
2 weeks , or monthly.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Palan48:
when the home button is held down assistantand pixell launcher not working. What is the solution.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] leofwg:
Go to Settings>Apps & Notification > Default Apps> Set the assist & voice input to Google
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Palan48:
thank you so much

---------- Post added at 03:00 PM ---------- Previous post was at 02:52 PM ----------

Does Google Camera have a Dual Camera feature?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] seanmcken:
in other pie ROM there is still a problem with camera focus, so is there any problem here in linage 16?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] m.shoaibb:
No focus issues
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] eberhardweber:
So the last two updates I've tried to apply via the built-in updater have both bootlooped - first the 31st and now the 2nd. I just reflashed the build together with gapps and the phone was fine after that, but this is the first time I've had such issues. Before that, all my updates went perfectly. Has anyone else had such issues?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Mecsf97:
Yup, just ran into the same problem, and i use HW encryption, so i had to reflash stock ROM and then flash the new build, which now works perfectly, but it was all really annoying. Not sure if I'm gonna be downloading tomorrow's build.

---------- Post added at 04:47 AM ---------- Previous post was at 04:44 AM ----------

Absolutely not, my friend!
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] mac-duff:
Hi,

can I somehow disable the pin request after airplane mode?

Second question I have is regarding firmware. Will the latest be included or do I have to flash it via fastboot.

Thanks
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Palan48:
home virtual key, System Navigation Is there a feature?

---------- Post added at 09:32 AM ---------- Previous post was at 09:17 AM ----------

1- What should I do when I get Google Pixel Launcher constantly stopped error?

2- Google Dialer is the latest version and Call Screen feature will come

3- Mi a1 Stock Camera Port?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] aditya104:
Please report if VoLTE is working now or not using this method. I got Jio sim today and it screwed everything.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] aditya104:
The above method broke Jio VoLTE. To bring it back I followed this procedure by u/saski4711
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Francygal2001:
hi how can lineageos 16 be installed?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] :
Read the first post in the thread.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] m.shoaibb:
I've a weird problem, on march 25 build but also present in first official build, when someone calls me, sometimes phone rings normally with vibration but sometimes doesn't ring, not even vibrate, I've to restart the phone again and again then it works for sometime, any fix?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] eberhardweber:
Thanks for the comment! I was starting to be afraid it was just me. I think I'll give the updates a week :D
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Francygal2001:
I managed to install the lineageos 16 successfully, but when I go into recovery I find that stock Android, and normal?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] FenderKetchup:
That's fine. LineageOS overwrites any custom recovery that you have installed. This is because Mi A1 doesn't have a separate partition for recovery, it is stored in boot partition.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Francygal2001:
so can I upgrade without TWRP installed?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] FenderKetchup:
Yes, my friend. OTA update doesn't use recovery. And even if you want to manually flash an update, you can simply hotboot TWRP from fastboot.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Meme :D:
Does someone face bug with AudioFX? Like i am listening to music and audiofx works fine, but when i change song, it looks like audiofx stops working, it starts working again when i reopen audiofx app, but it stops working again when i skip song. Anyone got same problem?

I dont have any sound mod installed or something..
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] GustavoWiesner:
Do you have the April patch already available?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] nextheart:
No method worked, had to flash stock through fastboot to enable VoLTE. But MTP is not working in any custom rom (in recovery or when file transfer), so back to stock.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Francygal2001:
237/5000

hi I had magisk installed with temporary TWRP restarted in bootloader and installed another TWRP (cosmicdan) I flash the file to have it permanent and when I restart to go to the system it restarts me again on TWRP, what did I do wrong
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] henk_j:
Reinstall magisk in twrp.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] heinhuiz:
You didn't read the instructions, which clearly state:
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] juanantofb:
Google assistant fixed.

!. in setting asign long press to the Home button to Google Assistant

2. press Home button, Google Assistan apears

3 Now you can invoque Google Asistant with Home button or with voice command

Regards.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] drrossum:
Executing the "short tap" action "recent app switcher" twice has the same result as the "last app" action. Depending on the context, the former can lag enough to miss the second tap and thus fail to switch the app (disclaimer: I did not see related commit messages in git but I have not actually tried the latest nightlies yet).

Assuming that this issue still persists, may I make a suggestion to the dev? (whose work and generosity I appreciate very very much!):

Is there a reason for not having a "double tap action" menu item for the recents button? Otherwise, adding this could solve this minor issue. Does that make sense?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] luciorasta:
LDAC only works if you have an ldac device connected. Otherwise Bluetooth setting goes back to default.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] nihil39:
Thank you [MENTION=5120185]flex1911[/MENTION] for this great rom, i followed the instructions and it works fine. Just a question: is it normal that it it takes almost 20 minutes to update the device, excluding the time to download the rom? I updated with 3rd of paril build and the process went fine but it took that insane amount of time. The phone was usable but apparently it was "finalizing installation" for 20 minutes or so.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Francygal2001:
hi if i would like to go back to android stock what should i do?
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] Ahmed Kassem:
Yes that's completely fine, just keep the screen on as it won't proceed with a locked screen.
[Xiaomi Mi A1 ROMs, Kernels, Recoveries, & Other De] cheffy11:
Don't