to relock the bootloader I tried the "fastboot flashing lock" command without quotes via adb pc fastboot the device will ask you to reset the system once you start the phone go to the developer settings and deactivate the 'unlock oem' check then restart and play original device is made for future joyui11
babboooo said:
to relock the bootloader I tried the "fastboot flashing lock" command without quotes via adb pc fastboot the device will ask you to reset the system once you start the phone go to the developer settings and deactivate the 'unlock oem' check then restart and play original device is made for future joyui11
Click to expand...
Click to collapse
This is work?
babboooo said:
to relock the bootloader I tried the "fastboot flashing lock" command without quotes via adb pc fastboot the device will ask you to reset the system once you start the phone go to the developer settings and deactivate the 'unlock oem' check then restart and play original device is made for future joyui11
Click to expand...
Click to collapse
Can you give step by step for us noobs?
Lekauseni said:
Can you give step by step for us noobs?
Click to expand...
Click to collapse
1.enter fastboot
2.adb inout fastboot flashing lock
3.rec you drvice
4.enter your device system to developer settings,turn down the OEM
5.reboot
Wanna ask if i already flash twrp as recovery would this step pass to relock bootloader?
satoririto said:
1.enter fastboot
2.adb inout fastboot flashing lock
3.rec you drvice
4.enter your device system to developer settings,turn down the OEM
5.reboot
Click to expand...
Click to collapse
Can you tell step by step?
After my bs2 enters boots mode the system doesn't not recognize again.... It give error waiting for any devices
Related
HTC One (Rogers)
*** TAMPERED ***
*** RELOCKED ***
*** Security Warning ***
S-ON
HBOOT-1.44.0000
Things kinda went sideways when I tried flashing a MOD without making a backup. I know what you're thinking, you can make fun of me all you want lol.
I'm only writing this post after having spent hours reading other posts. I'm kind of confused at this point, what is the easiest way to get my phone working again.
At the moment, I don't have a working ROM installed and I don't have access to my clockworkmod custom recovery. I only have Fastboot to work with. My understanding is that I have the following options:
Somehow Unlock my RELOCKED bootloader and flash a custom ROM
Find the original Rogers Stock ROM for my phone
I'm not sure how to go about doing the first option. And I don't know where I can find the Stock ROM for my phone.
If you have any info you can shed my way, I'd really appreciate it! And if there are similar posts already existing, I apologize for making a new one. I just didn't find anything that speaks to my exact problem out there.
UPDATE: I figured it out! Thank God!! I just had to "fastboot oem rebootRUU" then unlock bootloader, then install custom recover, then custom ROM.
mozer0 said:
HTC One (Rogers)
*** TAMPERED ***
*** RELOCKED ***
*** Security Warning ***
S-ON
HBOOT-1.44.0000
Things kinda went sideways when I tried flashing a MOD without making a backup. I know what you're thinking, you can make fun of me all you want lol.
I'm only writing this post after having spent hours reading other posts. I'm kind of confused at this point, what is the easiest way to get my phone working again.
At the moment, I don't have a working ROM installed and I don't have access to my clockworkmod custom recovery. I only have Fastboot to work with. My understanding is that I have the following options:
Somehow Unlock my RELOCKED bootloader and flash a custom ROM
Find the original Rogers Stock ROM for my phone
I'm not sure how to go about doing the first option. And I don't know where I can find the Stock ROM for my phone.
If you have any info you can shed my way, I'd really appreciate it! And if there are similar posts already existing, I apologize for making a new one. I just didn't find anything that speaks to my exact problem out there.
UPDATE: I figured it out! Thank God!! I just had to "fastboot oem rebootRUU" then unlock bootloader, then install custom recover, then custom ROM.
Click to expand...
Click to collapse
im in the same boat now and have no idea what to do
can you help?
shanewilliamson said:
im in the same boat now and have no idea what to do
can you help?
Click to expand...
Click to collapse
Hi shanewilliamson,
1. Reboot your phone to fastboot mode
2. Connect to PC (assuming you have the fastboot kit on your PC)
3. On the CMD window, type "fastboot oem rebootRUU" and hit Enter.
4. Your phone will ask you if you want to unlock the bootloader. Choose YES
5. Reboot back into fastboot mode. Download your favorite Recovery from the internet, i.e. Clockworkmod or TWRP.
6. Flash Recovery into your phone (tons of tutorials out there on how do this)
7. Reboot your phone into Recovery.
8. Flash your favorite ROM
Hope this helps!
mozer0 said:
Hi shanewilliamson,
1. Reboot your phone to fastboot mode
2. Connect to PC (assuming you have the fastboot kit on your PC)
3. On the CMD window, type "fastboot oem rebootRUU" and hit Enter.
4. Your phone will ask you if you want to unlock the bootloader. Choose YES
5. Reboot back into fastboot mode. Download your favorite Recovery from the internet, i.e. Clockworkmod or TWRP.
6. Flash Recovery into your phone (tons of tutorials out there on how do this)
7. Reboot your phone into Recovery.
8. Flash your favorite ROM
Hope this helps!
Click to expand...
Click to collapse
hi,
thanks for getting back to me but its not working
phone just has a black screen with silver htc logo on it when i do this
shanewilliamson said:
hi,
thanks for getting back to me but its not working
phone just has a black screen with silver htc logo on it when i do this
Click to expand...
Click to collapse
Try fastboot oem boot
Then fastboot oem rebootRUU
Your phone is RELOCKED right?
mozer0 said:
Try fastboot oem boot
Then fastboot oem rebootRUU
Your phone is RELOCKED right?
Click to expand...
Click to collapse
hi,
fastboot oem rebootRUU runs through a load on the cmd prompt
last line is failed (status read failed (too many links))
how do i know if the phone is unlocked or relocked now?
shanewilliamson said:
hi,
fastboot oem rebootRUU runs through a load on the cmd prompt
last line is failed (status read failed (too many links))
how do i know if the phone is unlocked or relocked now?
Click to expand...
Click to collapse
First line on the bootloader screen (highlighted in purple)
mozer0 said:
First line on the bootloader screen (highlighted in purple)
Click to expand...
Click to collapse
yes its unlocked
says
tampered
unlocked
shanewilliamson said:
yes its unlocked
says
tampered
unlocked
Click to expand...
Click to collapse
Oh... you're good then, you don't need "fastboot oem rebootRUU".
Do you have a custom recovery installed too? TWRP or Clockworkmod?
mozer0 said:
Oh... you're good then, you don't need "fastboot oem rebootRUU".
Do you have a custom recovery installed too? TWRP or Clockworkmod?
Click to expand...
Click to collapse
i had twrp installed before i flashed the wrong rom
now all i have is the boot loader screen
im trying to install a custom recovery and cant
process goes through ok on the cmd p
shanewilliamson said:
i had twrp installed before i flashed the wrong rom
now all i have is the boot loader screen
im trying to install a custom recovery and cant
process goes through ok on the cmd p
Click to expand...
Click to collapse
Have a look here >> http://forum.xda-developers.com/showthread.php?t=2529225
clsA said:
Have a look here >> http://forum.xda-developers.com/showthread.php?t=2529225
Click to expand...
Click to collapse
i have the twrp image file and use fastboot to put on the phone but i wont work
so cant get any further
shanewilliamson said:
i have the twrp image file and use fastboot to put on the phone but i wont work
so cant get any further
Click to expand...
Click to collapse
type the steps you use to flash TWRP
clsA said:
type the steps you use to flash TWRP
Click to expand...
Click to collapse
first rename the twrp recovery to recovery
then enter the bootloader
connect to pc and open up a CMD window where your adb and fastboot commands are," shift and left mouse to open up CMD "
type fastboot devices. if a random serial no is returned your ok
put your recovery into the adb/fastboot folder and
fastboot flash recovery recovery.img
once done
fastboot erase cache
reboot into bootloader and choose recovery
shanewilliamson said:
first rename the twrp recovery to recovery
then enter the bootloader
connect to pc and open up a CMD window where your adb and fastboot commands are," shift and left mouse to open up CMD "
type fastboot devices. if a random serial no is returned your ok
put your recovery into the adb/fastboot folder and
fastboot flash recovery recovery.img
once done
fastboot erase cache
reboot into bootloader and choose recovery
Click to expand...
Click to collapse
and what happen's when you reboot to the bootloader and choose recovery ?
clsA said:
and what happen's when you reboot to the bootloader and choose recovery ?
Click to expand...
Click to collapse
it just goes back to the boot loader menu
shanewilliamson said:
it just goes back to the boot loader menu
Click to expand...
Click to collapse
Did you do this step ?
Download Canadian 1.55 HBOOT recovery: http://goo.gl/2Kntxz
Make sure you're in the bootloader go into fastboot and make sure the downloaded image is in the same folder as your fastboot.
fastboot flash recovery recovery.img
fastboot erase cache
fastboot reboot-bootloader
Go into bootloader and then choose Factory Reset - let that finish running <<< Important!
Phone will go out and start bootlooping. Now power off and go back to bootloader mode:
Go into fastboot
fastboot flash recovery <custom recovery>.img
fastboot erase cache
fastboot reboot-bootloader
Now you can go into custom recovery and you should be good to go now.
Click to expand...
Click to collapse
clsA said:
Did you do this step ?
Click to expand...
Click to collapse
just tried all that again in case but exactly the same result
shanewilliamson said:
just tried all that again in case but exactly the same result
Click to expand...
Click to collapse
Seems hopeless
your only hope is someone can rebuild your partitions but with s-on it won't be easy
I'm in the same exact position as the original poster. However, when I'm in the bootloader and connected to my PC. typing
fastboot oem rebootRUU
Click to expand...
Click to collapse
puts the phone into a black screen with a silver HTC logo. Nothing happens afterwards. Any help is appreciated. My end goal is to get this phone back to stock AT&T rom (4.4.2) with Sense 6)
My phone is
Tampered
Relocked
S-On
HBoot 1.44
Today i finally unlocked my bootloader officially...
My doubt is that,
1. How to relock bootloader.
2. If it is relocked, how to unlock it again.
Same question
the same Question ?
Any answers??
asrupesh said:
Today i finally unlocked my bootloader officially...
My doubt is that,
1. How to relock bootloader.
2. If it is relocked, how to unlock it again.
Click to expand...
Click to collapse
To relock the bootloader, just flash an official miui fastboot rom via miflash and you're done....
If you have unlocked officially, you can just unlock your bootloader anytime without asking permission from xiaomi again...
If you have unlocked your device unofficially, repeat the steps you did for unlocking your device or unlock officially.....
ayush321 said:
To relock the bootloader, just flash an official miui fastboot rom via miflash and you're done....
If you have unlocked officially, you can just unlock your bootloader anytime without asking permission from xiaomi again...
If you have unlocked your device unofficially, repeat the steps you did for unlocking your device or unlock officially.....
Click to expand...
Click to collapse
Thanks for replying today i flash miui stock fastboot via miflash and checked using this code "fastboot oem device-info"
it still shows "device unlocked= true"
it didint relock my bootloder....
asrupesh said:
Thanks for replying today i flash miui stock fastboot via miflash and checked using this code "fastboot oem device-info"
it still shows "device unlocked= true"
it didint relock my bootloder....
Click to expand...
Click to collapse
can you try with fastboot oem lock?
rajneeshk said:
can you try with fastboot oem lock?
Click to expand...
Click to collapse
Sorry dude I can't, I dont want to risk it....
asrupesh said:
Today i finally unlocked my bootloader officially...
My doubt is that,
1. How to relock bootloader.
2. If it is relocked, how to unlock it again.
Click to expand...
Click to collapse
I see many asking how to Relock Bootloader, especially those who had unlocked unofficially.
http://forum.xda-developers.com/showpost.php?p=66962198&postcount=7
The steps to be followed are following:
(1) Turn on USB debugging for your phone;
Go to Settings -- About Phone --> Touch 7 times on "MIUI version" to Enable Developer Options.
Now go to Settings - Additional Settings - Developer Options --> USB debugging.
Enable USB Debugging and Connect to PC.
(2) Download Fastboot ROM (file extension .tgz or .tar) from
Code:
http://en.miui.com/a-234.html
(3) Boot into EDL
adb devices (to check it's connected)
adb reboot edl
(4) Use MI Flash Tool to Flash the Fastboot ROM
One done it will be locked... To relock follow same steps as done earlier - either official or unofficial
Hello Guys,
I was trying to install OxygenOS 3.1.0 when I was on Sultanxda's CM13 but instead bricked the device.
What I did:-
1. Rebooted to TWRP and flashed stock OOS recovery and then clicked reboot into recovery.
2. Instead of rebooting in recovery my phone got stuck at the OnePlus logo.
3. I booted into fastboot to flash twrp.img but it says 'writing 'recovery'...
FAILED (remote: device is locked. Cannot erase)'
4. I repeated the same with stock recovery but no success and was not even able to boot to CM13 now.
Hence I was stuck on the OnePlus logo without any booting ROM or recovery and a locked bootloader (according to fastboot)
What I have already tried but failed:-
1. Tried to root with kingroot etc. (Before bricking)
2. Tried to unlock bootloader but failed because it has no recovery.
3. Tried to flash stock OOS 2.1.3-x
4. For now I used fastboot continue to boot back into CM13
Please help, I'm now stuck with cm13 without root and without any recovery installed.
P.S. I'm not even sure that if I clicked reboot then the phone will boot.
Thanks.
Okay, calm down.
Go to developer options and see if "OEM Unlocking" is enabled. If not, enable it.
Cool. Now enable USB Debugging, connect the phone to PC, open CMD and type
Code:
adb reboot bootloader
then
Code:
fastboot oem unlock
Download TWRP from the official website, rename it to recovery.img and then
Code:
fastboot flash recovery recovery.img
Now you have a recovery and an unlocked bootloader. Profit?
I hope this helps.
Thunderbottom said:
Okay, calm down.
Go to developer options and see if "OEM Unlocking" is enabled. If not, enable it.
Cool. Now enable USB Debugging, connect the phone to PC, open CMD and type
then
Download TWRP from the official website, rename it to recovery.img and then
Now you have a recovery and an unlocked bootloader. Profit?
I hope this helps.
Click to expand...
Click to collapse
Thanks for your help,
But if you read my post then you'll understand that due to absence of a recovery I can't unlock the bootloader and hence cannot flash twrp
gavisharora said:
Thanks for your help,
But if you read my post then you'll understand that due to absence of a recovery I can't unlock the bootloader and hence cannot flash twrp
Click to expand...
Click to collapse
You don't need recovery to unlock bootloader, you need fastboot.
Thunderbottom said:
You don't need recovery to unlock bootloader, you need fastboot.
Click to expand...
Click to collapse
But in OnePlus devices the phone asks a confirmation through recovery recovery to wipe data and unlock
gavisharora said:
But in OnePlus devices the phone asks a confirmation through recovery recovery to wipe data and unlock
Click to expand...
Click to collapse
Try the Mega Unbrick Guide then.
Deleted
Same problem. But i dont have pc with windows and can't use mega unbrick guide(
Any news with solution?
I unlocked my mate20 pro, but problem is now i can't relock it , even I use "fastboot oem relock +unlock code"
anybody can help ?
have you tried fastboot oem lock?
you don't have to specify the code
i just tried also and cannot lock
Daniehabazin said:
have you tried fastboot oem lock?
you don't have to specify the code
Click to expand...
Click to collapse
still can't relock..................wait for solution
richard_li said:
still can't relock..................wait for solution
Click to expand...
Click to collapse
Refer to my post here ?
https://forum.xda-developers.com/ma...ocking-bootloader-magisk-root-t3885422/page22
I accidentally relocked the phone by using the hstool method of flashing a full firmware.
it does relock the phone and required me to unlock it again using the fastboot oem unlock code
xeroxide said:
I accidentally relocked the phone by using the hstool method of flashing a full firmware.
it does relock the phone and required me to unlock it again using the fastboot oem unlock code
Click to expand...
Click to collapse
That's interesting. So all your data was wiped when you used the hstool?
Someone else said flashing firmware via dload method also relocks the bootloader.
hmm i'm not sure.
I'll explain the whole situation.
I had just unlocked the bootloader and installed magisk.
after installing magisk, I installed a few modules, one of which made my phone bootloop.
I managed to get back into fastboot mode, use hstool to select my firmware (224) along with the patched hisuite from funkyhuawei.
after my phone recovered, it seems to have been completely reset and locked.
*edit*
I guess I should also add, I've never installed TWRP on this phone, only patched the recovery_ramdis.img for Magisk
xeroxide said:
hmm i'm not sure.
I'll explain the whole situation.
I had just unlocked the bootloader and installed magisk.
after installing magisk, I installed a few modules, one of which made my phone bootloop.
I managed to get back into fastboot mode, use hstool to select my firmware (224) along with the patched hisuite from funkyhuawei.
after my phone recovered, it seems to have been completely reset and locked.
*edit*
I guess I should also add, I've never installed TWRP on this phone, only patched the recovery_ramdis.img for Magisk
Click to expand...
Click to collapse
After locking, can you use the same code to unlock it again ?
EagleEye92 said:
After locking, can you use the same code to unlock it again ?
Click to expand...
Click to collapse
Yes sure
EagleEye92 said:
After locking, can you use the same code to unlock it again ?
Click to expand...
Click to collapse
Yes
ok just an update, while mucking around I accidentally softbricked my phone.
I used the external usb method (where you update using the code *#*#2846579#*#*) and it 100% relock the phone.
*edit*
and yes, the same code works to unlock it again. KEEP THE CODE SAFE!
xeroxide said:
ok just an update, while mucking around I accidentally softbricked my phone.
I used the external usb method (where you update using the code *#*#2846579#*#*) and it 100% relock the phone.
*edit*
and yes, the same code works to unlock it again. KEEP THE CODE SAFE!
Click to expand...
Click to collapse
Can you say me something about the usb method? dont know, what this is. :silly:
ClintP said:
Can you say me something about the usb method? dont know, what this is. :silly:
Click to expand...
Click to collapse
You need an external usb-c drive with some firmware on it.
I initially used v187 from this thread
https://forum.xda-developers.com/mate-20-pro/how-to/firmware-update-187-brings-oem-unlock-t3897301
Since then I downloaded a v206 which works over USB but I cannot recall where I got it from.
Note that you will loose all user data since the phone will be fully wiped.
Also this method requires a phone that is working, as in able to boot and access the dialer and menus.
If I find out where I got the v206 I will post it here as well.
I should also add, maybe it might work with a memory card as well... But this method requires an external source for the firmware since it formats the entire phone
@ xeroxide Thx for your help.
I Try this at the weekend.
If you need to relock your bootloader, this is the process:
Using eRecovery, restore your phone to stock
Once done, boot into recovery and RESET your phone (if you dont, it will not allow you to lock the bootloader)
Boot into fastboot mode (Holding Vol-DOWN, plug in usb cable) , and run the command
fastboot oem relock < bootloader unlock code>
the phone should now ask you that it will wipe your device, confirm,
Enjoy locked phone!
deepsrd said:
If you need to relock your bootloader, this is the process:
Using eRecovery, restore your phone to stock
Once done, boot into recovery and RESET your phone (if you dont, it will not allow you to lock the bootloader)
Boot into fastboot mode (Holding Vol-DOWN, plug in usb cable) , and run the command
fastboot oem relock < bootloader unlock code>
the phone should now ask you that it will wipe your device, confirm,
Enjoy locked phone!
Click to expand...
Click to collapse
Now it works well... i relocked my phone..........but i don't know why i failed last time because i followed exactly the steps...
deepsrd said:
If you need to relock your bootloader, this is the process:
Using eRecovery, restore your phone to stock
Once done, boot into recovery and RESET your phone (if you dont, it will not allow you to lock the bootloader)
Boot into fastboot mode (Holding Vol-DOWN, plug in usb cable) , and run the command
fastboot oem relock < bootloader unlock code>
the phone should now ask you that it will wipe your device, confirm,
Enjoy locked phone!
Click to expand...
Click to collapse
richard_li said:
Now it works well... i relocked my phone..........but i don't know why i failed last time because i followed exactly the steps...
Click to expand...
Click to collapse
it means now relocked and problem solved.........
deepsrd said:
If you need to relock your bootloader, this is the process:
Using eRecovery, restore your phone to stock
Once done, boot into recovery and RESET your phone (if you dont, it will not allow you to lock the bootloader)
Boot into fastboot mode (Holding Vol-DOWN, plug in usb cable) , and run the command
fastboot oem relock < bootloader unlock code>
the phone should now ask you that it will wipe your device, confirm,
Enjoy locked phone!
Click to expand...
Click to collapse
this worked for me thanks loads!
Please help. i'm trying to root my A52s. I passed the bootloader unlock and go on for rooting but I cannot boot into bootloader to run the command. What should I do?
@trai_th do you really mean bootloader?
That's equivalent to downlode mode on samsungs.
It should work with adb if turned on in dev options.
Command: adb reboot bootloader.
bmwdroid said:
@trai_th do you really mean bootloader?
That's equivalent to downlode mode on samsungs.
It should work with adb if turned on in dev options.
Command: adb reboot bootloader.
Click to expand...
Click to collapse
i tried adb reboot bootloader, it's back to the samsung screen. But i manage to use fastboot mode when we try to unlock bootloader page instead. but still can't root it. don't know how, it's quite complicated...
Arobase40 said:
So do you gain access to your bootloader now ?
Click to expand...
Click to collapse
yep