How to successfully update from Android 9 with TWRP, Root (magisk) to Android 10?

Alibabara

Member
Mar 2, 2015
27
1
0
Hello!
so I read all the threads regarding android 10 and mi a2 lite but i didn't find a proper solution or guide for the following problem:

I am on Stock Android 9 with unlocked bootloader, TWRP and Magisk Root.
Now i want to update to the v.11.0.4.0 Android 10 Update, but i want to keep root working!
Is there a way to do this?

If yes, please tell me how (i'm not a pro in flashing, so please explain in detail :D )

EDIT: i dont mind if i loose TWRP, i just want to keep root and android 10 working

thanks in advance!

stay safe and stay home

Alex
 
Last edited:

Alibabara

Member
Mar 2, 2015
27
1
0
Thanks for the answer, i already saw this thread but as I already said I'm not a big Expert in this topic, so that guide in the thread is too complex and short for me (and for other most likely too...)
Maybe you can explain it more precisly to us? :)
I would be very greatful for this!

Or if you know a way too archieve what i want but loose twrp and data... I wouldn't mind. I dont Need twrp and my Phone is New... So :)

Thanks in advance!

Best Regards

Alex
 

a1291762

Senior Member
Nov 20, 2012
561
248
73
yasmar.net
Maybe you can explain it more precisly to us? :)
You can't do it simpler. Mostly because you've got to get back to stock for the OTA.

You can do it different. Get the fastboot. Flash that (don't erase userdata). Then install Magisk and TWRP again.

Not every release gets a fastboot but 11.0.4.0 did so you have this option.
 

Alibabara

Member
Mar 2, 2015
27
1
0
Can you explain this more for me pls?
- What exact files do I need?
- what exactly should i do with these files? (flash with terminal, TWRP, Slot A, Slot B, etc.....)
- is it relevant which version of Android 9 i have?

you would help me alot, if you explain it in detail so that i can do it.
I already tried in android 10 unlocking bootloader and flashed the "disable force encryption" but got stuck on booting screen.
Pls tell me how exactly i should do what, and i will post my results :)

Thanks !

Best Regards,

Alex
 

delokt

New member
Apr 19, 2020
3
0
0
Recomendations

Hello,

I just updated from Android 9 stock ROM, to Android 10 with a custom ROM.

I followed this two YouTube guides from the same user:

How to root and install TWRP:
https://www.youtube.com/watch?v=wy9Z_NN_7Tg&list=LLm7cWm_1QXORlLa5XeTETUw&index=12&t=365s

How to install custom ROM(In my case I installed Evolution X with Android 10 following these steps):
https://www.youtube.com/watch?v=S0pcmA_ew-Y&list=LLm7cWm_1QXORlLa5XeTETUw&index=13&t=173s

**Advise**
- Use the same files and versions that he uses, If you use/do something different, you are going to have some problems.

What I'm currently running on my Mi A2 Lite:

- Evolution X ROM(Android 10) -> https://forum.xda-developers.com/mi-a2-lite/development/rom-evolution-x-3-3-t4014685
- Nitrogen Kernel r3 -> https://forum.xda-developers.com/mi-a2-lite/development/r1-nitrogen-kernel-mi-a2-lite-t4011019

Everything has been very stable at the moment(1 week and lots of gaming and restarts and tests), so I feel fine sharing this.

Best,

delokt
 
Last edited:

a1291762

Senior Member
Nov 20, 2012
561
248
73
yasmar.net
Can you explain this more for me pls?
- What exact files do I need?
- what exactly should i do with these files? (flash with terminal, TWRP, Slot A, Slot B, etc.....)
Fastboot image from here.

https://forum.xda-developers.com/mi-a2-lite/how-to/fastboot-xiaomi-mi-a2-fastboot-images-t3824871

Install instructions in that thread. TL;DR Run the flash_all_keeping_userdata script to upgrade to the version you downloaded. 11.0.4.0 is what you want.

You have Magisk and TWRP. Install them the same way you did before. Go read their threads if you forgot or use the last part of my guide.
 
  • Like
Reactions: Alibabara

Alibabara

Member
Mar 2, 2015
27
1
0
Hello Friends, i have good news, i successfully updated my Phone to android 10 and keep TWRP and magisk!

I did the following steps:

- clean install of fastbood v.11.0.4. Android 10 via Mi-Flashtool
- powershell adb: fastboot boot twrp-3.3.1-dees_troy-daisy.img
- TWRP should open on Mi a2 lite. go to advanced and activate adb sideload
- powershell: adb sideload twrp-installer-3.3.1-dees_troy-daisy.zip
TWRP should now be installed.
Then i tried a reboot system and got into the welcome screen, so it booted.

What i did next is, the magisk v20.4 zip file move to sd card or internal storage of the device and flash it trough TWRP.

DONE!

now your phone should reboot to system. It now has Android 10 and magisk installed and working!

Hope i can help someone else with this.

Files are on my google drive: https://drive.google.com/open?id=19eg3N9bSliVh40T8atnp4rJiIKPjob0j

Best Regards

Alex
 

Alibabara

Member
Mar 2, 2015
27
1
0