I have an issue when I build TWRP for my Huawei P10 Lite using minimal TWRP manifest..I get this:
E: failed to mount /data (Invalid argument)
failed to mount /system (valid argument)
etc...
And I get this for every partition declared in the fstab and I tried to change it with different layouts like FS before names or after etc.. I tried with the stock Huawei fstab from the recovery, same problem.
The device tree can be found here:
https://github.com/maxhartung/android_device_huawei_hi6250
If you take a look at the commits you can see the differents formats I tried.
They are a few TWRP made for P10 Lite but I want to do it myself and also add decryption support but this issue is blocking me to do it so.
Related
I have the MTK version of the RN3
I can't flash any roms using TWRP, I always get the following error:
Updater Process ended with ERROR: 7
Error installing zip file [rom file path here]
Updating partition details...
Failed to mount '/oem' (Invalid argument)
...done
I get the same 'Failed to mount '/oem' (Invalid argument) line when I try to factory reset/format the phone.
The formatting still (maybe partially) goes through though, which now results in me having no OS installed and not being able to install one.
Can someone help?
bump
For anyone wondering, this seems to always work when nothing else does anymore:
http://en.miui.com/thread-193681-1-1.html
How I bricked the phone:
*I installed a custom rom for my phone and it's stuck on bootloop.
for some reason I didn't make a back up for my phone.
Thing that I did to try and fix it:
*I tried doing the hard reset it didn't work
*I also tried the smart phone flash tool because I have the stock rom for t06
(Cant post the url for my rom due to xda prevent all new users from posting outside links in their messages)
but the smart phone flash tool didn't work as well, I installed all the drivers required for the process it simply didn't detect my device.
*I tried the fastboot, wipe the device and fastboot the system.img etc, It simply didn't work.
By the way after doing the fastboot my twrp goes back to the normal recovery, So I did installed the TWRP again.
-after that I went to recovery and saw this, it says "Unmodified System Partition"
"Could not mount /data and unable to find crypto footer.
Failed to mount '/data' (invalid argument)
Unable to recreate /data/media folder.
Updating partition details. . .
Failed to mount '/system' (invalid argument)
Failed to mount '/cache' (Invalid argument)
Failed to mount '/data' (invalid argument)
. . .done
Unable to mount storage
Failed to mount '/data' (Invalid argument)
Failed to mount '/cache' (Invalid argument)
Full SeLinux support is present
Failed to mount '/cache' (invalid argument)
Failed to mount '/cache' (invalid argument)
Unable to mount /data/media/TWRP/ .twrps
Failed to mount '/data' (Invalid argument)
MTP enabled
Failed to mount '/data' (Invalid argument)"
I really need some help
Hello All,
I have a problem where TWRP is not able to mount /data, although the device still works without any other problems. It has happened when i upgrade the TWRP recovery from 3.2.1-0 to 3.2.1-1
This is preventing me to install Magis modules unfortunately.
I have a OOS Open BETA 1 for the Oneplus 5T.
Here's the log:
Code:
[COLOR="Red"]Could not mount /data and unable to find crypto footer.
Failed to mount '/data' (No such device)
Unable to recreate /data/media folder.[/COLOR]
Updating partition details...
[COLOR="red"]Failed to mount '/data' (No such device)
Failed to mount '/preload' (Invalid argument)[/COLOR]
...done
Full SELinux support is present.
After I did a factory data reset in TWRP, every thing looks normal but when I boot the OS and do the first boot setup
and then go back to TWRP the problem appears again.
How do I fix it?
Thanks in advance.
SPECS:
OS: lineage OS 8.1 official.
Phone: Redmi Note 4 snapdragon.
I have the same problem. Did you find a solution yet?
Everytime I try to wipe cache/dalvik I get
Code:
Could not mount /data and unable to find crypto footer.
Failed to mount '/data' (Invalid argument)
Unable to recreate /data/media folder.
Updating partition details...
Failed to mount '/data' (Invalid argument)
...done
.
.
.
.
I'm using
twrp-3.2.3-0-mido.img
Found this on github:
https://github.com/TeamWin/Team-Win-Recovery-Project/issues/1265
Hello
I've installed TWRP by following this thread here
and after which I flashed the custom rom from this thread here
After a awhile I did a factory rest to the phone which caused the phone to boot into TWRP and no matter what I do it keeps rebooting into TWRP
Tired to flash stock rom, which gives the following erros :
unable to mount storage
Failed to mount '/data' (invalid argument)
unable to mount '/data/media/TWRP/.twrps
tried Format Data:
unable to mount storage
Failed to mount '/data' (invalid argument)
unable to format to remove encryption
tried to repair data:
Failed to mount '/data' (invalid argument)
Failed to unmount 'external_sd' (Device or resource busy)
unable to repair data
tried to flash the custom rom again
....
...done!
enjoy!
updating partition details
Failed to mount '/data' (invalid argument)
....done
tried using terminal with this:
dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/fota
dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/misc
no such file
Dont have ADB access (only sd card shows when i connect usb)
note: I have another vernee M5 if anyone thinks it could be useful (unrooted)
please help!
Saqwerzaman said:
Hello
I've installed TWRP by following this thread here
and after which I flashed the custom rom from this thread here
After a awhile I did a factory rest to the phone which caused the phone to boot into TWRP and no matter what I do it keeps rebooting into TWRP
Tired to flash stock rom, which gives the following erros :
unable to mount storage
Failed to mount '/data' (invalid argument)
unable to mount '/data/media/TWRP/.twrps
tried Format Data:
unable to mount storage
Failed to mount '/data' (invalid argument)
unable to format to remove encryption
tried to repair data:
Failed to mount '/data' (invalid argument)
Failed to unmount 'external_sd' (Device or resource busy)
unable to repair data
tried to flash the custom rom again
....
...done!
enjoy!
updating partition details
Failed to mount '/data' (invalid argument)
....done
tried using terminal with this:
dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/fota
dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/misc
no such file
Dont have ADB access (only sd card shows when i connect usb)
note: I have another vernee M5 if anyone thinks it could be useful (unrooted)
please help!
Click to expand...
Click to collapse
UPDATE
booting into bootloader and using command 'f'astboot continue'' i was able to boot into system
the system reqiuers a password but gboard keeps crashing and i cant enter my password