TWRP Fastboot Command not allowed (P10) - Huawei P10 Questions & Answers

Hi!
I'm trying to install TWRP on my P10. I've unlocked bootloader on Huawei website.
Whenever I'm typing in fastboot "flash recovery twrp.img" it goes through and everything says OK
But when i try to "fastboot boot twrp.img" I get FAILED (remote: command not allowed)
"fastboot oem device-info" gives me the same error too and "fastboot oem unlock" gives me already fastboot unlocked

What do you thing "fastboot boot twrp.img" should do? This command isn't allowed because it does not exist.
If you want to boot into your flashed TWRP recovery, you have to enter "fastboot reboot" and press volume up while booting - the USB cable has to be disconnected.
Instead of "fastboot oem device-info" try "fastboot Gevtvar unlocked".

or use adb when the phone is running.
"adb reboot recovery"
you can't go direct from fastboot to recovery simply by a command

Yeah, the command was wrong, sorry xD
Anyway I thinks it's fixed now and I'm able to boot manually to recovery from phone now!

jejeje i was coming here to tell you about wrong command

I have the same problem with FAILED (remote: command not allowed). When I try to install or flash anything I see the info about FAILED (remote: command not allowed). I have FRP locked and I can't enable OEM developing option (it is inactive). I can't relock bootloader, can't instal TWRP, I have only simply erocevery where I can't wipe - only reboot and shutdown device.
I tried do update via dload, hwota - all with defeat
In ADB and Fastboot I can see my device connected.
Does anyone have any idea?

do you have instaled driver for P10, does computer recognice device like P10 ?

DiMeteo24 said:
I have the same problem with FAILED (remote: command not allowed). When I try to install or flash anything I see the info about FAILED (remote: command not allowed). I have FRP locked and I can't enable OEM developing option (it is inactive). I can't relock bootloader, can't instal TWRP, I have only simply erocevery where I can't wipe - only reboot and shutdown device.
I tried do update via dload, hwota - all with defeat
In ADB and Fastboot I can see my device connected.
Does anyone have any idea?
Click to expand...
Click to collapse
Any news? My p10+ it's in the same case

same problem im already unlock but the twr not install what is propper command

Hey guys, for all of you with "command not allowed" problem, you have to check OEM unlock setting on developer options but if you have a greyed out button, you need to flash again your stock room with a tool like dc-phoenix unlocker and bypass frp lock (on YouTube you will find tons of videos regarding this matter). Also, you can check if your Fastboot is protected (frp locked) on Fastboot screen...

There you go---> https://forum.xda-developers.com/hu...ution-bl-unlockedfrp-locked-fastboot-t3684302
PS READ the post to the END!! don't make mistakes it's really easy and fast. It works!

Hi guys.
I know this thread is pretty old but I'm getting the exact same problem as the OP except on my P20 Pro: I can flash a recovery but not boot one from fastboot.
The biggest difference is that my bootloader is unlocked and I have FRP Unlock, so according to every post I've seen it SHOULD be working.
My fastboot log:
PS C:\adb> fastboot devices
LCL0218415002142 fastboot
PS C:\adb> fastboot boot twrp-3.2.1-0-charlotte.img
downloading 'boot.img'...
OKAY [ 0.187s]
booting...
FAILED (remote: Command not allowed)
finished. total time: 0.187s

Armand Bernard said:
Hi guys.
I know this thread is pretty old but I'm getting the exact same problem as the OP except on my P20 Pro: I can flash a recovery but not boot one from fastboot.
The biggest difference is that my bootloader is unlocked and I have FRP Unlock, so according to every post I've seen it SHOULD be working.
My fastboot log:
PS C:\adb> fastboot devices
LCL0218415002142 fastboot
PS C:\adb> fastboot boot twrp-3.2.1-0-charlotte.img
downloading 'boot.img'...
OKAY [ 0.187s]
booting...
FAILED (remote: Command not allowed)
finished. total time: 0.187s
Click to expand...
Click to collapse
Have you try this command fasboot reboot recovery_ramdisk?

