Need Help To Recover to Stock ROM - Xiaomi Mi A1 Questions & Answers

SOLVED: https://xiaomifirmware.com/roms/download-official-roms-xiaomi-mi-a1/
I rooted my Mi A1 and was on December 1st update.
So I had free time just now and decided to flash stock rom and update to December 2nd update.
As I was using Mi Flash tool to flash the ROM, it somehow stopped working and I don't think it flashed the ROM properly.
My phone has been in bootloop state since then with the bootloader unlocked warning screen.
Been trying to flash the ROM but Mi Flash tool kept stopped working randomly when I flash the ROM.
I tried the following with no outcome:
1) Boot into TWRP and factory reset
2) Boot into stock recovery and wipe data/factory reset
3) Flash stock ROM via Mi Flash tool (stopped working randomly, but it shows success flashing screen, just that the phone doesn't reboot)
4) Tried different version of Mi Flash tool (beta and non-beta), all stopped working randomly
5) Restarted my PC (still Mi Flash problem)
Extra info that might help:
As I am in TWRP, I can see that my phone internal storage is empty with only 1 folder (TWRP)
My bootloader is still unlocked till now

Have you tried flashing Jamflux's fastboot image of the oreo stable ROM?

Kamefrede said:
Have you tried flashing Jamflux's fastboot image of the oreo stable ROM?
Click to expand...
Click to collapse
No, how would that help?
I am not going Oreo yet, just Nougat December 2nd update is fine

SOLVED: https://xiaomifirmware.com/roms/download-official-roms-xiaomi-mi-a1/

Raven_Yen said:
No, how would that help?
I am not going Oreo yet, just Nougat December 2nd update is fine
Click to expand...
Click to collapse
Ah, you didn't specify in the post that you wanted to keep nougat so I thought you wanted the latest haha.
Anyway, good to see that you figured it out

Related

[Guide] Safely unlock bootloader on official MM

