Unrooting - Xiaomi Mi A2 Lite Questions & Answers

Please guys how do I unroot Mi A2 lite so as to get my warranty back and apply system updates?. After unrooting, can I still use Gcam?

Backup your data.
Do a fastboot install but run flash_all_and_lock (or whatever the MiFlash equivalent is)
Restore your data.
You don't need to do this to take OTAs.
You may not get warranty even if you relock bootloader (not sure if it's possible to identify a previously unlocked bootloader). Depends on your local service policy.
I'm fairly certain all the gcam versions need root...

Related

Bootloader does not stay unlocked over reboot

I recently got a new motherboard installed to my Nexus 5X by LG due to the recent bootloop related to TWRP and Android N. My problem is that after unlocking bootloader, and doing the mandatory device wipe that comes with it, the bootloader gets reverted to locked state when I restart my device. I've tried multiple cables, USB ports, fastboot binaries, but nothing seems to make the device behave any differently. I am able to flash things in fastboot mode after unlocking the device as long as I don't restart the device. TWRP installs just fine, but obviously throws a bunch of errors because I cannot enter recovery mode without restaring (which gets the bootloader locked again). Is there any tricks I could try, or is it my NAND that is acting up as it seems to revert to previous state on power loss? As far as I can tell, the rest of the memory chip is working just fine, /sdcard does not lose any data when restarting etc. I was able to install Nougat on the device by flashing factory images.
I have not bought my device from Google and thus it is covered only by LG's limited warranty, which probably means that this is something they will not repair as unlocking the bootloader probably voids their warranty in any case. Am I just out of luck?
neree said:
I recently got a new motherboard installed to my Nexus 5X by LG due to the recent bootloop related to TWRP and Android N. My problem is that after unlocking bootloader, and doing the mandatory device wipe that comes with it, the bootloader gets reverted to locked state when I restart my device. I've tried multiple cables, USB ports, fastboot binaries, but nothing seems to make the device behave any differently. I am able to flash things in fastboot mode after unlocking the device as long as I don't restart the device. TWRP installs just fine, but obviously throws a bunch of errors because I cannot enter recovery mode without restaring (which gets the bootloader locked again). Is there any tricks I could try, or is it my NAND that is acting up as it seems to revert to previous state on power loss? As far as I can tell, the rest of the memory chip is working just fine, /sdcard does not lose any data when restarting etc. I was able to install Nougat on the device by flashing factory images.
I have not bought my device from Google and thus it is covered only by LG's limited warranty, which probably means that this is something they will not repair as unlocking the bootloader probably voids their warranty in any case. Am I just out of luck?
Click to expand...
Click to collapse
What TWRP errors are you getting? TWRP shouldn't care if your device is locked or not. It doesn't do its operations through the bootloader.
Also just as a sanity check, you enabled OEM unlocking under developer options and you did fastboot oem unlock (or equivalent) on the phone right?
sfhub said:
What TWRP errors are you getting? TWRP shouldn't care if your device is locked or not. It doesn't do its operations through the bootloader.
Also just as a sanity check, you enabled OEM unlocking under developer options and you did fastboot oem unlock (or equivalent) on the phone right?
Click to expand...
Click to collapse
For the TWRP errors I'll have to get back on when I get back home to my device. For the other part, yes I did enable the unlocking under dev options, and used fastboot flashing unlock (also tried fastboot oem unlock). They both do go through and wipe my device. The bootloader also stats that current state is unlocked after the wipe. However after restaring the device back to bootloader causes the state change back to locked.
Did you install the motherboard or did LG?
I think something didn't install correctly on your phone. There is probably somewhere on the phone where they store the persistent unlocked state of the bootloader and that isn't working.
If you are bold, you can try using LGUP and the TOT file to reinstall you phone (this is a more in-depth reinstall than just factory images)
However there is always the risk you make things worse on your phone than they currently are.
If you have 16GB then you need to install the Android N OTA afterwards to get the partition tables set correctly.
sfhub said:
Did you install the motherboard or did LG?
I think something didn't install correctly on your phone. There is probably somewhere on the phone where they store the persistent unlocked state of the bootloader and that isn't working.
If you are bold, you can try using LGUP and the TOT file to reinstall you phone (this is a more in-depth reinstall than just factory images)
However there is always the risk you make things worse on your phone than they currently are.
If you have 16GB then you need to install the Android N OTA afterwards to get the partition tables set correctly.
Click to expand...
Click to collapse
LG (or whatever company it is that does it for them here) installed the new board. I think I'll pass on doing the deeper installations for now as I'm currently trying to sell the device off to someone who wouldn't have any use to unlocked bootloader. Was just wondering if I completely missed something that might cause the device to do this so I could either use it again by myself or sell it as fully functioning Nexus device.
neree said:
I think I'll pass on doing the deeper installations for now as I'm currently trying to sell the device off to someone who wouldn't have any use to unlocked bootloader.
Click to expand...
Click to collapse
That's a good call. Actually I wouldn't mess around too much with the phone if you are going to sell it.
Just make sure you remove any pin/pattern/password from the phone and to be extra safe, remove your google account from the phone *PRIOR* to factory reset or you will run into Factory Reset Protection (FRP) where you will have to give the buyer your google account and password so they can do first install and switch to their own account.

Does unlocking the bootloader voids my warranty?

Hi!
Just a quick question:
Does unlocking the bootloader on Xiaomi Mi6 voids my warranty, even if I would relock the booloader and flash it to stock ROM & Factory Reset?
I do not own the Xiaomi Mi6 right now, but this would be very useful to know, as I'm considering buying this device.
I did found this post on the MIUI forums, which seems to be a an official reply, but I think the answere is somewhat vague, can somebody please clarify it for me?
Does somebody has any experience about if Xiaomi actually cares as long as the bootloader is relocked, and stock rom is flashed correctly, before sending a device for warranty repair?
hi.. I Will try to answer..
- unlocking your bootloader Will void your warranty
- if you are in Global Stable and trying to flash Global developer throught updater app, it wont work.
you have to flash Global developer Rom with fastboot Rom with miflash tool throught edl mode.
other methode is.. flash MIUI Global developer 6.8.18 first throught updater app then flash the latest Global developer.. (I dont think this Will work with all user)
- its not possible to root without unlocking your bootloader
if you are worry about your warranty..
Xiaomi are user friendly..
just flash Global Stable Rom throught miflash tool with flash all. it Will give you clean flash installation. It Will re-locked your bootloader, lose root acces and lose custom recovery/TWRP.
about service center..
I Will avoid going to service center..
as long it is about firmware problem, bootloop (softbrick) or dead state (hardbrick). I Will solve it personally..
(they can take long time to repair your device, 1 week up to 3 month)
for Kenzo (Snapdragon or Qualcomm) users
you can recover your softbrick phone with miflash tool.
for hardbrick phone ..
you can use
1. deep flash cable or
2. test point methode
adding more info..
- flashing custom Rom, custom recovery, custom kernel Will void your warranty.
- you can flash other official MIUI Rom type (from Global Stable to Global developer or event to China version) without unlocking your bootloader. just use miflash tool and enter edl mode
- flashing official MIUI Rom throught miflash tool with edl mode (locked bootloader) will not void your warranty
if you are afraid about flashing custom Rom..
Dont be afraid..
- read alot before flashing, the thread ussualy provide solution for the problem
- if you get get stuck, softbrick etc, etc.. while flashing custom Rom or kernel
just flash official MIUI Rom with miflash tool..
recover your phone first, then.. back to square one, follow the step given by the thread on how to flash custom Rom.
PS : I'm not trying to explain about the warranty. I'm encouraging you to explore your phone. if your phone is for daily use.. you dont have to unlock your bootloader.
I'm Kenzo users, MIUI China developer 6.9.29
unlocked bootloader, root, flash xposed, radon kernel, Magisk v6, zcx TWRP and flash audio modification (viper Atmos +audio +beat)
hope it Will enlighten you..
http://en.miui.com/thread-247828-1-1.html

Phone bricked after update to Pie via OTA, Bootloader unlocked

Let's tell my experience.
I had my Moto G6 Play for near two months. I've unlocked the Bootloader and attempted to root it but unsuccessful. So, I've rolled back to my stock rom via Fastboot (using the stock ROM linked in this forum). It worked fine after that.
Some days ago, the official Android Pie update has been available, so, I installed it via OTA. However, it failed. After trying installing again, the phone gone down and never powered on again (even entering the Recovery mode, even charging all the night).
Therefore, I left the device to the technical service, knowing the bootloader unlock voids the warranty.
Does this happened to someone else? In what scenarios?
Thanks for commenting.
Amitie10g said:
Let's tell my experience.
I had my Moto G6 Play for near two months. I've unlocked the Bootloader and attempted to root it but unsuccessful. So, I've rolled back to my stock rom via Fastboot (using the stock ROM linked in this forum). It worked fine after that.
Some days ago, the official Android Pie update has been available, so, I installed it via OTA. However, it failed. After trying installing again, the phone gone down and never powered on again (even entering the Recovery mode, even charging all the night).
Therefore, I left the device to the technical service, knowing the bootloader unlock voids the warranty.
Does this happened to someone else? In what scenarios?
Thanks for commenting.
Click to expand...
Click to collapse
1. Unlocking your bootloader does not void your warranty.
2. That's a recovery loop. It doesn't look like it, but it is.
3. How to fix that crap. -Flash stock firmware, wipe data, cache, and DDR through fastboot, then issue the command fastboot reboot. Let it encrypt, then you can boot into recovery normally. If you don't let it encrypt right after flashing stock firmware then you'll loop again.
Spaceminer said:
1. Unlocking your bootloader does not void your warranty.
2. That's a recovery loop. It doesn't look like it, but it is.
3. How to fix that crap. -Flash stock firmware, wipe data, cache, and DDR through fastboot, then issue the command fastboot reboot. Let it encrypt, then you can boot into recovery normally. If you don't let it encrypt right after flashing stock firmware then you'll loop again.
Click to expand...
Click to collapse
1.- Maybe, depending the country. So, the agent who attended me told me the warranty is void just when unlocking the Bootloader. Motorola's technical service will give the last word about that, as I have re-installed the stock rom.
2.- As I told, the phone don't seems to power on and no charging light. I've connected to the computer and it never identifies as anything than a brick.
3.- Per above, Fastboot won't recognize the device and unable to send commands to the device in any way. In other words, the device seems to be completely dead.
The vendor where I purchased the device just told me they will replace the device under the warranty.
So, I'll apply the updates via OTA and tell you the results, but I'll not unlock the bootloader, but backup upload the ROM via Fastboot and TWRP, and upload it.
I've finally gone to the vendor to retire the replacement device.
However, they don't have the Moto G6 Play available anymore. Instead, they gave me the Moto G6 (better device except for the battery) for free, as the failure has been covered under the warranty.
Advices:
Ask your vendor the repair costs for failures caused by failed firmware updates. I assume Motorola didn't checked even if the bootloader is unlocked (as the device seems to be completely dead), they just decided to replace the device.
Don't send the device to the technical service if it powers on and Fastboot is working unless you're prepared to pay the repairs.
Don't try to install the Android Pie update with the bootloader unlocked and firmware altered.
acutally, updating with unlocked bootloader causes nothing. that might have been a hardware problem of some source, idk...
---------- Post added at 09:45 PM ---------- Previous post was at 09:44 PM ----------
but unlocking the bootloader does void your warranty tho
Indeed the warranty is void after unlocking the bootloader, but Motorola haven't noticed (and even checked it) as the device completely died.
¿So, where is actually stored the Bootloader? In the Flash or a separated ROM chip. As a previous flashing attempt may caused failed write to key partitions.
Amitie10g said:
Indeed the warranty is void after unlocking the bootloader, but Motorola haven't noticed (and even checked it) as the device completely died.
¿So, where is actually stored the Bootloader? In the Flash or a separated ROM chip. As a previous flashing attempt may caused failed write to key partitions.
Click to expand...
Click to collapse
Not true. My bootloader is unlocked, and Motorola is well aware of that since I had to ask them for the key. Unlocking it by itself doesn't void it. It's what you do afterwards that might void it. Like running an over volted kernel and frying something. Check the screen shot. My warranty is still good until Aug of this year. And if I really wanted to I could just relock the bootloader before sending it in, which blows that theory out of the water.
i replaced one under warranty with no issue. with an unlocked boot loader. twice.

7T - preparing for root

I've asked this on Reddit already, but thought it was worthwhile to ask here as well
It's been a long time (3 years) since I had a device that I'd been able to root and I wanted to make sure I'm ready to do it on my UK 7T whenever a solution becomes available (I've checked here and it seems a bit hit and miss at the moment). In order to get my device prepped should I just unlock the bootloader and wait for someone to get TWRP and Magisk working? Basically, I want to avoid losing all my stuff in x weeks time when the process becomes safer/simpler and from memory I think unlocking the bootloader causes everything on the device to be wiped.
TLDR
2 real questions:
Does the process of rooting the device wipe it, or does that only happen when unlocking the bootloader?
If I unlock the bootloader when I first get the device, will this be me prepped for rooting later on without losing all of my data?
Thanks
If you're not going to install a custom Rom, you're prepared for root without losing your data. I did it too yesterday when my 7T arrived, right after update oxygenos.
lmfao009 said:
If you're not going to install a custom Rom, you're prepared for root without losing your data. I did it too yesterday when my 7T arrived, right after update oxygenos.
Click to expand...
Click to collapse
I can't see myself moving from OOS, I just want root. So you're saying if I unlock bootloader from the off I'll be good for rooting in the future?
r0brimmer said:
I can't see myself moving from OOS, I just want root. So you're saying if I unlock bootloader from the off I'll be good for rooting in the future?
Click to expand...
Click to collapse
I'm changing from an iPhone 7+ to Oneplus 7T and got it yesterday. Why you don't make a backup when it's time for root? So far I can't see Custom ROMs or a working TWRP for the Oneplus 7T.
r0brimmer said:
I can't see myself moving from OOS, I just want root. So you're saying if I unlock bootloader from the off I'll be good for rooting in the future?
Click to expand...
Click to collapse
Yes, i lost data when unlocking the bootloader but then it was okay while rooting. I think you should unlock the bootloader and root as soon as you get the phone, but after updating to latest 10.0.4 version
Unlocked Bootloader / no Magisk Hide
Consider that apps like GooglePay or other apps will refuse working since they detect the unlocked bootloader state as possible security leak. GPay says, that due unlocked bootloader it does not want to initialze it.
So after facing this problems I would recommend, since magisk is limited to patching the actual boot.img, to stay on locked bootloader and unlock it after a secure method exists to install magisk and maybe TWRP. Otherwise, if you donot use these kind of apps, you can stay with unlocked BL.

