Problems with flash firmware - P8 Lite (2017) Discussion

Hello to all. Sorry for my English, I do not speak it very well. I have a p8 lite 2017 and I'm trying to flash a stock firmware downloaded from firmware finder. My problem is this: when I try to flash 2 of the 3 files (update.zip, full.zip), the twrp gives me an error and in particular
Updating partition details ....
........ done
Full SELinux support is present.
MTP Enabled
Installing zip file '/external_sd/update.zip'
Cheking for MD5 file found .....
Skipping MD5 check: no MD5 file found
mountencrypt: failed to mount / data: No such file or directory
Removing unneeded files ...
Removing empty directorys ....
add link type file ...
write radio image ...
check_write_data_to_partition, write data error
E: UNKNOWN COMMAND (ERRNO) (in red)
update_huawei_pkg_from_ota_zip: update package from zip failed
UPDATER PROCESS ENDED WITH ERROR: 7
ERROR INSTALLING ZIP FILE '/EXTERNAL_SD/UPDATE.ZIP' (in red)
Updating partition details ....
..... done
I can not solve the problem. I also changed twrp, but nothing has changed.
At the moment I can not turn on the phone because it is stopped on the screen "your device is booting ..."
I hope you can help me, I'm going crazy.
thank you so much

alex'82 said:
Hello to all. Sorry for my English, I do not speak it very well. I have a p8 lite 2017 and I'm trying to flash a stock firmware downloaded from firmware finder. My problem is this: when I try to flash 2 of the 3 files (update.zip, full.zip), the twrp gives me an error and in particular
Updating partition details ....
........ done
Full SELinux support is present.
MTP Enabled
Installing zip file '/external_sd/update.zip'
Cheking for MD5 file found .....
Skipping MD5 check: no MD5 file found
mountencrypt: failed to mount / data: No such file or directory
Removing unneeded files ...
Removing empty directorys ....
add link type file ...
write radio image ...
check_write_data_to_partition, write data error
E: UNKNOWN COMMAND (ERRNO) (in red)
update_huawei_pkg_from_ota_zip: update package from zip failed
UPDATER PROCESS ENDED WITH ERROR: 7
ERROR INSTALLING ZIP FILE '/EXTERNAL_SD/UPDATE.ZIP' (in red)
Updating partition details ....
..... done
I can not solve the problem. I also changed twrp, but nothing has changed.
At the moment I can not turn on the phone because it is stopped on the screen "your device is booting ..."
I hope you can help me, I'm going crazy.
thank you so much
Click to expand...
Click to collapse
After having a soft-brick I followed this instructions:
https://forum.xda-developers.com/p8...ck-rom-huawei-prague-pra-xxxc432b182-t3727816
My phone is running without problems

Related

Wierd TWRP Error