UPDATE: This is now unneeded because threr is a faster way ro unlock bootloader on official MM here, he updated for official MM
Hi, I discovered an unlock method for official MM!! This maybe long but's it totally safe
You need:
Adb and fastboot environment ready PC
LP RAW File
Android 6.0 Beta Unlock tool
Android 5.0 One-Click Unlock tool
First version of beta MM (Z00A) (Z008)
Official MM zip (find it on Asus site)
Thanks to all people upload these links
Just do the following:
Flash the lastest LP via AFT (using raw file given above), wipe all data. If you already on MM, you have to downgrade
Unlock your bootloader using 1 click tool given above
Boot to stock recovery and sideload the first version of beta MM
Unlock the bootloader using MM beta unlock tool above
Boot to stock recovery
Two case here:
Case 1: You can't boot stock recovery
Normally boot your phone (to Android)
Setup it as a new phone
If it shows there is a new firmware, don't update!!!
Enable Developer options, then enable usb debugging
Copy the official MM zip to external sd card
Open command prompt, run adb reboot recovery, accept the adb permission if prompted
After it boots to recovery, select Apply update from SD, then choose the zip file you've copied before
Wait for it to update, it may stuck at flashing splashcreen, don't worry, it's trolling you, may be Asus forgot to update the script
Goto step 7
Case 2: You can boot stock recovery
Sideload the official MM zip (adb sideload <filename>.zip)
Goto step 7
7. Flash this TWRP (fastboot flash recovery <twrp>.img)
8. Root your phone using this method
9. Reboot, if it shows "Your phone has failed verification bla bla..", then you've success. It may reset loop like note 7 in the first time start, don't worry.
9. Enjoy :highfive:
Note: If you're facing with battery problems on MM, factory reset it in Settings > Backup and Reset > Factory Reset > Erase everything
Successfully on my ZE550ML
The warning screen is normal so don't worry and there is no way to fix it for now
Reverse
Reverse #2
Please answer this I have a unlocked Bootloader + twrp Intalled + root, now I am really confused that after upgrading to MM will my Bootloader get automatically lock or what
Sent from my ASUS_Z00A using XDA-Developers mobile app
NiTesh said:
Please answer this I have a unlocked Bootloader + twrp Intalled + root, now I am really confused that after upgrading to MM will my Bootloader get automatically lock or what
Sent from my ASUS_Z00A using XDA-Developers mobile app
Click to expand...
Click to collapse
Yes, BL will be relocked once you upgrade to MM.
If you want to unlock MM BL(6.0), refer to this thread.
Or you can downgrade to Lollipop referring to this thread. Then your BL(5.0) is unlocked.
Upgrade to MM
Hello folks!
2 week before MM was released i'ved opted to unlock my ZE551ML BL and therefore install twrp and a MM custom ROM..
so here´s the thing i stayed with the ROM for about 3 weeks and honestly..it works very well..but when i knew that 6.0 official was coming out i decided to go back to stock..i did it following manny tuturials avaliable for me to get my BL Re-Locked..but unsuccessfully..so i followed mr_gourav2000 tuturial (http://forum.xda-developers.com/zenfone2/development/stock-rom-ul-z00a-ww-2-20-40-168-t3354526) and reverted to the WW_Z00A-2.20.40.183-to-2.20.40.184 (hopefully i can get the sshot in this post) version...since my BL is unlocked i can´t get no updates..my question is:
Is there anyway to go to MM 6.0 by ASUS with the current status of my phone?
is there anything i can do to revert this??
Cheers to everyone
https://www.dropbox.com/sc/xue7iuqfyvgdvo3/AAATR4mYtcHzM1IhfKbx2a1oa
R3D SoX F4N said:
Hello folks!
2 week before MM was released i'ved opted to unlock my ZE551ML BL and therefore install twrp and a MM custom ROM..
so here´s the thing i stayed with the ROM for about 3 weeks and honestly..it works very well..but when i knew that 6.0 official was coming out i decided to go back to stock..i did it following manny tuturials avaliable for me to get my BL Re-Locked..but unsuccessfully..so i followed mr_gourav2000 tuturial (http://forum.xda-developers.com/zenfone2/development/stock-rom-ul-z00a-ww-2-20-40-168-t3354526) and reverted to the WW_Z00A-2.20.40.183-to-2.20.40.184 (hopefully i can get the sshot in this post) version...since my BL is unlocked i can´t get no updates..my question is:
Is there anyway to go to MM 6.0 by ASUS with the current status of my phone?
is there anything i can do to revert this??
Cheers to everyone
https://www.dropbox.com/sc/xue7iuqfyvgdvo3/AAATR4mYtcHzM1IhfKbx2a1oa
Click to expand...
Click to collapse
Just download the update package and rename it to mofd_sdupdate.zip, copy it to internal storage. Then reboot to stock recovery, the update will automatically start. This should work if you have lastest stock recovery
can anyone please upload official recovery for Zenfone 2 ZE551ML, currenty i have twrp installed on Android version 5.0 LP Stock
HungNgocPhat said:
Just download the update package and rename it to mofd_sdupdate.zip, copy it to internal storage. Then reboot to stock recovery, the update will automatically start. This should work if you have lastest stock recovery
Click to expand...
Click to collapse
i have twrp recovery at the moment cause i followed mr_gouvad2000 tuturial..
what do you sugest?
flash WW_ZE551ML_2.20.40.196_20160815.raw?
WW_ZE551ML_2.20.40.194_20160713.raw?
and then go and do what you told?
cheers
hello, i cant find first mm beta for ml551...can you help me? thank you and sorry for my english
tridet18 said:
hello, i cant find first mm beta for ml551...can you help me? thank you and sorry for my english
Click to expand...
Click to collapse
someone correct me if i am worng but....
https://www.asus.com/Phone/ZenFone_2_ZE551ML/HelpDesk_Download/
Look for this version WW-4.21.40.134
Hello, thank you but this version is official, i need de first beta 6.0
R3D SoX F4N said:
someone correct me if i am worng but....
Look for this version WW-4.21.40.134
Click to expand...
Click to collapse
that version...i can´t find it anywere..maybe someone here knows were to find it?
Updated the first MM beta link in OP
hello , thanks to your tutorial I managed to unlock the bootloader , I have TWRP version 3.0.0.2 with stock installed but when I wanted to install CM13 and gapps I restarted the phone and automatically returns to recovery again. some help?
tridet18 said:
hello , thanks to your tutorial I managed to unlock the bootloader , I have TWRP version 3.0.0.2 with stock installed but when I wanted to install CM13 and gapps I restarted the phone and automatically returns to recovery again. some help?
Click to expand...
Click to collapse
Have you downloaded the correct build? There are build for MM bootloader, if you flash the normal builds, it will fail and reboot to recovery again. Gapps is the same for all builds
After you install that special build, do not update to newer nightlies, it will fail. For updates, check the link i give you and see if there is a new MMBL build.
About that, here is the post: http://forum.xda-developers.com/showpost.php?p=68542370&postcount=8551
hello friend, I tried to install the CM13 ROM that indicated me and I get Error 7 in TWRP 3.0.2.0, I have Android 6.0 (.134) official and if I can change kernel and flash rom SuperSU but change with a new MM Blows I can not (CM13, AICP, beanstalk ....) thanks for your help!
tridet18 said:
hello friend, I tried to install the CM13 ROM that indicated me and I get Error 7 in TWRP 3.0.2.0, I have Android 6.0 (.134) official and if I can change kernel and flash rom SuperSU but change with a new MM Blows I can not (CM13, AICP, beanstalk ....) thanks for your help!
Click to expand...
Click to collapse
Run the script again (i gave you in above post). Download the CM13 in that link, not in the OP of CM13 thread. Flash that CM13 and Gapps (Gapps is universal for MMBL and LPBL).
May be you have corrupt download, I'm currently running CM13 on MMBL
Hello, I have finally found the solution, the problem is the recovery, the TWRP 3.0.0.2 da failure with new builds, I Flashed next on the link you put me through adb and now it works, thank you very much for everything .
hlp
tridet18 said:
Hello, I have finally found the solution, the problem is the recovery, the TWRP 3.0.0.2 da failure with new builds, I Flashed next on the link you put me through adb and now it works, thank you very much for everything .
Click to expand...
Click to collapse
how u unlocked bootloader

MI A1 worked 3 days

Hi all,
Last week i received my new MI A1. IT worked perfectly during 3 days, with 2 OTA updates to Android 8. (December and January OTA i remember)
Then, one night my MI A1 just shutdown itself without doing anything (i was sleeping)
And in the morning i tryed to reboot it but i had everytime a freeze and reboot when it asked to enter my PIN CODE. (i tryed without my SIM it was the same, big freeze and reboot)
Si i went to the MI website (xiaomifirmware.com/roms/download-official-roms-xiaomi-mi-a1/) to download the XiaoMiFlash Tools and the ROM (Android 8.0.0 Oreo (OPR1.170623.026.8.1.10) | Fastboot)
It worked to flash the MI A1 but i cannot start the phone, i had the Screen ENCRYPTION UNSUCCESFULL
When i clicked to Resert the phone, it reboot and came to the same screen. (I can host a video if ou want to see)
I've tryed to use FASTBOOT Unlock / TWRP 3.1 to wipe the system but still the same.
Do you have any idea please ?
Thank you in advance for your help
Mathieu
mdesmettre said:
Hi all,
Last week i received my new MI A1. IT worked perfectly during 3 days, with 2 OTA updates to Android 8. (December and January OTA i remember)
Then, one night my MI A1 just shutdown itself without doing anything (i was sleeping)
And in the morning i tryed to reboot it but i had everytime a freeze and reboot when it asked to enter my PIN CODE. (i tryed without my SIM it was the same, big freeze and reboot)
Si i went to the MI website (xiaomifirmware.com/roms/download-official-roms-xiaomi-mi-a1/) to download the XiaoMiFlash Tools and the ROM (Android 8.0.0 Oreo (OPR1.170623.026.8.1.10) | Fastboot)
It worked to flash the MI A1 but i cannot start the phone, i had the Screen ENCRYPTION UNSUCCESFULL
When i clicked to Resert the phone, it reboot and came to the same screen. (I can host a video if ou want to see)
I've tryed to use FASTBOOT Unlock / TWRP 3.1 to wipe the system but still the same.
Do you have any idea please ?
Thank you in advance for your help
Mathieu
Click to expand...
Click to collapse
How did you flash the stock rom?
What option did you choose? Wipe all and lock? Or?
Hi
I tried with full flash And full flash with lock
mdesmettre said:
Hi
I tried with full flash And full flash with lock
Click to expand...
Click to collapse
Can you try with a different firmware? Android Nougat?
Hi,
I've tested with Nougat (tissot_images_7.8.23_20170823.0000.00_7.1_61cf97d794) as flash and lock.
and that doesn't work. Still in like a bootloop.
i've tried also to go through twrp 3.2.1 but a a little bit lost.
Which FULL ROM do i need to take as ZIP file in TWRP ?
Also, do i need a SD CARD to completly reinstall Android ?
thanks in advance.
mdesmettre said:
Hi,
I've tested with Nougat (tissot_images_7.8.23_20170823.0000.00_7.1_61cf97d794) as flash and lock.
and that doesn't work. Still in like a bootloop.
i've tried also to go through twrp 3.2.1 but a a little bit lost.
Which FULL ROM do i need to take as ZIP file in TWRP ?
Also, do i need a SD CARD to completly reinstall Android ?
thanks in advance.
Click to expand...
Click to collapse
Can you repeat your question about twrp?
You can try to flash lineage os 15.1 with latest twrp-oreo and see if that works.
varben said:
Can you repeat your question about twrp?
You can try to flash lineage os 15.1 with latest twrp-oreo and see if that works.
Click to expand...
Click to collapse
And do i need a MICROSD CARD to flash lineage ?
mdesmettre said:
And do i need a MICROSD CARD to flash lineage ?
Click to expand...
Click to collapse
Nope. Lineage ROM can be stored in internal storage and flashed. Also, if you aren't able to solve the encryption issue, I suggest you to go to your nearest service center and get help. They do it for free, even if you're rooted or modified the system.
guy_infinity said:
Nope. Lineage ROM can be stored in internal storage and flashed. Also, if you aren't able to solve the encryption issue, I suggest you to go to your nearest service center and get help. They do it for free, even if you're rooted or modified the system.
Click to expand...
Click to collapse
Thanks for the answer.
I cannot go to service center because i'm in France.
I've tryed to flash Lineage15.1 but doesnt work.
May be an idea, i've seen in TWRP that i don't have a cache partition. Is that normal ? If not, how do i create it ?
Flash your device from edl mode
If doesnt work it seems that your emmc is faulty
Many huawei phones with faulty emmc shows such this encryption failed message and by changing emmc become functional

Bricked Mi A1

Managed to brick my A1. The only screen its able to go to is either fastbook, or recovery. And even then, doesn't always necessarily boot into recovery, have to plug into computer and go into command prompt (fastboot boot oreo_3.2.2_recovery.img) to get it into TWRP.
Currently can't seem to flash *any* roms, I have a stock rom ("tissot_100108_stock" cant remember where i got it from). Which successfully flashes, but then on reboot gets stuck on the Android One screen. Longest i have waited before giving up is an hour. Even when i flash this rom and reboot, i get a message on TWRP saying "No OS installed"
Tried doing this: [wont let me post link] (MiFlash) method and got an error, basically does not work.
Super frustrated, at my wits end, would just like to flash stock rom and sell this thing or let it sit in a drawer at this point. Thanks in advance.
same problem here...
I have the exact same issue and also came here for that to ask for help.
Xiaomi Mi A1 was running 8.1 OTA updated and then I tried to flash Lineage, but it did not work. I wiped my phone and now it can't install anything, not via TWRP nor with Mi Flash.
I hope we can find a solution.
cantras said:
I have the exact same issue and also came here for that to ask for help.
Xiaomi Mi A1 was running 8.1 OTA updated and then I tried to flash Lineage, but it did not work. I wiped my phone and now it can't install anything, not via TWRP nor with Mi Flash.
I hope we can find a solution.
Click to expand...
Click to collapse
hopefully! i posted on the xiaomi subreddit but no help. i was on 8.0 when i started this whole misadventure.
I got somewhere, I think.
I went into TWRP, switched from B to A booting. It then starts Android but gets stuck in the boot screen of Android one with the colored bar.
I then tried MiFlash again, going directly to the folder which containts the .bat files. It started flashing it finally.
I am back to a working system.
Let me know if it works for you.
you guys should try flashing the latest stock rom 8.1 July running the bat file of your choice located in the factory image through fastboot
the different custom recoveries and miflash are sometimes buggy
run the script directly on fastboot
Sent from my Nexus 6 using Tapatalk

Reverting to Stock

Hey,
How do I revert to stock and which ROM do I use for UK device? I can't find the correct one!
Also, do I just wipe and flash using TWRP?
Hi.
If you want to go completely stock, you can install the international (https://mifirm.net/model/davinci.ttt) or european (https://mifirm.net/model/davinci_eea.ttt) ROM with Mi Flash (fastboot ROM)
If you want MIUI and TWRP, you can use the Recovery ROM.
Schnedi said:
Hi.
If you want to go completely stock, you can install the international (https://mifirm.net/model/davinci.ttt) or european (https://mifirm.net/model/davinci_eea.ttt) ROM with Mi Flash (fastboot ROM)
If you want MIUI and TWRP, you can use the Recovery ROM.
Click to expand...
Click to collapse
Thanks. The recovery link does not work. Where can I get hold of this please?
OK. So I wiped everything and trying to install miui_DAVINCIEEAGlobal_V10.3.12.0.PFJEUXM_946a02f6df_9.0 with TWRP... I was trying to install through fastboot and I got the anti-rollback error.
The issue that I have now is that it keeps booting into recovery!? Help!
tristan1990 said:
OK. So I wiped everything and trying to install miui_DAVINCIEEAGlobal_V10.3.12.0.PFJEUXM_946a02f6df_9.0 with TWRP... I was trying to install through fastboot and I got the anti-rollback error.
The issue that I have now is that it keeps booting into recovery!? Help!
Click to expand...
Click to collapse
You can try flashing the stock fasboot ROM using Miflash. Just make sure to open the script and delete every line that refers to anti rollback protection, basically every line until the lines that starts with fastboot.
Use these links. You need .tgz file decompress it twice, till you have ordinary folders and files (cca 6,5GB). Then use MiFlash 2017 version (in the bottom right corner is option, if you also want to lock your bootloader). Put your phone to fastboot and flash it. It takes about 15 minutes and then you have clean phone.
http://en.miui.com/a-234.html
https://mirom.ezbox.idv.tw/en/phone/davinci/
http://c.mi.com/oc/miuidownload/detail?guide=2

mi9t loop to TWRP recovery after install MIUI 11

Hello
today I got an update for MIUI 11 by OTA, I press agree for "UPDATE", my phone restarted to TWRP, it's Installed some files for update, after finished that my phone keep restarting to TWRP recovery again (LOOP)
I tried to download official rom and install by TWRP ,but after finish and restart device still rebooting to TWRP recovery
is there any solution for not losing my data ?
BTW : flash stock rom didn't remove TWRP recovery , why ?
(I download rom from xiaomifirmware [dot] com)
I am not expert on that field but from my knowledge try booting twrp and copy all your files to your pc or laptop (the one you need at least for saving some photos or videos ) then flash a fastboot ROM
And as I said from my knowledge not sure there might be other ways
testemailmailx said:
Hello
today I got an update for MIUI 11 by OTA, I press agree for "UPDATE", my phone restarted to TWRP, it's Installed some files for update, after finished that my phone keep restarting to TWRP recovery again (LOOP)
I tried to download official rom and install by TWRP ,but after finish and restart device still rebooting to TWRP recovery
is there any solution for not losing my data ?
BTW : flash stock rom didn't remove TWRP recovery , why ?
(I download rom from xiaomifirmware [dot] com)
Click to expand...
Click to collapse
Your phone was on a custom ROM but you didn't know it? oO
No Official ROM will boot and auto-install in TWRP...
Try to clear "Dalvik/Cache" and if still not booting then you will need to "Format Data" in TWRP (loose data).
If still not working, flash a fastboot image...
Micdu70 said:
Your phone was on a custom ROM but you didn't know it? oO
No Official ROM will boot and auto-install in TWRP...
Try to clear "Dalvik/Cache" and if still not booting then you will need to "Format Data" in TWRP (loose data).
If still not working, flash a fastboot image...
Click to expand...
Click to collapse
No it’s official rom miui 10
I clear theme many times even when install stock rom by twrp but still looping after appear xiaomi logo (andriod logo never shows)
testemailmailx said:
No it’s official rom miui 10
I clear theme many times even when install stock rom by twrp but still looping after appear xiaomi logo (andriod logo never shows)
Click to expand...
Click to collapse
Maybe it's a miui.eu or a different region ROM that was installed as .zip so it still appear as mi/redmi logo
batman957 said:
Maybe it's a miui.eu or a different region ROM that was installed as .zip so it still appear as mi/redmi logo
Click to expand...
Click to collapse
Installed from xiaomifirmware site
Is there any opportunity to fix phone ?
testemailmailx said:
Installed from xiaomifirmware site
Is there any opportunity to fix phone ?
Click to expand...
Click to collapse
Try flashing the fastboot ROM the .tgz one not the .zip using miflash but try to use the miui 10 one and later on update (getting the phone to work is more important right now )
batman957 said:
Try flashing the fastboot ROM the .tgz one not the .zip using miflash but try to use the miui 10 one and later on update (getting the phone to work is more important right now )
Click to expand...
Click to collapse
I could make it work easily, but I want keep that step as final step cuz will wipe everything
testemailmailx said:
I could make it work easily, but I want keep that step as final step cuz will wipe everything
Click to expand...
Click to collapse
Then if you can fully boot to twrp try to connect it with an otg or to pc and copy Ur files
It happened to me once btw I deleted the system partition(first time flashing) ? then I flashed the fastboot ROM
If I was in Ur place I would never flash any custom ROM to trigger the anti rollback or lose widevine l1
You may try but be careful of going through wrong things such as edl mode
batman957 said:
Then if you can fully boot to twrp try to connect it with an otg or to pc and copy Ur files
It happened to me once btw I deleted the system partition(first time flashing) then I flashed the fastboot ROM
If I was in Ur place I would never flash any custom ROM to trigger the anti rollback or lose widevine l1
You may try but be careful of going through wrong things such as edl mode
Click to expand...
Click to collapse
God bless us
I’m not using custom rom at all
BTW is there any way to delete twrp recovery without delete system ?
Did you by any chance flashed with the greek TWRP? I got the same bootloop so I get back to miui 10 official global version (the one I updated from) and it booted alright without wipe needed...
I'll try other TWRP versions as well though but right now I don't think I wanna update :|
Yup you should disable disable dm verity and verification
just flash this using fastboot and you're good to go, I am now running official miui 11 without wiping the data.
Code:
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
https://gofile.io/?c=fgyAB3
sijav said:
Yup you should disable disable dm verity and verification
just flash this using fastboot and you're good to go, I am now running official miui 11 without wiping the data.
Code:
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
https://gofile.io/?c=fgyAB3
Click to expand...
Click to collapse
Hey,
The file you mentioned is not founded! could you please re upload it somewhere ?
m-Khadem said:
Hey,
The file you mentioned is not founded! could you please re upload it somewhere ?
Click to expand...
Click to collapse
Here is patched vbmeta for davinci (K20/Mi 9T) => https://drive.google.com/file/d/1IC78J20ovcZudWYlijgSGdjeP6D3hx2V/view?usp=sharing

Categories

Resources