Problems with data partition - Moto G5S Questions & Answers

Hi,
I tried to flash viperOS using squid twrp for moto G5S, but something in the process i think i did wrong.
My phone model is montana xt1790.
I unlocked the bootloader.
I tried to install the recovery, but had same problem than @dau999
dau999 said:
Bootloader gives me a notification that the img is not signed or corrupt (squids one)
Click to expand...
Click to collapse
I tried to flash "no-verity-opt-encrypt-5.1.zip" file posted as solution here https://forum.xda-developers.com/showpost.php?p=74813124&postcount=23.
After this i have working the recovery, but i believe this is what did wrong:
With debug mode enabled, after a wipe clean (Cache, Data, Dalvik/ART and system) and format data (wipe all your apps, backups, pictures, videos, media and removes encryption on internal storage) got this errors:
Code:
Could not mount /data and unable to find crypto folder.
Failed to mount '/data' (Invalid argument)
Unable to recreate /data/media folder.
Unable to mount storage.
Unable to mount /data/media/TWRP/.twrps
Failed to mount '/data' (Invalid argument)
After this errors i flashed ViperOS, but after first boot it, first thing viper OS ask me was the phone password, after i enter it, the phone show up a message saying that password is ok but data is corrupt, restarting and trying to fix my phone without success (same errors like failed to mount /data)
Also i tried to use the "repair or change file system" selecting Data partition, twrp show me this: http://oi65.tinypic.com/2prin8y.jpg, also i got this errors:
Code:
/sbin/fsck.f2fs /dev/block/mmcblk0p54 process ended with ERROR: 255
Unable to repair Data
What should i do?, i don't know is related with an encryption on data partition, or if this can be solve.
EDIT:
Found the solution in reddit: www.reddit.com/r/AndroidQuestions/comments/7w5c75/used_the_format_data_option_in_twrp_recovery_on/
Just fixed the issue after making a second format in TWRP ( WIPE > FORMAT DATA)

Related

[Q] HTC ONE M8, No Storage. Help pleasee!

Hello friends, i hope you can help me because i ****ed up real bad today... I was in cwm recovery, and press some button that said something like "format for rom" or something like that... Now i dont have any SO installed, no rom on my phone, and it says i have 0mb avalaible. So i flashed the TWRP recovery because im more familiar with it, i have tried sideload but get this error con the cmd window after it gets to 100% * failed to write data 'protocol fault (no status)' *
On the phone i have: E: No valid storage partitions.
Any help please? Already tried adb push rom.zip /data or /sdcard but since i have 0mb for storage on my phone i think any of that will work. I can flash recoverys, but cant move any rom to my phone to flash Help please
Ok it seems that i was able to push the rom.zip to my /system but when i try to flash it, it says:
E: Unable to mount /data
E: Unable to find storage partition to mount to usb
worms45 said:
Ok it seems that i was able to push the rom.zip to my /system but when i try to flash it, it says:
E: Unable to mount /data
E: Unable to find storage partition to mount to usb
Click to expand...
Click to collapse
What carrier are you on?
How does that matter? The phone was originally at&t. I need to format my storage or my /data or something to be able to install the rom

0MB Internal Storage in TWRP

