Corrupted partitions? - Huawei P9 Lite Questions & Answers

Hello, I was trying to downgrade from N to MM and somehow i lost my system and data partition. I have the custom revolution recovery and i cant mount data or system on the mount menu, also when i try to flash any package it gives me the error "cant mout /datad/system oartition". I also tried to extract system from a original firmware and tried to flash it with fastboot, but it gives me the error "FAILED (remote: sparse flash write failure)". Is there a way to get back my partitions and reflash MM on here, or have i just won a new (very slim) paperweight? Any help would be much appreciated sice im kinda dependent on this phone.

For some reason system is able to mount now... but still nothing in the data partition , it show 0B

i have the same issue

Have you tried to flash oeminfo?

Related

Can't Mount /Cache

i, being the dumbass i am, tried installing a custom rom and i failed in doing so. it wasn't the first time i installed a rom but now i am stuck at the ACER logo but i still have the ability to get into recovery. i am currently using TWRP touch recovery and when i try installing a different rom or a update.zip made for it, i get E: unable to mount /cache. some help would be nice as i would love to get it working
incompatible recovery.img?
Can't mount cache errors can be caused by an incorrect recovery.fstab file, which basically means the incorrect mount points are used. Had that issue on my phone trying to install CWM recovery, but it was incompatible with my phone giving the same errors you described. You'll probably have to find a good recovery.img, and test if it's working. You can fastboot boot recovery.img without flasing as well.
By the way, to really dig into this problem, it's possible to extract the recovery.fstab file from the recovery.img file you're using, and see if this matches your /proc/emmc.

How to root a S8 G950F Exynos with failed integrity verification without wipe ?

Dear all,
I tried since yesterday to root my S8 Exynos (G950F). My phone is crypted and when I try to root with magisk via TWRP, I have errors to access to datas. When the system boot, I have the error unable to restart your phone. the integrity verification has failed....
Then via TWRP and the shell, I made a copy of the userdata partition on my computer (the crypted partition), then I wiped my phone, I flashed the DM Verify Disabler and then Magisk via TWRP, until then, no problem, I was root but with an empty phone.
There, I uploaded my copy of userdata partition into my S8, I boot the system and always the same error of integrity verification failed...
Now, my phone works always good (I flash the stock ROM via ODIN) but I haven't yet the root.
Is there a way to root the S8 without lost the datas ? A kind of APK or something else ?
Kind regards,
Lau
lolo1410 said:
Dear all,
I tried since yesterday to root my S8 Exynos (G950F). My phone is crypted and when I try to root with magisk via TWRP, I have errors to access to datas. When the system boot, I have the error unable to restart your phone. the integrity verification has failed....
Then via TWRP and the shell, I made a copy of the userdata partition on my computer (the crypted partition), then I wiped my phone, I flashed the DM Verify Disabler and then Magisk via TWRP, until then, no problem, I was root but with an empty phone.
There, I uploaded my copy of userdata partition into my S8, I boot the system and always the same error of integrity verification failed...
Now, my phone works always good (I flash the stock ROM via ODIN) but I haven't yet the root.
Is there a way to root the S8 without lost the datas ? A kind of APK or something else ?
Kind regards,
Lau
Click to expand...
Click to collapse
You need to reflash twrp in odin and boot into recovery (TWRP) before the phone boots the system. Id uncheck auto reset in odin and when its done flashing twrp again boot right into it. From there you want to select to keep the system read only, and then flash the DM Verity Disabler. After thats done flashing, your phone should boot up normally without seeing the integrity failed message. Its important that you boot right into twrp (recovery) after odin flashes it, if not you need to reflash twrp in odin until you successfully get into recovery before it boots your system.
I just tried 2 times this procedure, when I flash the no-verity-opt-encrypt-5.1, I have several error messages like Failed to mount '/data' (Invalid argument) or Unable to recreate /data/media folder or Unable to mount storage and Unable to mount /data/media/TWRP/.twrps.
When I boot up the phone, I have the same error of integrity failed message and I have to flash a stock system and boot img
lolo1410 said:
I just tried 2 times this procedure, when I flash the no-verity-opt-encrypt-5.1, I have several error messages like Failed to mount '/data' (Invalid argument) or Unable to recreate /data/media folder or Unable to mount storage and Unable to mount /data/media/TWRP/.twrps.
When I boot up the phone, I have the same error of integrity failed message and I have to flash a stock system and boot img
Click to expand...
Click to collapse
You have to wipe data otherwise it won't boot, there's no way round this unfortunately
lolo1410 said:
I just tried 2 times this procedure, when I flash the no-verity-opt-encrypt-5.1, I have several error messages like Failed to mount '/data' (Invalid argument) or Unable to recreate /data/media folder or Unable to mount storage and Unable to mount /data/media/TWRP/.twrps.
When I boot up the phone, I have the same error of integrity failed message and I have to flash a stock system and boot img
Click to expand...
Click to collapse
Previous poster is correct. Wipe>Format data>yes> in twrp then you should be good to go.

