yashsingh1/xdaforums huggingface dataset:
[Huawei P8 Guides, News, & Discussion] blokitata:
Hello. I'm Blokitata from Hungary.

I tried all this things,but i get this:"Command not allowed".

I have a script what can do this method with one click, but it can't do anything. Here is the full cmd lines:

target max-download-size: 450MB

sending 'boot' (21706 KB)...

OKAY [ 0.719s]

writing 'boot'...

FAILED (remote: Command not allowed)

finished. total time: 0.734s

target max-download-size: 450MB

sending 'recovery' (34280 KB)...

OKAY [ 1.141s]

writing 'recovery'...

FAILED (remote: Command not allowed)

finished. total time: 1.141s

target max-download-size: 450MB

sending 'cust' (257973 KB)...

OKAY [ 8.496s]

writing 'cust'...

FAILED (remote: Command not allowed)

finished. total time: 8.496s

target max-download-size: 450MB

Sparse-Flash is enabled!

sending sparse 'system' (460798 KB)...

OKAY [ 22.357s]

writing 'system'...

FAILED (remote: Command not allowed)

finished. total time: 22.388s

ROM B049 flashed , if all went well

You must be restarted.

If you leave the recovery to hard reset and restart the phone

rebooting...

And now... bootloop again. The bootloader is unlocked. I don't know the IMEI number,just the S/N number,'cause the adb devices command can shows it. But just first.

So what can i do? The phone is not mine. My workmate asked me to do something with it.( 'cause i could repair his other phone. but now, i don't know what can i do.) (What do you think,if i change the used B049 files to B171 it will work? Thats just an idea from a noob adb user.)

Thanks for your patients,and any help.
[Huawei P8 Guides, News, & Discussion] baldvino:
Fastboot cable

Hi sorry for bursting in here I have a P8 that is completely bricked.

it only blinks twice red, twice green and so on.

but only if I connect it with a custom made fastbootcable.

It got bricked by the very same cable.

my daughter thought it was just a cable and pluggedit in.

I've tried everything in this tread how ever the phone wont respond to any of these methods..

any ideas?
[Huawei P8 Guides, News, & Discussion] Hitchi:
anyone could help here?