Hello everyone,
I have a little problem with TWRP on my LG G3 (D855, 32 GB).
I installed TWRP two months ago and flashed CyanogenMod 12.1.
Now I've noticed that TWRP (2.8.6.0) shows the Internal Storage with 0MB.
When I tap the middle Icon on the bottom of the TWRP Main screen, I get an (maybe helpful?) output:
Code:
E: Could not mount /data and unable to find crypto footer.
E: Unable to mount '/data'
E: Unable to recreate /data/media folder.
Updating partition details...
E: Unable to mount '/data'
...done
E: Unable to mount 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
I'm a bit confused. Could this be, because I used CyanogenMod's Device Encryption?
I'm planning on reverting to Stock Rom (...i quite liked it. And considering the camera quality, CM isn't really any better), but i fear this (or flashing anything different) could brick my phone, since there seems to be something strange.
Is there any way to debug or even fix this?
Is it safe to revert to Stock, when TWRP doesn't even detect the Internal Storage? (following this Guide: http://forum.xda-developers.com/showthread.php?t=2785089)
I'd be glad about any help oder hint, about how to proceed. Thanks in advance!
First, update your TWRP version to 2.8.7.0 (available here: http://forum.xda-developers.com/lg-g3/orig-development/recovery-twrp-touch-recovery-2-8-2-0-t2966129 )
Then, boot into TWRP, go to Wipe and choose "Format Data".
After done that, reboot your device into recovery again.
Thank you very much. I will try this.
i had that , but dont remember what i did ,, but i do know you need to format , by fastboot or twrp and repair partitions
It happens often to me when I upgrade.
I use 3 phones: Xperia Z2, LG G3, Samsung Galaxy S2 and when I've updated to Lollipop it happened all three times.
Recently I noticed that also on the S2 happened this and I suppose it's because partitions are not initialized.
I was unable to write to internal partition (0 MB) and I've solve this way:
I've flashed CyanogenMod, mounted the internal memory as flashdrive under windows and simply formated it.
When I've disconnected the phone from the pc, Android was able to write normally to the internal storage and everything worked like a charm.
I know it's not possible (AFAIK) to mount internal memory on stock roms as Mass Storage, but perhaps someone will point you on how to correctly fix partitions without using my method.
Looks like Kill Switch Wiped
Did you find any solution, even i am struggling with same problem. I think LG G3 has kill switch that wiped out everything, but not sure just guess.
Have same problem any help?

Wipe anything in TWRP causes many Fails

I have installed TWRP and SuperSU following instructions here and it all works but If I try to install any zips or do any sort of wiping i get a list of error messages :
Could not mount /data and unable to find crypto footer.
Failed to mount '/data' (invalid arguement)
Unable to recreate /data/media folder.
Unable to mount storage.
etc
I have tried reinstalling TWRP and SuperSU, even tried reinstalling firmware and still get the errors. My phone seems to be working fine as long as nothing goes wrong or I imagine I can't install a ROM
Any advice would be greatfully appreciated.

E: Failed to mount /cache (Invalid argument) - ZE551ML

Hi All,
I have a ZE551ML (4 GB RAM, 16 GB ROM) that belongs to a friend. Yesterday, he was using it when suddenly all apps force closed and the device rebooted after which, there's a bootloop. We tried factory reset and it is able to format /data but throws the error E:failed to mount /cache (Invalid argument). Because of this we cannot flash anything as well (remote cmds error). We tried flashing with SD Card, fastboot, ASUS Flash Tool and from what it seems, the flashing fails because it is unable to mount the cache partition.
Can anyone guide on how to fix this issue?
Is it an eMMC failure?

Unable to restore TWRP backup: "Failed to mount /system (Structure needs cleaning)"

Unable to restore TWRP backup: "Failed to mount /system (Structure needs cleaning)"
Chiron latest version of TWRP, LOS15.1 and 16.0
I wanted to revert to the backup I made before upgrading to LOS16. So I launch TWRP, press restore, select all partitions, and I get to the Data partition when it says "extractTarFork() process ended with ERROR: 255".
I try again, this time without restoring the data partition, and I get to the very end of the process before it says "Failed to mount '/system' (Structure needs cleaning)". I try to repair /system, it fails. I format it to ext4, no help.
Now I've stopped trying anything. The phone can't be turned off, it'll just boot to fastboot, so I've left it on TWRP.
Edit: Alright. Formatted data, wiped System and Cache, installed the latest nightly of 15.1, installed the version of GApps I wanted, booted up just fine. Tried the restore, and it made it all the way through, no ERROR 255, nothing, until the very very end, when it again failed to mount /system, Structure needs cleaning. Rebooting to system sends me to fastboot.

Categories

Resources