How to root xiaomi mi a2 lite? - Xiaomi Mi A2 Lite Questions & Answers

Finally bought it.
Still fresh and everything, also my first Xiaomi device.
I only ever rooted an old Samsung device and an LG device (forgot their series now, haha..).
So my goals/targets:
1. Root
2. Custom Rom (if any)
3. Unlock bootloader? If it is locked by default.
I haven't looked what OS version my device have, as I haven't booted it up. Rather finish up the rooting first before putting anything inside.
Thanks for your time!

1. Unlock the bootloader.
2. Root it.
3. No custom ROMs available unless you want to try a GSI.
For 1 & 2 go here.
For 3 go here. Really read up on how to install the GSI if you decide to go this route. There are some guides within this forum.

mn1968 said:
1. Unlock the bootloader.
2. Root it.
3. No custom ROMs available unless you want to try a GSI.
For 1 & 2 go here.
For 3 go here. Really read up on how to install the GSI if you decide to go this route. There are some guides within this forum.
Click to expand...
Click to collapse
I tried following the link for 1 & 2
4. Now connect the phone with your PC via USB cable, open an administrative command prompt, move to the directory where the Android platform tools are placed and unlock the bootloader with the following command:
Code:
fastboot oem unlock
Got stuck here with "waiting for any device". Do you have any insight for this?
Edit: Nvm got it fixed.
But how do I root? Finished up everything on the thread but I'm still not rooted. The thread doesn't say anything about it either.

You have to flash magisk and install the app, then you can give root acces.

ekrezem said:
But how do I root?
Click to expand...
Click to collapse
Installing Magisk gives you root.

nehuy said:
You have to flash magisk and install the app, then you can give root acces.
Click to expand...
Click to collapse
mn1968 said:
Installing Magisk gives you root.
Click to expand...
Click to collapse
Ah okay, it seems to be the app that I wanted to test root on being the problem of me thinking root is not there (and well, older version stating its rooted)
Helium Backup doesnt seem to work with root here. Does either of you use it and knows how to use Helium Backup with root on Mi A2 Lite? Or is the only way with Helium Backup from desktop?

I have had only used titanium backup (freeware), sorry but I don't know anything about helium.
What are you trying to recover/backup, only data or entire apps?

ekrezem said:
Ah okay, it seems to be the app that I wanted to test root on being the problem of me thinking root is not there (and well, older version stating its rooted)
Helium Backup doesnt seem to work with root here. Does either of you use it and knows how to use Helium Backup with root on Mi A2 Lite? Or is the only way with Helium Backup from desktop?
Click to expand...
Click to collapse
I just got my wife a new Nokia 3.1 (Oreo 8.1) and Helium wouldn't work on it. I was able to back up her old phone running KitKat, but with Oreo on the new phone it was a no go. Neither phone could be rooted so it was disappointing that Helium couldn't do the job. It appears that Helium is not compatible with Oreo.

Related

Unroot HTC 10 to Get Oreo