It was my fault: didn't had the phone for a couple of months and now wanted to update to the latest version of TWRP, ROM and didn't read the threads completely :(. First time that I'm so stupid.

Bootloader is unlocked, think I have the old bootloader. Had TWRP 2.8.7.0 installed and working. Flashed a 6.0 ROM and ended with bootloop...OK related to the old TWRP. So flashed within 2.8.7 the TWRP 3.0.2 ...

now it is only showing Huawei boot logo....neither fastboot nor TWRP is working anymore with (Vol+ & Power button). It just simply is showing the Huawei logo for some seconds and then restarting.

Any chance to unbrick it?
[Huawei P8 Guides, News, & Discussion] TopperBG:
First, think clear.

Second, try to connect to PC with USB and press Vol- that way you will enter bootload mode.

Third, flash boot.img (fastboot flash boot boot.img) from your LAST WORKING ROM and reboot (fastboot reboot).
[Huawei P8 Guides, News, & Discussion] Hitchi:
Thx for the reply... unfortunately bootload is also not working because the phone restarts shortly after the Huawei logo appears :(

any other ideas
[Huawei P8 Guides, News, & Discussion] TopperBG:
Do what I told you EXACTLY.

Believe me - I've been there before.
[Huawei P8 Guides, News, & Discussion] usayd12345:
I got the same problem but I cannot boot to fastboot/bootloader
[Huawei P8 Guides, News, & Discussion] MrcRjs:
I have the same problem, did you find how to fis it?
[Huawei P8 Guides, News, & Discussion] holekns:
hello

i have problem with my p8 when i make

fastboot flash recovery recovery.img

fastboot flash boot boot.img

fastboot flash system system.img

now my p8 stop on huawei logo 5-10 seccond and reboot and the same i can only vol- to fastbootrecovery any idea.
[Huawei P8 Guides, News, & Discussion] bogdan217:
Huawei P8 bootloader

will this is work if my phone has a branded bootloader?Telekom(T-Mobile for Romania),but the phone isn't locked on that carrier,just the animation logo,i really want to have 6.0
[Huawei P8 Guides, News, & Discussion] laro2202:
I try to do this but it show

C:\adb>fastboot flash boot boot.img

target reported max download size of 471859200 bytes

sending 'boot' (14964 KB)...

OKAY [ 0.554s]

writing 'boot'...

FAILED (remote: Command not allowed)

finished. total time: 0.564s

how can I resolve this prolem please
[Huawei P8 Guides, News, & Discussion] xXPr0digyXx:
I get an error when i try wiping my phone, FAILED (remote: Command not allowed) how do i fix this :crying:
[Huawei P8 Guides, News, & Discussion] maamirh:
Thanks to the owner of this thread for great help of me. One of my friend gave me P8 for data recovery, but during root accidentally Software deleted from me. I tried to install new software but unsuccessful every time.

I gave the mobile to many shops even in Huawei Customer care center, and they rejected my mobile by saying this "MOTHERBOARD HAVE BEEN DAMAGES" that's why mobile is in brick condition.

I was hopeless what to do now :'(, but after the search, I got this thread. I have p8 (GRA-UL10).I download the latest firmware from the site and follow the instructions, and now mobile is working fine.

But I am confused my mobile stock firmware was Android V5.0 as mentioned on Mobile Box.But I tried much firmware for this everytime failed but latest firmware successful how?

Overall thanks for helping me.Allah Bless you. [MENTION=4407109]bihslk[/MENTION]
[Huawei P8 Guides, News, & Discussion] BerkDR:
Thank you it worked.

Oh man thank you, I guess I failed while I'm Trying to root my P8 Lite (ALE-L21 Version) and it was bricked. This method saved me, now I will try to root again.. For the first time I have failed while doing something like this. Thanks again. Try this if you stuck in Huawei logo. It may work for you too.
[Huawei P8 Guides, News, & Discussion] pedromaiaz:
It worked!

Everything worked like a charm!

P8 GRAL09 euro, not branded! was android 5.0.1 with TWRP

now official android 6 :D

soo for thoose who dont understand!

1st boot.img - 2th recovery.img - 3th system.img - then if you want android 6 just update with wifi!

No dramas at all, very simple!

Thanks for the info mate!!!

Rock On!
[Huawei P8 Guides, News, & Discussion] Arrebato:
Hi all from Italy I'm sorry i am a complete noob and I can't speak english decently

I want to ask:

With this procedure all data on phone will be lost?
[Huawei P8 Guides, News, & Discussion] GaT7:
Not sure, so to be on the safe side, make a thorough backup before doing anything.
[Huawei P8 Guides, News, & Discussion] SabzuSPG:
Hello, i have problem witch flashing any stock firmware. Ofc flashing with fastboot doesn't work, so I tried method with 3 buttons. I flashed boot and recovery 313b and there is a deferent thing: i don't have wipe / factory reset in my recovery. When i want to install update.app from my SD(dload folder is there), it stuck on 5% (same thing with unpluged sd card - starts and stuck at 5%). What should i do?
[Huawei P8 Guides, News, & Discussion] SabzuSPG:
Hello, anybody can help me?
[Huawei P8 Guides, News, & Discussion] TopperBG:
Flash over ADB your originial Boot and Recovery patitions. That means partiotions from your stock ROM. Be sure that that's exact your ROM version !
[Huawei P8 Guides, News, & Discussion] Positivity_:
Hello, I m battling this problem already 2 days, I have P8 Lite mobile phone.

Phone Originally came with ALE-L21 C432B132 but at that time I got update ALE-L21 C432B188 what made my phone 5.0.1 Android

So a few days ago I received Update ALE-L21 C432B587 in updater but what happened is the update stuck on 1 % then showed Error message

That I cant Install that and Phone Rebooted. And it stuck on the First LOGO and now the fun part starts.

I read Every single post, guide what was on google all Suggested to use fastboot and just Flash back to my Original ALE .

Ok, so I did all the Phone Unlocking by getting unlock code and then using fastboot to unlock the phone now my phone is unlocked and it shows that when I'm in fastboot.

I also put UPDATE.app in SDcard just in case but thing is I cant Access that Update menu Or Recovery menu With Button UP + Power Only thing what Works is Fastboot

So I Extracted the boot, System, Recovery, cust, placed in adb folder and run the Cmd if I write fastboot devices it shows my phone so all is ok . and when I do all the flash commands nothings are failing and all shows that is completed. but still I can't start my phone and the only volume down + power works other combinations have no reaction + It just stands on that logo it doesn't even reboot how others have it

I let it send there for 1 h and it was just That first Logo.

So I'm writing here maybe someone has some Suggestion how to Resurrect my phone I'm open now to any suggestions.
[Huawei P8 Guides, News, & Discussion] nameh:
Hello all,

I needed to root my phone (P8) in order to install some applications for file recovery. I did the following:

1) I unlocked bootloader (by obtaining the key on huawei pages, going to Settings, Developer options, USB debugging, HiSuite installed to get drivers, ADB Fastboot v.1.4 installed, volume- and power on. I got to the fastboot&rescue screen where after using the command in ADB Fastboot I gained "Phone unlocked" message)

2) I installed the TWRP in the phone (thru the Spanish console)

