need help with rooting my mi a2 lite - Xiaomi Mi A2 Lite Questions & Answers

hi, I'm somewhat of a newbie when it comes to advanced android modding and stuff. I've never rooted a phone before so I have no idea where to even begin the whole process. I'm looking to root my mi a2 lite (it has the latest updates) and install gcam on it but idk how to do it so I was looking for "guides" on the internet. the ones I found are all for previous versions of android. I couldn't find a full "guide" for rooting this device with android 10 update on either xda or the magisk website. If some kind soul who is familiar with the process could provide me with a step by step guide on how to root and install gcam I'd be really grateful. TIA
PS: I do have a pc so I have access to adb and stuff

Magisk only:
boot a patched boot.img
Use Magisk manager to install (direct) to make it permanent
This method allows doing otas too. Look for the thread because I'm not going to repeat the info here. Patched images can be created by you or you can find one for the version you have by searching.
TWRP + Magisk:
Boot TWRP-3.3.1.img
Use twrp to install twrp-installer.zip
Follow the Magisk install steps
This can't do otas without manual steps. There's threads for TWRP and I've got one for doing otas (needs a PC).

a1291762 said:
Magisk only:
boot a patched boot.img
Use Magisk manager to install (direct) to make it permanent
This method allows doing otas too. Look for the thread because I'm not going to repeat the info here. Patched images can be created by you or you can find one for the version you have by searching.
TWRP + Magisk:
Boot TWRP-3.3.1.img
Use twrp to install twrp-installer.zip
Follow the Magisk install steps
This can't do otas without manual steps. There's threads for TWRP and I've got one for doing otas (needs a PC).
Click to expand...
Click to collapse
thanks for the advice! but as I've mentioned in the post, I have zero experience in android rooting so I have no idea what any of these mean. You mentioned guides in your comment. Would it be possible to link those 2 guides that you mentioned? because I scrolled through a lot of pages but was unable to find any guide. thanks

MOD EDIT: QUOTE REMOVED
neither of those links are clickable

zamansakib said:
thanks for the advice! but as I've mentioned in the post, I have zero experience in android rooting so I have no idea what any of these mean. You mentioned guides in your comment. Would it be possible to link those 2 guides that you mentioned? because I scrolled through a lot of pages but was unable to find any guide. thanks
Click to expand...
Click to collapse
Magisk
https://forum.xda-developers.com/mi-a2-lite/how-to/guide-install-magisk-proper-support-ota-t3836952
TWRP https://forum.xda-developers.com/mi-a2-lite/development/official-twrp-daisy-t3855396/page52
OTA with Magisk and TWRP
https://forum.xda-developers.com/mi-a2-lite/how-to/10-0-4-0-to-10-0-7-0-ota-keeping-magisk-t3916863

Related

Buying S7 Active, Root Question

