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
Related
Hey guys,
The problem all started last week when I encrypted my tf300. For some reason it did not occur to me that this would be an issue when I started the process of rooting today. I used the asus bootloader unlocking tool and got fastboot to work long enough to flash cwm but when I tried to flash from sdcard it said that it cant mount sdcard. This is where I messed up. I realized that I needed to format data so that I could unencrypt. Booted to cwm and formatted system and the two others that are there but it refused to format data. Now it boots to the Asus screen and recovery does not mount sd. fastboot devices list is empty same with adb devices.
Any ideas??
Thank you
So I guess my question is how do I erase or format data partition so that i can flash a rom.
any help is appreciated.
thanks
Switch on with power + VOL down then VOL Down, then VOL Down twice to move across to WIPE DATA, VOL Up or power should select it for you.
when I select wipe data the device boots to clocworkmod recovery.
Davyphil said:
when I select wipe data the device boots to clocworkmod recovery.
Click to expand...
Click to collapse
Ah you will probably need the standard recovery image as there is probably some lock on it.
http://forum.xda-developers.com/showthread.php?t=1668173
You will need to ask XpLoDWilD for it then flashboot it back onto there and try again?
ok ill give this a try. hopefully i can get fastboot to flash the image. i had a hard time getting clockworkmod on there.
thank you
Davyphil said:
ok ill give this a try. hopefully i can get fastboot to flash the image. i had a hard time getting clockworkmod on there.
thank you
Click to expand...
Click to collapse
I've been flashing recoveries all day and had no issues with it.
---------- Post added at 09:08 PM ---------- Previous post was at 09:04 PM ----------
Did you format:
System,
Cache,
Staging
Data
then wipe cache
then data/factory reset
then advanced and wipe dalvik
i was able to format system cache and staging but when i try to format data it says:
error mounting /data!
skipping format...
done.
says something similar when i try to mount sdcard so that i can flash .zip files
Davyphil said:
i was able to format system cache and staging but when i try to format data it says:
error mounting /data!
skipping format...
done.
says something similar when i try to mount sdcard so that i can flash .zip files
Click to expand...
Click to collapse
Have you tried Factory reset from the main menu?
when I choose wipe data/factory reset i get:
--wiping data...
formatting /data...
error mounting /data!
skipping format...
formatting /cache...
formatting /sd-ext
formatting /sdcard/.android_secure...
error mounting /sdcard/.android_secure!
skipping format...
data wipe complete.
Davyphil said:
when I choose wipe data/factory reset i get:
--wiping data...
formatting /data...
error mounting /data!
skipping format...
formatting /cache...
formatting /sd-ext
formatting /sdcard/.android_secure...
error mounting /sdcard/.android_secure!
skipping format...
data wipe complete.
Click to expand...
Click to collapse
Standard recovery might let you wipe it.
Just had a look on XDA and this might help you?
orcruin said:
Hello Everyone
To flash a new ROM you can do as follows:
boot in Recovery
format cache partition
from your PC use adb to mount /sdcard as tmpfs:
adb shell mount -t tmpfs none /sdcard
put your ROM on the (fake) sdcard
adb push <your rom> /sdcard
use the recovery to flesh the ROM as usual
This worked form me.
Sorry to be late...
Click to expand...
Click to collapse
http://forum.xda-developers.com/showpost.php?p=24923240&postcount=16
i am going to start by apologizing for being such a noob. Thank you so much for your help.
I am not very familiar with adb and fastboot i have only used it a couple times and this is when im being led through it by some forum on xda.
when i run the first line i get
error: device not found
from what i have seen this is a driver issue?
i have used this same stuff to help root my phone a while back. could that be an issue?
i tried the commands while the device was in recovery and while in fastboot mode.
thanks again
Davyphil said:
i am going to start by apologizing for being such a noob. Thank you so much for your help.
I am not very familiar with adb and fastboot i have only used it a couple times and this is when im being led through it by some forum on xda.
when i run the first line i get
error: device not found
from what i have seen this is a driver issue?
i have used this same stuff to help root my phone a while back. could that be an issue?
i tried the commands while the device was in recovery and while in fastboot mode.
thanks again
Click to expand...
Click to collapse
Just trying it on my device and I get the same, its not mounting it here either.
sounds like im stuck until i can get my hands on a stock recovery image
Davyphil said:
sounds like im stuck until i can get my hands on a stock recovery image
Click to expand...
Click to collapse
Reading from that thread the only way to wipe encrypted image is if you boot into it, not sure the standard recovery will do it
When I found out that the encryption was the problem I tried to do a factory reset in the settings and it just booted me into clockworkmod. I should have just flashed stock recovery then.... lesson learned.
I hope I didnt make an expensive paperweight.
Davyphil said:
When I found out that the encryption was the problem I tried to do a factory reset in the settings and it just booted me into clockworkmod. I should have just flashed stock recovery then.... lesson learned.
I hope I didnt make an expensive paperweight.
Click to expand...
Click to collapse
Is it working now?
I've managed to get mine mounted in recovery, just testing the push of files now.
no I havent been able to get it mounted
Davyphil said:
no I havent been able to get it mounted
Click to expand...
Click to collapse
Yours is a bit more difficult but I have managed to mount and push files in recovery to my sd card.
Need to work out how to format yours now.
Sent from my GT-I9100 using xda premium
could there be a way to partition and do some sort of "dual-boot"
just a random idea.
I've been struggling with getting a ROM properly working, and it looks like because both TWRP and CWM aren't wiping properly. I looked up how to properly do a wipe, so I went into TWRP 2.7.0.1, Advanced Wipe and selected
-Dalvik Cache
-System
-Cache
-Data
The main error I get is this error and the wipe fails:
E:Unable to mount '/system'
E:Unable to mount '/cache'
E:Unable to mount '/modem'
So I tried to mount them manually, but it wont let me select those partitions.
I thought it was TWRP, but CWM 6.0.1.0 does the same thing because of the mount problem. I've already unbricked/went back to stock 3 times using RSD Lite 6.1.5. These errors are preventing me from restoring both backups I have from internal and external SDs. I've also tried go through FASTBOOT by using this command:
-fastboot erase system
But then it tells "permission denied". I'm using Windows 8.1 and changed the permissions in my fastboot folder. So now I only have access to fastboot or recovery.
Another thing i've noticed is that sometimes TWRP would crash and restart in the middle of a restore or wipe. I reverted to 2.7.0.0, this would still happen.
I've searched and searched but can't find anything to help with my issue. Like i've said before, I already returned it to stock rom 4.1.2 three times. What else can I do to properly wipe so I can flash a rom without any problems?
[RESOLVED]
For those who might have the same problem, i'm leaving the post as is. Here's what I did:
-Went into FASTBOOT and loaded an older version of TWRP. In this case, I flashed version 2.3.3.1(in other cases, I've had to use 2.2.2.2)
-Did a Wipe/Factory Reset(Do it 3 times to be safe)
-Dalvik/Cache Wipe(3X)
-System Wipe(3X)
-Reboot to FASTBOOT and flash back to the newest version of TWRP(2.7.0.1)
-Flash your ROM and make sure to Flash the correct compatible gapps
-Voila, everything should be good to go
The fix you have here worked for me, so thank you. however, i feel like we were both lucky to get this to work, and i doubt that we could recreate the issue exactly and fix this once again, for every time i try and flash a rom i encounter mounting errors everywhere, and they seem to be completely random. jumping from mounting /data, to /system, and even internal storage. this; on both twrp and cwm.
nonetheless, this post was of great help. i really appreciate you taking your time to edit the post. thank you again
Thanks so much! Had the same exact problem and your resolution worked like a charm! :good:
xavi96end said:
The fix you have here worked for me, so thank you. however, i feel like we were both lucky to get this to work, and i doubt that we could recreate the issue exactly and fix this once again, for every time i try and flash a rom i encounter mounting errors everywhere, and they seem to be completely random. jumping from mounting /data, to /system, and even internal storage. this; on both twrp and cwm.
nonetheless, this post was of great help. i really appreciate you taking your time to edit the post. thank you again
Click to expand...
Click to collapse
I'm glad it was of some use to you guys, I spent about 3 days with a soft bricked phone because I couldn't find anything useful on why ALL the ROMs I flashed would be so buggy. Of course it was because the recoveries I werent wiping all the way. Anyway, I recently had a less serious and related issue with wiping again, and went to an even older version of TWRP 2.2.2.2. I'm really not sure why it happens, but it gets the job done.
I've posted about this issue in the TWRP thread. Not sure if the latest official TWRP has been updated - but I posted a test version that works really well - others have reported the same.
Hopefully an official version which has the fix will drop soon. Otherwise, my test build of TWRP is fine, I'm still using it.
Sent from my PHOTON Q using XDA Free mobile app
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..
First things first, I'm a newbie when it comes to all these.
I installed CM11 after much effort, but some things didn't work out well so afterwards, I installed CM12.1* (FXP-cm-11-20150301-UNOFFICIAL-taoshan).* But then I decided that I wanted to change my Gapps Package, so I went to recovery mode once again to wipe my phone and install CM12 all over again.
The thing is that for some reason I just couldn't wipe it (no error message) but I was able to log in back to the system (CM12).
I messed around with a few settings and finally I decided to install twrp 2.8.7.0 through the flashify app. I rebooted to recovery, tried to wipe again my phone and then, all hell broke loose.
I realized that I cannot wipe internal memory of all things, and cannot install any new ROM. Can't flash another recovery either through windows flashtool like CWM 6.0 Philz touch, for example. Well, it does flash but my phone keeps on logging into the twrp recovery. I also can't flash my original fft (obviously). I can't do really anything besides messing around with twrp options (and I've messed a lot with them). I'm all out of ideas, so please someone help. When trying to wipe internal storage, the following message appears:
E:mkdosfs /dev/block/mmcblk0p32 process ended with ERROR=1
E:Unable to wipe '/sdcard'.
E:Unknown MTP message type: 1
E:Unable to wipe '/sdcard'
I have the whole log, for anyone interested.
Please help and remember, I'm a newbie.
Thank you.
immortalwind said:
First things first, I'm a newbie when it comes to all these.
I installed CM11 after much effort, but some things didn't work out well so afterwards, I installed CM12.1*(FXP-cm-11-20150301-UNOFFICIAL-taoshan).* But then I decided that I wanted to change my Gapps Package, so I went to recovery mode once again to wipe my phone and install CM12 all over again.
The thing is that for some reason I just couldn't wipe it (no error message) but I was able to log in back to the system (CM12).
I messed around with a few settings and finally I decided to install twrp 2.8.7.0 through the flashify app. I rebooted to recovery, tried to wipe again my phone and then, all hell broke loose.
I realized that I cannot wipe internal memory of all things, and cannot install any new ROM. Can't flash another recovery either through windows flashtool like CWM 6.0 Philz touch, for example. Well, it does flash but my phone keeps on logging into the twrp recovery. I also can't flash my original fft (obviously). I can't do really anything besides messing around with twrp options (and I've messed a lot with them). I'm all out of ideas, so please someone help. When trying to wipe internal storage, the following message appears:
E:mkdosfs /dev/block/mmcblk0p32 process ended with ERROR=1
E:Unable to wipe '/sdcard'.
E:Unknown MTP message type: 1
E:Unable to wipe '/sdcard'
I have the whole log, for anyone interested.
Please help and remember, I'm a newbie.
Thank you.
Click to expand...
Click to collapse
try wipe->advanced wipe -> change fs -> ext4
SdtBarbarossa said:
try wipe->advanced wipe -> change fs -> ext4
Click to expand...
Click to collapse
Thank you for your answer my friend, but I actually managed to fix my problem just moments before you posted your answer! What I did was to flash the cm12.1 recovery nightly which logged me into this recovery (although it seemed all messed up and.. broken). Nevertheless, I managed to flash the CM12.1 ROM from there and everything worked fine!
Bro #immortalwind.. I'm having the same problem exactly what you had. Seriously fu***d up with all with boot loop @ recovery. Could not able to hard reset / factory reset at neither CWM nor TWRP. Tried all knows possible ways. Please could you help me here. Any1 who can halp me here pls...
P.S: literally not moving from the boot load, so flashing a ROM could not be possible i think. any other suggestions please.....
RaamXperiaL said:
Bro #immortalwind.. I'm having the same problem exactly what you had. Seriously fu***d up with all with boot loop @ recovery. Could not able to hard reset / factory reset at neither CWM nor TWRP. Tried all knows possible ways. Please could you help me here. Any1 who can halp me here pls...
P.S: literally not moving from the boot load, so flashing a ROM could not be possible i think. any other suggestions please.....
Click to expand...
Click to collapse
Try this out
RaamXperiaL said:
Bro #immortalwind.. I'm having the same problem exactly what you had. Seriously fu***d up with all with boot loop @ recovery. Could not able to hard reset / factory reset at neither CWM nor TWRP. Tried all knows possible ways. Please could you help me here. Any1 who can halp me here pls...
P.S: literally not moving from the boot load, so flashing a ROM could not be possible i think. any other suggestions please.....
Click to expand...
Click to collapse
Just reflash stock ftf. You'll be good to go. If that fails, check drivers and downgrade flashtool. After that, normally, install a boot image with a recovery, install your rom gapps, reboot.
Managed to flash.ftf... Thanks for the help friends.
Sent from my C2104 using XDA Free mobile app
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 .