3) I copied UPDATE-SuperSU-v2.79.zip to internal memory

4) Volume+- Power on and got to the TWRP console where I chose install the UPDATE-SuperSU-v2.79.zip

5) everything looked fine, so I rebooted. Now I have looping logo and I am unable to unbrick the phone.

Any help please?

Thank you
[Huawei P8 Guides, News, & Discussion] sadnesscyber:
can't flash recovery & boot.img

C:\adb>fastboot flash cust cust.img

target reported max download size of 471859200 bytes

sending 'cust' (365311 KB)...

OKAY [ 7.806s]

writing 'cust'...

OKAY [ 0.277s]

finished. total time: 8.089s

C:\adb>fastboot flash boot boot.img

target reported max download size of 471859200 bytes

sending 'boot' (24524 KB)...

OKAY [ 0.525s]

writing 'boot'...

FAILED (remote: flash write prim vrl failure)

finished. total time: 0.964s

C:\adb>fastboot flash recovery recovery.img

target reported max download size of 471859200 bytes

sending 'recovery' (36190 KB)...

OKAY [ 0.772s]

writing 'recovery'...

FAILED (remote: flash write failure)

finished. total time: 0.803s

C:\adb>fastboot flash system system.img

target reported max download size of 471859200 bytes

sending sparse 'system' (460798 KB)...

OKAY [ 14.959s]

writing 'system'...

OKAY [ 0.343s]

sending sparse 'system' (442519 KB)...

OKAY [ 14.492s]

writing 'system'...

OKAY [ 0.332s]

sending sparse 'system' (460656 KB)...

OKAY [ 15.893s]

writing 'system'...

OKAY [ 0.342s]

sending sparse 'system' (441220 KB)...

OKAY [ 16.059s]

writing 'system'...

OKAY [ 0.330s]

sending sparse 'system' (456225 KB)...

OKAY [ 14.867s]

writing 'system'...

OKAY [ 0.339s]

sending sparse 'system' (203018 KB)...

OKAY [ 7.705s]

writing 'system'...

OKAY [ 0.153s]

finished. total time: 85.843s

help pleaseeee.....
[Huawei P8 Guides, News, & Discussion] Sparkrite:
Even if the phone is reporting Bootloader as unlocked, try unlocking it again.

Usually works.
[Huawei P8 Guides, News, & Discussion] sadnesscyber:
Same Result

C:\adb>fastboot oem unlock 5223025121717032

...

FAILED (remote: already fastboot unlocked)

finished. total time: 0.002s

C:\adb>fastboot oem get-bootinfo

...

(bootloader) unlocked

OKAY [ 0.002s]

finished. total time: 0.002s

C:\adb>fastboot flash recovery recovery.img

target reported max download size of 471859200 bytes

sending 'recovery' (36190 KB)...

OKAY [ 0.801s]

writing 'recovery'...

FAILED (remote: flash write failure)

finished. total time: 0.831s

