Unroot and lock bootloader - OnePlus 7T Pro (Regular & McLaren) Q & A

Hello! I regret rooting, i found no real benefits for my taste of rooting this phone. Whats the process to unroot (magisk) and install stock again? Can i relock bootloader again? Thanks

Croize said:
Hello! I regret rooting, i found no real benefits for my taste of rooting this phone. Whats the process to unroot (magisk) and install stock again? Can i relock bootloader again? Thanks
Click to expand...
Click to collapse
Yes. Just simply run the fastboot lock bootloader command. That should work and also wipe your root access in the process. But remember, it will completely wipe your phone.
Edit: the command actually might be fastboot oem lock actually.

Croize said:
Hello! I regret rooting, i found no real benefits for my taste of rooting this phone. Whats the process to unroot (magisk) and install stock again? Can i relock bootloader again? Thanks
Click to expand...
Click to collapse
Just go to magsik and hit uninstall and done
And OEM lock for the bootloader

No risk of bootloop?

Croize said:
No risk of bootloop?
Click to expand...
Click to collapse
Shouldn't be but OEM lock will wipe the phone

In my case it was not working. System is corrupted message after unrooting and fastboot oem lock.

EugenStanis said:
In my case it was not working. System is corrupted message after unrooting and fastboot oem lock.
Click to expand...
Click to collapse
I had that and ended up using the msm tool to fix it.

nms247 said:
I had that and ended up using the msm tool to fix it.
Click to expand...
Click to collapse
Yes, relock is buggy. For now we have to use msm tool

EugenStanis said:
In my case it was not working. System is corrupted message after unrooting and fastboot oem lock.
Click to expand...
Click to collapse
I had the same issue

EugenStanis said:
Yes, relock is buggy. For now we have to use msm tool
Click to expand...
Click to collapse
So msm tool unroot, reinstall evefything and relock?

Croize said:
So msm tool unroot, reinstall evefything and relock?
Click to expand...
Click to collapse
No, just put phone in EDL mode and afterwards flash full firmware with msm tool

EugenStanis said:
No, just put phone in EDL mode and afterwards flash full firmware with msm tool
Click to expand...
Click to collapse
Hi,
Could you give me a link to download MSM tool for OnePlus 7T Pro. I need to relock my bootloader as well. I only found MSM tool for Oneplus 7 Pro.
Thnx in advance

snovharry said:
Hi,
Could you give me a link to download MSM tool for OnePlus 7T Pro. I need to relock my bootloader as well. I only found MSM tool for Oneplus 7 Pro.
Thnx in advance
Click to expand...
Click to collapse
https://forum.xda-developers.com/7t-pro/how-to/op7tpro-unbrick-tool-to-restore-device-t4002909
Sent from my OnePlus7TPro using XDA Labs

Lossyx said:
https://forum.xda-developers.com/7t-pro/how-to/op7tpro-unbrick-tool-to-restore-device-t4002909
Sent from my OnePlus7TPro using XDA Labs
Click to expand...
Click to collapse
Thnx mate..this worked like a charm.

Related

[Question]Root without unlocking Bootloader?

