So I tried flashing CM 12.1 on my Moto G (2013) and it had an error on flashing:
Code:
Detected filesystem ext4 for /dev/block/platform/msm/sdcc.1/by-name/system
Patching system image unconditionally...
blkdiscard failed: Invalid argument
E:Error executing updater binary in zip '/sdcard/cm-12.1-20150429-NIGHTLY-falcon.zip'
It shouldn't do that, I'm not sure why it didn't work. I wiped the system, cache, and data partitions beforehand.
I'm on a Telus XT1032 that I have converted to GPE.
I tried downloading an older nightly, verifying the md5sum, and trying that, same error. I read that for GPE you need to convert the data partition to F2FS from ext4, so I did that. I actually tried a number of different fielsystems for data, system, and cache. Nothing worked.
I flashed a gpt.bin partition table file from XDA that was supposed to fix things, and then the "unmountable" problems started happening. At first data wasn't mounting, but the others were.
Now I've got system as ext4 and cache+data as f2fs. I tried this, which resulted in the data partition being unmountable by TWRP. So I decided to just try to get my stock ROM running again, (Telus 5.02 ROM), using the instructions based on an XDA thread which I can't link since I just made an account (fastboot flash boot.img, system.img_spacechunk.0, etc) and it's stuck at the boot logo screen, and TWRP says the cache and system partitions could not be mounted.
I've made a reddit thread on /r/motog which I also can't link. I thought I'd mention it in case it had any more information that could help, though I've tried to put it all into this post.
If I try to turn it off, it just turns on again and gets stuck on the boot logo, but I can access fastboot and TWRP. I just want something to boot on it.
Can someone help me completely re-image my phone to fix any partition table stuff and format the partitions as the right filesystem and get it to boot?
I tried flashing the latest CM 12.1 nightly zip again, it said the cache wasn't mounting and failed. I reformatted cache as ext4 and retried it again, and it seemed to work.
It works now, though I'm not 100% sure what I did. How do I close this topic?
theRealPadster said:
I tried flashing the latest CM 12.1 nightly zip again, it said the cache wasn't mounting and failed. I reformatted cache as ext4 and retried it again, and it seemed to work.
It works now, though I'm not 100% sure what I did. How do I close this topic?
Click to expand...
Click to collapse
the same problem as yours.I feel so confusing..
Related
Hi there
I wanted to install the Android L developer preview on my Nexus 5. For this I had to unlock the bootlader because it was still locked. That worked fine.
I then downloaded the Android L image for my Nexus 5 tried to install it, got stuck at the google logo and then thought to just roll back to Android 4.4. So I downloaded the factory image from google, switched into fastboot mode, and executed the flash-all.sh script (running on Ubuntu). That seemed to work, device restarted a few times but got stuck on the boot animation logo again.
I wanted to switch into recovery mode to wipe the cache, but the red triangle appears. As quick solution, I just downloaded the clockworkmod-recovery and installed it using the fastboot flash recovery clockworkmod.img command. That worked, I was able to get into the clockworkmod recovery, wiped everything and restarted, but I'm still stuck at the boot animation.
While wiping I had the following messages in the log:
Code:
Formatting /data
Error mountin /data
Skipping format
Formatting /cache
Formatting /sd-ext
E: unknown volume for path [/sd-ext]
Formatting /sdcard/.android_secure
Error mounting /sdcard/.android_secure !
Skipping format..
Data wipe complete.
When rebooting from clockworkmod it asks me if I want to root my device because it seems to be unrooted. I've tried accepting and declining that message, but I can't still boot up my device. Anyone got any idea what might be wrong here?
Thanks alot!
Edit: Allright, somehow, after hours of spending with reflashing, it seemed to work. I can't remember to have done anything special. Only thing I did different was that I executed every command from the flash-all.sh by hand instead of executing the flash-all script.
I was trying to install CM11 on my Stock unrooted xoom, so I went ahead and followed cyanogenmod.org's guide.
It was great until the flashing CM part. And then, I got this error: System is not bigpart . (something along those lines.)
I found a same guy who had posted a solution to this.
So I go ahead and follow this, and when I flash BigPart TWRP 2700, I get this error on the device: Installation aborted. I used the sideload method for this.
I looked up some forum threads on how to fix this, and there was a thread which told me to install another version of TWRP BigPart, the R.A.H version. I did that by sideload, it installed, and I rebooted into recovery (after wiping dalvik cache). Teamwin loaded up fine, and I headed into the wipe section. According to the solution at ditoforge.com (link above), I had to go to advanced wipe and wipe everything BUT the sdcard. I did that, and I got this error: E: Can't mount /cache. I went ahead and flashed CWM through fastboot again, repeated the process, and no luck. Then, I went into fastboot and flashed TWRP Bigpart 2.7 directly using adb. It worked, though I got a series of errors upon trying to wipe (unable to mount /system, /cache, /data, etc)
I panicked, fearing a brick, and flashed back CWM. Luckily, I had taken a backup of Stock 4.1 and I restored back to that, thankfully finding it working. *phew*
I also tried fastboot format cache but I got this error on cmd:
Code:
C:\Users\User\Desktop\adb>fastboot format cache
formatting 'cache' partition...
Formatting is not supported for filesystem with type ''.
FAILED ()
Strangely, fastboot erase cache seemed to work.
I wanted to call quits, but I love CM11 and I would really like to give this a shot. Any help and tips would be really appreciated. Thank you all in advance.
Bump. Tried to use CWM recovery again after flashing, but now ADB doesnt work in recov. :\
Bump..
Any help would be appreciated..
I formated all partitions individually in TWRP and it worked... I.E, managed to flash CM11.
Hope that helps.
Now I'm back on CM10.1
Sent from my Nexus 5 using XDA Free mobile app
ATZ-007 said:
I formated all partitions individually in TWRP and it worked... I.E, managed to flash CM11.
Hope that helps.
Now I'm back on CM10.1
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
I've tried that too, but I can't wipe any partition with TWRP. I get the error "E: Unable to mount /cache" with any partition. Thanks for the help though.
Bump.. help needed please..
Is no one active on the XOOM forums anymore? :|
Bump.
bumping a year later help pls
Same issue... Can't mount /cache
How can I manually format it?
Solved:
fastboot erase cache
I've read this issue with other devices, however. i've not found a solution for this yet
I'm new to this forums, let me know if i don't do something right.
I've been using Alberto97's AOSP Lollipop 5.1.1, it's my first custom rom install, i got it on
the first try, TWRP 2.8.6.0 running with no problems.. flashed other stuff like moto camera, marshmallow bootanim, and that's all
Last week i've tried to update to the CAF latest version of his build, however, TWRP
reboots when i try to wipe the /data partition, in the custom TRWP 2.8.7.0 thread found
i might need to repair the partition, i tried it with no success, repaired /cache with no problem, but when i try to fsck /data on TWRP it gaves me an error, haven't tried /system yet.
tried using CWM and it got stuck at wiping /data for like an hour (endless loop), i rebooted, the data was wiped, but i couldn't flash the ROM image, rebooted to clean system with no problems, it wipes cache and dalvik with no issues.
What's causing this? i have not faced apps FC or anything, just the TWRP random crashes at wiping, i'm using a Moto G XT1032 16GB TWRP 2.8.6.0 No custom kernel or non official recovery.
justpaste.it/wipedar
Leaving recovery.log on external page for reference.
hope you can help, thanks in advance.
Same problem here
You can use CWM by PhilZ for fixing what I think is a broken symlink to the emulated internal storage card.
I am using philz-6.58.7-falcon that you can find and download here: http://forum.xda-developers.com/showthread.php?t=2639583
Once you have flashed the new recovery you can go to "Advance menu", then to "change sdcard target" and define it to /data/media (you just have to tap on the option to set it).
Go back, select "Wipe option", then "Wipe User media" and the process should be successful.
If you reinstall TWRP and wipe "/data" now the rebooting problem should be gone and everything back to normal.
Hope this helps for you.
By the way this is my very first post here. So I hope I am doing this right.
Greetings.
Thank you for the help, i fixed it by repairing the userdata partition with the latest TWRP
My S6310N refuses to complete boot up, after trying quite a few ROMs stays frozen during booting. Even giving me errors in the recovery, are the kind Unable to mount '/ data'.
This is the error log during wipes on TWRP recovery: i1352.photobucket.com/albums/q655/obiwan2208/zx.jpg
For the rest I can flash with Odin stockROMs and TWRP, but after the Samsung's animated logo leaving the SAMSUNG letters flashing and stay frozen there.
I tried to make wipes and although do something, continue without mount 'storage', '/data', etc.
Also with Odin I checked the option "Nand Erase All".
Has been corrupted the file system? Must to be formated somehow? Any fix will be welcome. ThnX
Fixed by myself
It's done
As I see the smartphone can't mount '/data' I played with TWRP recovery and I formated 'data' partition.
Then for be more sure and works I checked out making one wipe (before gave errors) and it's OK: any red text.
Right now I'm flashing stockROM, TWRP, SuperSU... :victory:
Seems that 'data' partition was kept corrupted despite had to flash stockROMs
Hello, thanks for your help.
It seems I bricked my galaxy s7 while trying to format the /data partition.
I installed TWRP 3.2 and a custom rom, and everything went smoothly until then.
I tried installing an audio mod which throwed a " can't mount /data" error, searching for solutions I read that formatting the data partition to fat and back to ext4 should solve the problem, I tried formatting it to fat with TWRP, however on the first try I got a message that it suceeded, followed by a message that /data could not be mounted, TWRP seemed to be still working (there was no reboot button or any other buttons, just a "working" bar). After giving the phone 3 hours I decided to restart it, now I can't access TWRP; it stays on it's "splashcreen", and of course the phone won't boot.
I'm having a rough time with this so I will appreciate it a lot if you can help me.
Thank you.
Boot to download mode, flash stock firmware using Odin, then retry the TWRP installation.
For wiping data, you have to make sure you use the wipe option that makes you type out 'yes' to wipe, the other factory wipe methods don't actually properly wipe the partition.
iirc you also then need to flash the dm no verity zip from the TWRP thread.
Bro you didn't have to do anything but just formating the phone in the first place. Aassuming you're on oreo , it happens to a lot of people and myself, after flashing a kernel twrp was unable to munt data, all i had to do is a data format in twrp that fixed the problem .