ERROR MODE Func NO : 11 (recovery image) Error No : 2 (load failed) - P8lite Q&A, Help & Troubleshooting

I was trying to update my PRA-LA1 to Oreo. I rebranded my phone to China ROM successfully then I tried flashing the Oreo ROM and I got the above mentioned error. I can boot into fastboot but I can't boot into TWRP. If I try flashing recovery or boot it says partition length get error. Please help restore my device.

Tino_M said:
I was trying to update my PRA-LA1 to Oreo. I rebranded my phone to China ROM successfully then I tried flashing the Oreo ROM and I got the above mentioned error. I can boot into fastboot but I can't boot into TWRP. If I try flashing recovery or boot it says partition length get error. Please help restore my device.
Click to expand...
Click to collapse
The recovery partition in Oreo is recovery_ramdisk, try flashing your TWRP (make sure it is Oreo supported) to recovery_ramdisk partition. Also your thread is in wrong forum. And before doing anything to your device, make sure you read instructions properly.

marstonpear said:
The recovery partition in Oreo is recovery_ramdisk, try flashing your TWRP (make sure it is Oreo supported) to recovery_ramdisk partition. Also your thread is in wrong forum. And before doing anything to your device, make sure you read instructions properly.
Click to expand...
Click to collapse
Thanks but I already tried that.

Tino_M said:
I was trying to update my PRA-LA1 to Oreo. I rebranded my phone to China ROM successfully then I tried flashing the Oreo ROM and I got the above mentioned error. I can boot into fastboot but I can't boot into TWRP. If I try flashing recovery or boot it says partition length get error. Please help restore my device.
Click to expand...
Click to collapse
is your frp locked?phone locked on fastboot?

Tino_M said:
I was trying to update my PRA-LA1 to Oreo. I rebranded my phone to China ROM successfully then I tried flashing the Oreo ROM and I got the above mentioned error. I can boot into fastboot but I can't boot into TWRP. If I try flashing recovery or boot it says partition length get error. Please help restore my device.
Click to expand...
Click to collapse
try this firmware with dload flash manually
http://androidhost.ru/K5
extract the zip file from the link below
put the dload file( update.app + hw. eu ) folder in memory card
press 3 button of device then let him update
i try it and it successfully restore my nougat rom from oreo update

player98343 said:
is your frp locked?phone locked on fastboot?
Click to expand...
Click to collapse
I get the same errors and I have my frp locked, while the bootloader is unlocked

Try my guide:
https://forum.xda-developers.com/p8...uide-brick-huawei-p8-lite-2017-maybe-t3816694

Related

Unable to flash TWRP (remote: dtb not found)

