Error when trying to update through TWRP - Huawei P9 Lite Questions & Answers

Good morning
Every time I m trying to flash c432b370 or c432b371 with TWRP I get the error in the photo "Failed to mount /cust" and "Failed to mount /system" and I end up with NRD90M test keys .
Anyone knows what I m doing wrong ?

kourkoubas1981 said:
Good morning
Every time I m trying to flash c432b370 or c432b371 with TWRP I get the error in the photo "Failed to mount /cust" and "Failed to mount /system" and I end up with NRD90M test keys .
Anyone knows what I m doing wrong ?
Click to expand...
Click to collapse
What twrp you use?

gtdaniel said:
What twrp you use?
Click to expand...
Click to collapse
I think it's 3.0.2
I used the instructions and files from this thread
https://forum.xda-developers.com/huawei-p9lite/how-to/root-root-recovery-bootloader-unlock-t3457564

kourkoubas1981 said:
I think it's 3.0.2
I used the instructions and files from this thread
https://forum.xda-developers.com/huawei-p9lite/how-to/root-root-recovery-bootloader-unlock-t3457564
Click to expand...
Click to collapse
Is not ok! For flashing Nougat not work!
Twrp must be a twrp modified, such is Meticulous TWRP...

Hi,
i have had the same error. Have used meticulus twrp twrp.
VNS-L21C432B370 still working well.
Ron

RonPo said:
Hi,
i have had the same error. Have used meticulus twrp twrp.
VNS-L21C432B370 still working well.
Ron
Click to expand...
Click to collapse
Even with meticulus twrp I get the same error . Should I do something else like unlocking system ?

kourkoubas1981 said:
Even with meticulus twrp I get the same error . Should I do something else like unlocking system ?
Click to expand...
Click to collapse
What do you mean with onlocking system? You mean onlocking bootloader?
Started your phone after flashing? If yes: How is working your p9 with this firmware?
Mine has no problems. Everything is working very well.
Now i have flashed TWRP for N and rooted with SuperSu.
Ron

Related

ugent help

every flashing using adb or flashtools has failed
adb sideload fails with E:cant mount/cache
flashtool (oem partition)
and i think i messup with the oem partiton. i flash with the kitkat v.54
i am in lolipop non root
i can go to droidmode and recovery but wipe and factory reset always fails with E:cant mount........
i have tried every bit of available solutions . plz help
please tell me with something effective
fastboot flash recovery recovery.img
........................................
.....................................
.................................... don't work during sideload it fails
is the zenfone 5 section dead here on xda? there are too many queries left unanswered, this is still such a good phone though
adb sideload ?
u'll never success !
u just need to unlock bootloader
go study this thread http://forum.xda-developers.com/zenfone-5/general/recovery-twrp-2-8-6-0-asus-zenfone-5-t3136263
and give it a try u can read thru from
page to page !
I'm a noob on this zenfone 5
after 4th day success unlock bootloader
and flash any rom o like !
but there will still have problem
with TWRP for flashing ROMs
zenfone 5 TWRP not universer !
u need to tackle by ur self !
done everything but failed to mount is the ans
failed to mount is the final result
gradd said:
is the zenfone 5 section dead here on xda? there are too many queries left unanswered, this is still such a good phone though
Click to expand...
Click to collapse
i don't know what else i can do sideload cant be done
E:failed to mount(invalid argument)
if you can help me please
akatsuki oinam said:
i don't know what else i can do sideload cant be done
E:failed to mount(invalid argument)
if you can help me please
Click to expand...
Click to collapse
it seems you lost root. are you using custom recovery? if not, you may try debricking thread, as a last resort. if its stock recovery. it looks lije its borked
http://forum.xda-developers.com/zenfone-5/help/debrick-asus-zenfoen-5-fastboot-t3377455
gradd said:
it seems you lost root. are you using custom recovery? if not, you may try debricking thread, as a last resort. if its stock recovery. it looks lije its borked
http://forum.xda-developers.com/zenfone-5/help/debrick-asus-zenfoen-5-fastboot-t3377455
Click to expand...
Click to collapse
i try the method but sadly it gives the same command
akatsuki oinam said:
i try the method but sadly it gives the same command
Click to expand...
Click to collapse
consider yourself lucky coz you can get past droidboot, if you can sideload, there's an alternate method to flash stock .raw firmware thru xfstk. im still stuck at intel logo, no progress just yet since December 8 and no droidboot
gradd said:
consider yourself lucky coz you can get past droidboot, if you can sideload, there's an alternate method to flash stock .raw firmware thru xfstk. im still stuck at intel logo, no progress just yet since December 8 and no droidboot
Click to expand...
Click to collapse
xfstk.im how? can i check
akatsuki oinam said:
xfstk.im how? can i check
Click to expand...
Click to collapse
sure! i found it outside xda, its for both variants of zen5.
https://www.google.com/amp/s/andrewbenedictus.wordpress.com/2016/02/15/how-to-unbrick-asus-zenfone-5-stuck-on-intel-logo/amp/?client=ms-android-pantech
gradd said:
sure! i found it outside xda, its for both variants of zen5.
https://www.google.com/amp/s/andrewbenedictus.wordpress.com/2016/02/15/how-to-unbrick-asus-zenfone-5-stuck-on-intel-logo/amp/?client=ms-android-pantech
Click to expand...
Click to collapse
after using the flashtool
flash image failure(FAILURE(remote:unknown OEM command))
what can be done more:crying::crying::crying:
Hello! I'm new to you at xda
I am having this same problem on my asus zenfone 5 (a501cg), when I clear the partiques cache / data or facrore reset, it shows the following. "E: cant mount / cache / recovery / last_update-log".
I would like and help, but I have not found a solution yet:confuso:
-benzóico.

