yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi A1 Guides, News, & Discussion] Natakranta:
yeah, fastboot verson can have influence as well. I got mine from Google link at Nexus factory images page, when I neede to unlock Pixel 2, prior to having Mi A1 in family. Here:

Warning: To flash a device using one of the system images below (or one of your own), you also need the latest fastboot tool. You can get it from the Android SDK Platform-Tools package, which you can download here.
[Xiaomi Mi A1 Guides, News, & Discussion] arief0303:
FYI, i had a trouble flashing the stock rom using the Mi Flash tool. It says that it succeeded flashing the whole thing(and it says it did it in 0 seconds)but it did nothing as i waited an hour for the device to restart. Then i flashed it manually and turns out it failed accessing the .bat file because i put the image folder inside a folder named "Mi A1" and the culprit is because there is a "space" on my folder's name. Then i renamed it to "MiA1" and all is well.
[Xiaomi Mi A1 Guides, News, & Discussion] rahul-7:
So my phone was rebooting randomly (after flashing) -- I contacted customer care they told me to hold power button while in fastboot mode.

This solved the reboot issue, apparently I was running my Mi A1 in fastboot mode itself. Am I correct or it wasn't exited properly?
[Xiaomi Mi A1 Guides, News, & Discussion] majamee:
Which script(s) did you use to flash? If you can give me the exact name of the script you used and best the terminal log/ output, I can help you. With that vage information, your guess is as good as mine ;)
[Xiaomi Mi A1 Guides, News, & Discussion] Bennybtc:
flash_all_except_storage = Keep your data, bootloader gets re-locked

does it means all my apps and photos will safe?
[Xiaomi Mi A1 Guides, News, & Discussion] Rajeev:
Yea it will be safe
[Xiaomi Mi A1 Guides, News, & Discussion] Bennybtc:
Thanks, 1 more question

Is it safe to perform downgrade to nougat with flash_all_except_storage? Currently in oreo feb
[Xiaomi Mi A1 Guides, News, & Discussion] Rajeev:
May be u will face some force closes. Not sure but u can downgrade
[Xiaomi Mi A1 Guides, News, & Discussion] majamee:
They should be, if nothing goes horribly wrong. Backups are always a good idea. ;)
[Xiaomi Mi A1 Guides, News, & Discussion] guidomagaldi:
hello Guys, I am trying to follow this method but I get missmatching image and device, any idea on how to move on?
[Xiaomi Mi A1 Guides, News, & Discussion] majamee:
To see why the mismatch message apperas:

Please boot your device in fastboot mode and run the following command

fastboot getvar all

There you will find the model identifier. For Mi A1 it should be tissot. If you have anything else, I would need to know what to be able to tell more.
[Xiaomi Mi A1 Guides, News, & Discussion] guidomagaldi:
Yes, it says Tissot
[Xiaomi Mi A1 Guides, News, & Discussion] majamee:
If you are on Linux or Mac try calling the script with "sudo". Also please check if you have the latest version of adb & fastboot installed. If this does not help please post your full terminal input and output.
[Xiaomi Mi A1 Guides, News, & Discussion] _mysiak_:
Most probably will not work. First of all, Oreo uses different data encryption, so you won't be able to decrypt data after downgrade. Second, even if you would be able to decrypt data, I guess that almost all apps will force close as settings/databases from newer Android version can't be correctly read on the previous Android versions.

Long story short, don't even try it, unless you're ready to do factory reset :)
[Xiaomi Mi A1 Guides, News, & Discussion] guidomagaldi:
Ok, I had to do it manually one by one but it worked :)

Thanks!
[Xiaomi Mi A1 Guides, News, & Discussion] beeshyams:
[MENTION=3964603]majamee[/MENTION]

[*]You need to have an

up-to-date version of adb and fastboot

to be installed properly on your system. For that please just follow the guide here

Thanks very much for the detailed post

I've soft bricked my device on the second day I owned it (my fault) so want to be doubly sure that I am doing things right . Few questions

1. I have only a 32 bit Linux machine with ADB version 1.0.32. No windows (crashed) . Can I go ahead with this version of adb?

2. I am on Feb 18 update and the fastboot image is of January. If things go wrong and I flash this, will I have a problem?

