Hi guys,
I did something pretty silly yesterday while trying to unroot my phone.
First I uninstalled magisk
Then I disabled unlock OEM from developer options
Then from fastboot I did: fastboot oem lock
And then I restarted without flashing the stock rom...
The result is that I now have a locked bootloader, that does not boot to the ROM because previously rooted (it says device is corrupted), and I am unable to unlock to the bootloader because it is not enabled in the developer options.
I have no clue what to do... I can't flash anything because the bootloader is locked but I can't unlock the bootloader because the device wont boot...
Have I managed to reach the ultimate brick state ??? Please gib help.
nevermind boys I did a factory reset from the bootloader, and I started booting afterwards...funny because it did not work before, maybe it's because I attempted a rescue with the Lenovo smart assistant...dunno
Related
First, let me say this because i've used xda for a while and i know im going to get these responses:
I know this wont reinstate my warranty...
Why? Because I want to. I understand you think it's useless but it's not your phone...
I have tried "fastboot oem lock" and it doesnt work...
I've searched Motorola's site, got on a chat with them which was useless, and searched xda...
So I booted into AP fastboot and connected to my computer. Opened CMD and typed "fastboot oem lock begin"
That seemed to start the process so then ran RSD lite (as admin) and flashed a signed xml of 4.1.2
Yes, I edited the XML first and removed the 2 lines with "getvar" in them
RSD finished and the phone rebooted (which was great because before it was hung up on the unlocked bootloader warning)
Unfortunately after turning the phone off and then back on, the unlocked bootloader warning screen still came up.
And after booting back into AP fastboot it still said UNLOCKED.
did i miss a step?
I need to relock the phone. if anyone has useful information it would be extremely helpful. in the event it just cant be done thats fine. but i feel like it can, because after fastboot oem lock begin the command prompted told me that now i can flashed the signed images.
well crap. i may have just answered my own question. do i have to flash manually through CMD (ie fastboot flash system system.img) AND THEN run fastboot oem lock at the bottom? i'll try it tomorrow.
before i started this the phone was stuck on the bootloader warning screen so if anyone is stuck at that point this will allow you to boot up your phone. and if my results are typical, it did not relock the bootloader (obviously). hope I helped someone. hope someone can help me. thanks.
most likely not feasible
unlocking razr m involves phisically blowing a q-fuse, so you can't go back to locked
even if you could, it would be traced forever that you've unlocked the BL
You can relock the boot loader on the Dev edition, but once unlocked you can never go back to original status 0 of the boot loader and the boot logo will always display the warning even if you relock the boot loader. You have to flash that partition with another logo image to avoid that.
You also need to wipe the user data partition in fastboot first for the fastboot oem lock begin command to complete successfully.
Once that is done, when it reboots you will see that in fastboot it will display status 2 locked instead of status 3 unlocked.
This is a physical change that happens to the hardware when you unlock the boot loader an efuse on the board is blown and that memory location is permanently programmed. Its not even a question of them knowing, even though they do of course, the device itself is altered.
From my goodies
http://forum.xda-developers.com/attachment.php?attachmentid=2201206&d=1376991889
Flash from cwm or twrp.
Trade a locked one for your unlocked one? Lol I'm stuck locked on the newest ota
Sent from my XT907 using Tapatalk
Before I describe my issue I'll let you know I've been looking up articles on how to solve this for weeks now. first post to XDA, so bear with me I'm new
I have two OPT, both have a similar problem, but one is working (I dare not try to mess with it) and the other I've already tried and tried and now I'm stuck in fastboot, no recovery, no OS.
I HAD an OS on it (Paranoid Android 6.0.1), but I couldn't factory reset, and I needed to, so that I could sell the phone. when I tried to factory reset through OS settings, it would boot loop until I hard reset the phone. I had no recovery apparently (IDK how I did that) but trying to install a recovery requires the "OEM Unlocking" setting to be checked. and for some reason it won't let me check the box. My working OPT phone has the same problem, the "Allow OEM unlocking?" box pops up, I select enable, and the toggle moves itself back to the grayed out selection. so I couldn't install a custom recovery, I can't do any formatting or erasing in fastboot either without that selection for some reason either. trying to only gives me a "FAILED (remote: device is locked. cannot erase images)" or "FAILED (remote: device is locked. cannot flash images)"
AND SO, I tried this (search google for "mega unbrick guide for a hard bricked oneplus 2". I can't post links apparently as it is my first post. it will be on the oneplus website) and now I have no OS. or at least I believe I have no OS because trying boot causes a bootloop. I've tried all the methods, but I'm assuming because my bootloader is locked, It failed with the "A2001_save_brick_mini" tool.
And so, all I have right now is bootloader. didn't have a recovery I guess, and now I think I don't have an OS. and I can't do anything in fastboot because is returns with a "FAILED" hehe. dang locked bootloader. I have no idea how both of these phones have locked bootloaders anyways, because I obviously unlocked the bootloader to install a custom ROM in the first place. did the bootloader relock itself, or maybe during the process of installing the ROM, the bootloader relocked? I'm not sure as I wasn't watching for that. the phones had booted with the new OS, and so I happily went along my business and didn't find out I had a problem until I tried to factory reset one of them.
no I have no phones now with similar problems, but at different stages of the same issue.
My ONE A2005 is working, but I can't toggle the "OEM unlocking". At least it has a working custom recovery (TWRP)
and MY ONE A2003 is stuck in fastboot (fastboot recognizes it via "fastboot devices" and I can reboot and "fastboot oem device-info") with what I believe to be no recovery or OS.
ask me any questions to further explain my predicament, and PLEASE offer me any things to try. I ave two phones to test different things with. I would prefer to keep the working one working though.
Have you tried the fastboot oem unlock command?
DR_HAX34 said:
Have you tried the fastboot oem unlock command?
Click to expand...
Click to collapse
Ah yes, I forgot to write that in. That also results in a "FAILED (remote: unlock device to use this command)"
I can't unlock because of the OS, or perhaps lack of OS now; And I can't install a new OS or recovery because my bootloader is locked
use qualcomm recovery tool if you can't get any help. it'll restore your phone to 100% stock
Hi, few days ago I tried to install a rom stock on my moto g5 plus, but i didn´t unlock the bootloader from the system (debugging usb, oem unlock), now my phone is bricked and only enters on fastboot mode, how can I unlock the bootloader? I tried many commands, including the code sended by motorola to unlock it, but it still locked,
Roberto593 said:
Hi, few days ago I tried to install a rom stock on my moto g5 plus, but i didn´t unlock the bootloader from the system (debugging usb, oem unlock), now my phone is bricked and only enters on fastboot mode, how can I unlock the bootloader? I tried many commands, including the code sended by motorola to unlock it, but it still locked,
Click to expand...
Click to collapse
Unfortunately, if you cannot boot into the operating system to enable "OEM Unlocking" in Developer Options, it is not possible to unlock the bootloader. Period... There is no way around it, and since you have been issued an unlock code your warranty is void (it doesn't matter if you actually unlock or not, your warranty is voided by the code being issued successfully).
With the bootloader being locked, downgrading is not possible, and since we don't have the latest factory firmware image your only options are to wait for it to become available and then flash it.
If look at the output of "fastboot getvar all" you should be able to see what version you have installed now. You need a full factory image that is the same or a higher version for the exact same variant you have, otherwise you just have a brick... Moto won't even lock at it, even if you pay for it.
Hi,
I've tried all the following steps in the video and I got the error "flashing lock is not allowed". I've already flashed stock rom and recovery and wiped the phone so it's as stock as it gets yet I still get the same error when I enter "fastboot oem lock". Please help ASAP!!!! I'm trying to update to Android 8.0 but the update keeps failing because my bootloader is unlocked
Thanks in advanced.
https://forum.xda-developers.com/oneplus-5/how-to/lock-oneplus-5-bootloader-guide-t3651819
Go to developer settings.. check the oem unlock option. If it's off, bootloader won't relock. You need to turn it on. If it's greyed out & can't be turned on, then you need to root your firmware or flash custom rom & turn it on.
When you have this problem, only magisk will help you turn on allow bootloader unlocked when it's grayed out.
So, you have to flash magisk, turn on allow bootloader to be unlocked in devlopper settings, then flash a clean OOS, make sure there's no modification like custom recovery or root, then relock your bootloader.
Good luck!
use command "fastboot flashing lock" instead of "fastboot oem lock", this will lock your bootloader
hope this tutorial will help you....!!! https://www.youtube.com/watch?v=CQYCSdDUdAU
I had the same problem and solved using magistik, reenable unlock volta loader and After relock.
Hi. My friend mistakenly turned off her phone while it was performing an OTA.
Now it won't boot up and recovery doesn't even work. Fastboot does however work but not much else.
The device is completely stock with no USB Debugging and a locked bootloader. Additionally, the bootloader can't even be unlocked (fastboot oem unlock), as it wasn't enabled for unlock in developer settings.
This means I'm not able to do almost anything with fastboot.
What are our options here to restore the recovery and OS?
haverdaden said:
Hi. My friend mistakenly turned off her phone while it was performing an OTA.
Now it won't boot up and recovery doesn't even work. Fastboot does however work but not much else.
The device is completely stock with no USB Debugging and a locked bootloader. Additionally, the bootloader can't even be unlocked (fastboot oem unlock), as it wasn't enabled for unlock in developer settings.
This means I'm not able to do almost anything with fastboot.
What are our options here to restore the recovery and OS?
Click to expand...
Click to collapse
I suggest you guys try out the Unbrick Tool from this thread: https://forum.xda-developers.com/oneplus-5/how-to/op5-collection-unbrick-tools-t3898870