Going back to Android One Pie [HELP] - Xiaomi Mi A2 / 6X Questions & Answers

Hello, I just want to confirm if it is possible to go back to stock Pie if I unlocked the bootloader and installed TWRP.
In my experience, for going back to stock with Xiaomi phones I just need to flash the stock recovery (taken from the official ROM) and then I need to use Mi Flash to flash the stock ROM and selecting the option to lock the bootloader.
Can you please confirm the above is possible?
Thanks in advance.

Mi A2 doesn't have a recovery partition. If you want to go back just flash the latest fastboot ROM with MiFlash or place it in the adb folder and run the flash_all_lock.bat file (if you want to flash without locking the bootloader run the flash_all.bat instead).

Catsonvi said:
Mi A2 doesn't have a recovery partition. If you want to go back just flash the latest fastboot ROM with MiFlash or place it in the adb folder and run the flash_all_lock.bat file (if you want to flash without locking the bootloader run the flash_all.bat instead).
Click to expand...
Click to collapse
Thanks for your reply! I'm a bit noob about this device, but just wanted to be sure. Regards!

Catsonvi said:
Mi A2 doesn't have a recovery partition. If you want to go back just flash the latest fastboot ROM with MiFlash or place it in the adb folder and run the flash_all_lock.bat file (if you want to flash without locking the bootloader run the flash_all.bat instead).
Click to expand...
Click to collapse
hi, where can I get latest fastboot ROM?
my device has v10. 0.7.0 PDIMIXM
In official mi site, it has some other version
Can you please help me how to identify or get latest ROM File?
Thanks in advance

e2vinay said:
hi, where can I get latest fastboot ROM?
my device has v10. 0.7.0 PDIMIXM
In official mi site, it has some other version
Click to expand...
Click to collapse
Yes, last official is 10.0.2.0, second March update brought 10.0.7.0.
So
1) flash official 10.0.2.0 using "flash_all_bat" (losing /data); i'd also use "fastboot -w" prior to flashing
2) keep phone unlocked, because getting OTA updates (two updates: February 10.0.4.0 and then 2nd March 10.0.7.0) means high risk of bootloops (thanks Xiaomi)
3) immediately get developer state, USB debugging and suppress automatic updates
Then either wait / check / get 2 OTA updates; or flash unofficial dump of 10.0.7.0 by @FranticKernel (search this forum)

Aerobatic said:
Yes, last official is 10.0.2.0, second March update brought 10.0.7.0.
So
1) flash official 10.0.2.0 using "flash_all_bat" (losing /data); i'd also use "fastboot -w" prior to flashing
2) keep phone unlocked, because getting OTA updates (two updates: February 10.0.4.0 and then 2nd March 10.0.7.0) means high risk of bootloops (thanks Xiaomi)
3) immediately get developer state, USB debugging and suppress automatic updates
Then either wait / check / get 2 OTA updates; or flash unofficial dump of 10.0.7.0 by @FranticKernel (search this forum)
Click to expand...
Click to collapse
Thanks
As I'm on 10.0.7.0 now, if I flash official 10.0.2.0 will it be any issue? like anti roll back or something?

e2vinay said:
As I'm on 10.0.7.0 now, if I flash official 10.0.2.0 will it be any issue? like anti roll back or something?
Click to expand...
Click to collapse
No anti-rollbacks in stock AO Oreo/Pie yet. You can even try to reflash stock official 10.0.2.0 preserving data - using "flash_all_except_data.bat". If then you'll have any issues, then wipe /data (with "fastboot -w" or factory reset in phone), so it is advisable to save important data & apps prior to rollback

Aerobatic said:
No anti-rollbacks in stock AO Oreo/Pie yet. You can even try to reflash stock official 10.0.2.0 preserving data - using "flash_all_except_data.bat". If then you'll have any issues, then wipe /data (with "fastboot -w" or factory reset in phone), so it is advisable to save important data & apps prior to rollback
Click to expand...
Click to collapse
Do I have any risk running "flash_all_except_data.bat"?
Does it work like a OTA update??

Related

How to move to new Stock partition?