Thanks in advance to anyone else too, for helping out
[Xiaomi Mi A1 Guides, News, & Discussion] majamee:
1.) 32 bit Linux shouldn't be an issue and the version of ADB seems to be up2date.

2.) If your device is any kind of bricked status, it is recommended do a clean start, meaning loosing all your data --> flash_all_lock = Full flash, like factory reset, bootloader gets re-locked

Good luck! If your device is no complete brick or you accidently deleted IMEI/ SN then you should be already good to go after flashing is completed :)
[Xiaomi Mi A1 Guides, News, & Discussion] beeshyams:
Thanks so much , love the prompt reply :) Can you please clarify on the second pint in my post - will flashing this on ROM having a later update be a problem? Right now, my device is fine, service gys fixed it but don't want to go there again, rather would like to fix it myself so asked
[Xiaomi Mi A1 Guides, News, & Discussion] majamee:
The fastboot image here is 100% the same as it is provided by Xiaomi for the Mi A1 themselves. So it should be fine. :)

Also, so far I didn't have any problems with sub-sequent OTA updates, like the one from February.
[Xiaomi Mi A1 Guides, News, & Discussion] beeshyams:
Thanks again :)
[Xiaomi Mi A1 Guides, News, & Discussion] Arikahn:
Para quem não está conseguindo, descompactar conforme falado, de preferência no drive C:/"nome da pasta", porém o arquivo de imagem .tgz deve ser descompactado, resultando em um único arquivo .tar, que por sua vez deve ser descompactado NOVAMENTE. Depois colocar TODO o conteúdo descompactado na mesma pasta do adb/fastboot, seja lá onde vc o descompactou.

Após esse procedimento, escolher o tipo de instalação como falado acima e entrar via cmd na pasta.

Conectar cabo com o celular em modo fastboot (botão menos + ligar)...

digitar: "fastboot devices" (para verificar se está conectado) - se sim aparecerá alguns números na parte logo abaixo, se não conectar e desconectar. Se nem assim, você precisará baixar os drivers da usb/xiaomi e instalar. Comece de novo, até reconhecer o celular.

digitar: "flash_all" <ENTER> ou...

digitar "flash_all_except_storage" <ENTER> ou...

digitar: "flash_all_lock" <ENTER>

e esperar... +/- cerca de 20 minutos até ele concluir tudo SOZINHO.

--

Grato aos amigos deste post.

Se você não sabe português, traduza no "google translator" ok.

Qualquer procedimento fora disso para flashear vai dar errado. Boa sorte.
[Xiaomi Mi A1 Guides, News, & Discussion] h_saroy:
Is this the official stock rom for mi a1!!
[Xiaomi Mi A1 Guides, News, & Discussion] Rajeev:
Yea. It is.
[Xiaomi Mi A1 Guides, News, & Discussion] h_saroy:
thnx :)
[Xiaomi Mi A1 Guides, News, & Discussion] majamee:
Update: Added OPR1.170623.026.V9.5.4.0.ODHMIFA Update (Last official stock Android 8.0 version including February 2018 security patch)
[Xiaomi Mi A1 Guides, News, & Discussion] h_saroy:
in mi flash tool which option should i select!!!

save user data or clean all & lock
[Xiaomi Mi A1 Guides, News, & Discussion] majamee:
http://lmgtfy.com/?q=mi+flash+tool+flash+options

Multiple Flashing Options

Mi Flash tool is providing you three options of flashing Fastboot ROM. So, You can use the command with any suitable choice of yours.

Clean All – You can do the clean installation of MIUI ROM Thorugh this command. It clear all data & Internal storage through it.

Save User Data – It will install MIUI Firmware expect the internal storage of your data. By which you can save internal storage data with this flashing option.

Clean All & Lock – This will Clean your all data & also it will lock your unlocked bootloader using this command.
[Xiaomi Mi A1 Guides, News, & Discussion] h_saroy:
thnx i did it with clean all & lock :)
[Xiaomi Mi A1 Guides, News, & Discussion] emprazol:
cant flash via EDL package is just for fastboot not for EDL mode