Unable to boot, Unable to mount system data and cache

Hi Hello everyone
I am having a lenovo a6000
I think its bricked so I need ur attention here
I was able to access fastboot and then booted into twrp recovery.
In recovery I noticed following message (unable to mount /system... Invalid argument, Unable to mount /data... Inavlid argument
Unable to mount /cache... Invalid argument)
I am able to mount memory card and usb
And tried to install stock rom but no success..It ended with some kinda error I don't Remember...
I also tried qpst, qfil and all the qualcomm recovery tools but no success(stuck on firehose(firmware) for about 30-40 minutes)
The time required for flashing through these softwares is max. 5-10 mins I think...
Is there any way to revive my device?
I kindly req the devs to reply
Sorry for bad English
Thank you

Unable to flash anything in Moto G5 Plus

I decided to install a custom ROM in my device and what I did was wiped all partitions except 'Micro SD Card' and 'USB OTG', after that I formated data and it wiped all files in my device. Then I tried to flash the custom ROM but I was unable to flash it and an error message pops up - "failed to mount '/cache' (no such device)." I again tried wiping the partitions and all the partitions gets wiped easily exept the cache partition and the same error message pops up. Also whenever I try to restart into recovery, everytime it shows a message "No OS Installed! Are you sure you wish to reboot?"
So please help me out with this problem I can't flash anything at all
engtika said:
I decided to install a custom ROM in my device and what I did was wiped all partitions except 'Micro SD Card' and 'USB OTG', after that I formated data and it wiped all files in my device. Then I tried to flash the custom ROM but I was unable to flash it and an error message pops up - "failed to mount '/cache' (no such device)." I again tried wiping the partitions and all the partitions gets wiped easily exept the cache partition and the same error message pops up. Also whenever I try to restart into recovery, everytime it shows a message "No OS Installed! Are you sure you wish to reboot?"
So please help me out with this problem I can't flash anything at all
Click to expand...
Click to collapse
TWRP version? Have you tried to flash Disable_Dm-Verity_ForceEncrypt_12.16.2018.zip
to prevent the device from encrypting itself?
Wolfcity said:
TWRP version? Have you tried to flash Disable_Dm-Verity_ForceEncrypt_12.16.2018.zip
to prevent the device from encrypting itself?
Click to expand...
Click to collapse
I'm using TWRP v3.2.3-1 and I've flashed that zip but still the cache partition doesn't gets mount.
anyone have idea, im also experiencing the same issue. I was trying to root, and it wasnt taking it on my Moto G5 Plus, so i wiped everything except the same stuff, and then after that, any time it tries to mount the cache it fails. It wont mount at all, refuses to check the box. This is my log when i try to wipe the cache only now.
Failed to mount '/cache' (No such device)
Updating partition details...
Failed to mount '/cache' (No such device)
...done
Full SELinux support is present.
MTP Enabled
Failed to mount '/cache' (No such device)
E:Unable to wipe '/cache' -- unknown file system 'auto'
Unable to wipe /cache.
Updating partition details...
Failed to mount '/cache' (No such device)
Nevermind, I got it solved,, must have been caught trying to get to the OS, and looping cause there was not OS, and messing things up. Had to make sure i was holding the buttons to go to boot loader every time, but got it working.

H870 twrp cannot mount data issue

I've had my leg h870 rooted for a few years now and I have the bliss 12.4 ROM installed, I'm now trying to update to 12.8 via twrp but it won't allow me to mount /data.
I keep getting the error "could not mount /data and unable to find crypto footer"
I have formatted data in twrp and rebooted into recovery, this allowed me to access the /data partion but once I've booted into system and go back into recovery it won't allow me to mount /data again with the same error I've also tried factory reset via the system but this also won't work.
Does anybody know anything I can do to fix this issue?
twrp is broken, lg bridge worked for me (restock via update error fix)

Categories

Resources