yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi A1 Questions & Answers] Gunawan Suherman:
Dear varben , i want to ask , how the miA1 to connect with mic external in any apps , ? Thanks
[Xiaomi Mi A1 Questions & Answers] dennismac:
I installed LineageOS and eXtreme Kernel, but now i just want to get back everything to stock, i have TWRP 3.2.3 installed.

If I use MiFlashTool to get back to stock ROM, it will overwrite the Kernel and erase TWRP?
[Xiaomi Mi A1 Questions & Answers] Xaviers101:
Of course! Select "clear all" on mi flash tool before flashing. This will flash new boot image with stock kernel and recovery.
[Xiaomi Mi A1 Questions & Answers] SnakeByte:
I saw you already got a good answer, but just to clarify, dual camera works as telephoto and wide angle, with high quality background blurring when needed, both cams gives this phone features close to a dslr.

The Android 8 update did not brake the phone... yet :)

I'm using Mi A1 with Android 8.1 july patch right now, and so far i got no errors or slows. Hope this will help you.
[Xiaomi Mi A1 Questions & Answers] Chattamax:
That's cool. Do you know where I can get my hands on one in the US?
[Xiaomi Mi A1 Questions & Answers] SnakeByte:
I ordered one from Amazon in Canada, shipped from US lol... arrived in couple of days, was 274 dollars for the 4 gb ram, 64 gb internal storage.
[Xiaomi Mi A1 Questions & Answers] LZZ:
I'd like to know if there is any official way to get the Xiaomi Mi A1 Windows USB driver.

I know that's easy to find many links for it in a quick Google search, but since this kind of software can contain viruses and such, I'd like to get it from the official source.

The problem is that I can't find it and Google documentation points to a link that's redirecting to another one, in Chinese and without https, so I'm not sure if it can be trusted.

I can't post the link since I am a new user, so just remove the spaces: developer . android . com / studio / run / oem-usb#Drivers

Thank you very much.
[Xiaomi Mi A1 Questions & Answers] devvyas83:
If i flash a boot animation on my mi a1 and if i flash a wrong one and my phone goes into bootloop . Then can i revert it without flashing new stock rom
[Xiaomi Mi A1 Questions & Answers] Omega:
When connecting to PC, Device is Charging But Options Of USB Configuration For Selecting MTP, PTP ,Charging etc. are not available.

Tried Everything Reboot, installing and uninstalling of proper drivers, Different Operating System, Diff Cable etc.

ANY SOLUTIONS ?????
[Xiaomi Mi A1 Questions & Answers] SnakeByte:
https://xiaomiadvices.com/download-xiaomi-usb-drivers/

good luck.
[Xiaomi Mi A1 Questions & Answers] nakamotossh:
What do you think to create a telegram group to help more users.

As long as this thread grow, less helpful it becomes. We could also have an telegram bot on group to answer automatically FAQs using hashtags. For example: #treble, #twrp, #gsi, #rom, and many more.

And you can focus in others specific questions. What do you think?

If you not agree, try to think how is hard to everyone search thought 50+ thread pages to find out your answers.
[Xiaomi Mi A1 Questions & Answers] Xaviers101:
You don't have to search through all pages to find ans. U can put up a question and get an answer there and there itself. Doesn't matter even if the question was previously raised. Also are you not aware of the search function on xda. You could search any topic in general and search any query within a thread. Why do u think xda threads are for? Should people rather start threads/forrums on telegram, whats the use of xda then?
[Xiaomi Mi A1 Questions & Answers] nakamotossh:
Have you ever use telegram and joined to a group?
[Xiaomi Mi A1 Questions & Answers] Xaviers101:
[MENTION=7791553]Xaviers101[/MENTION]

In my opinion i think telegram groups are beneficial to testers for development as we can share files over it lets say a kernel to test before release.

Btw Have you ever tried to use xda consistently for once?
[Xiaomi Mi A1 Questions & Answers] Lupin The Third:
I think you can. Just flash the splash.img in fastboot. Extract that img from the stock rom file.

p.s. it's better that you do not quote the whole op. You can just tag a person if you have a question for him.

