Fastboot error "FAILED (Remote: Command Not Allowed" - Android Q&A, Help & Troubleshooting

Hi guys!
I'm having troubleshooting with my Mate 10 Lite, i try to root with this forum : https://forum.xda-developers.com/mate-10/how-to/how-to-huawei-mate-10-pro-standard-t3709535, but the problem is when i try to boot in the custom temporary recovery, fastboot gives me the following problem : "FAILED (Remote: Command not allowed)"
Help me please
Thanks for reading

Are you sure that your boot loader is unlocked?

MrGrim said:
Are you sure that your boot loader is unlocked?
Click to expand...
Click to collapse
Yeah, sure, i tried relocking and unlocking and nothing

MrGrim said:
Are you sure that your boot loader is unlocked?
Click to expand...
Click to collapse
an idea for this problem?

Koa1 said:
an idea for this problem?
Click to expand...
Click to collapse
Did u Checked with Fastboot?
Fastboot getvar Bootloader unlock?
What command did u Use`?

uweork said:
Did u Checked with Fastboot?
Fastboot getvar Bootloader unlock?
What command did u Use`?
Click to expand...
Click to collapse
Fastboot oem unlock [Code here]

uweork said:
Did u Checked with Fastboot?
Fastboot getvar Bootloader unlock?
What command did u Use`?
Click to expand...
Click to collapse
And i check with Fastboot, it says unlocked

uweork said:
Did u Checked with Fastboot?
Fastboot getvar Bootloader unlock?
What command did u Use`?
Click to expand...
Click to collapse
An idea to know what i'm doing wrong?

Koa1 said:
An idea to know what i'm doing wrong?
Click to expand...
Click to collapse
You are at this point,right?
Code:
fastboot boot twrp-mate10-lite.img
Your device will boot into temporary TWRP, ??
or have you used
Code:
fastboot flash recovery twrp-mate10-lite.img
??
First one should not work. second installs twrp, but i dont Know if you Huawei overwrite TWRP after first boot.
then it should be
Code:
fastboot boot Recovery
to restart in TWRP

uweork said:
You are at this point,right?
Code:
fastboot boot twrp-mate10-lite.img
Your device will boot into temporary TWRP, ??
or have you used
Code:
fastboot flash recovery twrp-mate10-lite.img
??
First one should not work. second installs twrp, but i dont Know if you Huawei overwrite TWRP after first boot.
then it should be
Code:
fastboot boot Recovery
to restart in TWRP
Click to expand...
Click to collapse
It is works after a flash, now i have oreo with TWRP and Magisk, thank you so much

Koa1 said:
It is works after a flash, now i have oreo with TWRP and Magisk, thank you so much
Click to expand...
Click to collapse
No Prob mate, Thats why we are all here for :fingers-crossed:

Related

Help! I bricked my device

