ultimate / universal root / twrp installation guide? - Xiaomi Mi A2 Lite Questions & Answers

Hi everyone
Sorry I am confused; there does not seem to be an ultimate universal root / twrp installation guide for the Xiaomi Mi A2 Lite phone (my son's phone) in 2019.
No offense intended but all these various posts on the topic just help to confuse people!
I managed to unlock the bootloader but can anybody please tell me what is the easiest / user-friendliest way to install twrp (which version?) and root the phone so that I may proceed with flashing LineageOS afterwards to get rid of all the bloatware.?
what about these partitions A & B?
Thanks a lot in advance

https://github.com/tkchn/daisyinstall/blob/master/README.md
This is the guide youre looking for

@barumbads: Thank YOU!
[EDIT] er... this is for flashing a custom rom!
I did some extra research out of XDA
[Guide] How to root Xiaomi Mi A2 Lite
and
How To Root Mi A2 / A2 Lite (Magisk) and Install TWRP Recovery
but again... confusing! which one should I go for?
(I already tried the later one and created another post following an issue with it!)

BenG7 said:
which one should I go for?
Click to expand...
Click to collapse
It depends on what you want to do.
Root doesnt need TWRP, just Magisk. There's a guide on here.
Flashing custom ROMs needs TWRP. Each custom ROM has specific instructions.
There's no one-size-fits-all solution for this phone.

a1291762 said:
It depends on what you want to do.
Root doesnt need TWRP, just Magisk. There's a guide on here.
Flashing custom ROMs needs TWRP. Each custom ROM has specific instructions.
There's no one-size-fits-all solution for this phone.
Click to expand...
Click to collapse
Hi @a1291762 & thanks.
This is what I am saying it is confusing; I have been thru a few phones (samsungs, LGs, lately Xiaomi...)
and the process was first install twrp then root and then you could flash roms
I know when you flash LineageOS, you get root included in dev options so from your explanations I will look how to flash LineageOS but currently I'm struggling installing twrp as you have seen in my other post

BenG7 said:
This is what I am saying it is confusing; I have been thru a few phones (samsungs, LGs, lately Xiaomi...)
and the process was first install twrp then root and then you could flash roms
Click to expand...
Click to collapse
My last phone didn't have A/B or encryption or use Magisk for rooting... So for me everything about this phone was new and different.
I started with stock (android one means I didn't immediately want a custom ROM). Then added Magisk. I added TWRP after edxposed caused me bootloops (magisk manager CLI can run from TWRP). I haven't installed a custom ROM yet but I've got a custom splash and bootanim.

Related

My phone's lost rooting.

Hi everyone, this is my first post
This winter I had decided to install the GCam on my Mi A2 lite, so I followed a guide (I'm not able to mod any phone) I managed to install the cam. To install that I obv needed to root my phone and indeed on Root Checker that was rooted. Some months later, the phone was automaticatly updated and after that I don't know how that lost his rooting and the possibilty to use Gcam (and other apps). I didn't want to do all the process again so I let that go.
Now I'd like to install the Pixel Experience ROM on my Xiaomi tho, but I read that I need to have root permission and the bootloader unlocked. My bootloader is already uncloked, because in developer's option, under "Unlock OEM" is written. "the bootloader's already unlocked."), but I have no root permission. I don't know what to do, because as I said I'm totally ignorant.
Can I install a custom recovery without root permission? How can I install the Pixel Rom? I need to root again my phone?
Thank you all for you help!
spaga97 said:
Hi everyone, this is my first post
This winter I had decided to install the GCam on my Mi A2 lite, so I followed a guide (I'm not able to mod any phone) I managed to install the cam. To install that I obv needed to root my phone and indeed on Root Checker that was rooted. Some months later, the phone was automaticatly updated and after that I don't know how that lost his rooting and the possibilty to use Gcam (and other apps). I didn't want to do all the process again so I let that go.
Now I'd like to install the Pixel Experience ROM on my Xiaomi tho, but I read that I need to have root permission and the bootloader unlocked. My bootloader is already uncloked, because in developer's option, under "Unlock OEM" is written. "the bootloader's already unlocked."), but I have no root permission. I don't know what to do, because as I said I'm totally ignorant.
Can I install a custom recovery without root permission? How can I install the Pixel Rom? I need to root again my phone?
Thank you all for you help!
Click to expand...
Click to collapse
You need for sure an unlocked bootloader but regarding root although you don´t need it to flash a custom recovery nor a custom rom probably is better that you have it so you might need to do other things like install mods that need root.
Just flashing the Magisk you´ll recover the lost root status again but if you don´t have recovery now just boot on it through fastboot and then flash it over your actual rom or if you want the Pixel rom just follow the tutorial posted in the thread.
SubwayChamp said:
You need for sure an unlocked bootloader but regarding root although you don´t need it to flash a custom recovery nor a custom rom probably is better that you have it so you might need to do other things like install mods that need root.
Just flashing the Magisk you´ll recover the lost root status again but if you don´t have recovery now just boot on it through fastboot and then flash it over your actual rom or if you want the Pixel rom just follow the tutorial posted in the thread.
Click to expand...
Click to collapse
Do I need a TWRP Recovery tho? Because I read on some guides that's a requisite to instal Pixel Rom.
And please, can you link me the tutorial you mean? Because I can't find out that.
spaga97 said:
Do I need a TWRP Recovery tho? Because I read on some guides that's a requisite to instal Pixel Rom.
And please, can you link me the tutorial you mean? Because I can't find out that.
Click to expand...
Click to collapse
Yes, you need a custom recovery like TWRP and regarding tutorial there is a how-to-install method on every custom rom and also in the thread of a Pixel rom https://forum.xda-developers.com/mi-a2-lite/development/rom-pixel-experience-t3911489 they´re just some few steps
SubwayChamp said:
Yes, you need a custom recovery like TWRP and regarding tutorial there is a how-to-install method on every custom rom and also in the thread of a Pixel rom https://forum.xda-developers.com/mi-a2-lite/development/rom-pixel-experience-t3911489 they´re just some few steps
Click to expand...
Click to collapse
To be honest I can't find where's the tutorial into that thread :crying:
Anyway I've just thought that maybe I've already have a TWRP. I did a lot of operations when I installed the GCam, so maybe I also did that. Is there a way to find out if I already have it?
spaga97 said:
To be honest I can't find where's the tutorial into that thread :crying:
Anyway I've just thought that maybe I've already have a TWRP. I did a lot of operations when I installed the GCam, so maybe I also did that. Is there a way to find out if I already have it?
Click to expand...
Click to collapse
Oh sorry since I don´t use PE rom nevermind there is not a tutorial there but you will find one here https://forum.xda-developers.com/mi...0-ressurection-remix-os-xiaomi-mi-a2-t3954197 it´s the same process (more or less) for any custom rom.
If you are on a custom rom just booting using advanced power reboot you can go to recovery to see if it still stays there, also you can go manually using key combination (vol up + pwr from a device off) and you have too adb reboot recovery command to boot on it.

Magisk working or not?

I heard people brick their phones after flashing magisk. Is that their fault or it's just that magisk doesn't work on this phone yet?
Seems to be the later.
I will test some Magisk versions today.
The manager installs just fine, I downloaded the image from Mi and extracted the boot.img from their firmware. It seems to have been patched just fine with the Magisk app, I haven't flashed it yet, haven't figured out how to get to download mode on this phone. They have a custom boot loader and custom recovery on it. adb reboot download just reboots the phone. I went through the motions of unlocking the bootloader per their instructions but they're having me wait a week before I can unlock the bootloader. I'm hesitant to flash magisk before unlocking the bootloader and making sure I can re-flash with twrp if needed.
Flashing magisk bricks the phone, flashing patched boot.img also bricks the device.
Kingoroot anyone ?
A loot of people brick their phones.. but the sad part is to recover it back.. I dont know why is so hard to unbrick almost everyone Xiaomi phones...
tze_vitamin said:
A loot of people brick their phones.. but the sad part is to recover it back.. I dont know why is so hard to unbrick almost everyone Xiaomi phones...
Click to expand...
Click to collapse
bricking rn8p due to magisk installation is easy to recover by flashing boot.img from stock rom.
astrakid said:
bricking rn8p due to magisk installation is easy to recover by flashing boot.img from stock rom.
Click to expand...
Click to collapse
So did you manage to actually flash or install magisk and obtain root?
donkyshot said:
So did you manage to actually flash or install magisk and obtain root?
Click to expand...
Click to collapse
no, root is not working. but it is easily possible to recover a bootlooping rn8p.
astrakid said:
no, root is not working. but it is easily possible to recover a bootlooping rn8p.
Click to expand...
Click to collapse
Such a shame, I can't believe there's no custom recovery and root available yet for such a popular device. Let's wait and see.
Hey,
This guy here at the twrp thread says that he managed to root with Magisk 19.3.
rrk said:
Hello all,
Can somebody tell me how to replace Chinese ROM with Global one.
I am waiting now for bootloader unlock, abt 100 hrs remain, thanks in advance
Click to expand...
Click to collapse
Is this possible yet? Looking to buy this phone.
razerphynx said:
Is this possible yet? Looking to buy this phone.
Click to expand...
Click to collapse
Should be quite similar to before, but if you flash preloader & lk, you can recover from these bricks. That said, I've never had magisk bricking it for me.
I am on MIUI 12, Android 10, Chinese Beta Rom and I have Magisk installed as well...
Any update on a fully working method to root our device?
Android 11, custom ROM, CFW
astrakid said:
bricking rn8p due to magisk installation is easy to recover by flashing boot.img from stock rom.
Click to expand...
Click to collapse
There is an easier way.
I had twrp as recovery and when i flashed magisk v20 zip it bricked both the normal system and recovery
It was saying "The system has been destroyed"
So i was doing random stuff and found the solution
1) go to fastboot
2) from pc execute the "fastboot flash recovery twrp.img" you probably know how to install twrp
3) then boot to recovery
4) enter password and allow modifications
5) go to reboot > System
Thats how i did it.
I have not tested with other custom recoveries
Hope I help
nakedowl said:
I will test some Magisk versions today.
Click to expand...
Click to collapse
Did other versions of magisk work

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

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 )
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
Also interested in a guide for this.
Alibabara said:
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?
Click to expand...
Click to collapse
Yes. It's complex because of TWRP.
https://forum.xda-developers.com/mi-a2-lite/how-to/10-0-4-0-to-10-0-7-0-ota-keeping-magisk-t3916863
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
Alibabara said:
Maybe you can explain it more precisly to us?
Click to expand...
Click to collapse
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.
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
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
Alibabara said:
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.....)
Click to expand...
Click to collapse
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.
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
a1291762 said:
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.
Click to expand...
Click to collapse
thx for the help! i did it!