For example:

[MENTION=7055622]devvyas83[/MENTION]

The person will receive a notification that he was mentioned and where.
[Xiaomi Mi A1 Questions & Answers] abdullah-baig:
So guys i am on latest august 5 patch , i have enabked camera 2 api since april patch, and i have factory resetted my phone its gone, now i need expert guidance because i dont want to screw my phone and i need proper tutorial for anabling camera to api on august patch, there are various methods which are soo random, some need magusk etc root snd some of them doesnt, im totally confused so it would be highly appreciated if someone could provude me proper method to enable camera 2 api on august patch , thanks
[Xiaomi Mi A1 Questions & Answers] LZZ:
And how is this site official? The download is an exe file, and will likely need administrator rights to be installed. This is not safe at all.

I sent an email to Xiaomi and got this answer:

I already regret buying it. Does anyone know if this phone adb works with Linux?
[Xiaomi Mi A1 Questions & Answers] SnakeByte:
it is not official but is the same source used by official miui.com ( http://en.miui.com/thread-804755-1-1.html )

If you don't like it, don't use it.
[Xiaomi Mi A1 Questions & Answers] nakamotossh:
I've been used XDA for 6 years. To flash more than 7 different devices.
[Xiaomi Mi A1 Questions & Answers] Xaviers101:
Good! Congratulations!
[Xiaomi Mi A1 Questions & Answers] nakamotossh:
I've been used XDA for 6 years or more. My first flashed device was a gingerbread android 2.3.3.
[Xiaomi Mi A1 Questions & Answers] romantissm:
Hi [MENTION=3859635]varben[/MENTION]

Tell me please, is there any sense to make a backup of apps and its data when moving to new Android version?
[Xiaomi Mi A1 Questions & Answers] Lupin The Third:
Making a backup of your data always makes sense. Especially if youhave important or otherwise unrecoverable data. So yes, better safe than sorry.
[Xiaomi Mi A1 Questions & Answers] romantissm:
Thanks, mate. Titanium Backup is enough? Maybe you'd recommend something else? I'm open to suggestions:)
[Xiaomi Mi A1 Questions & Answers] Lupin The Third:
TB should be enough.

You have also twrp backup option, if you want to backup ALL userdata.
[Xiaomi Mi A1 Questions & Answers] andrei1015:
hey guys! just got my device and wanted to do the normal thing and put cm on it. I managed to unlock the bootloader bot when the tutorial says to run "fastboot boot twrp" the device doesn't boot into twrp. Pressing volume up + power boots the stock recovery. The device got updated to 8.1 before doing all of this.
[Xiaomi Mi A1 Questions & Answers] Lupin The Third:
What do you see on terminal (cmd) after executing the command?
[Xiaomi Mi A1 Questions & Answers] andrei1015:
Sorry forgot to mention. Well, the screen with FASTBOOT remains the same and cmd gives out a success message.
[Xiaomi Mi A1 Questions & Answers] Lupin The Third:
[MENTION=4264173]andrei1015[/MENTION]

Can you upload a screenshot of the output here?
[Xiaomi Mi A1 Questions & Answers] ushilives:
Hi everyone. I am after rooting my xiaomi Mi A1 (hence posting on this thread lol) but i have android security patch level from 1st February 2018. How do i go about rooting it? If i update it is going to update the August patch too and i can't see a patch for this to root.
[Xiaomi Mi A1 Questions & Answers] andrei1015:
After fastboot boot it stops being seen by fastboot devices and nothing happens on the phone.
[Xiaomi Mi A1 Questions & Answers] Lupin The Third:
That looks good.

Did you wait long enough for the device to reboot into twrp?