I get:
PS C:\adb> fastboot reboot recovery_ramdisk
fastboot: usage: unknown reboot target recovery_ramdisk
with "fastboot boot recovery_ramdisk" I get
error: cannot load 'recovery_ramdisk': No such file or directory

I sorted out my problem from a different angle so I no longer need to boot to TWRP from fastboot. Thanks for your help!

Question
Armand Bernard said:
I sorted out my problem from a different angle so I no longer need to boot to TWRP from fastboot. Thanks for your help!
Click to expand...
Click to collapse
Could you please tell me how did u solve this problem. thx

darkdante13 said:
Could you please tell me how did u solve this problem. thx
Click to expand...
Click to collapse
This was quite some time back so I don't remember all that well, but I think I just used the built in Huawei recovery, erecovery, to restore my whole phone and then I was able to reinstall my custom recovery and boot to it normally. I can't guarantee this as I don't remember the whole context of this. Using erecovery I didn't lose my locally stored files, only my apps and app data. Hope this helps.

Related

Unable to unlock N6 bootloader (Android 6.0.1 Build MMB29X) [resolved]

Hi,
I am unable to unlock the bootloader on my Nexus 6, which was purchased new from Amazon.com. Or more accurately, I can issue the fastboot flashing unlock command without error, but my phone still says LOCKED and screen is frozen for 60 seconds.
I have followed the various HOWTOs on this website to the best of my ability:
1. Installed latest Android SDK tools(25.1.4.rc1), Platform-tools (24rc2) & Java8. I originally installed with the 23.1 platform-tools but then moved to the preview channel release when I had no luck.
2. USB debugging and OEM unlocking are both ON
3. Both "adb device" and "fastboot device" show my phone's serial number when in their respective modes, so I know communication is good between my laptop and phone.
How to replicate problem:
a. With my phone connected, I first issued "adb reboot bootloader". My phone then sucessfully changes to the AP Fastboot Flash Mode (Secure) screen. Beneath the green BATTERY OK (Charging) are the lines
Device is LOCKED. Status Code: 2
Transfer Mode: USB Connected
b. I then type "fastboot flashing unlock" and the output is
...
OKAY [ 0.016s]
finished. total time: 0.016s
However my phone does not ask me if I want to unlock. In fact, the screen then appears to be frozen -- pressing the volume up and down buttons does not change the power button selection menu. If I try to issue any other fastboot command, it says FAILED (command write failed (Unknown error)) finished. total time: 5.017s
The screen is frozen for 60 seconds. After that, the bootloader screen is once again functional (I can change menu options again) and I can issue new fastboot commands, such as 'fastboot reboot'
However, the device still says LOCKED and will refreeze for 60 seconds if I type 'fastboot flashing unlock'
Any suggestions would be appreciated!
Thank you.
type fastboot oem unlock to unlock your bootloader, then follow instruction. But beware, this will wipe your device
TMG1961 said:
type fastboot oem unlock to unlock your bootloader, then follow instruction. But beware, this will wipe your device
Click to expand...
Click to collapse
In newer versions of fastboot, the command is fastboot flashing unlock, not OEM unlock.
Code:
$ ./fastboot
usage: fastboot [ <option> ] <command>
commands:
update <filename> Reflash device from update.zip.
flashall Flash boot, system, vendor, and --
if found -- recovery.
flash <partition> [ <filename> ] Write a file to a flash partition.
flashing lock Locks the device. Prevents flashing.
flashing unlock Unlocks the device. Allows flashing
any partition except
bootloader-related partitions.
@webtrader,
@TMG1961 was trying to help you. Have you tried his recommendation before replying?
cam30era said:
@webtrader,
@TMG1961 was trying to help you. Have you tried his recommendation before replying?
Click to expand...
Click to collapse
No, I had not. I tried using fastboot oem unlock on an older version of the SDK toolkit and that had failed, but I had not tried using oem unlock again on the latest version, having noticed that "oem unlock" was no longer listed as an option.
I just tried it now on the latest SDK toolkit and it does indeed work for me. :good:
Thank you to the both of you for helping me out!
webtrader said:
No, I had not. I tried using fastboot oem unlock on an older version of the SDK toolkit and that had failed, but I had not tried using oem unlock again on the latest version, having noticed that "oem unlock" was no longer listed as an option.
I just tried it now on the latest SDK toolkit and it does indeed work for me. :good:
Thank you to the both of you for helping me out!
Click to expand...
Click to collapse
Welcome
i do believe the "fastboot flashing unlock" is for when a manufacture issues a binary token kinda of like how HTC does it. If the Nexus or any phone that is not carrier branded, "fastboot oem unlock" will be the command to pass.

