Question Relock Bootloader/Downgrade firmware - Vivo X Fold

I am planning to return this phone to buy a xiaomi fold 2 but since I am rooted and bootloader unlocked I would need to relock the bootloader before I return it.
I would imagine I would need to downgrade back to the exploitable version to relock it as I am currently on12.0.16.6 but im not sure how as the OTA update zip isnt the standard partition image format im used to so I cant just do dd if=/xxxx.img of=/dev/xxxx
I already have the 12.0.13.6 firmware downloaded im just not sure how to get it back onto my phone.
Any help would be appreciated thanks

nevermind. The bootloader is now locked
I booted into EDL mode and soft bricked after booting out of it but it did relock the bootloader so I can now return in peace (for anyone wondering it was fastboot oem reboot_edl) I would not recommend running it at all though as you need to download new firmware from vivo recovery just to make the phone usable again.

Related

Upgrading rooted stock ROM to new stock OTA

My gf has HTC One with latest stock T-Mobile US ROM, unlocked bootloader, is rooted, and has TWRP. T-Mobile is about to release an OTA (source), and I am wondering how to go about installing it. AFAIK, stock recovery is required, AND the bootloader needs to be locked again. If this is the case, re-rooting will require unlocking the bootloader and thus doing factory reset? Is there a simpler way to do this?
Stock recovery and preinstalled apps needed
Bootloader locked not needed
There are many posts written about this read them first
c00ller said:
My gf has HTC One with latest stock T-Mobile US ROM, unlocked bootloader, is rooted, and has TWRP. T-Mobile is about to release an OTA (source), and I am wondering how to go about installing it. AFAIK, stock recovery is required, AND the bootloader needs to be locked again. If this is the case, re-rooting will require unlocking the bootloader and thus doing factory reset? Is there a simpler way to do this?
Click to expand...
Click to collapse
relock your bootloader
fastboot oem lock
and run this RUU
http://www.htc.com/us/support/htc-one-t-mobile/news/
instructions / Download are at the bottom of the page
Everything on the Phone will be lost ..Backup to your PC and google first !
yatindroid said:
Stock recovery and preinstalled apps needed
Bootloader locked not needed
Click to expand...
Click to collapse
FYI I have actually tried running an RUU on unlocked bootloader with stock recovery, kept failing until I relocked the bootloader...

[Q] Return to Stock without ADB