I stuck in bootlogo when booting into custom rom

I tried to unlock my bootloader with the Asus official unlock tool. But failed to unlock then I used this method [url]https://forum.xda-developers.com/zenfone-2-laser/general/guide-unlock-bootloader-asus-unlock-app-t3405850[/URL] to unlock my bootloader and successfully unlocked my bootloader. Then I installed twrp using fastboot. I saw an error in my twrp which is -failed to mount/factory invalid argument. After all of these I installed custom rom and gapps successfully (I wiped cache after installation) then I reboot my device and my device was stuck in boot logo. I waited more than 30mins but nothing happened. No matter which rom I tried but had to face the same problem every time.
Is the twrp errors the main problem of my bootloop?
If it then how to fix it ?
Please help me I posted here with lots of hope. I hope I'll find a
good suggestion which might help me out. I don't want to stay in marshmallow anymore please help me ??.
Please forgive me for my English.
foysal04 said:
I tried to unlock my bootloader with the Asus official unlock tool. But failed to unlock then I used this method https://forum.xda-developers.com/ze...de-unlock-bootloader-asus-unlock-app-t3405850 to unlock my bootloader and successfully unlocked my bootloader. Then I installed twrp using fastboot. I saw an error in my twrp which is -failed to mount/factory invalid argument. After all of these I installed custom rom and gapps successfully (I wiped cache after installation) then I reboot my device and my device was stuck in boot logo. I waited more than 30mins but nothing happened. No matter which rom I tried but had to face the same problem every time.
Is the twrp errors the main problem of my bootloop?
If it then how to fix it ?
Please help me I posted here with lots of hope. I hope I'll find a
good suggestion which might help me out. I don't want to stay in marshmallow anymore please help me ??.
Please forgive me for my English.
Click to expand...
Click to collapse
flash asus stock rom using twrp via back2stock.
then flash custom rom again
mg712702 said:
flash asus stock rom using twrp via back2stock.
then flash custom rom again
Click to expand...
Click to collapse
But how do I fix the error of my twrp ?
foysal04 said:
But how do I fix the error of my twrp ?
Click to expand...
Click to collapse
Flash the latest twrp and try
Lazynestor said:
Flash the latest twrp and try
Click to expand...
Click to collapse
I flashed the latest one but still getting the same error.
foysal04 said:
I flashed the latest one but still getting the same error.
Click to expand...
Click to collapse
Mount system and clear cache .
Lazynestor said:
Mount system and clear cache .
Click to expand...
Click to collapse
Did that too but nothing happened.
I think it is the problem of factory.
foysal04 said:
I tried to unlock my bootloader with the Asus official unlock tool. But failed to unlock then I used this method [url]https://forum.xda-developers.com/zenfone-2-laser/general/guide-unlock-bootloader-asus-unlock-app-t3405850[/URL] to unlock my bootloader and successfully unlocked my bootloader. Then I installed twrp using fastboot. I saw an error in my twrp which is -failed to mount/factory invalid argument. After all of these I installed custom rom and gapps successfully (I wiped cache after installation) then I reboot my device and my device was stuck in boot logo. I waited more than 30mins but nothing happened. No matter which rom I tried but had to face the same problem every time.
Is the twrp errors the main problem of my bootloop?
If it then how to fix it ?
Please help me I posted here with lots of hope. I hope I'll find a
good suggestion which might help me out. I don't want to stay in marshmallow anymore please help me .
Please forgive me for my English.
Click to expand...
Click to collapse
I got the same problem but error was in /asdf partition. So after wiping that my problem got solved.
You also try wiping everything except internal storage and SD card. Then install rom and gapps and check. :good:

