Coming from NRM90- Test Keys failed to mount data - Huawei P9 Questions & Answers

So my phone is running TWRP 3.1.0-0, I keep getting a failed to mount data error, even when I try changing the file type to ext3 and all the rest, my internal storage is 0 so this is probably an encryption problem, but whenever I try to install any other TWRP my phone gets stuck at your device is booting now, what do I do?, DLOAD method also doesn't work
EDIT: Fixed data error, now I get an error 7 when trying to install Lineage OS

Related

[Q] Having some Big problems on my motorola razr i! please help.

Hey guys.
So i have this razr i with TWRP 2.8.0.0 recovery installed on my phone and my bootloader is unlocked. I have installed several diferent roms on it over time, and this time i tried to install the unofficial Cyanogenmod 11 (http://forum.xda-developers.com/razr-i/development/rom-unofficial-cyanogenmod-11-t2966855) but things went totally wrong when i formated the phone on recovery.
Here's what i did:
1- booted into recovery
2- went to the "wipe" tab
3- taped on "advanced wipe" and selected eveything (Dalvik cache/System/Cache/Data/Internal storage/Micro SDcard), then started formatting
4- after about an hour and a half it was still checking for md5... so i rebooted
5- when i rebooted i realized that everything was gone, including the rom files on the sdcard, so i passed the files from my pc again and tried to install but nothing happend.
6- now for unkown reasons all i see is:
Code:
E: Unable to mount '/data'
E: unable to recreate /data/media folder.
Updating partition details...
E: unable to mount '/data'
E: unable to mount internal storage.
E: unable to mount /data/media during GUI startup
FUll SElinux support is present.
E: unable to mount /data/media/TWRP/.twrps when trying to read settings file
E: unable to mount '/data'
MTP Enabled
So... My PC has the motorola drivers installed and i've also tried on mac (i have a Macbook pro with widows and mac os), but none of the recognize my phone so i can't use adb or anything that could help with this.
Does anyone know what to do? I just want to install stock jellybean again and then try the cm11 rom.
adrex9 said:
Hey guys.
So i have this razr i with TWRP 2.8.0.0 recovery installed on my phone and my bootloader is unlocked. I have installed several diferent roms on it over time, and this time i tried to install the unofficial Cyanogenmod 11 (http://forum.xda-developers.com/razr-i/development/rom-unofficial-cyanogenmod-11-t2966855) but things went totally wrong when i formated the phone on recovery.
Here's what i did:
1- booted into recovery
2- went to the "wipe" tab
3- taped on "advanced wipe" and selected eveything (Dalvik cache/System/Cache/Data/Internal storage/Micro SDcard), then started formatting
4- after about an hour and a half it was still checking for md5... so i rebooted
5- when i rebooted i realized that everything was gone, including the rom files on the sdcard, so i passed the files from my pc again and tried to install but nothing happend.
6- now for unkown reasons all i see is:
Code:
E: Unable to mount '/data'
E: unable to recreate /data/media folder.
Updating partition details...
E: unable to mount '/data'
E: unable to mount internal storage.
E: unable to mount /data/media during GUI startup
FUll SElinux support is present.
E: unable to mount /data/media/TWRP/.twrps when trying to read settings file
E: unable to mount '/data'
MTP Enabled
So... My PC has the motorola drivers installed and i've also tried on mac (i have a Macbook pro with widows and mac os), but none of the recognize my phone so i can't use adb or anything that could help with this.
Does anyone know what to do? I just want to install stock jellybean again and then try the cm11 rom.
Click to expand...
Click to collapse
Can you boot into recovery? maybe you can try adb sideload.
Setarcos said:
Can you boot into recovery? maybe you can try adb sideload.
Click to expand...
Click to collapse
Yes i can, bootloader and recovery, but as i said my phone isn't recognized so adb sideload does not work.
I tried using mac because i read somewhere that you don't need drivers on there, but it didn't work either... unless i'm doing something wrong
adrex9 said:
Yes i can, bootloader and recovery, but as i said my phone isn't recognized so adb sideload does not work.
I tried using mac because i read somewhere that you don't need drivers on there, but it didn't work either... unless i'm doing something wrong
Click to expand...
Click to collapse
I've experienced with similar situation getting no adb in TWRP. However, when I chose Advanced/Adb sideload, adb sideload did work for me.
PS: Maybe you can try install aother recovery.
Hey! Apparently, your phone has now all the partitions corrupt, because of that failed format. Have you tried installing a stock ROM through RSD Lite?
I once had a similar issue, solved it with a clean SBF flash.
Also, to install a new ROM, you should:
1.Boot in TWRP
2.Go to 'Settings'
3.Check 'Use rm -rf instead of formatting.'
Then, the wiping process wont take more than a couple of seconds, and should install ROM's without problems.
Hope you solve it, and sorry for my english if I made any mistakes.
adrex9 said:
Hey guys.
So i have this razr i with TWRP 2.8.0.0 recovery installed on my phone and my bootloader is unlocked. I have installed several diferent roms on it over time, and this time i tried to install the unofficial Cyanogenmod 11 (http://forum.xda-developers.com/razr-i/development/rom-unofficial-cyanogenmod-11-t2966855) but things went totally wrong when i formated the phone on recovery.
Here's what i did:
1- booted into recovery
2- went to the "wipe" tab
3- taped on "advanced wipe" and selected eveything (Dalvik cache/System/Cache/Data/Internal storage/Micro SDcard), then started formatting
4- after about an hour and a half it was still checking for md5... so i rebooted
5- when i rebooted i realized that everything was gone, including the rom files on the sdcard, so i passed the files from my pc again and tried to install but nothing happend.
6- now for unkown reasons all i see is:
Code:
E: Unable to mount '/data'
E: unable to recreate /data/media folder.
Updating partition details...
E: unable to mount '/data'
E: unable to mount internal storage.
E: unable to mount /data/media during GUI startup
FUll SElinux support is present.
E: unable to mount /data/media/TWRP/.twrps when trying to read settings file
E: unable to mount '/data'
MTP Enabled
So... My PC has the motorola drivers installed and i've also tried on mac (i have a Macbook pro with widows and mac os), but none of the recognize my phone so i can't use adb or anything that could help with this.
Does anyone know what to do? I just want to install stock jellybean again and then try the cm11 rom.
Click to expand...
Click to collapse
Have u read the install instructions? The instructions stated that u needed to use the latest recoverys and u still use the 2.8.0.0 one.
The earlier versions have problems on some phones like the one u have now. Some do have the problem some don't. U can fix it by erasing the userdata through fastboot hopefully or by installing touchcwm (the earliest of recoverys for this device) and formatting it that way. Most of the time this fixes the problem.
casquee said:
Hey! Apparently, your phone has now all the partitions corrupt, because of that failed format. Have you tried installing a stock ROM through RSD Lite?
I once had a similar issue, solved it with a clean SBF flash.
Also, to install a new ROM, you should:
1.Boot in TWRP
2.Go to 'Settings'
3.Check 'Use rm -rf instead of formatting.'
Then, the wiping process wont take more than a couple of seconds, and should install ROM's without problems.
Hope you solve it, and sorry for my english if I made any mistakes.
Click to expand...
Click to collapse
hi, i've tried rsd lite allready but my pc didn't see it.
i'll try what you said, maybe it helps
Hazou said:
Have u read the install instructions? The instructions stated that u needed to use the latest recoverys and u still use the 2.8.0.0 one.
The earlier versions have problems on some phones like the one u have now. Some do have the problem some don't. U can fix it by erasing the userdata through fastboot hopefully or by installing touchcwm (the earliest of recoverys for this device) and formatting it that way. Most of the time this fixes the problem.
Click to expand...
Click to collapse
yeah, but the thing is that hadn't even installed it yet, it was just the format the f'd it up installing touch cwm is my goal right now though
casquee said:
Hey! Apparently, your phone has now all the partitions corrupt, because of that failed format. Have you tried installing a stock ROM through RSD Lite?
I once had a similar issue, solved it with a clean SBF flash.
Also, to install a new ROM, you should:
1.Boot in TWRP
2.Go to 'Settings'
3.Check 'Use rm -rf instead of formatting.'
Then, the wiping process wont take more than a couple of seconds, and should install ROM's without problems.
Hope you solve it, and sorry for my english if I made any mistakes.
Click to expand...
Click to collapse
i tried what you said but i still get this problem:
Code:
E; Unable to mount '/data'
E: unable to mount internal storage.
EDIT:
By the way, how do you do an SBF flash?
You have to download one from your region. You can make it to the fastboot menu? And it doesn't detect the phone?
casquee said:
You have to download one from your region. You can make it to the fastboot menu? And it doesn't detect the phone?
Click to expand...
Click to collapse
yeah, i can get into fastboot but the pc does not recognize it. its as if it would be off, nothing happens when you connect it to the pc

Can't boot after flashing ROM (Failed to mount /data) help pls

Hi, so i was trying to install:
http://forum.xda-developers.com/p9/development/rom-ncs-rom-v1-1-08-16-2016-t3440269
I have unlocked bootloader and i have latest TWRP, i have no idea what went wrong but everytime i try to boot now it says encryption was interrupted and can't continue, and everytime i try to flash image or wipe everything it keeps saying unable to mount /data and /storage. I really have no idea what to do, any help would be appreciated, please.
Did you try to go in the recovery and mount the system from there? Or just format the phone and install the rom through sd card
well i tried flash again the ROM and it worked now, but i had to install TWRP revision 3 guess it fixes some encryption stuff?

CM not installing\ Can't mount i-sdcard=Help fix my phone?

I tried installing one of the 10 stable versions. I was on stock jw4 with cf+cwm karnel. It started installing and then went into boot in middle for no reason. But it didn't boot. It just kept booting into recovery (not the cwm version i had) with the cm logo.
I tried installing again but it aborted installation every time. (didn't check the log)
I then tried to go back to stock but never boots,in recovery i get a bunch of:
E:failed to mount /sdcard (File exists)
E:copy_dbdata_media:Can't mount /sdcard
your storage not prepared yet. please use UI menu
for format and reboot actions.
Meida files copy failed.
system unable to Format /data...Internal SD card cannot be mounted
rfs format failed on dev block etc etc etc
I tried all the ways i found here but none helped,worked on it for hours. I also flashed a bunch of stock versions with no luck. All just went to recovery with all these erros. Only thing that actually booted was a very old version stock jp something,got same message on recovery but then booted into...cm10 . I just got the boot and then black screen with buttons looking like they are on.
I then gave up and decided i would install cm and hopefully that would be compatible with what ever was changed since it happened because of it.
I now tried installing all the 10 stable versions and then all the 11snapshots. I either get error 7 or 0 and installation aborted or the same thing that happened the first time-it starts installation and then boots, gets stuck in (cm logo) bootloop and ends up in recovery.
ATM my phone is kind of bricked i guess. How do i fix this?

failed to mount /data (Invalid argument) in twrp

unable to install anything in twrp i get this error constantly failed to mount /data (Invalid argument) I can do a odin clean install and will boot but unable to get rid of this issue even after re odin reimage clean install the message reappear this is new issue to me on n950n
tokoam said:
unable to install anything in twrp i get this error constantly failed to mount /data (Invalid argument) I can do a odin clean install and will boot but unable to get rid of this issue even after re odin reimage clean install the message reappear this is new issue to me on n950n
Click to expand...
Click to collapse
twrp cannot access/read data partition because it's encrypted. while in TWRP, you have to format the data partition to remove encryption and then you be able to access data. be sure to backup your data/internal storage before formatting, otherwise you'll lose what's stored there it's mentioned in most (if not all) TWRP threads related to Samsung devices.
thanks for the info I actually googled and found the answer however ,I do have another question the no-verity-opt-encrypt-5.1.zip is just for whatever rom you have installed to remove the encryption ?In otherwords if i just want to do a clean install from TWRP and install a custom rom I dont need no-verity-opt-encrypt-5.1.zip ?

Error During Advanced Format

Hi, I recently went installed TWRP using the guide here: https://forums.oneplus.net/threads/...wrp-root-nandroid-efs-backup-and-more.475142/
and tried flashing DMVerity after which I went to wipe and format data after which I got:
Formatting Data using mkfs.f2fs...
mkfs.f2fs -t 0 -r 16384 /dev/block/sda15 process
ended with ERROR: 255
Unable to wipe Data.
Unable to format to remove encryption.
Updating partition details...
Failed to mount '/data' (Device or resource busy)
Unable to mount storage
I freaked out and went back to the Install option to find that nothing was showing up. I googled for some fixes and found that formatting ext4 would work but I got:
Formatting system using make_ext4fs...
...done
Updating partition details...
Failed to mount '/data' (Device or resource busy)
Unable to mount storage
And then I tried to make it f2fs again. To which I got:
Formatting system using mkfs.f2fs...
...done
Updating partition details...
Failed to mount '/data' (Device or resource busy)
Unable to mount storage
So I finally tried changing it to exfat and it got stuck on Updating partition details...
I forced reboot to TWRP and stuck on the 'blu_spark loading screen'
What do I do please help, I am freaking out.
Okay this is for anyone who might have the same problem (accidentally formatting to exfat) later on. For the longest time, I thought that my device was bricked and there was no coming back. However it hit me that it might be a problem with TWRP not being able to understand exfat partitions properly. So I tried something else and I currently have my phone running Open Beta 19. Here's what I did:
1) Power off the phone by holding down volume up+power button.
2) Hold volume up+power again until you're not in the bootloader and then connect the device to the PC.
3) Go to the fastboot folder, open terminal/command prompt and check if it's connect by typing in: fastboot devices
If it is connected you'll get some sort of device ID with fastboot written next to it.
4) Type in: fastboot erase system
and hit enter.
5) Type in: fastboot format:ext4 system
and hit enter.
6) Now flash the TWRP recovery. Using the method defined in the original link.
7) You should now be able to boot into TWRP and bypass the loading screen.
8) I had a small problem at this step, for some reason you can't flast Open Beta 19 directly from TWRP. I had a copy of Open Beta 13 on my PC from some time ago and I used that and it flashed without a problem.
9) Boot into the device and set it up.
10) Once set up, go back to the recovery and you'll see that you're back to the stock recovery. Wipe everything off.
11) Transfer OB19 to the device and install that through the custom recovery and boot it up.
You should hopefully be running a clean version OB19 after you boot up. Hope this helps.

Categories

Resources