[Q] Unlock bootloader without Power button - Nexus 4 Q&A, Help & Troubleshooting

Does anyone know a way I can unlock the bootloader or unroot the phone without using the power button?
I can get into android recovery but cant select any of the options because I have no power button.
I managed to get into fastboot with the Toolkit and I was trying to get my phone back to stock to warranty it. I wasn't thinking and re-locked the bootloader before unrooting the phone. Now I can't "undo" that because of the phone prompts to choose yes or no when unlocking the bootloader.
I am looking for a way to unroot a phone with a locked bootloader or a way to unlock the bootloader while bypassing the yes/no screen.
I found a solution but it was for the galaxy nexus using a hex editor and I wasn't going to mess with that unless it was specifically for the nexus 4.
Any help is appreciated.

Related

[Q] Unlock bootloader without power button

I have a stock 2012 Nexus 7 Wifi + 3G which (was) on 4.4.4. The power button does not work in the bootloader or when booted up, but I can use it to reset the phone and boot into the bootloader.
I had the bright idea of using the Wugs Toolkit to reflash the factory ROM to see if that would correct the problem. Unfortunately, the bootloader was still locked.... it formatted the partitions but then couldn't write anything back, so now it will only boot into the bootloader. I can't unlock the bootloader because you have to confirm you want to unlock it by pressing the power button, which doesn't work.
Is there any way I can unlock the bootloader without having to do that power button press to confirm it?
Thanks
Ian

Bootloader unlock WITHOUT volume buttons

Is there any way to unlock the bootloader without the volume buttons? Mine have broken (even when the button circuit board has been replaced) and all programs or guides i have found ask you to do at least one action with the volume buttons.
Unfortunately i have also upgraded to 5.1.1 so no easy root options.
Stock rom (hence the need to unlock and add functionality due to the loss of hardware buttons)
Thanks!
I think you should be able to use abd and use a command that goes something like "adb reboot bootloader" which will allow you to get in to the bootloader and unlock it.
Sent from my Nexus 4 using XDA Free mobile app
You should also be able to reboot to Bootloader from NRT, can't you?
You'll be able to adb reboot bootloader but as far as I remember you'll have to confirm unlocking a bootloader using volume keys.
Just checked, if you have ADB debugging on, you can just use NRT to boot you into the bootloader from a regular state. No need to use button combos, however, I think you need to be able to use the volume rocker to confirm the unlock......

I accidentally pressed OEM unlocking to off.

So, I accidentally pressed OEM unlocking to off. I have one question, do I have to unlock it again via fastboot or is it okay to just press the same button to "on" mode again. And yes I have unlocked it once via fastboot.
Left this here just to make sure.
Thanks for everyone!
You're fine, if the bootloader is already unlocked that toggle will do nothing, in fact many times after unlocking the bootloader the toggle will be grayed out since it serves no purpose once the bootloader is unlocked. The switch by itself will not lock or unlock the bootloader, it's just a security measure.
The default off setting prevents someone, for example someone who stole your phone who can't access the OS when you have a pin/password to be able to unlock the bootloader thus being able to wipe the phone and being able to claim it as their own.

unlock bootloader

Hello,
I have a unbranded 8227L running 8.1. In the past I have been able to successfully unlock the bootloader, but now I can't figure out how to get past the warning message. I check the box for oem unlock
in dev settings, then while temp root in place I reboot into bootloader. Then I run fastboot oem unlock, which presents me with the warning that my data will be wiped and to hit volume up to accept. For my life,
I can't remember how to get past this. I only have a volume knob, not a button to push.
Anyone have any ideas?

Re-lock a previously unlocked bootloader on Galaxy Tab A 10.1 2019

I'm returning a my tablet which is still under warranty and looking for a way to re-lock the bootloader. All the tutos I find are for unlocking it. Does anyone now the procedure for re-locking it?
Thanks
korr.gm said:
I'm returning a my tablet which is still under warranty and looking for a way to re-lock the bootloader. All the tutos I find are for unlocking it. Does anyone now the procedure for re-locking it?
Thanks
Click to expand...
Click to collapse
That is because you re-lock it the same way you unlock it. Be sure to flash the latest stock ROM via Odin before re-locking it. Then, with the tablet off, and the USB cable plugged into the PC only, while holding both vol up and down and plug the cable into the tablet.. When the screen appears, release both buttons and then long press the vol up and you'll get the screen to re-lock.

Categories

Resources