So I messed up a bit when relocking my bootloader. I relocked the bootloader, and completely forgot that I had the ElementalX kernel installed. Now I'm at a point where my phone wont boot because it has a custom kernel installed on top of a locked bootloader, and I can't boot the phone to enable OEM unlocking. What the hell do I do here?
Flash the stock images.
flonker said:
Flash the stock images.
Click to expand...
Click to collapse
Doesn't the bootloader need to be unlocked?
harritaco said:
Doesn't the bootloader need to be unlocked?
Click to expand...
Click to collapse
You can still do that. If you want to get back to stock, read through this:
https://developers.google.com/android/images
Just make sure you download the correct images and follow the instructions. Read through everything before you start.
Edit: This is dependent on being able to get into fastboot, which, judging from another thread, might not be possible in your situation. Hopefully you still can boot into fastboot using the key commands.
flonker said:
You can still do that. If you want to get back to stock, read through this:
https://developers.google.com/android/images
Just make sure you download the correct images and follow the instructions. Read through everything before you start.
Edit: This is dependent on being able to get into fastboot, which, judging from another thread, might not be possible in your situation. Hopefully you still can boot into fastboot using the key commands.
Click to expand...
Click to collapse
That is not an option. You need to have the bootloader unlocked in order to flash the images. I can't unlock the bootloader because I can't boot the device. I can get in to fastboot, and watch the charging animation, thats it. I can push commands, then it just comes back at me and tells me that I need to unlock the bootloader.
Running "fastboot continue" let me in. I was able to get the bootloader unlocked again.
harritaco said:
Running "fastboot continue" let me in. I was able to get the bootloader unlocked again.
Click to expand...
Click to collapse
Awesome man. I need to archive this solution as we all have brainfarts sometimes and it's only a matter of time before myself or someone else stumbles. Thanks for sharing your solution.
schwem said:
Awesome man. I need to archive this solution as we all have brainfarts sometimes and it's only a matter of time before myself or someone else stumbles. Thanks for sharing your solution.
Click to expand...
Click to collapse
I definitely can't take credit for it, I saw it on a PSA thread that jcase posted on XDA regarding this topic. I happened to find the post after somebody mentioned him in my reddit post.
https://imgur.com/a/8O93m
harritaco said:
I definitely can't take credit for it, I saw it on a PSA thread that jcase posted on XDA regarding this topic. I happened to find the post after somebody mentioned him in my reddit post.
https://imgur.com/a/8O93m
Click to expand...
Click to collapse
Hey! I'm the guy that mentioned the jcase solution in your Reddit post. Glad you got it fixed.
Anyone have any idea what to do if "fastboot continue" does not work. As I too am stupid and relocked the bootloader. Now all I get is "this device is courpt" when I try to boot it up.
longbowpilot said:
Anyone have any idea what to do if "fastboot continue" does not work. As I too am stupid and relocked the bootloader. Now all I get is "this device is courpt" when I try to boot it up.
Click to expand...
Click to collapse
Did you load into bootloader (vol down + power) and try to run "fastboot -w" (to wipe userdata) then "fastboot continue" and wait 10 min. If you still don't boot power down, go into bootloader again and try "fastboot continue" again.
Sent from my sailfish using XDA Labs
I have tried the "fastboot -w" it says failed and the phone still says courpt. I guess ill just get a replacement. Thanks for the help.
I just want to confirm 100%...flashing stock will not RELOCK bootloader correct? I have a terrible freezing and force closing issue after rooting. I have flashed the stock boot image and tried other kernels but it hasn't helped. So I'm going to flash complete stock but afraid it will RELOCK bootloader
Forgot to mention I have an OTA but the download/install fails every time
Sent from my Pixel XL using XDA-Developers mobile app
Flashing stock will not relock the bootloader.
DIXZ06 said:
Flashing stock will not relock the bootloader.
Click to expand...
Click to collapse
Good to hear. Thank you for confirming
Sent from my Pixel XL using XDA-Developers mobile app
It happened in my case, i forgot to oem unlocking and usb debugging activated.. my rom is 7.1.1, need help, i am stuck in dot loop..
flonker said:
Flash the stock images.
Click to expand...
Click to collapse
This will not work with a locked bootloader. If it did, anyone could flash older firmware and use the bootloader unlock tool. You're screwed once you relock the bootloader with a non stock kernel. Unfortunately for the OP, I suspect he now has a very expensive paper weight.
Mike02z said:
This will not work with a locked bootloader. If it did, anyone could flash older firmware and use the bootloader unlock tool. You're screwed once you relock the bootloader with a non stock kernel. Unfortunately for the OP, I suspect he now has a very expensive paper weight.
Click to expand...
Click to collapse
Op fixed his issue. Read one page back. He got it to boot with fastboot continue.
On a side note. Why the hell is anyone locking their bootloader's.
toknitup420 said:
Op fixed his issue. Read one page back. He got it to boot with fastboot continue.
On a side note. Why the hell is anyone locking their bootloader's.
Click to expand...
Click to collapse
dont understand that too^^
I think there should be a sticky that not to relock the bootloader before reading the proper instructions or please search the xda forums.
Sent from my Pixel XL using XDA-Developers Legacy app
Related
Hello tech fans, like i said in the title i wiped out my os doing things and playing with the phone too much:crying:, i actually at first unlocked it and all went well, but i pushed a little too much my luck :silly:, now i ended up with a deleted os, i actually tried somethings, i have it from 4 days it's pretty fresh ehm, i tried this method http://forum.xda-developers.com/showthread.php?t=2258809&page=6 it actually failed and relocked the phone -.-, now i really don't know what to do and i'm pretty desperate, if someone could help i would be grateful to them
Windrazor7 said:
Hello tech fans, like i said in the title i wiped out my os doing things and playing with the phone too much:crying:, i actually at first unlocked it and all went well, but i pushed a little too much my luck :silly:, now i ended up with a deleted os, i actually tried somethings, i have it from 4 days it's pretty fresh ehm, i tried this method http://forum.xda-developers.com/showthread.php?t=2258809&page=6 it actually failed and relocked the phone -.-, now i really don't know what to do and i'm pretty desperate, if someone could help i would be grateful to them
Click to expand...
Click to collapse
Can you still get into your bootloader and recovery? If yes, you could push a rom or a backup file to your SDCard and continue from there...
Niorun said:
Can you still get into your bootloader and recovery? If yes, you could push a rom or a backup file to your SDCard and continue from there...
Click to expand...
Click to collapse
I can get into bootloader, but no recovery, it's locked itself after trying the method i linked in the first post, now it has 3 tags. tampered relocked security warning...
Windrazor7 said:
I can get into bootloader, but no recovery, it's locked itself after trying the method i linked in the first post, now it has 3 tags. tampered relocked security warning...
Click to expand...
Click to collapse
Have you tried unlocking your bootloader again?
Niorun said:
Have you tried unlocking your bootloader again?
Click to expand...
Click to collapse
right now i don't really know how to do it again, in this situation not entering the os, do you have any idea or could help me?
Windrazor7 said:
right now i don't really know how to do it again, in this situation not entering the os, do you have any idea or could help me?
Click to expand...
Click to collapse
you need to unlock the bootloader install a recovery then adb sideload a rom. all of which can be done from the all in one toolkit.
Windrazor7 said:
right now i don't really know how to do it again, in this situation not entering the os, do you have any idea or could help me?
Click to expand...
Click to collapse
I assume you still have you unlock token (Unlock_code.bin) file you got from HTCDev. Place that file in your fastboot folder.
Boot your phone into fastboot.
Plug USB cable in.
Start CMD, browse to your fastboot folder.
CMD: fastboot flash unlocktoken Unlock_code.bin
Answer the question with Yes ofcourse.
Done!
skinsfanbdh said:
you need to unlock the bootloader install a recovery then adb sideload a rom. all of which can be done from the all in one toolkit.
Click to expand...
Click to collapse
OK, lol i actually did it xD, i'm at the start with twrp, what should i do next?
Windrazor7 said:
OK, lol i actually did it xD, i'm at the start with twrp, what should i do next?
Click to expand...
Click to collapse
Start reading...
Find a rom, flash it!
Niorun said:
Start reading...
Find a rom, flash it!
Click to expand...
Click to collapse
Thanks man, actually installing viper one, it's going till now i'm gonna update when it ends if it does, if it's so u saved my sorry ass
Windrazor7 said:
Thanks man, actually installing viper one, it's going till now i'm gonna update when it ends if it does, if it's so u saved my sorry ass
Click to expand...
Click to collapse
The basics are quite easy actually. If you follow the instructions correctly!
1. Unlock bootloader
2. Flash custom recovery
3. Flash rom
Niorun said:
The basics are quite easy actually. If you follow the instructions correctly!
1. Unlock bootloader
2. Flash custom recovery
3. Flash rom
Click to expand...
Click to collapse
Yeah man, thx it worked, i was very desperate ahahha, now i feel really releaved, it works even better then before :good:, i would kiss you if i wasn't a guy . U just saved my life thanks
hi guys,
i tried following a the htc unlock guides. but when i boot my m9 into the bootloader (vol down + power on ) there is no option for fastboot.
when i use the command fastboot devices my device is recognized but i cant use the fastboot oem get_identifier_token command
it just gives me an error.
can someone please give me tip? am i missing something?
thanks in advance for your help
chronicg said:
hi guys,
i tried following a the htc unlock guides. but when i boot my m9 into the bootloader (vol down + power on ) there is no option for fastboot.
when i use the command fastboot devices my device is recognized but i cant use the fastboot oem get_identifier_token command
it just gives me an error.
can someone please give me tip? am i missing something?
thanks in advance for your help
Click to expand...
Click to collapse
Instructions are a bit wanky. You need to be in download mode for the instructions to work. Had similar issue.
Fastboot Doesnt Show
dratsablive said:
Instructions are a bit wanky. You need to be in download mode for the instructions to work. Had similar issue.
Click to expand...
Click to collapse
I tried going into download mode and then doing "fastboot boot recovery.img" so that I could take a nandroid in it's current stock form before flashing the TWRP recovery. All i got was a "Start Downloading" Prompt and when I'd select it, the device kept saying "Under Flash" over and over again. Any idea of what to do or do I have to take the plunge and flash the boot with the recovery image?
debasser2 said:
I tried going into download mode and then doing "fastboot boot recovery.img" so that I could take a nandroid in it's current stock form before flashing the TWRP recovery. All i got was a "Start Downloading" Prompt and when I'd select it, the device kept saying "Under Flash" over and over again. Any idea of what to do or do I have to take the plunge and flash the boot with the recovery image?
Click to expand...
Click to collapse
you can't boot recovery
you need to flash TWRP 2.8.6.4 beta
Make a nandroid and save it to your pc
In TWRP Terminal use this command
Code:
mount -t ext4 /dev/block/bootdevice/by-name/system /system
Reboot recovery and your ready to start flashing SuperSU / roms
clsA said:
you can't boot recovery
Click to expand...
Click to collapse
do you know why this is?
Update: found the answer plus more details for the other answers above, in this thread.
Captain_Throwback said:
8. How do I backup stock recovery prior to flashing TWRP?
You can't. The "fastboot boot" command appears to be disabled on the M9's ABOOT, so TWRP must be fastboot flashed over stock recovery. The firmware zip included in the OTA will include a usable stock recovery image. That can be extracted and flashed after stock system is restored so that the OTA can be applied.
Click to expand...
Click to collapse
i just bought this phone, and i also have this new "download mode"
the instructions ive found for unlocking the bootloader all belong to the old version of this fastboot mode.
does anyone know how i can unlock my bootloader so i can have root please?
thanks in advance
reignzy said:
i just bought this phone, and i also have this new "download mode"
the instructions ive found for unlocking the bootloader all belong to the old version of this fastboot mode.
does anyone know how i can unlock my bootloader so i can have root please?
thanks in advance
Click to expand...
Click to collapse
You need to be in download mode to unlock the bootloader.
Follow this guide by KingInTheNorth to unlock your bootloader and root.
Just a small note: if you're on a 5.1 stock rom, you need to enable OEM unlock in developer options first.
Sent from my HTC One M9 using Tapatalk
kingvortex said:
You need to be in download mode to unlock the bootloader.
Follow this guide by KingInTheNorth to unlock your bootloader and root.
Just a small note: if you're on a 5.1 stock rom, you need to enable OEM unlock in developer options first.
Sent from my HTC One M9 using Tapatalk
Click to expand...
Click to collapse
Thank you sir, i think thats exactly the answer ive been searching for
Wish me luck im trying now
reignzy said:
Thank you sir, i think thats exactly the answer ive been searching for
Wish me luck im trying now
Click to expand...
Click to collapse
You're welcome.
You should be fine.
Sent from my HTC One M9 using Tapatalk
kingvortex said:
You're welcome.
You should be fine.
Sent from my HTC One M9 using Tapatalk
Click to expand...
Click to collapse
bootloader now unlocked, time for the fun to begin!
YUS!!! thank you again kind sir
No problem.
Sent from my HTC One M9 using Tapatalk
kingvortex said:
You need to be in download mode to unlock the bootloader.
Follow this guide by KingInTheNorth to unlock your bootloader and root.
Just a small note: if you're on a 5.1 stock rom, you need to enable OEM unlock in developer options first.
Sent from my HTC One M9 using Tapatalk
Click to expand...
Click to collapse
Thanks, just got a M9 and going to Download mode worked.
kingvortex said:
No problem.
Sent from my HTC One M9 using Tapatalk
Click to expand...
Click to collapse
i have htc one m9 demo device so im not allowed to change any of developer options. though usb debugging is enabled. is there any way i can unlock bootloader ?
someone tricked me nd sold this to me as a original deivce. quick help would be appreciated.
numanmalik77 said:
i have htc one m9 demo device so im not allowed to change any of developer options. though usb debugging is enabled. is there any way i can unlock bootloader ?
someone tricked me nd sold this to me as a original deivce. quick help would be appreciated.
Click to expand...
Click to collapse
As long as its not a verizon branded phone, you may be able to unlock it at www.htcdev.com/bootloader.I say may be because im not sure about a demo device, and whats different on that than a regular phone.
cmlusco said:
As long as its not a verizon branded phone, you may be able to unlock it at .I say may be because im not sure about a demo device, and whats different on that than a regular phone.
Click to expand...
Click to collapse
the difference is that i can not store any data in the phone. the app named "demo" keeps popping up automatically. and when it does my all data is gone like my contacts, messages, even the pictures.
in settings there are some option which i can not change, like i can not lock the phone or enter in the security section.
The phone is international version, i tried to unlock it from htcdev but for that u must be able to enter in FASTBOOT nd that OEM option in developer setting must be enabled. i am not able to enter any of those. No fastboot option in Settings. nd when i boot to Bootloader mode there is no option like fastboot. i hope this will make u understand what im trying to say! thannks
I dont know if its a demo thing, but general m9's dony even have the oem option in developer settings. There is no fastboot option to select in the bootloader, you just use a cmd prompt on your pc while in bootloader to type fastboot oem get_identifier token. Mabey i still dont understand.
In settings - display and gestures look for daydream and see if it gives you the option to shut it off. Or go to manage apps find daydream and see if you can disable it. I believe demo mode is part of daydream. Also may be called basic daydream. Also look for any other apps that say demo and try to disable them.
So I just spent the last couple hours trying to root my phone. Only to realize that when I unlocked the bootloader i requested the wrong unlock.bin file. Instead of selecting the htc m8 file, I selected all other supported devices. I don't know if this is the cause of my problem, but since I can't reboot to bootloader, I feel that it is. Is the solution as simple as relocking the bootloader and then unlocking it with the correct unlock.bin file. Or can i just get the correct file and unlock it again. I don't know if any of it will work since the phone won't go into the bootloader. Thought I would as people that know more than me before I brick my phone.
Getting all the stock files from here and then using your cpu to flash everything you should be fine.
jayandare said:
Getting all the stock files from here and then using your cpu to flash everything you should be fine.
Click to expand...
Click to collapse
Ok, Thought I would have to be able to reboot to bootloader in order to flash but I will give that a try. Was there supposed to be a link or did you just mean "from here" as in the xda site?
Tskizzle said:
Ok, Thought I would have to be able to reboot to bootloader in order to flash but I will give that a try. Was there supposed to be a link or did you just mean "from here" as in the xda site?
Click to expand...
Click to collapse
Stock ruu method ,lock bootloader first
manish dubey said:
Stock ruu method ,lock bootloader first
Click to expand...
Click to collapse
Ok thanks. I'll do some searching and figure out how to do that, then try and flash the stock ruu. I'll report back if I have any issues. Thank you again.
Tskizzle said:
Ok thanks. I'll do some searching and figure out how to do that, then try and flash the stock ruu. I'll report back if I have any issues. Thank you again.
Click to expand...
Click to collapse
So I've been reading around and come across some conflicting info. So I finally found the fastboot command to lock the bootloader but some have said to flash the stock ruu first while others say after. Can anyone clear this up for me and let me know if it makes a difference?
S-OFF - no need to relock the bootloader, just run the appropriate RUU
S-ON - relock the bootloader and then run the appropriate RUU
cheers.
Mr Hofs said:
S-OFF - no need to relock the bootloader, just run the appropriate RUU
S-ON - relock the bootloader and then run the appropriate RUU
cheers.
Click to expand...
Click to collapse
Thanks for the help. I think I can handle this now. Is it worth it to go S-off? I'm gonna root once I am back to stock
Tskizzle said:
Thanks for the help. I think I can handle this now. Is it worth it to go S-off? I'm gonna root once I am back to stock
Click to expand...
Click to collapse
Quick reattack on this. I never actually went away from stock. As I couldn't get into the bootloader I never flashed twrp or anything so do I really need to flash the stock RUU? Just trying to figure out for knowledge purposes. Am I basically flashing the RUU to start over from scratch or is it just a precautionary thing?
I can't run Nexus 5X after flash stock firmware.
Phone restarts when is boot animation.
I have locked bootloader.
Please help
reboot to fastboot, use a computer with fastboot drivers and use the following commands...
fastboot format cache
fastboot format userdata
And NEVER uncheck that "allow unlocking" box
noidea24 said:
reboot to fastboot, use a computer with fastboot drivers and use the following commands...
fastboot format cache
fastboot format userdata
And NEVER uncheck that "allow unlocking" box
Click to expand...
Click to collapse
Thank You for answer but I can't do this because I have locked bootloader.
I tried to think of everything I have to give to repair.
Have you tried a factory reset from the stock recovery?
The_mamba said:
Have you tried a factory reset from the stock recovery?
Click to expand...
Click to collapse
Yes
I have this phone only 2 weeks.
XPawlex said:
Thank You for answer but I can't do this because I have locked bootloader.
I tried to think of everything I have to give to repair.
Click to expand...
Click to collapse
bootloader does not have to be unlocked for those commands.
Once you try the above suggestions, download the latest OTA and ADB sideload it. No unlocked bootloader required. The instructions on how to sideload are on the download page.
Sent from my Nexus 5X using Tapatalk
noidea24 said:
bootloader does not have to be unlocked for those commands.
Click to expand...
Click to collapse
uhm, from what I remember from the Nexus 6 brick disaster due to locked bootloader + disabled OEM unlocking + fail OTA, people were claiming that they couldn't do those 2 commands either with a locked bootloader.
noidea24 said:
bootloader does not have to be unlocked for those commands.
Click to expand...
Click to collapse
I haven't tested with the latest bootloaders, but I thought I recalled you couldn't do any write operations through the bootloader when it was locked.
Thank You
Thank you all for your answers, I will give tomorrow to repair. I will answer when I get it back and write what was the cause.
They gave me money for the phone, topic is closed.
Anyone know how to Relock Bootloader of OnePlus 7t
frank602z said:
Anyone know how to Relock Bootloader of OnePlus 7t
Click to expand...
Click to collapse
fastboot oem lock
abalam said:
fastboot oem lock
Click to expand...
Click to collapse
Does it swipe the phone?
I know it does when unlocking but I'm not sure about locking... Actually I never did it xD
abalam said:
fastboot oem lock
Click to expand...
Click to collapse
After that, I ended up getting a loop of:
"Your device is corrupt. it can't be trusted and will not boot. Visit this link on another device"
frank602z said:
After that, I ended up getting a loop of:
"Your device is corrupt. it can't be trusted and will not boot. Visit this link on another device"
Click to expand...
Click to collapse
Did you do any modifications on your phone like root?
If so, you'll need to restore to stock either with fastboot ROM or MSM tool, the lock the bootloader.
Sent from my OnePlus7TPro using XDA Labs
Lossyx said:
Did you do any modifications on your phone like root?
If so, you'll need to restore to stock either with fastboot ROM or MSM tool, the lock the bootloader.
Sent from my OnePlus7TPro using XDA Labs
Click to expand...
Click to collapse
:good:
Never lock the bootloader after making system-level changes!
Lossyx said:
Did you do any modifications on your phone like root?
If so, you'll need to restore to stock either with fastboot ROM or MSM tool, the lock the bootloader.
Sent from my OnePlus7TPro using XDA Labs
Click to expand...
Click to collapse
how do i restore to stock? please help me
is it safe to just relock normally in fastboot via command prompt if ur on beta 2 one plus ?? Do i need any files to do it ? except adb etc...
If You did not messed with Rom it will be ok, but if You root it, first You need to go back to stock rom
Will the phone boot after relocking with a custom rom without root?
If You are full stock, stock rom, fastboot, all is stock, You should lock bootloader with no problem.
First search and read. I will be not responsible for bricking Your device.
Read about msm unbricking tool
I get "your device corrupt" after I try to relock my bootloader in 7T..
Im full stock because I flashed stock with this tutorial:
https://forum.xda-developers.com/oneplus-7t/how-to/rom-stock-fastboot-roms-oneplus-7t-t3979213
Any ideas?
yanokashi said:
I get "your device corrupt" after I try to relock my bootloader in 7T..
Im full stock because I flashed stock with this tutorial:
https://forum.xda-developers.com/oneplus-7t/how-to/rom-stock-fastboot-roms-oneplus-7t-t3979213
Any ideas?
Click to expand...
Click to collapse
Use MSM tool.
Sent from my OnePlus7TPro using XDA Labs
Globus.gd said:
If You are full stock, stock rom, fastboot, all is stock, You should lock bootloader with no problem.
First search and read. I will be not responsible for bricking Your device.
Read about msm unbricking tool
Click to expand...
Click to collapse
My phone is full stock, never rooted, just one day i unlock the bootloader but (so far) i want the bootloader locked again. I did the same procedure but wrote "lock" instead and nothing happend.
---------- Post added at 09:43 AM ---------- Previous post was at 09:28 AM ----------
abalam said:
fastboot oem lock
Click to expand...
Click to collapse
I tried 3 weeks ago and no work!
And what You get as response for: fastboot oem device-info
??
yanokashi said:
I get "your device corrupt" after I try to relock my bootloader in 7T..
Im full stock because I flashed stock with this tutorial:
https://forum.xda-developers.com/oneplus-7t/how-to/rom-stock-fastboot-roms-oneplus-7t-t3979213
Any ideas?
Click to expand...
Click to collapse
Download the same version zip file and then use the local upgrade method to flash. I hope the "Corrupt" wiriting will go way.
Globus.gd said:
And what You get as response for: fastboot oem device-info
??
Click to expand...
Click to collapse
Done! Just wrote fastboot oem lock .....and walahhh! My bootloader is lock againg and i have my netflix with high definition videos again (L1) plus my google pay is working again! Thanks!:good:
---------- Post added at 10:36 PM ---------- Previous post was at 10:30 PM ----------
The problem is with rooted devices. If anyone have a full stock (without root) HD1905 and only the bootloader unlocked....just use again de adb program and write
FASTBOOT OEM LOCK and the problem with some app dispear and your phone run like factory as normal.
nice tips!
wilsonmd said:
Done! Just wrote fastboot oem lock .....and walahhh! My bootloader is lock againg and i have my netflix with high definition videos again (L1) plus my google pay is working again! Thanks!:good:
The problem is with rooted devices. If anyone have a full stock (without root) HD1905 and only the bootloader unlocked....just use again de adb program and write
FASTBOOT OEM LOCK and the problem with some app dispear and your phone run like factory as normal.
Click to expand...
Click to collapse
Got my HD1905, unlocked bootloader (no root etc. Only to be able to use TWRP, just in case) and installed my apps. Then I noticed the Netflix problem with unlocked bootloader. If I do a 'fastboot oem lock' now, I'm pretty sure it will do a factory reset, correct?
Thx, W