Partitions missing? - Huawei P20 Pro Guides, News, & Discussion

When trying to flash img files via this guide
https://forum.xda-developers.com/huawei-p20-pro/how-to/guide-erecovery-hisuite-failing-to-t3932203
flashing vendor and system fails
ERecovery will download a ROM but gets error "authentication failed"
Now installed TWRP and wipe fails to wipe vendor and system partition saying
Failed to mount /vendor (invalid argument)
any ideas?

Related

[Q] Problems with partitions

Hello everybody,
i have a LG Optimus One (P500) here, but I can´t install any rom (ATM no ROM is installed). My recovery is WRP v2.8.3.0-MULTI-OS2SD, but I don´t know what "OS2SD" is :-/
First, I´d like to wipe the device completely, so I selected "Wipe" in the main menu. I swiped to the right to start a factory Reset and got the following error:
E: Unable to mount "/system"
E unable to mount storage
E: Unable to mount "/data"
E: Failedd to wipe dalvik
Updating partition details...
E: Unable to mount "/data"
E: Unable to mount "/system"
MTD Formatting "cache"
Done.
Updating partition details...
E: Unable to mount "/data"
E: Unable to mount "/system"
...done
E: Unable to mount storage.
How can I fix this? I can access fastboot, if needed.
Cheers,
jacboy
jacboy said:
Hello everybody,
i have a LG Optimus One (P500) here, but I can´t install any rom (ATM no ROM is installed). My recovery is WRP v2.8.3.0-MULTI-OS2SD, but I don´t know what "OS2SD" is :-/
First, I´d like to wipe the device completely, so I selected "Wipe" in the main menu. I swiped to the right to start a factory Reset and got the following error:
E: Unable to mount "/system"
E unable to mount storage
E: Unable to mount "/data"
E: Failedd to wipe dalvik
Updating partition details...
E: Unable to mount "/data"
E: Unable to mount "/system"
MTD Formatting "cache"
Done.
Updating partition details...
E: Unable to mount "/data"
E: Unable to mount "/system"
...done
E: Unable to mount storage.
How can I fix this? I can access fastboot, if needed.
Cheers,
jacboy
Click to expand...
Click to collapse
O2sd is a whole nother animule. Flash a normal recovery version and try again.

Unable to reinstall the original rom...

Hello everyone, I wanted to try to install a custom ROM (Resurrection Remix) but I wanted to return to the base ROM. When I want to delete all the data I have this error message that appears in TWRP:
Failed to mount '/cust' (Invalid Argument)
Failed to mount '/system' (Invalid Argument)
Failed to mount '/vendor' (Invalid Argument)
Failed to mount '/produt' (Invalid Argument)
I also tried to flash the BOOT.img the RECOVERY.img and the SYSTEM.img coming from the update.zip file downloaded on the official website, but when I want to flash the SYSTEM.img I have this error message: "FAILED (remote: Command not allowed)", I also put the update.app in the dload file of the SD card but the loading stops at 5% ... I really do not know what to do anymore. someone has the slightest idea!
My bootloader is unlocked.
Thank you.

twrp error while flashing rom

I am using device zuk z1- ham. While installing RR V6.0.0 I got the following errors :
Error 1001 : failed to update system image
Updater process ended with Error : 7
Error installing zip file '/sdcard/rom/RR-O-V6.0.0-20180311-ham-Official.zip
Updating partition details...
Failed to mount '/system/' (Invalid Argument)
...done
Please help me out with this it will be a great help. Thank you.

Can't mount vendor on TWRP (invalid argument)

Hi guys,
I am trying to reflash LOS after bootloop.
Managed to install factory image and boot to TWRP but can't install anything as I get error saying 'failed to mount /vendor (invalid argument).
How can I fix it and mount/restore vendor partition?
When I go to Mount in TWRP can't select vendor.
Thanks

Bootloader screen showing "Device is LOCKED" even though I've enabled OEM unlock in Android settings

