[q] help! Can't clear phone data - Captivate Q&A, Help & Troubleshooting

Ok, long story short, I have 113MB of 'system data' in my /datadata folder (66% full), and I want it gone.
But I can't get rid of it... I've tried a full clean install, I've tried manually formatting /datadata from CWM, and I've also tried formatting boot, cache, data, datadata, and system from CWM followed by a fresh install (Kang 12/17).
My wife has the same phone and ROM and she only has 26% full in /datadata. I can't - for the life of me - figure out how to completely clean /datadata.
One thing I noticed in terminal emulator is that the data in /data and /datadata is about equal to what is listed in /system. However, formatting /system did not clear it out.
Please help as this is driving me insane!

Isn't datadata based on your apps? Like dalvik? I think ur wife just has less apps.

mbc663 said:
Isn't datadata based on your apps? Like dalvik? I think ur wife just has less apps.
Click to expand...
Click to collapse
I thought so to, but even with no apps (nothing but what comes with the ROM) I have 3x what she has... and she has what comes with the ROM plus all her other apps.
If it does have to do exclusively with the apps, I'm more than willing to do everything step by step to figure out which app(s) cause my issue, but in order to do that I need to be able to clear the folder of everything except what true system data is necessary and start from square 1.

/datadata is apps settings and data. A little more info might help...

b-eock said:
/datadata is apps settings and data. A little more info might help...
Click to expand...
Click to collapse
What kind of info do you need, and I'll try and supply it. I'm trying to do a clean install so that all of those app settings and data are starting from scratch. Factory resets didn't do it, formatting the folders through CWM didn't do it...
I must be missing something... but I can't figure out what it is.
Some basic background:
Most recently on the 12/17 Kang (CM7.2 RC0) with the glitch v13 (2.6.35.13) kernel and Gapps 08/28
For the just completed testing I only flashed Gapps (08/28) and the 12/17 Kang so I could see if anything I did worked on clearing /datadata.
Other than that, the only modification I've done to my phone is the modem is KG3 i9000.

Have u tried Titanium Backup Pro app ??

4-2ndtwin said:
Have u tried Titanium Backup Pro app ??
Click to expand...
Click to collapse
I haven't... I have the free version currently. Would the pro version do all of this stuff?

The free version should do for deleting data and removing apps.
Sent by XDA Premium App

I'll go out out on a limb here but try backing up your sd card and formatting it?

mbc663 said:
I'll go out out on a limb here but try backing up your sd card and formatting it?
Click to expand...
Click to collapse
I had thought of that too... once formatted and I reinstall the ROM and stuff, is it easy enough to just copy those folders back on the phone? That was the one thing I was worried about... and thus I hadn't tried yet.
Formatting always makes me nervous

Are you encountering any issues with it being that full? Or is this just to satisfy your ocd?

theyurtingyeti said:
I had thought of that too... once formatted and I reinstall the ROM and stuff, is it easy enough to just copy those folders back on the phone? That was the one thing I was worried about... and thus I hadn't tried yet.
Formatting always makes me nervous
Click to expand...
Click to collapse
As simple as dragging and dropping files. Also nice to start fresh every once in a while to clear out junk from old apps.

I'm getting ready to format my SDcard and start all over... but if I format my SD card, I'll no longer have my ROM zips there to flash. I put the ROMs on my external SD card (emmc), but in CWM I can't mount emmc to make sure they are there to flash when I format my SDCard...
How do I get my ROM flashed again once I format my SD card?
EDIT:
Doing more research it appears that I should be able to format my SD card w/o losing my ROM as long as I leave my boot and system folders alone.
So, if I format /data, /datadata, and /sdcard I should be able to reboot and see if it worked

studacris said:
Are you encountering any issues with it being that full? Or is this just to satisfy your ocd?
Click to expand...
Click to collapse
I am encountering issues with it being that full. I have like 70 apps with approx 38MB of data taken up... combined with the large amount of 'system data' in the /datadata partition I'm running into the issues when that folder gets to 90% capacity.
It's at the point that I can't install new apps that save any data at all or I will have to constantly shuffle which apps can save their data. Doing research I found that the 172MB cap shouldn't be an issue unless you are hording apps... I have a small number of apps with a small amount of data, so things should be better

