How to wipe clean internal card (rooted) - Captivate Q&A, Help & Troubleshooting

I have a rooted Captivate so I don't want to accidentally delete something important. Is there an easy way to clean the content of both cards?
Sent from my SGH-I897 using Tapatalk 4 Beta

octavia said:
I have a rooted Captivate so I don't want to accidentally delete something important. Is there an easy way to clean the content of both cards?
Sent from my SGH-I897 using Tapatalk 4 Beta
Click to expand...
Click to collapse
any file manager will do. if you browse folder by folder and only delete files you recognize as no longer needed, that is safest.
you might try SD Maid by XDA developer Darken. you can find it on google play, or in the Android apps forum on xda. you can scrub app data, find corpses, etc.
there are some apps that use the sdcard and if you wipe your internal sd card, they may stop working.
assuming you are running GB or later OS : if you go to settings, apps menu and select the sdcard tab, you can see which apps are on the internal sdcard and move them back to internal storage, if desired. you can also look at details of each app and see which ones store data on the sd.
Sent via Monty Pythons Flying Circus

laughingT said:
any file manager will do. if you browse folder by folder and only delete files you recognize as no longer needed, that is safest.
you might try SD Maid by XDA developer Darken. you can find it on google play, or in the Android apps forum on xda. you can scrub app data, find corpses, etc.
there are some apps that use the sdcard and if you wipe your internal sd card, they may stop working.
assuming you are running GB or later OS : if you go to settings, apps menu and select the sdcard tab, you can see which apps are on the internal sdcard and move them back to internal storage, if desired. you can also look at details of each app and see which ones store data on the sd.
Sent via Monty Pythons Flying Circus
Click to expand...
Click to collapse
SD maid is a pretty cool app. Thanks for the suggestion. I was able to clean up my Captivate.

Related

[Q] Will I be able to back up saved games before flashing a ROM or wiping my device?