When I try to flash TWRP (via "fastboot flash recovery twrp.img" then "fastboot boot twrp.img") I receive the following error:
Downloading 'boot.img'
OKAY [1.477s]
booting...
FAILED (remote: dtb not found)
finished. total time: 1.534s
I've tried manually booting it into recovery with power button and volume down but it just freezes on the oneplus logo where I have to turn off and on again.
Any help is greatly appreciated!
I found the solution.
For anyone else with this problem
http://forum.xda-developers.com/showpost.php?p=66336492&postcount=3
that link just saved me!
I tried this recovery (I had the same problem as the OP) but although I can boot into twrp, I get stuck on the oneplus logo if I try a normal boot?
Sent from my Nexus 9 using XDA-Developers mobile app
I managed to get it working by flashing CM after flashing the recovery.
Sent from my Nexus 9 using XDA-Developers mobile app
Next time, correct command is the following:
Fastboot flash recovery twrp.img
You tried to flash the recovery image onto the kernel/boot partition, luckily it doesn't allow this, unless it's an actual kernel image fitting that partition. ?
pitrus- said:
Next time, correct command is the following:
Fastboot flash recovery twrp.img
You tried to flash the recovery image onto the kernel/boot partition, luckily it doesn't allow this, unless it's an actual kernel image fitting that partition. ?
Click to expand...
Click to collapse
Actually, fastboot boot twrp.img boots the TWRP image without flashing it.
fastboot flash recovery twrp.img flashes the TWRP image to the recovery partition.
Both are valid commands and have their uses.
fastboot flash boot twrp.img would be the command to try to flash the recovery image to the boot partition and shouldn't be used.
Spannaa said:
fastboot flash boot twrp.img would be the command to try to flash the recovery image to the boot partition and shouldn't be used.
Click to expand...
Click to collapse
That's exactly what I meant to convey.
Similar problem while flashing recovery
hi,
After OOS3.0 installation my OP2`s recovery is not working. i tried installing it again and it shows the error :
FAILED <data Transfer failure <unknown error>>
Please help
bhanuodin said:
hi,
After OOS3.0 installation my OP2`s recovery is not working. i tried installing it again and it shows the error :
FAILED <data Transfer failure <unknown error>>
Please help
Click to expand...
Click to collapse
Are you sure you flashed the correct OOS3 bootloader compatible version of TWRP? Latest official 3.0.0-2 should be compatible.
pitrus- said:
Are you sure you flashed the correct OOS3 bootloader compatible version of TWRP? Latest official 3.0.0-2 should be compatible.
Click to expand...
Click to collapse
how do i flash a bootloader? problem is that i am unable to flash/write on recovery partition. every time it gives the same error mentioned above.
bhanuodin said:
how do i flash a bootloader? problem is that i am unable to flash/write on recovery partition. every time it gives the same error mentioned above.
Click to expand...
Click to collapse
The bootloader (also called fastboot) comes with the original ROM. In your case you're already on the newer bootloader since you flashed OOS3 which means you will have to flash recoverys and ROMs compatible with this newer bootloader.
This TWRP should be compatible
https://dl.twrp.me/oneplus2/twrp-3.0.2-1-oneplus2.img.html
Also you can't run ROMs not compatible with this newer bootloader (which means pretty much any ROM that's not using the official Cyanogenmod source tree for building). That is except for OOS3 or newest HOS of course since these are made for the newer bootloader.
However I would say the error message you get might be caused by bad cable, faulty driver setup, faulty fastboot tool version or in worst case damaged partition layout on phone. The last one can be fixed by the Qualcomm OOS2 factory restore solution.
Hi, i am having the same problem.
some background: I was on Oxygen OS 2.x.x, i wanted to upgrade to Exodus 6. I had the older version of TWRP. So I tryed to install the new twrp image within twrp. When i rebooted i couldnt boot into twrp, receiving the same error message as in OP title, when using fastboot.
Using the tool all in one toolkit I was able to flash stock recovery.
But I still cant flash Twrp.
I can still boot into system though.
Any advice? Thanks.
That explains why you're having problems. You're doing it the wrong way.
First you must upgrade the bootloader by either flashing the convert to Marshmallow zip file which also installs the correct TWRP for the new bootloader (easiest way). Or you could flash the latest official OOS3, then fastboot flash the latest TWRP and from there format system and flash the ROM that's using the newer bootloader.
Does that Link work with oneplus x also? Having same problem as Higgings when trying to install twrp and cyanogenmod.
thnx a lot for sharing
:good:
Higgings said:
I found the solution.
For anyone else with this problem
http://forum.xda-developers.com/showpost.php?p=66336492&postcount=3
Click to expand...
Click to collapse

P9 Lite bricked (L31)