Hello,
1.Ive rooted my phone emui 4.1 with kingroot
2. I've flashed Official twrp 3.0.2
3. After booting in twrp I tried to clear cache but it unable to clear cache.
4. Then I've force rebooted to recovery then all partitions got unmounted (shocked)
5. So I flashed mm kang ROM then phone bricked so I thought that stock recovery may mount all partitions so I flashed stock recovery (back up)
6. Finally I'm unable to boot in stock recovery and ROM
7. What do u think guys? How to solve this issue ??
Any one faced same problem?
***Main thing is what ever I try to push a file from adb to phone in fastboot mode (ex- recovery,boot.IMG) it says "writing recovery failed:command not allowed". why I'm getting this error ?? I've unlocked bootloader too ***
Thank you!
.
Martin213 said:
Restore backup of stock rom if you able to boot in twrp.Did you try flash with huawei multitool?
Sent from Paris with love ?
Click to expand...
Click to collapse
I tried but partitions are unmounted so its not booting up,struck at Honor logo
How to solve this???
Pranav Kumar said:
How to solve this???
Click to expand...
Click to collapse
if bootloader works: download official image, use fastboot flash commands to flash all parts
otherwise
download official image from huawai, (update.app) copy to sd, boot phone with all 3 buttons pressed. it shold boot into some recovery.
endrancer said:
if bootloader works: download official image, use adb flash commands to flash all parts
otherwise
download official image from huawai, (update.app) copy to sd, boot phone with all 3 buttons pressed. it shold boot into some recovery.
Click to expand...
Click to collapse
I tired pushing recovery image to device but command says "writing recovery,failed (command not allowed)"
And I tried update.app in SD card in a folder dload tried 3button method also, but it is not booting in recovery right how it can take update?
Pranav Kumar said:
I tired pushing recovery image to device but command says "writing recovery,failed (command not allowed)"
And I tried update.app in SD card in a folder dload tried 3button method also, but it is not booting in recovery right how it can take update?
Click to expand...
Click to collapse
are you able to boot into bootloader? is "fastboot devices" command showing anything?
eddor1614 said:
are you able to boot into bootloader? is "fastboot devices" command showing anything?
Click to expand...
Click to collapse
Yes its showing
Pranav Kumar said:
Yes its showing
Click to expand...
Click to collapse
have you extracted BOOT, RECOVERY, SYSTEM and CUSTOM from huawei package?
eddor1614 said:
have you extracted BOOT, RECOVERY, SYSTEM and CUSTOM from huawei package?
Click to expand...
Click to collapse
Yes I tried but when file is being pushed to phone it says failed (command not allowed) repeats
Can you see "phone unlocked" on screen?
Yeah, sounds like locked bootloader.
Gsavas said:
Yeah, sounds like locked bootloader.
Click to expand...
Click to collapse
No bro I've unlocked bootloader
And I can see *phone unlocked" in fastboot mode
Gsavas said:
Yeah, sounds like locked bootloader.
Click to expand...
Click to collapse
have you tried flashing BOOT or SYSTEM partitions?
Pranav Kumar said:
No bro I've unlocked bootloader
And I can see *phone unlocked" in fastboot mode
Click to expand...
Click to collapse
You could try to reinstall drivers then or try a different pc.
Gsavas said:
You could try to reinstall drivers then or try a different pc.
Click to expand...
Click to collapse
Tried and I got same error(failed(command not allowed))
Do you have hisuite? If not try uninstalling drivers then install hisuite and try flashing with fastboot then. By the way does your device get recognised when you type "fastboot devices" command?
that's strange.
have you tried booting into second recovery?
eddor1614 said:
that's strange.
have you tried booting into second recovery?
Click to expand...
Click to collapse
Yes in eRecovery I can see "update recovery" after connecting to wifi it says "failed to get device info"
I ran out of options.
You might want to try all the same, using different UPDATE.APP version, like B180 or B200, using a different cable, different computer, etc.
Then next step will be Huawei support, it might be a memory/hardware problem.
Sorry man.

Huawei y6

hello,
my device is rooted tried to flash twrp recovery via rashr but always it open fastboot that's why
please tell me how to flash twrp on my device
scc-u21
thanks,
Desill said:
hello,
my device is rooted tried to flash twrp recovery via rashr but always it open fastboot that's why
please tell me how to flash twrp on my device
scc-u21
thanks,
Click to expand...
Click to collapse
Is ur bootloader unlocked
Amaan007 said:
Is ur bootlpader unlocked
Click to expand...
Click to collapse
may be it's not unlocked bc always open fastboot but on fastboot says bootloader: unlocked
Desill said:
may be it's not unlocked bc always open fastboot but on fastboot says bootloader: unlocked
Click to expand...
Click to collapse
In fastboot type
fastboot oem device-info
Amaan007 said:
In fastboot type
fastboot oem device-info
Click to expand...
Click to collapse
pc ? using adp?
it says connect your phone to us caple and open hisuit
Phone: unlocked
SRP: Unlock
so what I have to do?!
Desill said:
it says connect your phone to us caple and open hisuit
Phone: unlocked
SRP: Unlock
so what I have to do?!
Click to expand...
Click to collapse
You need minimal adb and fastboot drivers search it on xda

Question fastboot not entering

