How to RE_LOCK bootloader without data erasing ? - Xiaomi Mi A2 Lite Questions & Answers

Hi,
I just unlock my device with ADB and flash Magisk.
But a message appears at the startup of the phone.
Can I Re-Lock the bootloader without data erasing ?
When I do it with press vol down + fastboot reboot, another message appears : the system is dammaged
Thank you for your help !

If you relock bootloader with Magisk installed, or any partition tampered, you're gonna have a hard brick. So don't do that. If you must lock bootloader, make sure you're on stock ROM without any modifications to the phone's partitions.

Thanks @marstonpear , but in this case, the startup message stay always ?

Le Dam said:
Thanks @marstonpear , but in this case, the startup message stay always ?
Click to expand...
Click to collapse
Unfortunately, yes.

Thanks !
Right, it's not a big problem

Related

[Q] System wiped, Bootloader not unlockable (freezes), TWRP working. Options?

Hey guys,
I've been messing around with my brand new N7 yesterday and somehow screwed up badly.
Right now, all I have is a working TWRP recovery and a locked bootloader.
When I try to unlock the bootloader, the device just freezes so flashing stock images is not an option.
Can I do something via TWRP to get my N7 working again?
I already opened a RMA with amazon.
Second question: If I am out of options, is there a way to remove TWRP?
Really need your help right now,
thanks in advance,
DrTek
which method did u try to unlock the bootloader?
MoonBlade said:
which method did u try to unlock the bootloader?
Click to expand...
Click to collapse
I tried with "fastboot oem unlock"
The moment I choose yes and push the power button for confirmation - the device freezes.
drtek said:
I tried with "fastboot oem unlock"
The moment I choose yes and push the power button for confirmation - the device freezes.
Click to expand...
Click to collapse
is it freezing for more than 2 mins ? it should not freeze like that unless it is already unlocked ??
It might already be unlocked. Do you have an unlocked symbol when you turn it on? If you do, run the Dead Nexus batch file from here. I was unable to do anything from TWRP or CWM. Just a bunch of errors when it tried to do anything with the drive. Flashing, copying, formatting, etc. This saved my Nexus!
http://forum.xda-developers.com/showthread.php?t=2381582
Do you have access to the internal SD? From a computer or anywhere? Because if you do you can just flash a ROM from twrp
sent from my nex7

I Cant Do Any thing...............