Hi, my problem is with the L31,
I've trying to downgrade from Nougat to MM. I saw on the thread this steps and i followed:
"Fastboot flash boot boot.img
Fastboot flash system system.img
Fastboot flash cust cust.img (This one is in the second zip from badwolf nougat download)
Then I flashed badwolfs recovery b2 as that one lets me transfer files from pc to phone and followed instructions from htcmania from here".
The problem is that i didn't reach to downgrade and when i try to reinstall Nougat by TWRP i get this error messages:
" E: Unknow comand (errno) update_huawei-pkg_from_ota_zip: update package from zip failed"
"Updater process ended with error: 7
Error installing zip file '/external_sd/DLoad/Update.zip'
Updating partition details...
...done"
Now my phone stays freeze on the huawei logo and the flashtool doesn't even recognize my device.
Can someone help me with this matter, please?
try to flash stock recovery and do a factory reset
simo255 said:
try to flash stock recovery and do a factory reset
Click to expand...
Click to collapse
Problem solved.:good:
aalmeida1972 said:
Problem solved.:good:
Click to expand...
Click to collapse
how did you flash a stock recovery please ???
darth_us37 said:
how did you flash a stock recovery please ???
Click to expand...
Click to collapse
I followed the steps that someone advice me. Like above.
"I had to first extract the nougat firmware with huawei firmare extractor and flash everything by fastboot
Fastboot flash boot boot.img
Fastboot flash system system.img
Fastboot flash cust cust.img (This one is in the second zip from badwolf nougat download)
Booth files you can find it in this page.
http://forum.xda-developers.com/huawei-p9lite/development/android-nougat-dev-build-huawei-t3488360/page33"
To flash img. i used the file that i attached.
Good luck
so now i restored twrp , i put the update app in sd card and it doesn't want to flash , i'm still trapped in bootloop but i have access to twrp now what to do now ?
I found the old twrp is okey for downgrade,
Just put b161 update.app into sdcard/dload and press volume down + power key.
but flash badwolf's twrp will get stuck in fastboot, though It's not really bricked.
hi, maybe you also have a solution for my problem.
i installed a wrong update via sd card (dload etc.), now my phone is just black no signal nothing. and it seems like a fastboot loop always when i plug into the pc im in fastboot without doing anything
when i try to unlock the bootloader i get "failed command not allowed")
and also when i try to flash the extracted files from update.zip i get the same error ("failed command not allowed")
by the way i didnt active usb debuggin or oem unlocking
please help thank you

VNS-L21 TIFU - wrote wrong cust.bin and oeminfo - what to do?

So... I tried to get the P9 lite to custom Nougat ROM.
Unlocked bootloader using SRKtool (found here ) and flashed TWRP using the same tool.
Installed SuperSU. Made TWRP backup of all partitions (including cust and oeminfo).
The post suggested that stock Nougat ROM should be installed first, and then the custom ROM. But my model was different than the generic EU, so I thought I should update it, right?
Without much thinking I used the SRKtool again to flash oeminfo/custom.bin, and didn't even make backup of the files
Now my phone thinks it is hi6250 VNS-C432B140.
After boot message "Your device has failed verification and may not work properly." was displayed and boot was interrupted with "Type your password to decrypt storage" prompt. After formatting data partition system boots.
I can't boot into TWRP recovery.
I can't flash any partition with fastboot (Error: FAILED (remote: Command not allowed)).
Any ideas how to get oeminfo back to VNS-L21 and/or restore TWRP backups?

Bricked with fastboot and stock recovery!

Bros!
I am in serious need of help right now.
I could not find the OTA patch for elite roms,so I wiped all the partitions available in twrp except internal storage.
Changed data to ext4.
Flashed stock recovery.img from twrp and proceeded to dload method, it gives an error on 5 percent.
Now i only have stock recovery and fastbooot.
I tried fastboot flashing different images eg recovery,twrp,system,vendor etc but they all give an error of "command not allowed".
(On fastboot screen,it shows: "phone unlocked" and "frp lock")
I tried some guide for solving this error which said to "fastboot oem relock *16 digit code*" but it also gives error : "root type is risk".
I had legend rom installed before starting all this.I wanted to go completely back to stock.But now i have bricked my device with a stock recovery and a fastboot which can apparently get no useful command to work.i have searched all the google for all the the different huawei devices but nothing is working.
Help me please!!!Any and help will be appreciated!!
Model before any moddingRA-LA1
Salman Farooq01 said:
Bros!
I am in serious need of help right now.
I could not find the OTA patch for elite roms,so I wiped all the partitions available in twrp except internal storage.
Changed data to ext4.
Flashed stock recovery.img from twrp and proceeded to dload method, it gives an error on 5 percent.
Now i only have stock recovery and fastbooot.
I tried fastboot flashing different images eg recovery,twrp,system,vendor etc but they all give an error of "command not allowed".
(On fastboot screen,it shows: "phone unlocked" and "frp lock")
I tried some guide for solving this error which said to "fastboot oem relock *16 digit code*" but it also gives error : "root type is risk".
I had legend rom installed before starting all this.I wanted to go completely back to stock.But now i have bricked my device with a stock recovery and a fastboot which can apparently get no useful command to work.i have searched all the google for all the the different huawei devices but nothing is working.
Help me please!!!Any and help will be appreciated!!
Model before any moddingRA-LA1
Click to expand...
Click to collapse
Are you able to flash TWRP?
@dmilz yes, unsuccessfully
Salman Farooq01 said:
@dmilz yes, unsuccessfully
Click to expand...
Click to collapse
What does it say when you
Fastboot flash recovery recovery.IMG
?
Rename TWRP to recovery ( according to my experience, I get error when recovery has other name)..
If that fails use firmware finder to download firmwares..try them all if possible..including different models of the same Honor (in case OEM changed)
dmilz said:
What does it say when you
Fastboot flash recovery recovery.IMG
?
Rename TWRP to recovery ( according to my experience, I get error when recovery has other name)..
If that fails use firmware finder to download firmwares..try them all if possible..including different models of the same Honor (in case OEM changed)
Click to expand...
Click to collapse
"Comman not allowed"
There are 3 files in available to download in ff.How to flash them ?