C:\adb>fastboot flash boot boot.img

target reported max download size of 471859200 bytes

sending 'boot' (24524 KB)...

OKAY [ 0.521s]

writing 'boot'...

FAILED (remote: flash write prim vrl failure)

finished. total time: 0.954s
[Huawei P8 Guides, News, & Discussion] wbrambley:
Something is feked up in your internal memory, /boot and /recovery are not the same size and neither are the reported size. (At least on my gra-l09)
[Huawei P8 Guides, News, & Discussion] CaptainExp:
i cannot even boot in fastboot nor recovery :/ its a rare occasion but yea
[Huawei P8 Guides, News, & Discussion] amunarjoh:
Hi. I'm having the same situation. Have you managed to sort it out?
[Huawei P8 Guides, News, & Discussion] Dnja:
Sir this shows up on the screen

"FASTBOOT&RESCUE MODE"

and a bunch of words connecting to HiSuite.

It says at the bottom "PHONE LOCKED" in green font

Also I did and followed all your instructions. But I keep getting

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot erase cache

erasing 'cache'...

FAILED (remote: Command not allowed)

finished. total time: 0.003s

Other commands also end up FAILED (remote: Command not allowed)

What do I do? Please reply. Thank you
[Huawei P8 Guides, News, & Discussion] XMuse:
Did you resolve it? I have the same problem
[Huawei P8 Guides, News, & Discussion] mlsasd:
any news?
[Huawei P8 Guides, News, & Discussion] jeromejones:
Hi

I have tried this but when I go into recovery. It turns on for a second and then goes off back to bootloops...
[Huawei P8 Guides, News, & Discussion] TopperBG:
Save full update.zip to /dload folder, not unpacked update.app
[Huawei P8 Guides, News, & Discussion] Wurschtsemml:
Hi,

now I've loaded the update.zip new from this forum and copied it untouched to my /dload on sd-card.

I have no chance to boot in recovery mode or make a force update.

Any other ideas?

My hope to rescue the phone really disappears.
[Huawei P8 Guides, News, & Discussion] TopperBG:
Do you have a data of the phone to try unlocking of bootloader ?
[Huawei P8 Guides, News, & Discussion] Wurschtsemml:
No if there is no general key to unlock the bootloader, I can't do it at the moment.
[Huawei P8 Guides, News, & Discussion] TopperBG:
So the last resort is to continue with the update. Last used FW (B313?) could be re-downloaded to be sure it is complete, save to /dload on SD and start again. If not start, try ± & Power
[Huawei P8 Guides, News, & Discussion] raider2k9:
There is a way to get the unlock code.. send me your IMEI and serial number (both to be found on your phones box) per PN, I will sent you the unlock code ;)
[Huawei P8 Guides, News, & Discussion] BlackSnow1058:
Is there a way to do it without a unlock code ? I have the IMEI but not a serial number.

My fastboot is locked.
[Huawei P8 Guides, News, & Discussion] lesiot:
I'v still got problem to "unbrick".

Fastboots went good, and I don't have bootlops, phone stuck on huawei logo.

When I want to update via Power+V_UP+V_Down (B170, B200, B313), I have "Software install failed!", or 2 times (connected to PC) it stucks on 5%.
[Huawei P8 Guides, News, & Discussion] BlackSnow1058:
How long you wait ? I've got often the problem that it stocks at 19% I need to wait up to 20 Min. Then it goes to 20% after that it will go one.
[Huawei P8 Guides, News, & Discussion] lesiot:
Before the "Software install failed!" apears, for very short time shows:

"check_write_data_to_partition, write data error"
[Huawei P8 Guides, News, & Discussion] BlackSnow1058:
Someone knows how I can without unlock code open fastboot mode ? I only have imei
[Huawei P8 Guides, News, & Discussion] raider2k9:
Don´t you have the box of your P8? the serial number is shown on the label, together with the IMEI.. it should start with "S7M...."
[Huawei P8 Guides, News, & Discussion] BlackSnow1058:
Send you a massage
[Huawei P8 Guides, News, & Discussion] lesiot:
I'v flash with fastboot boot.img, and recovery.img from B191 and B350 (betas 5.1.1), and system starts. I can choose language, connect to WiFi for a while, and system restarts (flashed system.img is from B170). And when I tried to update with full B170, I got message that the version of system is incompatybile (something abut wrong version).