I am considering buying S7 Active, and I have a question about rooting.
I will buy one on ebay, I'm not sure which firmware it will be on.
What is the latest rom that can be rooted, and how can I download that rom? There is no combined guide and it is a little confusing. Once I root my phone I usually use it until I replace my phone, so I would like to get to the latest.
Also how do I root the phone? Do I still need to follow the post?
https://forum.xda-developers.com/s7-active/help/samsung-galaxy-s7-active-root-t3473649
Thank you in advance!
all version are rootable...
that link althou starts out as links to android 6... ends up on 7 at around #700
there is no recovery like twrp,.. but yes they all got root ....
if not follow rom modder thread tut, up to flashfire if you only want root
miniminus said:
all version are rootable...
that link althou starts out as links to android 6... ends up on 7 at around #700
there is no recovery like twrp,.. but yes they all got root ....
if not follow rom modder thread tut, uo
p to flashfire if you only want root
Click to expand...
Click to collapse
Thank you for the reply.
I couldn't understand some parts of your comment... So the latest firmware is still rootable using the method in the above link? Then how can I obtain and flash the latest firmware? I'll not use the phone on AT&T.
Also I couldn't understand the last line of your comment... what did you mean?
think its oulined in the main thread you posted ...
but use this site ..
https://cloud.mail.ru/public/BGy7/gKs4xzhRE/
which has all the 'update' zips, of which you can use in normal stock recovery and load up via memorycard
is a slow process, and wipes everthing (you can stop it before it does, but you gotta be ready, so make backup anyhows !!)
miniminus said:
think its oulined in the main thread you posted ...
but use this site ..
https://cloud.mail.ru/public/BGy7/gKs4xzhRE/
which has all the 'update' zips, of which you can use in normal stock recovery and load up via memorycard
is a slow process, and wipes everthing (you can stop it before it does, but you gotta be ready, so make backup anyhows !!)
Click to expand...
Click to collapse
Thank you for the link! QF2 seems to be the most recent one. I will follow the steps when I get the phone.
EDIT: someone said QF2 is not rootable yet... is it still the case? Then I may have to go for QE1.
well people had issues at the start, as i think they was not using the most recent (2.82) root methods...
but people on the Ufirm Rom modder thread ARE rooted on QF2...
miniminus said:
well people had issues at the start, as i think they was not using the most recent (2.82) root methods...
but people on the Ufirm Rom modder thread ARE rooted on QF2...
Click to expand...
Click to collapse
Ummmm... sorry but what is the 2.82 root method? Is it different from the above method?
2.82 is the newest version of SuperSU which provides you root privileges, and thus the version of 'root.bat' that you run (on your PC with phone connected, with ADB USB debugging enabled in Developer mode)
AFTER you flash the Eng.Boot file (teh engineering boot image that you flash with Odin, while phones in 'download' mode)
miniminus said:
2.82 is the newest version of SuperSU which provides you root privileges, and thus the version of 'root.bat' that you run (on your PC with phone connected, with ADB USB debugging enabled in Developer mode)
AFTER you flash the Eng.Boot file (teh engineering boot image that you flash with Odin, while phones in 'download' mode)
Click to expand...
Click to collapse
Thanks. The post explains based on 2.76, I should do some research how to do that with ver 2.82 when I get the phone.

ultimate / universal root / twrp installation guide?

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.

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!

None of the rooting guides work?