Thanks for all the suggestions...
But so far nothing has worked.
I formatted the SD card along with data and datadata and rebooted the phone.
My /datadata folder was still listed at 66% full. So formatting nearly everything still couldn't clear this folder.
I'm still boggled why the other captivate started with 8MB system data and I start with 113MB, both on a clean install...
Perhaps my only hope is to clear stuff out again and flash ICS and hope that something is different enough that this 'problem' goes away...

An additional thought
Would I be able to delete the /datadata folder through Root Explorer, reboot into recovery and reflash the ROM?
I would assume the ROM will repartition the phone correctly. System data can't exist in a folder that doesn't exist - right?

Related

Installation error Insufficient storage available

Is anyone else having issues with Market on the ADP 1.51 (CRB43) builds?
When I attempted to download an update to an existing app (GV) it downloads but when it tried to install "Installation error Insufficient storage available"
I have apps2sd and I've removed the stock ringtones from the build giving me only 89% of used space in /system directory and I have about 600mb free on my ext2 partition. Insufficient storage my a$$!
Anyone else have issues with this "Insufficient storage" error?
Do you have the cache etc all running off the SD? Apps is only one step, where it installs the apps to the SD. However unless the cache and so is moved, its like having firefox installed on one drive, but storing your browsing stuff on your main drive still. So youll run out of room unless its all on the SD.
Mysticales said:
Do you have the cache etc all running off the SD? Apps is only one step, where it installs the apps to the SD. However unless the cache and so is moved, its like having firefox installed on one drive, but storing your browsing stuff on your main drive still. So youll run out of room unless its all on the SD.
Click to expand...
Click to collapse
Yeah. Cache is also on SD. Just to be certain, I cleared the cache. Same issue.
I'm assuming your using the app to put things on the sd. I used lucids script to do it to mine. I wonder if something did not get linked over. Tried using a file manager to see what's on the internal?
Mysticales said:
I'm assuming your using the app to put things on the sd. I used lucids script to do it to mine. I wonder if something did not get linked over. Tried using a file manager to see what's on the internal?
Click to expand...
Click to collapse
After clearing the cache and discovering that it didn't work (just for the heck of it I also cleared the cache directory on SD) I tried a wipe and everything downloads again. I fastboot flash my data.img and I'm back to the same issues. Not sure what the problem is but I'm considering a wipe. I already backed everything up by backup pro. I just loathing the fact that Market will loose all the apps that I had installed already (they will all say FREE instead of INSTALLED or UPDATE AVAILABLE). Is there a file for market that marks what has been downloaded/installed?
The tip Id recommend. Try Lucids script for moving the data and cache before doing anything. Since if your ready to wipe, cant hurt to try and see if it does it.
Next do the pre tip I did personally. I used atrackdog, Hit menu and do export, it saves to a .txt file. Open that file and you will know which apps YOU had on there vs everything in the my downloads.
I wish I could help more as far as cache and why its not working fully. Ive had my share of struggles and always lucked out.. which is why I hope the 1st option works for you.
Mysticales said:
The tip Id recommend. Try Lucids script for moving the data and cache before doing anything. Since if your ready to wipe, cant hurt to try and see if it does it.
Next do the pre tip I did personally. I used atrackdog, Hit menu and do export, it saves to a .txt file. Open that file and you will know which apps YOU had on there vs everything in the my downloads.
I wish I could help more as far as cache and why its not working fully. Ive had my share of struggles and always lucked out.. which is why I hope the 1st option works for you.
Click to expand...
Click to collapse
Here is the answer!! i have the same problem, i tried to get out the sd card, and it worked(app installs succcesfully)!!
THE PROBLEM IS: EXT2 PARTITION (android do that.. wrong) the ext partition was causing the problem in the installation
1. download minitool partition wizard(or use a working partition tool)!
2. in recovery(volume down and boot phone into recovery) a, go into usb mode(mount and storage/usb mode) (if you have old recovery, download the 4.0...... i cant remember but the newest what you can find)
you have seen 2 partition and its crap!
3. creat 1 partition FAT32 PRIMARY! and format the SD card! (with all storage) this is all you need on your droid!!!(and your music, pictures and apps too)
4. after that, take rom on the SD and install it.
AND APP INSTALLATIoN WORKS!
Not the same phone but for what it's worth this does not appear to be hardware specific. This problem for me was caused by the Google app sync. As soon as it got too many apps in the install queue, it breaks and thinks the drive is full. I was able to fix it by going into recovery and clearing the cache again on my LG P999.