Heyi @cybojenix
Can this be used directly or can this be ported for Moto E so that we can Root without Unlocking the Bootloader?
http://www.droidviews.com/how-to-root-motorola-razr-i-without-unlocking-the-bootloader/
afaik this method got blocked
cybojenix said:
afaik this method got blocked
Click to expand...
Click to collapse
But we can use you "Historical" adb pull /system and putting SuperSU and flashing trick without unlocking bootloader right??
5hubh4m said:
But we can use you "Historical" adb pull /system and putting SuperSU and flashing trick without unlocking bootloader right??
Click to expand...
Click to collapse
no
5hubh4m said:
But we can use you "Historical" adb pull /system and putting SuperSU and flashing trick without unlocking bootloader right??
Click to expand...
Click to collapse
Just clearing up what cybojenix said by no, he means no you have to unlock your bootloader first, all current root methods for the Moto E require you to unlock your bootloader.
shimp208 said:
Just clearing up what cybojenix said by no, he means no you have to unlock your bootloader first, all current root methods for the Moto E require you to unlock your bootloader.
Click to expand...
Click to collapse
Can't we modify the the stock firmware's system.IMG file and flash that?
If the signature remains intact then we can flash it as stock firmware upgrade.
I know the post above meant the same thing or something similar.
Yet if we can do something like this...
Sent from my C2004 using Tapatalk
I will lock my device and try it with the twrp method, as that will give better results..
Sent from my Nexus 7 using Tapatalk
SArnab©® said:
Can't we modify the the stock firmware's system.IMG file and flash that?
If the signature remains intact then we can flash it as stock firmware upgrade.
I know the post above meant the same thing or something similar.
Yet if we can do something like this...
Sent from my C2004 using Tapatalk
Click to expand...
Click to collapse
If you modify the system.img file, you would have to unpack the archive to modify and when you pack it again, signature will change! hence No it cannot be done
deej_roamer said:
If you modify the system.img file, you would have to unpack the archive to modify and when you pack it again, signature will change! hence No it cannot be done
Click to expand...
Click to collapse
Thats what I meant to say that if there is any way to modify without losing the signature.
SArnab©® said:
Thats what I meant to say that if there is any way to modify without losing the signature.
Click to expand...
Click to collapse
Id would be great if there was, but sadly there isn't one!

Re-lock Honor 9 Bootloader

Hi, I've unlocked the bootloader on my honor 9, installed TWRP and get root premissions. Now i want to know if there is a way to relock the bootloader after flashing all the original roms(boot, curl, recovery ecc.)
Thanks
tekno281 said:
Hi, I've unlocked the bootloader on my honor 9, installed TWRP and get root premissions. Now i want to know if there is a way to relock the bootloader after flashing all the original roms(boot, curl, recovery ecc.)
Thanks
Click to expand...
Click to collapse
You need to flash a rollback package right @shashank1320?
Sent from my Honor 8 Pro using XDA Labs
adriansticoid said:
You need to flash a rollback package right @shashank1320?
Sent from my Honor 8 Pro using XDA Labs
Click to expand...
Click to collapse
No need to rollback.
If root os no more required- just boot to recovery, flash the unroot file, boot normally.
Flash the stock recovery, boot.
Do factory reset and boot.
Boot to fastboot and relock as
Fastboot relock <16 digit code>
If no root needed-
Boot to fastboot and relock as above command.
Did i miss [email protected]
Sent from my BLN-AL10 using Tapatalk
shashank1320 said:
No need to rollback.
If root os no more required- just boot to recovery, flash the unroot file, boot normally.
Flash the stock recovery, boot.
Do factory reset and boot.
Boot to fastboot and relock as
Fastboot relock <16 digit code>
If no root needed-
Boot to fastboot and relock as above command.
Did i miss [email protected]
Click to expand...
Click to collapse
Does the fastboot relock command really work?
Sent from my Honor 8 Pro using XDA Labs
adriansticoid said:
Does the fastboot relock command really work?
Click to expand...
Click to collapse
Fastboot oem relock <16 digit code>
shashank1320 said:
Fastboot oem relock <16 digit code>
Click to expand...
Click to collapse
I mean, have you tried it?
Sent from my Honor 8 Pro using XDA Labs
adriansticoid said:
I mean, have you tried it?
Click to expand...
Click to collapse
Yes. On 5x, 5c,6x. It works just fine.
shashank1320 said:
Fastboot oem relock <16 digit code>
Click to expand...
Click to collapse
Thanks, have i to activate usb debug and oem unlock right?
tekno281 said:
Thanks, have i to activate usb debug and oem unlock right?
Click to expand...
Click to collapse
Yes
shashank1320 said:
Yes. On 5x, 5c,6x. It works just fine.
Click to expand...
Click to collapse
Will try it on my Honor 8 once my laptop is fixed.
Sent from my Honor 8 Pro using XDA Labs
shashank1320 said:
Yes
Click to expand...
Click to collapse
Thank you so much, i'll try later
tekno281 said:
Thank you so much, i'll try later
Click to expand...
Click to collapse
Good luck brother
shashank1320 said:
Good luck brother
Click to expand...
Click to collapse
Sorry bro but i have the "unlock oem" button locked so i cant enable it to flash twrp and than relock in fastboot. Have you got any suggestions? Thanks
tekno281 said:
Sorry bro but i have the "unlock oem" button locked so i cant enable it to flash twrp and than relock in fastboot. Have you got any suggestions? Thanks
Click to expand...
Click to collapse
Strange.
Even i just messed and rescuing my 6X
shashank1320 said:
Strange.
Even i just messed and rescuing my 6X
Click to expand...
Click to collapse
Yeah i know. I know that i can unlock it by rooting my phone but i can't only enabling usb debug
tekno281 said:
Yeah i know. I know that i can unlock it by rooting my phone but i can't only enabling usb debug
Click to expand...
Click to collapse
Then you may not be able to relock now
shashank1320 said:
Then you may not be able to relock now
Click to expand...
Click to collapse
Exactly. Anywhere if i can able to root my Honor is there a Google stock rom(like Google now or other) for the Honor 9(4GB)? Thanks because i feel some delay in some actions and i don't know when emui 6 will be relased. Thanks
Rommco05 said:
Try make factory reset from recovery and after first boot skip all google settingd (dont login to your account) and after check oem in developer settings but I'm not sure if this help
Click to expand...
Click to collapse
Tried but nothing probably i solved booting into my bootloader and a factory reset low level. Now it don't show up your device has been unlocked.
Rommco05 said:
I'm not sure what u mean? If you don't see warning message your bootloader is locked?
Click to expand...
Click to collapse
Now it's all ok like the first day i bought. I used adb and reboot my device into his bootloader and then with fastboot oem relock I locked the bootloader and now it's all ok and selectable. Thanks all!
tekno281 said:
Now it's all ok like the first day i bought. I used adb and reboot my device into his bootloader and then with fastboot oem relock I locked the bootloader and now it's all ok and selectable. Thanks all!
Click to expand...
Click to collapse
Glad it worked for you.
Sent from my Honor 8 Pro using XDA Labs