Can anyone write an up-to-date guide on precisely what I need to do to install TWRP on a global-edition, fully updated (MIUI 12) Note 8 Pro today?...
There are three different guides and none of them work. I'm not interested in custom firmwares or anything else besides TWRP. I just want to install TWRP and magisk.
We are in the same boat...
Edit: N/A
Are you able to unlock your bootloader?
Also, pay really close attention to the warning at the top of the TWRP downloads page for your device.
WARNING: This device hard bricks really easily for unknown reasons. Restoring device without spending real money is impossible as of now. Don't flash TWRP unless you are an advanced user who knows what he is doing.
Click to expand...
Click to collapse
Additionally, there are a lot of weird quirks all over the place, which makes your device... non-optimal for modding.
Let me know if you really want help with this.
I really just wanted root and didn't realize you aren't supposed to use TWRP for it on new phones (especially this one.)
sfaeium said:
I really just wanted root and didn't realize you aren't supposed to use TWRP for it on new phones (especially this one.)
Click to expand...
Click to collapse
It's not that you're not supposed to use TWRP. It's that you need to know what you're doing.
That device you have is very easy to brick. I'm just making sure.
If you do only want root, that is very easy. First: do you have an unlocked bootloader? Second: exactly what software version do you have?
LoganDark said:
It's not that you're not supposed to use TWRP. It's that you need to know what you're doing.
That device you have is very easy to brick. I'm just making sure.
If you do only want root, that is very easy. First: do you have an unlocked bootloader? Second: exactly what software version do you have?
Click to expand...
Click to collapse
I have read many post about "how to root RN8P" but in none of these there was a clear and decisive answer!
For example mine RN8P with A9 and bootloader unlocked go in bootloop everytime im trying to install TWRP ---->
twrp-3.4.0-0-begonia.img28.5M2020-06-21 22:25:46 EDT
so what custom recovery i need to install???
roberto_1986 said:
I have read many post about "how to root RN8P" but in none of these there was a clear and decisive answer!
For example mine RN8P with A9 and bootloader unlocked go in bootloop everytime im trying to install TWRP ---->
twrp-3.4.0-0-begonia.img28.5M2020-06-21 22:25:46 EDT
so what custom recovery i need to install???
Click to expand...
Click to collapse
I would recommend installing Magisk first since then you can use the TWRP installer.
LoganDark said:
I would recommend installing Magisk first since then you can use the TWRP installer.
Click to expand...
Click to collapse
wait...i dont understand....
usualy first u need to install the recovery then u can root your phone....
can u explain better pls?
roberto_1986 said:
wait...i dont understand....
usualy first u need to install the recovery then u can root your phone....
can u explain better pls?
Click to expand...
Click to collapse
Installing Magisk from recovery is a legacy option and no longer recommended. The recommended method of installing Magisk consists of patching the boot image using the Magisk Manager app and then using fastboot to flash the patched boot image to the phone.
Installing TWRP is then as easy as using Magisk Manager to flash the TWRP installer zip, then reinstalling Magisk using direct install.
In order to retrieve a boot image to patch, you need to download the update you are using to a computer, then use a tool like Payload Dumper to extract the boot.img.
Kind of complex but it's the only option if installing TWRP without it bootloops you.
LoganDark said:
Installing Magisk from recovery is a legacy option and no longer recommended. The recommended method of installing Magisk consists of patching the boot image using the Magisk Manager app and then using fastboot to flash the patched boot image to the phone.
Installing TWRP is then as easy as using Magisk Manager to flash the TWRP installer zip, then reinstalling Magisk using direct install.
In order to retrieve a boot image to patch, you need to download the update you are using to a computer, then use a tool like Payload Dumper to extract the boot.img.
Kind of complex but it's the only option if installing TWRP without it bootloops you.
Click to expand...
Click to collapse
Well ty for your answer but i really cant understand your explanation....
also there is another way to install a custom recovery and its LR TWRP!
i did many month ago with success but a week ago for wrong im uninstalled magisk so now i have to repeate all from zero...
I find that LR TWRP from this thread but unfortunately the link is dead ----> here so can u tell me where i can find that version of LR TWRP 1104??
also can u show me a link for your guide also??? ty very much
roberto_1986 said:
Well ty for your answer but i really cant understand your explanation....
also there is another way to install a custom recovery and its LR TWRP!
i did many month ago with success but a week ago for wrong im uninstalled magisk so now i have to repeate all from zero...
I find that LR TWRP from this thread but unfortunately the link is dead ----> here so can u tell me where i can find that version of LR TWRP 1104??
also can u show me a link for your guide also??? ty very much
Click to expand...
Click to collapse
I don't own this device so I don't know any guides. The process is the same for most devices and the scripts will automate it for you.
Like I said, find a software update for your phone (search "miui 12.4.847.37586 OTA update zip" or similar), use Payload Dumper to extract a boot.img, transfer it to your device, install Magisk Manager and use that to patch the image, download the patched image to your computer, boot the phone into fastboot and flash the new boot image, and you'll have Magisk.
From there, go to the official TWRP website and download the "twrp-installer" for your device. Use Magisk Manager to install it. Then direct install Magisk to keep root.
LoganDark said:
I don't own this device so I don't know any guides. The process is the same for most devices and the scripts will automate it for you.
Like I said, find a software update for your phone (search "miui 12.4.847.37586 OTA update zip" or similar), use Payload Dumper to extract a boot.img, transfer it to your device, install Magisk Manager and use that to patch the image, download the patched image to your computer, boot the phone into fastboot and flash the new boot image, and you'll have Magisk.
From there, go to the official TWRP website and download the "twrp-installer" for your device. Use Magisk Manager to install it. Then direct install Magisk to keep root.
Click to expand...
Click to collapse
sry i dont understand can u explain more easly?
I am from the Philippines. Rooting my old tablet MyPhone brown 1, with Nougat OS installed, is my biggest frustration. Tried Kingroot & Kingoroot but failed so anyone who can help me Pls.!!!
roberto_1986 said:
sry i dont understand can u explain more easly?
Click to expand...
Click to collapse
I know it's a lot to look at but please do just try to follow them in order. Each step is only a few words long.
What software version is your phone at?
xdagogo2017 said:
I am from the Philippines. Rooting my old tablet MyPhone brown 1, with Nougat OS installed, is my biggest frustration. Tried Kingroot & Kingoroot but failed so anyone who can help me Pls.!!!
Click to expand...
Click to collapse
this thread are for redmi note 8 pro this is not the correct place to ask....>.>
roberto_1986 said:
this thread are for redmi note 8 pro this is not the correct place to ask....>.>
Click to expand...
Click to collapse
Sorry !!!I,m new member!
LoganDark said:
I know it's a lot to look at but please do just try to follow them in order. Each step is only a few words long.
What software version is your phone at?
Click to expand...
Click to collapse
Well this is the version i have installed:
Redmi Note 8 Pro EEAStableFastbootV11.0.3.0.PGGEUXM9.03.5 GB2019-12-10Download
roberto_1986 said:
Well this is the version i have installed:
Redmi Note 8 Pro EEAStableFastbootV11.0.3.0.PGGEUXM9.03.5 GB2019-12-10Download
Click to expand...
Click to collapse
Hey!! Fun fact, you don't need to use payload dumper for that! Download the "Full ROM" with "Type: Recovery", and unzip it. Inside there will be a "boot.img". That's what you patch using Magisk Manager.