[Q] Delete system apps and use free memory for other apps

I searched the forums for quite a while but couldn't find an answer to this question, so here I go:
Is it possible to use the space freed up by deleting system apps (like Motonav) for installing own Apps (e.g. memory hogs like Swype or the Flash Player)?
Not 100% sure but I just downloaded titanium backup from the market backed up those unwanted apps then uninstalled. That should free up space for what you want be careful what you uninstall though.
Sent from my SGH-T959V using XDA App
Eiertschik said:
I searched the forums for quite a while but couldn't find an answer to this question, so here I go:
Is it possible to use the space freed up by deleting system apps (like Motonav) for installing own Apps (e.g. memory hogs like Swype or the Flash Player)?
Click to expand...
Click to collapse
THe partition where those system apps are installed is not the same partition where apps you download are installed, so, if you free some space there, it won't affect free space at all.
But, you can move applications from /data/app to /system/app (if you mount /system/app as read/write), just move them and reboot the phone, but, before moving, please make sure that there is enough free space on /system by typing on adb shell or a terminal emulator:
df /system
If there is enough space, just go ahead, move the apk to /system and save some space in /data, BUT, and there is always a BUT... Any updates to that application will occupy space in /data again, so, everytime the APP is updated, you should delete the old APK in /system, move the new apk from /data to /system and reboot.
I'm pretty sure that Titanium Backup has this kind of functionality built in, not sure if it is pro only or if it works in the free version, but, since it did not work well the first time I've tried, I just do it manually.
P.s.: It is highly recommended that, before moving thing in or out the /system folder, you do a full NANDROID BACKUP, so you can just revert back to working condition if something go wrong (i.e.: if you delete something essential, perhaps you won't be able to load Titanium Backup and restore that back).
Sure, I added a lot of apps in system/app partition
For example I added GoSMS and GoLauncher, deleting mms and adwlauncher.
I made it because they are the most-used apps so it's better running them from internal memory rather than ext2 partition, plus I can boot the phone without SD.
The only problem, as HinotoriBR said, is that when you update an app you should move it from data/app to system/app, delete the old app version (newly installed will have a different name) and reboot.
yosif yackson said:
Not 100% sure but I just downloaded titanium backup from the market backed up those unwanted apps then uninstalled. That should free up space for what you want be careful what you uninstall though.
Click to expand...
Click to collapse
You're right, that DOES free up space on /system partition, but it's not enough to use the free space for other apps
HinotoriBR said:
THe partition where those system apps are installed is not the same partition where apps you download are installed, so, if you free some space there, it won't affect free space at all.
But, you can move applications from /data/app to /system/app (if you mount /system/app as read/write), just move them and reboot the phone, but, before moving, please make sure that there is enough free space on /system by typing on adb shell or a terminal emulator:
df /system
If there is enough space, just go ahead, move the apk to /system and save some space in /data, BUT, and there is always a BUT... Any updates to that application will occupy space in /data again, so, everytime the APP is updated, you should delete the old APK in /system, move the new apk from /data to /system and reboot.
[...]
Click to expand...
Click to collapse
I installed Swype and moved com.swype.android.inputmethod-1.apk to /system/app using Root Explorer and it still worked without rebooting the phone.
Maybe because input methods are always active in the background so it didn't notice the moving?
I restarted anyway (because otherwise it doesn't update the free memory information in Settings) and et voila: more than 10MB extra space.
Now Swype is still listed in the "All Apps" tab of app management but with a mere 2MB.
I guess that's user settings, dalvik cache and other stuff - so I better not move it...
One last question:
How much free space should remain on /system partition?
Is it also used to cache stuff or can I fill it all the way to the top?
downloadman said:
Sure, I added a lot of apps in system/app partition
For example I added GoSMS and GoLauncher, deleting mms and adwlauncher.
I made it because they are the most-used apps so it's better running them from internal memory rather than ext2 partition, plus I can boot the phone without SD.
[...]
Click to expand...
Click to collapse
Since I'm not using an ext2 partition on my SD card it should make no difference if an app is in /system or /data when it comes to performance, shouldn't it?
THANKS TO EVERYONE
Eiertschik said:
Since I'm not using an ext2 partition on my SD card it should make no difference if an app is in /system or /data when it comes to performance, shouldn't it?
Click to expand...
Click to collapse
I suppose you're right. Or maybe SD speed is faster than internal memory, who knows... but surely reading internal memory uses less battery power than reading microsd.
An ext2 partition is really useful if you install a lot of apps.
As my SD card is only Class2 (was bundled with the phone) I doubt it would be faster than internal memory.
Up to now I was able to install all the apps I really needed without an ext2 partition - so I think the /system-trick will give me more space than I really need
But thanks anyway - I'll get back to it when I'm keen enough to use custom roms and ext partitions
Eiertschik said:
One last question:
How much free space should remain on /system partition?
Is it also used to cache stuff or can I fill it all the way to the top?
Click to expand...
Click to collapse
Since partition is mounted as read only usually, it means that partition is not used to cache or store any app data. All data and cache of /system applications goes to /data (which, as you observed, still has some space being used by the moved application). So, you should be able to fill /system (or get close to fill it) and have no issues.
If you don't use any modded rom, you can use Androidiani Open Recovery and use some space that is left for OTA transfers to store cache data (there is a specific partition with 100+ MB of free space used just for that, to store a firmware upgrade received OTA), it is known as "Memhack" and free up more space. As far as I know, many mods as CM7 already have this "Memhack" built-in.
HinotoriBR said:
Since partition is mounted as read only usually, it means that partition is not used to cache or store any app data.[...]
Click to expand...
Click to collapse
Maybe that was too obvious for me to figure out
HinotoriBR said:
[...]
If you don't use any modded rom, you can use Androidiani Open Recovery and use some space that is left for OTA transfers to store cache data (there is a specific partition with 100+ MB of free space used just for that, to store a firmware upgrade received OTA), it is known as "Memhack" and free up more space. As far as I know, many mods as CM7 already have this "Memhack" built-in.
Click to expand...
Click to collapse
I already use AOR to root my 2.2.1 stock ROM.
This memhack sounds very interesting... might consider it because I don't really expect any further Milestone update from Motorola.
Sounds more reliable than an ext2 partition on SD card - since I don't really trust my card...
If I do this Memhack and for whatever reason Moto will release an update - will I still be able to do it using a PC?
Eiertschik said:
Maybe that was too obvious for me to figure out
I already use AOR to root my 2.2.1 stock ROM.
This memhack sounds very interesting... might consider it because I don't really expect any further Milestone update from Motorola.
Sounds more reliable than an ext2 partition on SD card - since I don't really trust my card...
If I do this Memhack and for whatever reason Moto will release an update - will I still be able to do it using a PC?
Click to expand...
Click to collapse
The memhack will move the cache from the /data partition to that specific partition for OTA upgrades. So, as your cache grows larger, your /data (free internal memory) will not decrease. This saves internal memory space that would otherwise be used for cache (not sure if application data is moved there too).
As soon as you start hacking the stock rom, it is not recommended to try to update directly the phone, if Motorola ever releases a newer version, recommended steps:
- Titanium Backup all your Apps/Data
- Flash a stock SBF (2.0/2.1/2.2, doesn't matter) in your phone, wipe all data/cache
- Use Motorola Software Update to upgrade the software to the new revision
- Afterwards, as soon as update is done and phone boots, you can flash vulnerable recovery and then through Open Recovery or Androidiani Open Recovery hack the hell out of your phone again (ie.: root, memhack, overclock, etc)
- As soon as you get root, use Titanium Backup to restore your Apps/Data
Or, you could always wait for someone to release a Nandroid Backup of the new rom, as is usual in the Android Development section, and simply use that Nandroid Backup (alway Titanium Backup your apps/data b4), wipe everything after update, and then use Titanium Backup to restore your Apps/Data
HinotoriBR said:
P.s.: It is highly recommended that, before moving thing in or out the /system folder, you do a full NANDROID BACKUP, so you can just revert back to working condition if something go wrong (i.e.: if you delete something essential, perhaps you won't be able to load Titanium Backup and restore that back).
Click to expand...
Click to collapse
I wish I read that 5 minutes ago... lol !
skribzy said:
I wish I read that 5 minutes ago... lol !
Click to expand...
Click to collapse
Being a Motorola phone, you can always find the SBF related to your phone and use RSDLite to flash it. Milestone, to enter boot mode and then use RSDLite to send a SBF ( http://and-developers.com/sbf:milestone , if you are a Droid user, probably there is somewhere else to find it, if you are milestone user, try to use a version close to whatever you had), just power it down, hold dpad up, and with dpad up pressed you power the phone. You will see some writting about the boot loader, your phone is ready to be connected in our PC and you can flash it using RSD Lite.
HinotoriBR said:
Being a Motorola phone, you can always find the SBF related to your phone and use RSDLite to flash it. Milestone, to enter boot mode and then use RSDLite to send a SBF ( http://and-developers.com/sbf:milestone , if you are a Droid user, probably there is somewhere else to find it, if you are milestone user, try to use a version close to whatever you had), just power it down, hold dpad up, and with dpad up pressed you power the phone. You will see some writting about the boot loader, your phone is ready to be connected in our PC and you can flash it using RSD Lite.
Click to expand...
Click to collapse
Yea, cheers, it was a school boy error! I was thinking to myself must do a nandroid before I start tinkering and totally forgot! All back to normal and backed up now
I was seeing if I could swap out the stock dialer with dialer one in system/apps... Milestone didnt seem to like it at all! I assume apps like dialer one are dependant on the existance of core apps. I did manage to get rid of the 3D gallery and replace it with quickpic.
Theres loads in system/apps that I simply dont need like 'LiveWallpapersPicker.apk' which I assume I can just get rid of - I will give it a go and see what comes crashing down!
S

Nexus One internal storage low

So out of curiousity I backed up all of my apps using titanium backup and installed the new MIUI Rom based on ICS. It kept crashing because for some reason the internal storage filled up. Now I re-installed CM7.1, but my internal storage is again almost full.
My question is, what can I do? I moved ALL my apps to my SD card before I even installed MIUI and before I installed MIUI, I had 170mb free. Actually while typing this I realized that I guess MIUI didn't remove CM7 when it installed or something... hmm. Anyway any help is appreciated, and be gentle this is my first post.
Also android.process.acore keeps stopping.
did you wipe data/factory reset,cache and dalvik cache atleast 3 times before flashing new rom???
Sent from my Nexus One using Tapatalk
Do it 4x, just to be sure
Each apk (program) on your system has a corresponding entry in the dalvik-cache that gets generated from the .apk. If your storage (/data) filled up things are going to be broken in all sorts of ways, including the inability to make the dalvik caches. Since you didn't format between ROMs, you'll also run into permission issues and settings that don't make sense in the new ROM. Cyanogen uses an alternate location (/cache) for the dalvik-cache for system apps, I don't know if MIUI does, but that could be some of the difference in space. Duplicating data for the same .apks in different ROMs could've also filled up your space. It's best to format all the phone partitions to not worry about this stuff. Usually you're safe not formatting /sdcard, but some ROMs are picky. Some ROM install scripts don't format /system and that leads to BIG headaches. If you format all the partitions, then you don't need to worry about clearing user data/battery stats/dalvik-cache because that was already handled when you formatted the storage that contained that data.
tl;dr: Fix permissions after installing a new ROM. If the old and new ROMs are different enough, everything will still be broken because you made the android gods angry. Sacrifice (format) /system, /data, and /cache (and sd-ext if you have it) *before* installing the new ROM and things should be fine.
Haven't used MIUI for awhile, but didn't think it had an ICS version. There is one in XDA, but it is not stable and I think requires blackrose hboot and differnet partition sizes for hboot. It also runs a2sd on reboot i think?
CM7 uses Dark Tremor beta4, that's what I use. It needs flashed after rom and scripts run to move apps. Check out their site
As suggested format all including system and format sd card with sdformatter, full erase and size adjustment on and set up 1gb ext 0 swap
copy sdcard and have a good nandroid first
rugmankc said:
Haven't used MIUI for awhile, but didn't think it had an ICS version. There is one in XDA, but it is not stable and I think requires blackrose hboot and differnet partition sizes for hboot. It also runs a2sd on reboot i think
Click to expand...
Click to collapse
MIUI has both blackrose and non blackrose version of ICS
Sent from my Nexus One using Tapatalk
right, but one is unstable and he can't keep his ics partition if flashing non ics one
I've tried the latest versions and both br and non-br ones seemed have problem with data connectivity. Some others have experienced the same. Thought the dev's investigating it. But, previous version, i.e. 2.3.2, worked fine.
Try non-br 2.3.2 with 185/85/166 partition layout, that was great.
Sent from my Nexus One
Having similar issues with ICS MiUI which really seems rather unstable (v2.3.2), and going to flash the latest update from a few days ago (v2.3.9).
Any suggestions on how to deal with some of the stock MiUI "bloatware" that comes with it and seems stuck on the system ROM? A2SD is supposed to be enabled, but unless stuff I dowload off market/play or restore is deemed systems apps, which I doubt is the case, I can't seem to choose to move them to SD card or in this case the "USB Storage" (Sorry, my postcount's too low to post on the actual MiUI Dev thread)
Also, as a sidetrack, does anyone know how best I can sieve through my contacts storage/DB? recently I think i might've accidentally synched with my FB countacts and it seems to have bloated up to 16-18+Mb which is alot from the previous 10-12Mb or less from what I recall. Is there an app or something to help 'manage" it better or do I have to manually go through and get rid of excess contact info on the phone or from my Google contacts list?
Thanks in advance for any advice you guys might have.

[HELP] Screw partition with S2E

Hi,
I have 7.2.4.c kabaldan milestone rom.
With sd card with 3 partitions : fat32/ext3 1gb / swap.
Since I can't move my app to the ext with basic app2sd kind of app, I tried S2E.
Well, with the option "intall app to INTERNAL", I guess that s2e were intalled on the ext partition... I hit someting and reboot the phone.
Now, I have lost all my apps, I looks like the stock clean rom AND I can't install any applications, even if I change automatic/internal/external options.
So I don't have access to the ext partition.
Is there a way to get my ext back without a wipe?
(I do have a complete backup, but its a couple of weeks old... my bad )
Thanks
You don't need any additional app to use the ext partition.
All of kabaldan's ROMs automatically detect and use it if it's there.
I don't know how to recover your apps, but I guess any attempt will end up dirty.
Restore your old backup and don't forget to make one everytime you try something fancy
Eiertschik said:
You don't need any additional app to use the ext partition.
All of kabaldan's ROMs automatically detect and use it if it's there.
I don't know how to recover your apps, but I guess any attempt will end up dirty.
Restore your old backup and don't forget to make one everytime you try something fancy
Click to expand...
Click to collapse
haha, yeah I know, its my gf phone, she doesnt keep important stuff, its not a big deal.
With my phone don't worry, I do backups everytime .
You say that its automatic , but I dont understand why after a while I still have the "no more sapce available ". ext is around 200 mb of 1gb full...
Low space warning usualy means your /data is full, not /sd-ext. Try lib2ext.
btw, I do not know how to recover, I have no clue what s2e did to your data.
mrvek said:
Low space warning usualy means your /data is full, not /sd-ext. Try lib2ext.
btw, I do not know how to recover, I have no clue what s2e did to your data.
Click to expand...
Click to collapse
Yes, I understand, the 133mb is full, but all my app should install on the ext anyway?
I'm not the only one, but I still dont understand why I cant access to my apps.
http://forum.xda-developers.com/showthread.php?t=1507743
oVeRdOsE. said:
Yes, I understand, the 133mb is full, but all my app should install on the ext anyway?
I'm not the only one, but I still dont understand why I cant access to my apps.
http://forum.xda-developers.com/showthread.php?t=1507743
Click to expand...
Click to collapse
The script that moves all user apps to ext partition can be seen here
You can't access them because there is probably some confilct between s2e and the inbuilt 07app2ext script that moves all your apps to sd-ext automatically. That is, it moves the apk part of application, there are some parts, like libraries, databases, etc., that remain in /data/data. And it is stuff in /data/data/ that is filling the space so the OS is complaining. Hence the recomendation to try to utilize lib2ext.
The simplest and probably the safest way to get back to track is to start from scratch. As mentioned, I have no clue what s2e did to your files and where it might have moved it. It might be lost, maybe it is on sd-ext but inaccessible because of messed up permissions, perhaps on sdcard somewhere... IDK.
Point beeing - third party apps and/or scripts are usually incompatible with inbuilt 07app2ext script that provides same/similar functionality.
oVeRdOsE. said:
Yes, I understand, the 133mb is full, but all my app should install on the ext anyway?
[...]
Click to expand...
Click to collapse
The apps are installed to ext, but there is more to an app than just the .apk file.
There's dalvik cache, ordinary cache and other additional data
Those usually aren't moved to ext.
If you're running out of space despite having an ext partition enter the following into Terminal Emulator and reboot:
Code:
lib2ext 1
mrvek said:
The script that moves all user apps to ext partition can be seen here
You can't access them because there is probably some confilct between s2e and the inbuilt 07app2ext script that moves all your apps to sd-ext automatically. That is, it moves the apk part of application, there are some parts, like libraries, databases, etc., that remain in /data/data. And it is stuff in /data/data/ that is filling the space so the OS is complaining. Hence the recomendation to try to utilize lib2ext.
The simplest and probably the safest way to get back to track is to start from scratch. As mentioned, I have no clue what s2e did to your files and where it might have moved it. It might be lost, maybe it is on sd-ext but inaccessible because of messed up permissions, perhaps on sdcard somewhere... IDK.
Point beeing - third party apps and/or scripts are usually incompatible with inbuilt 07app2ext script that provides same/similar functionality.
Click to expand...
Click to collapse
That's make sense. I read some post found on google, and mostlikely, that's what they said.
I did a factory reset, and all my apps are back, but the save data. I'll put it back manualy from my nand backup.
Eiertschik said:
The apps are installed to ext, but there is more to an app than just the .apk file.
There's dalvik cache, ordinary cache and other additional data
Those usually aren't moved to ext.
If you're running out of space despite having an ext partition enter the following into Terminal Emulator and reboot:
Code:
lib2ext 1
Click to expand...
Click to collapse
Thanks, I wish I can understand everything on andoird programming... I saw only the basic programing at shcool.

Storage space running out

For the past week, I have received an error message at my storage space is running out and some system functions may not work properly. I am also receiving repeated force close error messages, which I assume to be related to the storage space issue. The problem is, I have plenty of internal storage space and external storage space available. Below, I've attached screenshots of my current storage.
The error message first came up while using the AOSP 4.2 ROM compiled by pawitp. Before getting the message, I have been using this rom for a couple months with no problem. I reflashed the ROM several times to remedy the issue , but each time I would end up with force close issues after a day or two. Before flashing, I would perform a full wipe, wife cache/dalvik, and format system. Just to be sure, I have tried flashing 4.2 that was recently released by Collective, and the latest slim4.2. I am having these issues no matter what rom I am on.
Edit: cannot upload images from the xda app. Will upload as son as I'm at the computer.
Sent from my SGH-I897 using xda premium
Suggestion;
Go get SD maid, by darken, on Google play store. it does much more than clean the SD.
Try the free version, then buy the pro if you want to support the dev.
laughingT said:
Suggestion;
Go get SD maid, by darken, on Google play store. it does much more than clean the SD.
Try the free version, then buy the pro if you want to support the dev.
Click to expand...
Click to collapse
Unfortunately, I cannot download anything from the play store due to the storage issue...
Would uninstalling some apps allow you to install others. ? You can always reinstall them later.
Alternatively. Go into settings, apps, and start deleting app data. for example, gallery, which can take up much more space than it needs. Leave the app, jus clear the data. Maps, browser, etc.
Chances are that your data data partition is full of junk, near its 422mb limit. If you open terminal emulator, type su, then df, you will see which partition is causing the problem.
+1 for what laughingT said
Taking a look at the partitions is the best way to start on this as it is the most common cause, usually /data (/data/data) or /cache is full.
Due to the way android lumps the different partitions toegether in the system view, it might look like there is enough free space when in reality there are sub partitions that are full.
But:
"The insufficient storage" will also be (missleadingly) displayed if an app can not be installed because it's .odex file already exists (for whatever reason) from a previous install.
Thanks for input, Dark3n.
Correct me if I am wrong, but your SD Maid app can clean up stray odex, yes?
I have used SD Maid Pro to keep my phone 'clean'. I had 400 mb in datadata on cm10.0 at one point, and SD Maid helped me trim that down to 150 mb.
Dark3n said:
+1 for what laughingT said
Taking a look at the partitions is the best way to start on this as it is the most common cause, usually /data (/data/data) or /cache is full.
Due to the way android lumps the different partitions toegether in the system view, it might look like there is enough free space when in reality there are sub partitions that are full.
But:
"The insufficient storage" will also be (missleadingly) displayed if an app can not be installed because it's .odex file already exists (for whatever reason) from a previous install.
Click to expand...
Click to collapse
Thank you to everyone for the help so far. I wiped and reflashed the ROM so that I could have enough time to get into Titanium Backup before the launcher FCed on me. I restored SD Maid and see that my datadata partition is full (420 of 422). Can I move the system apps to the SD card with SD Maid? I thought that I had this option at one time, but I do not seem to get an option to move my system apps. I tried to convert them to user apps using link2sd (was able to get this installed from a flashable zip that I created before having this issue), but I am unable to do so.
What is odd is that my data data is basically full with only the standard system apps installed on slim and/or AOCP. I didn't even flash gapps.
Sent from my SGH-I897 using xda premium
Moving apps to SD, especially system apps, probably won't help you. Your data partition isn't full, right?
I'd use the app cleaner tab and system cleaner tabs in SD maid to selectively clear app and system data. Clean browsers, maps, galleries and photo apps, at least. this won't uninstall the apps which is good, but it should clear a lot of garbage out.
If that won't do for you, then go into manage apps under the settings menu and clear at the browser data and cache, the maps data and cache, and the gallery data and cache. I'll take a guess that that alone will free up 150 mb.
laughingT said:
Correct me if I am wrong, but your SD Maid app can clean up stray odex, yes?
Click to expand...
Click to collapse
jsingle3 said:
Can I move the system apps to the SD card with SD Maid?
Click to expand...
Click to collapse
Not yet, but both on the TODO list in that order. No time for coding SD Maid atm . Soon...
laughingT said:
Thanks for input, Dark3n.
Correct me if I am wrong, but your SD Maid app can clean up stray odex, yes?
I have used SD Maid Pro to keep my phone 'clean'. I had 400 mb in datadata on cm10.0 at one point, and SD Maid helped me trim that down to 150 mb.
Click to expand...
Click to collapse
I'm trying everything I can but I can't seem to find out what is taking up all my data data storage space. I've cleaned the cache and data for every app and it is still showing me around 400. Like I said before, I've got nothing installed other than what came on the slim 4.2 ROM (plus es file explorer and SD maid).
Sent from my SGH-I897 using xda premium
okay. try this
start terminal emulator and enter
su
du datadata > sdcard/du.txt
exit
exit
. . .
okay, now go open the text file named du.txt that is in your sdcard.
it should list every file in datadata along with the size of each one.
because the size is at the beginning of each line, you can also sort the info by file size, either on your phone with an app like quickoffice, or on your pc.
there is also a way to do that sorting in the shell in terminal emulator, or with a script, but I'm too rusty on linux commands to give you that long command line.
edit: du is going to show the file space used by each subdirectory. that should point you to the offending files and orphan directories.
Did not find any issues after running the datadata log. I did, however, notice several simlink errors after getting es file explorer installed. Flashed the zip referenced in the following link to see if it would fix my errors (http://forum.xda-developers.com/showthread.php?t=1541942). So far, so good. No storage notifications, I am able to install from play store, and can restore from T/B. I will report back in a day or two to confirm if this fixed my issue.
I'm not sure that fix script is useful for the jelly bean partition layout, which is different from ics , I think.
They are referencing CM9 and a 170mb datadata partition. As you know, we've got a 422mb datadata partition, and I beleive jb uses a different strategy to make use of the fast flash rom in captivate.
Sorry, wrong link. I meant to link the datafix app from the play store. By the way, still seems to be working well.
Sent from my A500 using xda app-developers app
Okay, I figured it out. I looked in my cwm log and noticed that I had a TON of bad blocks in my datadata partition. This effectively shrunk my partition down to about 50MB. No wonder I had storage warning issues as soon as I would flash any ROM (and why I needed datafix app to free up some space). Before using the phone as a paperweight, I decided I would reflash to stock kg3 to see if repartitioning and flashing back to cm 10.1 could fix it. After going back to stock and then getting back to 10.1, the bad datadata sectors appear to be fixed. I'll report back in a few days.
Any idea what caused the badblocks?
Dark3n said:
Any idea what caused the badblocks?
Click to expand...
Click to collapse
I'll hazard a guess..
if his card was actually using a vfat or non jounaling fs, like ext2 for datadata, then
nonjournaling file systems on SD cards under linux are known to become corrupted when power is lost or interrupted. killing apps through a task manager or power manager could do the same, if it didn't allow the write buffer to finish. also a weak sd card might misbehave, particularly if bus is overclocked as it can be in semaphore kernel.
if it isn't a journaling fs, then the blocks show up as either bad or used when they are actually empty and good. periodically running fsck might be a good strategy for him.
edit; fsck isn't included in android build or busybox, I guess. Dark3n, could you build the fsck module into your SD maid app?

Categories

Resources