Brick (error mode) after update_command: only fastboot works.

Hello I wanted to install Oreo on my PRA-LX1 following this guide
https://www.haky86.com/2018/05/12/install-emui-8-0-huawei-p8-lite-2017/
I was on official EMUI Nougat firware, I downloaded LX1C432B322 of 2018.04.13 what he said, installed nocheck recovery and then update_command. Reboot, title, nothing works except fastboot. I re-unlocked the phone with oem unlock and after reboot same.
I tried to flash twrp-3.2.1-v3.5-prague.img again to fix but length error with "fastboot flash recovery"
I tried to flash his OreoTWRP.img with "fastboot flash recovery_ramdisk" and it pass, reboot but I can't boot to recovery.
Pressing VolUp + Power does nothing, "phone can't be trusted" screen with the eRecovery option (VolUp for 3 seconds) but eRecovery is dead (error mode)
Maybe this OreoTWRP worked but how to bot to recovery now ?
please help I can't buy another phone it's urgent...
p181153 said:
Hello I wanted to install Oreo on my PRA-LX1 following this guide
https://www.haky86.com/2018/05/12/install-emui-8-0-huawei-p8-lite-2017/
I was on official EMUI Nougat firware, I downloaded LX1C432B322 of 2018.04.13 what he said, installed nocheck recovery and then update_command. Reboot, title, nothing works except fastboot. I re-unlocked the phone with oem unlock and after reboot same.
I tried to flash twrp-3.2.1-v3.5-prague.img again to fix but length error with "fastboot flash recovery"
I tried to flash his OreoTWRP.img with "fastboot flash recovery_ramdisk" and it pass, reboot but I can't boot to recovery.
Pressing VolUp + Power does nothing, "phone can't be trusted" screen with the eRecovery option (VolUp for 3 seconds) but eRecovery is dead (error mode)
Maybe this OreoTWRP worked but how to bot to recovery now ?
Click to expand...
Click to collapse
I'm not responsible of bricks caused by people since most of them not follow the steps I wrote.
@haky 86 (I'm assuming you were the one who wrote that guide) is the guide for updating from nougat to oreo or updating an Oreo firmware to the latest?
haky 86 said:
I'm not responsible of bricks caused by people since most of them not follow the steps I wrote.
Click to expand...
Click to collapse
Tell me where I said you are responsible of bricks ? I followed the steps you described, If you don't want to help just don't say anything
neondragon1909 said:
@haky 86 (I'm assuming you were the one who wrote that guide) is the guide for updating from nougat to oreo or updating an Oreo firmware to the latest?
Click to expand...
Click to collapse
This is I want to know. He don't said it but I tried to flash oreotwrp from nougat and it said partition error using recovery_ramdisk. And the nocheck didn't work, so I took another nocheck for this TWRP and put the update_package command and then this
I just update my guide, the sample I wrote it was emui 8.x because I'm already at oreo. but procedure is same the only thing change is recovery, on oreo called Recovery Ramdisk on nougat called just recovery, please check the updated article here the screenshot.
haky 86 said:
I just update my guide, the sample I wrote it was emui 8.x because I'm already at oreo. but procedure is same the only thing change is recovery, on oreo called Recovery Ramdisk on nougat called just recovery, please check the updated article here the screenshot.
Click to expand...
Click to collapse
Ok thanks but now I can't do anything on my phone I just have bootloader. How to restore a device which is bricked followed a bad update
p181153 said:
Ok thanks but now I can't do anything on my phone I just have bootloader. How to restore a device which is bricked followed a bad update
Click to expand...
Click to collapse
Download the nougat rom you were on before. Extract update.app to get the recovery. Flash it using fastboot. Then try dload method.
Or flash nougat twrp and try flashing the nougat rom via HuRUpdater
neondragon1909 said:
Download the nougat rom you were on before. Extract update.app to get the recovery. Flash it using fastboot. Then try dload method.
Or flash nougat twrp and try flashing the nougat rom via HuRUpdater
Click to expand...
Click to collapse
Thanks any detailled guides for that so I'll not make the things worst ?
neondragon1909 said:
Download the nougat rom you were on before. Extract update.app to get the recovery. Flash it using fastboot. Then try dload method.
Or flash nougat twrp and try flashing the nougat rom via HuRUpdater
Click to expand...
Click to collapse
I can't flash recovery from update.app of nougat rom. It say partition length error. recovery_ramdisk say partition error...
Can I flash the system.img ? There are fastboot.img in the update.APP. Can I flash recovery after flashing fastboot ?
I need to be sure because if I flash fastboot and lost it my phone will be really dead
p181153 said:
I can't flash recovery from update.app of nougat rom. It say partition length error. recovery_ramdisk say partition error...
Can I flash the system.img ? There are fastboot.img in the update.APP. Can I flash recovery after flashing fastboot ?
I need to be sure because if I flash fastboot and lost it my phone will be really dead
Click to expand...
Click to collapse
Use recovery not recovery_ramdisk
---------- Post added at 07:19 PM ---------- Previous post was at 07:18 PM ----------
p181153 said:
I can't flash recovery from update.app of nougat rom. It say partition length error. recovery_ramdisk say partition error...
Can I flash the system.img ? There are fastboot.img in the update.APP. Can I flash recovery after flashing fastboot ?
I need to be sure because if I flash fastboot and lost it my phone will be really dead
Click to expand...
Click to collapse
Use fastboot flash recovery recovery.img not recovery_ramdisk
neondragon1909 said:
Use recovery not recovery_ramdisk
---------- Post added at 07:19 PM ---------- Previous post was at 07:18 PM ----------
Use fastboot flash recovery recovery.img not recovery_ramdisk
Click to expand...
Click to collapse
I can't flash recovery how to restore my phone using fastboot please
It's urgent if you don't know how to solve that at least tell who can do that I can't let my phone like that I miss everything
p181153 said:
I can't flash recovery how to restore my phone using fastboot please
It's urgent if you don't know how to solve that at least tell who can do that I can't let my phone like that I miss everything
Click to expand...
Click to collapse
Try unlocking bootloader again
neondragon1909 said:
Try unlocking bootloader again
Click to expand...
Click to collapse
bootloader is unlocked... read first post "re-unlocked" the bootloader... I need serious answers. Actually I download a nougat firmware and try this guide
And this guide tell me to extract 4 img files using Huawei Firmware Extractor. I downloaded 2 full OTA firmware and can't find cust.img files...
I just want to restore my phone...
p181153 said:
bootloader is unlocked... read first post "re-unlocked" the bootloader... I need serious answers. Actually I download a nougat firmware and try this guide
And this guide tell me to extract 4 img files using Huawei Firmware Extractor. I downloaded 2 full OTA firmware and can't find cust.img files...
I just want to restore my phone...
Click to expand...
Click to collapse
please help me can't restore my phone when I want to flash boot of a nougat firmware it say partition length error.....
when I want to flash recovery same...
I can't do anything I need my phone it's 3 days already I miss important calls...
This forum is called xda-developers but there are no developers or someone who really know how android works. I can't found anyone who can help me even on other forums. I have access to something which can save my phone but NOBODY know how to use it. How disapointing.
why

Categories

Resources