Fastboot Flashing Lock Not working - Pixel 5 - Google Pixel 5 Questions & Answers

Pixel 5
When attempting to lock the bootloader on my Pixel 5 I enter:'/;
"C:\platform-tools>fastboot flashing lock"
and have the return
"FAILED (remote: 'Unrecognized command flashing lock')
fastboot: error: Command failed"
My device is in fastbootd and my windows command promt does return the correct device when using "fastboot device"
"C:\platform-tools>fastboot help" Seems to indicate that "fastboot flashing lock" should work.
What am I missing?

You want to be in the bootloader not fastbootd.
adb reboot bootloader

Related

Device is Corrupt and will SHUTDOWN in 30 seconds. DEAD DEVICE?=(

I had rooted Nokia 8 TA-1004(Android 9 ), but decided to switch back on 8.1
First step in instruction was to lock the bootloader to make a critical unlock
I used "fastboot oem lock" command and after that i got this notification:
"Your device is corrupt. It can't be truster and will not boot. Your device will shutdown in 30 seconds." And it's actually shutting down all the time without system load! =(
I can enter Download mode only. Platform tools also see my device (latest platform-tools_r28.0.1-windows). I couldn't access recovery mode. When i hold vol.+ and plug in USB, that warning shows again
What i've already tried:
fastboot flash unlock unlock.key (FAILED (remote: Fail to verify)
fastboot flash boot_a boot.img (Writing 'boot_a' FAILED (remote: 'Flashing is not allowed in Lock State')
fastboot flash boot_b boot.img (Writing 'boot_b' FAILED (remote: 'Flashing is not allowed in Lock State')
fastboot flash system_a system.img (Invalid sparse file format at header magic)
fastboot -i 0x2e04 flash unlock unlock.bin (FAILED (remote: Fail to verify)
fastboot -i 0x2e04 oem unlock-go (FAILED (remote: Flashing Unlock is not allowed)
fastboot set_active a (FAILED (remote: 'Slot Change is not allowed in Lock State)
fastboot set_active b (FAILED (remote: 'Slot Change is not allowed in Lock State)
adb sideload (
* daemon not running; starting now at tcp:5037
* daemon started successfully
adb: sideload connection failed: no devices/emulators found
adb: trying pre-KitKat sideload method...
adb: pre-KitKat sideload connection failed: no devices/emulators found)
Help me please. IDK what to do. I do have my old unlock.key, but couldn't install it to open the bootloader....Any ideas, please :crying:
First of all why the hell would u even lock your bootloader if you wish to flash anything ? There's nothing that should justify relocking your device perhaps apart from giving out your phone for repairs on warranty.
Can you access your recovery menu mode ?
KonikoO said:
First of all why the hell would u even lock your bootloader if you wish to flash anything ? There's nothing that should justify relocking your device perhaps apart from giving out your phone for repairs on warranty.
Can you access your recovery menu mode ?
Click to expand...
Click to collapse
I needed to make a critical unlock, and according to instruction 1st step was to lock the bootloader.
I can access download mode only
well this is completely messed up situation here. Maybe going to service center is the only option left. Btw, you repaired your phone yet or it is still like that??
This actually happened because you were on modified system when you locked the bootloader. You need to be completely stock while locking the bootloader.
sumitinhome said:
well this is completely messed up situation here. Maybe going to service center is the only option left. Btw, you repaired your phone yet or it is still like that??
This actually happened because you were on modified system when you locked the bootloader. You need to be completely stock while locking the bootloader.
Click to expand...
Click to collapse
Everything is fine. Ntool helped me to install stock 8.1
Mihalsch said:
Everything is fine. Ntool helped me to install stock 8.1
Click to expand...
Click to collapse
Process please.
sumitinhome said:
Process please.
Click to expand...
Click to collapse
Bought Ntool credits, download stock 8.1, flash it from Ntool..that's all.
pls help bro im having the same probelm of urs for 1 month
Mihalsch said:
Bought Ntool credits, download stock 8.1, flash it from Ntool..that's all.
Click to expand...
Click to collapse
which version of ntools did you use and where can i download stock 8.1 im new to this pls help :crying:
gogeta blue said:
which version of ntools did you use and where can i download stock 8.1 im new to this pls help :crying:
Click to expand...
Click to collapse
0.036 version
Here is 8.1. Pass (techmesto.com)
https://drive.google.com/file/d/1g4rsUE2sohL9EISb0Uu5FPRlNs0D73Xl/view
Mihalsch said:
0.036 version
Here is 8.1. Pass
Click to expand...
Click to collapse
0.036 version is not found any where i can only find 0.1 pls help
gogeta blue said:
0.036 version is not found any where i can only find 0.1 pls help
Click to expand...
Click to collapse
Try this
https://fex.net/635965328106
Mihalsch said:
Try this
Click to expand...
Click to collapse
Error while flashing
RUNNING NTool 0.036
PHONE "NB1GAD1791302820" CONNECTED
ProjectCode : NB11
model : NB1
sub_model : none
software version : NB1-488K-0-00WW-B01
SW model : 00WW
build number : B01
hardware version : 3.1
RF band id : G_850_900_1800_1900^W_1_2_4_5_8^L_1_2_3_4_5_7_8_
secure : yes
Bootloader type : commercial
Download size : 00000512 mB
Elapsed: 40 secs.
SELECT FIRMWARE PACKAGE
Will flash : NB1-488B-0-00WW-B04.mlf
PLEASE CONNECT POWERED OFF PHONE
PHONE "NB1GAD1791302820" CONNECTED
ProjectCode : NB11
model : NB1
sub_model : none
software version : NB1-488K-0-00WW-B01
SW model : 00WW
build number : B01
hardware version : 3.1
RF band id : G_850_900_1800_1900^W_1_2_4_5_8^L_1_2_3_4_5_7_8_
secure : yes
Bootloader type : commercial
Download size : 00000512 mB
Security version : 0004
Challenge : 9AEEE713ECEF3D6448B2E0842D1C8B34EA5D12BF
Waiting for calculation process ...
recv error [10054]
FATAL ERROR: server error: No server found.
Elapsed: 0 secs.
Mihalsch said:
I had rooted Nokia 8 TA-1004(Android 9 ), but decided to switch back on 8.1
First step in instruction was to lock the bootloader to make a critical unlock
I used "fastboot oem lock" command and after that i got this notification:
"Your device is corrupt. It can't be truster and will not boot. Your device will shutdown in 30 seconds." And it's actually shutting down all the time without system load! =(
I can enter Download mode only. Platform tools also see my device (latest platform-tools_r28.0.1-windows). I couldn't access recovery mode. When i hold vol.+ and plug in USB, that warning shows again
What i've already tried:
fastboot flash unlock unlock.key (FAILED (remote: Fail to verify)
fastboot flash boot_a boot.img (Writing 'boot_a' FAILED (remote: 'Flashing is not allowed in Lock State')
fastboot flash boot_b boot.img (Writing 'boot_b' FAILED (remote: 'Flashing is not allowed in Lock State')
fastboot flash system_a system.img (Invalid sparse file format at header magic)
fastboot -i 0x2e04 flash unlock unlock.bin (FAILED (remote: Fail to verify)
fastboot -i 0x2e04 oem unlock-go (FAILED (remote: Flashing Unlock is not allowed)
fastboot set_active a (FAILED (remote: 'Slot Change is not allowed in Lock State)
fastboot set_active b (FAILED (remote: 'Slot Change is not allowed in Lock State)
adb sideload (
* daemon not running; starting now at tcp:5037
* daemon started successfully
adb: sideload connection failed: no devices/emulators found
adb: trying pre-KitKat sideload method...
adb: pre-KitKat sideload connection failed: no devices/emulators found)
Help me please. IDK what to do. I do have my old unlock.key, but couldn't install it to open the bootloader....Any ideas, please :crying:
Click to expand...
Click to collapse
I meet the same thing,but my phone is nokia3.1plus(ta1104),I flash by ntool, every thing passed,but it still show that,the phone shutdown itself。please help me
same problem with my nokia 8 ta-1004
dugu1248 said:
I meet the same thing,but my phone is nokia3.1plus(ta1104),I flash by ntool, every thing passed,but it still show that,the phone shutdown itself。please help me
Click to expand...
Click to collapse
you must change your battery ,thats battery problem
Mihalsch said:
I had rooted Nokia 8 TA-1004(Android 9 ), but decided to switch back on 8.1
First step in instruction was to lock the bootloader to make a critical unlock
I used "fastboot oem lock" command and after that i got this notification:
"Your device is corrupt. It can't be truster and will not boot. Your device will shutdown in 30 seconds." And it's actually shutting down all the time without system load! =(
I can enter Download mode only. Platform tools also see my device (latest platform-tools_r28.0.1-windows). I couldn't access recovery mode. When i hold vol.+ and plug in USB, that warning shows again
What i've already tried:
fastboot flash unlock unlock.key (FAILED (remote: Fail to verify)
fastboot flash boot_a boot.img (Writing 'boot_a' FAILED (remote: 'Flashing is not allowed in Lock State')
fastboot flash boot_b boot.img (Writing 'boot_b' FAILED (remote: 'Flashing is not allowed in Lock State')
fastboot flash system_a system.img (Invalid sparse file format at header magic)
fastboot -i 0x2e04 flash unlock unlock.bin (FAILED (remote: Fail to verify)
fastboot -i 0x2e04 oem unlock-go (FAILED (remote: Flashing Unlock is not allowed)
fastboot set_active a (FAILED (remote: 'Slot Change is not allowed in Lock State)
fastboot set_active b (FAILED (remote: 'Slot Change is not allowed in Lock State)
adb sideload (
* daemon not running; starting now at tcp:5037
* daemon started successfully
adb: sideload connection failed: no devices/emulators found
adb: trying pre-KitKat sideload method...
adb: pre-KitKat sideload connection failed: no devices/emulators found)
Help me please. IDK what to do. I do have my old unlock.key, but couldn't install it to open the bootloader....Any ideas, please :crying:
Click to expand...
Click to collapse
same device, same problem
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

[fastboot] problem with booting boot.img

When i use the command "fastboot boot boot.img" to boot twrp it loads endlessly until i interrupt it,
where it then gives me the error : FAILED (Status read failed (Too many links)).
My device is detected by "fastbood devices" and "adb devices".
I already tried to set the current slot to a with this: fastboot.exe --set-active=a
but it failed: FAILED (remote: 'unknown command').
My device is unlocked but when i check device status via "fastboot oem device-info" it tells me: (bootloader) 'device-info' is not a supported oem command.
Same goes for "fastboot oem help" which results in a : "FAILED (remote: 'unknown command')".
Right now i am using Havoc-OS which means it did work before.
Anyone else got any tips how i might get twrp to run again?
are you trying to boot fastboot boot boot.img ? or fastboot boot twrp.img ?
You need USB 2.0 hub.
Hello.Dear said:
You need USB 2.0 hub.
Click to expand...
Click to collapse
I've heard that before but I use a USB3.0 .
KrisM22 said:
I've heard that before but I use a USB3.0 .
Click to expand...
Click to collapse
Fastboot has a problem with USB 3.0. Same thing happened to me then i use usb 2.0 hub and everything works.

Question 'fastboot oem unlock' failing with remote: 'unknown command'

I just got my OnePlus 10 Pro, and am trying to unlock the bootloader. I've enabled USB debugging, and enabled the option to allow the bootloader to be unlocked in the Developer Settings.
I ran `adb reboot bootloader`, then ran `fastboot devices` to confirm the phone was connected and visible.
When I try to run `fastboot oem unlock`, I get this response:
Code:
FAILED (remote: 'unknown command')
fastboot: error: Command failed
Fastboot version if necessary:
Code:
C:\Windows\system32>fastboot --version
fastboot version 33.0.2-8557947
Installed as C:\Program Files\Android Platform Tools\fastboot.exe
Thanks!
Fastboot flashing unlock
Awesome, thank you very much!

Question NE2217 Can't unlock my bootloader

I got my token, hit oem unlocking. Rebooted to fastbootd mode, then I use fastboot flash cust-unlock. Which returns,
C:\Users\James>fastboot flash cust-unlock C:\Users\James\Desktop\10pro\unlock_code.bin
Sending 'cust-unlock' (0 KB) FAILED (remote: 'Download is not allowed on locked devices')
fastboot: error: Command failed
If I try it without cust-unlock I get,
C:\Users\James>fastboot flash C:\Users\James\Desktop\10pro\unlock_code.bin
unknown partition 'C:\Users\James\Desktop\10pro\unlock_code.bin'
fastboot: error: cannot determine image filename for 'C:\Users\James\Desktop\10pro\unlock_code.bin'
If I fastboot reboot to bootloader and do the same command I get,
C:\Users\James>fastboot flash cust-unlock C:\Users\James\Desktop\10pro\unlock_code.bin
Sending 'cust-unlock' (0 KB) OKAY [ 0.002s]
Writing 'cust-unlock' (bootloader) Device is unlocked.
OKAY [ 0.004s]
Finished. Total time: 0.099s
But, that doesn't actually unlock my bootloader. Can someone please help?
Here's some more I have tried
C:\Users\James>fastboot flashing unlock
FAILED (remote: 'Unrecognized command flashing unlock')
fastboot: error: Command failed
C:\Users\James>fastboot flashing unlock C:\Users\James\Desktop\10pro\unlock_code.bin
fastboot: usage: unknown 'flashing' command unlock
C:\Users\James>fastboot unlock C:\Users\James\Desktop\10pro\unlock_code.bin
fastboot: usage: unknown command unlock
Edit:
Sequence of commands
Code:
fastboot flash cust-unlock unlock.bin
fastboot flashing unlock
centifanto said:
Edit:
Sequence of commands
Code:
fastboot flash cust-unlock unlock.bin
fastboot flashing unlock
Click to expand...
Click to collapse
I even renamed the file but here's what I got,
C:\Users\James>fastboot flash cust-unlock C:\Users\James\Desktop\10pro\unlock.bin
Sending 'cust-unlock' (0 KB) FAILED (remote: 'Download is not allowed on locked devices')
fastboot: error: Command failed
C:\Users\James>fastboot flashing unlock
FAILED (remote: 'Unrecognized command flashing unlock')
fastboot: error: Command failed
Then I moved the unlock.bin and same results.
I was able to hit oem unlock so it shouldn't be sim related, but thanks for helping
Grin59 said:
I even renamed the file but here's what I got,
C:\Users\James>fastboot flash cust-unlock C:\Users\James\Desktop\10pro\unlock.bin
Sending 'cust-unlock' (0 KB) FAILED (remote: 'Download is not allowed on locked devices')
fastboot: error: Command failed
C:\Users\James>fastboot flashing unlock
FAILED (remote: 'Unrecognized command flashing unlock')
fastboot: error: Command failed
Then I moved the unlock.bin and same results.
I was able to hit oem unlock so it shouldn't be sim related, but thanks for helping
Click to expand...
Click to collapse
Four things:
Name of file doesn't matter
SIM unlock and bootloader unlock are separate things
Move the unlock.bin to the same folder as your platform tools so you don't have to put the entire the path. Or put it in quotation marks
Is fastboot in your system PATH? If not, prefix fastboot to look like this
Code:
./fastboot.exe
Also, what does the following command return?
Code:
fastboot devices
centifanto said:
Also, what does the following command return?
Code:
fastboot devices
Click to expand...
Click to collapse
C:\>fastboot devices
*serial number* fastboot
Also not too sure what you mean, "Is fastboot in your system PATH? If not, prefix fastboot to look like this"
But it is installed to my system drive. Even tried downloading new platform tools and trying it in my root drive of C:\
No worries. If you got the "5497b039" returned it means fastboot is working for you and your device is in the correct bootloader mode.
Does your device display "locked" in red letters?
Are you sure that "OEM unlock" is still toggled in the developer settings?
centifanto said:
No worries. If you got the "5497b039" returned it means fastboot is working for you and your device is in the correct bootloader mode.
Does your device display "locked" in red letters?
Are you sure that "OEM unlock" is still toggled in the developer settings?
Click to expand...
Click to collapse
Okay so I got it, thank you for the help.
Did the commands you sent in the bootloader menu, guess I missed the second.
For anyone who can't unlock the bootloader I'll post simple instructions, on the NE2217
OEM unlock - on
adb reboot bootloader
fastboot devices
fastboot flash cust-unlock unlock.bin
fastboot flashing unlock
anyone can add anything else

Question NO system partition?

I am feeling pretty lost.
I have flashed to stock boot.img and am in fastbootd, now trying to flash system.img
When I type "fastboot erase system" I get the error FAILED (remote: 'Partition doesn't exist')
When I type "fastboot flash system system.img" I get the error FAILED (remote: 'No such file or directory')
My phone only boots into fastboot or fastbootd at this point. What can I do?

Categories

Resources