i wanted to flash a custom ROM. to unlock bootloader with adb with adb reboot recovery the phone just reboot. developer settings enabled. OEM USB debbuging too. but there is no advanced reboot option in settings. help it's my first time doing this.
I faced the same issue after OOS 12
What i did to fix this issue was i went back to Oos 11 using msm tool and then unlocked bootloader then flash custom rom.
If it is your first time doing all this maybe you will find it difficult to use msm tool so follow a good videk guide on youtube and then try this.
HULK2275 said:
I faced the same issue after OOS 12
What i did to fix this issue was i went back to Oos 11 using msm tool and then unlocked bootloader then flash custom rom.
If it is your first time doing all this maybe you will find it difficult to use msm tool so follow a good videk guide on youtube and then try this.
Click to expand...
Click to collapse
thanks. i will try that if there is no option other than downgrading the OS
dfm000 said:
thanks. i will try that if there is no option other than downgrading the OS
Click to expand...
Click to collapse
try adb boot bootloader or adb boot fastboot, adb boot fastbootd. One of them should work. Good luck!
JackieMe said:
try adb boot bootloader or adb boot fastboot, adb boot fastbootd. One of them should work. Good luck!
Click to expand...
Click to collapse
i downgraded the OS
I cannot enter fastboot mode after the update anyone facing the same issue? Adb is fine
gohaaron said:
I cannot enter fastboot mode after the update anyone facing the same issue? Adb is fine
Click to expand...
Click to collapse
you can't on android 12
dfm000 said:
you can't on android 12
Click to expand...
Click to collapse
huh? rly? how come? i can see the fastboot logo but then it just close and continue booting... ive seen on Youtube they were able to access it... u can use key combo or adb commands
dfm000 said:
you can't on android 12
Click to expand...
Click to collapse
if we cant enter fastboot mode how do we unlock bootloader and root?
gohaaron said:
if we cant enter fastboot mode how do we unlock bootloader and root?
Click to expand...
Click to collapse
ask here https://t.me/OnePlus9ROfficial
dfm000 said:
ask here https://t.me/OnePlus9ROfficial
Click to expand...
Click to collapse
ok ive joined thanks

problem with flashing rom

