[Possibly bricked] "Failed to mount /data" & no internal storage - Huawei P9 Lite Questions & Answers

Hello everyone!
I have a P9 lite VNS-L31 running 7.0.1. on EMUI 5.0.2..
However during a factory wipe, it stopped booting correctly and I can't get passed from neither bootloader nor recovery.
I have TWRP Revolution v.260317 (TWRP 3.1.0-0) installed and my main problem is that for some reason the phone says that I have no internal storage whatsoever and if I try to wipe the /data partition it fails to mount it (error: Failed to mount /data (Invalid argument)).
I tried any of the methods in videos titled "how to fix unable to mount /data" (sorry, I cannot post links :/ ) but with no luck.
I can't seem to repair nor resize nor change file system of the /data partition. When trying to repair data using e2fsck it gives out the message:
" /sbin/e2fsck -fp process ended with ERROR: 16"
Any ideas?
I can use recovery and fastboot if necessary.
Regards

flash this twrp ;
https://forum.xda-developers.com/huawei-p9lite/development/twrp-t3588356
give me a thanks if it works

Exiatron00 said:
flash this twrp ;
https://forum.xda-developers.com/huawei-p9lite/development/twrp-t3588356
give me a thanks if it works
Click to expand...
Click to collapse
Well, more or less, but I managed to solve it!
I found out that the reason why it said there was 0mb of internal storage was because the bootloader that was previously unlocked turned itself locked, that's why it couldn't mount the /data partition. I just used SKR Tool to unlock the bootloader and after that yes, I installed that version of TWRP that you linked.
I also found out that the Revolution TWRP installed in the eRecovery partition (/recovery2 ?) instead of the normal recovery partition. What image is supposed to be installed in that partition?

That is the second recovery partition (another recovery) aka huaweis last ditch attempt to fix a broken phone. There's no actually problem if u don't have it-as most of the time (in my experience) its utter garbage, but there's no harm in flashing it if u want.
U can extract it from ur update.app file using huawei update extractor.

Exiatron00 said:
That is the second recovery partition (another recovery) aka huaweis last ditch attempt to fix a broken phone. There's no actually problem if u don't have it-as most of the time (in my experience) its utter garbage, but there's no harm in flashing it if u want.
U can extract it from ur update.app file using huawei update extractor.
Click to expand...
Click to collapse
Yeah, I tried to install the RECOVERY2.img that I extracted from the UPDATE.app and it didn't work so I just didn't bother and installed the TWRP again.
But at least everything is solved!
Thanks

Related

There is still a chance for my MX4 ?

