How to downgrade from Q to Pie? - Xiaomi Mi A2 Lite Questions & Answers

I'm curently running the latest stock rom and I wanted to downgrade to firmware 10.0.13.0 so I could try some custom roms that don't support the latest stock Q.
How do I do that? I've seen a lot of threads talking about dowgrading from Pie to Oreo but still haven't seen anything on the process of going from Q to Pie.

Denkki said:
I'm curently running the latest stock rom and I wanted to downgrade to firmware 10.0.13.0 so I could try some custom roms that don't support the latest stock Q.
How do I do that? I've seen a lot of threads talking about dowgrading from Pie to Oreo but still haven't seen anything on the process of going from Q to Pie.
Click to expand...
Click to collapse
Downgrading to pie is d same as loading the os using miflash. U jus go to fastboot and run d process or enter EDL mode & run d process.
Try this link:
https://forum.xda-developers.com/sho...php?p=79365091
Lets know how it goes

What I've done:
Install adb drivers
unlock bootloader(fastboot oem unlock) in platform tools
I used this process:https://www.youtube.com/watch?v=1pjs5wakBCg&t=
*use mi 2 lite files but same process*
download mi flash tool( install in drive C
go fastboot mode
download and extract .tgz fastboot images you want from here:
https://forum.xda-developers.com/mi-a2-lite/how-to/fastboot-xiaomi-mi-a2-fastboot-images-t3824871
then flash using mi flash tool.

harbinx said:
What I've done:
Install adb drivers
unlock bootloader(fastboot oem unlock) in platform tools
I used this process:https://www.youtube.com/watch?v=1pjs5wakBCg&t=
*use mi 2 lite files but same process*
download mi flash tool( install in drive C
go fastboot mode
download and extract .tgz fastboot images you want from here:
https://forum.xda-developers.com/mi-a2-lite/how-to/fastboot-xiaomi-mi-a2-fastboot-images-t3824871
then flash using mi flash tool.
Click to expand...
Click to collapse
Thank you! I didn't know it was the exact same process.
Just donwgraded and I'm now using a custom rom, everything seems to be working well!

Related

[GUIDE] [ROOT] [MAGISK] How to Root Mi A3 with MAGISK without TWRP

Hello!
There's a guide already on XDA that covers this matter but in a general way and for all devices. That guide was based on the general info you may find on the original installation guide by @topjohnwu. So, all credits go to him.
Anyway, since there ins't a TWRP Recovery for Mi A3 (yet) and since I believe that many of you don't know about this, Iv'e decided to share here the steps I've done in order to root Mi A3.
NOTE: Now that we already have a working TWRP available for Mi A3, to root it you can now simply follow THESE steps after unlocking the bootloader.​​The guide present on this thread, of course, works as well, so I'll leave it here for those of you who don't want to permanently install TWRP to your device.​
1 - Unlock the bootloader (if you haven't done it already...beware that this will erase all of your user data). To do so, you must:
Enable developer options
Enable the "OEM unlocking" option
Enable USB debugging
Have both adb and fastboot, from SDK Platform Tools available on your PC
Connect your phone to your PC using the USB cable and run the following commands:
Code:
adb devices
(just to make sure that your phone is, in fact, recognized by your PC and that you're able to run adb commands)​
Code:
adb reboot bootloader
(so your phone will reboot into fastboot mode)​
Code:
fastboot flashing unlock
(after rebooting, boot the phone again into fastboot mode)​
Code:
fastboot flashing unlock_critical
(for full unlock)​
2 - Download Mi A3 stock boot.img that you may find later on this post, that matches your current build.
Copy the boot.img to your phone internal (or external) memory
Leave a copy of it on your PC (on the same folder you have adb and fastboot...we never know if we don't need to use it again in the future...you know, to restore the stock boot.img, aka revert to stock...)
If, for your current build, there isn't a stock boot.img released yet, you may get one yourselves. How? READ THIS.​​​EU Build boot images:​
---Android 9---​​For all of you currently on 10.3.7.0 (EU) build, you may download stock boot.img HERE.​​For all of you currently on 10.3.8.0 (EU) build, you may download stock boot.img HERE.​​For all of you currently on 10.3.9.0 (EU) build, you may download stock boot.img HERE.​​For all of you currently on 10.3.11.0 (EU) build, you may download stock boot.img HERE.​​For all of you currently on 10.3.12.0 (EU) build, you may download stock boot.img HERE.​​For all of you currently on 10.3.14.0 (EU) build, you may download stock boot.img HERE.​​For all of you currently on 10.3.15.0 (EU) build, you may download stock boot.img HERE.​​---Android 10---​​For all of you currently on 11.0.1.0 (EU) build, you may download stock boot.img HERE. (thanks to @Sapper Morton)​​For all of you currently on 11.0.2.0 (EU) build, you may download stock boot.img HERE.​​For all of you currently on 11.0.3.0 (EU) build, you may download stock boot.img HERE.​​For all of you currently on 11.0.5.0 (EU) build, you may download stock boot.img HERE.​​For all of you currently on 11.0.6.0 (EU) build, you may download stock boot.img HERE.​​For all of you currently on 11.0.8.0 (EU) build, you may download stock boot.img HERE.​​For all of you currently on 11.0.9.0 (EU) build, you may download stock boot.img HERE.​​---Android 11---​
For all of you currently on 12.0.2.0 (EU) build, you may download stock boot.img HERE.​​For all of you currently on 12.0.3.0 (EU) build, you may download stock boot.img HERE. (thanks to @lucoz )​​For all of you currently on 12.0.5.0 (EU) build, you may download stock boot.img HERE.​​For all of you currently on 12.0.6.0 (EU) build, you may download stock boot.img HERE.​
Global Build boot images:​
---Android 9---​​For all of you currently on 10.3.8.0 (Global) build, you may download stock boot.img HERE. (thanks to @Sapper Morton)​​For all of you currently on 10.3.14.0 (Global) build, you may download stock boot.img HERE. (thanks to @Sapper Morton)​​---Android 10---​​For all of you currently on 11.0.7.0 (Global) build, you may download stock boot.img HERE. (thanks to @Sapper Morton)​​For all of you currently on 11.0.11.0 (Global) build, you may download stock boot.img HERE. (thanks to @Sapper Morton)​​For all of you currently on 11.0.14.0 (Global) build, you may download stock boot.img HERE. (thanks to @Sapper Morton)​​For all of you currently on 11.0.15.0 (Global) build, you may download stock boot.img HERE.​​For all of you currently on 11.0.22.0 (Global) build, you may download stock boot.img HERE.​​---Android 11---​​For all of you currently on 12.0.3.0 (Global) build, you may download stock boot.img HERE.​​For all of you currently on 12.0.4.0 (Global) build, you may download stock boot.img HERE.​​For all of you currently on 12.0.6.0 (Global) build, you may download stock boot.img HERE.​​For all of you currently on 12.0.7.0 (Global) build, you may download stock boot.img HERE.​​For all of you currently on 12.0.8.0 (Global) build, you may download stock boot.img HERE.​​For all of you currently on 12.0.9.0 (Global) build, you may download stock boot.img HERE.​​For all of you currently on 12.0.11.0 (Global) build, you may download stock boot.img HERE.​
3 - Download latest Magisk Manager from HERE and install it on your phone
4 - Open Magisk Manager App and press:
Install
Install (again)
Select and Patch a File
Browse to the path where you saved stock boot.img and select it
Magisk Manager will now patch the boot image and store it in [Internal Storage]/Download/magisk_patched.img
5 - Copy the patched boot image from your device to your PC
Store it on the same folder where you have adb and fastboot
If you can’t find it via MTP, you can pull the file with ADB
Code:
adb pull /sdcard/Download/magisk_patched.img
6 - Uninstall Magisk Manager App from your phone (I'm not sure if this is really needed but I've done it anyway...)
7 - Flash the patched boot image to your phone by running these commands (remember, you must have patched boot image on the same folder you have adb and fastboot and, of course, your device must be connected to your PC...)
Code:
adb reboot bootloader
Code:
fastboot erase boot
Code:
fastboot flash boot magisk_patched.img
Code:
fastboot continue
(THIS IS IMPORTANT! USE CONTINUE INSTEAD OF REBOOT! You have been warned!!!)
8 - After the phone boots up, hopefully with a normal boot (almost feels like nothing happened....), install/open Magisk Manager App again and watch Magisk doing it's magic!
9 - Enjoy!
All credits goes to topjohnwu and it's incredible work with Magisk.
I cannot be responsible if you turn your phone into a brick. Your phone, your choices, your responsibility!
Thanks!
Been waiting for someone to create a cannonical guide of how to root this phone.
Saw someone with magisk who had WiFi problems, WiFi works ok you?
Also one would assume it disables the OTA update feature, probably better write it.
sirzarmo said:
Saw someone with magisk who had WiFi problems, WiFi works ok you?
Click to expand...
Click to collapse
WiFi problems appears when you flash boot not from your ROM build. Use only the same boot.img to the build number of ROM.
sirzarmo said:
Also one would assume it disables the OTA update feature, probably better write it.
Click to expand...
Click to collapse
It is. But you can still update via Magisk if you don`t touch system partitions. Else - flash manualy.
Wow,
Thank's a lot!
As you said, I didn't know this way to root a device.
sirzarmo said:
Saw someone with magisk who had WiFi problems, WiFi works ok you?
Click to expand...
Click to collapse
That someone was me. But, I believe that happened because I've used boot.img from 10.3.4.0 branch on GitHub (instead of using boot.img from 10.3.5.0 branch) and, also, I've used "fastboot reboot" command instead of "fastboot continue". As soon as the 10.3.5.0 branch appeared online I've decided to test this method again and it worked, that's why I've decided to share this with all community.
sirzarmo said:
Also one would assume it disables the OTA update feature, probably better write it.
Click to expand...
Click to collapse
I don't think it will disable OTA feature. Probably, as soon as a new OTA comes out it will be installed on Slot A (because up until now there's only been one update and it was installed on slot B...so everyone should now be on firmware V10.3.5.0 running on Slot B). So, if I'm not mistaken, the "worst" thing that could happen is to lose root (since the update will be installed on Slot A and boot.img on that Slot is still the stock one).
Cheers!
Typhus_ said:
Cheers!
Click to expand...
Click to collapse
Why thank you dear, I'll root now if so.
Hello!
Well, in fact, this method breaks OTA. It downloads but it doesn't install.
My guess is we need to flash stock boot.img and then apply the OTA update and then patch the new boot.img again.
I've noticed a new boot.img on GitHub today, hopefully it will be the correct one.
Typhus_ said:
Hello!
Well, in fact, this method breaks OTA. It downloads but it doesn't install.
Click to expand...
Click to collapse
You can simply follow this guide, if you do not touch system partitions.
https://github.com/topjohnwu/Magisk/blob/master/docs/tutorials.md#devices-with-ab-partitions
Tried it already. It ain't possible because of 2 reasons:
1 - The supposly boot.img backup doesn't exist. Probably Magisk only does it if installed through TWRP and not by patching boot.img
2 - The OTA package fails to install. "A problem has occurred"...while trying to initiate the install.
Enviado do meu Mi A3 através do Tapatalk
When do you think twrp will be released for mi a3?
okay so I installed FDE magisk module now my phone is stuck at the bootscreen. Someone got a stock rom for me ?
You can change slot through fastboot. It will erase all user data (factory reset) but it's better than the phone not booting.
The other possible solution, I've sent you a PM (because external link).
fastboot --set-active=a (or b if you're now on a)
Enviado do meu Mi A3 através do Tapatalk
An offcial stock rom wouldve fixed my problem in no time. I changed the partition and got to a menu where I could chosse to factory reset but its been sitting on formatting data for like half hour...
drozo8o8 said:
An offcial stock rom wouldve fixed my problem in no time. I changed the partition and got to a menu where I could chosse to factory reset but its been sitting on formatting data for like half hour...
Click to expand...
Click to collapse
It should be quite fast...guess you're out of luck for the time being my friend.
By the way, you've used fastboot reboot or fastboot continue after changing slot?
It should be fastboot reboot
Enviado do meu Mi A3 através do Tapatalk
all i need is a proper flash all.bat since oyu gave me the OTA update link with a payload.bin which I extracted with payload_dumper
Typhus_ said:
Tried it already. It ain't possible because of 2 reasons:
1 - The supposly boot.img backup doesn't exist. Probably Magisk only does it if installed through TWRP and not by patching boot.img
Click to expand...
Click to collapse
Manualy patch boot.img in MM and you'll get backup.
This method is useful in Mi CC 9e. Thx
hello, install v10.3.5.0 over v10.3.7.0, now I don't have wifi and the sound does not work, instructions to fix it please ?, I am using the google translator to write here, thanks
You'll have to change slot and boot on that slot. You'll lose all your user data but the phone will boot ok and receive latest OTA. Either that or you have to wait for someone to dump you a stock 10.3.7.0 boot.img in order to fix those issues. On GitHub there isn't a boot.img for latest build yet.
Enviado do meu Mi A3 através do Tapatalk
Typhus_ said:
You'll have to change slot and boot on that slot. You'll lose all your user data but the phone will boot ok and receive latest OTA. Either that or you have to wait for someone to dump you a stock 10.3.7.0 boot.img in order to fix those issues. On GitHub there isn't a boot.img for latest build yet.
Enviado do meu Mi A3 através do Tapatalk
Click to expand...
Click to collapse
Fixed, THANKS YOU very much

Need help in downgrading

I have redmi note 5 pro and I have installed the latest orange fox recovery in it. Please tell me how can i downgrade my miui 11.0.3.0 to miui 10.2.1.0 oreo without bricking my device.
Thanks in advance
I'm not sure (wait for a proper answer) but I think ROMs from MIUI 9.5.19.0 and above are ARB4. I recommend that you flash a fastboot ROM that include the proper firmware for Oreo.
Fastboot ROMs: https://xiaomifirmwareupdater.com/archive/miui/whyred/
yes I recomend fastboot way too, not recovery's
I will like to ask people why recovery downgrading is risky as with custom recovery u can have n number of possibilities
Letrix said:
I'm not sure (wait for a proper answer) but I think ROMs from MIUI 9.5.19.0 and above are ARB4. I recommend that you flash a fastboot ROM that include the proper firmware for Oreo.
Fastboot ROMs: https://xiaomifirmwareupdater.com/archive/miui/whyred/
Click to expand...
Click to collapse
Thanks buddy for ur help, I successfully downgraded to 10.2.1.0.
One more question,what is the minimum ROM version that i can downgrade to (I have ARB 4)?
Now your ARB version is 4.
You can download the offical ROM image package and exract it.
Then open the file called "flash_all.bat". Look for "set CURRENT_ANTI_VER" in this file and look at the ARB version of the package.
If the anti level is 4 , it's safe to downgrade to this version.
If it's below 4, DO NOT flash the ROM or your phone will be bricked.
Yuki1001 said:
Now your ARB version is 4.
You can download the offical ROM image package and exract it.
Then open the file called "flash_all.bat". Look for "set CURRENT_ANTI_VER" in this file and look at the ARB version of the package.
If the anti level is 4 , it's safe to downgrade to this version.
If it's below 4, DO NOT flash the ROM or your phone will be bricked.
Click to expand...
Click to collapse
Thank u Buddy
From this info i cannot flash below global stable 9.5.19
And i just flashed it.
Means i m on the border

Changing Firmware with fastboot flash using Xiaomi's tool

Good day xda devs and users! I'm using Lineage 17.1 Android 10 and I want to go back to MIUI 11 Oreo. Can I just go straight to flashing with the tool and Fastboot image from miui web page, or do I need to flash Firmware back to Oreo first? Thank you.
Download fastboot rom from the miui community then use MiFlash to flash the stock rom.
Do I need boot loader unlock?
I think you need to unlock bootloader, am i sure? Let me know about this. I am wait for your reply.

Question [solved] xioami mi 11 lite 5g ne (lisa) boots to fastboot only after flashing firmware

hello guys i just recently unlocked my bootloader for xiaomi mi 11 lite 5g ne
so the firmware was on miui 12.5.11.0 and i wanted to go back to 12.5.8 and i tried flashing it with xiaomitool v2. it failed and could not flash super
now I am stuck on fastboot, cannot boot anywhere except fastboot. how to fix this???? do I have to wait for miui 12.5.11 fastboot rom???? how long will this take for fastboot rom???
edit: when i do a fastboot getvar anti the result is 1
Linux üzerinde mi flash veya .sh dosyası ile kurabilirsiniz.
by_BenjamiN said:
You can install it with mi flash or .sh file on Linux.
Click to expand...
Click to collapse
i just flash the MIUI 12.5.8 ROM even though it was orignally MIUI 12.5.11?????
i will try on linux because miflash can never detect my phone for some reason. only xiaomitoolv2 can detect
After you become root on linux, you can install it with the command ./flash_all.sh
langamer101 said:
hello guys i just recently unlocked my bootloader for xiaomi mi 11 lite 5g ne
so the firmware was on miui 12.5.11.0 and i wanted to go back to 12.5.8 and i tried flashing it with xiaomitool v2. it failed and could not flash super
now I am stuck on fastboot, cannot boot anywhere except fastboot. how to fix this???? do I have to wait for miui 12.5.11 fastboot rom???? how long will this take for fastboot rom???
edit: when i do a fastboot getvar anti the result is 1
Click to expand...
Click to collapse
steveroysston​
Download & Install MIUI ROM for Xiaomi 11 Lite 5G NE - FlashXiaomi
Download & Install MIUI ROM for Xiaomi 11 Lite 5G NE that will help to upgrade or downgrade your Xiaomi smartphone for free
flashxiaomi.com
by_BenjamiN said:
After you become root on linux, you can install it with the command ./flash_all.
Click to expand...
Click to collapse
tried on windows the .bat but always error
so tried on linux with sh script and 10 minutes later it is working. thank you very much bro!!!! you life saver!!!
Your welcomm bro
langamer101 said:
tried on windows the .bat but always error
so tried on linux with sh script and 10 minutes later it is working. thank you very much bro!!!! you life saver!!!
Click to expand...
Click to collapse
im curious to know if you did that from the live cd of the distro you picked or if you installed linux
Not a live cd. Fully installed on the drive. Had to dual boot.
Just try different versions of the rom but same region where you bought
langamer101 said:
Not a live cd. Fully installed on the drive. Had to dual boot.
Just try different versions of the rom but same region where you bought
Click to expand...
Click to collapse
thanks a lot for the info
help me i am having the same issue !!! i tried to every img recovery file from platform tools but it only goes to fastboot mode . help ASAP , thank you
Suvadeepnag said:
help me i am having the same issue !!! i tried to every img recovery file from platform tools but it only goes to fastboot mode . help ASAP , thank you
Click to expand...
Click to collapse
xiaomi.eu fastboot rom.
OrangeFox Recovery unofficial
fastboot boot recoveryfilenamehere
flash recovery in recovery
flash what you want
abcxdaabc said:
xiaomi.eu fastboot rom.
OrangeFox Recovery unofficial
fastboot boot recoveryfilenamehere
flash recovery in recovery
flash what you want
Click to expand...
Click to collapse
Thanks..i did install fastboot rom then dod the same way but i sodeloaded pixel os and it starts in first chance..but awoken os was not booting or I don't know it wasn't flashing !! And i have another question is Android 13 firmware is same for every rom ?

Question firmware flashers and custom rom install

New to oneplus 9 pro came from oneplus 6t would like a precise guide on how to install custom roms not sure how to use firmware flash tools on my LE2125 AA/Global phone which is on of the steps to flash Watchdog rom. Currently stock OOS 13.1.0.500 unlocked bootloader rooted and on twrp 3.7.0-12.1 also prefer to use my mac to run platform tools but also have a windows 10 laptop. I can't seem to search threads on xda "search this thread" comes back with a xda's forum search not just within the thread.
slopenut said:
New to oneplus 9 pro came from oneplus 6t would like a precise guide on how to install custom roms not sure how to use firmware flash tools on my LE2125 AA/Global phone which is on of the steps to flash Watchdog rom. Currently stock OOS 13.1.0.500 unlocked bootloader rooted and on twrp 3.7.0-12.1 also prefer to use my mac to run platform tools but also have a windows 10 laptop. I can't seem to search threads on xda "search this thread" comes back with a xda's forum search not just within the thread.
Click to expand...
Click to collapse
as all other 1+ phones, to unlock bootloader is 1 line of command prompt
You need android platform tools (instead of adb minimal)
once you unlocked the bootloader you have to flash a custom recovery (there is the payload dumper tool to extract them directly from the zip you are going to flash)
If you are already on latest firmware, i think you don't need flashing firmware, in any case, it's just a batch to be executed from recovery (the crDroid ones are good) to be flashed once
Psk.It said:
as all other 1+ phones, to unlock bootloader is 1 line of command prompt
You need android platform tools (instead of adb minimal)
once you unlocked the bootloader you have to flash a custom recovery (there is the payload dumper tool to extract them directly from the zip you are going to flash)
If you are already on latest firmware, i think you don't need flashing firmware, in any case, it's just a batch to be executed from recovery (the crDroid ones are good) to be flashed once
Click to expand...
Click to collapse
Thanks for the reply. I am unlocked and rooted and on twrp recovery. I learned to extract the crdroid firmware flasher and execute the .bat file to flash firmware I think to both slots like back in the oneplus 6t days I then wiped and sideloaded the custom rom.
slopenut said:
Thanks for the reply. I am unlocked and rooted and on twrp recovery. I learned to Tutuapp 9Apps Showbox extract the crdroid firmware flasher and execute the .bat file to flash firmware I think to both slots like back in the oneplus 6t days I then wiped and sideloaded the custom rom.
Click to expand...
Click to collapse
What App did you use for the root
SAMI_AI202 said:
What App did you use for the root
Click to expand...
Click to collapse
Magisk is the app for rooting...

Categories

Resources