Hi guys,
i unlocked the bootloader of my p20lite with PotatoNV and i installed TWRP recovery.
Then i wiped alla data including internal storage. I tried to flashing some ROM (with zip file and with img file), but they don't work(it seems they aren't installed), at every reboot system smartphone shows me TWRP recovery.
I don't know what to do. Do you have any tips please?
Thank you
After attached image i show only TWRP
freddie993 said:
Hi guys,
i unlocked the bootloader of my p20lite with PotatoNV and i installed TWRP recovery.
Then i wiped alla data including internal storage. I tried to flashing some ROM (with zip file and with img file), but they don't work(it seems they aren't installed), at every reboot system smartphone shows me TWRP recovery.
I don't know what to do. Do you have any tips please?
Thank you
After attached image i show only TWRP
Click to expand...
Click to collapse
Look here
https://forum.xda-developers.com/t/i-bricked-my-p20-lite.4449545/#post-86936013
Hi tried to follow those instructions . When i hold both volume button i receive attached screen. i tried to install ROM with sideload method but nothing to do.
freddie993 said:
Hi tried to follow those instructions . When i hold both volume button i receive attached screen. i tried to install ROM with sideload method but nothing to do.
Click to expand...
Click to collapse
Hi,
in fastboot mode run commands :
fastboot oem get-build-number
fastboot oem get-product-model
fastboot getvar vendorcountry
fastboot oem oeminforead-CUSTOM_VERSION
fastboot oem oeminforead-SYSTEM_VERSION
and post the results.
Some might fail, so don't worry about it.
i can't access in fastboot mode neither from TWRP
i did it @-Alf-
freddie993 said:
i did it @-Alf-
Click to expand...
Click to collapse
does this mean problem solved?
-Alf- said:
does this mean problem solved?
Click to expand...
Click to collapse
unfortunately no , i tried to install system via fastboot but at the reboot i show TWRP....
freddie993 said:
unfortunately no , i tried to install system via fastboot but at the reboot i show TWRP....
Click to expand...
Click to collapse
In fastboot mode flash stock recovery_ramdisk, download Here
Use command fastboot flash recovery_ramdisk RECOVERY_RAMDISK-9.1.img, then run command
fastboot erase userdata, and reboot.
-Alf- said:
In fastboot mode flash stock recovery_ramdisk, download Here
Use command fastboot flash recovery_ramdisk RECOVERY_RAMDISK-9.1.img, then run command
fastboot erase userdata, and reboot.
Click to expand...
Click to collapse
with this command i resolved, the ROM has been installed Thank you , but now i must install again twrp?
freddie993 said:
now i must install again twrp?
Click to expand...
Click to collapse
if you need it ...
My little advice - install TWRP instead of eRecovery, it makes things easier... And please use RECOMMENDED TWRP , not this sh... 3.5.2 and above.
-Alf- said:
if you need it ...
My little advice - install TWRP instead of eRecovery, it makes things easier... And please use RECOMMENDED TWRP , not this sh... 3.5.2 and above.
Click to expand...
Click to collapse
i'd installed
twrp-3.6.1_9-0-anne is this wrong for you??
freddie993 said:
i'd installed
twrp-3.6.1_9-0-anne is this wrong for you??
Click to expand...
Click to collapse
this TWRP has caused you problems, but I will not force my opinion on you.
Happy flashing!
-Alf- said:
this TWRP has caused you problems, but I will not force my opinion on you.
Happy flashing!
Click to expand...
Click to collapse
don't worry. thank you very much for your tips
freddie993 said:
don't worry. thank you very much for your tips
Click to expand...
Click to collapse
hey hi id like to know which version of twrp you ended up installing? if any.
had the same issue as you and solved it the same way but id like to keep twrp as my main recovery
James1807 said:
hey hi id like to know which version of twrp you ended up installing? if any.
had the same issue as you and solved it the same way but id like to keep twrp as my main recovery
Click to expand...
Click to collapse
hi, sorry for waiting, i have 3.5.1 version
freddie993 said:
hi, sorry for waiting, i have 3.5.1 version
Click to expand...
Click to collapse
ok and uh any special procedure to keep twrp as your main? or you just flashed it to the recovery like that and thats it?
James1807 said:
ok and uh any special procedure to keep twrp as your main? or you just flashed it to the recovery like that and thats it?
Click to expand...
Click to collapse
just flashed to the main recovery, but they both remained and for enter in the twrp i must push vol up+down togheter.

Adding super us to system.img

Hi, I need help to add su and chmod it but im not sure how to do that.
What device?
elosanta said:
What device?
Click to expand...
Click to collapse
Alcatel c1 5003d
Mica_antenica said:
Alcatel c1 5003d
Click to expand...
Click to collapse
flash magisk
elosanta said:
flash magisk
Click to expand...
Click to collapse
I cant unlock fastboot
Mica_antenica said:
I cant unlock fastboot
Click to expand...
Click to collapse
you cant unlock your device in fastboot or cant get in fastboot?
elosanta said:
you cant unlock your device in fastboot or cant get in fastboot?
Click to expand...
Click to collapse
No I cant unlock fastboot I tried everything and I cant unlock fastboot.
Mica_antenica said:
No I cant unlock fastboot I tried everything and I cant unlock fastboot.
Click to expand...
Click to collapse
have you tried "adb reboot fastboot" or rebooting in recovery?
elosanta said:
have you tried "adb reboot fastboot" or rebooting in recovery?
Click to expand...
Click to collapse
also try adb reboot bootloader
elosanta said:
have you tried "adb reboot fastboot" or rebooting in recovery?
Click to expand...
Click to collapse
I can go to fastboot.
Mica_antenica said:
I can go to fastboot.
Click to expand...
Click to collapse
ohh, have you tried oem unlocking in development settings
elosanta said:
ohh, have you tried oem unlocking in development settings
Click to expand...
Click to collapse
Yes And I didn't work.
Mica_antenica said:
Yes And I didn't work.
Click to expand...
Click to collapse
try "fastboot -i 0x1bbb oem unlock"
elosanta said:
try "fastboot -i 0x1bbb oem unlock"
Click to expand...
Click to collapse
Yes I tried every fastboot command And I didn't work.

Categories

Resources