[Q] How to resize the Cache partition - Xperia Play Q&A, Help & Troubleshooting

OK, so I have been running DoomKernel on my R800x for ages now and tonight I decided to try out the TurboKernel:
See post # 1234 through 1241
http://forum.xda-developers.com/showthread.php?t=1817548&page=124
I flashed it and had some issues with GB, so I formatted Cache/data/system partitions as mentioned in CosmicDans FAQ. I then booted from recoveryPLAY.img wiped all three again then ftfd back to a stock VZ ftf. Then wiped all three again via recoveryPLAY, then reflashed DK. Only to find that I despite all the wiping, ftfing, and flashing that I can only restore system & data of my nandroid backup. If I restore cache I get an error of "not enough storage". This being despite the fact that I ftfd and had it clear/erase everything. I have even repaired my sd card via my pc...... still I get the same.
Can anyone offer any ideas/suggestions how to fix this cache partition error? I believe that Turbokernel resizes the cache partition.. but even doing all the above to restore it back its still the same.... any ideas? I hav espent 3 hours trying to repair this to no avail... and I am out of ideas.... thank you in advance.

One thing I forgot to mention is that when I attempt to restore my apps as half are missing from the system drawer TB loads but during restore process it just hangs... anyone have any ideas?
I just FTFd again and tried to restore my cache but it spit back as "error: cache/log/ not enough storage...

ozzmanj1 said:
One thing I forgot to mention is that when I attempt to restore my apps as half are missing from the system drawer TB loads but during restore process it just hangs... anyone have any ideas?
I just FTFd again and tried to restore my cache but it spit back as "error: cache/log/ not enough storage...
Click to expand...
Click to collapse
Anyone?!?!

OK< somehow I got it to restore the cache without any lack of storage issues, however now my sdcard wont mount when the phone is booted up. Any ideas how to get the card to mount on bootup?

nevermind...

Forgot to mention that yes I did go to the storage menu under settings, everything is greyed out excpet the safe unmount when battery cover is removed.

Related

[Q] Error when formatting /data...