So after some messing around today with one of the cm12 builds, everytime I try to do anything in twrp I get the error "E: Unable to stat ' /data/power_supply_logger/power_supply_info.bin' " and i have no idea how to solve it. The only effect it seems to have is it makes restoring and backing up data fail at the last second (although as far as I can tell all of the data makes it). The error is always right after "updating partition details". I've tried reflashing 2 or three different versions of twrp (2.7.1.1, 2.6.3.1, and 2.8.1) as well as restoring stock vzw firmware through rsd lite as well as the gpe rom to no avail. Any help would be greatly appreciated.
Also, when flashing cm12, i get "mount: failed to mount /dev/block/platform/msm_sdcc. 1/by-name/userdata at /data: Device or resource busy"
StATicxTW0T said:
So after some messing around today with one of the cm12 builds, everytime I try to do anything in twrp I get the error "E: Unable to stat ' /data/power_supply_logger/power_supply_info.bin' " and i have no idea how to solve it. The only effect it seems to have is it makes restoring and backing up data fail at the last second (although as far as I can tell all of the data makes it). The error is always right after "updating partition details". I've tried reflashing 2 or three different versions of twrp (2.7.1.1, 2.6.3.1, and 2.8.1) as well as restoring stock vzw firmware through rsd lite as well as the gpe rom to no avail. Any help would be greatly appreciated.
Also, when flashing cm12, i get "mount: failed to mount /dev/block/platform/msm_sdcc. 1/by-name/userdata at /data: Device or resource busy"
Click to expand...
Click to collapse
I have the same problem with my moto g falcon XT1032.
Wen I try to flash CM 12 he gives the same error.
BinBug said:
I have the same problem with my moto g falcon XT1032.
Wen I try to flash CM 12 he gives the same error.
Click to expand...
Click to collapse
The first error or the second? I've narrowed the first down to a missing file in my data folder. Unfortunately rsd'ing doesn't help. If anyone'd be willing to upload it for me that'd be awesome. It's the bin file in /data/power_supply_logger/
The first error or the second error
StATicxTW0T said:
The first error or the second? I've narrowed the first down to a missing file in my data folder. Unfortunately rsd'ing doesn't help. If anyone'd be willing to upload it for me that'd be awesome. It's the bin file in /data/power_supply_logger/
Click to expand...
Click to collapse
Wen I try to flash te ROM he give me this:
Code:
Installing 'data/media/0/sideload.zip" ...
Checking for MD5 file ...
Skipping MD3 check : no MD5 file found
mont: failed to mount /dev/block/platform.msm_sdcc.1/by-name/userdata at /data: devices or resource busy
unmount of /data failed (-1): Devices or resource busy
E: Error Exexuting updater binary in zip ' /data/media/0/sideload.zip"
You say that i most change the bin file in /data/power_supply_logger/, but how?
link to rom that i use : CM12 for flacon
BinBug said:
Wen I try to flash te ROM he give me this:
Code:
Installing 'data/media/0/sideload.zip" ...
Checking for MD5 file ...
Skipping MD3 check : no MD5 file found
mont: failed to mount /dev/block/platform.msm_sdcc.1/by-name/userdata at /data: devices or resource busy
unmount of /data failed (-1): Devices or resource busy
E: Error Exexuting updater binary in zip ' /data/media/0/sideload.zip"
You say that i most change the bin file in /data/power_supply_logger/, but how?
link to rom that i use : CM12 for flacon
Click to expand...
Click to collapse
That error is caused by the version of TWRP you are using. Something about different versions and different updater scripts. Some have had sucess with 2.8.1, some with 2.6.3.1 and some with 2.7.1.1. You will need to try all three until you find the one that works for you. Do not touch the power supply file, that's whats causing my first error. Somehow it got deleted, and restoring to complete stock does not replace it, thats why i need someone to upload theirs.

E: unable to stat '/data/system/recent_tasks/16_task.xml

Hi Guys
I already unlock my fone, but at firt time that I try to install a new room a error messagem shows like this:
Installing '/sdcar1/'......
checking for MD5 file.....
Skipping MD5 check: no MD5 file not found
Error flashing zip ''/sdcard1/'.....
updating partitions detais.....
E: unable to stat '/data/system/recent_tasks/16_task.xml
done.....
Failed!
BinhoDigital said:
Hi Guys
I already unlock my fone, but at firt time that I try to install a new room a error messagem shows like this:
Installing '/sdcar1/'......
checking for MD5 file.....
Skipping MD5 check: no MD5 file not found
Error flashing zip ''/sdcard1/'.....
updating partitions detais.....
E: unable to stat '/data/system/recent_tasks/16_task.xml
done.....
Failed!
Click to expand...
Click to collapse
What rom are u trying to flash?
Plz provide a link
Moto G User said:
What rom are u trying to flash?
Plz provide a link
Click to expand...
Click to collapse
I allready try with stock, cm12, paranoid android and pac man roms...
Im using TWRP 2.8.6.0, in other operations like Wipe data, cache and dalvik give the same message in red:
updating partitions detais.....
E: unable to stat '/data/system/recent_tasks/16_task.xml
done.....
I try to wipe all units, copy the rooms from sdcard again and the message error continue
Solved
Hello friends!!!
The newest version of TWRP ( 2.8.7.0 ) solve my problem!
TKS!

P9 Package checksum error