Can I downgrade from MIUI 12.5.2 android 11 to MIUI V10.4.5.0 android 9?

I have sent the unlock request to xiaomi so need to wait for a week to unlock the phone. I have found so many bugs on 12.5.2 specially battery drain so fast. I would like to know once is unlocked the bootloader can I downgrade from 12.5.2.0(RRGEUXM) to V10.4.5.0.PGGEUXM? If it can be done with MI flash tool and i want to use some banking apps can they be used or need to be lock again the bootloader? will I be able to unlock the bootloader in the future if needed again? Sorry for the questions I have no much idea . I really appreciate the help and support of the community. Thank you my anti number is 1
1. I think yes, with data wipe (select flash_all). Unlocking bootloader will also wipe your data so do it once and never look back. I haven't tested that. But undoable without data wipe, that's for sure. ROM region doesn't matter unless if you are planning to relock the bootloader
2. Depends on the apps. Some of them can be fooled by magisk hide, some of them even detect bootloader lock status (but how? idk). Just test your apps in every bootloader lock status scenarios, and you will find your answer (not only for banking apps. some apps will be locked out if it detects root/tampered boot)
3. No need to worry about anti rollback lock. It virtually doesn't exist in this device
kekesed97 said:
1. I think yes, with data wipe (select flash_all). Unlocking bootloader will also wipe your data so do it once and never look back. I haven't tested that. But undoable without data wipe, that's for sure. ROM region doesn't matter unless if you are planning to relock the bootloader
2. Depends on the apps. Some of them can be fooled by magisk hide, some of them even detect bootloader lock status (but how? idk). Just test your apps in every bootloader lock status scenarios, and you will find your answer (not only for banking apps. some apps will be locked out if it detects root/tampered boot)
3. No need to worry about anti rollback lock. It virtually doesn't exist in this device
Click to expand...
Click to collapse
Thank you for all the explanation you are a expert

Categories

Resources