Hi,
I've a Pixel (sailfish) that I'm trying to load TWRP and Magisk, and I'm unable to flash the recovery image as the bootloader page shows "Device is LOCKED", even though I've already enabled OEM unlock in Developer Settings. How do I unlock the bootloader?
goister said:
Hi,
I've a Pixel (sailfish) that I'm trying to load TWRP and Magisk, and I'm unable to flash the recovery image as the bootloader page shows "Device is LOCKED", even though I've already enabled OEM unlock in Developer Settings. How do I unlock the bootloader?
Click to expand...
Click to collapse
Enabling the OEM Unlock option is the first step but it doesn't unlock the phone. It merely enables unlocking the phone. You have to use a specific adb command to unlock the phone. Since the command varies with models and I am not familiar with your phone, please search for the correct command on Google.
Thanks. I'm following this page - https://www.xda-developers.com/how-to-install-twrp/
I managed to unlock it with fastboot, but I can't seem to flash the recovery. I downloaded the TWRP image from https://dl.twrp.me/sailfish/twrp-3.7.0_9-0-sailfish.img.html and renamed it to twrp.img. I then performed the following steps as per the instructions from xda above:
booted to bootloader with adb reboot bootloader
Temporarily booted to TWRP with fastboot boot twrp.img
Copied TWRP image file to device with adb push twrp.img /sdcard
Go to Advanced->Install Recovery Ramdisk, select twrp.img and swipe to install
I get the following error
Updating partition details...
Failed to mount '/system_root' (Invalid argument)
Failed to mount '/vendor' (Invalid argument)
...done
Unpacking Boot...
Backing up Boot...
Unpacking /sdcard/twrp.img...
Repacking Boot...
/sbin/magiskboot decompress /tmp/repakorig/ramdisk.cpio /tmp/repackorig/ramdisk-1.cpio process ended with ERROR: 1
Error repacking image.
I tried to mount vendor partition, wipe and format the device and retry step 4 and made it a bit further (no more failed to mount '/system_root' and '/vendor' errors, as below, but still fails.
Updating partition details...
Failed to mount '/vendor' (Invalid argument)
...done
Unpacking Boot...
Backing up Boot...
Unpacking /sdcard/twrp.img...
Repacking Boot... /sbin/magiskboot decompress /tmp/repakorig/ramdisk.cpio /tmp/repackorig/ramdisk-1.cpio process ended with ERROR: 1 Error repacking image.
Any suggestions?
goister said:
Go to Advanced->Install Recovery Ramdisk, select twrp.img and swipe to install
Click to expand...
Click to collapse
You can download both the .img and the .zip files. After booting using the .img file, instead of step 4 above, you can try Install from the booted TWRP and navigate to where the .zip file is and simply install it. That is what the TWRP page for Pixel recommends:
fastboot boot path/to/twrp.img
This will temporarily boot TWRP on your device. If you are using a lockscreen pin/pattern/password and do not get prompted to enter your passord, reboot to the bootloader and try again. Go to install and browse to the zip and install the zip. The zip will install TWRP to both boot slots. Installing TWRP at this time will remove root if you are currently rooted.
Click to expand...
Click to collapse
Damn...why did the xda instructions say otherwise?
OK so I managed to reflash to stock image again after the boot loop, and then I followed the TWRP instructions. I was prompted to enter the device password when booting up to TWRP temporarily, and was able to get to TWRP once I entered my device PIN.
After I installed the zip file, I get the following screen:
Installing zip file '/sdcard/twrp.zip'
Updating partition details...
...done
Attempting to decrypt FBE for user 0...
User 0 Decrypted successfully
Data successfully decrypted
Updating partition details...
...done
Full SELinux support is present.
MTP Enabled
Failed to mount '/system root' (Invalid argument)
Failed to mount '/vendor' (Invalid argument)
Failed to mount '/system root' (Invalid argument)
Failed to mount '/system root' (Invalid argument)
Failed to mount '/system root' (Invalid argument)
Installing zip file '/sdcard/twrp.img'
Unmounting system...
########################################
# TWRP Installer for A/B devices #
########################################
Unpacking the installer...
Running image patcher on boot_a...
Running image patcher on boot_b...
Image patching complete!
Done installing TWRP!
*** NOTE: You are now unrooted! ***
Updating partition details...
Failed to mount '/system root' (Invalid argument)
Failed to mount '/vendor' (Invalid argument)
...done
After this, it reboots to Android fine, but whenever I try to reboot to recovery, it goes to the white screen with the Google logo, then reboots to Android.
I'm using the latest TWRP for sailfish - twrp-installer-3.7.0_9-0-sailfish.zip.
Any ideas why?

Categories

Resources