My phone was working fine until I upgraded two apps (I can't recall which ones) and my phone rebooted on its own; weird. I am running CM7 BTW.
I figured "No problem, I'll just flash my backup through Clockworkmod; not so. I keep getting "error formatting /data" regardless of any wipe, format I do.
I am not sure what to do from here. Please help. Searching revealed some RUU advice, but those were in other phone forums and I want to make sure I don't screw this up.
evil_elf said:
My phone was working fine until I upgraded two apps (I can't recall which ones) and my phone rebooted on its own; weird. I am running CM7 BTW.
I figured "No problem, I'll just flash my backup through Clockworkmod; not so. I keep getting "error formatting /data" regardless of any wipe, format I do.
I am not sure what to do from here. Please help. Searching revealed some RUU advice, but those were in other phone forums and I want to make sure I don't screw this up.
Click to expand...
Click to collapse
What version of cwm are you using?
Sent From My Optimized HTC Incredibly Dinc
It was the orange, but I upgraded it to see if it would work. uh, oh, as I write this, I fear worse...
Upgrading changed cwm to blue, but still same problems. It is almost as if the data directory has no write permissions.
I got impatient and used the ruu.exe from pvillecomp and now it gets stuck at the red eye droid screen and is on a reboot loop.
I can't get into recovery now, I get the phone icon with the red ! triangle. I figure cwm is gone now, so what, use unrevoked again? This would flash a new recovery, correct? Otherwise, how would I get the zip file onto the sd card now to flash via hboot? Even with a cwm, I imagine I will have the same formatting issues, unless the rom upate utility corrected those.
evil_elf said:
My phone was working fine until I upgraded two apps (I can't recall which ones) and my phone rebooted on its own; weird. I am running CM7 BTW.
I figured "No problem, I'll just flash my backup through Clockworkmod; not so. I keep getting "error formatting /data" regardless of any wipe, format I do.
I am not sure what to do from here. Please help. Searching revealed some RUU advice, but those were in other phone forums and I want to make sure I don't screw this up.
Click to expand...
Click to collapse
Try manually mounting /data before wiping it.
EDIT: Nevermind just read your other post about loosing cw recovery. Are you still s-off?
yeah, I tried every combination of mounting and formatting and it always failed with the same message. I am still S-off, so I imagine from here I can use unrevoked to flash cwm back onto it then I can try to restore from a saved ROM I have on my card. Should I do that?
I could copy the file to flash cwm file to my card instead I guess, but my card would have to be FAT32 I assume.
Well I flashed ClockworkMod 5.0.2.0 using HBOOT and now I am back to my original problem: Error while formatting /data! I can mount /data, but not format it, even through the mount menu option. Any ideas?
I don't know much about the file structure but does this not seem like a permissions issue to you guys? Fix permissions in CWM and factory resets don't help either.
evil_elf said:
Well I flashed ClockworkMod 5.0.2.0 using HBOOT and now I am back to my original problem: Error while formatting /data! I can mount /data, but not format it, even through the mount menu option. Any ideas?
I don't know much about the file structure but does this not seem like a permissions issue to you guys? Fix permissions in CWM and factory resets don't help either.
Click to expand...
Click to collapse
Do you have a ext2/3/4 partition on your sdcard?
cmlusco said:
Do you have a ext2/3/4 partition on your sdcard?
Click to expand...
Click to collapse
By partition, do mean directories? I formatted the card to FAT32 but did not partition it in any way. I don't believe I had separate partitions on it before, but I could be wrong. Wouldn't the partitions have shown up in my Windows OS when I plugged the card in to the reader?
evil_elf said:
Well I flashed ClockworkMod 5.0.2.0 using HBOOT and now I am back to my original problem: Error while formatting /data! I can mount /data, but not format it, even through the mount menu option. Any ideas?
I don't know much about the file structure but does this not seem like a permissions issue to you guys? Fix permissions in CWM and factory resets don't help either.
Click to expand...
Click to collapse
factory reset in hboot is different. It will probably wipe programming so you'll have to *228 1 and *228 2 to yet reprogram your phone. It'll probably wipe sdcard and emmc too. I've not tried so this is at your own risk. see if there are better options first.
Sent from my ADR6300 using Tapatalk
tiny4579 said:
factory reset in hboot is different. It will probably wipe programming so you'll have to *228 1 and *228 2 to yet reprogram your phone. It'll probably wipe sdcard and emmc too. I've not tried so this is at your own risk. see if there are better options first.
Sent from my ADR6300 using Tapatalk
Click to expand...
Click to collapse
I've already tried it before. It did not touch my card but did reset my phone's programming.
The restore function in CWM only touches the internal memory, correct?
evil_elf said:
By partition, do mean directories? If so, yes. I formatted the card to FAT32 but did not partition it in any way. I don't believe I had separate partitions on it before, but I could be wrong. Wouldn't the partitions have shown up in my Windows OS when I plugged the card in to the reader?
Click to expand...
Click to collapse
No windows would not see it if its there you would need to use a program called "gparted" on your pc to get rid of it or reformat it. Also when you tried the factory reset from hboot were you on a stock recovery then or cwm?
cmlusco said:
No windows would not see it if its there you would need to use a program called "gparted" on your pc to get rid of it or reformat it. Also when you tried the factory reset from hboot were you on a stock recovery then or cwm?
Click to expand...
Click to collapse
I tried the Factory Reset from HBOOT and also the Wipe Data/Factory Reset from CWM. Occasionally I am getting the 5 vibrations and a black screen when trying to turn off and on; battery pull allows me to boot up into ROM or HBOOT.
CM7 is working now, but the hard button bindings are screwed up along with a bunch of other stuff. CWM is able to restore the system, but fails on data so it makes sense. I can't receive calls either. I was so hoping the ruu would have fixed this...
The card should have no bearing on flashing a ROM? Or am I not understanding this?
Oh, I also tried to restore and format data manually without the card in to no avail. The Wipe Data/Factory Reset formats the data folder without errors but not the manually method of formatting or the restore method.
Could this help? http://forum.xda-developers.com/showthread.php?p=18287267
Just tried this: http://forum.xda-developers.com/showthread.php?t=1006556
Still same error.
To return my phone under warranty to a Verizon store, do I need to make sure that the stock ROM is flashed and the phone is unrooted with S-ON again? I am starting to think this is the route I am heading down and I only have a week left on my warranty.
Very short answer.........YES!!!
A kind soul helping me at http://forum.cyanogenmod.com/topic/32272-error-formatting-data-when-restoring/
*Possible Solution* If still an issue
If it is still an issue I had the same problem with my incredible.
I was playing a racing game on my phone and it just restarted on its own. When I turned it back on the phone had reset itself. Every time I would restart the phone from then on it would delete every thing I had saved like it was doing a factory reset. So I tried to do a wipe and restore and no luck. I kept getting the same errors you were getting in clockwork. I also tried the e2fsck commands from the link in the prior post and no luck.
1. I got a working HTC Incredible and booted into recovery and mounted all partitions.(/system, /data, etc.)
2. Then I used adb to pull the filesystem from the working phone with this command.
c:\android\adb pull / filesystem
This puts all the files from the phones root folder into a folder named filesystem in the same directory as the adb files.
3. After that finished I hooked the phone with the messed up partitions to the computer, booted into recovery, and mounted all partitions.
4. Then I used adb to push the filesystem from the working Incredible to the Incredible with the messed up partitions with this command.
c:\android\adb push c:\android\filesystem /
5. When it finished I rebooted the phone. It booted up and I got a few force close errors but nothing major, so I restarted and booted into recovery. When I tried to format /data it formatted like it should have.
6. Finally I downloaded the stock+ rooted rom and flashed it with clockwork and the phone booted up fine with no force closes and doesn't reset after reboot.
This worked for me and should work for anyone else that has this filesystem problem.
Can i get those files?
i dont have a working incredible. can you post a link to the working filesystem.
Thanks.
androidi1 said:
If it is still an issue I had the same problem with my incredible.
I was playing a racing game on my phone and it just restarted on its own. When I turned it back on the phone had reset itself. Every time I would restart the phone from then on it would delete every thing I had saved like it was doing a factory reset. So I tried to do a wipe and restore and no luck. I kept getting the same errors you were getting in clockwork. I also tried the e2fsck commands from the link in the prior post and no luck.
1. I got a working HTC Incredible and booted into recovery and mounted all partitions.(/system, /data, etc.)
2. Then I used adb to pull the filesystem from the working phone with this command.
c:\android\adb pull / filesystem
This puts all the files from the phones root folder into a folder named filesystem in the same directory as the adb files.
3. After that finished I hooked the phone with the messed up partitions to the computer, booted into recovery, and mounted all partitions.
4. Then I used adb to push the filesystem from the working Incredible to the Incredible with the messed up partitions with this command.
c:\android\adb push c:\android\filesystem /
5. When it finished I rebooted the phone. It booted up and I got a few force close errors but nothing major, so I restarted and booted into recovery. When I tried to format /data it formatted like it should have.
6. Finally I downloaded the stock+ rooted rom and flashed it with clockwork and the phone booted up fine with no force closes and doesn't reset after reboot.
This worked for me and should work for anyone else that has this filesystem problem.
Click to expand...
Click to collapse
Here try this one http://dinc.does-it.net/Touch_of_Blue/filesystem.zip, im interested to see if this works for you too. It seems quite a few people have been having issues with /data latley.
I get error
Code:
push: filesystem/sys/devices/platform/android_pmem.0/power/wakeup -> /sys/devices/platform/android_pmem.0/power/wakeup
failed to copy 'filesystem/sys/devices/platform/android_pmem.0/power/wakeup' to '/sys/devices/platform/android_pmem.0/power/wakeup': Operation not permitted
i get this error trying to push the filesystem. any workaround?

Help - phone won't boot, stuck on carrier logo

Running MIUI, AmonRa. Phone was totally stable, today I was charging it and it refused to turn on. Pulled battery and when I turn on, its stuck on white htc Evo screen.
I can boot to recovery and see my old nandroid's and make a new one. I can S-OFF in recovery. Restoring the nandroid doesn't seem to help, its still stuck on white boot screen.
A few things to try:
1)Reboot to bootloader and select fastboot and reboot... have had this work before...
or
2)In recovery wipe everything then restore your nandroid.
or
3)Have a copy of the MIUI version you were on? In recovery, wipe system, then flash the ROM
LG optimus LTE WON"T BOOT
My Phone won't boot after try to install CWM. The touch buttons flash couples sec after press power but phone won't turn on. When i plugged in the computer, the computer recognize it but can't do restore. HELP PLEASE!!!
Ok I managed to debug this a little bit more.
Can get to recovery, but trying to restore nandroid's failed. I did this after wiping everything, doing a factory reset, and it still fails. When I tried to mount each partition individually, it failed to mount sd-ext with the error "can't mount /dev/block/mmcblk0p2 (File exists)".
I think this was the key, as I was using dta2sd on all my roms. Luckily I had another rom which was not using sd-ext, and I was able to restore that.
Is my sd-ext partition now lost? I can't check its status using the rom I have since it doesn't support sd-ext. Obviously all my apps were installed on it and I'd like to back them up.
The sd card itself seems fine, I can see everything on it.
I was actually going to post about this, thanks for doing it for me man.
Even with sense roms just restarting the phone will get me stuck at the htc evo 4g white screen and I have to wipe all data and factor reset just to get it to boot up again but i loose all my stuff and it really sucks. My phone only has recently started doing this, any ideas on what I can do to fix it?
I tried what imhereoldman said, but that just fixes it till the next time where it does the same thing after restarting the phone and im really getting tired of it :/
---------- Post added at 03:30 AM ---------- Previous post was at 03:17 AM ----------
ECrispy said:
Ok I managed to debug this a little bit more.
Can get to recovery, but trying to restore nandroid's failed. I did this after wiping everything, doing a factory reset, and it still fails. When I tried to mount each partition individually, it failed to mount sd-ext with the error "can't mount /dev/block/mmcblk0p2 (File exists)".
I think this was the key, as I was using dta2sd on all my roms. Luckily I had another rom which was not using sd-ext, and I was able to restore that.
Is my sd-ext partition now lost? I can't check its status using the rom I have since it doesn't support sd-ext. Obviously all my apps were installed on it and I'd like to back them up.
The sd card itself seems fine, I can see everything on it.
Click to expand...
Click to collapse
I just found this and it sounds like it will be a pain but should solve the issue trying it out now and il let you know how the unroot reroot goes...
You don't have to unroot. Just run the RUU for your phone.
Also, try to do a backup of your SD Card, reformat it (Sorry if you don't have a TB backup), repartition, then restore the backup and reflash the ROM after a thorough and complete wipe.
Thanks hipkat, I should have done more research on it, I did the un-root to. But I did run the RUU file and switched to AMON this time and it seems everything is cleared up and its running fine! thanks

Corrupted Data Parition

Hi Everyone,
My data partition got corrupted. I can no longer boot into any rom. When I try to factory reset, format data, or wipe internal; I get this error:
E:error opening '/data/media/0/Android/data/com.
E:error: I/O error
I tried manually deleteing the data folder, but I get the same error. Is there a way I can just completely format my internal storage and remove the data. Trying to do it inside TWRP v2.6.0.1 only gives me the above error.
Does anyone have any thoughts, ideas or suggestions?
Thanks
When you tried to format data in TWRP, what did you try?
If I'm not mistaken, mounting system and then formating system should wipe everything on your internal storage.
altimuh said:
When you tried to format data in TWRP, what did you try?
If I'm not mistaken, mounting system and then formating system should wipe everything on your internal storage.
Click to expand...
Click to collapse
I wish I knew earlier that System had to be mounted in order for everything to get wiped lol.
I'm back up and running, but it went through a long, arduous and slightly weird process to get there.
After several failed attempts at wiping my internal storage, I tried doing an Odin flash back to stock along with the sprint pit file for re-partitioning. After that, I could get past the initial boot "Galaxy Note 2" screen, I was able to get into the stock rom boot animation, but my phone would just endlessly reboot into the Sprint/Samsung boot animations. I then Odin'ed back the TWRP recovery. I tried to factory reset once again and surprisingly, I no longer received the I/O errors I was getting before. I decided to reflash Paranoid Android and everything booted up just fine.
The weird thing about all this though is that when I booted into the Rom, Literally everything was intact. I still had all my apps installed, my themes and launcher up, and all of my settings intact.
So after everything happened, nothing got deleted at all apparently. I was thinking of still going back and trying to truly format my internal storage to completely wipe it, but I am concerned that more issues would pop up.
Do you think it would be better for me just to wipe everything and start fresh?
mugenga said:
I wish I knew earlier that System had to be mounted in order for everything to get wiped lol.
I'm back up and running, but it went through a long, arduous and slightly weird process to get there.
After several failed attempts at wiping my internal storage, I tried doing an Odin flash back to stock along with the sprint pit file for re-partitioning. After that, I could get past the initial boot "Galaxy Note 2" screen, I was able to get into the stock rom boot animation, but my phone would just endlessly reboot into the Sprint/Samsung boot animations. I then Odin'ed back the TWRP recovery. I tried to factory reset once again and surprisingly, I no longer received the I/O errors I was getting before. I decided to reflash Paranoid Android and everything booted up just fine.
The weird thing about all this though is that when I booted into the Rom, Literally everything was intact. I still had all my apps installed, my themes and launcher up, and all of my settings intact.
So after everything happened, nothing got deleted at all apparently. I was thinking of still going back and trying to truly format my internal storage to completely wipe it, but I am concerned that more issues would pop up.
Do you think it would be better for me just to wipe everything and start fresh?
Click to expand...
Click to collapse
Back up your internal storage to your computer and then wipe it clean and start over. I always feel that best results come from a clean start.

Two repeating problems and factory reset doesn't solved

Hey,
I was using WanamLite 4.3 ROM with Android 4.3 and MJ5 bootloader. No backups.
And after a friend of mine broke my SD slot (long story), my phone started to reboot and unmount the SD card, then it broke up completely and I can't use a SD card anymore. So, I kept using my phone without it, until one day it rebooted and when it came back I lost all Deezer syncronized musics, Evernote notes, SMS and things like that. The other day, it reboot again and now it was like a factory reset, I lost all configs and just the installed apps and pictures wasn't lost.
But my phone was crazy, home button not working, no notifications, status bar not working and lots of other things, then I opened the Downloads app and I received an error and then everything came back to normal, really strange, but I started to receive two annoying errors:
The process com.google.process.gapps has stopped.
The process android.process.media has stopped
And anything related to Google or media was useable, and they kept appearing while I pressed ok.
So, I did a mega wipe (script found here, can't post links) and installed a 4.4 Rom (PhoeniX ROM), but, guess what, received a "UIDs on the system are inconsistent, you need to wipe your data partition or your device will be unstable.", hit "I'm feeling lucky" button and my two friends started to annoy me to hell again.
What can I do? I thought on doing a Kies factory reset but I'm scared of bricking my phone (it tells me to use Kies 3, btw), my phone is unuseable. :crying:
(Edit: Just noticed you said you mega wiped...)
So how about flashing kitkat through odin? Sammobile.com
EmptyArea said:
(Edit: Just noticed you said you mega wiped...)
So how about flashing kitkat through odin? Sammobile.com
Click to expand...
Click to collapse
Yeah, I'll try that, but I don't have much hope, is there a way to do a "deeper" wipe, that totally deletes any ROM, then I install that from nothing.
You'll lose all data but you should wipe
/system, /data (factory reset), /cache and dalvik cache. I have also once found an internal storage (/sdcard) necessary.
What I would do to fix all the problems,
Using TWRP recovery, I format disk and wipe everything can be wiped. (Ofc you'll lose ALL the data on the phone, which might be the problem as you don't have an SD card, unless after wipe you know how to transfer files from PC while in recovery) This is the best wipe you would get IMO. Then install a very stable rom like ARHD or omega rom . Or DN3
Sent from my GT-N7100
Mohammed779 said:
What I would do to fix all the problems,
Using TWRP recovery, I format disk and wipe everything can be wiped. (Ofc you'll lose ALL the data on the phone, which might be the problem as you don't have an SD card, unless after wipe you know how to transfer files from PC while in recovery) This is the best wipe you would get IMO. Then install a very stable rom like ARHD or omega rom . Or DN3
Sent from my GT-N7100
Click to expand...
Click to collapse
THANK YOU!!!!!
It worked, I never used TWRP, really awesome. I was getting errors when trying to format system, so I went to config and select the option to use rm -f instead of formatting, and after that work, I formatted everything and installed DN3. Thanks a lot, really!

help! unable to mount /cache, /data

Help, I have no idea what happened. I have a tab pro 10.1 t520. It's rooted with twrp recovery.
Today and game I tried to play kept crashing, so I rebooted into recovery and attempted to wipe the cache figuring might help. Well after it sat on that wipe screen for about 5 min it rebooted, got to the Samsung startup screen, and just hangs there. I'm able to boot into recovery, but now when I go to wipe I get a bunch of errors that it's unable to mount the /cache or the /data.
Help?! I have backups but it says i have 0mb internal storage and fails.
Nevermind got it back.
Bumping this to ask how you got it back? I've got the exact same issue produced almost the same way! Can't find any info on it except for other devices.
Hey I just restored my backup.
Ah crap I don't have one
Well, fixed it as described in this thread:
http://forum.xda-developers.com/gal...help-e-unable-to-mount-data-recovery-t3149906
Leaving it incase someone else encounters the same problem and does not have a nandroid backup.
Make sure your recovery is the latest 2.8.7.0 for the future

Categories

Resources