Poco F1 Relock Bootloader

does anyone tried to relock bootloader?
engr.chachi said:
does anyone tried to relock bootloader?
Click to expand...
Click to collapse
flash lock bootloader command from fastboot rom
engr.chachi said:
does anyone tried to relock bootloader?
Click to expand...
Click to collapse
I did. With Mi Flash Tool.
AkkiV said:
I did. With Mi Flash Tool.
Click to expand...
Click to collapse
so relocking bootloader wont brick poco? in some forums that ive read before, relocking bootloader bricks their xiaomi device.
engr.chachi said:
so relocking bootloader wont brick poco? in some forums that ive read before, relocking bootloader bricks their xiaomi device.
Click to expand...
Click to collapse
No. I tried and tested. The bootloader was locked without any issue.
engr.chachi said:
does anyone tried to relock bootloader?
Click to expand...
Click to collapse
yes
with
fastboot oem relock
smokin901 said:
yes
with
fastboot oem relock
Click to expand...
Click to collapse
relock with MIUI 10 Global Beta installed?
@smokin901 @AkkiV
-When unlocking, does the hard reset occur? (factory reset, or reset data)
No, unlike unlocking HTC, Motorola ... unlocking occurs without loss of data but if the data on the phone is encrypted, you must first disable the encryption, otherwise the data will be lost. Then unblock and you can turn on encryption again. Exceptions are Mi6, Mi Note 3, Mi Mix 2, Mi Mix 2s. They have a complete discharge. And it looks like this trend applies to all fresh models.
Click to expand...
Click to collapse
Does this apply after relocking?
It is better to opt for encryption since in Mi devices unlock won't erase my personal data...?
engr.chachi said:
so relocking bootloader wont brick poco? in some forums that ive read before, relocking bootloader bricks their xiaomi device.
Click to expand...
Click to collapse
For example Mi 8 Chinese Ver. if you want to relocking bootloader from Chinese Vers. you have to flash Chinese ROM, if you flash Global ROM in Chinese Ver. device, you may brick your device.

			
				