Hey there,
my phone is broken, it won't load or do anything on the usb port while the system is up, when the phone is off/fastboot or recovery it seems to charge (very slow) and i have no problems accessing it through fastboot or adb.. but even when the battery is fully charged i cannot use it for more than an hour or so before its discharged again..thats what my problem startet with, over the night the phone won't charge and i couldn't use ADB etc while the OS was up...
i think it is a hardware problem, the last thing i did was updating the firmware, but after that i used the phone like 2 weeks or, without problems and changing anything......
first i thought about it could be a bug with the new firmware, so i downgraded to an old stock version and update it through OTA to the latest version but nothing changed..
then i thought of sending it in and i tried to lock my bootloader and restore everything before doing this but the only way to access the phone via adb was in recovery, so i did that and S-ONed the phone and locked the bootloader, not thinking about that i cannot restore the old recovery with locked BL.
since i knew that i am kind of an idiot, not thinking about what exactly i did at this point i thought i pay my rent by buying SunShine an S-On it again (i didn't find another way to root/unlock BL since i was on last HTC-Android version). and replace the recovery with the original one
now i have my phone with stock recovery and everything but i cannot lock/s-off the bootloader again because i have no adb access.
Does anyone have an idead how i can prepare my phone for sending it in?
I thought about rooting stock firmware, replace recovery with stock recovery, write a script that locks the bootloader execute it after replacing recovery and unroot the phone from within SuperSU. then S-OFF it again.
I guess this should work, but since i didn't think about everything the first time i thought i might ask here if someone has a better idea.
smokey_joe said:
Hey there,
my phone is broken, it won't load or do anything on the usb port while the system is up, when the phone is off/fastboot or recovery it seems to charge (very slow) and i have no problems accessing it through fastboot or adb.. but even when the battery is fully charged i cannot use it for more than an hour or so before its discharged again..thats what my problem startet with, over the night the phone won't charge and i couldn't use ADB etc while the OS was up...
i think it is a hardware problem, the last thing i did was updating the firmware, but after that i used the phone like 2 weeks or, without problems and changing anything......
first i thought about it could be a bug with the new firmware, so i downgraded to an old stock version and update it through OTA to the latest version but nothing changed..
then i thought of sending it in and i tried to lock my bootloader and restore everything before doing this but the only way to access the phone via adb was in recovery, so i did that and S-ONed the phone and locked the bootloader, not thinking about that i cannot restore the old recovery with locked BL.
since i knew that i am kind of an idiot, not thinking about what exactly i did at this point i thought i pay my rent by buying SunShine an S-On it again (i didn't find another way to root/unlock BL since i was on last HTC-Android version). and replace the recovery with the original one
now i have my phone with stock recovery and everything but i cannot lock/s-off the bootloader again because i have no adb access.
Does anyone have an idead how i can prepare my phone for sending it in?
I thought about rooting stock firmware, replace recovery with stock recovery, write a script that locks the bootloader execute it after replacing recovery and unroot the phone from within SuperSU. then S-OFF it again.
I guess this should work, but since i didn't think about everything the first time i thought i might ask here if someone has a better idea.
Click to expand...
Click to collapse
You have stated a lot of things but most of them are contradictory.
What is the status of your phone? Locked or Unlocked?
Are you S-ON or S-OFF?
What recovery do you have on the phone? Stock or Custom?
What specifically are you trying to accomplish?
If you have stock rom, stock firmware with stock recovery, bootloader is locked and you are S-ON then you are back to stock. However, if your bootloader states "Tampered" and/or "Relocked" then the service facility will know that you tampered with the phone. To remove those items:
Unlock bootloader
Follow the steps in nkk71's SuperGuide in my signature on:
--Gain S-OFF
--Custom recovery
--Removing "Tampered" & "Locked"
--Install stock firmware
--Gain S-ON
majmoz said:
You have stated a lot of things but most of them are contradictory.
What is the status of your phone? Locked or Unlocked?
Are you S-ON or S-OFF?
What recovery do you have on the phone? Stock or Custom?
What specifically are you trying to accomplish?
If you have stock rom, stock firmware with stock recovery, bootloader is locked and you are S-ON then you are back to stock. However, if your bootloader states "Tampered" and/or "Relocked" then the service facility will know that you tampered with the phone. To remove those items:
Unlock bootloader
Follow the steps in nkk71's SuperGuide in my signature on:
--Gain S-OFF
--Custom recovery
--Removing "Tampered" & "Locked"
--Install stock firmware
--Gain S-ON
Click to expand...
Click to collapse
thanks for your reply.
i guess i was to confused to see that i can remove the tampered and unlocked flags, then restore the stock bootloader and then s-off the phone...i thought i have to remove tampered/unlocked and then s-on the phone in the same step....i guess i have no problem when i can do it like that

Just want to relock global version 8.2

My frustration level is super high with this brand new Mi Mix I bought from a US reseller that came unlocked with the official latest global rom version. Before I decide to return it, can anyone please tell me a simple way to relock the bootloader so I can download Netflix and use this device like normal? I can't even get the Mi PC suite to recognize its connected. Very annoying!
do you try mi flash? there are options clean install dirty and clean relock install
No, do I need too flash the rom again with the tool to relock or is there an option to just lock the bootloader only? Will I still get Global Rom updates after relocking? Am I able to unlock in the future since it's already been unlocked once by the reseller? Thanks for your earlier response! I'm just not that good with all the modification stuff.
No You cant relock without clean install anda yes You will recieve otas
And for The re unlock You have to need a code if your seller unlock it then You have to get xiaomi unlock permission again once You recieve The code with your acc You can lock relock unlock anytime You want
egentreri said:
No You cant relock without clean install anda yes You will recieve otas
And for The re unlock You have to need a code if your seller unlock it then You have to get xiaomi unlock permission again once You recieve The code with your acc You can lock relock unlock anytime You want
Click to expand...
Click to collapse
Thanks! So can I just do a clean reinstall directly from the phone and will it automatically lock for me? I apologize - I'm not really technical with this stuff. I'm on the latest Global Rom that's on the official site. I don't want to change my rom or root in any manner. I just want keep it the way it is and simply lock the bootloader. I have read some other guides about flashing and downloading a whole bunch of drivers and changing settings on my PC to get it to work. Isn't there any easier way of doing this? I want it to work like if I just bought it at a store and allow me to set it up like have with my S8+.
Then install mı flash and fasboot rom of your choise global stable or global beta then close The phone and open pressing w power button and wolume down button at The same time once You ses The tinker bunny (fasboot mode pic) connect your phone with a cable and install with mı flash of your choise of rom and ext its very easy en.miui.com download section You can fallow The steps there its tooooo easy You can spor
And no You can not lock your bootloader anyother way
Thanks! I got it reflashed and locked! When I searched the Play Store, Netflix showed up right away! Appreciate the help... It was super easy!
gman901 said:
Thanks! I got it reflashed and locked! When I searched the Play Store, Netflix showed up right away! Appreciate the help... It was super easy!
Click to expand...
Click to collapse
have a good day
egentreri said:
Then install mı flash and fasboot rom of your choise global stable or global beta then close The phone and open pressing w power button and wolume down button at The same time once You ses The tinker bunny (fasboot mode pic) connect your phone with a cable and install with mı flash of your choise of rom and ext its very easy en.miui.com download section You can fallow The steps there its tooooo easy You can spor
And no You can not lock your bootloader anyother way
Click to expand...
Click to collapse
Hi Egentreri,
I am surprised to read by your reply; I thought the bootloader could be relocked using a fastboot command. I have bought a Mi6 a few days ago and it came with an EU rom. I decided to flash the Global Rom using the regular update tool from the rom itself, but unfortunately TWRP was installed, something I hadn't checked... and I bricked the phone. I managed to reflash the stock recovery (in chinese) in fastboot and I the phone some how booted again and I could reflash the rom from the update tool and this seems to have flashed a new stock recovery as it is now in english?
My bootloader is still unlocked, but I guess I could use the fastboot command to relock the phone as I now have a stock recovery along with a stock Global Rom? What do you think?
Thanks,
Alex
nirmnet said:
Hi Egentreri,
I am surprised to read by your reply; I thought the bootloader could be relocked using a fastboot command. I have bought a Mi6 a few days ago and it came with an EU rom. I decided to flash the Global Rom using the regular update tool from the rom itself, but unfortunately TWRP was installed, something I hadn't checked... and I bricked the phone. I managed to reflash the stock recovery (in chinese) in fastboot and I the phone some how booted again and I could reflash the rom from the update tool and this seems to have flashed a new stock recovery as it is now in english?
My bootloader is still unlocked, but I guess I could use the fastboot command to relock the phone as I now have a stock recovery along with a stock Global Rom? What do you think?
Thanks,
Alex
Click to expand...
Click to collapse
In my non expert opinion and little experience flashing som custom roms and then going back to official (beta and stable), and back again to custom with twrp recovery and all... Sure and easiest method for going to any of the official roms and having the bootloader relocked is to flash chosen rom with fastboot update: for the Mix: http://en.miui.com/a-234.html
That way, which I understand is what @gman901 did, with the same package you get back to locked bootloader, stock recovery, etc.
I got my Mix unlocked also, which I didn't mind as I quickly rooted and went to try some fantastic custom roms. But the first weeks, when going back and forth and trying this and that, at some point I wanted to go back to vanilla official global stable, and from there to global developer. To do the first step from custom rom only fastboot update worked.
Hope this helps!

How to go back to stock and relock the Bootloader?

Hello
i have to sell my device so i want to get it to stock again.
My current Setup:
Bootloader Unlocked, Stock Recovery, Rooted with Magisk, Stock ROM 9.0.0.283
What are the Steps to go Back to Stock and wipe everything?
Ive read that if the bootloader relock again it is not able to unlock the second time? Is this correct? I want to get the Unlock Code to the person who buy it but if its real, he cant use the code anymore..
anyway is it possible to do the job with the Stock E-Recovery in the current state of my phone? Without bootloader Relocked? Or is it necessary to relock the bootloader again?
Thank you very much
blackst225 said:
Hello
i have to sell my device so i want to get it to stock again.
My current Setup:
Bootloader Unlocked, Stock Recovery, Rooted with Magisk, Stock ROM 9.0.0.283
What are the Steps to go Back to Stock and wipe everything?
Ive read that if the bootloader relock again it is not able to unlock the second time? Is this correct? I want to get the Unlock Code to the person who buy it but if its real, he cant use the code anymore..
anyway is it possible to do the job with the Stock E-Recovery in the current state of my phone? Without bootloader Relocked? Or is it necessary to relock the bootloader again?
Thank you very much
Click to expand...
Click to collapse
Ask the buyer if they want it locked. Personally it wouldn't be worth my time if it couldn't be unlocked again. Better to check first..
If you want to lock (not relock) bl justdownload your adequate firmware from androidhost.ru and flash fw using Usb-otg method.
You can unlock/lock your bl using unlock code anytime you want (provided you haven't changed your mainboard in the meantime).
forever_lol said:
If you want to lock (not relock) bl justdownload your adequate firmware from androidhost.ru and flash fw using Usb-otg method.
You can unlock/lock your bl using unlock code anytime you want (provided you haven't changed your mainboard in the meantime).
Click to expand...
Click to collapse
Hi is it possible to do the following..
Adb relock bootloader in my current state?
In my opinion the relock of the bootloader restore system to default over the erecovery or is this wrong?
Many thanks
blackst225 said:
Hi is it possible to do the following..
Adb relock bootloader in my current state?
In my opinion the relock of the bootloader restore system to default over the erecovery or is this wrong?
Many thanks
Click to expand...
Click to collapse
I thought you wanted to go back to stock. I've already gave you solution to bring back all the way stock.
I m not sure if it's even possible to re-lock bootloader using fastboot when you're on pie.
Bootloader status re-locked still means your warranty is void.
forever_lol said:
I thought you wanted to go back to stock. I've already gave you solution to bring back all the way stock.
I m not sure if it's even possible to re-lock bootloader using fastboot when you're on pie.
Bootloader status re-locked still means your warranty is void.
Click to expand...
Click to collapse
Hey I've tried this otg method but without success
If I try it with the dload folder option and try to force flash the emui updater throws an error.
Even with the dialer code method.. same..
I'm not able to get it to stock.
I've tried the Huawei suite on PC and phone in fastboot mode..same..massage this phone can't be reset or so..
What can I do next?
Current state, halfway working phone that's boot into os 2 times from 10 reboots.

Help locking bootloader on version C.31

Ok so in short I unlocked the bootloader a while back, installed TWRP and magisk and I'm on version RMX1931EX_11_C.31. I would like to update to the newest version and lock the bootloader again.
Problem is since everything is in chaos I have no idea what to do especially since it's been a while since I unlocked the bootloader and installed TWRP.
So my question is simply what do I gotta do to basically get the X2 back into stock form and how large is the risk that I might brick it?

Categories

Resources