NON-HLOS.bin is not present and modem.img is present
[Xiaomi Mi A1 Guides, News, & Discussion] bithdk:
Sorry if noob question but I just flashed (OPR1.170623.026.V9.5.4.0.ODHMIFA) and I still get the 440mb update notification...am I missing something?
[Xiaomi Mi A1 Guides, News, & Discussion] majamee:
This is correct as the latest available stock fastboot image is V9.5.4.0 and the latest available version (via OTA) is V9.5.9.0
[Xiaomi Mi A1 Guides, News, & Discussion] bithdk:
Oh thanks! I was sure I saw a 5.9 somewhere but I just couldn't find it.. So we just wait for fastboot version?
[Xiaomi Mi A1 Guides, News, & Discussion] majamee:
Either that or applying the OTA, other choices right now are at least much more a hack and not to be mistaken by any official method. Here you can lock your bootloader in order to further secure your device and still be able to boot without issues. ;)
[Xiaomi Mi A1 Guides, News, & Discussion] emin93:
Dunno if you already have seen it but you can download the official Android One fastboot image on the MIUI website.
[Xiaomi Mi A1 Guides, News, & Discussion] majamee:
That is where I check regularly if the link is updated, but so far I can just find version 9.5.4.0 there, but not 9.5.9.0 yet. If anyone has the correct link, please share it here, I am happy to update the OP. ;)
[Xiaomi Mi A1 Guides, News, & Discussion] gattone_16:
I updated with this (OPR1.170623.026.V9.5.4.0.ODHMIFA) with update of March all perfect I look for the March pach of magisk where I can find it
[Xiaomi Mi A1 Guides, News, & Discussion] ibooth2004:
Thank you so much on Sunday I messed my device up trying to install a custom ROM and this rescued my device.
[Xiaomi Mi A1 Guides, News, & Discussion] majamee:
Happy to hear that :)
[Xiaomi Mi A1 Guides, News, & Discussion] abhishek jadav:
Hey i need help like my device is running on latest nougat on mi a1 so i want to flash that same so what method should i use and what files are required pls be specific??
[Xiaomi Mi A1 Guides, News, & Discussion] majamee:
Same here, if you want specific help you need to provide specific details. First of all which Android Version are you running exactly, in particular which release of nougat? Second why do you want to stay on Nougat, instead of updating. And last, but not least, why do you want to re-flash the firmware which is already running on your device, what do you want to gain by that?
[Xiaomi Mi A1 Guides, News, & Discussion] depzrajput:
i did all the necessary step and opt for flash_all option, it fails with the error message "flash system_a error ". Can any one help on this. need a fix for it
[Xiaomi Mi A1 Guides, News, & Discussion] majamee:
Updated version added ;)
[Xiaomi Mi A1 Guides, News, & Discussion] Dratinire:
Hey,

I am using the latest file. I get this error:

D:\Nexus 5\tissot\tissot>flash_all

D:\Nexus 5\tissot\tissot>fastboot getvar product 2>&1 | findstr /r /c:"^prod

uct: *tissot" ||

product: tissot

D:\Nexus 5\tissot\tissot>fastboot oem unlock ||

...

OKAY [ 0.008s]

finished. total time: 0.008s

D:\Nexus 5\tissot\tissot>fastboot flash modem_a D:\Nexus 5\tissot\tissot\images

\modem.img ||

error: cannot open 'D:\Nexus'

"Flash modem_a error"

Any advice?
[Xiaomi Mi A1 Guides, News, & Discussion] samuele94:
Delete all space before fastboot .......

correct D:\Nexus5\tissot\tissot>fastboot flash modem_a

(rename Nexus 5 to Nexus5)
[Xiaomi Mi A1 Guides, News, & Discussion] majamee:
Thanks for your edit :) Very helpful for everyone else who might have the same issue in future. I hope you found the hint also in my OP, as it is already included there for that very same reason. :cool:
[Xiaomi Mi A1 Guides, News, & Discussion] mahtab_khan:
Please help me out i'm stuck in problem

Will it give me updates in future when all normal phones will get like the original phone,