Subject says it all. I'm looking at flashing Cognition but I'm hesitant if I will lose all saved games. I have titanium backup but have only used it to removed at&t bloatware. Can I use that to backup saves? And if so.. how?
Sent from my SAMSUNG-SGH-I897 using XDA App
I use titanium backup and it has always restored my Angry Birds' saved games... I was three star-ing everything so I wasn't about to flash and lose it all either HAHA. I say use TiBu and you should be fine, though there are anomalies and I am not responsible for any lost saved games haha
Is there a "how-to" for titanium backup?
Sent from my SAMSUNG-SGH-I897 using XDA App
TiBu -> Menu -> Batch -> Backup all user apps
Flash ODIN
Flash new rom (you can click wipe data, it doesnt delete your sd card stuff, in fact, i recommend it)
Install TiBu (if your rom doesn't have it included)
TiBu -> Menu -> Batch -> Restore all apps with data
Click install, install, install. Done.
If you're really anal (which i was for a while), put in an external sd card and copy the titaniumbackup folder from your root folder to the external sd card and then take it out. lol
Ah sweet. So if I'm understanding those steps... the internal sd card is not treated like internal ROM storage that is wiped when you flash your phone?
Sent from my SAMSUNG-SGH-I897 using XDA App
No, but if you did, for instance, an Odin 3 one click back to stock, and clicked the master clear button, or if you do a factory reset, etc., that would wipe the internal SD card. So, if your ocd like me, connect to your pc and mount the SD card, and transfer everything on it to the PC hard disk. Then repeat that whenever you're going to flash. Just in case, you know.
Backup all user apps or backup all user apps + system data?
Sent from my SAMSUNG-SGH-I897 using XDA App
Do all backup stuff. You can later select what to restore. You can go in and just restore browser favorites if you want.
Demonic240 said:
Backup all user apps or backup all user apps + system data?
Sent from my SAMSUNG-SGH-I897 using XDA App
Click to expand...
Click to collapse
Sent from my HTC HD2 using Tapatalk Pro
Thank you all for the info! There's a reason these forums rock!
Sent from my SAMSUNG-SGH-I897 using XDA App

Ext4

I am using the newest cos 2.3.4 and I noticed when I move apps to the sdext 4 it dosnt change the internal storafe amount. But if I put them to just the sd it does show a change. Is there something wrong with my ext or is it just not showing right. Also what is the correct way to use the ext4 e.g. what apps to put there and wich ones to put on regular sd? Sorry I am a noob with the sd partitions.
Sent from my HTC Dream using XDA App
selfinflicted1 said:
I am using the newest cos 2.3.4 and I noticed when I move apps to the sdext 4 it dosnt change the internal storafe amount. But if I put them to just the sd it does show a change. Is there something wrong with my ext or is it just not showing right. Also what is the correct way to use the ext4 e.g. what apps to put there and wich ones to put on regular sd? Sorry I am a noob with the sd partitions.
Sent from my HTC Dream using XDA App
Click to expand...
Click to collapse
Did u wipe before installing the Rom?
Did u follow these instructions as quoted from the OP of the COS-DS ROM?:
"DO NOT USE A2SDext scripts with this ROM , before playing around with your applications, enable move apps from COS settings, and choose SD-ext as defult in Settings/Applications. You can and should move apks from sd-ext to phone as you like (seams apps set on sd-ext also will set the dex there!)"
And concerning which apps to put on ext, and which to not, you can install all apps on your ext4, except ones that must run on internal memory, like phone, messaging, camera, etc.
Thanks for the reply. Yes I followed the guide to a "t"
It shows that I am using some space when I check the system storage but when I check where the apps are installed it only shows one on the sd. Maybe its just a glitch that don't show them in the manage apps screen. Either way gotta say I am pleased with the performance of the rom. One more question if you don't mind, why can't I download any of these through rom manager? Its always either corupted zip or download failed. But the cm roms download fine, any guesses?
Sent from my HTC Dream using XDA App
Yea, roalex has done some amazing work.
That, I do not know. Maybe the mirror is not working, who knows,you should ask roalex. I just download all the builds on my computer and transfer them to my sd.
Sent from my COS-DS using XDA App

Format SD

Hi all
Does format internal sd deletes the rom too??Or just cleans the sd from all the apps and their files,?
Sent from my GT-I9000 using XDA App
Just formats the mass storage part of your internal sd(where you put music and movies), it won't delete apps unless you have used apps2sd
So there is no way to get rid of all the old files that are left overs from unistalled apps???
Sent from my GT-I9000 using XDA App
If you format your internal SD you will lose all your app data, if you want to clean it up, open the internal SD on your pc or using root explorer and delete folders relating to apps you have deleted. In future when installing apps make sure you delete data and cache first in order to minimize any footprint remaining. Hope this helps
Sent from my GT-I9000 using XDA App
factory reset will do that, if you want a complete restore, flashing a 3 file firmware with pit will do that.
I'm not really sure what you mean. If you format the SD all the things on your SD card will be erased, not the apps as they kept in a different partition of your internal SD which isn't accessible without root. E.g On my phone it has an 8GB internal storage, 2GB of that is partitioned for apps, so when I plug my phone into my pc I have 6GB to put music and movies on-the partition used for mass storage. Does that explain it?
azzledazzle said:
factory reset will do that, if you want a complete restore, flashing a 3 file firmware with pit will do that.
Click to expand...
Click to collapse
No way,i have done that 20 times by flashing many custom roms but still as soon i reistalled e.g. Angry birds,i had all the levels back.All o want to do is get back those 5.75 gb of free space i had when i bought the phone.I have only 1.4 now with almost nothing installed on it.the rest is occupied by thousands of files that are left overs from uninstalling apps...
Sent from my GT-I9000 using XDA App
use the other method then, flashing with a pit file. thats gotta do it !!
whenever i do factory reset i lose my saved game data unless i restore from TB

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?

[Q] How can I expand the memory on my Nook HD?

I bought a 64 gb class 10 microsd card and I found I can only store music, photos, files like that. What I would like to use it for is to store applications and such. I have tried links 2 sd with no luck, I have tried partitioning with no luck. I am running CyanogenMod version 10.1.3-hummingbird. I really would like to get this working. Thanks!
TL;DR Want to put apps on external microsd card. Running CM 10.1.3-hummingbird. How do I do this
trizvi96 said:
I bought a 64 gb class 10 microsd card and I found I can only store music, photos, files like that. What I would like to use it for is to store applications and such. I have tried links 2 sd with no luck, I have tried partitioning with no luck. I am running CyanogenMod version 10.1.3-hummingbird. I really would like to get this working. Thanks!
TL;DR Want to put apps on external microsd card. Running CM 10.1.3-hummingbird. How do I do this
Click to expand...
Click to collapse
You can't with the Nook HD/HD+. Since internal media files and your app data share the free space internally, your best solution is to store all of your media files by default on the SD so that all internal space is available for apps. You can do that by going to my HD/HD+ CWM thread linked in my signature and flashing my swap SD for CM zip. See item 4.
Sent from my BN NookHD+ using XDA Premium HD app
So what exactly will that do to my nook? It will then store all of the app data on the external SD instead of internal?
You can repartition your sdcard and use Link2SD. It won't move OBB files, but it can move apps, data, libs and dalvik files.
http://www.link2sd.info/
trizvi96 said:
So what exactly will that do to my nook? It will then store all of the app data on the external SD instead of internal?
Click to expand...
Click to collapse
No, just the app's media files. They will go by default to external SD instead of internal SD. The regular app data stays on internal.
But maybe you do want to try the link2sd. I used it on my limited storage phone in the past and it worked great.
Sent from my BN NookHD+ using XDA Premium HD app
I cant even get links2sd to work and now my CWM is acting strange with the scrolling either getting stuck or not responding.
It sounds like you have some software problems. You did not say but I assume you installed CM10.1.3 on internal memory. I recommend a factory reset to clear things out and then reinstall your apps.
Sent from my SCH-i705 using XDA Premium HD app
leapinlar said:
It sounds like you have some software problems. You did not say but I assume you installed CM10.1.3 on internal memory. I recommend a factory reset to clear things out and then reinstall your apps.
Sent from my SCH-i705 using XDA Premium HD app
Click to expand...
Click to collapse
I actually have 10.1.3 installed on the internal memory. I might just do a factory reset and re install CM when I get home today. Will factory reset get rid of CWM as well?
trizvi96 said:
I actually have 10.1.3 installed on the internal memory. I might just do a factory reset and re install CM when I get home today. Will factory reset get rid of CWM as well?
Click to expand...
Click to collapse
No. It will not effect the ROM (CM10.1.3) either. It just wipes your installed apps and data. Just try the factory reset before you reinstall to see if that fixes it.
Sent from my BN NookHD+ using XDA Premium HD app

Categories

Resources