hello guys
I NEED HEEEEEEEELP
I have bought a M8 and all of the apps.contacts......is one it,and i bought it half price why?
now thats why....i cant do any thing on it,i cant remove the pattern,i cant change it, when i go to setting after several seconds it will restart, cant unistall the apps.................
I CANT DO ANY THING........ANY THING AT ALL........
when its restart its like the first boot, it take some time and the all the setting will recovery by it self.
it has some kind of recovery, i tried to root it with VROOT but it didnt work,in the process of root in phone screen a page opens and it have two buttons,no and yes recovery,it gos by it self,it gos to yes revery and enter the password and restart again......
i cant go to Hboot.....and also i cant do factory reset......,when do it from Backuo and resest, the phone restart and nothisng has changed.........
cant unlock boot loader,cant S-off
any thing At ALLLLLLL
im not gonna sell it again becouse it was the good price for me\
pleas guys,please help me
HEEEEELLLLLLPPPPPP
Thanx
Can you boot to recovery by holding down start and volume and do a factory reset?
Try and plug it to your PC and see if you can use adb to the phone. Use "adb reboot bootloader" string.
jkolner said:
Can you boot to recovery by holding down start and volume and do a factory reset?
Try and plug it to your PC and see if you can use adb to the phone. Use "adb reboot bootloader" string.
Click to expand...
Click to collapse
thanx
i cant do anything
i even unlocked it several times but it do recovery again and nothing has changed........i flashed cwm = recovery
twrp = recovery
factory reset = recovey
s-off = recovery..................................................
nothing
even when go to setting and do somthing....or unistall an app...... or remove any thing from sdcard(internal memory) it do that reset and after that nothing has changed......:crying:
even i got an app called (m8 toolkid.) but it cant do anything.......
i dpnt know what the hell is wrong with this....
rezadentevil said:
thanx
i cant do anything
i even unlocked it several times but it do recovery again and nothing has changed........i flashed cwm = recovery
twrp = recovery
factory reset = recovey
s-off = recovery..................................................
nothing
even when go to setting and do somthing....or unistall an app...... or remove any thing from sdcard(internal memory) it do that reset and after that nothing has changed......:crying:
even i got an app called (m8 toolkid.) but it cant do anything.......
i dpnt know what the hell is wrong with this....
Click to expand...
Click to collapse
Download a new Rom, e.g. ARHD og stock Rom, to your external sc-card. Boot to Recovery and wipe every thing except for external sd-crad, and flash the new Rom.
You got it half price... And was it advertised as any kind of damage or problem?
Could be a hardware issue....
But, you're not being too clear on exactly what you have tried and the exact errors.
Is the bootloader even unlocked?
Maybe slow down and be a little more clear and detailed about the phones current state. What you have tried to do, and how. And your exact errors.
?
Have warranty or not?if so then service center is the only way.
Just goto the bootloader and do a factory reset. Also it is not clear if you are S-off and have an un locked bootloader.
Try positing a picture of how the phone looks when it is on the bootloader screen.
IF you are S-Off and/or have the bootloader unlocked, with a custom recovery flashed, just flash over a new ROM.
KJ said:
You got it half price... And was it advertised as any kind of damage or problem?
Could be a hardware issue....
But, you're not being too clear on exactly what you have tried and the exact errors.
Is the bootloader even unlocked?
Maybe slow down and be a little more clear and detailed about the phones current state. What you have tried to do, and how. And your exact errors.
?
Click to expand...
Click to collapse
hi
yes i bought it second hand,no he didnt say anything about problems.....anyway....
i want to erase every thing(Factory reset) but i cant do anything at all
look i tried to unlock the bootloader,it did unlocked,but it need a restart ...then nothing has changed, i flashed a CWM it didng changed....root no....
nothing at all....
and i've got no error just a reboot, a reboot like first boot , it takes long time,after that all of the info in internal sd,apps,contacts.... every thing...,locked bootloader,no recovery,...will be back again
i just said its like a recovey or somthing like that....
abinash said:
Have warranty or not?if so then service center is the only way.
Click to expand...
Click to collapse
np bro it hasent, i bought it in second hand
bloodhawk said:
Just goto the bootloader and do a factory reset. Also it is not clear if you are S-off and have an un locked bootloader.
Try positing a picture of how the phone looks when it is on the bootloader screen.
IF you are S-Off and/or have the bootloader unlocked, with a custom recovery flashed, just flash over a new ROM.
Click to expand...
Click to collapse
hi
if i was s-off and unlocked bootloader i hasent any problem at all...
i cant do unlock.....
read my first post...
You tried to unlock the bootloader, starting with going to HTCDev for your unlock token?
Goto fastboot /bootloader and post the result of the following command :
fastboot getvar all
Make sure you remove your IMEI info before you post.

pls help me! The system has been Destroyed

hi there
i made a huge mistake!
I flashed the PE Extended Rom. All went well, system was booting, and hell yeah, its awesome. but then, i mad ethe mistake. I LOCKED the bootloader Damn, how stupid i was, and this just i wanna see if a payment app for my wife will work when bootloader is locked. And, immediatly after fastboot oem lock system was bricked. now i can access only fastboot and when i start up, just see that the system has been destroyed so i can not access recovery!
Anyone could help me?
Use Fastboot (Then "Fastboot OEM edl" in adb) To go to edl mode
If you can't enter it.. Test point (Need to open back cover)
Then download Global ROM
Select Flash all(Dont lock)
Hope this help
AlishaSama said:
Use Fastboot (Then "Fastboot OEM edl" in adb) To go to edl mode
If you can't enter it.. Test point (Need to open back cover)
Then download Global ROM
Select Flash all(Dont lock)
Hope this help
Click to expand...
Click to collapse
Thx for ur reply. Sadly i can't enter it Will wait a bit and hope someone else have another idea. but if not, i need to open it
DarkLord8580 said:
hi there
i made a huge mistake!
I flashed the PE Extended Rom. All went well, system was booting, and hell yeah, its awesome. but then, i mad ethe mistake. I LOCKED the bootloader Damn, how stupid i was, and this just i wanna see if a payment app for my wife will work when bootloader is locked. And, immediatly after fastboot oem lock system was bricked. now i can access only fastboot and when i start up, just see that the system has been destroyed so i can not access recovery!
Anyone could help me?
Click to expand...
Click to collapse
Best way to do this would be to go back to miunlock exe and unlocking your bootloader again.... this would then restart your phone in recovery mode... flash the ROM available and the device would be fine as before..... True story... I did the same with my redmi note 6 pro..... none of the other things worked for me but this did...

XA2 stuck in bootloop