Actually i was installing Gcam in my Mi A1 and it got stuck in recovery mode, then i slided that bar and after that it was showing me linux small penguin on startup screen and "UNLOCKED" too, but got Gcam installed with working features, after that i uninstalled Gcam through Gcam installing software and that removed the linux small penguin and unlocked but accidentally got installed TWRP app and when i checked the root in root checker it shows me "root access is not properly installed in this device".
[Xiaomi Mi A1 Guides, News, & Discussion] majamee:
The method described here is exactly aimed for getting your device back to stock as it was delivered by Xiaomi. So, yes, you will get future updates, the same as you would never have touched your partitions. For more information please read the official post carefully. :)
[Xiaomi Mi A1 Guides, News, & Discussion] mahtab_khan:
Thanx Brother its really helpful for me:)
[Xiaomi Mi A1 Guides, News, & Discussion] majamee:
Update time:

Version: 9.5.10.0.ODHMIFA (Android O)

Size: 1462M

md5:

b9e697ed56b49f3657fa13229241519a

http://bigota.d.miui.com/V.9.5.10.0...0.ODHMIFA_20180405.0000.00_8.0_b9e697ed56.tgz

V9.5.10.0.ODHMIFA for Mi A1 Changelog

[LIST=2]
[*] Update April Security Patch
[/LIST]
[Xiaomi Mi A1 Guides, News, & Discussion] sonurajput56:
Thnx
[Xiaomi Mi A1 Guides, News, & Discussion] :
My IMEI is now deleted. What now ?
[Xiaomi Mi A1 Guides, News, & Discussion] majamee:
You obviously should read more carefully in the future, mate. Apart from that use the forum search, there are already a handful of tutorials available how to restore your IMEI.

-

Update, e.g.: https://xdaforums.com/mi-a1/how-to/guide-how-to-restore-imei-permanently-t3759190
[Xiaomi Mi A1 Guides, News, & Discussion] :
I followed the guide, but the .qcn file provided in the guide cannot be flashed to my phone. Would someone please upload a .qcn file downloaded from his MI A1 thru the QPST Download tool? It would help me probably a lot, thanks.
[Xiaomi Mi A1 Guides, News, & Discussion] TarunaP:
When i extracted the latest rom on april security patch, i only got system.img inside

What to do ?
[Xiaomi Mi A1 Guides, News, & Discussion] majamee:
I just re-checked and everything was fine. So please use a download manager to ensure full download and then make sure to extract the full .tar.gz (on Windows you can use Bandizip, on Linux you should be good and on Mac I can recommend Keka).
[Xiaomi Mi A1 Guides, News, & Discussion] majamee:
Official post updated:

Update to Version: V9.5.11.0.ODHMIFA (Android 8.0) added
[Xiaomi Mi A1 Guides, News, & Discussion] romumu:
I'm looking for twrp installer of 9.5.11.0 ?
[Xiaomi Mi A1 Guides, News, & Discussion] spicediablo:
I just flashed mine using mi flash tool and selecting flash all except storage. My phone was wiped.... Perhaps I'm not following proper steps? Frustrated as I lost all my data....

Sent from Sagit
[Xiaomi Mi A1 Guides, News, & Discussion] kemdroid:
Why after reboot there is unknown network mode after setting it via *#*#4636#*#*?
[Xiaomi Mi A1 Guides, News, & Discussion] romumu:
I've flashed with terminal method with flash_all_except_storage

My datas has been erased, i lost my photos, app and more
[Xiaomi Mi A1 Guides, News, & Discussion] N1ck474:
Cause now from May update all data will be wiped after locking bootloader.
[Xiaomi Mi A1 Guides, News, & Discussion] ibooth2004:
You are an absolute legend, today you saved my device for the second time, after installing Magisk some how messed up my IMEI, this saved it.
[Xiaomi Mi A1 Guides, News, & Discussion] beeshyams:
Thanks for this confirmation

So, how does one avoid the bootloader being locked?

Is it possible by individually running commands instead of bat or sh file and skipping /modifying bootloader lock command?