Oem unlock Blackview BV6000

Oem unlock Blackview BV6000
I go to settings "settings" -> "Developer Option" -> "Oem unlock" -> Enabe
When i type in bootloader -> use fastboot, "fastboot oem unlock"
It shows a menu and ask me to press volume up , This button is desableb
So it mean bootloader is ocked , how can i unlock it?
blu3m3 said:
Oem unlock Blackview BV6000
I go to settings "settings" -> "Developer Option" -> "Oem unlock" -> Enabe
When i type in bootloader -> use fastboot, "fastboot oem unlock"
It shows a menu and ask me to press volume up , This button is desableb
So it mean bootloader is ocked , how can i unlock it?
Click to expand...
Click to collapse
@blu3m3,
when it asks to press volume up, just press it and in a few seconds bootloader will get unlocked
But don't forget to type the command 'fastboot format userdata ' & hot enter after unlocking bootloader.
And one more thing, just don't worry about that OEM unlock option in dev settings, it does nothing
Utkarsh_Tiwari said:
@blu3m3,
when it asks to press volume up, just press it and in a few seconds bootloader will get unlocked
But don't forget to type the command 'fastboot format userdata ' & hot enter after unlocking bootloader.
And one more thing, just don't worry about that OEM unlock option in dev settings, it does nothing
Click to expand...
Click to collapse
I Tried , i pressed it about one minute and nothing.
Can you send me a full list of commands from the beggining?
Thank you.
blu3m3 said:
I Tried , i pressed it about one minute and nothing.
Can you send me a full list of commands from the beggining?
Thank you.
Click to expand...
Click to collapse
After connecting your phone in fastboot mode, type
1. " fastboot oem unlock " and press enter & press vol up button on yr phone
2. " fastboot format userdata " enter.
3. " fastboot reboot " enter
thats it. done
Utkarsh_Tiwari said:
After connecting your phone in fastboot mode, type
1. " fastboot oem unlock " and press enter & press vol up button on yr phone
2. " fastboot format userdata " enter.
3. " fastboot reboot " enter
thats it. done
Click to expand...
Click to collapse
That's what i do too,
I enabled in Developer Options OEM unlocking
I done what you told me , but still not working
I pressed up and waited about 2 minutes pressed.
I think bootloader must be locked something else, but i don't know how.
blu3m3 said:
That's what i do too,
I enabled in Developer Options OEM unlocking
I done what you told me , but still not working
I pressed up and waited about 2 minutes pressed.
I think bootloader must be locked something else, but i don't know how.
Click to expand...
Click to collapse
check if your phone's drivers are installed correctly and whether your phones is recognised in fastboot mode or not.
you can check it by typing "fastboot devices" and enter.
If it shows something like device serial name or anything, then your device is connected in fastboot mode otherwise install correct drivers.
Hope this helps.
Sent from my Sparkle V
Utkarsh_Tiwari said:
check if your phone's drivers are installed correctly and whether your phones is recognised in fastboot mode or not.
you can check it by typing "fastboot devices" and enter.
If it shows something like device serial name or anything, then your device is connected in fastboot mode otherwise install correct drivers.
Hope this helps.
Sent from my Sparkle V
Click to expand...
Click to collapse
Yes it is installed correctly, it shows a number,
same with adb devices, it dsplays a number
blu3m3 said:
Yes it is installed correctly, it shows a number,
same with adb devices, it dsplays a number
Click to expand...
Click to collapse
wait! wait!, if you wanna flash a ROM after unlocking bootloader, then you can do that without unlocking it too. Follow the steps.
1). Download flashable twrp zip by 1cefire and put it in your sdcard and also extract recovery.IMG from it.
2). Put that recovery image into the folder where you have your fastboot and adb files.
3). Reboot to fastboot and type
"fastboot boot recovery.img"
after that phone will temporarily boot into TWRP. Now just flash the flashable zip of TWRP from yr sdcard to permanently install TWRP recovery.
Hurray, now you can flash any ROM without unlocking bootloader.
Press thanks if it helps.
Utkarsh_Tiwari said:
wait! wait!, if you wanna flash a ROM after unlocking bootloader, then you can do that without unlocking it too. Follow the steps.
1). Download flashable twrp zip by 1cefire and put it in your sdcard and also extract recovery.IMG from it.
2). Put that recovery image into the folder where you have your fastboot and adb files.
3). Reboot to fastboot and type
"fastboot boot recovery.img"
after that phone will temporarily boot into TWRP. Now just flash the flashable zip of TWRP from yr sdcard to permanently install TWRP recovery.
Hurray, now you can flash any ROM without unlocking bootloader.
Press thanks if it helps.
Click to expand...
Click to collapse
Where can i find twrp zip by 1cefire ?
When i type fastboot recovery.img
I sais :
downloading 'boot.ing'
OKAY [ 0.477s]
booting...
FAILED <remote: oem unlock is false>
Finished. total time: 0.458s
blu3m3 said:
Where can i find twrp zip by 1cefire ?
Click to expand...
Click to collapse
here is the link https://www.androidfilehost.com/?fid=24562946973632081
enjoy
Hit thanks.
Utkarsh_Tiwari said:
here is the link https://www.androidfilehost.com/?fid=24562946973632081
enjoy
Hit thanks.
Click to expand...
Click to collapse
When i type fastboot recovery.img
I sais :
downloading 'boot.ing'
OKAY [ 0.477s]
booting...
FAILED <remote: oem unlock is false>
Finished. total time: 0.458s
blu3m3 said:
When i type fastboot recovery.img
I sais :
downloading 'boot.ing'
OKAY [ 0.477s]
booting...
FAILED <remote: oem unlock is false>
Finished. total time: 0.458s
Click to expand...
Click to collapse
you have to type "fastboot boot recovery.img" and not "fastboot recovery. img"
Utkarsh_Tiwari said:
you have to type "fastboot boot recovery.img" and not "fastboot recovery. img"
Click to expand...
Click to collapse
Yes i typed "fastboot boot recovery.img" but whe i wrote here on forum i wrote with missing word
I still receive this error (remote : oem unlock is false)
blu3m3 said:
Yes i typed "fastboot boot recovery.img" but whe i wrote here on forum i wrote with missing word
I still receive this error (remote : oem unlock is false)
Click to expand...
Click to collapse
them you should try flashing the same recovery.img with SP FLASH TOOL. Just replace stock recovery with this one and uncheck all other options except recovery while downloading through SPFT.
Utkarsh_Tiwari said:
them you should try flashing the same recovery.img with SP FLASH TOOL. Just replace stock recovery with this one and uncheck all other options except recovery while downloading through SPFT.
Click to expand...
Click to collapse
I've done that, when i press volume up and power it doesn't enter recovery, it loads a black screen
blu3m3 said:
When i type fastboot recovery.img
I sais :
downloading 'boot.ing'
OKAY [ 0.477s]
booting...
FAILED <remote: oem unlock is false>
Finished. total time: 0.458s
Click to expand...
Click to collapse
Bro if u want to unlock your boot loader without this fastboot code method just try All in one toolkit by faiyaz5yaz
http://forum.xda-developers.com/cro...bootloader-t2997696/post58055051#post58055051 try if u want to do nau work related to locking ,unlocking, flashing recovery etc stuffs .
Nobody has anything new to unlock the bootloader ?
Hello friends,
I'm have made a "Flashing guide" to update your Blackview BV6000's ROM to Nougat 7.0.
Please follow the link below and update ROM. You could also find a "TWRP installation + Rooting Guide" for your Blackview BV6000 in the archives.
http://dreamworks75.blogspot.in/2017/08/rom-flashing-guide-blackview-bv6000.html
Happy Flashing !!
+1 on this one.
I'm too stuck on that disabled volume up button, when confirming whether to oem unlock the phone.
I've read in a blog post (can't link yet) that one can specify a 16-digit unlock code for the fastboot oem unlock command, but I have no idea whether it would allow me to confirm unlocking - and also no clue where that code could be obtained from in the first place.
So, any further info?