I need to understand how to update to the new Stock merged partition. Have been reading general advice in various threads that we need to flash new China developer rom. Can someone elaborate regarding how to do this and where to get this rom? Do we need to re-root? Do we need to reflash recovery?
I see that many new MM roms are using this new Stock partition like Matoxxi's newest RR rom. So want to know. Detailed help is highly appreciated... Thanks...
+1
I too would like to see a proper procedure..
This is what I personally did. Was on extended partition. With TWRP as recovery.
1) Flash the cwm r11( or any working cwm) recovery. Needed to flash the repartition zip!! Don't use TWRP. Did this once and had a dead phone. Reboot to recovery. You'll be on CWM.
2) Flash the back to stock partition zip. Choose the one with "el pierro verde" in it.
3) Flash TWRP recovery. Boot to recovery.
4) Flash the 5/12/17 miui zip. This is the ROM which merges the partitions. At this point the partitions are not merged yet!
4.1) Boot the phone up. Reboot to recovery
5) Repeat step 4. Now the partitions are merged.
6) Flash any ROM that you desire.
Of you are on stock partition with TWRP skip steps 1-3.
Good luck.
If you are on MIUI ROM, install 5.12.17 first to merge partitions and then 6.2.4 via Updater app. Xiaomi.eu version is tuned for europe/outside china, Google Apps are included in rom.
https://www.androidfilehost.com/?fid=24369303960690691
https://www.androidfilehost.com/?fid=24415232478676696
Or you can just MiFlash 6.2.4 chinese developer rom factory image from en.miui.com.
Thanks for the details. I did try this out, am on original stock partition... Flashed 5.12.17, two times as per step 4. Rebooted but the partition remains resolute at old stock and does not merge. Am using twrp 2.8.7. Tried this twice, no success... Need advice... Thanks
The only quick way to setup the new partition for now is to fastboot flash the Chinese Dev ROM, as you yourself already stated. You can flash it by fastboot flashing it using Mi PCSuite and choosing the Beta ROM.
On my experience, after the flash I got my bootloader locked ("fastboot oem device-info" resulted in Device unlocked = false), but I can simply unlock it through fastboot without any problem.
From that point, you can easily flash any custom ROM.
Or even MIUI V6, with manual, per partition fastboot flash rather than using MiFlash/Mi PCSuite because of different partition layout; V6 and lower got two boot, modem and system partitions for TDB, while the new has only one.
anshude1 said:
Thanks for the details. I did try this out, am on original stock partition... Flashed 5.12.17, two times as per step 4. Rebooted but the partition remains resolute at old stock and does not merge. Am using twrp 2.8.7. Tried this twice, no success... Need advice... Thanks
Click to expand...
Click to collapse
Can you boot the phone after the first flashing? Than reboot to recovery and try step 4 again.
Have a look to
http://en.miui.com/thread-209941-1-1.html
there you can find a zip (cancro_merge_partition(2).zip) and the guideline how to use. For me it worked fine.
It does the repartitioning through fastboot by executing 1 shell script. Afterwards you might want to update your recovery rom to an English version.
anshude1 said:
Thanks for the details. I did try this out, am on original stock partition... Flashed 5.12.17, two times as per step 4. Rebooted but the partition remains resolute at old stock and does not merge. Am using twrp 2.8.7. Tried this twice, no success... Need advice... Thanks
Click to expand...
Click to collapse
Im using Pallmali method to flash, however 1st i try to repeat flash on step 4, it didnt work, then i download MIUI china dev 6.2.4 and flash, wait for a while and it is updated to MIUI 7 MM with merged partition.
anshude1 said:
Thanks for the details. I did try this out, am on original stock partition... Flashed 5.12.17, two times as per step 4. Rebooted but the partition remains resolute at old stock and does not merge. Am using twrp 2.8.7. Tried this twice, no success... Need advice... Thanks
Click to expand...
Click to collapse
I believe you have to use default Mi Recovery. One time flash of 5.12.17 was enough on my Mi4.
ksloh1 said:
Im using Pallmali method to flash, however 1st i try to repeat flash on step 4, it didnt work, then i download MIUI china dev 6.2.4 and flash, wait for a while and it is updated to MIUI 7 MM with merged partition.
Click to expand...
Click to collapse
It got auto updated? So did you flash stock recovery? Or used twrp
I downloaded 6.2.4 into my phone and then choose the file to update from miui itself, and it will reboot to twrp recovery and install. After fully install and reboot. Only then it will have merged partition and MM miui. And back to stock recovery automatically.
I just fastboot 6.2.4 rom successfully... Now will flash twrp...
And made my first big mistake going in for 6.2.4 beta... It has locked bootloader and a load of Chinese **** you can't make sense of and have to forcefully bear it. Please can anyone help me to unlock the bootloader without begging to the ****ty miui folks?
anshude1 said:
I just fastboot 6.2.4 rom successfully... Now will flash twrp...
And made my first big mistake going in for 6.2.4 beta... It has locked bootloader and a load of Chinese **** you can't make sense of and have to forcefully bear it. Please can anyone help me to unlock the bootloader without begging to the ****ty miui folks?
Click to expand...
Click to collapse
First of all, if you planned to stay on MIUI MM, you don't have any options than requesting an unlock permission to Xiaomi.
If you just want the merged partition and prepared to flash any custom ROM or MIUI V6, enter fastboot then send this command:
Code:
fastboot oem unlock
The reason is that when you unlocks the bootloader through fastboot, it automatically wipes out your phone. IDK why, but possibly inherent to Android's design for security reasons.
rxl.noir said:
First of all, if you planned to stay on MIUI MM, you don't have any options than requesting an unlock permission to Xiaomi.
If you just want the merged partition and prepared to flash any custom ROM or MIUI V6, enter fastboot then send this command:
Code:
fastboot oem unlock
The reason is that when you unlocks the bootloader through fastboot, it automatically wipes out your phone. IDK why, but possibly inherent to Android's design for security reasons.
Click to expand...
Click to collapse
I tried this out, the phone got all wiped but the OEM unlocking button does not work still. So how would I know if the bootloader is unlocked?
anshude1 said:
I tried this out, the phone got all wiped but the OEM unlocking button does not work still. So how would I know if the bootloader is unlocked?
Click to expand...
Click to collapse
OEM Unlocking button? You meant on the Developer Options? That button is currently useless with no function at all. If you want to ascertain if your bootloader is unlocked or not, try sending
Code:
fastboot oem device-info
via fastboot. If the "Device unlocked" comes out as true, then your bootloader is already unlocked.
Ooooor just try to flash any custom recovery/ROM. If it works, then your bootloader is already unlocked.
rxl.noir said:
OEM Unlocking button? You meant on the Developer Options? That button is currently useless with no function at all. If you want to ascertain if your bootloader is unlocked or not, try sending
Code:
fastboot oem device-info
via fastboot. If the "Device unlocked" comes out as true, then your bootloader is already unlocked.
Ooooor just try to flash any custom recovery/ROM. If it works, then your bootloader is already unlocked.
Click to expand...
Click to collapse
Great, big thanks to you... It worked. Device unlocked is True
Funnily it also quoted device tampered is True :laugh:
anshude1 said:
Great, big thanks to you... It worked. Device unlocked is True
Funnily it also quoted device tampered is True :laugh:
Click to expand...
Click to collapse
Yeah, it might be set to true once you had flashed another unsigned image to the eMMC (or when you disconnect the battery, IDK), probably for the warranty checks :q.
knoxwalles said:
Have a look to
http://en.miui.com/thread-209941-1-1.html
there you can find a zip (cancro_merge_partition(2).zip) and the guideline how to use. For me it worked fine.
It does the repartitioning through fastboot by executing 1 shell script. Afterwards you might want to update your recovery rom to an English version.
Click to expand...
Click to collapse
Worked for me
Thank you very much.