[MENTION=3964603]majamee[/MENTION] : Any suggestions please?
[Xiaomi Mi A1 Guides, News, & Discussion] N1ck474:
I don't know, i can't really help you with this :(
[Xiaomi Mi A1 Guides, News, & Discussion] whrynox:
Let me correct something on that matter. Locking boot doesn't erase data but unlocking does. You can avoid that by unlocking your device before May update (or you can do it now but would wipe your data again).
[Xiaomi Mi A1 Guides, News, & Discussion] _mysiak_:
Remove commands "fastboot oem unlock" and "fastboot oem lock" from the bat file you're running. This way you'll get the rom flashed and bootloader will remain unlocked (data intact).
[Xiaomi Mi A1 Guides, News, & Discussion] beeshyams:
Thanks :)

That's what I guessed but wasn't sure
[Xiaomi Mi A1 Guides, News, & Discussion] majamee:
confirmed, thank you
[Xiaomi Mi A1 Guides, News, & Discussion] ibooth2004:
Is there any way to use this to downgrade and save data, I have a locked bootloader on may security patch, since may patch unlocking bootloader wipes data. Can I flash April update and save data with a locked bootloader?
[Xiaomi Mi A1 Guides, News, & Discussion] spicediablo:
As far as I know, unlocking bootloader will wipe data regardless of which build you are on. So if u wanna unlock bootloader, better backup all your data.

Sent from Sagit
[Xiaomi Mi A1 Guides, News, & Discussion] ibooth2004:
On most devices this is the case, but on Mi A1 up until May update, unlocking the bootloader did not wipe data.
[Xiaomi Mi A1 Guides, News, & Discussion] ozgurubuntu:
Hi, i'm on 8.1 beta and root my phone and install twrp. Can i only fastboot methot with revert nonroot clean stock rom? Official OTA updates included?

Sorry for my English
[Xiaomi Mi A1 Guides, News, & Discussion] ozgurubuntu:
On Macbook

How can i flash
[Xiaomi Mi A1 Guides, News, & Discussion] methuselah:
+1 on linux manjaro

I tried everything to make this thing work on Windows but my fastboot doesn't read phone. But linux read phone properly

I dont have any os on my phone