I remember having issues with other comand lines (like power shell) and used the stock windows cmd, which worked fine. You may want to try that.
[Xiaomi Mi A1 Questions & Answers] andrei1015:
Just tried again with CMD and after like 5 minutes nothing. DO I use the default twrp or a patched one? Saw some people talking about a patched one for oreo...
[Xiaomi Mi A1 Questions & Answers] Lupin The Third:
Ok, what recovery version are you using? Where did you download it from?
[Xiaomi Mi A1 Questions & Answers] andrei1015:
Latest official from the twrp site.
[Xiaomi Mi A1 Questions & Answers] robesjr:
Stock rom
[Xiaomi Mi A1 Questions & Answers] Lupin The Third:
I wold suggest a factory reset. If you decide to do so, make a backup first!!!
[Xiaomi Mi A1 Questions & Answers] kb2166:
Thank you. It worked :good:
[Xiaomi Mi A1 Questions & Answers] Custom rom 243:
How to delete own XDA thread
[Xiaomi Mi A1 Questions & Answers] shafayetsabbir3:
https://drive.google.com/drive/mobile/folders/1EAw5z0KFgSDFpniPiOHUDbcyQctmfZ1t

This is the Link & I did everything . I mean I did every step like Wipe data , System Etc
[Xiaomi Mi A1 Questions & Answers] Lupin The Third:
You need the correct recovery and the correct procedure.

This is the right recovery:

https://xdaforums.com/mi-a1/development/recovery-twrp-3-1-1-0-touch-recovery-t3688472

And procedure:

https://www.xda-developers.com/xiaomi-mi-a1-gets-android-8-1-unofficially-via-lineageos-15-1/
[Xiaomi Mi A1 Questions & Answers] naagaa:
Mia1 8.1 update will comes with lineage os

---------- Post added at 04:03 PM ---------- Previous post was at 04:00 PM ----------

Mia1 8.1 update comes with lineage os
[Xiaomi Mi A1 Questions & Answers] tumana93:
last few days i can't use reminder and customize in google assistent . anyoane has same problem ? what to do. i have feb update
[Xiaomi Mi A1 Questions & Answers] Lupin The Third:
I'm on lineage os 15.1 and I have the same. Can't find a solution yet. I don't use that option though.
[Xiaomi Mi A1 Questions & Answers] Lupin The Third:
Q&A section updated on first post. Let me know if you would like me to continue on those lines :)

Thanks!
[Xiaomi Mi A1 Questions & Answers] Aren_Mako:
Hi OP ,

Great initiative. I have a very basic question.

Why do we switch the slots after flashing the rom zip ? and then install gapps and magisk?

Does flashing the rom zip automatically switch the slot somehow and we switch again to go back to the slot we installed the rom on?
[Xiaomi Mi A1 Questions & Answers] Lupin The Third:
Yes, On a/b partition systems roms will flash to the opposite partition that you are on. This is why we have two options:

1. After flashing rom, reboot into bootloader, boot a recovery (which will boot with the slot where system is flashed active) and flash gapps and root.

2. After flashing rom, switch active slot, flash recovery and reboot into recovery, then flash gapps and root.
[Xiaomi Mi A1 Questions & Answers] SmallTarzan:
Report it.

---------- Post added at 06:13 AM ---------- Previous post was at 06:12 AM ----------

Yeah, there's a lot of people asking stuff. I appreciate the creation of this thread, keep it up!

I'll help too!
[Xiaomi Mi A1 Questions & Answers] Lupin The Third:
Input and help is appreciated and welcomed!
[Xiaomi Mi A1 Questions & Answers] Lupin The Third:
Q&A updated.
[Xiaomi Mi A1 Questions & Answers] k.jo99:
I'm on LOS build 20180302.

I tried to install Xposed framework sdk27 from magisk.

But it keeps showing "The module will be updated at next reboot" After rebooting also, same error.

I tried uninstalling magisk but got bootloop then again flashed magisk. What to do ?
[Xiaomi Mi A1 Questions & Answers] Lupin The Third:
Try deleting the module from magisk app and also the folder of that module in the Magisk folder using a file browser. Then, reboot and install the module again.

P.s. the magisk folder is located in /magisk. So, in the bases of root foler.
[Xiaomi Mi A1 Questions & Answers] bluntegg:
My Mi A1 is arriving today. In terms of security, what should I be doing right away? I heard sometimes 3rd party sellers can have malware on it and it's recommended you reflash the oem rom? Can I do this without doing root? I just want to make sure I have a fresh clean rom of the factory software and maybe look at other options after that (custom rom, gcam, etc).
[Xiaomi Mi A1 Questions & Answers] Lupin The Third:
If it is a new, unopened box, just boot into it and setup. Nothing else.