Question regarding procedure to safely install (MIUI eu) rom

Hi,
The Mi8 i've bought is a Chinese version which came with the bootloader unlocked and the global rom installed.
Now I want to install the MIUI eu rom on my phone, but since there are so many brick reports I try to get clear what the right procedure is. I figured out that this procedure is the right one and I assume it can be usefull for alot of users.
As far as I understand, most of the bricks are the continuation of installing another rom via MiFlash with accidently enabled the "lock bootloader" option or trying to lock the bootloader after succesfully installing another rom (other than Chinese rom), so DONT DO IT
Since I am more familiar with TRWP, I used this to install the rom.
I've used the procedure below and succesfully installed MIUI 10 EU 10.0.4.0 8.1 rom on my phone.
1. Install TWRP by following this:
Download TWRP image
Transfer TWRP image from pc to phone
Boot to TWRP via fastboot
This should result in the following screen:
NOTE: If you phone is still encrypted, a password prompt will show up. Enter your
pin to decrypt
Click "Install", select the recovery file and swipe to install the image. To make the .img file visible in TWRP, click on the button in the right corner below saying: "Install Img"
After TWRP is succesfully installed, head back to the the start page of TWRP:
Select "Wipe" and in the next screen press on "Format Data". The following screen will appear:
Type in "yes" to start formatting the data. Dont touch the phone now and patiently wait till this is finished.
Once the data formatting is done, press the back button a couple of times to return to the start page of TWRP.
Now select "Reboot" and click on "Recovery". The phone will now reboot and start TWRP again. You will now see that you dont have to decrypt your phone anymore, since the encryption is removed.
2. Install MIUI eu (or any) rom
Since the data is formatted, all the data on the phone is removed. Connect your phone to your pc and transfer the rom to the phone.
From the start page of TWRP click on "Install"
In my case I've installed the MIUI 10 EU rom (v10.0.4.0)
Click on the rom you want and swipe to install it.
Patiently wait untill the rom is installed. Now you can click on reboot and your phone will now boot to the freshly installed rom.
3. Enjoy
Note: Do not try to lock the bootloader when you are using a Chineese phone with a rom other than the Chineese rom. This will brick you phone
Note2: Always remember to check the "fastboot getvar anti" status before installing another rom. This should be implemented starting from the Android 9 based roms, but just check to be sure. If the "getvar anti" commands results in a FAILED you should be good to go.
@AL_IRAQI wrote a nice post with more information about this policy. https://forum.xda-developers.com/redmi-note-5-pro/how-to/index-everything-anti-roll-t3816219
Thanks in advance!
Correct steps u got it right, don't forget if u flash a android pie rom u cannot downgrade it to a previous miui version because of the anti roll back that Xiaomi implemented from Android 9.0 aka pie.
Wipe cache/dalvik is not needed after a clean flash.
bassbounce said:
Correct steps u got it right, don't forget if u flash a android pie rom u cannot downgrade it to a previous miui version because of the anti roll back that Xiaomi implemented from Android 9.0 aka pie.
Wipe cache/dalvik is not needed after a clean flash.
Click to expand...
Click to collapse
Thanks for your quick reply! Does this anti rollback policy even counts when formatting data before installing the new rom? And how about installing a rom like lineage os? Do you know if can (for example) install lineage os 15.1 after I've used an Android 9.0 based MIUI rom?
I will try to install the MIUI eu rom tomorrow.
@tharonny
https://forum.xda-developers.com/redmi-note-5-pro/how-to/index-everything-anti-roll-t3816219
He explains a bit about the anti roll back system.
It was first introduced to the Redmi note 5 pro they got lots of information about it.
bassbounce said:
@tharonny
https://forum.xda-developers.com/redmi-note-5-pro/how-to/index-everything-anti-roll-t3816219
He explains a bit about the anti roll back system.
It was first introduced to the Redmi note 5 pro they got lots of information about it.
Click to expand...
Click to collapse
Thanks, I'll look into it
I would like to ask: What if I installed eu rom, but I didn't flash "Disable Dm-Verity" is there a risk? If I am correct "Disable Dm-Verity" is required to disable encryption. Eu rom doesn't have encryption I think, but if the system is at some stage encrypted I should decrypt and format data I think...Am I right - at most not a brick, but a potential loss of data will occure?
s7eVe90 said:
I would like to ask: What if I installed eu rom, but I didn't flash "Disable Dm-Verity" is there a risk? If I am correct "Disable Dm-Verity" is required to disable encryption. Eu rom doesn't have encryption I think, but if the system is at some stage encrypted I should decrypt and format data I think...Am I right - at most not a brick, but a potential loss of data will occure?
Click to expand...
Click to collapse
You don't need it. Just flash twrp format and flash Xiaomi EU ROM. Done
SPOCK_VULKAN said:
You don't need it. Just flash twrp format and flash Xiaomi EU ROM. Done
Click to expand...
Click to collapse
Are you sure about this? I thought I've read some posts about people not be able to install the rom when the disable dm verity is not flashed?
tharonny said:
Are you sure about this? I thought I've read some posts about people not be able to install the rom when the disable dm verity is not flashed?
Click to expand...
Click to collapse
Yes I am sure. Dmverity is need to boot miui official ROM not xiaomi.eu
SPOCK_VULKAN said:
Yes I am sure. Dmverity is need to boot miui official ROM not xiaomi.eu
Click to expand...
Click to collapse
And what about roms like Lineage os? Does that rom require dm verity to be disabled?
tharonny said:
And what about roms like Lineage os? Does that rom require dm verity to be disabled?
Click to expand...
Click to collapse
Neither. Dmverity is only need for miui official ROM
SPOCK_VULKAN said:
Neither. Dmverity is only need for miui official ROM
Click to expand...
Click to collapse
Thanks, good to know!
Good news! Today I've successfully installed MIUI 10 eu rom. I did indeed not need to flash the disable dm-varity. I will update the FP so it matches the steps I've taken. Next week I will make a complete tutorial with images.
Thanks again!
What's the reason to flash the recovery from the recovery itself and not directly from fastboot? I mean :
fastboot devices
fastboot flash recovery xxx.img
TIA
descarao81 said:
What's the reason to flash the recovery from the recovery itself and not directly from fastboot? I mean :
fastboot devices
fastboot flash recovery xxx.img
TIA
Click to expand...
Click to collapse
To be honest, i dont know. I know about the fastboot flash recovery command, but since flashing via twrp worked good for me I've keeped it in the procedure
Little question:
Do I have to select "wipe data" under "Advanced wipe" or should I select "Format Data" in Wipe menu?
baddevil2 said:
Little question:
Do I have to select "wipe data" under "Advanced wipe" or should I select "Format Data" in Wipe menu?
Click to expand...
Click to collapse
"Format Data" is the one your looking for. If you follow the steps in the first post you should be fine.
Wipe data is a factory reset. You need to format your data which will entirely remove your current rom and remove the encryption
Can't boot to recovery (twrp) after unlocking:
C:\Users\Dominic\Downloads\platform-tools_r28.0.1-windows\platform-tools>fastboot boot recovery.img
Downloading 'boot.img' FAILED (Write to device failed in SendBuffer() (Unknown error))
Finished. Total time: 5.886s
Any ideas?
tharonny said:
Hi,
The Mi8 i've bought is a Chinese version which came with the bootloader unlocked and the global rom installed.
Now I want to install the MIUI eu rom on my phone, but since there are so many brick reports I try to get clear what the right procedure is. If this procedure is the right one, I assume it can be usefull for alot of users.
As far as I understand, most of the bricks are the continuation of installing another rom via MiFlash with accidently enabled the "lock bootloader" option or trying to lock the bootloader after succesfully installing another rom (other than Chinese rom).
Since I am more familiar with TRWP, I would like to use this to install the rom
Now I think I got the procedure clear to safely install the MIUI eu rom and I was hoping that someone can confirm this:
1. Install TWRP by following this:
Download TWRP image
Transfer TWRP image from pc to phone
Boot to TWRP via fastboot
*If encryped: Enter your
pin to decrypt
Select and install TWRP image
Format data
Reboot to recovery
2. Install MIUI eu (or any) rom
Transfer the rom from the pc to the phone
Install rom
Reboot
3. Enjoy
By following the steps above there should'nt be any chance of bricking the phone if I'm correct. If someone could confirm the above, i will update the procedure above with some images to make it more helpfull/usefull for other users who are in the same situation as me.
In another topic I've read something about flashing a region fix (since I'm using a Chinese phone), but I cannot find this elsewere. I reckon that this step is not needed?
EDIT: Topic updated. I've successfully installed MIUI 10 eu rom using the steps above!
Thanks in advance!
Click to expand...
Click to collapse
First, thank you very much for such informations. Flashing rom isn't hard for me but I'm so afraid to brick the device that costs me 450 euros....
Could you please put some screens as you mentioned ?
Could you please detail more in this first thread if you format or wipe which partition (data for example).
Thanks for your time man !
Can someone confirm antirollback bricks the phone from official miui to lower version miui but doesn't brick miui x.x.x to xiaomi.eu rom any versions ?
baddevil2 said:
Can't boot to recovery (twrp) after unlocking:
C:\Users\Dominic\Downloads\platform-tools_r28.0.1-windows\platform-tools>fastboot boot recovery.img
Downloading 'boot.img' FAILED (Write to device failed in SendBuffer() (Unknown error))
Finished. Total time: 5.886s
Any ideas?
Click to expand...
Click to collapse
Tonight Ill look into it