Huawei p10 lite system update while root

Hi, everyone!
Today i recived a system update, I press quick update but then twrp starts and when I reboot, a notification says "system update failed" (or somthing like this), how can I update?
topongo said:
Hi, everyone!
Today i recived a system update, I press quick update but then twrp starts and when I reboot, a notification says "system update failed" (or somthing like this), how can I update?
Click to expand...
Click to collapse
otas doesn't work with custom recovery installed, yes or yes you need sotck recovery, maybe you try with firmware finder.
Here is the stock recovery. Flash this, then U will be able to update. After that U can re-flash TWRP
https://drive.google.com/open?id=0B38rwPwR6EtKdDdDQTNrbW81Mk0
thank you very much, I will do this tomorrow
topongo said:
thank you very much, I will do this tomorrow
Click to expand...
Click to collapse
Better flash TWRP to erecovery, always)
topongo said:
thank you very much, I will do this tomorrow
Click to expand...
Click to collapse
Did it work for you?
Belgas14 said:
Did it work for you?
Click to expand...
Click to collapse
sorry, I was inactive for a while. Yes, it worked, I flashed with success and updated but when I tried to reflash twrp the terminal say "flash failed" "permission denied" or something. I tried to relock and unlock bootloader but nothing...
Hi everyone, recently I downloaded the latest update from huawei system updater and then I wanted to flash it with flashfire but when it restarts it says "check_write_data_to_partition,write data error" and "update_huawei_pkg_from_ota_zip: update package from zip failed" then it reboot normaly without system changes, what can I do?
edit:
in the head of the log it says olso:
"mountencrypt: failed to mount /data: success"
It's pretty ambiguous...
topongo said:
Hi everyone, recently I downloaded the latest update from huawei system updater and then I wanted to flash it with flashfire but when it restarts it says "check_write_data_to_partition,write data error" and "update_huawei_pkg_from_ota_zip: update package from zip failed" then it reboot normaly without system changes, what can I do?
edit:
in the head of the log it says olso:
"mountencrypt: failed to mount /data: success"
It's pretty ambiguous...
Click to expand...
Click to collapse
Unlocked bootloader, custom recovery?
nemanjsb said:
Unlocked bootloader, custom recovery?
Click to expand...
Click to collapse
yeah TWRP
topongo said:
yeah TWRP
Click to expand...
Click to collapse
With twrp u can't install update u need stock recovery. Try to boot in erecovery and press download last recovery and then reboot in recovery.
nemanjsb said:
With twrp u can't install update u need stock recovery. Try to boot in erecovery and press download last recovery and then reboot in recovery.
Click to expand...
Click to collapse
I'm trying to install update through flashfire and not twrp or system recovery
Armin.K said:
Here is the stock recovery. Flash this, then U will be able to update. After that U can re-flash TWRP
https://drive.google.com/open?id=0B38rwPwR6EtKdDdDQTNrbW81Mk0
Click to expand...
Click to collapse
Can we use twrp to flash the stock recovery or must your pc with ADB ?
nainaabd said:
Can we use twrp to flash the stock recovery or must your pc with ADB ?
Click to expand...
Click to collapse
I used my pc with "fastboot".
I don't think is possible to flash stock recovery from a custom recovery
topongo said:
I used my pc with "fastboot".
I don't think is possible to flash stock recovery from a custom recovery
Click to expand...
Click to collapse
Thank you .