I received an update on my P9, stock non rooted. When I try to apply the update I receive
"Package checksum error"
I deleted the HuOUC folder and tried again but with no luck.
Rebooting and wiping cache did not help either.
What could be the problem?
Up...
Try with HiSuite, while donwloading files, you can find them in "Documents/HiSuite/ROM/".
When the donwload reach the 100%, copy rapidly the files to another location, you can verify the MD5 checksum in each file included in filelist.xml (file sizes too).
Anyway, if no luck, try with another internet connection.

Huawei GT3 ROM Help [NO OS]

Hi, I saw some threads saying some stuff about the Huawei GT3, but they didnt helped me so Im posting this thread.
I have a huge Problem with my phone.
(Im a Newbie btw)
I wanted to root my phone so I installed TWRP and rebooted (TWRP works btw), now it said "Encryption unsuccessfull"
I looked up on YouTube to look how to fix this and ended up deleting my complete OS
Now I downloaded the Firmware of my Phone and looked how to install it with TWRP and ADB.
When I try to install the "update.zip" File with TWRP it says something like this :
[2017-11-14 08:00:21 623] E:unknown command [errno]
dload_format_userdata,line=527: dload_format_userdata ok!
script aborted: update_huawei_pkg_from_ota_zip: update package from zip failed
update_huawei_pkg_from_ota_zip: update package from zip failed
Updater process ended with ERROR: 7
I:Legacy property environment disabled.
I:Install took 0 second(s).
Error installing zip file '/data/update.zip'
I also tried to delete the "assert" parts in the updater-script file but it also didnt work.
Now I heard about the "dload" Method but I have some questions about that
1. Where is the dload folder exactly
2. When I try to move the folder cointaining the "update.zip" to as expample root It says not enough space on device (which Is not true) or something like this :
Running command: 'mv "/data/update.zip" "/root"'
mv: write error: No space left on device
mv "/data/update.zip" "/root" process ended with ERROR: 1
Do I maybe have the wrong ROM or something?
Please help me . (or try )
Check the dload guide in my signature. You will know everything. Let me know if any questions or doubts, will help. Dont worry twrp error is normal as these zips shouldn't be flashed with twrp
shashank1320 said:
Check the dload guide in my signature. You will know everything. Let me know if any questions or doubts, will help. Dont worry twrp error is normal as these zips shouldn't be flashed with twrp
Click to expand...
Click to collapse
Hi! Thanks for your reply!
I bought myself a Micro-SD card and extraced the ZIP like in your tutorial, and its working!
Its installing right now!
But I wanted to say something..first thank you very much and second the Russian Website you provided gave me the wrong package, this was the right one :
skyneel.com/huawei-gt3-nougat
niclasdriver said:
Hi! Thanks for your reply!
I bought myself a Micro-SD card and extraced the ZIP like in your tutorial, and its working!
Its installing right now!
But I wanted to say something..first thank you very much and second the Russian Website you provided gave me the wrong package, this was the right one :
skyneel.com/huawei-gt3-nougat
Click to expand...
Click to collapse
There are many ways to get firmware but the best part it worked and successful. Enjoy buddy.

HELP - No OS Installed

Hi all,
I was having charging issues so I decided to wipe the phone and flash stock ROM (S2_X520-CN-FN-IEXCNFN5902605131S-5.9.026S) but the installer keeps coming back with
Updater process ended with ERROR: 7
Error installing zip file 'sdcard/S2_X520-CN-FN-IEXCNFN5902605131S-5.9.026S.zip'
Trying again returns with the following error message
Checking for Digest file...
Skipping Digest check: no digest file found
This package is for "le_s2" devices: this is a "s2"
Updater process ended with ERROR: 7
Error installing zip file 'sdcard/S2_X520-CN-FN-IEXCNFN5902605131S-5.9.026S.zip'
This is the only ROM I have on the Internal Storage and unable to
Mount -> USB-OTG - option does not turn on
ADB Sideload - keep getting "USB Device not Recognized" on the computer and Failed message on the phone
QFIL - No Port Available
Any help will be appreciated.
Thanks

Categories

Resources