Question LOCK Bootloader Again - Google Pixel 6

Anyone know how this is done? I am getting a failed error when entering fastboot flashing lock, says invalid android images.
Need to relock to return device.

Why do you have to lock it to return?

96carboard said:
Why do you have to lock it to return?
Click to expand...
Click to collapse
Getting pro instead

jdubya45 said:
Getting pro instead
Click to expand...
Click to collapse
That's why you are returning it. I asked why you need to lock it. Did they tell you that you had to? If not, just send it back. They'll re-image it before giving it to somebody else anyway.

jdubya45 said:
Getting pro instead
Click to expand...
Click to collapse
I had to use Android flashing tool

mac796 said:
I had to use Android flashing tool
Click to expand...
Click to collapse
This. I highly recommend using the Android Flash Tool to return to stock. If the partitions are not completely stock, you may face issues when attempting to relock.
Use the Android Flash Tool to wipe, force flash all partitions, and lock bootloader.

Related

Nightmare, help please :)

Hi, I literally opened the nexus 9 out of the box, powered it on & after choosing a wifi network it began updating, the device crashed during this update and now it won't boot! I've tried & searched for everything, anyone have any ideas?
Booting to recovery with HW buttons, wiping cache/userdata/factory reset - Nada!
Can boot into fastboot, no permission to flash as oem unlock is disabled!
I cant get into the tablet to unlock fastboot oem unlock within devOpitons or usb debugging etc, (com.android.phone has stopped on boot) black screen indefinitely.
I can't flash any images while it is locked
surely there must be a simple method?
desperate here
Return it
I'd just return it. I'm no expert, but I'd seek a way to avoid the update during setup and try to postpone it until you unlock developer options and OEM unlock. I'm not sure how you'd bypass the update during setup, but you're in the right place if it's possible.
VermontKindBud said:
I'd just return it. I'm no expert, but I'd seek a way to avoid the update during setup and try to postpone it until you unlock developer options and OEM unlock. I'm not sure how you'd bypass the update during setup, but you're in the right place if it's possible.
Click to expand...
Click to collapse
Hmm, its one of works, just bought bulk amount of them. surely it can't be stuck in an unescapable cycle?
syko9 said:
Hmm, its one of works, just bought bulk amount of them. surely it can't be stuck in an unescapable cycle?
Click to expand...
Click to collapse
Certainly it can. If it started to install the 5.0.2 OTA, there have been a lot of bricks.
cam30era said:
Certainly it can. If it started to install the 5.0.2 OTA, there have been a lot of bricks.
Click to expand...
Click to collapse
Alright thanks for the info, guess it shall be replaced thanks.
syko9 said:
Alright thanks for the info, guess it shall be replaced thanks.
Click to expand...
Click to collapse
Welcome. And FWIW: there's a button for that.
If I remember correctly you can still flash the stock images even with the boot loader locked. Its only custom images that google will not accept unless you unlock boot loader.
Ripx88 said:
If I remember correctly you can still flash the stock images even with the boot loader locked. Its only custom images that google will not accept unless you unlock boot loader.
Click to expand...
Click to collapse
Bootloader has to be unlocked to "fastboot flash" anything.
You can sideload an OTA with a locked bootloader, but you have to be able to access recovery.
cam30era said:
Bootloader has to be unlocked to "fastboot flash" anything.
You can sideload an OTA with a locked bootloader, but you have to be able to access recovery.
Click to expand...
Click to collapse
Ah ok gotcha. My apologizes, I thought I heard somewhere you could. Thank you for the correction.
Ripx88 said:
Ah ok gotcha. My apologizes, I thought I heard somewhere you could. Thank you for the correction.
Click to expand...
Click to collapse
No problem. That's how we learn.
cam30era said:
No problem. That's how we learn.
Click to expand...
Click to collapse
Indeed I'm still new to nexus devices. I've been flashing on Samsung devices for years so I'm still stuck in my Odin ways. Just got the N9 less then a week ago. The whole fastboot thing was foreign at first but I'm getting there lol. Thank you again.

Can´t unlock Bootloader