MI A2 not receiving OTA

Just bought MI A2 from official dealer and the phone is stuck on Android one version 8.1.0 and not getting PIE via OTA.
Is there a safe method to manually install the latest stock PIE version of android one ?
Is it possible the update was removed from the servers ?
kalda01 said:
Just bought MI A2 from official dealer and the phone is stuck on Android one version 8.1.0 and not getting PIE via OTA.
Is there a safe method to manually install the latest stock PIE version of android one ?
Is it possible the update was removed from the servers ?
Click to expand...
Click to collapse
Use this method:
https://forum.xda-developers.com/mi-a2/how-to/fastboot-xiaomi-mi-a2-fastboot-images-t3824849
It's officially
d3rt0xx said:
Use this method:
https://forum.xda-developers.com/mi-a2/how-to/fastboot-xiaomi-mi-a2-fastboot-images-t3824849
It's officially
Click to expand...
Click to collapse
Just to clarify, using this method will not void the warranty ?
kalda01 said:
Just to clarify, using this method will not void the warranty ?
Click to expand...
Click to collapse
Yes, it's safe and the official way
d3rt0xx said:
Use this method:
https://forum.xda-developers.com/mi-a2/how-to/fastboot-xiaomi-mi-a2-fastboot-images-t3824849
It's officially
Click to expand...
Click to collapse
d3rt0xx said:
Yes, it's safe and the official way
Click to expand...
Click to collapse
Can the stock rom be applied by booting into recovery mode and using the apply update from SD card ?
kalda01 said:
Can the stock rom be applied by booting into recovery mode and using the apply update from SD card ?
Click to expand...
Click to collapse
Just use the MiFlashTool.
It's easy to use
d3rt0xx said:
Just use the MiFlashTool.
It's easy to use
Click to expand...
Click to collapse
I have the MI FLASH TOOL installed but it would not succeed to install the drivers.
I assume nothing will work if windows does not have correct drivers installed.
Can I install the fastboot driver manually ? which driver ?
Btw, the phone is detected in fastboot mode by the FASTBOOT/ADB command line interface. Is that helpfull to me ?
kalda01 said:
I have the MI FLASH TOOL installed but it would not succeed to install the drivers.
I assume nothing will work if windows does not have correct drivers installed.
Can I install the fastboot driver manually ? which driver ?
Btw, the phone is detected in fastboot mode by the FASTBOOT/ADB command line interface. Is that helpfull to me ?
Click to expand...
Click to collapse
Yes it's helpful, but my english isnt good enough to explain the next steps
kalda01 said:
Just bought MI A2 from official dealer and the phone is stuck on Android one version 8.1.0 and not getting PIE via OTA.
Is there a safe method to manually install the latest stock PIE version of android one ?
Is it possible the update was removed from the servers ?
Click to expand...
Click to collapse
Afaik...to flash latest pie base firmware, first you need to unlock your phone's bootloader and then only you can flash available fastboot firmware (pie based) using MiFlash tool.
Try to OTA update using WiFi(Keep the phone to airplane mode and just turn on the WiFi and then try to update). Also before updating the phone just turn on the oem unlock switch under developer option on safer side so you can unlock your bootloader later if anything goes wrong while updating your device since many people have reported that they've bricked their device during updating their device..
Updaing to PIE was successfull.
Used this guide to unlock bootloader: https://www.androidexplained.com/mi-a2-unlock-bootloader/
Then used the MI FLASH tool to apply the stock rom. First atemp failed with "write error" after 55 seconds, but I tried a second time and this time the process completed.
kalda01 said:
Updaing to PIE was successfull.
Used this guide to unlock bootloader: https://www.androidexplained.com/mi-a2-unlock-bootloader/
Then used the MI FLASH tool to apply the stock rom. First atemp failed with "write error" after 55 seconds, but I tried a second time and this time the process completed.
Click to expand...
Click to collapse
I hope you flash both this fastboot codes when unlocked your bootloader.
Code:
fastboot flashing unlock
fastboot flashing unlock_critical
Unlock_Critical is require to flash custom roms and if you would want to revert back to stock from custom rom.
NE0HP said:
I hope you flash both this fastboot codes when unlocked your bootloader.
Code:
fastboot flashing unlock
fastboot flashing unlock_critical
Unlock_Critical is require to flash custom roms and if you would want to revert back to stock from custom rom.
Click to expand...
Click to collapse
Yes, did both commands. However, after flashing PIE via the flash tool, the bootloader became locked again.
kalda01 said:
I hope you flash both this fastboot codes when unlocked your bootloader.
Yes, did both commands. However, after flashing PIE via the flash tool, the bootloader became locked again.
Click to expand...
Click to collapse
You must have selected "flash all and lock" under MiFlash tool so it lock the bootloader as well but now you know how to unlock it so do it whenever you feel like unlocking your bootloader..