Update.zip

hello, i have a P9 lite from 2016 + twrp. how do i install an update 'update.zip'?
toto6976 said:
hello, i have a P9 lite from 2016 + twrp. how do i install an update 'update.zip'?
Click to expand...
Click to collapse
Hello dude,
sorry but you should post more info about your device...
What is your complete firmware ? ( settings > device info... example VNS-L31C432B381 )
Which update would you like to do ? A simple update of your firmware ?
Which TWRP version do you have ?
Twrp Elite 3.2.1-0
The firmware is not original. I installed the C432B414 a while ago but I don't know how ...
The proposed update weighs 2 GB. it's the C432B418-Full.
EMUI 5.0.3. Android 7
I don't know the difference between a simple update or a firmware update. I would only like to install the proposed 'update.zip' file.
toto6976 said:
Twrp Elite 3.2.1-0
The firmware is not original. I installed the C432B414 a while ago but I don't know how ...
The proposed update weighs 2 GB. it's the C432B418-Full.
EMUI 5.0.3. Android 7
I don't know the difference between a simple update or a firmware update. I would only like to install the proposed 'update.zip' file.
Click to expand...
Click to collapse
Mmm, does not original firmware mean ?
You didn't said but i bet your device is L31, isn't it ?
Updates won't install via TWRP and "only" update.zip, you must use HuRUpdater...
Are your firmware 100% working ? If yes, i suggest to use
TWRP 3.1.1-1 by HassanMirza01 then to follow the procedure
in the HuRUpdater appropriate thread.
That's it. If you need some further info just tell.
Cheers
Yes, it's L31.
Hello,
I think I already have the TWRP version of HassanMirza installed. I will check this morning.
The firmware is not original indeed. This is an update that I had installed. In the meantime, I have lost the bootloader unlock code. Do you know if there is a way to retrieve it from the mobile since it is currently unlocked?
Hello,
How do I replace my current TWRP with that of HassanMirza? I put it on SD card and I flash it?
If it doesn't work, what will happen?
Brick?
I'm going to do a 'nandroid backup'. Via adb, is it possible? with the command 'adb backup --twrp'?
toto6976 said:
Yes, it's L31.
Hello,
I think I already have the TWRP version of HassanMirza installed. I will check this morning.
The firmware is not original indeed. This is an update that I had installed. In the meantime, I have lost the bootloader unlock code. Do you know if there is a way to retrieve it from the mobile since it is currently unlocked?
Click to expand...
Click to collapse
toto6976 said:
Hello,
How do I replace my current TWRP with that of HassanMirza? I put it on SD card and I flash it?
If it doesn't work, what will happen?
Brick?
Click to expand...
Click to collapse
toto6976 said:
I'm going to do a 'nandroid backup'. Via adb, is it possible? with the command 'adb backup --twrp'?
Click to expand...
Click to collapse
Heyho
3.2.1-0 TWRP have some issues and it's not guaranteed it will 100% work,
that's because i suggested you to install 3.1.1-1 version...
I don't know how to retrieve the code, maybe you'll need to pay 4€
and use DC unlocker to read it again...
If you will use HuRUpdater and ( suggested ) keep the TWRP,
your bootloader will not be re-locked.
Your current TWRP can be replaced flashing it into the recovery.
How to do it ? Place the TWRP into your SD card, reboot recovery,
tap install, then in the bottom right tap install image, select your 3.1.1-1 TWRP.
Next tap on recovery partition and swipe to flash.
When finished reboot recovery to verify if it's really changed.
There is no reason why it shouldn't work.
I don't know about adb, you can try... but i think you can do a
nandroid backup rebooting into recovery and
selecting every partition you see...
Beware using 3.2.1-0 TWRP, as i told you it could cause unexpected issues.. :cyclops:
P.S.: a good rule before making a nandroid backup or attempting an
update/downgrade/switch ROM are
to remove all the security of the device..
fingerprint and / or password and / or pattern.
Dadditz said:
Your current TWRP can be replaced flashing it into the recovery.
How to do it ? Place the TWRP into your SD card, reboot recovery,
tap install, then in the bottom right tap install image, select your 3.1.1-1 TWRP.
Next tap on recovery partition and swipe to flash.
When finished reboot recovery to verify if it's really changed.
There is no reason why it shouldn't work.
Click to expand...
Click to collapse
Good evening,
I went to see for the TWRP of HassanMirza. This is version 3.2.1. Why are you telling me to take 3.1.1.1 ??
I finally found version 3.1.1.1 on the xda page of HassanMirza. I install it tomorrow. We will see if it goes well because in fair I downgrade from 3.2.1 to 3.1.1 !?
I found the link I followed to install the LC432B414 version:
https://www.stechguide.com/huawei-p9-lite-b413-b414-nougat-update/
I keep it under the elbow if it goes wrong ...
I forgot to say that, if it is possible, I would like to keep the root and the OTA updates ... Is (this possible ??
toto6976 said:
Good evening,
I went to see for the TWRP of HassanMirza. This is version 3.2.1. Why are you telling me to take 3.1.1.1 ??
I finally found version 3.1.1.1 on the xda page of HassanMirza. I install it tomorrow. We will see if it goes well because in fair I downgrade from 3.2.1 to 3.1.1 !?
I found the link I followed to install the LC432B414 version:
https://www.stechguide.com/huawei-p9-lite-b413-b414-nougat-update/
I keep it under the elbow if it goes wrong ...
I forgot to say that, if it is possible, I would like to keep the root and the OTA updates ... Is (this possible ??
Click to expand...
Click to collapse
Hi,
sorry, you installed B414 firmware in your phone using that guide ?
If yes, which recovery did you used ?
Are your current ( B414 ) firmware 100% working ?
As i know firmwares cannot be flashed that way, that's because some
DEVs started create scripts capable to do that and because
i suggested you to use HuRUpdater method..
Anyway the device are in your hands and you can do anything you want...
Ahmmm, for your latest question, as i know, flashing a firmware will erase
the root ( not necessarily the recovery ), but you can easily reflash it...
Cheers
sorry, you installed B414 firmware in your phone using that guide ?
Click to expand...
Click to collapse
Yes. This is the reason why I needed the bootloader code because I believe it had deleted TWRP after the flash.
If yes, which recovery did you used ?
Click to expand...
Click to collapse
TWRP Elite 3.2.1, The one that is currently installed I believe.
Are your current ( B414 ) firmware 100% working ?
Click to expand...
Click to collapse
I don't know what it means and what I can measure it with?
i suggested you to use HuRUpdater method..
Click to expand...
Click to collapse
This is what I intend to do by putting in it the twrp of Hassan after having flashed it on my mobile
as i know, flashing a firmware will erase
the root ( not necessarily the recovery ), but you can easily reflash it...
Click to expand...
Click to collapse
Precisely, currently installed root is 'super su'. But I had to remove it because too many problems with some application. I was wondering if 'Magisk' works on this mobile? And if so which version?
I would like to recover my bootloader code before doing any manipulations in case it goes wrong. My mobile is unlocked but no longer root. I tried this command but it doesn't work:
adb devices
adb shell
su -c "grep -m1 -aoE 'WVLOCK. {14} [0-9] {16}' / dev / block / mmcblk0p7 | grep -aoE '[0-9] {16}'"
How can I recover this code which is on my mobile since it is unlocked?
toto6976 said:
Yes. This is the reason why I needed the bootloader code because I believe it had deleted TWRP after the flash.
Click to expand...
Click to collapse
That's strange (at least for me)
toto6976 said:
Elite 3.2.1, The one that is currently installed I believe.
Click to expand...
Click to collapse
Yep, really strange (at least for me)
toto6976 said:
I don't know what it means and what I can measure it with?
Click to expand...
Click to collapse
I meant if " everything " is working into the device...
toto6976 said:
This is what I intend to do by putting in it the twrp of Hassan after having flashed it on my mobile
Click to expand...
Click to collapse
Ok, i never used the method you wrote into the guide you posted above...
toto6976 said:
Precisely, currently installed root is 'super su'. But I had to remove it because too many problems with some application. I was wondering if 'Magisk' works on this mobile? And if so which version?
Click to expand...
Click to collapse
You have to check, i don't have that device anymore...
toto6976 said:
I would like to recover my bootloader code before doing any manipulations in case it goes wrong. My mobile is unlocked but no longer root. I tried this command but it doesn't work:
adb devices
adb shell
su -c "grep -m1 -aoE 'WVLOCK. {14} [0-9] {16}' / dev / block / mmcblk0p7 | grep -aoE '[0-9] {16}'"
How can I recover this code which is on my mobile since it is unlocked?
Click to expand...
Click to collapse
Sorry, i don't know how and i don't know if it's possible...
Hello, update successfully
Nos, i would like to know how to install magisk and, if IR is possible, wich version to take ?
Thank you
toto6976 said:
Hello, update successfully
Nos, i would like to know how to install magisk and, if IR is possible, wich version to take ?
Thank you
Click to expand...
Click to collapse
Hi, that's a good news for you...
For magisk you should go in his main thread, then hit on the
Magisk's GitHub Page link.
I don't know which version, you have to try by yourself.
Download the installer (multiple versions, ex. 20.4 & 20.3 & 19.4), the uninstaller and the apk.
Flash the uninstaller into the twrp if something goes wrong.
Follow the installation guides...
Good luck.

TWRP Error installing zip file

Hello,
I got the error " error installing zip file " while a try to flash oos 11.1.2.2.
I try sideload instead by it Failed instantly. I tried to format data and wipe without any change. I also tried to boot other version of TWRP (I currently use a custom version of TWRP 3.6.0), but I always got a Crash Dump error.
I was able to install rom with this version of TWRP before and I have wanted to install PixelExperience but I have forgotten to flash oos 11.1.2.2 before and i think is that witch broken TWRP.
I also tried to reinstall TWRP.
Any ideas on this?
wiiznokes2 said:
Hello,
I got the error " error installing zip file " while a try to flash oos 11.1.2.2.
I try sideload instead by it Failed instantly. I tried to format data and wipe without any change. I also tried to boot other version of TWRP (I currently use a custom version of TWRP 3.6.0), but I always got a Crash Dump error.
I was able to install rom with this version of TWRP before and I have wanted to install PixelExperience but I have forgotten to flash oos 11.1.2.2 before and i think is that witch broken TWRP.
I also tried to reinstall TWRP.
Any ideas on this?
Click to expand...
Click to collapse
I had that error before from a bad copy of oos. I would download it again and copy to USB again if that's what you're using. Also use this twrp to fastboot boot it works I actually just had to do it a min ago.
Brettroth said:
I had that error before from a bad copy of oos. I would download it again and copy to USB again if that's what you're using. Also use this twrp to fastboot boot it works I actually just had to do it a min ago.
Click to expand...
Click to collapse
Thank you, I will try that. Can you send me a link of oos that I should install, I'm not sure if it's that one https://www.oneplus.com/fr/support/softwareupgrade/details?code=PM1574156215016 .
Also, shoud I use "flash current TWRP" before flashing the ROM?
wiiznokes2 said:
Thank you, I will try that. Can you send me a link of oos that I should install, I'm not sure if it's that one https://www.oneplus.com/fr/support/softwareupgrade/details?code=PM1574156215016 .
Also, shoud I use "flash current TWRP" before flashing the ROM?
Click to expand...
Click to collapse
Yeah definitely flash current twrp first. The oos you used is not the latest I'll just upload it. The latest and last ever update from OnePlus is 11.1.2.2
Brettroth said:
Yeah definitely flash current twrp first. The oos you used is not the latest I'll just upload it. The latest and last ever update from OnePlus is 11.1.2.2
Click to expand...
Click to collapse
That worked, thank a lot!
wiiznokes2 said:
That worked, thank a lot!
Click to expand...
Click to collapse
You're welcome

Resources