Hello,
situation ist this:
Cyanogen Recovery is installed and there is no rom on the phone. But it won't install a new one through apply update. So I tried installing twrp through fast boot. But it failed with:
FAILED (remote: Device not unlocked cannot flash or erase)
So i tried to unlock it which gave me:
FAILED (remote: oem unlock is disabled)
oem devices gave me tampered = false and unlocked = false
What can I do.
Would appreciate help
Morishno
Flash stock recovery and try unlock again.
Dumb Question but how exactly do I do that?
Just flash it via fast boot? And where do i get it?
Morishno said:
Dumb Question but how exactly do I do that?
Just flash it via fast boot? And where do i get it?
Click to expand...
Click to collapse
You can get it from oneplus downloads section, if you cant find it ask me... Yes you have to flash official stock recovery through fastboot
Exodusche said:
Flash stock recovery and try unlock again.
Click to expand...
Click to collapse
cva_kabil said:
You can get it from oneplus downloads section, if you cant find it ask me... Yes you have to flash official stock recovery through fastboot
Click to expand...
Click to collapse
Not really, OP reports that the unlock command gave him FAILED (remote: oem unlock is disabled)
Hey OP, did you enable OEM Unlocking from Developer options ?
Joshwin Aranha said:
Not really, OP reports that the unlock command gave him FAILED (remote: oem unlock is disabled)
Hey OP, did you enable OEM Unlocking from Developer options ?
Click to expand...
Click to collapse
If not is there any other way?
cva_kabil said:
If not is there any other way?
Click to expand...
Click to collapse
I'm sorry but i do not know any other method that works without flipping that switch in Developer Options.
Joshwin Aranha said:
I'm sorry but i do not know any other method that works without flipping that switch in Developer Options.
Click to expand...
Click to collapse
You dont need to be sorry, thats okay i jus asked... Maybe OP didnt enable oem unlocking.
I didnt enable oem unlocking because it wasnt necessary. The device was unlocked and twrp and cyanogenmod were installed. But somehow cyanogen recovery was installed. Super user was away and I tried to reinstall it. Not knowing the recovery had changed I chose twrp/cwm to install it what resulted in a boot loop. No problem I thought just flash a ROM which didn't worked. No problem just flash a proper recovery it didn't worked. And somehow the device is locked again..
Sorry I was little brief when I said flash stock recovery. I believe if you revert back completely stock you can start the process from the beginning again. That would mean fastboot flash stock recovery then any firmware of OnePlus X. I'm not sure how a bootloader can relock itself.
Exodusche said:
Sorry I was little brief when I said flash stock recovery. I believe if you revert back completely stock you can start the process from the beginning again. That would mean fastboot flash stock recovery then any firmware of OnePlus X. I'm not sure how a bootloader can relock itself.
Click to expand...
Click to collapse
But I couldn't flash twrp.. Is it possible to flash the stock recovery with a locked boot loader? I don't have access to the phone at the moment and i want to gather as much information possible thats why i'm asking
Morishno said:
But I couldn't flash twrp.. Is it possible to flash the stock recovery with a locked boot loader? I don't have access to the phone at the moment and i want to gather as much information possible thats why i'm asking
Click to expand...
Click to collapse
I'm not sure but this has been addressed many times. Comb the threads you will find the information you need.
Exodusche said:
I'm not sure but this has been addressed many times. Comb the threads you will find the information you need.
Click to expand...
Click to collapse
Found a hard brick guide. You mean that?
So I just remembered something was able to help someone else with a similar issue. If you can boot Into something and your rooted download the app Rashr. With it you can flash stock recovery and be back in business.
The problem is i dont have anything to Boot
//UPDATE: So I tried booting with fastboot boot but it said cannot boot device isn't unlocked.
Edited
So i managed to save the Phone using the Hard Brick Guide. Thanks everyone!
Thank goodness for the hard brick guide. ?
Exodusche said:
I think your gonna have to go through the hard bricked guide.
Click to expand...
Click to collapse
Yeah i did that and it worked thank you

Flash factory images over a locked bootloader? HTC and Google both say it's possible.