Question Are the newer US ver still allowing,rooth with TWRP?

Seeing a lot of issues with Android 11 and 12 unlocking the bootloader and applying root. Is now not a good time to upgrade or should I wait for a boot image?
Not quite sure what you're referring to, but there are zero issues with unlocking the bootloader or rooting your device...
I can't speak for TWRP. I have had issues with it the last few versions so I had to make due without it. If I am mistaken about having twrp on the OP9 Pro on the newest LE2125 c61 update, I'd be interested.
Anyway, my response is mostly to address your question regarding root. Here are the steps that worked for me.
[OnePlus 9 Pro][ROM][OTA][Oxygen OS] Repo of Oxygen OS Builds
As OnePlus doesn't always provide download links for all of their OxygenOS ROMs & OTA update zips, we've created an index to put the links in one post so that they're easy to find. Note: This is not a support thread for issues you may have with...
forum.xda-developers.com
I have been rooted since day one on both A11 & A12. I'm running stock and haven't had a single issue.
Avoid TWRP, it's known to not work properly on A12
If you like to flash a custom ROM. Follow the instructions and you will be fine.
I am coming off the oneplus 7pro was enjoying TWRP and Magisk, with Exposed now I am hearing TWRP isn't working on anything above 10.0 ver. Guess I have to do so more research or pay Monfrio a ransom to work on TWRP.
intense21 said:
I am coming off the oneplus 7pro was enjoying TWRP and Magisk, with Exposed now I am hearing TWRP isn't working on anything above 10.0 ver. Guess I have to do so more research or pay Monfrio a ransom to work on TWRP.
Click to expand...
Click to collapse
there is no need for TWRP...
Smedslund said:
I have been rooted since day one on both A11 & A12. I'm running stock and haven't had a single issue.
Avoid TWRP, it's known to not work properly on A12
If you like to flash a custom ROM. Follow the instructions and you will be fine.
Click to expand...
Click to collapse
How do you root without twrp? or you mean to just boot twrp and not install it?
CtrlValCanc said:
How do you root without twrp? or you mean to just boot twrp and not install it?
Click to expand...
Click to collapse
Use Magisk, patch bootimg , install and reboot.
Read this usefull guide.
Smedslund said:
Use Magisk, patch bootimg , install and reboot.
Read this usefull guide.
Click to expand...
Click to collapse
thank you, i couldn't find what boot.img to download (and how), but this guide has already all!
CtrlValCanc said:
thank you, i couldn't find what boot.img to download (and how), but this guide has already all!
Click to expand...
Click to collapse
I always just sideload. (downdload magisk apk & rename to zip before)
this way you do not need the extra boot.img I think.
vincemue said:
I always just sideload. (downdload magisk apk & rename to zip before)
this way you do not need the extra boot.img I think.
Click to expand...
Click to collapse
could you explain better? I never used sideload before. What commands do you use?
CtrlValCanc said:
could you explain better? I never used sideload before. What commands do you use?
Click to expand...
Click to collapse
If you want to install any add-ons, Reboot to Recovery, then when your device reboots, click Apply Update, then Apply from ADB, then adb sideload filename.zip those packages in sequence. (GAPPS or Magisk for example)
for example for magisk:
download the newest magisk apk version
after download, rename it and instead of .apk do it .zip
go into revovery and click Apply Update, then Apply from ADB
command is : "adb sideload Magisk-v2X.X.zip"
you must exchange X for your version.
Boot images gets patched
please note that I am not an expert, that is just what I found somewhere and use since then.
if you need more information you could also check the install instructions for lineageOS to get to know some basics: https://wiki.lineageos.org/devices/lemonadep/install

Categories

Resources