Hi,
My HTC 10 is rooted, S-On, SU, boot loader unlocked, and running stock Nougat 7.0. As such, it doesn't get onlver the air {OTA}. I want OREO, and I understand that requires me to unroot. How do I unroot?
I hope to do an OTA and then reroot. If I really don't have to unroot, tell me please what to do to get OREO. My main attraction to rooting is to install AdAway.
Thanks,
Ndmand
These are what I did;
1. restore my stock rom via TWRP (which I backed-up long time ago)
2. flash back stock recovery (which I found form XDA). It will replace TWRP
3. OEM relocked
By then, I could get couple OTAs until I reach to Oreo.
After that, I went all the ways again => unlock bootloader (HtcDev) => flash latest TWRP => and so on.
Ndmand said:
Hi,
My HTC 10 is rooted, S-On, SU, boot loader unlocked, and running stock Nougat 7.0. As such, it doesn't get onlver the air {OTA}. I want OREO, and I understand that requires me to unroot. How do I unroot?
I hope to do an OTA and then reroot. If I really don't have to unroot, tell me please what to do to get OREO. My main attraction to rooting is to install AdAway.
Thanks,
Ndmand
Click to expand...
Click to collapse
You really only need steps 1 and 2 from bita's post. If you don't have a stock system backup you can probably find one in the Backups thread.
Else, you can flash an ruu which will take you back fully stock but will also wipe your phone in the process.
bita said:
These are what I did;
1. restore my stock rom via TWRP (which I backed-up long time ago)
2. flash back stock recovery (which I found form XDA). It will replace TWRP
3. OEM relocked
By then, I could get couple OTAs until I reach to Oreo.
After that, I went all the ways again => unlock bootloader (HtcDev) => flash latest TWRP => and so on.
Click to expand...
Click to collapse
Thank You,
This is exactly what I need. I interpret "OEM relocked" to mean that after flashing, you system was relocked, and you didn't have to separately relock your bootloader. I appreciate your help.
Ndmand
Tarima said:
You really only need steps 1 and 2 from bita's post. If you don't have a stock system backup you can probably find one in the Backups thread.
Else, you can flash an ruu which will take you back fully stock but will also wipe your phone in the process.
Click to expand...
Click to collapse
Great, Thank You, Tarima,
Oddly, I was hoping you'd see my post because if the great help you have given to others. I deleted my stock backup by mistake last year.
My TWRP and Titanium backups are on an SD card, so I will remove the card to protect them during the process in case things go crazy.
I noticed that SU has an unroot button, but I guess that only covers part of the process.
Thank You,
Ndmand
Ndmand said:
Great, Thank You, Tarima,
Oddly, I was hoping you'd see my post because if the great help you have given to others. I deleted my stock backup by mistake last year.
My TWRP and Titanium backups are on an SD card, so I will remove the card to protect them during the process in case things go crazy.
I noticed that SU has an unroot button, but I guess that only covers part of the process.
Thank You,
Ndmand
Click to expand...
Click to collapse
No problem. Yes, once you root with superSU, your system partition will be flagged permanently as modified even if you unroot. That's why you need to flash a virgin system backup image. This is also why I root with Magisk, as it makes taking OTA much easier. You may want to consider that as well when you root again.
I don't quite understand Magisk yet, but I will look into it. Thanks for making this doable and understandable.
Ndmand
Do a RUU and update ota , no need to relock bootloader, you will lose data if you do RUU
Which RUU is the right for the Oreo OTA?
I have installed the developer version, but I haven't received it. Also I knew that HTC had removed the OTA
Enviado desde mi HTC 10 mediante Tapatalk
oxineitor said:
Which RUU is the right for the Oreo OTA?
I have installed the developer version, but I haven't received it. Also I knew that HTC had removed the OTA
Enviado desde mi HTC 10 mediante Tapatalk
Click to expand...
Click to collapse
U.S Unlocked has not yet received OTA. To go to Oreo you'll have to run the RUU.
Take the RUU posted by santod on this page:
https://forum.xda-developers.com/ht...-collection-recovery-ruu-ota-t3359297/page254
Newbie Here
Hi guys,
For several years now I've been getting help from you people and for that I am very appreciative. This is my first, of what I hope are many more posts.
I recently purchased a Sprint HTC 10 phone here in the Dominican Republic. It was factory unlocked already. It came with stock Oreo software. Yesterday I received an Oreo update, and this immediately locked my phone sim. I couldn't use it. Now thanks to you guys, I slept like at 1 am, but finally managed to get the phone unlocked thanks to this thread.
Now I have a problem. I'm not that of a techie guy to leave the phone rooted. Is it wise to unrooted back again? My main concern is, if I unroot the phone it will revert to having the sim lock, and that's a no go. So my question is: Do I unrooted? Can I, without damaging the phone? And if the answer is no, how do I proceed with my rooted phone to get the best out of it? I saw this video on youtube, it seems nice, but it is from 2015. Do I follow those steps or do something else to take advantage of my rooted device.
I would really appreciate your help.
Yank1llaz said:
Hi guys,
For several years now I've been getting help from you people and for that I am very appreciative. This is my first, of what I hope are many more posts.
I recently purchased a Sprint HTC 10 phone here in the Dominican Republic. It was factory unlocked already. It came with stock Oreo software. Yesterday I received an Oreo update, and this immediately locked my phone sim. I couldn't use it. Now thanks to you guys, I slept like at 1 am, but finally managed to get the phone unlocked thanks to this thread.
Now I have a problem. I'm not that of a techie guy to leave the phone rooted. Is it wise to unrooted back again? My main concern is, if I unroot the phone it will revert to having the sim lock, and that's a no go. So my question is: Do I unrooted? Can I, without damaging the phone? And if the answer is no, how do I proceed with my rooted phone to get the best out of it? I saw this video on youtube, it seems nice, but it is from 2015. Do I follow those steps or do something else to take advantage of my rooted device.
I would really appreciate your help.
Click to expand...
Click to collapse
The only downside to being rooted is that you won't be able to take OTA updates any longer, or use certain apps that don't work with rooted devices (mostly banking apps). I'm almost 100% sure we won't get any more OTA updates for this phone, so unless you really need to use banking apps, I would leave the device rooted. Plus there are some nice things you can do while being rooted.
If you're rooted with Magisk you can still do all of the above.
Tarima said:
The only downside to being rooted is that you won't be able to take OTA updates any longer, or use certain apps that don't work with rooted devices (mostly banking apps). I'm almost 100% sure we won't get any more OTA updates for this phone, so unless you really need to use banking apps, I would leave the device rooted. Plus there are some nice things you can do while being rooted.
If you're rooted with Magisk you can still do all of the above.
Click to expand...
Click to collapse
Thx Tarima. If so, what can I do with a rooted device? What are my inmediate options to upgrade the phone. Any ideas?
I thought you could take OTA?
I am WAY out of the info as I don't take them, but I'll search a little an come back with any findings.
andybones said:
I thought you could take OTA?
I am WAY out of the info as I don't take them, but I'll search a little an come back with any findings.
Click to expand...
Click to collapse
Unless you're rooted with Magisk systemless root, you can't take OTA from a rooted state until you restore a stock system image, which I'm thinking might undo the SIM unlock procedure the OP had to do on his Sprint device.
---------- Post added at 02:43 AM ---------- Previous post was at 02:35 AM ----------
Yank1llaz said:
Thx Tarima. If so, what can I do with a rooted device? What are my inmediate options to upgrade the phone. Any ideas?
Click to expand...
Click to collapse
That's what I was saying, there will 99% for sure be no other updates for this phone, so that's a non-issue. And if there is, you can run an RUU, return to stock, take the update, then do the sim unlock procedure again.
I do with root:
- Use Titanium Backup (great app backup app)
- Use F.lux app for blue light reduction
- Use Adaway ad blocker
Tarima said:
I do with root:
- Use Titanium Backup (great app backup app)
- Use F.lux app for blue light reduction
- Use Adaway ad blocker
Click to expand...
Click to collapse
Process for those. Sorry for being such a pain in the behind.
Yank1llaz said:
Process for those. Sorry for being such a pain in the behind.
Click to expand...
Click to collapse
What do you mean by "process for those"? They're apps, you just install them from the play store
Actually I think Adaway needs to be downloaded from their own site
Tarima said:
What do you mean by "process for those"? They're apps, you just install them from the play store
Actually I think Adaway needs to be downloaded from their own site
Click to expand...
Click to collapse
Downloaded the one for blue light. How about the adaway one? When dowloading the files within the app, it does not allow me and reads:
"copying of host file failed"
Yank1llaz said:
Downloaded the one for blue light. How about the adaway one? When dowloading the files within the app, it does not allow me and reads:
"copying of host file failed"
Click to expand...
Click to collapse
Sorry not sure about that, you'll have to ask in the appropriate forum.

