Unroot for in-warranty return - Realme 2 pro Questions & Answers

HI,
I have a realme 2 pro with buyback guarantee from flipkart. I want to return this under warranty. I have to unroot this completely so there is no issue.
Would appreciate any help here.

unroot using magisk uninstaller!! Reflash stock recovery using adb from fastboot!! then again boot into fastboot and use relock command "fastboot flashing lock" for relocking the bootloader!!u have to select lock bootloader option from ur phone after the command!after that Ur device will be fully wiped!!so take backup of ur needed data!

Related

Is there a way to lock the bootloader?

I see plenty of guides on how to unlock the bootloader which as I understand voids the warranty. Is there any way to relock the bootloader if I need to? Maybe someone could link me to a guide?
I've had bad experiences with dodgy solder in 3 LG G4 handsets so I sort of see the value in a manufacturer's warranty these days.
In fastboot
"Fastboot oem relock YourCode"
Fastboot relock still show that the phone was unlocked before but to revert to original state you have to flash stock firmware using this guide https://forum.xda-developers.com/mate-9/how-to/guide-rebrand-chinese-al00-mate9-to-t3554656/page57
This will lock the bootloader without any trace
Many many thanks.
gm007 said:
Fastboot relock still show that the phone was unlocked before but to revert to original state you have to flash stock firmware using this guide https://forum.xda-developers.com/mate-9/how-to/guide-rebrand-chinese-al00-mate9-to-t3554656/page57
This will lock the bootloader without any trace
Click to expand...
Click to collapse
Hi can you write me step by step how lock again bootloader becuase i read this link and i dont know how. Please.
I want debrand my P10 to clear soft Huawei and again lock boot loader to have full warranty. please help me
gm007 said:
Fastboot relock still show that the phone was unlocked before but to revert to original state you have to flash stock firmware using this guide https://forum.xda-developers.com/mate-9/how-to/guide-rebrand-chinese-al00-mate9-to-t3554656/page57
This will lock the bootloader without any trace
Click to expand...
Click to collapse
Is the adb relock bootloader "Code" command connected with a factory reset? Do I keep my data?

How to Relock Bootloader in MiA1