So... it's better.

I thnik the full system "update.app", or "system.img" of 5.1.1 will solve the problem, but I can't find any.
[Huawei P8 Guides, News, & Discussion] jeromejones:
I have the same problem....phone been bricked for two days now..
[Huawei P8 Guides, News, & Discussion] BlackSnow1058:
B 350 is an beta so there isn't a Full version of it. I think you need to do the same thing like me. You need to open fastboot/rescue mode and flash boot.img etc.
[Huawei P8 Guides, News, & Discussion] lesiot:
I'v done it all day with difrents roms.
[Huawei P8 Guides, News, & Discussion] TopperBG:
Flash the Boot and Recovery images from the ROM which fails! If you try to update to B313 - extract that img's from update.app and flash it. If your fail is when you update to B200 - from that update.app. The process of update has been interrupted with specific kernel and specific recovery procedure. I'm sure that B200 and B313 have diff kernels and almost sure for recovery procedure.
[Huawei P8 Guides, News, & Discussion] lesiot:
B313 updates whitout any interruptions, problems starts when I wanted do downgrade.

Trying update (to any rom) Power+Up+Down with B313 boot.img and recovery.img end with - "check_write_data_to_partition, write data error", "Software install failed!"

Trying update (to any rom) Power+Up+Down with B191 or B350 boot.img and recovery.img end with - message about wrong rom version.

B191 or B350 boot.img and recovery.img + fasbooted system (B170 or B200) - system starts - sometimes work 5 seconds sometimes work 10 minutes (without sdcard works longer) - some functions dosen't work - NFC - it's usless.

B170 or B200 boot.img and recovery.img + fasbooted system (B170 or B200) - boot loops - can't do anything.

B313 boot.img and recovery.img + fasbooted system (B170 or B200) - only start to logo - can do Power+UP (erecovery) or Power+Up+Down - but it useless ("check_write_data_to_partition, write data error", "Software install failed!")

I thint tak something of this images (this images are in B313)

BOOT.img

CRC.img

CURVER.img

EFI.img

FASTBOOT.imgHIFI.img

MCUIMAGE.img

MODEM_DSP.img

RECOVERY.img

SENSORHUB.img

SHA256RSA.img

TEEOS.img

TRUSTFIRMWARE.img

VERLIST.img

XLOADER.img

need to be replaced (reflashed by version from other rom), but I don't know what partition (in fastboot) need to use to flash this images (excepts boot and recovery).
[Huawei P8 Guides, News, & Discussion] raider2k9:
you only need boot, recovery and system.img.. maybe you can try cache.img, but you haven't to.. but never user userdate.img, because all your data will get lost.

when you have a working b313 on your p8,just flash system.img from full b200 and you should be able to boot, that's what I experienced, when b350 flash failed while ago.. you need boot and recovery from latest installed rom and system.img from the rom, you want to.. after that, just do local update, since updater with this option is back

Gesendet von meinem HUAWEI GRA-L09 mit Tapatalk
[Huawei P8 Guides, News, & Discussion] lesiot:
I know... but it doesn't work for me. I'v tierd. And there are'n full rom B313, B191 or B350, to try this system.img

boot.img(B313) + recovery.img(B313) can't do any local update becasue "check_write_data_to_partition, write data error", "Software install failed!"

I'v tried flash cache and cust too.
[Huawei P8 Guides, News, & Discussion] raider2k9:
when you try B313 with 3-button-method, it can´t work, because there is no system.img inside.. for 3-button you can only use full versions, like b170 or b200..

so can you try it, by using b200 full (2,83gb) with 3-button after flashing b313 boot+recovery via fastboot?
[Huawei P8 Guides, News, & Discussion] lesiot:
That didn't work, I wrote it (I tried several times).

I know that I have to use full rom (update.app in /dload) to local update... but with b313 there is mesgage like in quote (the same with full B200, and full B170).

I'll try with older roms.
[Huawei P8 Guides, News, & Discussion] kada123:
Good Morning,