Pixel 2 XL Root Undetected

First of forgive me if this question has been posted before:
I rooted my device - Pixel 2 XL (Oreo 8.1, Android 8.1.0 OPM1.171019.021) a couple of days after acquiring it. I used the Unified Android toolkit Ultimate version.
Root procedure worked successfully (as far as I can tell, no errors observed during the process). One major problem all my apps that require root will not work:
- Activating Titanium Backup,
- Installation of Busy Box
- Activating SupserSUE
All the above respond with a "Root cannot be detected" popup. Any ideas what I did wrong or what is missing?
Your assistance is greatly appreciated. Please let me know if there are any details the I left out that would be helpful.
Thanks.
As far as I know, magisk is the only root option for the 2xl.
muyela said:
First of forgive me if this question has been posted before:
I rooted my device - Pixel 2 XL (Oreo 8.1, Android 8.1.0 OPM1.171019.021) a couple of days after acquiring it. I used the Unified Android toolkit Ultimate version.
Root procedure worked successfully (as far as I can tell, no errors observed during the process). One major problem all my apps that require root will not work:
- Activating Titanium Backup,
- Installation of Busy Box
- Activating SupserSUE
All the above respond with a "Root cannot be detected" popup. Any ideas what I did wrong or what is missing?
Your assistance is greatly appreciated. Please let me know if there are any details the I left out that would be helpful.
Thanks.
Click to expand...
Click to collapse
What file did you flash for root?? It's like Larzzzz82 said, magisk is the only root method ?
Larzzzz82 said:
As far as I know, magisk is the only root option for the 2xl.
Click to expand...
Click to collapse
Badger50 said:
What file did you flash for root?? It's like Larzzzz82 said, magisk is the only root method ?
Click to expand...
Click to collapse
WOW! That was quick Badger50 & Larzzzz82. Nice to be heard and accommodated and assisted!
There were three files mentioned in the process, all of which I flashed in order as per instructions.
- recoveryl-twrp-3.2.1.0-ysimr.xip
- BETA-SuperSU-v2.28-SR5.zip
- UPDATE-suhide-v1.09.20171001222116.zip
---------------------------------------------------------------------------------------------------------------------------
If magisk is the only way to root the Pixel 2 XL. Is there a particular way I can unroot (the current root) without loosing all the data I imported and then re-root using magisk? Or is it best to factory reset/wipe my device and then go ahead with magisk root? Is there a link you can send me for using magisk (I've heard/read of it peripherally but never researched the exact procedure.
Thanks!
muyela said:
WOW! That was quick Badger50 & Larzzzz82. Nice to be heard and accommodated and assisted!
There were three files mentioned in the process, all of which I flashed in order as per instructions.
- recoveryl-twrp-3.2.1.0-ysimr.xip
- BETA-SuperSU-v2.28-SR5.zip
- UPDATE-suhide-v1.09.20171001222116.zip
---------------------------------------------------------------------------------------------------------------------------
If magisk is the only way to root the Pixel 2 XL. Is there a particular way I can unroot (the current root) without loosing all the data I imported and then re-root using magisk? Or is it best to factory reset/wipe my device and then go ahead with magisk root? Is there a link you can send me for using magisk (I've heard/read of it peripherally but never researched the exact procedure.
Thanks!
Click to expand...
Click to collapse
I think the only way to fully unroot is to flash factory March update. I did that to my 1 day old pixel 2xl, than re-root.
https://forum.xda-developers.com/pi...ol-tool-one-driversunlocktwrpfactory-t3730226
Sent from my [device_name] using XDA-Developers Legacy app
If you have TWRP just flash a custom kernel, TWRP, and Magisk in that order. If I understand your situation, then you are not rooted yet. Don't know why the tool kit would try to use SU unless you chose a wrong option somewhere.
Be sure you upgrade the toolkit first if you use it again.
wtherrell said:
If you have TWRP just flash a custom kernel, TWRP, and Magisk in that order. If I understand your situation, then you are not rooted yet. Don't know why the tool kit would try to use SU unless you chose a wrong option somewhere.
Be sure you upgrade the toolkit first if you use it again.
Click to expand...
Click to collapse
The device is actually rooted and shows the "insecure device... " warning (I guess typical with rooted Google Oreo devices) when booting.
Will this method preserve or delete my data. I may have to find a way to backup my data without having to use cloud storage solutions, then factory reset and go from there.
Thanks.
muyela said:
The device is actually rooted and shows the "insecure device... " warning (I guess typical with rooted Google Oreo devices) when booting.
Will this method preserve or delete my data. I may have to find a way to backup my data without having to use cloud storage solutions, then factory reset and go from there.
Thanks.
Click to expand...
Click to collapse
That insecure device warning is because your bootloader is unlocked. If you haven't flashed magisk in twrp you are not rooted.
I followed Larzzzz82 & evolishesh advise. I flashed the factory image to the phone then rooted using magisk. Luckily I still have my old phone and had not wiped so I can slowly retrieve most of my data.
Thanks for the support! Appreciated.

New to rooting, trying to root Huewai Mate SE for Magisk/Fake GPS spoofing

Never rooted, don't want to brick my phone but I am interested, I heard the honor 7x guide won't work with the MATE SE, I was going to do a hard reset as I am having phone problems anyways and I might as well root. Any foolproof guides? I would like to use magisk.
Will gmail, maps and everything else still work correctly? I am ONLY rooting to make the fake gps app a system app so I can use without mock locations on.
Everymanalion said:
Never rooted, don't want to brick my phone but I am interested, I heard the honor 7x guide won't work with the MATE SE, I was going to do a hard reset as I am having phone problems anyways and I might as well root. Any foolproof guides? I would like to use magisk.
Will gmail, maps and everything else still work correctly? I am ONLY rooting to make the fake gps app a system app so I can use without mock locations on.
Click to expand...
Click to collapse
Rooting is pretty straight forward.
For most phones the sequence goes like this.
1. Unlock the boot loader, Some phones come with unlocked boot loaders, not these ones though. You should visit The emui.huawei site and get the unlock code. They are about to remove this feature from their web page, but as of 7-23-2018 10:54 AM the page is still up. I believe it goes down tomorrow.
2. After unlocking the boot loader, you can flash a custom recovery(TWRP). The custom recovery is what allows you to gain root access.
3. From TWRP you will flash the magisk.zip file to gain root access.
You should make note of your EMUI version, 5.1 and 8 use different files. so If you're on EMUI 5.1 and try to flash EMUI8 files, you'll end up with a brick, same goes for vice versa.
Feel free to PM me if you want some more info, such as links.

Since I don't want to brick my phone and have some fun with the phone...

Hello everyone
I've just got my RN5. It's a M1803E7SG model which is whyred AFAIK so I'm posting in correct forum hopefully
I'm running MIUI Global 10.3.1 with Pie update, which is okay for me and I would like to stick to it (so no custom ROMs)
But it would be nice to flash some custom Kernel (I'm thinking of KangarooX) and get root to access build.prop and Camera2 API.
And maybe play a bit with Gcam stuff.
So this is what I want to do (please correct me if I want to do something wrong):
1. apply for the unlock (which is funny, going to http://en.miui.com/unlock/ allows me to download flash tool immediately, no need to apply, I'm logged in and added my phone through developer options)
2. continue with this guide: https://forum.xda-developers.com/re...ne-xiaomi-redmi-note-5-whyred-unlock-t3778049
3. go with this guide: https://forum.xda-developers.com/redmi-note-5-pro/how-to/index-everything-anti-roll-t3816219
which means going to fastboot then flashing dummy.img and after that - RWRP (since it's supposed to support MIUI OTA updates)
or maybe just boot RWRP through fastboot and flash what I need and leave original recovery? (if I understood correctly, I can do that, right?)
4. flash magisk
5. restart the phone and enjoy
have I missed something?
Thanks!
aumortis said:
Hello everyone
I've just got my RN5. It's a M1803E7SG model which is whyred AFAIK so I'm posting in correct forum hopefully
I'm running MIUI Global 10.3.1 with Pie update, which is okay for me and I would like to stick to it (so no custom ROMs)
But it would be nice to flash some custom Kernel (I'm thinking of KangarooX) and get root to access build.prop and Camera2 API.
And maybe play a bit with Gcam stuff.
So this is what I want to do (please correct me if I want to do something wrong):
1. apply for the unlock (which is funny, going to http://en.miui.com/unlock/ allows me to download flash tool immediately, no need to apply, I'm logged in and added my phone through developer options)
2. continue with this guide: https://forum.xda-developers.com/re...ne-xiaomi-redmi-note-5-whyred-unlock-t3778049
3. go with this guide: https://forum.xda-developers.com/redmi-note-5-pro/how-to/index-everything-anti-roll-t3816219
which means going to fastboot then flashing dummy.img and after that - RWRP (since it's supposed to support MIUI OTA updates)
or maybe just boot RWRP through fastboot and flash what I need and leave original recovery? (if I understood correctly, I can do that, right?)
4. flash magisk
5. restart the phone and enjoy
have I missed something?
Thanks!
Click to expand...
Click to collapse
Downloading mi unlock tool != Unlocking it
Connect the device to PC, click unlock from app,confirm everything then you will get a 360hr timer.After 360 hrs,again connect and click unlock from app,then the device will get unlocked.Everything on internal storage will get wiped after unlocking so back it up.
After unlocking, follow any guide for arb4 roms to flash twrp/pbrp/orangefox for pie. from there flash cam2api for pie and reboot(else flash magisk,if you want root)
Subhashis said:
Downloading mi unlock tool != Unlocking it
Connect the device to PC, click unlock from app,confirm everything then you will get a 360hr timer.After 360 hrs,again connect and click unlock from app,then the device will get unlocked.Everything on internal storage will get wiped after unlocking so back it up.
After unlocking, follow any guide for arb4 roms to flash twrp/pbrp/orangefox for pie. from there flash cam2api for pie and reboot(else flash magisk,if you want root)
Click to expand...
Click to collapse
Thanks for the response! I've learnt that timer the hard way, though I have 168 hours to wait now.
Anyway, is there anything I can do with the locked bootloader?
aumortis said:
Thanks for the response! I've learnt that timer the hard way, though I have 168 hours to wait now.
Anyway, is there anything I can do with the locked bootloader?
Click to expand...
Click to collapse
No not much

Rooting note9 pro joyeuse

I had to restore my note 9 pro to factory, and at the moment i dont have a pc to root, i have seen that kingoroot works but its viable? Or is there anything i can try to root without a pc?
nunonix said:
I had to restore my note 9 pro to factory, and at the moment i dont have a pc to root, i have seen that kingoroot works but its viable? Or is there anything i can try to root without a pc?
Click to expand...
Click to collapse
That's a scam, that won't work. There are plenty of things you can try but nothing will succeed. You have to unlock the bootloader and either flash the Magisk package in a custom recovery of your choice or patch the boot.img of your ROM on your phone with Magisk app and flash it via fastboot. But as you can see from the last statement you will need a PC in all cases. You can f.*k around with all those scams and Internet nonsense.. or you can save yourself some time and do it properly and successfuly for the first time. If you have an unlocked bootloader and a custome recovery already on the phone you are lucky, that's the only way to root it without a PC.
Thanks ill guess ill wait till i get home and do everything from scratch

Categories

Resources