Edit : got it worked. Thanks needed to manually enter to the folder with "CD" command in extracted folder .. Then commands worked perfectly fine
[Tilt, TyTN II, MDA Vario III General] lokmeup:
I searched through all of the free traffic cam data bases and found a few FREEWARE TXT files with 2455 different Traffic Camera POI's. I edited the files as a .CSV in Excel and then used TomTom's Official unsupported TXT -> OV2 software to convert them to OV2 (TomTom's format). Then copied the files to the directory containing my maps of the USA, then went into TomTom and enabled SPEEDCAM as a POI. Then I went into the Preferences and edited the POI for SPEEDCAM to warn me when ever I get within 300yards of one.... NICE!

Attached is the Traffic Cam POI's, TomTom's own conversion software, and a few more POI's I found as freeware.

Ron
[Tilt, TyTN II, MDA Vario III General] grizzley:
The USA has speed cams?
[Tilt, TyTN II, MDA Vario III General] NFRCER:
yup, usa does have them.
[Tilt, TyTN II, MDA Vario III General] Scott_F:
Very nice man. Much thanks.
[Tilt, TyTN II, MDA Vario III General] rickytr23:
nice

thank you:D
[Tilt, TyTN II, MDA Vario III General] lokmeup:
In my area, they have Red Light Cameras... They are a BIOTCHS! You cannot fight it in court, numerous pictures, and a high quality video of the entire act. The police come in with computer video presentations and show everything... and they will do 10+ people in a row... very lucrative for the city.

Ron
[Tilt, TyTN II, MDA Vario III General] grizzley:
wow. I didn't know these were out there! Are they in cities or on the Interstates or both????
[Tilt, TyTN II, MDA Vario III General] gavink:
Just installed and ran TomTom on my latest trip. What a nice surprise to find that the red light cameras in Germantown (near Memphis) are included! I'd guess the same could be said for other red light cams as well.

Thanks!!!
[Tilt, TyTN II, MDA Vario III General] intothevoid:
cool find and work. Gonna try it out.
[Tilt, TyTN II, MDA Vario III General] chop249:
I know of some that aren't showing up. Let me know what to send you to get them added.
[Tilt, TyTN II, MDA Vario III General] jdmba:
Traffic Light Cameras in L.A. - Yup!

Installed and intentionally drove by a red light camera in Los Angeles (Melrose & La Cienega for those who care). It absolutely showed up!

I believe, based on when the alert actually went off, that I will reset to advise more in advance than that suggested in the first post.
[Tilt, TyTN II, MDA Vario III General] lokmeup:
You can add them to your TomTom under Change Preferences > Manage POIs > Add POI. If you want to post the Red Light coordinates I could add them to the database.

Post coordinates to new POIs like this:

Red Light Camera 21.37861, -158.14242

Thanks,

Ron
[Tilt, TyTN II, MDA Vario III General] chop249:
Great I'll get the new ones posted here in the next few days.
[Tilt, TyTN II, MDA Vario III General] jrdejavux:
Great work ! the thing that doesnt work is USA Speedcam TomTom.zip picture it shows a red square ! other than that awsome :D:D:D
[Tilt, TyTN II, MDA Vario III General] mlukens2:
little help on enabling cameras as POI

I go to settings but the enable/disable poi is grayed out, how do fix this?
[Tilt, TyTN II, MDA Vario III General] lokmeup:
Yeah... that bugged me for a while. I even found a cool BMP for the icon, but TomTom wont use it. So, the red warning square is good enough for now. The BMP icon is included with the USA Speedcam TomTom.zip file. So, if someone gets it to show up properly in TomTom, Let us know.

Ron
[Tilt, TyTN II, MDA Vario III General] chop249:
Resize it to 22 X 22 instead of the 32 X 32 you have it at. I did it but as a crop I couldn't get it sized down maybe you have a better program than I do.
[Tilt, TyTN II, MDA Vario III General] chop249:
Here is an update with 5 new cameras in the DFW area that I know of. I think there might be a few more, I'll keep my eyes peeled! When I added them I just left them named as the intersection where they are located.

Bob
[Tilt, TyTN II, MDA Vario III General] lokmeup:
Nice job! 22x22 BMP attached. Just copy it to your map folder.

Ron
[Tilt, TyTN II, MDA Vario III General] elrooster:
Another icon for the speedcam
[Tilt, TyTN II, MDA Vario III General] GSLEON3:
Don't know if you've seen this, but you can edit your TT6 Menu's & POI selections, putting what you use closer to the front of the menu screen & even change Icons I believe (This is freeware)

TomTom Menu Designer Beta 1.11

Requirements:

Desktop: Windows XP

Overview:

Sometimes you have to navigate through several menu pages to get to the desired TomTom function. If you use a certain function frequently, it's much easier to have that function on the first menu page! You can rearrange the TomTom menus easily with this free software.

For more info see Dev Website. http://www.gregoryduncan.com/ttmd

Instruction Manual: http://www.gregoryduncan.com/ttmd/manualBeta1_10.pdf

Mirror: http://rapidshare.com/files/97060124/TTMD1_11.zip
[Tilt, TyTN II, MDA Vario III General] myv6mustang:
sorry for my ignorance but how do you install these in tomtom home or where do i stick the files.
[Tilt, TyTN II, MDA Vario III General] grizzley:
I dunno.... how about reading the first thread? It tells you clearly what to do!
[Tilt, TyTN II, MDA Vario III General] chop249:
Updated with another cam I found today.
[Tilt, TyTN II, MDA Vario III General] denniegst:
what cities are included in the speedcam file?
[Tilt, TyTN II, MDA Vario III General] twistkill:
chop! thats awesome! if I come across some unlisted ones in DFW area i will update it too..

good job man
[Tilt, TyTN II, MDA Vario III General] johnny13oi:
Any way to add these to iGuidance v.4?
[Tilt, TyTN II, MDA Vario III General] californiarailroader:
Anything like this for Caltrans highway and freeway cams?
[Tilt, TyTN II, MDA Vario III General] herg62123:
tag for later use
[Tilt, TyTN II, MDA Vario III General] whk:
Thank you lokmeup, way cool.

Would it be too much to ask to see the base files that you used so that we could add new ones to it and keep them up to date?

Thanks

Bill
[Tilt, TyTN II, MDA Vario III General] chop249:
Hey Bill,

If I remember right on the first page is a program in which you can see all the info on the cams. I've slept since I added the ones that I found.