I bricked my phone.
Recovery (philz touch) did not work fine - i cant mount /system, /data, /cache beacuse i have: "error- mounting /data" (or /system, /cache)
What can i do ?
I want to fix my phone. Im going to install stock recovery and flash flyme os 4.0.4I - Is it enough ? or i cant Do this beacuse i have no mounted /system ??
Please help me guys.
Can i mount /system using adb sideload ?
//IMPORTANT EDIT
Little has changed.
I FLASHED STOCK patched recovery from fastboot, after this i installed normal firmware, but i cant turn on system beacuse i HAVE NO MOUNTED /system, /cache, /data
I found a way to fix my phone , i need to load partition images of stock firmware . I can flash it from fastboot. Can you make a backup (partition images) and upload it for me ?? using this app : https://play.google.com/store/apps/details?id=ma.wanam.partitions&hl= ("PARTITIONS BACKUP & RESTORE)
Please :'(
Maagnum154 said:
I bricked my phone.
Recovery (philz touch) did not work fine - i cant mount /system, /data, /cache beacuse i have: "error- mounting /data" (or /system, /cache)
What can i do ?
I want to fix my phone. Im going to install stock recovery and flash flyme os 4.0.4I - Is it enough ? or i cant to this beacuse i have no mounted /system ??
Please help me guys.
/Can i mount /system using adb sideload ?
Click to expand...
Click to collapse
I have this problem to. You have to flash modified stock recovery and then install flyme 4.2.8.2 and repeat the process. It worked for me
DeadAngel43 said:
I have this problem to. You have to flash modified stock recovery and then install flyme 4.2.8.2 and repeat the process. It worked for me
Click to expand...
Click to collapse
No .. i cant.
Okay, i flashed modified stock recovery and installed flyme 4.2.8.2 and whats next ???
I cant boot beacuse i have no mounted /system, /data, /cache ..
Maagnum154 said:
No .. i cant.
Okay, i flashed modified stock recovery and installed flyme 4.2.8.2 and whats next ???
I cant boot beacuse i have no mounted /system, /data, /cache ..
Click to expand...
Click to collapse
No man you need to flash from fastboot the "patched recovery"! From it, you can install normal firmware!! -.-'' read the txt file...
Naphtha said:
No man you need to flash from fastboot the "patched recovery"! From it, you can install normal firmware!! -.-'' read the txt file...
Click to expand...
Click to collapse
I FLASHED STOCK patched recovery from fastboot, after this i installed normal firmware, but i cant turn on system beacuse i HAVE NO MOUNTED /system, /cache, /data
I found a way to fix my phone , i need to load partition images of stock firmware . I can flash it from fastboot. Can you make a backup (partition images) and upload it for me ?? using this app : https://play.google.com/store/apps/details?id=ma.wanam.partitions&hl=
Maagnum154 said:
I FLASHED STOCK patched recovery from fastboot, after this i installed normal firmware, but i cant turn on system beacuse i HAVE NO MOUNTED /system, /cache, /data
I found a way to fix my phone , i need to load partition images of stock firmware . I can flash it from fastboot. Can you make a backup (partition images) and upload it for me ?? using this app : https://play.google.com/store/apps/details?id=ma.wanam.partitions&hl=
Click to expand...
Click to collapse
Sorry i can't help you...actually i have an Ubuntu Touch version Open a new thread
Man news?
Inviato dal mio MX4 utilizzando Tapatalk

How do I flash a ROM on Redmi Note 4G with no OS in it ?

I am able to access only TWRP recovery . Pushed custom rom using adb , but when tried to flash it from TWRP it says " E:Unable to mount '/system' ".There is nothing in internal storage except for TWRP folder. Any way to flash a ROM in this situation .I am also not able to mount System from TWRP recovery .
Nirmal2000 said:
I am able to access only TWRP recovery . Pushed custom rom using adb , but when tried to flash it from TWRP it says " E:Unable to mount '/system' ".There is nothing in internal storage except for TWRP folder. Any way to flash a ROM in this situation .I am also not able to mount System from TWRP recovery .
Click to expand...
Click to collapse
You might want to format system/data using fastboot not by recovery.
Not working
ukanth said:
You might want to format system/data using fastboot not by recovery.
Click to expand...
Click to collapse
Not able to format as it says partition not available
Even tried fastboot Rom.

Recover Stock [unroot] VNS-L31C432B160