If you are concerned, and the box is opened and/or the phone is already setup, just make a factory reset.
[Xiaomi Mi A1 Questions & Answers] Maximaro:
Can we get Toturials for updating with files like these:

https://xdaforums.com/mi-a1/how-to/ota-xiaomi-mi-a1-ota-links-t3718542

(because i have everytime the problem of not working mi flasher and i cant download 5gb of files which are useless! (By the way thanks to the german Provider O´2 [NOT])

Or where can i get defenetly regular twrp working update files?

I would not do a manual mode when i get instantly the Updates =/
[Xiaomi Mi A1 Questions & Answers] Lupin The Third:
Aha, no, that one doesn't boot.

Try the one from here https://xdaforums.com/mi-a1/development/rom-lineage-16-0-t3831780

Or mohancm's one.
[Xiaomi Mi A1 Questions & Answers] andrei1015:
I did. Trying to flash lineageos but it says the signature verification fails...
[Xiaomi Mi A1 Questions & Answers] mlm1102003:
hi

what is the difference of slot a and b ?

aqnd which slot must be use to install rom and kernel?
[Xiaomi Mi A1 Questions & Answers] Lupin The Third:
:)

You are confusing me now.

Please, describe in detail what you actually want to do and we could help you accordingly.
[Xiaomi Mi A1 Questions & Answers] andrei1015:
Sorry. I am trying to have root and latest official lineage os.

What is happening now is that I managed to install the patched TWRP (mohancm one), I wiped everything, I transferred the los zip file to the sd card but trying to flash it fails because of the zip signature.

EDIT: Used a tool to do the same process from adb and this is what happens:

I just want to have a phone 2 days after I bought it :(

EDIT2: Managed to go back to stock but I still want to install lineage.
[Xiaomi Mi A1 Questions & Answers] beam2546:
Supprted API: 3

E:Failed to clear BCB message: failed to open /dev/block/bootdevice/by-name/misc: No such file or directory

can someone help me fix this i can't use my ohone now after install custom rom:crying:
[Xiaomi Mi A1 Questions & Answers] TrueMS:
Try to update drivers.
[Xiaomi Mi A1 Questions & Answers] Lupin The Third:
OK, now this is what has proved to work for me.

Download beforehand latest los15.1 from download.lineages.org and mindthegapps. Make sure the download was successful by checking the md5.

Put the files on an external sdcard.

Unlock bootloader (fastboot OEM unlock) in command line. Warning: userdata and internal sd card will be wiped.

After successful unlocking process:

Boot a twrp.img, preferably the one linked in los 15.1 official thread. Note: not the .zip twrp but the .img file

The command to boot the recovery: fastboot boot xxxtwrp.img

From the freshly booted recovery, Wipe your device clean, including format data (not just wipe). Warning: This will erase user data and internal sdcard and remove stock encryption.

Flash los15.1 official from external SD card.

After successful flash, reboot into recovery.

You will be greeted by the los recovery.

Flash mindthegapps

Reboot device.

This works for me everytime.

If it doesn't work for you, then there's something wrong your are doing.
[Xiaomi Mi A1 Questions & Answers] andrei1015:
Yeee, I'm on LOS! Thank you, those recoveries worked flawlessly!
[Xiaomi Mi A1 Questions & Answers] Lupin The Third:
Yey...
[Xiaomi Mi A1 Questions & Answers] KronozFX:
Hei, does someone know if there's the patched boot image for OPM1.171019.026.V9.6.5.0.ODHMIFE? It's the 8.1 august security update. Otherwise it might be impossible to root for me, as i am unable to make boot the TWRP image from fastboot command "fastboot boot twrp.img", it just stays in fastboot mode, and the cmd doesn't detect the device afterwards.

Thanks.
[Xiaomi Mi A1 Questions & Answers] Lupin The Third:
As the user above you, it seems you are using the wrong recovery.
[Xiaomi Mi A1 Questions & Answers] hofowitz:
VoLT not working on LOS 16 for Mi A1

Hi,

I'm on the unofficial LOS16 for Mi A1. The ROM is pretty smooth, but for some reason I'm unable to use VoLTE . I'm not able to make any calls using my Jio SIM that only works with VoLTE.

Any suggestions?
[Xiaomi Mi A1 Questions & Answers] Lupin The Third:
I think that the question you asked in the lineageos thread is enough. There's no need to ask in other threads for the same thing. :)
[Xiaomi Mi A1 Questions & Answers] dennismac:
I need some help

1. I was on Oreo 8.0 May security patch and I wanted to update via OTA, when I tried to Restore Images through Magisk and Uninstall Magisk couldn't find Images backup. So I flashed boot.img and WIFI stopped working. I tried Persist Ressurrection Tool but it didn't fix wifi issue.

2. I flashed stock 8.0 may security patch with MiFlash. Wifi works again. Updated to August patch via OTA. Rooted. After a Reboot, System UI stopped working.

3. Flashed stock 8.0 may security patch back, always cleaning data. Everything was fine, but fingerprint stopped working.

4. Flashed stock 8.0 may security patch again, saving user data this time, but for no reason all data wiped...

5. Fingerprint still not working =/

What can I do?

-EDIT

When i change to a Guest user, fingerprint works. HELP!

Tried Wiping Cache and no results
[Xiaomi Mi A1 Questions & Answers] Ashalby:
I'm on August update and rooted but i can't get google play app to work... it does open but if i press on any app or search for any thing it crashes and force stops... any solution?
[Xiaomi Mi A1 Questions & Answers] Adish123:
My phone is not detecting in fastboot mode...... Can someone share link of proper windows drivers?
[Xiaomi Mi A1 Questions & Answers] earther.n:
Is this the hint about tap to wake?

I am a user who want the future of tap to wake for this device.

I know this phone doesn't have the future of tap to wake.

ref. Wake with softkey or double tap

But I may get a hint for recovering the turning on the future.

When Mi A1 is covered with iPhone, A1 turn on the screen.

More specifically, both screens are rubbed together.

I have no idea why this phenomenon is happend and what is related with it.

Does anyone know something about this phenomenon?

And does this phenomenon happen even at everyone's device?

If we know the cause of this phenomenon, could we get the future of tap to wake.

By the way, I confirmed with iPhone6 and iPhone5. And it wasn't happend with redmi4.
[Xiaomi Mi A1 Questions & Answers] romantissm:
The most stable non-treble custom ROM for Mi A1 at the moment?
[Xiaomi Mi A1 Questions & Answers] Lupin The Third:
I'm on official lineage os 15.1 and I'm very happy with it!
[Xiaomi Mi A1 Questions & Answers] romantissm:
Thanks
[Xiaomi Mi A1 Questions & Answers] ouroboros12:
how do you boot to twrp to flash stuff? i flashed twrp and magisk. cant boot to recovery though, any button combinations for that?
[Xiaomi Mi A1 Questions & Answers] upilguebu:
How you flash twrp and magisk then??

For going to recovery mode press vol up + power button till the vibrate appears
[Xiaomi Mi A1 Questions & Answers] sonangrai:
Will our device get the official android pie??
[Xiaomi Mi A1 Questions & Answers] Lupin The Third:
Yes!
[Xiaomi Mi A1 Questions & Answers] romantissm:
[MENTION=3859635]varben[/MENTION] Converting /data to F2FS - does it make sense today?

Btw, official LOS for Mi A1 supports it?
[Xiaomi Mi A1 Questions & Answers] andrei1015:
Tried in the official thread with no luck. Maybe here. I tried updating LOS officially but it got stuck at finishing something before the reboot. Rebooted and nothing changed.

Why does this happen?
[Xiaomi Mi A1 Questions & Answers] Lupin The Third:
What do mean with updating officially?

Can you be specific about what you are trying to do and how are you doing it?
[Xiaomi Mi A1 Questions & Answers] andrei1015:
The LineageOS Updater menu item in settings. Checked for updates, downloaded, started the install process, install process remained for a very very long time on a step before the reboot, and didn't seem to be alright.
[Xiaomi Mi A1 Questions & Answers] ImSSin:
Hello Guys!! I need your help for this problem of mine.

I replaced my broken touch screen through a local shop. Only the glass was broken as the touch was working fine.

But after repairing the phone I found that the touch was only working in locked stock ROM and the touch was dead in custom ROMs as well as in twrp.

Only mohancm's 3.2.1 twrp was working after turning off and on the display. But after flashing the twrp.zip the touch was dead again.

In custom ROMs like LiquidRemix and AOSPex the touch worked but after the screen lock it was dead again.

Please help me as I have already spent hours to find a fix for this.
[Xiaomi Mi A1 Questions & Answers] Lupin The Third:
Did you repeat the process? Same result?

Could be a bad download...
[Xiaomi Mi A1 Questions & Answers] andrei1015:
Tried another download. Been stuck like this for the past few hours:

https://imgur.com/a/4kJjvWQ

Also the notification says install error.
[Xiaomi Mi A1 Questions & Answers] wallie 3911:
I have the tracphone j3 luna pro sm-s327vl ! Developers options are opened frp is unlocked ! SIM pin is still default set at 1111 What can be done to this phone ?! I'm not rooted, but would like to, I soft bricked myself but fixed it. I heard they are the hardest to root ? No computer at all any advise I can get. I'm real new, and I'm learning from online and you tube
[Xiaomi Mi A1 Questions & Answers] Lupin The Third:
Hm, I have no idea why that happened.

However I have not updated to the latest weekly.

What did people say in the lineageos thread?
[Xiaomi Mi A1 Questions & Answers] Lupin The Third:
Hi, actually this thread is for xiaomi mi a1 phone.

Nonetheless, I made some research and it doesn't look like your phone can be rooted. Actually, the problem seems to be the bootloader, which is hard to unlock as it is carrier locked. If/when you are out of contract you can ask the customer support to unlock the bootloader for you.
[Xiaomi Mi A1 Questions & Answers] andrei1015:
1 guy confirmed (but doesn't seem to be 100% the same as for him it seems to work just slower). And that's it. Also happened last week when I had the bad Gapps but I'm not counting that one. Thank you for the help!

Also do you have any idea why sometimes my calls do not end and remain in hanging?
[Xiaomi Mi A1 Questions & Answers] Jack_Rickwood:
Anybody know the samsung galaxy note 9s Type Allocation Code? (The first 8 digits of its IMEI number).
[Xiaomi Mi A1 Questions & Answers] ralphv4:
Hello, my Mi A1 went crazy after I boot an img file. It does respond but does not work on the right spot. Please help me fix this. Thanks
[Xiaomi Mi A1 Questions & Answers] Lupin The Third:
What boot.img file did you boot? How did you boot into it? Please give details.
[Xiaomi Mi A1 Questions & Answers] andrei1015:
Is flashing a newer lineage os zip from twrp the same as using the system updater?
[Xiaomi Mi A1 Questions & Answers] ralphv4:
I used this tutorial https://xdaforums.com/mi-a1/how-to/tested-google-camera-locked-bootloader-t3812221 and manually boot the bootmagisk using fastboot commands after that it boots and started wiping my phone. After that the screen won't touch to it's dedicated spot.
[Xiaomi Mi A1 Questions & Answers] Lupin The Third:
No, it's not the same.

The official update uses the seamless update feature (which the a/b partition scheme is for) which is safer. If things go wrong the system will boot to your previous working update in the other slot.

P.S. explained here: https://source.android.com/devices/tech/ota/ab/
[Xiaomi Mi A1 Questions & Answers] caiejay:
Hi, I wanna swap my black back with a red back and swap the fingerprint scanner. Is it possible to swap scanners and they stay working or will it stop working like the iphone's fingerprint scanner
[Xiaomi Mi A1 Questions & Answers] andrei1015:
Ah ok, thank you. Managed to finally update, but the newest update :D