Hy guys, i need your help.
I bought a XA2 off of ebay with a bootloop issue. I thougth that a software recovery with PC companion would solve the issue, but sadly it didn`t. It failed to update the device.
The EMMA tool finds the device with the bootloader locked.
I tried multiple times to flash different stock roms with the flashtool, wiping all data from the phone. Nothing seems to work. When wiping all the data flashtool hangs, but when wiping all but leaving the user data, the flashtool completes but the phone is still in bootloop.
erase:userdata
erase status:fail
Write-TA:2:2311 --- hangs
Please advice further, thanks!
madhogg said:
Hy guys, i need your help.
I bought a XA2 off of ebay with a bootloop issue. I thougth that a software recovery with PC companion would solve the issue, but sadly it didn`t. It failed to update the device.
The EMMA tool finds the device with the bootloader locked.
I tried multiple times to flash different stock roms with the flashtool, wiping all data from the phone. Nothing seems to work. When wiping all the data flashtool hangs, but when wiping all but leaving the user data, the flashtool completes but the phone is still in bootloop.
erase:userdata
erase status:fail
Write-TA:2:2311 --- hangs
Please advice further, thanks!
Click to expand...
Click to collapse
Try 'newflasher'
hamirali said:
Try 'newflasher'
Click to expand...
Click to collapse
Tried, no luck.
It looks like the USERDATA has the issue. Everything hangs when it reaches that part of the flashing process.
madhogg said:
Tried, no luck.
It looks like the USERDATA has the issue. Everything hangs when it reaches that part of the flashing process.
Click to expand...
Click to collapse
Just a very amateur suggestion: load into twrp, change boot slot and try newflasher again.
hamirali said:
Just a very amateur suggestion: load into twrp, change boot slot and try newflasher again.
Click to expand...
Click to collapse
I don't know how to do that, do you have any guide i can follow? I am not shure if i can do that, since the bootloader is locked, and no way to unlock it, because i can't select the option in the system settings like usb debugging and allow oem unlock
madhogg said:
I don't know how to do that, do you have any guide i can follow? I am not shure if i can do that, since the bootloader is locked, and no way to unlock it, because i can't select the option in the system settings like usb debugging and allow oem unlock
Click to expand...
Click to collapse
Right I missed that bit in your first post about the bootloader being locked.
Well if I were in your position, I would assume - since it is in a bootloop - that both the other 2 things could have been already allowed by the previous owner.
It is not necessarily the obvious case, but there's no loss assuming that and try to unlock the bootloader vis usb.
you must know your IMEI though.
Hopefully, someone with real expertise can guide you here. Good luck!

Question Device bootlooping to recovery mode 5.0

So recently my Mi 11x got stuck on the mi recovery mode 5.0. Tried reboot to system but it loops back to the recovery mode and phone dosent connect to pc via the connect to Miassistance mode , selected the safe mode option too but again loops back to the recovery mode. last ooption there is wipe data but i dont want to lose data. Only if i could get a backup or save the data how can i do it? any way i can connect it to a computer and access the files? also is this a software or a hardware issue, before this issue happened my phone was not free on space and had only 100 mb storage left so was it that thing which caused the problem? a local repair shop told me its the issue of motherboard but he didnt check the phone physically. My only priority is i need to get back my data .
Is your bootloader unlocked?
In that case, you can retrieve your personal data by booting into a Custom Recovery like TWRP or OrangeFox. You may need to enter your Password/PIN.
"fastboot boot twrp.img"
Are you simply using MIUI, or Xiaomi.eu? Do you use Magisk? Any modifications?
cyanGalaxy said:
Is your bootloader unlocked?
In that case, you can retrieve your personal data by booting into a Custom Recovery like TWRP or OrangeFox. You may need to enter your Password/PIN.
"fastboot boot twrp.img"
Are you simply using MIUI, or Xiaomi.eu? Do you use Magisk? Any modifications?
Click to expand...
Click to collapse
no the bootloader isnt unlocked and yes the phone was still using miui no modifications done
manas77 said:
no the bootloader isnt unlocked and yes the phone was still using miui no modifications done
Click to expand...
Click to collapse
Hm.. you might have to factory reset...
cyanGalaxy said:
Hm.. you might have to factory reset...
Click to expand...
Click to collapse
okkk thanks ,, also do these softwares like dr fone actually work like can i extract data even after the format ??
manas77 said:
okkk thanks ,, also do these softwares like dr fone actually work like can i extract data even after the format ??
Click to expand...
Click to collapse
Sorry, no they will not work.
you could try holding the power button until the phone reboots twice or trice and then leave the power button and let it boot.
i used to get random bootloops on my family phones that have never heard of the word root. That usually did the trick

Categories

Resources