Cannot Boot into EDL mode on Mi A2

I tried countless methods like using toolkit, adb reboot edl (this just simply reboots the phone), fastboot boot edl (here it says press any key to shutdown) but i cannot boot into edl. MY bootloader is unlocked using both fastboot oem unlock and unlock_critical. How do i do it? on fastboot mi flash says lenght cannot be zero and i cannot convert it to 6x and hence cannot try one custom roms
Any advice is appreciated, thanks
Try to flash on another pc , same thing happened to me
fastboot oem edl
twentyfourinc said:
fastboot oem edl
Click to expand...
Click to collapse
FAILED (remote: Device is already locked!)
finished. total time: 0.000s
I always get this. please help
Sagar Sritighor said:
FAILED (remote: Device is already locked!)
finished. total time: 0.000s
I always get this. please help
Click to expand...
Click to collapse
did you got the solution?
https://youtu.be/i3OU4DOd7aY
Odesláno z mého Mi A2 pomocí Tapatalk
Sagar Sritighor said:
FAILED (remote: Device is already locked!)
finished. total time: 0.000s
I always get this. please help
Click to expand...
Click to collapse
Try unlocking bootloader critical.
fastboot flashing unlock_critical
Here you go...
Here i have solotion for your problem.
first unlock oem 'fastboot oem unlock' then boot twrp using 'fastboot boot' give one space and drag and drop twrp image and click anywhere on cmd window and hit enter.
now copy the twrp in your phone internal storage and go to install option in twrp. select install image. select your recovery file and select recovery ramdisk. now reboot to recovery, install any custom os and reboot it. once booted enable developer option and enable usb debugging. open all in one tool. once the device is detected by the tool press on reboot to edl. now u will be booted to edl mode. now you wont be rebooted autometically.

Asus ROG3 relock issue

I'm trying to relock my ROG3, but whenever i use the all-in-one tool or even fastboot command i get the below error.
Other fastboot commands work though.
FAILED (remote: 'Command not supported in default implementation')
You need to be directly in Fastboot mode. Not from recovery menu

Question Oneplus 10 Pro Lock Bootloader

Hi, i wanted to relock my Bootloader again. I deinstalled Magisk per app , did a factory reset and now i should be able to do Fastboot oem Lock in adb or not ? Cause i get failure every Time i try that its an unknown command. Can someone Help me mabye?
Edit like that, Reboot Bootloader work but then from there on not.
C:\adb2>adb reboot bootloader
C:\adb2>fastboot oem lock
FAILED (remote: 'unknown command')
fastboot: error: Command failed
We used fastboot flashing unlock to unlock bootloader so I guess you need to use
Fastboot flashing lock
yes that was it thank you much

Categories

Resources