Hello Guys,
I am trying to relock the bootloader of MiA1 but if I type command- "fastboot oem unlock" then my mobile cause stuck on bootloop. The same thing also happens with AIO Tool.
So please help me if anyone knows how to relock bootloader again? And also let me know whether unlocking bootloader affect warranty or not?
I know one method to lock bootloader that is, you can install stock ROM by mi flash tool but I need to install magisk and that require to unlock bootloader and if I unlocked once then unable to relock again.
The command in fastboot is fastboot oem lock
Have you done some modifications to the stock boot.img file, such as using magisk or something else?
goofball2k said:
The command in fastboot is fastboot oem lock
Have you done some modifications to the stock boot.img file, such as using magisk or something else?
Click to expand...
Click to collapse
yes
Dipesh17 said:
yes
Click to expand...
Click to collapse
Simply use MIflashtool bro. Flash a nougat fastboot rom via MIFlashtool. Choose option to lock and all
Rajeev said:
Simply use MIflashtool bro. Flash a nougat fastboot rom via MIFlashtool. Choose option to lock and all
Click to expand...
Click to collapse
Bro I need to install Magisk and Magisk need twrp and twrp need to unlock bootloader.
Now once I unlocked bootloader then I am unable to relock bootloader.
I tried miflashtool and fastboot oem lock command but none of them works for me.
What's wrong here I didn't understand, help me please
Dipesh17 said:
Bro I need to install Magisk and Magisk need twrp and twrp need to unlock bootloader.
Now once I unlocked bootloader then I am unable to relock bootloader.
I tried miflashtool and fastboot oem lock command but none of them works for me.
What's wrong here I didn't understand, help me please
Click to expand...
Click to collapse
U did something wrong bro. MI Flashtool can lock bootloader easily with a full firmware flash
Dipesh17 said:
Bro I need to install Magisk and Magisk need twrp and twrp need to unlock bootloader.
Now once I unlocked bootloader then I am unable to relock bootloader.
I tried miflashtool and fastboot oem lock command but none of them works for me.
What's wrong here I didn't understand, help me please
Click to expand...
Click to collapse
Not sure if I understood correctly, but it seems that you want to have Magisk + TWRP + locked bootloader. That is simply not possible. For locked bootloader you must have stock ROM (no root, in fact absolutely no modification).
Dipesh17 said:
Bro I need to install Magisk and Magisk need twrp and twrp need to unlock bootloader.
Now once I unlocked bootloader then I am unable to relock bootloader.
I tried miflashtool and fastboot oem lock command but none of them works for me.
What's wrong here I didn't understand, help me please
Click to expand...
Click to collapse
Bootloader lock is like a door.
If its open you can put nice things like magisk, root, modification like custom rom and kernel.
Now if you try to relock it it won't lock until and unless you take all the modifications out.
Hope this helps.
If you need technical information just let me know
flash stock boot.img and then probably you will be able to lock bootloader. I have done the same way.
mahla13 said:
flash stock boot.img and then probably you will be able to lock bootloader. I have done the same way.
Click to expand...
Click to collapse
With Nougat i flashed stock image selecting "save user data" and i had bootloader relocked without losing data. Root and twrp were gone. I don't know if it is so with Oreo.
So you need TWRP and Magisk root but want a locked bootloader? That just isn't a possible combination.
To install TWRP, you need unlocked bootloader.
If you need root and TWRP, you need to leave the bootloader unlocked.
You can't have both worlds bro. If you unlock and install Magisk and other stuff, you simply can't relock bootloader. That's why you get bootloop
alkesh95 said:
Bootloader lock is like a door.
If its open you can put nice things like magisk, root, modification like custom rom and kernel.
Now if you try to relock it it won't lock until and unless you take all the modifications out.
Hope this helps.
If you need technical information just let me know
Click to expand...
Click to collapse
Thanks man I'll try it on nougat. Please tell me one more thing, unlocking bootloader cause lose warranty or not?
Dipesh17 said:
Thanks man I'll try it on nougat. Please tell me one more thing, unlocking bootloader cause lose warranty or not?
Click to expand...
Click to collapse
Some people might say yes some might say no.
It depends on manufacturer.
OEMs don't explicitly say that it won't void your warranty.
So its grey area.
I am going to email Xiaomi about this and update this thread when i get reply.
Had various experiences with unlocked bootloader. So better to follow safe path.
Edit: Called xiaomi helpline two times.
1st said it will void warranty
2nd said it won't.
Emailed them.
I chatted with a support representative and they said that unlocking bootloader won't void the warranty
nicolasmart said:
I chatted with a support representative and they said that unlocking bootloader won't void the warranty
Click to expand...
Click to collapse
That's just what he said it to you. I got two responses.
Support representatives aren't authorised to send you sms or mail.
If there's an issue with your device (Unlocked BL) and you took it to service center. They might say out of warranty due to bootloader unlocking and what would be your reply to that?
Support representatives said it won't void warranty.
You can't back it up with anything since you dont have any proof of that conversation.
So unless it is written somewhere by xiaomi. Words are just words.
Is it possible to unlock the bootloader, root, make some minor modifications (activation of camera api, copying fm radio apk to system folder, etc), unroot, and finally relock (flashing stock boot.img before, of course) ?
I want to have it unrooted because of bank payments, banks apps and streaming TV apps, but I would like to have proper camera and fm radio... Is it possible??
erunamor said:
Is it possible to unlock the bootloader, root, make some minor modifications (activation of camera api, copying fm radio apk to system folder, etc), unroot, and finally relock (flashing stock boot.img before, of course) ?
I want to have it unrooted because of bank payments, banks apps and streaming TV apps, but I would like to have proper camera and fm radio... Is it possible??
Click to expand...
Click to collapse
Short answer:no.
Long answer: locked bootloader must have stock system and boot partition. Stock boot image will boot only unmodified system partition. However you can have bank and streaming apps with Magisk - use systemless modifications and magisk hide feature.
Lock bootloader after uninstalling Magisk in Mi A1
Thank you for information about Mi Flash Tool but I wanted to ask if it is possible to relock boot loader in Mi A1 after uninstalling Magisk by fastboot commands ?
I haven't tried locking again ,but I wanted to relock again so...
Why oem unlocking appears grey, now why is that am not able to install magisk
alkesh95 said:
Some people might say yes some might say no.
It depends on manufacturer.
OEMs don't explicitly say that it won't void your warranty.
So its grey area.
I am going to email Xiaomi about this and update this thread when i get reply.
Had various experiences with unlocked bootloader. So better to follow safe path.
Edit: Called xiaomi helpline two times.
1st said it will void warranty
2nd said it won't.
Emailed them.[/QUOTE
How to unlock oem unlock,
It appears grey
I unlocked mi account
And installed pixel camera and later I changed the settings in camera from Nexus 6p to pixel and it got stuck, and I uninstalled the application, now oem unlocking appears grey, how to unlock oem
Below It appears bootloader is unlocked, but oem cant be unlocked
Click to expand...
Click to collapse

Help unable to relock the bootloader

I am trying to relock the bootloader in adb terminal by using command fastboot oem lock I get a message during boot stating that the system has been destroyed and boot loop.
How to relock bootloader with out flashing stock rom
Thanks in advance ?
Vishal21896 said:
I am trying to relock the bootloader in adb terminal by using command fastboot oem lock I get a message during boot stating that the system has been destroyed and boot loop.
How to relock bootloader with out flashing stock rom
Thanks in advance
Click to expand...
Click to collapse
use reflash tutorial from this site:
HTML:
https://xiaomifirmware.com/roms/download-official-roms-xiaomi-mi-a1/
. Just download tool, extract, then exctract downloaded rom in this tool folder. Conect A1 in fastboot and start flash_all_lock.bat file in folder with room (I used flash_all.bat). This is how I fixed my bootlops...
You need to reflash. There's no other way.
Did you have the original stock Oreo with January security patch?
I would also like to re-lock the bootloader but now I have read your post I am unsure if its safe.
Use this command in adb
fastboot oem relock (your unlock code if needed)
Youssef Reda said:
Use this command in adb
fastboot oem relock (your unlock code if needed)
Click to expand...
Click to collapse
If I enter fastboot oem relock with MagiskManager or Magisk 15.3 installed, will I brick the phone?
amzazine said:
If I enter fastboot oem relock with MagiskManager or Magisk 15.3 installed, will I brick the phone?
Click to expand...
Click to collapse
Maybe
I didn't try it but it may brick your phone
Developers should make clear that Re-locking the bootloader is not as easy as the unlock process and there is a high risk you will brick your phone.
i just have this issue ,which is i unlock then i lock the oem and then the message ' system has been destroyed ' and when i try to unlock back the message 'error: oem unlock is not allowed' so i really need your help ..how can i fix my phone ...plsss send a respond quickly

cannot boot to system.. forget Enable OEM Unlock before erase all data

Hi,
my phone is almost brick.. i cannot boot to system.. it stays freeze on zte log. I guess this is happen because my device is lock.. i forget to enable OEM Unlock, and now i i've wipe data and system from the phone, so i can't do it normally, when trying to fastboot oem unlock it says not allowed..
I manage to install twrp 3.0.2 (other don't work...i get black screen) via edl using axon7tool-1.5-linux.
From twrp I flash the stock room but no luck..
so my question is that if it's possible to enable oem unlock from adb? or any other tip to recover my device...
After flashing stock room, using the stock recovery i try to sd update, but i says: "sorry, you can't sdcard upgrade".
My device is the model A2017G
The info in original recovery:
ZTE/P996A04_N/ailsa_ii
7.1.1 / NMF26V/20180209.113940
Thanks for the help!!
Regards,

[ask] back to stock

Hi guys, I am wondering that anyway that I can fully return to stock? And if I return to stock, does it still show the warning of the unlocking bootloading when we start the phone?
Thank guy!
chakchak said:
Hi guys, I am wondering that anyway that I can fully return to stock? And if I return to stock, does it still show the warning of the unlocking bootloading when we start the phone?
Thank guy!
Click to expand...
Click to collapse
+1
Sent from my LG-H870 using Tapatalk
1. Use LG Bridge to "repair" the phone will get you back to stock Oreo and LG OTA updates. But will not relock your bootloader so you still see the code orange warning.
2. To relock your bootloader, read the FAQ contained in the unlocking guide. Essentially it's a fastboot command.
Both steps will wipe the phone so backup your data first.
How to in 5 steps Lock your bootloader ,that worked successfully on (H870)
the requirement for a successful lock: flash with LGUP and uppercut LG STOCK FIRMWARE
1. Enable Developer Mode
2. Enable OEM Unlocking
3. Boot into Fastboot Mode
3. Typefollowing command ---> fastboot oem lock
4. Wait for the Command Prompt to tell you the process has finished
5. And.... ---> fastboot reboot
Your bootloader is successful locked
Why is LG UP / uppercut a requirement? I did it using LG Bridge, worked. The requirement I think is just an LG stock firmware. Pretty obvious.
I also wrote "the requirement for a successful lock: .... " ! you can see colon ? I do not say must take LGUP ,It was a suggestion to note
Quote:The requirement I think is just an LG stock firmware.
Yes :good:
Moldeb said:
1. Use LG Bridge to "repair" the phone will get you back to stock Oreo and LG OTA updates. But will not relock your bootloader so you still see the code orange warning.
2. To relock your bootloader, read the FAQ contained in the unlocking guide. Essentially it's a fastboot command.
Both steps will wipe the phone so backup your data first.
Click to expand...
Click to collapse
Bunsenbrenner said:
How to in 5 steps Lock your bootloader ,that worked successfully on (H870)
the requirement for a successful lock: flash with LGUP and uppercut LG STOCK FIRMWARE
1. Enable Developer Mode
2. Enable OEM Unlocking
3. Boot into Fastboot Mode
3. Typefollowing command ---> fastboot oem lock
4. Wait for the Command Prompt to tell you the process has finished
5. And.... ---> fastboot reboot
Your bootloader is successful locked
Click to expand...
Click to collapse
Thank you all!!! :highfive:

Categories

Resources