How can I get my xiaomi mi a2 back to normal?

I rooted my phone but didn't really like it while having my banking apps on it. So I tried to get back to normal but ended up wiping everything, even the OS, off of my phone. I am trying to get it back to normal. I followed one guide on here which gave me an android 10 ROM but I was unable to update it to the latest version. The link for that guide is: https://forum.xda-developers.com/mi-a2/how-to/guide-official-stock-android-10-t4033835. I didn't install the force encrypt or the magisk because I don't wanna root it. I just want it back to how it was before the root. So I am wondering if there is a way that I can get back to normal now. Thanks in advance for any advice.
Tyche303 said:
I rooted my phone but didn't really like it while having my banking apps on it. So I tried to get back to normal but ended up wiping everything, even the OS, off of my phone. I am trying to get it back to normal. I followed one guide on here which gave me an android 10 ROM but I was unable to update it to the latest version. The link for that guide is: https://forum.xda-developers.com/mi-a2/how-to/guide-official-stock-android-10-t4033835. I didn't install the force encrypt or the magisk because I don't wanna root it. I just want it back to how it was before the root. So I am wondering if there is a way that I can get back to normal now. Thanks in advance for any advice.
Click to expand...
Click to collapse
well what is the problem ? if it booted and you didn't flash magisk you are on stock. ...what exactly do you want ? to lock the bootloader or remove twrp custom recovery too ?
KevMetal said:
well what is the problem ? if it booted and you didn't flash magisk you are on stock. ...what exactly do you want ? to lock the bootloader or remove twrp custom recovery too ?
Click to expand...
Click to collapse
The ROM was an earlier version of android 10. But I am unable to install the latest updates for android 10 OTA. It's working but I would like to be able to receive updates again. If there is another ROM that would give me those results I would be fine with flashing that too.
Tyche303 said:
The ROM was an earlier version of android 10. But I am unable to install the latest updates for android 10 OTA. It's working but I would like to be able to receive updates again. If there is another ROM that would give me those results I would be fine with flashing that too.
Click to expand...
Click to collapse
the most likely issue is your recovery ... take the stock recovery from a fastboot stock rom and flash that with fastboot
also make sure to flash stock rom in both slot A & B then updates will work
go to this website
https://www.getdroidtips.com/xiaomi-mi-a2-stock-firmware/
download a PIE stock rom that is a FASTBOOT version ... download miflash ...follow instructions to flash it using miflash in fastboot mode
then boot & set it up ...it will start offering updates by itself
your problem right now is that you flashed stock rom in only one slot and you have a custom recovery so that is why it can't update
KevMetal said:
the most likely issue is your recovery ... take the stock recovery from a fastboot stock rom and flash that with fastboot
also make sure to flash stock rom in both slot A & B then updates will work
go to this website
https://www.getdroidtips.com/xiaomi-mi-a2-stock-firmware/
download a PIE stock rom that is a FASTBOOT version ... download miflash ...follow instructions to flash it using miflash in fastboot mode
then boot & set it up ...it will start offering updates by itself
your problem right now is that you flashed stock rom in only one slot and you have a custom recovery so that is why it can't update
Click to expand...
Click to collapse
Awesome, thanks! I will try that later tonight or tomorrow.
KevMetal said:
the most likely issue is your recovery ... take the stock recovery from a fastboot stock rom and flash that with fastboot
also make sure to flash stock rom in both slot A & B then updates will work
go to this website
https://www.getdroidtips.com/xiaomi-mi-a2-stock-firmware/
download a PIE stock rom that is a FASTBOOT version ... download miflash ...follow instructions to flash it using miflash in fastboot mode
then boot & set it up ...it will start offering updates by itself
your problem right now is that you flashed stock rom in only one slot and you have a custom recovery so that is why it can't update
Click to expand...
Click to collapse
So I downloaded a fastboot file from here :https://forum.xda-developers.com/mi-a2/how-to/fastboot-xiaomi-mi-a2-fastboot-images-t3824849
The miui flash program wouldn't work for me. On the website you linked me there was a method that used twrp to flash it. But when use twrp I can't see any of the zip files in twrp. I've tried three different ones from the link I just shared here. Not sure what the problem is.
KevMetal said:
the most likely issue is your recovery ... take the stock recovery from a fastboot stock rom and flash that with fastboot
also make sure to flash stock rom in both slot A & B then updates will work
go to this website
https://www.getdroidtips.com/xiaomi-mi-a2-stock-firmware/
download a PIE stock rom that is a FASTBOOT version ... download miflash ...follow instructions to flash it using miflash in fastboot mode
then boot & set it up ...it will start offering updates by itself
your problem right now is that you flashed stock rom in only one slot and you have a custom recovery so that is why it can't update
Click to expand...
Click to collapse
nevermind, I have gotten it to work. Thank you for your help
Tyche303 said:
nevermind, I have gotten it to work. Thank you for your help
Click to expand...
Click to collapse
okay glad you came right
half the fun is figuring this stuff out