I just rooted my P9 lite, installed TWRP from the SRK Guide in here and then saw that Snapchat checks for root.
So now i would like to unroot (doesnt work in SuperSU), install Snapchat, Root und save with TitaniumBackup.
How does the process of returning to stock work? Where do i get my .zip?
I understand that i need to download my full ROM [Firmware Finder APP] but how do i procees further? Do i need to have stock recovery for dload method?
The unroot option in SuperSU does not work? :/
Download the stock firmware from here: https://forum.xda-developers.com/huawei-p9lite/development/stock-firmware-links-t3468245
Extract the dload folder which has the UPDATE.APP inside, put the dload folder in your microSD card, power off the phone, hold power button + volume up + volume down and wait until the installation will start.
This will relock your bootloader and restore the phone to stock firmware.
Does it matter that i have a ****ty twrp installed which doesnt even recognize data partition?
And can i unlock bootloader and root the samw way as before?
Thanks in advance
Wims
You can unlock and root as you already did. Which TWRP are you using?
Potato997 said:
You can unlock and root as you already did. Which TWRP are you using?
Click to expand...
Click to collapse
I had a ****ty one from the Guide with the srktoolkit. Now i updated to TWRP v4 by METICULUS. It works and i can finally see /data/media again.
Does the Phone Off then 3 Button trick go through the Recovery or through what exactly?
I would now do the thing above, then unlock my Bootloader again (i still have the key so it should be easy), install the TWRP by METICULUS, install my apps i need to install without root (Snapchat) , then reboot to twrp and flash newest supersu from chainfire. Finished. Am i right?
Btw i have to say that i was pretty much a flashaholic with tht Galaxy S3, Moto G and OnePlus 2 and it was never this tricky i think :'D
Well TRWP still doesnt get /data. I didn't encrypt anything but Twrp keeps telling me that it cant find it. And when i (select storage) (internal storage) it goes to /emmc...
At first the log says:
Failed to mount '/data' (mounted without encryption)
And the Screenshots were saved to /data/media/Pictures/Scrennshots insted of somwhere in the internal storage...
I fear of having my partitions mixed up somehow because when stock recovery couldn finish wiping cache and data too...
Probably TWRP can't mount encrypted Huawei data partition, the only thing it can probably do is to format it so basically a hard reset
Potato997 said:
Probably TWRP can't mount encrypted Huawei data partition, the only thing it can probably do is to format it so basically a hard reset
Click to expand...
Click to collapse
So -> TWRP -> Format /data?
EDIT: I tried format data -> yes -> and even there it said can't find /data partition.
Any ideas what i can do?? Everything works but i can't do anything in all the TWRPs...

Can't mount Data Partition.

These last days have been catastrophic for me and my p9 Lite.
A thousand and one operations I have done ... I have had to reinstall everything via fastboot ... (cust, recovery, boot, cache, recovery, recovery2, syste m)
And still, I do not get it to boot ... I still have hopes, because being in Revolution Nougat Recovery B.9 (or something like that) shows me the 3 partitions of the P9 Lite. (CUST, EXTERNAL SD and INTERNAL MEMORY) this last, says to be totally empty ... (0 MB) But when I give wipe - internal memory - repair partition, it tells me that there are 16 gs free.
When I want to change the format, to repair it ... it gives me error. Both F2sF and ExT4 ...
I think it may have been deleted in the internal configuration of the cell, the route to the DATA partition. Because I can not repair it in any way ... it always throws me wrong ...
If you like the challenges, here's a big one.
I have googled the possibility of re writing the path to the data partition via fastboot, I only get examples of Google Nexus 7 (which apparently in nexus 7 if it can be done), but none of P9 Lite.
Later I will upload screenshots about the errors that the revolution recovery throw me ... (if anyone is willing to help)
At the moment, I am without an operating system. I have access to huawei recovery, also to revolution recovery and I also have fastboot access.
In the eRecovery, when I try to download the complete package ... it throws me "error in the package", putting the UPDATE.APP of the B371 in the dload folder, the update goes up to 50% and then I throw "error in the package".
I hope they help me and that together we can find a solution to my problem.
From already thank you very much.
I think the only solution is to flash firmware via dc-phoenix
simo255 said:
I think the only solution is to flash firmware via dc-phoenix
Click to expand...
Click to collapse
Which exactly firmware?
andrexp31 said:
Which exactly firmware?
Click to expand...
Click to collapse
B161 i think, its the better one
I cant... Im on nougat.
andrexp31 said:
I cant... Im on nougat.
Click to expand...
Click to collapse
This is what happened...[ ATTACH]4106037[/ATTACH]
andrexp31 said:
This is what happened...[ ATTACH]4106037[/ATTACH]
Click to expand...
Click to collapse
Sorry,this one is in english
View attachment 4106043
andrexp31 said:
Sorry,this one is in english
Click to expand...
Click to collapse
Try to flash stock recovery and do a factory reset, maybe it will work
Otherwise buy dc; phoenix (it costs 15€ i think) and it will write nougat firmware b370
---------- Post added at 01:35 AM ---------- Previous post was at 01:19 AM ----------
If flashing recovery via fastboot isn't working,
Download whatever version of revolution recovery
Extract it, remove file_context , replace recovery.img by the recovery that you have downloaded,
Archive meta-inf and recovery.img
Flash it through recovery
Hope it will works
I am stuck with a similar issue, but Meticulus TWRO 2.8.7.0:
I get Failed to mount '/data' (Invalid argument) and Unable to open '' to wipe crypto key
I can neither wipe /data, nor format it, nor do anything else with it.
I tried flashing stock ROM and tried factory reset over there: it failed
I went back to stock B160 from CM13, recently.
Somehow I did wipe /system in order to run an update, which did not work.
So I got deeper and deeper into this trouble.
At the moment, there is CM13 without /data und unable to wipe /data in any ways.
I do not have a SD at the moment.
Would it help to put a complete stock onto SD and install it via update mode?
edit:
I could install an old system backup, which did boot and after flashing stock recovery I could factory reset /data
:hurrayy:

S8 TWRP Error

Hi all,
Yesterday I managed to root my phone all fine with TWRP and SuperSU. Then after incorrectly uninstalling the security log agent and getting a million errors I foolishly deleted the stock OS.
I have download the correct version for my phone and location but now TWRP fails to launch.
I get the follows errors when booting to the recovery.
Failed to mount /data (invalid argument)
Unable to recreate /data/media folder
Unable to mount storage
Unable to mount /data/media/TWRP/.twrps
I have googled a millions things and am still stuck.
Interestingly tho, If i install the Indian version of the OS, it loads and roots no problems (I'm from New Zealand).
Any help greatly appreciated.
VacantLot said:
Hi all,
Yesterday I managed to root my phone all fine with TWRP and SuperSU. Then after incorrectly uninstalling the security log agent and getting a million errors I foolishly deleted the stock OS.
I have download the correct version for my phone and location but now TWRP fails to launch.
I get the follows errors when booting to the recovery.
Failed to mount /data (invalid argument)
Unable to recreate /data/media folder
Unable to mount storage
Unable to mount /data/media/TWRP/.twrps
I have googled a millions things and am still stuck.
Interestingly tho, If i install the Indian version of the OS, it loads and roots no problems (I'm from New Zealand).
Any help greatly appreciated.
Click to expand...
Click to collapse
Hi
Your internal memory now corrupt you have to format it.
Use twrp wipe option select internal memory then format to fat32 after that again do same thing. This time choose its original format type.
drparvez said:
Hi
Your internal memory now corrupt you have to format it.
Use twrp wipe option select internal memory then format to fat32 after that again do same thing. This time choose its original format type.
Click to expand...
Click to collapse
Hi, thanks for the fast reply.
Iv'e tried this option, I installed the Indian OS which works with TWRP, formatted the Data drive to FAT (Fat32 isn't an option) and then back to EXT4. I then used Odin to Install the carrier firmware I want to run and the same errors occurred. Could it be a problem with the actual OS?
Edit** When I install the Carrier firmware I can't get TWRP to open, these errors occur as soon as it opens, and then it crashes and reboots
VacantLot said:
Hi, thanks for the fast reply.
Iv'e tried this option, I installed the Indian OS which works with TWRP, formatted the Data drive to FAT (Fat32 isn't an option) and then back to EXT4. I then used Odin to Install the carrier firmware I want to run and the same errors occurred. Could it be a problem with the actual OS?
Edit** When I install the Carrier firmware I can't get TWRP to open, these errors occur as soon as it opens, and then it crashes and reboots
Click to expand...
Click to collapse
Try reflashing twrp
Acoustichayes said:
Try reflashing twrp
Click to expand...
Click to collapse
Hi hi, tried that several times. Would still like to find out what is causing the issue but have now installed Nemisis and all is working perfrctly which makes me think it's the OS as opposed to my file system, considering I have installed multiple other versions and ran TWRP no problems.
Got same problem here. Installed TWRP to flash a custom rom, TWRP can't mount /data.
Google doesn't give me any solutions
This fixed it for me:
- download stock firmware from sammobile & flash with Odin
- go into stock recovery
- wipe data and cache partitions
- flash twrp using odin
After that, TWRP was able to mount /data and function normally again

Categories

Resources