I have the same problem, tried every available ROM, but always got the same error message than lesiot.

Maybe we have to wait for full marshmallow rom.
[Huawei P8 Guides, News, & Discussion] lesiot:
Only one update.app I can succesfuly update is file from B131 (unpacked from zip).

Some of img files (liested few post eariler) in update.app 313 (after instaling it) is blocking update (downgrade) other versions of system.
[Huawei P8 Guides, News, & Discussion] BlackSnow1058:
So i need b131? I can't flash with fastboot commands to b170 and try to install with tree buttons b200 (dload on sdcard)?

I've got the problem that the phone tells me I've got the wrong version I've I try to install it with the 3 buttons Method.

I can't even do a wipe cause of if I press volume up and power and want to click on wipe after 30 seconds my phone restarts.
[Huawei P8 Guides, News, & Discussion] lesiot:
We need update.app with whole B200, wchich will be seen by system (recovery) as B313.

Mayby somebody konw is it possible to do that extracting, changing files and repackig with HuaweiExtractor?
[Huawei P8 Guides, News, & Discussion] BlackSnow1058:
If I flash to b200 and do the update.app app of b131 on my sdcard Isn't it the same way ?
[Huawei P8 Guides, News, & Discussion] BlackSnow1058:
Well my phone work again I flashed boot und recovery to b200 last worked system and it works again. But can't connect to my provider Vodafone. Hope isn't damaged.
[Huawei P8 Guides, News, & Discussion] 30adi:
Does your phone recognize IMEI? If not, that's why you can't connect to network
[Huawei P8 Guides, News, & Discussion] BlackSnow1058:
Oh :crying: i havn't an IMEI anymore... you are right. What now ?
[Huawei P8 Guides, News, & Discussion] TopperBG:
You have your IMEI on back transparent cover. Follow this guide and I hope you will rewrite it:

http://bicgatephone.blogspot.bg/2014/08/how-to-rewrite-or-repair-imei-on.html
[Huawei P8 Guides, News, & Discussion] BlackSnow1058:
Where the Hell i find "Common data service"
[Huawei P8 Guides, News, & Discussion] 30adi:
Probably this will help you. Good luck! :)

http://www.furiousgold.com/en/news/fc-huawei-module

https://youtu.be/DJT7NeA-ojU
[Huawei P8 Guides, News, & Discussion] BlackSnow1058:
I'm not going to buy something. This have to go without spending Money.
[Huawei P8 Guides, News, & Discussion] 30adi:
Was an ideea. I have never tryed it
[Huawei P8 Guides, News, & Discussion] Wurschtsemml:
Hey guys,

today I unlocked my boot loader and flashed the phone with boot.mg and recovery.mg of the B313 package.

Now i can boot into recovery mode. I wiped all data an loaded the B200.zip on my SD-Card.

Rebooting with force update.

Problem now -> the software installation stuck after 5% and get me a "Software update failed".

Same with B170, B132 and B110.

Any ideas tho solve the problem?
[Huawei P8 Guides, News, & Discussion] madzo:
Hi,guys. I need help. How can I downgrade from b191 to b170.

Should I flash the whole file b170 as zip using the 3 buttons or unzipp it and try with the 2 files : custom and dload?

Thanks
[Huawei P8 Guides, News, & Discussion] 30adi:
There is no way to downgrade, for now. Ask Huawei for a solution. I have asked them, no reply untill now.
[Huawei P8 Guides, News, & Discussion] BlackSnow1058:
Fastboot flash system system.img for a downgrade
[Huawei P8 Guides, News, & Discussion] madzo:
Only the .img from b170 and not the whole rom?

How it's fastboot done?
[Huawei P8 Guides, News, & Discussion] BlackSnow1058:
Try to flash system recovery and boot
[Huawei P8 Guides, News, & Discussion] Wurschtsemml:
Hey,

I got my phone to boot screen with flashed recovery and boot from B110 update.app

Problem now is:

- Phone Info says B200 and don't give me any update option

- can not charge the phone any more (tried any accessory)

Flashing system.img always runs into fails.

Any ideas for charging problem?