Question I got stuck after download some Updates via OTA

Hi there
I am a newbie of Xiaomi Phone. I got a used Mi 11 Ultra phone from a reputable eBay User. My phone is currently installed with a stable version called MIUI 13/.0 (V13.0.12.0.SKACNXM STABLE). Since I am new to this phone, I click on system updates and managed to download a file called xiaomi.eu_Multi_M11Pro_M11Ultra_V13.0.13.0.SKACNXM_618A7FFAB_V13-12.ZIP Via OTA Updates.
After I click on the Updates Button, I got a screen with a green button : "Check MD5 & Install", after a while, I got a pop up screen says :Your device supports "Seamless System Updates",
I click on the OK button, also click on the OK button for the internal storage is encrypted.
Finally, to ask me whether I would like to continue to install the Updates, I choose YES and end up stuck at the Main Menu with 5 choices: Reboot, Wipe Data, Connect with MiAssistant, Safe Mode and Repair Mode. There are no choice for me to install the Updates.
Can someone give me a hand please ?
Many thanks in advance.
gomcse2002 said:
Hi there
I am a newbie of Xiaomi Phone. I got a used Mi 11 Ultra phone from a reputable eBay User. My phone is currently installed with a stable version called MIUI 13/.0 (V13.0.12.0.SKACNXM STABLE). Since I am new to this phone, I click on system updates and managed to download a file called xiaomi.eu_Multi_M11Pro_M11Ultra_V13.0.13.0.SKACNXM_618A7FFAB_V13-12.ZIP Via OTA Updates.
After I click on the Updates Button, I got a screen with a green button : "Check MD5 & Install", after a while, I got a pop up screen says :Your device supports "Seamless System Updates",
I click on the OK button, also click on the OK button for the internal storage is encrypted.
Finally, to ask me whether I would like to continue to install the Updates, I choose YES and end up stuck at the Main Menu with 5 choices: Reboot, Wipe Data, Connect with MiAssistant, Safe Mode and Repair Mode. There are no choice for me to install the Updates.
Can someone give me a hand please ?
Many thanks in advance.
Click to expand...
Click to collapse
start with Repair Mode if it doesn't work Wipe Data(your data will be erased).
I tried both options but not working
Try installing TWRP recovery (permanent flash not just fastboot boot TWRP.img) and then retry the installation.
gomcse2002 said:
I tried both options but not working
Click to expand...
Click to collapse
Is the bootloader unlocked?
Unlock Bootloader - Install Twrp - install the latest xiaomi.eu rom - you can root with magisk.zip if necessary
NOSS8 said:
Is the bootloader unlocked?
Click to expand...
Click to collapse
May I know how to check whether the bootloader had been unlocked ? Thanks in advance.
gomcse2002 said:
May I know how to check whether the bootloader had been unlocked ? Thanks in advance.
Click to expand...
Click to collapse
Is the phone boot and is linked with your Xiaomi account?
NOSS8 said:
Is the phone boot and is linked with your Xiaomi account?
Click to expand...
Click to collapse
I don't have a Xiaomi account. The phone is working but cannot install updates properly because of the seamless updates.
gomcse2002 said:
I don't have a Xiaomi account. The phone is working but cannot install updates properly because of the seamless updates.
Click to expand...
Click to collapse
Ok, what do you want to do, update it to Chinese version or flash another version?
Do you know the Xiaomi EU roms?
For me looks like ROM what you had before was FASTBOOT installed xiaomi.eu stable, and then they started rolling out TWRP updates, and because you didn't have TWRP its reboot in stock recovery ?...
Can you boot into TWRP from this link:https://forum.xda-developers.com/t/...eamwin-recovery-project.4374111/post-87360425
Please use this fastboot command
Code:
fastboot boot recovery.img
, first TWRP boot will be in Chinese language, please change it to English, enter your unlock PIN, then find this update file downloaded by updater.
Let us know if that's help
I'm right, your current ROM is a FASTBOOT version (so without TWRP)
Checked on the download website
xiaomi.eu_multi_MI11Pro_MI11Ultra_V13.0.12.0.SKACNXM_v13-12-fastboot.zip
Click to expand...
Click to collapse
veimus said:
For me looks like ROM what you had before was FASTBOOT installed xiaomi.eu stable, and then they started rolling out TWRP updates, and because you didn't have TWRP its reboot in stock recovery ?...
Can you boot into TWRP from this link:https://forum.xda-developers.com/t/...eamwin-recovery-project.4374111/post-87360425
Please use this fastboot command
Code:
fastboot boot recovery.img
, first TWRP boot will be in Chinese language, please change it to English, enter your unlock PIN, then find this update file downloaded by updater.
Let us know if that's help
Click to expand...
Click to collapse
What are you talking about ?
Xiaomi Eu is a custom rom.
Xiaomi EEA rom for Europe is a stock rom.
V13.0.12.0.SKACNXM and V13.0.13.0.SKACNXM :Chinese stock rom
NOSS8 said:
What are you talking about ?
Xiaomi Eu is a custom rom.
Xiaomi EEA rom for Europe is a stock rom.
V13.0.12.0.SKACNXM and V13.0.13.0.SKACNXM :Chinese stock rom
Click to expand...
Click to collapse
You didn't focus on details ,my friend
He has already installed xiaomi.eu custom ROM, if you closely check his pictures from his first post - Updater app downloaded new version of xiaomi.eu CUSTOM ROM, so yeah he has already unlocked bootloader, and installed FASTBOOT version of CUSTOM ROM, the version what Updater app downloaded was released to be installed with TWRP (he didn't have TWRP on his phone yet) - so he need boot into TWRP and install update manually.
veimus said:
You didn't focus on details ,my friend
He has already installed xiaomi.eu custom ROM, if you closely check his pictures from his first post - Updater app downloaded new version of xiaomi.eu CUSTOM ROM, so yeah he has already unlocked bootloader, and installed FASTBOOT version of CUSTOM ROM, the version what Updater app downloaded was released to be installed with TWRP (he didn't have TWRP on his phone yet) - so he need boot into TWRP and install update manually.
Click to expand...
Click to collapse
You're right bro, I'm way off base.
I focused on that
he just installed the TWRP and updated.
TWRP
https://dl.akr-developers.com/?dir=skkk/TWRP/A12/v6.0_A12
To summarize:
Create a Xiaomi account.Important
I hope that the seller has deleted the device from his account otherwise it will be a hassle.
flash twrp
Flash the rom
Create a Xiaomi account.Important
Click to expand...
Click to collapse
He has already unlocked bootloader/already on custom ROM - for what he needs Xiaomi account ?
veimus said:
He has already unlocked bootloader/already on custom ROM - for what he needs Xiaomi account ?
Click to expand...
Click to collapse
because after flashing the ROM, it is asked to continue booting.
obviously if the phone is no longer linked this will not be a problem
Hi gomcse2002,
Has your problem been solved?
If so, how did you do it, if you don't mind me asking.
I've had the same exact concern on my Mi 11 Ultra, which sadly has NOT been resolved yet.
Thanks.
Which rom(full name)?

Categories

Resources