So, long story short, I recently bought a Nexus 9 from ebay which arrived with factory reset protection.
I have spoken to both Google and HTC about the situation and both were of no real help except for saying a few things outright between them to give me good enough reason to believe one of two things.
That 1 - it is possible to flash factory images over a device with a locked bootloader
or 2 - it is possible to unlock the bootloader without having access to developer settings
Anyone have any experience with either of these possibilities?
https://developers.google.com/android/ota
Full OTA Images can be flashed onto devices with locked boot loaders.
You need to boot into recovery and select sideload update.
Yeah, I know how to do that, but that only goes for updates, doesn't it? I tried to sideload a previous build onto the tablet but it failed the procedure, so it doesn't really solve the issue and if I flash a more recent update I still get FRP :/ If I wanted to revert back to the 7.0, or even marshmallow, would that be possible? Or does that require an unlocked bootloader?
enriquejones666 said:
https://developers.google.com/android/ota
Full OTA Images can be flashed onto devices with locked boot loaders.
You need to boot into recovery and select sideload update.
Click to expand...
Click to collapse
Yeah, I know how to do that, but that only goes for updates, doesn't it? I tried to sideload a previous build onto the tablet but it failed the procedure, so it doesn't really solve the issue and if I flash a more recent update I still get FRP :/ If I wanted to revert back to the 7.0, or even marshmallow, would that be possible? Or does that require an unlocked bootloader?
BigDomTheFirst said:
Yeah, I know how to do that, but that only goes for updates, doesn't it? I tried to sideload a previous build onto the tablet but it failed the procedure, so it doesn't really solve the issue and if I flash a more recent update I still get FRP :/ If I wanted to revert back to the 7.0, or even marshmallow, would that be possible? Or does that require an unlocked bootloader?
Click to expand...
Click to collapse
Those are full ota images, same as factory image. Meaning full package.
BigDomTheFirst said:
Yeah, I know how to do that, but that only goes for updates, doesn't it? I tried to sideload a previous build onto the tablet but it failed the procedure, so it doesn't really solve the issue and if I flash a more recent update I still get FRP :/ If I wanted to revert back to the 7.0, or even marshmallow, would that be possible? Or does that require an unlocked bootloader?
Click to expand...
Click to collapse
Ah yes, now I see your predicament. Unfortunately, there is no "there" there. You do need an unlocked bootloader to wipe the system clean with a factory image, and as you noted, the Full OTA Image will recover you from a system that won't boot, but it won't get rid of FRP.
enriquejones666 said:
Ah yes, now I see your predicament. Unfortunately, there is no "there" there. You do need an unlocked bootloader to wipe the system clean with a factory image, and as you noted, the Full OTA Image will recover you from a system that won't boot, but it won't get rid of FRP.
Click to expand...
Click to collapse
Exactly Hence my questions as to how do the manufacturers wipe everything and flash the new image without unlocking the bootloader? Or will it always be a trade secret?...... Hmmmm
BigDomTheFirst said:
Exactly Hence my questions as to how do the manufacturers wipe everything and flash the new image without unlocking the bootloader? Or will it always be a trade secret?...... Hmmmm
Click to expand...
Click to collapse
did we ever fix this? my bootloader is locked and no os installed. Was trying to return to factory and went thru all the flashing steps successfully then at the end locked the bootloader. Now tablet says "for development purposes only not for production use" and boots back to fastboot. It will not reboot at all
Uncleheff said:
did we ever fix this? my bootloader is locked and no os installed. Was trying to return to factory and went thru all the flashing steps successfully then at the end locked the bootloader. Now tablet says "for development purposes only not for production use" and boots back to fastboot. It will not reboot at all
Click to expand...
Click to collapse
Never found out how they do this.... are you able to boot in to recovery? if you can do that you may be able to flash a recovery OTA through 'apply update from ADB'. Worth a shot
Uncleheff said:
did we ever fix this? my bootloader is locked and no os installed. Was trying to return to factory and went thru all the flashing steps successfully then at the end locked the bootloader. Now tablet says "for development purposes only not for production use" and boots back to fastboot. It will not reboot at all
Click to expand...
Click to collapse
If up dont mind my asking how did it get that way by just locking the bootloader? I was just about to flash stock and lock on my volantis, then read this...?
Bryanx86 said:
If up dont mind my asking how did it get that way by just locking the bootloader? I was just about to flash stock and lock on my volantis, then read this...?
Click to expand...
Click to collapse
definitely don't lock your bootloader. That is a horrible move and serves no purpose
madbat99 said:
definitely don't lock your bootloader. That is a horrible move and serves no purpose
Click to expand...
Click to collapse
I actually reflashed last factory stock image and relocked without issue. It is a horrible move, I agree...I already miss root, but it suits the purpose. Thanks for your reply.
Bryanx86 said:
I actually reflashed last factory stock image and relocked without issue. It is a horrible move, I agree...I already miss root, but it suits the purpose. Thanks for your reply.
Click to expand...
Click to collapse
it's only a bad move if you make a mistake and can't repair it because your bootloader is now locked. But if it goes well then you're all set.

ROM from whgich I can lock bootloader