some questions ^^

hello guys! im rooting phones some years now but first time im afraid to do that i see alot hard bricks etc so i want to ask
i have the last firmware now global (phone is global 2) if i put twrp for magisk i have to stop upgrade the phone right?
second. i never liked stock roms so again... if i put twrp i can flash whatever rom i want or there are steps every time so i wont brick the phone? thank u guys for ur time
dont do it
For rooting stock ROM, you can flash twrp and flash magisk but you should be careful to pick a recovery which is for android 10 and also not for CFW.
For flashing custom roms, you should read the megathread. It's not very complicated and if you follow the exact steps, you will not get bricked.
alexmanu1 said:
For rooting stock ROM, you can flash twrp and flash magisk but you should be careful to pick a recovery which is for android 10 and also not for CFW.
For flashing custom roms, you should read the megathread. It's not very complicated and if you follow the exact steps, you will not get bricked.
Click to expand...
Click to collapse
with custom rom i need 1 twrp version? or for let's say remix os i need that twrp for lineage i need this twrp.
demezakos said:
with custom rom i need 1 twrp version? or for let's say remix os i need that twrp for lineage i need this twrp.
Click to expand...
Click to collapse
It's all explained in the megathread, sir. For custom ROMs you need CFW recovery but for you to be on CFW you need to flash CFW with a non-CFW recovery.
Best way to do it is in the CrDroid post.
Have a nice day!
tl;dr: flash Android 9 then megathread
demezakos said:
hello guys! im rooting phones some years now but first time im afraid to do that i see alot hard bricks etc so i want to ask
i have the last firmware now global (phone is global 2) if i put twrp for magisk i have to stop upgrade the phone right?
second. i never liked stock roms so again... if i put twrp i can flash whatever rom i want or there are steps every time so i wont brick the phone? thank u guys for ur time
Click to expand...
Click to collapse
i tried rooting with magisk on latest android 10 miui 11 , basically you will fail safetynet and basic integrity will fail as well you can try to hide fingerprint with magisk busybox and props module and type su to give termux root access and edit fingerprint to pixel 4 but it's not guaranteed i don't know if there is google attestation hardware in begonia anyways you can try.
here's a pic from pixel experience safetynet.(not rooted)
https://imgur.com/a/A6eqlSg