smokin901 said:
yes
with
fastboot oem relock
Click to expand...
Click to collapse
fastboot oem lock
Warranty
AkkiV said:
I did. With Mi Flash Tool.
Click to expand...
Click to collapse
So does that mean we can claim warranty again after relocking bootloader?
Apparently we can with unlocked bootloader...
studhari98 said:
So does that mean we can claim warranty again after relocking bootloader?
Click to expand...
Click to collapse
You can claim warranty with bootloader unlocked, TWRP installed, rooted and with custom ROM. Water damage will result in no warranty.
studhari98 said:
So does that mean we can claim warranty again after relocking bootloader?
Click to expand...
Click to collapse
AFAIK, warranty for Xiaomi devices remains intact even if you unlock the bootloader.
Obviously you can lick your Bootloader if YOU'RE ON THE STOCK ROM.
You can flash the stock rom with fastboot and select
Clean flash and lock
And your Bootloader will be locked.
im on the latest miui stable, when i try to do fastboot oem lock heres what i get
...
FAILED (command write failed (Too many links))
finished. total time: 0.002s.
iv installed all the drivers any reason to why that may be?
Aybouzaglou said:
im on the latest miui stable, when i try to do fastboot oem lock heres what i get
...
FAILED (command write failed (Too many links))
finished. total time: 0.002s.
iv installed all the drivers any reason to why that may be?
Click to expand...
Click to collapse
Why do you want to lock? It is better to remain unlocked once you have unlocked. In the event of you deciding to flash a custom ROM, you have to unlock again and your data partition will be wiped.
tnsmani said:
Why do you want to lock? It is better to remain unlocked once you have unlocked. In the event of you deciding to flash a custom ROM, you have to unlock again and your data partition will be wiped.
Click to expand...
Click to collapse
I'm selling it and the buyer wants it locked
Aybouzaglou said:
I'm selling it and the buyer wants it locked
Click to expand...
Click to collapse
Dirty flash your stock ROM through the Mi Flash Tool. There is an option to lock the bootloader.

Is there a way to root this phone without using a pc?

Im using the newest miui.
JollyDrifter said:
Im using the newest miui.
Click to expand...
Click to collapse
U need to unlock bootloader and install twrp. Need pc.
1. Unlock bootloader (PC)
2. Install TWRP (PC)
3. Install Magisk or SuperSU (Phone)
That is step by step
JollyDrifter said:
Im using the newest miui.
Click to expand...
Click to collapse
Just unlock bootloader OFFICIALLY. You can unlock it in 3days (I got a timer of 52hours) I am pretty sure you will also get timer like mine.
Believe me you can do anything with your phone after
Unlocking bootloader. MIUI Phones are very flexible when comes to custom roms.

Question LOCK Bootloader Again

Anyone know how this is done? I am getting a failed error when entering fastboot flashing lock, says invalid android images.
Need to relock to return device.
Why do you have to lock it to return?
96carboard said:
Why do you have to lock it to return?
Click to expand...
Click to collapse
Getting pro instead
jdubya45 said:
Getting pro instead
Click to expand...
Click to collapse
That's why you are returning it. I asked why you need to lock it. Did they tell you that you had to? If not, just send it back. They'll re-image it before giving it to somebody else anyway.
jdubya45 said:
Getting pro instead
Click to expand...
Click to collapse
I had to use Android flashing tool
mac796 said:
I had to use Android flashing tool
Click to expand...
Click to collapse
This. I highly recommend using the Android Flash Tool to return to stock. If the partitions are not completely stock, you may face issues when attempting to relock.
Use the Android Flash Tool to wipe, force flash all partitions, and lock bootloader.

Categories

Resources