Lock bootloader and save data? - Xiaomi Mi A2 Lite Questions & Answers

Hi
I've unlocked bootloader and installa Magisk for install Gcam..
If now I remove Magisk and lock bootloader again I lose my data ?

Related

[Q] Can I flash stock, unlock bootloader, Root + TWRP and lock the bootloader?

Yes, I do want to flash stock rom, unlock the bootloader in order to install TWRP and Root the system but I also want to lock the bootloader again, if I do this after installing TWRP and Root what will happen? Will I lose both or just the root? Or nothing?
Also, I can use that program available on Play Store to lock the bootloader without losing the settings, this way I wouldn't lose the Root, if I would lose it using the adb command, right?
Thanks in advance.
locking the bootloader does nothing, with or without that program
if you get a OTA and accept it, you will lose your recovery and root, which means you will have to unlock the bootloader and will wipe your device.

to receive OTA updates

I have a MiA2Lite with bootloader unlocked, magisk installed and update to Pie. If I wanted to receive OTA updates I should
a) remove magisk
b) re-lock the bootloader
c) both
which of the r options?
IO13 said:
I have a MiA2Lite with bootloader unlocked, magisk installed and update to Pie. If I wanted to receive OTA updates I should
a) remove magisk
b) re-lock the bootloader
c) both
which of the r options?
Click to expand...
Click to collapse
Do not relock bootloader, if you do you may not be able to recover later- without disassembling Device.
If you mess with the system partition other than a couple magisk modules, you may need to flash a stock image.. but very easy with bootloader unlocked, so again don't lock the bootloader.
There is a guide to temporarily uninstalling magisk for the OTA, and if you follow it will work. Upgrading to pie however you may need to flash the updated boot.img and patched_boot respectively through fastboot after the ota
Again emphasis on not relocking bootloader.
Use titanium backup to backup app data and move backup to external sd before flashing stock image to protect it or before trying the above for easier restoring.
IO13 said:
I have a MiA2Lite with bootloader unlocked, magisk installed and update to Pie. If I wanted to receive OTA updates I should
a) remove magisk
b) re-lock the bootloader
c) both
which of the r options?
Click to expand...
Click to collapse
To make it short: a)
I had recieve before we have november update while magisk is installed and bootloader is unlocked.

Magisk Queries

Hello Everyone!
If i unlock bootloader and install magisk, afterwards relock the bootloader, then still magisk will work or i need to keep the bootloader unlocked?
Is there anyway to install magisk without unlocking bootloader on A2 Lite?
There is no way to install Magisk without unlocking the bootloader. Magisk = Root which means you have to have unlocked bootloader. You lock your bootloader after you install Magisk and you get bootloop.
Do not relock the Bootloader. It will prevent magisk from working correctly and updating.

[Q]How to unroot?

How to unroot?
Hi, can someone help me with steps to unroot and relock bootloader? Below are steps I believe work but wanted to double-check before I do it.
1. flash stock kernel - I am using ex now.
2. disable all modules in magisk
3. uninstall magisk via the app
4. reboot to bootloader mode and lock the bootloader
5. reboot
zanoli99 said:
How to unroot?
Hi, can someone help me with steps to unroot and relock bootloader? Below are steps I believe work but wanted to double-check before I do it.
1. flash stock kernel - I am using ex now.
2. disable all modules in magisk
3. uninstall magisk via the app
4. reboot to bootloader mode and lock the bootloader
5. reboot
Click to expand...
Click to collapse
I think if you lock the bootloader again via fastboot that you are having a problem. In your case I will use the msntool or leave bootloader unlocked and continue without root.

lock bootloader oneplus 3

Hello
I've installed lineage 17.1, my recovery is TWRP 3.4.0, I also installed Magisk.
Every time I restart my Phone I'll get a warning screen that my bootloader is unlocked.
My question is: is it better to lock the bootloader again or let it unlocked?
If I lock bootloader, can I still update lineage en will I keep root from magisk?
Do I loose data?
You need to have an unlocked bootloader to use Custom ROM like Lineage OS with root by Magisk.
Triggerfinger68 said:
Hello
I've installed lineage 17.1, my recovery is TWRP 3.4.0, I also installed Magisk.
Every time I restart my Phone I'll get a warning screen that my bootloader is unlocked.
My question is: is it better to lock the bootloader again or let it unlocked?
If I lock bootloader, can I still update lineage en will I keep root from magisk?
Do I loose data?
Click to expand...
Click to collapse
It is dangerous to lock the bootloader while having a custom ROM. You will lose the ability to flash zip files if something goes amiss. In addition, while locking the bootloader, you will lose all data.
If you are on OOS, then you can safely lock the bootloader.
Locking of bootloader will not affect the custom ROM already installed or root.

Categories

Resources