OPPO A12 Root

Hey, I've been trying to root my OPPO A12 for the past few days. I tried almost every method I found on different websites, but it seems not possible to root this phone. I even tried to unlock bootloader and flash TWRP (I found out later that there's no custom recovery compatible with this device) but I can't load into fastboot mode. Pls tell me if rooting CPH2083 is possible or not, if yes I'd appreciate your help. Thanks in advance.
Please root my oppo a12
I want to get a custom rom for oppo a12 because it is now only based on android 9 and also there is no twrp for it
Ansh rohatgi said:
I want to get a custom rom for oppo a12 because it is now only based on android 9 and also there is no twrp for it
Click to expand...
Click to collapse
does you root your oppo a12. it is possible to root this oppo a12 or not? I also have this device
mhaseebmohal said:
does you root your oppo a12. it is possible to root this oppo a12 or not? I also have this device
Click to expand...
Click to collapse
Try magisk or king root from pc
Ansh rohatgi said:
Try magisk or king root from pc
Click to expand...
Click to collapse
Did you succeed in rooting oppo a12?
mhaseebmohal said:
Did you succeed in rooting oppo a12?
Click to expand...
Click to collapse
I did'nt tried because there is no profit of doing that as there is no custom rom or custom recovery for it you can only install magisk modules and voiding your warranty . I would port a custom recovery and then we can install a gsi im in the process of doing it
Ansh rohatgi said:
I did'nt tried because there is no profit of doing that as there is no custom rom or custom recovery for it you can only install magisk modules and voiding your warranty . I would port a custom recovery and then we can install a gsi im in the process of doing it
Click to expand...
Click to collapse
When custom rom or recovery will come for OPPO A12 and here you tell us that you can only install magisk modules only. What does this mean? Oppo a12 will not be rooted ,just magisk module only onstall. Please guide me iwant to root mobile only. Do not want to install any custom rom. What should i do? Please elaborate all questions, please!
mhaseebmohal said:
When custom rom or recovery will come for OPPO A12 and here you tell us that you can only install magisk modules only. What does this mean? Oppo a12 will not be rooted ,just magisk module only onstall. Please guide me iwant to root mobile only. Do not want to install any custom rom. What should i do? Please elaborate all qquestions,please
Click to expand...
Click to collapse
Rooting means gaining full acess on your phone and you do that for a specific reason and most of the reason is installing custom rom and if there is no custom rom then there is no profit.
And magisk is an app by which you can root your phone and install modules like viper4android which increases sound quality and other modules like that .
I would recommend not to root the phone. You can root after there is a custom recovery or rom
Ansh rohatgi said:
Rooting means gaining full acess on your phone and you do that for a specific reason and most of the reason is installing custom rom and if there is no custom rom then there is no profit.
And magisk is an app by which you can root your phone and install modules like viper4android which increases sound quality and other modules like that .
I would recommend not to root the phone. You can root after there is a custom recovery or rom
Click to expand...
Click to collapse
Thank you so much! Please give me any update in future if any custom rom available for Oppo A12
mhaseebmohal said:
Thank you so much! Please give me any update in future if any custom rom available for Oppo A12
Click to expand...
Click to collapse
You are welcome . And yeah i'll give you update because i am also having oppo a12
Is it possible to unlock boatloader of oppo a12?
KataBlade said:
Hey, I've been trying to root my OPPO A12 for the past few days. I tried almost every method I found on different websites, but it seems not possible to root this phone. I even tried to unlock bootloader and flash TWRP (I found out later that there's no custom recovery compatible with this device) but I can't load into fastboot mode. Pls tell me if rooting CPH2083 is possible or not, if yes I'd appreciate your help. Thanks in advance.
Click to expand...
Click to collapse
Did you succeed in rooting?
Flash recovery cwm touch for nowMediaFire - CWM Touch
monsterr-mobile said:
Flash recovery cwm touch for nowMediaFire - CWM Touch
Click to expand...
Click to collapse
What is this file?
monsterr-mobile said:
Flash recovery cwm touch for nowMediaFire - CWM Touch
Click to expand...
Click to collapse
Did you succeed in rooting
oppo a12 bootloader can be unlocked with the hydra tool. A new update comes from the hydra tool which claims that they can unlock the bootloader of oppo a12. You can see this by this latest update
Has anyone tried the hydra tool on an oppo device? I am looking into it. I hate my oppo because of the missing bootloader.
Sorry. XDA messed up. I did not want to post twice.
KataBlade said:
Hey, I've been trying to root my OPPO A12 for the past few days. I tried almost every method I found on different websites, but it seems not possible to root this phone. I even tried to unlock bootloader and flash TWRP (I found out later that there's no custom recovery compatible with this device) but I can't load into fastboot mode. Pls tell me if rooting CPH2083 is possible or not, if yes I'd appreciate your help. Thanks in advance.
Click to expand...
Click to collapse
Hi I am Karthik official member of Technical san it is easy to root or install custom rwcover on oppo A12 so if you wanna root or twrp join
{Mod edit: Link removed}

Categories

Resources