Hello,
recently I wanted to lock bootloader with a key. When I type in fastboot oem relock + key, it doesn´t work. I should be in stock EMUI without root etc. But I am on stock, so I assume that I am using a bad version of EMUI.
So my question is: Which ROM from Firmware finder should I flash to be able to lock bootloader?
Thanks for answers
Marek.N said:
Hello,
recently I wanted to lock bootloader with a key. When I type in fastboot oem relock + key, it doesn´t work. I should be in stock EMUI without root etc. But I am on stock, so I assume that I am using a bad version of EMUI.
So my question is: Which ROM from Firmware finder should I flash to be able to lock bootloader?
Thanks for answers
Click to expand...
Click to collapse
Boot into erecovery and download stock emui then try relock again if it doesn't relock
miststudent2011 said:
Boot into erecovery and download stock emui then try relock again if it doesn't relock
Click to expand...
Click to collapse
Thanks for the answer but the recovery can´t get latest EMUI... Getting package into failed.
Marek.N said:
Thanks for the answer but the recovery can´t get latest EMUI... Getting package into failed.
Click to expand...
Click to collapse
Okay it seems emui is modified. What build are you on ?
miststudent2011 said:
Okay it seems emui is modified. What build are you on ?
Click to expand...
Click to collapse
Well, I tried with EMUI 8 .151 flashed in Multi tool in PC
EDIT: Finally I somehow get it, now I am downloading latest EMUI and then hopefully I will be able to lock bootloader.
Marek.N said:
Well, I tried with EMUI 8 .151 flashed in Multi tool in PC
EDIT: Finally I somehow get it, now I am downloading latest EMUI and then hopefully I will be able to lock bootloader.
Click to expand...
Click to collapse
Hello,
did you had any luck locking the bootloader?
gerardo96 said:
Hello,
did you had any luck locking the bootloader?
Click to expand...
Click to collapse
Yes, after downloaded ROM in erecovery, I locked bootloader without any problems.

Unroot and lock bootloader

Hello! I regret rooting, i found no real benefits for my taste of rooting this phone. Whats the process to unroot (magisk) and install stock again? Can i relock bootloader again? Thanks
Croize said:
Hello! I regret rooting, i found no real benefits for my taste of rooting this phone. Whats the process to unroot (magisk) and install stock again? Can i relock bootloader again? Thanks
Click to expand...
Click to collapse
Yes. Just simply run the fastboot lock bootloader command. That should work and also wipe your root access in the process. But remember, it will completely wipe your phone.
Edit: the command actually might be fastboot oem lock actually.
Croize said:
Hello! I regret rooting, i found no real benefits for my taste of rooting this phone. Whats the process to unroot (magisk) and install stock again? Can i relock bootloader again? Thanks
Click to expand...
Click to collapse
Just go to magsik and hit uninstall and done
And OEM lock for the bootloader
No risk of bootloop?
Croize said:
No risk of bootloop?
Click to expand...
Click to collapse
Shouldn't be but OEM lock will wipe the phone
In my case it was not working. System is corrupted message after unrooting and fastboot oem lock.
EugenStanis said:
In my case it was not working. System is corrupted message after unrooting and fastboot oem lock.
Click to expand...
Click to collapse
I had that and ended up using the msm tool to fix it.
nms247 said:
I had that and ended up using the msm tool to fix it.
Click to expand...
Click to collapse
Yes, relock is buggy. For now we have to use msm tool
EugenStanis said:
In my case it was not working. System is corrupted message after unrooting and fastboot oem lock.
Click to expand...
Click to collapse
I had the same issue
EugenStanis said:
Yes, relock is buggy. For now we have to use msm tool
Click to expand...
Click to collapse
So msm tool unroot, reinstall evefything and relock?
Croize said:
So msm tool unroot, reinstall evefything and relock?
Click to expand...
Click to collapse
No, just put phone in EDL mode and afterwards flash full firmware with msm tool
EugenStanis said:
No, just put phone in EDL mode and afterwards flash full firmware with msm tool
Click to expand...
Click to collapse
Hi,
Could you give me a link to download MSM tool for OnePlus 7T Pro. I need to relock my bootloader as well. I only found MSM tool for Oneplus 7 Pro.
Thnx in advance
snovharry said:
Hi,
Could you give me a link to download MSM tool for OnePlus 7T Pro. I need to relock my bootloader as well. I only found MSM tool for Oneplus 7 Pro.
Thnx in advance
Click to expand...
Click to collapse
https://forum.xda-developers.com/7t-pro/how-to/op7tpro-unbrick-tool-to-restore-device-t4002909
Sent from my OnePlus7TPro using XDA Labs
Lossyx said:
https://forum.xda-developers.com/7t-pro/how-to/op7tpro-unbrick-tool-to-restore-device-t4002909
Sent from my OnePlus7TPro using XDA Labs
Click to expand...
Click to collapse
Thnx mate..this worked like a charm.

Categories

Resources