Hey, so I'm still a noob at everything but heres what I know...
I have an 16GB AT&T galaxy s3. I rooted it and installed Cyanogenmod 10 stable build (not sure if I should have posted in a Cyanogenmod forum...), anyways, I have cleared out all the bloat ware and made sure all my cache is kept cleared, but I still seem to have only half the internal storage space...
I have included a screenshot to show what my phone says about its storage.
Is there any app or any way to scan the internal storage to see whats (possibly?) left over from uninstalls or deletions?
Am i wrong to believe that the internal SD card of the galaxy is similar to standard harddrives where you delete files but they aren't ACTUALLY removed and still take up space? If so, is there a way to fully wipe the deleted items?
When I initially started with Cyanogenmod 10, I had the October nightly release (one of the last ones) and I had used Titanium Root to backup stuff (not sure where it all actually went, could it be on the phone still?). But I recently updated to the stable mod and tried to wipe everything off the phone to have a clean flash of the new ROM. So I've begun wondering if the backup files are still on the phone and where I could find them.
Or, lastly, I was thinking that maybe, just maybe, Cyanogenmod 10 takes up a lot of space, even though the file size is around 150MB...
Any ideas anyone? HELP!!!
Thanks!
Your operating system (CM10) takes up more than the 150MB download would suggest.
If you try "df" from shell, you'll see how your 16GB is partitioned. Here's what I got when I did it.
Filesystem Size Used Free Blksize
/dev 814M 52K 814M 4096
/mnt/asec 814M 0K 814M 4096
/mnt/obb 814M 0K 814M 4096
/system 1G 428M 1G 4096
/efs 13M 4M 8M 4096
/data 12G 8G 3G 4096
/cache 826M 102M 724M 4096
/persist 7M 4M 3M 4096
/firmware 63M 42M 21M 16384
/storage/sdcard0 12G 8G 3G 4096
I don't think there is more space that you can easily reclaim from the operating system. If you want more space, get a SD card.
mahler47 said:
Your operating system (CM10) takes up more than the 150MB download would suggest.
If you try "df" from shell, you'll see how your 16GB is partitioned. Here's what I got when I did it.
Filesystem Size Used Free Blksize
/dev 814M 52K 814M 4096
/mnt/asec 814M 0K 814M 4096
/mnt/obb 814M 0K 814M 4096
/system 1G 428M 1G 4096
/efs 13M 4M 8M 4096
/data 12G 8G 3G 4096
/cache 826M 102M 724M 4096
/persist 7M 4M 3M 4096
/firmware 63M 42M 21M 16384
/storage/sdcard0 12G 8G 3G 4096
I don't think there is more space that you can easily reclaim from the operating system. If you want more space, get a SD card.
Click to expand...
Click to collapse
What confuses me then, is that (I believe) TouchWiz is a larger ROM and comes with A LOT of bloatware, so how is it that I had more internal storage space back on the stock ROM?
You can download apps in the store that show you the space each folder takes up. Use one of them. They are more useful than any terminal commands because you can easily see the sub-folders in big folders which shows you where space is being wasted.
For example, in my apps folder, there was a large amount of Economist magazines downloaded which were taking up tons of space.
skomes said:
You can download apps in the store that show you the space each folder takes up. Use one of them. They are more useful than any terminal commands because you can easily see the sub-folders in big folders which shows you where space is being wasted.
For example, in my apps folder, there was a large amount of Economist magazines downloaded which were taking up tons of space.
Click to expand...
Click to collapse
Is there any specific app you recommend?
Kapak13 said:
Is there any specific app you recommend?
Click to expand...
Click to collapse
Disk Usage
Thank you! That is exactly what I was hoping to come across. I also just tried SDMaid, seems to be helping
I figured out what my problem was...
I used SDMaid to look at my "biggest" files and found that I still had about 6 of the Cyanogenmod nightlies zips still on my phone.
But now i have one further question, I have clockwork mod and I see a BUNCH of backups and files dealing with clockwork mod, each are around 25MB, I see 4 that are blobs, and 3 backups. How can I tell which ones are outdated? Or do I need to keep them all?
EDIT: I found even more blobs and backups but they are around 10MB.. Anyone know what to do?
And I also have 2 camera apps.... 120MB-VID_20121115_212426.mp4 /storage/sdcard/DCIM/camera/ and 74.33MB- VID_20121115_212425.mp4 /storage/sdcard/DCIM/camera/
This was the first device I had where cwm backed up in blob format. I changed the advance settings for backup format to tar and it resolved that issue
Sent from my SAMSUNG-SGH-I747M
mymusicathome said:
This was the first device I had where cwm backed up in blob format. I changed the advance settings for backup format to tar and it resolved that issue
Sent from my SAMSUNG-SGH-I747M
Click to expand...
Click to collapse
What did you use to change the advanced settings for backup format? ROMmanager?
EDIT: nevermind hahaha i figured it out. Went into CWM and found the advanced settings. Thank you!
was nndiro
mymusicathome said:
This was the first device I had where cwm backed up in blob format. I changed the advance settings for backup format to tar and it resolved that issue
Sent from my SAMSUNG-SGH-I747M
Click to expand...
Click to collapse
OK, so now that I've backed it up in tar format, can I now delete all the other backups? Should I keep the original cyanogenmod 10 zip on my phone? And can I delete ALL the backups, then make fresh backups without compromising my phone?
All Is Well
AH HA!!! I've done it!!! I went into clockwork mod recovery and went to advanced settings, changed the backup format to tar, made a backup. then rebooted phone and went into SDMaid, and went to the file explorer and found the "clockwordmod" folder, opened it up, found "backup", then deleted everything EXCEPT the latest backup I made with the tar format. Then I backed up all my photos onto dropbox and I'm currently deleting the photos and vids from my phone. now I have 10.61GB free!!!
Thank you all for helping me!
Gotta ask, did ur phone feel slow or something when u had 7gb free? Does it feel snappier now? I have had my memory down to 2gb and it still flew and was as smooth as when I have 9g of storage left. It makes no difference short of visually, but whatever crumbles ur cookies
Sent from my Nexus 7 using xda premium
Kapak13 said:
AH HA!!! I've done it!!! I went into clockwork mod recovery and went to advanced settings, changed the backup format to tar, made a backup. then rebooted phone and went into SDMaid, and went to the file explorer and found the "clockwordmod" folder, opened it up, found "backup", then deleted everything EXCEPT the latest backup I made with the tar format. Then I backed up all my photos onto dropbox and I'm currently deleting the photos and vids from my phone. now I have 10.61GB free!!!
Thank you all for helping me!
Click to expand...
Click to collapse
the questions you had and what you found out was just what i was going to ask about haha!
so changing clockwork settings to tar will make a folder for each backup instead of dumping some stuff into "blobs"?
from what i understand (i could be wrong?) CWM dumps essential files into blobs and backups up the "changes" into the backup folder so if you make a few backups with the same ROM/kernel, it won't have to take as long or take as much disk space
+1 for Disk Usage
Kapak13 said:
AH HA!!! I've done it!!! I went into clockwork mod recovery and went to advanced settings, changed the backup format to tar, made a backup. then rebooted phone and went into SDMaid, and went to the file explorer and found the "clockwordmod" folder, opened it up, found "backup", then deleted everything EXCEPT the latest backup I made with the tar format. Then I backed up all my photos onto dropbox and I'm currently deleting the photos and vids from my phone. now I have 10.61GB free!!!
Thank you all for helping me!
Click to expand...
Click to collapse
I store my CWM backups in the default blob format, "dup" I believe it's called. I keep my older unneeded backups cleared out but have noticed blob files remain.
In looking at the backup settings, I saw the option to remove unneeded backup data. Just tried it and freed several GB of space that was being used by obsolete blob data.
This clears the space without changing backup format.
Thanks for giving me the nudge that made me take a look and figure this out!
Please read forum rules before posting
Questions go in Q&A
Thread moved
Thank you for your cooperation
Friendly Neighborhood Moderator
bbgt2 said:
Gotta ask, did ur phone feel slow or something when u had 7gb free? Does it feel snappier now? I have had my memory down to 2gb and it still flew and was as smooth as when I have 9g of storage left. It makes no difference short of visually, but whatever crumbles ur cookies
Sent from my Nexus 7 using xda premium
Click to expand...
Click to collapse
It wasn't so much speed as it was having all the space I should have. I had files everywhere and folders galore so it was slower to navigate.
phasion said:
the questions you had and what you found out was just what i was going to ask about haha!
so changing clockwork settings to tar will make a folder for each backup instead of dumping some stuff into "blobs"?
from what i understand (i could be wrong?) CWM dumps essential files into blobs and backups up the "changes" into the backup folder so if you make a few backups with the same ROM/kernel, it won't have to take as long or take as much disk space
Click to expand...
Click to collapse
Well being that I'm brand new at all this since coming from my iPhone modding days, I'm not really sure what I was looking at or dealing with. I just went into cwm and set the backup to tar and let it run, then when I went back into sdmaid I saw it was a file that was around 160mb where the original was 150mb but then had all the extra files not in the main folder. So it could have been the same. So since I only saw the one folder for the tar version, I knew everything was in one spot, in a 160mb folder. I then deleted all the other stuff to free up the internal storage and I was good to go. What have I really truly done? PSH, no clue. But its working still haha. I'm tempted to go back in cwm and do one normal backup with all the blobs just in case...
bsam55 said:
I store my CWM backups in the default blob format, "dup" I believe it's called. I keep my older unneeded backups cleared out but have noticed blob files remain.
In looking at the backup settings, I saw the option to remove unneeded backup data. Just tried it and freed several GB of space that was being used by obsolete blob data.
This clears the space without changing backup format.
Thanks for giving me the nudge that made me take a look and figure this out!
Click to expand...
Click to collapse
Haha yeah, I just can't sleep at night knowing that I don't know everything that's going on in my devices. And this is still brand new to me so when I saw I was low on memory and getting "error low memory" messages and couldn't install any apps, I snapped and signed up here and posted this thread. Thank you for reading and I'm glad it helped you out.
And speaking of the "error low memory" or more accurately, "insufficient storage available", I found the cure...
Download the app called LuckyPatcher, open it up, click the menu and click troubleshooting, then click the "remove fixes and backups" then you're done.
Related
I am not responsible for any damage your nook suffers.
Officially supported by The Nooter Project for Nook Simple Touch
http://code.google.com/p/nooter/
Touch-Formatter
(Tool to return to stock)
Information:
What it does:
Formats: /data, /cache, /system
Installs 1.1 /system.
Regenerates /data automatically.
Bugs:
CWM may not refresh the screen correctly when booted, move the cursor with the right keys so it refreshes the screen.
If CWM hangs while rebooting, dont worry, force shutdown, and start your nook again, nothing bad happens.
Future updates: (In order of priority).
Update to 1.1.2
Be compatible with NSTG (Nook Simple Touch Glowlight)
Differentiate between the NST and NSTG (Nook Simple Touch Glowlight) so to make only one zip.
Backup /factory + Wipe the complete NST + Recreate the whole NST partition table + Restore /factory
User manual:
Things you will need:
CWM
Thread: http://forum.xda-developers.com/showthread.php?t=1360994
Direct download links:
http://forum.xda-developers.com/attachment.php?attachmentid=806435&d=1323121399
http://forum.xda-developers.com/attachment.php?attachmentid=806434&d=1323121315
Download it and burn it to an sd-card, (windows users use this to burn the image https://launchpad.net/win32-image-writer/+download)
You must have an external microSDCard reader to burn CWM, not the NST.
The button layout of CWM:
Both Buttons on the left: BACK
Upper button on the right: UP
Lower button on the right: DOWN
n button: SELECT
Power button: TOGGLE DISPLAY
Zips:
Download http://nooter.googlecode.com/files/Alpha-FormatTouch-2.zip
Old:
Download http://nooter.googlecode.com/files/Alpha-FormatTouch.zip and copy it on the sd card burnt with CWM
Instructions:
Copy the zip onto the root directory of the sdcard you burned the CWM.(Don't extract them)
Insert the sdcard on your nook, and boot it.
On CWM select install zip from sdcard
Then select choose zip from sdcard
Select Alpha-FormatTouch-2.zip, click yes and wait till the process finishes.
Go back, eject the sd card, and click reboot.
On future updates I'll try: automatically make a backup of /factroy, recreate the whole nook partition table so that people that screw hard can breathe new life into their NST easily.
Index
Automatic Methods:
[NST]MinimalTouch 1.1beta5
[NST]Touch-Formatter
Manual Tutos:
Skip registration (OOBE)
Making the manual process LESS PAINFULL
Setting up adb manually on the nook touch
Setting up root access on NST through adb and installing busybox
Improve battery life(testing)
Backup bookmarks and annotations(testing)
Enable non market app installs
Installing XorZone's B&N button modifier
Change the powered off screen image
Blocking OTA updates
Installing new fonts for your nook (testing)
Installing Gapps (+launcher, etc)
Totally uninstall Gapps (my repack), unrooting, erasing and restoring
Interesting or useful specific apps or hacks for Nook Simple Touch
nook 1.1 update
Thanks to:
ros87 for n2T-Recovery (http://forum.xda-developers.com/showthread.php?t=1289233)
mali100 for the correct command for the /data restoration and for CWM (http://forum.xda-developers.com/showthread.php?t=1360994)
bisbal for trying it out and giving ideas.
meghd00t for pointing out factory.zip is common across more than one NST and researching how to Resize Nook STR Partitions (http://forum.xda-developers.com/showthread.php?t=1225196)
dobbing for the copy of the 1.1 update.
Thanks eded333. Seems Nook touch developers are back on track. Glad to see all the busy posts. Cheer up.
eded333 said:
As some people where having trouble returning to stock after rooting, this is a semi automatic method, easy to follow, that will leave your nook stock (if you havent erased the unique data, flashing Noogie into the NST, which isnt recoverable ¬¬).
Click to expand...
Click to collapse
eded333,
Could you tell where unique data kept (what files)?
Hopefully, it’s small enough and easy to backup / zip
If Touch-Formatter can read the file from SD, it can restore unique data easily, right?
ApokrifX said:
eded333,
Could you tell where unique data kept (what files)?
Hopefully, it’s small enough and easy to backup / zip
If Touch-Formatter can read the file from SD, it can restore unique data easily, right?
Click to expand...
Click to collapse
If i'm not wrong /rom and /factory both hold unique info for every nook, as mac, etc.
If you root your device, the only partitions which are touched are /data and /system, so dont worry for that.
Yes, it should be easy to, for example, to create a Backup.zip which did a backup of those files, partitions, or anything you want and then add to this or another zip a way to restore them from the SD.
Anyway there is allready a tuto for something like that, which creates a full backup of your Nook and it should be the first step before playing with it:
http://forum.xda-developers.com/showthread.php?t=1142983
Edit:
The backup done by CWM dosn't backup /rom and /factory.
So do I have to register again after using this? Or does it stay registered? (I haven't had to wipe my Nook in a while. I'm so proud of myself! xD)
Googie2149 said:
So do I have to register again after using this? Or does it stay registered? (I haven't had to wipe my Nook in a while. I'm so proud of myself! xD)
Click to expand...
Click to collapse
This completely erases /data /cache and /system.
So... yes , you will need to register again, after using this.
eded333 said:
If i'm not wrong /rom and /factory both hold unique info for every nook, as mac, etc.
If you root your device, the only partitions which are touched are /data and /system, so dont worry for that.
Yes, it should be easy to, for example, to create a Backup.zip which did a backup of those files, partitions, or anything you want and then add to this or another zip a way to restore them from the SD.
Anyway there is allready a tuto for something like that, which creates a full backup of your Nook and it should be the first step before playing with it:
http://forum.xda-developers.com/showthread.php?t=1142983
Or you can use the latest CWM: http://forum.xda-developers.com/showthread.php?t=1360994
Click to expand...
Click to collapse
That’s exactly what I want to avoid – to create full 1.8GB backup.
Isn’t it nice to have tiny backup, email to self, just in case?
There is /rom folder, but no /factory one.
/rom “zipped” is 32KB only
Searched both threads you mentioned – cannot find anything related to /factory folder.
Does /rom/devconf backup sufficient?
ApokrifX said:
That’s exactly what I want to avoid – to create full 1.8GB backup.
Isn’t it nice to have tiny backup, email to self, just in case?
There is /rom folder, but no /factory one.
/rom “zipped” is 32KB only
Searched both threads you mentioned – cannot find anything related to /factory folder.
Does /rom/devconf backup sufficient?
Click to expand...
Click to collapse
While your idea with just backing up the unique data (which resides in both the rom partition and the factory one) might seem a good one, what happens when you screw up your NST the way that 99% of the users that asks me for help does?
If you delete/corrupt/overwrite boot, rom, factory or data, then your tiny rom backup won't help you much unless you can get a copy of the other partitions from someone else.
And then there's the problem with alignment of the data partition, which is part of an extended partition.. The first thing people usually kills is the partition table , and simply restoring it from another NST will (in 70% of the cases) not bring back the extended partitions
My vote would be a little yes and mostly no
ros87 said:
While your idea with just backing up the unique data (which resides in both the rom partition and the factory one) might seem a good one, what happens when you screw up your NST the way that 99% of the users that asks me for help does?
If you delete/corrupt/overwrite boot, rom, factory or data, then your tiny rom backup won't help you much unless you can get a copy of the other partitions from someone else.
And then there's the problem with alignment of the data partition, which is part of an extended partition.. The first thing people usually kills is the partition table , and simply restoring it from another NST will (in 70% of the cases) not bring back the extended partitions
My vote would be a little yes and mostly no
Click to expand...
Click to collapse
I think a backup of ROM itself should be a yes. Because if you have that and somehow completely absolutely destroy your partition, you will be able to with a little work and kindness from others eventually completely restore your device, in fact you could create a generic copy of the partitions blank or otherwise then use that to restore a device, have a script take the rom insert it write /boot /system etc for you and you're good to go.
However this shouldn't be used in place of a proper backup.
ros87 said:
While your idea with just backing up the unique data (which resides in both the rom partition and the factory one) might seem a good one, what happens when you screw up your NST the way that 99% of the users that asks me for help does?
If you delete/corrupt/overwrite boot, rom, factory or data, then your tiny rom backup won't help you much unless you can get a copy of the other partitions from someone else.
Click to expand...
Click to collapse
That’s where you Touch-Formatter helps me.
It’ll restore generic copy, my tiny backup makes it “personal” than.
That’s how B&N does it on factory, right?
---------- Post added at 03:43 AM ---------- Previous post was at 03:39 AM ----------
BTW: Where is factory partition?
Code:
#df
/dev: 116512K total, 0K used, 116512K available (block size 4096)
/sqlite_stmt_journals: 4096K total, 0K used, 4096K available (block size 4096)
/rom: 16116K total, 217K used, 15899K available (block size 512)
/system: 285583K total, 196911K used, 88672K available (block size 1024)
/data: 808292K total, 313252K used, 495040K available (block size 4096)
/cache: 237987K total, 8344K used, 229643K available (block size 1024)
/sdcard: 7774208K total, 113824K used, 7660384K available (block size 32768)
/media: 241947K total, 759K used, 241187K available (block size 512)
---------- Post added at 03:51 AM ---------- Previous post was at 03:43 AM ----------
GabrialDestruir said:
...in fact you could create a generic copy of the partitions blank or otherwise then use that to restore a device, have a script take the rom insert it write /boot /system etc for you and you're good to go.
Click to expand...
Click to collapse
Gabrial,
Do you think it’ll be possible to connect via adb and push back /rom partition content to restored generic image.
Providing we replaced uRamdisk and can use adb connect via USB.
Would it be sufficient?
ApokrifX said:
That’s where you Touch-Formatter helps me.
It’ll restore generic copy, my tiny backup makes it “personal” than.
That’s how B&N does it on factory, right?
---------- Post added at 03:43 AM ---------- Previous post was at 03:39 AM ----------
BTW: Where is factory partition?
Code:
#df
/dev: 116512K total, 0K used, 116512K available (block size 4096)
/sqlite_stmt_journals: 4096K total, 0K used, 4096K available (block size 4096)
/rom: 16116K total, 217K used, 15899K available (block size 512)
/system: 285583K total, 196911K used, 88672K available (block size 1024)
/data: 808292K total, 313252K used, 495040K available (block size 4096)
/cache: 237987K total, 8344K used, 229643K available (block size 1024)
/sdcard: 7774208K total, 113824K used, 7660384K available (block size 32768)
/media: 241947K total, 759K used, 241187K available (block size 512)
---------- Post added at 03:51 AM ---------- Previous post was at 03:43 AM ----------
Gabrial,
Do you think it’ll be possible to connect via adb and push back /rom partition content to restored generic image.
Providing we replaced uRamdisk and can use adb connect via USB.
Would it be sufficient?
Click to expand...
Click to collapse
It only gets mounted when running restores, not while the system is in use. But yes assuming your generic image had adb access you could push it back to /rom the issue however is that Touch-Formatter while great for returning devices to stock wouldn't fix partition issues, so if you screw up your partitions you'll need more than just this to fix it.
I will work on (when I have some time) making a blank image with just a generic /boot, with all the partitions correctly done of the NST, but empty.
This image, compressed, shouldnt occupy more than a few megabytes, then make a zip which backups the sensitive data, /rom, /factory and create another zip, which should destroy all the data on the NST, burn this empty image, restore /rom and /factory, then trigger automatically reset/restore to end up with a 100% clean nook, even if you screw it hard.
Is this what you were asking for ApokrifX? Or did I get it wrong?
Is there really unique data on /factory ? I thougt there is only some duplicate data from the rom partition.
eded333 said:
Anyway there is allready a tuto for something like that, which creates a full backup of your Nook and it should be the first step before playing with it:
http://forum.xda-developers.com/showthread.php?t=1142983
Or you can use the latest CWM: http://forum.xda-developers.com/showthread.php?t=1360994
Click to expand...
Click to collapse
Making a normal backup with CWM doesn't include the /rom and /factory partition.
mali100 said:
Making a normal backup with CWM doesn't include the /rom and /factory partition.
Click to expand...
Click to collapse
Mmmm, I thought it did a full rom backup, I'll change the advice on the previous post, thanks.
mali100 said:
Is there really unique data on /factory ? I thougt there is only some duplicate data from the rom partition.
Click to expand...
Click to collapse
Yep, factory contains a copy of the rom data which gets extracted to rom when you do a factory restore.
eded333 said:
I will work on (when I have some time) making a blank image with just a generic /boot, with all the partitions correctly done of the NST, but empty.
This image, compressed, shouldnt occupy more than a few megabytes, then make a zip which backups the sensitive data, /rom, /factory and create another zip, which should destroy all the data on the NST, burn this empty image, restore /rom and /factory, then trigger automatically reset/restore to end up with a 100% clean nook, even if you screw it hard.
Is this what you were asking for ApokrifX? Or did I get it wrong?
Click to expand...
Click to collapse
eded333,
That’s exactly what I meant!
---------- Post added at 04:01 AM ---------- Previous post was at 03:01 AM ----------
ros87 said:
Yep, factory contains a copy of the rom data which gets extracted to rom when you do a factory restore.
Click to expand...
Click to collapse
That’s all?
Anyway, where is it (factory partition)?
I.e. what is # in /dev/block/mmcblk0p#
“fdisk -l” shows nothing...
Factory, should be, if i'm not wrong /dev/block/mmcblk0p3
ApokrifX said:
That’s all?
Anyway, where is it (factory partition)?
Click to expand...
Click to collapse
No that's not all
And it's located where eded said it is.
Guys,
Need a little help here:
http://forum.xda-developers.com/showthread.php?p=22214127#post22214127
Basically, how do we change NST MAC?
Sorry, don’t know where else to ask…
Hey guys
let me give you some background informatie as to what happend
I went on a flashing spree today and I bumped into something irritating!
I've flashed JBSourcery V4.5 but it didn't satisfy my personal needs (didn't have some mods that I liked).
So back into recovery, factory reset, cache wipe... all the standard cleaning stuff. Next on my list was
LiquidSmooth and that's where my problem started. I was in recovery, wiped the lot and wanted to flash
LiquidSmooth which was already on my SDcard (I came prepared ) So I chose "Install ZIP from SD" and
my heart skipped a beat. Normally I'd see all my folders on my SD... Now I only saw "0", "Legacy" and "obb".
I kept my cool and opened each one untill I found my SD contents which where stuffed into the "0" folder.
No big deal... I could flash LiquidSmooth so everything was fine. Next one was XenonHD. Still same problem
but I could flash my stuff.
Long story short, how do I get my internal memory back to how it was?
Something on a side note though, It's only like that in recovery. If I connect my phone via USB it's normal. (Samsung Galaxy Nexus -> Internal Memory -> ...)
Ideas are welcome!
Thanks in advance! :good:
diSke
Move them with Root Explorer or hook it up to the comp and move them. Or check out some of the other threads about the /0/ folder, there are allot of them.
WiredPirate said:
Move them with Root Explorer or hook it up to the comp and move them. Or check out some of the other threads about the /0/ folder, there are allot of them.
Click to expand...
Click to collapse
Oh great... and I added one to the lot... Sorry guys!
Didn't think of searching with the "0" folder as keyword.
Thanks though for the reply and solution!
One quick question, do you know if the "Legacy" and "obb" folders are important?
I'm sure they are significant for some reason, but I am unsure of their specific purpose. I would for sure keep them in tact.
Hmmm... I moved them and now all my sd card files are scattered around...
Some in legacy, some in "0", some in media... probably best to wipe the lot and start from scratch?
From another post about Android 4.2's filesystem setup:
Cilraaz said:
Source: init.tuna.rc
Code:
on init
# See storage config details at [URL="http://source.android.com/tech/storage"][COLOR=#0066cc]http://source.android.com/tech/storage[/COLOR][/URL]
mkdir /mnt/shell/emulated 0700 shell shell
mkdir /storage/emulated 0555 root root
export EXTERNAL_STORAGE /storage/emulated/legacy
export EMULATED_STORAGE_SOURCE /mnt/shell/emulated
export EMULATED_STORAGE_TARGET /storage/emulated
# Support legacy paths
symlink /storage/emualted/legacy /sdcard
symlink /storage/emualted/legacy /mnt/sdcard
symlink /storage/emualted/legacy /storage/sdcard0
symlink /mnt/shell/emulated/0 /storage/emulated/legacy
[...]
# virtual sdcard daemon running as media_rw (1023)
service sdcard /system/bin/sdcard /data/media /mnt/shell/emulated 1023 1023
class late_start
[...]
Click to expand...
Click to collapse
You said which ROMs you flashed, but what version of Android are you on now? It sounds like you might be back on 4.1.x, since you're seeing 0, legacy, and obb in /sdcard.
If you went back to 4.1.x, then 0, legacy, and obb are not important. Only /data/media matters on 4.1.x. If you are on 4.1.x, go to /data/media/0 and copy all of the files there to /data/media, then reboot. That will fix your setup. Once that's done and 0, legacy, and obb are all empty, they are safe to delete.
If you are on 4.2 or 4.2.1, then the above quote is accurate. Your information should be in /data/media/0 and the system should be properly fuse mounting and symlink'ing to showyour data into /sdcard.
When moving files around, it's usually best to do it at the source (within /data/media) so you don't have to worry about the fuse mounts and symlinks causing a problem.
I switched from 4.1 to 4.2.1.
Problem is I started switching things around and now my sd card files seem te be everywhere.
Can't figure out what is what...
I moved everything from "data/media/0" to "data/media"
but now my system can't find my files.
When I try to move everything back it says "unable to execute the command"
diSke said:
I switched from 4.1 to 4.2.1.
Problem is I started switching things around and now my sd card files seem te be everywhere.
Can't figure out what is what...
I moved everything from "data/media/0" to "data/media"
but now my system can't find my files.
When I try to move everything back it says "unable to execute the command"
Click to expand...
Click to collapse
As my post said, if you're on 4.2.1, your files should be in /data/media/0. You'll see copies of them in multiple places (/storage/emulated/legacy, /sdcard, /mnt/shell/emulated/0, /mnt/sdcard, /storage/sdcard0, and /data/media/0), but these are fuse mounts and symlinks. Your data only "physically" exists in one place: /data/media/0. After rebooting, your files should be found in /sdcard, rather than /sdcard/0. If not, then you might have the multiple 0 folder issue (e.g. /data/media/0/0/0, which ends up being /sdcard/0/0) from having an outdated version of your recovery.
Long story short, if you're on 4.2.1, then any files from your "SD Card" should be found in /data/media/0. If you're on 4.1.x, then they should be in /data/media.
If you're getting that error when trying to copy from /data/media to /data/media/0, then you'll need to check that /data/media is mounted as r/w and that you have write permission to the 0 folder within it. You should also be copying these files around as root (either through terminal emulator or a root file browser like Root Explorer).
Cilraaz is correct, however if you are looking for an easy way to straighten it out you can do the following.
Copy everything you want to save to the computer.
Reboot into recovery and format data. (Not wipe data actually format.)
Reboot phone and data partition will be good to go again.
Copy files back from computer and you should be as you were previously.
Of course all other data will be gone but I'm sure if you are a crack flasher you can get all that back.
G-Nexus Sent
ifly4vamerica said:
Cilraaz is correct, however if you are looking for an easy way to straighten it out you can do the following.
Copy everything you want to save to the computer.
Reboot into recovery and format data. (Not wipe data actually format.)
Reboot phone and data partition will be good to go again.
Copy files back from computer and you should be as you were previously.
Of course all other data will be gone but I'm sure if you are a crack flasher you can get all that back.
G-Nexus Sent
Click to expand...
Click to collapse
Good call on the computer backup. You don't need to wipe data, though. Just backup what you want to save from storage to your computer, then flash userdata.img from the stock 4.2.1 ROM, which will wipe out and re-create the /data/media partition. Then when you reboot, the fuse mounts and symlinks will be properly recreated and you can use MTP to copy your data back (or adb push it to /data/media/0 or /sdcard).
Thanks guys.
Fixed it differently though, Completely wiped everything again and started from scratch.
Made a backup earlier of everything I wanted to save except for messages which I forgot (damnit)
But it's all good now
Please read forum rules before posting
Questions go in Q&A
Thread moved
Thank you for your cooperation
Friendly Neighborhood Moderator
Hey guys,
recently i recognized that my GNex was missing some storage space.
As you can see in the pictures it says, only 3GB available whereas apprx. only 5GB are displayed as used. But there should be much more free space.
So i used the App DiskUsage and saw, that 'system data' is taking up 6GB, wich is way too much, right?
Any Ideas how i can fix that?
I'm using TWRP 2.4.3.0.
FuelFlo said:
Hey guys,
recently i recognized that my GNex was missing some storage space.
As you can see in the pictures it says, only 3GB available whereas apprx. only 5GB are displayed as used. But there should be much more free space.
So i used the App DiskUsage and saw, that 'system data' is taking up 6GB, wich is way too much, right?
Any Ideas how i can fix that?
I'm using TWRP 2.4.3.0.
Click to expand...
Click to collapse
no idea how to fix it without a wipe but just for comparison, mine says 2153 MB for System Data
do you have old backups in /data/media/<TWRP or Clockworkmod>
have you updated your recovery?
i, too, had that problem before i realize it was the nandriod backups i had with CWM.
Try deleting your oldest backup and you should see a decrease in your "system data"
Okay, i checked and i should have no backups left.
I already deleted them some days ago. Yesterday somehow i discovered 2 backups in the 'lost+found' folder and have no idea, what they were doing in this spot. So i deleted the, too.
(i did all the deleting with a file explorer[root browser lite] an not with TWRP)
Yea and i updated from TWRP 2.4.1 to 2.4.3 recently.
So whats the way to shrink 'system data'. Isn't it a partition? So i would have to repartition it?
no, 'system data' is not a partition. its a part of the /data partition naming convention aside.
you should verify that your backups are actually deleted, because if you dont do it from the right directory, they will still be there. i had this exact issue with CWM backups on my device, after I had switched over to TWRP, and had to delete the backups from /mnt/shell/emulated/clockworkmod (i think that was the exact path)
Pirateghost said:
no, 'system data' is not a partition. its a part of the /data partition naming convention aside.
you should verify that your backups are actually deleted, because if you dont do it from the right directory, they will still be there. i had this exact issue with CWM backups on my device, after I had switched over to TWRP, and had to delete the backups from /mnt/shell/emulated/clockworkmod (i think that was the exact path)
Click to expand...
Click to collapse
All right, thanks. Found no Backups but i discovered that 'lost+found' had a huge size of 5.5 GB.
So i deleted it via TWRP file manager...and android created a fresh one on the next boot.
It seems that 'Root Browser lite' wich I was using didn't delete all the files (including old backups)l properly and so they endet up in lost+found.
Thanks again for your help!
Pirateghost said:
no, 'system data' is not a partition. its a part of the /data partition naming convention aside.
you should verify that your backups are actually deleted, because if you dont do it from the right directory, they will still be there. i had this exact issue with CWM backups on my device, after I had switched over to TWRP, and had to delete the backups from /mnt/shell/emulated/clockworkmod (i think that was the exact path)
Click to expand...
Click to collapse
This has actually come as a big surprise for me too!!!
I always had in excess of 3GB space hence never bothered checking what was occupying my used memory.
Reading this post I decided to analyze it finally, and CWM is using 2.9GB space in the /mnt/shell/emulated/clockworkmod path!!
Thanks to all who contributed in this post. :good: This is going to help many people. :highfive:
Another surprise:
The disk usage app shows 2.9GB in the above folder, but using ES file explorer, I cannot see anything there.
Will try another file explorer and try.
tgeery said:
no idea how to fix it without a wipe but just for comparison, mine says 2153 MB for System Data
Click to expand...
Click to collapse
I deleted the backups using ROM toolbox Pro!
Now my system data is a measly 1040MB!!! (Down from 3.9GB) And my system is super smooth now.
I am using AOSPA 3.1.
Is such small usage normal?
Hi All,
Hopefully this should be a very quick question. I'm loading CM onto my phone, and this is the first ROM I've ever used. I've loaded CWM, made a backup, and I'm about ready to go and load CW on. I've noticed though that out of the 5 or so gig the phone comes with for internal memory, about 4gb is used up. Is this just the system and the back up and apps?? It seems quite a lot. Will CM fill this up further? Will I encounter any issues?
I hope thats all clear, but excuse me for being a beginner.
EDIT: This is now even more relevant now CM is flashed. I've just looked in the file viewer, and there's still all the folders etc from the old samsung, and amazonmp3 etc etc. I thought the "wipe data/factory reset" in CWM would have cleared all this.....
Many thanks for looking.
floateruk said:
Hi All,
Hopefully this should be a very quick question. I'm loading CM onto my phone, and this is the first ROM I've ever used. I've loaded CWM, made a backup, and I'm about ready to go and load CW on. I've noticed though that out of the 5 or so gig the phone comes with for internal memory, about 4gb is used up. Is this just the system and the back up and apps?? It seems quite a lot. Will CM fill this up further? Will I encounter any issues?
I hope thats all clear, but excuse me for being a beginner.
EDIT: This is now even more relevant now CM is flashed. I've just looked in the file viewer, and there's still all the folders etc from the old samsung, and amazonmp3 etc etc. I thought the "wipe data/factory reset" in CWM would have cleared all this.....
Many thanks for looking.
Click to expand...
Click to collapse
Factory reset only wipes the data partition. For the first time installing a custom ROM, and especially going from stock to cm for the first time, you should wipe the system partition which can be done from cwm.
Sent from the dark side of the moon.
Want to know how to boost your devices performance and battery life? See my thread here: http://forum.xda-developers.com/showthread.php?t=2495269
iKlutz said:
Factory reset only wipes the data partition. For the first time installing a custom ROM, and especially going from stock to cm for the first time, you should wipe the system partition which can be done from cwm.
Sent from the dark side of the moon.
Want to know how to boost your devices performance and battery life? See my thread here: http://forum.xda-developers.com/showthread.php?t=2495269
Click to expand...
Click to collapse
Hi again.
So I finally got round to trying to get this sorted.... and I'm failing. I've booted into CWM, rerun the "wipe/data factory reset", rerun the "wipe cache" then went into "mounts and storage" and did a format of the system partition, but it still hasn't cleared any of the data.
Am I doing something incorrectly? I didn't want to play around with it too much, in case i bork it all. Any help would be massively appreciated.
Also, I'm a bit concerned about what formatting the system partition will do. Does it just clear the rom already on there, and I can then flash Cyanogenmod back on from my sd card?
Thanks
floateruk said:
Hi again.
So I finally got round to trying to get this sorted.... and I'm failing. I've booted into CWM, rerun the "wipe/data factory reset", rerun the "wipe cache" then went into "mounts and storage" and did a format of the system partition, but it still hasn't cleared any of the data.
Am I doing something incorrectly? I didn't want to play around with it too much, in case i bork it all. Any help would be massively appreciated.
Also, I'm a bit concerned about what formatting the system partition will do. Does it just clear the rom already on there, and I can then flash Cyanogenmod back on from my sd card?
Thanks
Click to expand...
Click to collapse
Formatting system partition wipes the currently installed rom / system apps.
How do you know that it is not wiping the data? If you do a system format and your rom still boots then it isn't working properly.
It could be a problem with the version of recovery (cwm / twrp) that you're using. It can't hurt to update it, which could be the case here.
Good luck. Let me know how it goes.
Sent from the dark side of the moon.
iKlutz said:
Formatting system partition wipes the currently installed rom / system apps.
How do you know that it is not wiping the data? If you do a system format and your rom still boots then it isn't working properly.
It could be a problem with the version of recovery (cwm / twrp) that you're using. It can't hurt to update it, which could be the case here.
Good luck. Let me know how it goes.
Sent from the dark side of the moon.
Click to expand...
Click to collapse
Thanks for coming back so quickly!
So if you see the attached, this is what I'm looking at. The phone has 5.5gb internal memory, of which, looking at the below, I'm using about 1.5gb, BUT I only have 1gb left to use, and I get warnings about lack of memory.... So there's 3gb being used for.... I don't know.
When I first put cyanogen on, I noticed that the file structure from stock was still there (i.e. all the folder my old apps made). I expected when I put CM on that it would wipe everything, including all of those folders.
You can try an app called es file explorer, it has a feature that fully scans the contents of the internal SD card.
It should show a list of all the folders from the old stock data folders. You can multi select and delete what you want.
Another option which is more efficient, is to make a full backup of all the internal data in your PC. Then fully format the internal SD card via cwm and transfer which contents you need back from the PC such as photos and music. Asides from photos, music and other media items, most of those internal SD contents aren't needed as Android uses these folders for app data etc.
Always make back ups.
Your welcome.
Sent from the dark side of the moon.
iKlutz said:
You can try an app called es file explorer, it has a feature that fully scans the contents of the internal SD card.
It should show a list of all the folders from the old stock data folders. You can multi select and delete what you want.
Another option which is more efficient, is to make a full backup of all the internal data in your PC. Then fully format the internal SD card via cwm and transfer which contents you need back from the PC such as photos and music. Asides from photos, music and other media items, most of those internal SD contents aren't needed as Android uses these folders for app data etc.
Always make back ups.
Your welcome.
Sent from the dark side of the moon.
Click to expand...
Click to collapse
Yeah, I have got ES File explorer. I couldn't find a "scan" but I've gone through all the folder on my device and I can see the following:
/storage - 3.83gb
/mnt - 2.11gb
/sdcard - 893mb
A lot of this seems to be duplicated though.... The stuff on mnt seems to be a shortcut to whats in sdcard, and all that in storage seems to be in the other two. I don't technically think it's all duplicated, but different ways to get to the same stuff, which makes me very nervous about deleting any of it....
Just got a liitle program to give a break down. See attached.
Surely my system data shouldn't be that big?
I recommend you make a full back up in your PC and format the SD card and transfer the contents of your current SD folder back. I've done it before on different devices, I do it on first root / cm install coming from stock because of all the old obsolete data. Apps like clean master won't removing it because it's marked as important for stock users. It shouldn't be a problem.
Note:
Having different links to the data partition is normal. It's purpose is compatibility.
Sent from the dark side of the moon.
---------- Post added at 12:01 PM ---------- Previous post was at 11:54 AM ----------
It's possible that's reserved for the system. Mine is similar. You can still use it if you convert user apps into system ones.
Sent from the dark side of the moon.
iKlutz said:
I recommend you make a full back up in your PC and format the SD card and transfer the contents of your current SD folder back. I've done it before on different devices, I do it on first root / cm install coming from stock because of all the old obsolete data. Apps like clean master won't removing it because it's marked as important for stock users. It shouldn't be a problem.
Note:
Having different links to the data partition is normal. It's purpose is compatibility.
Sent from the dark side of the moon.
---------- Post added at 12:01 PM ---------- Previous post was at 11:54 AM ----------
It's possible that's reserved for the system. Mine is similar. You can still use it if you convert user apps into system ones.
Sent from the dark side of the moon.
Click to expand...
Click to collapse
Just found this: http://forum.xda-developers.com/showthread.php?t=2083107
It's something to do with backups. I'm gonna read through that thread and see if I can find out what I can/can't delete without bricking the phone.
Massively appreciate your time and repsonses on this iKlutz. Just out of interest, did you do a backup when you installed a rom? Have you found that the backup is this big??
Use ES file explorer or other file manager with root explorer capabilities.
Go to /data/media
You should see:
0
clockworkmod
legacy
obb
In clockworkmod folder I've found a backup (2.0GB) that was made by mistake to internal sotrage, since I allways do backup in CWM Recovery to external SD.
Deleted and 2.0GB were gained.
luisbraz said:
Use ES file explorer or other file manager with root explorer capabilities.
Go to /data/media
You should see:
0
clockworkmod
legacy
obb
In clockworkmod folder I've found a backup (2.0GB) that was made by mistake to internal sotrage, since I allways do backup in CWM Recovery to external SD.
Deleted and 2.0GB were gained.
Click to expand...
Click to collapse
Hmmm. Data/Media is empty.... I might delete the back up from CWM. If the worst happens, I can always flash from the external SD card can't i? Do I "need" that back up of the device when it was stock?
floateruk said:
Hmmm. Data/Media is empty.... I might delete the back up from CWM. If the worst happens, I can always flash from the external SD card can't i? Do I "need" that back up of the device when it was stock?
Click to expand...
Click to collapse
Do not delete.
Copy the folder(s) that you have in the "backup" to the external SD card to the "backup" folder in the "clockworkmod" folder.
Then, you can delete the backup folder located in "data/media/clockworkmod/".
I allways save the backup of the stock ROM's.
To restore in CWM recovery, simply choose "restore from external SD card". And to backup, choose "backup to external SD card", or it will backup to the internal memory.
floateruk said:
Hmmm. Data/Media is empty.... I might delete the back up from CWM. If the worst happens, I can always flash from the external SD card can't i? Do I "need" that back up of the device when it was stock?
Click to expand...
Click to collapse
Did you solve the issue?
luisbraz said:
Did you solve the issue?
Click to expand...
Click to collapse
No.... I don't really know what to do with it.
I've got an s3 mini with Cyanogen and CWM and the system data portion is only 54mb.
I might go into CWM and start deleting things. If I delete the backup I made of my stock phone when I first rooted and added CWM, I can't see too many issues.... I can always flash a stock ROM again can't I?
floateruk said:
No.... I don't really know what to do with it.
I've got an s3 mini with Cyanogen and CWM and the system data portion is only 54mb.
I might go into CWM and start deleting things. If I delete the backup I made of my stock phone when I first rooted and added CWM, I can't see too many issues.... I can always flash a stock ROM again can't I?
Click to expand...
Click to collapse
Yes, using Odin you can flash stock ROM again.
Next time do the backups in CWM to the external SD card!
Merry Christmas everyone!
For Christmas I gave myself a new ROM (4.4.2 KitKat ala CM11 Nightlies.) I've been a weekend tweaker/hacker for some time but the last two or three years, due to 'playing/fixing' sucking too much time, I decided to stay stock (just rooted.) However, too many questions/uncertainties surrounding the 4.3 OTA, I decided to say bye bye Samsung & AT&T with your control freak measures and your bloat. So far, first 24 hours, I am SO happy. My phone is SO much faster on CM11, love the KitKat features, huge improvement in battery life (may be because I selectively restored only a portion of my apps.), etc. I thought it would be hell going with a custom ROM due to battling the bugs but so far it's been smooth sailing (knock on would). And I LOVE that my interface is now consistent with my Nexus 7. I think I'll be a CM user for life unless I go to a Nexus phone in the future.
When I installed CM11, I did a Factory Wipe/Reset of Data and Cache (via CWM.) I could swear I had like 9GB of the internal storage free. Since installing CM11 and latest GAPPS I now have only 4GB on free internal storage. And I only restored about 60% of the apps of previously had (restored via Titanium Backup). Considering CM11 has less bloat, I'm wondering what happened to my free internal storage. Could there be a lot of files leftover that were not erased? Where should I look or what tool should I use. Already tried using Clean Master - no significant improvement.
After further thought... where is the 'Nandroid' backup I made with CWM stored? I don't see it on the external SD card so I'm guessing that's the culprit and I need to move it off the internal SD on preferably onto my PC. Just need to locate it. The begs the question, if I did a Nandroid backup, then a wipe, obviously the wipe doesn't delete the Nandroid backup - so where does CWM hide it?
Happy Holidays!
jazee said:
Merry Christmas everyone!
For Christmas I gave myself a new ROM (4.4.2 KitKat ala CM11 Nightlies.) I've been a weekend tweaker/hacker for some time but the last two or three years, due to 'playing/fixing' sucking too much time, I decided to stay stock (just rooted.) However, too many questions/uncertainties surrounding the 4.3 OTA, I decided to say bye bye Samsung & AT&T with your control freak measures and your bloat. So far, first 24 hours, I am SO happy. My phone is SO much faster on CM11, love the KitKat features, huge improvement in battery life (may be because I selectively restored only a portion of my apps.), etc. I thought it would be hell going with a custom ROM due to battling the bugs but so far it's been smooth sailing (knock on would). And I LOVE that my interface is now consistent with my Nexus 7. I think I'll be a CM user for life unless I go to a Nexus phone in the future.
When I installed CM11, I did a Factory Wipe/Reset of Data and Cache (via CWM.) I could swear I had like 9GB of the internal storage free. Since installing CM11 and latest GAPPS I now have only 4GB on free internal storage. And I only restored about 60% of the apps of previously had (restored via Titanium Backup). Considering CM11 has less bloat, I'm wondering what happened to my free internal storage. Could there be a lot of files leftover that were not erased? Where should I look or what tool should I use. Already tried using Clean Master - no significant improvement.
After further thought... where is the 'Nandroid' backup I made with CWM stored? I don't see it on the external SD card so I'm guessing that's the culprit and I need to move it off the internal SD on preferably onto my PC. Just need to locate it. The begs the question, if I did a Nandroid backup, then a wipe, obviously the wipe doesn't delete the Nandroid backup - so where does CWM hide it?
Happy Holidays!
Click to expand...
Click to collapse
Yea same thing happened with me, usually the cwm backups are located in an emulated storage. Happy Holidays to you too!!!!
UnknownTroll1 said:
Yea same thing happened with me, usually the cwm backups are located in an emulated storage. Happy Holidays to you too!!!!
Click to expand...
Click to collapse
Bingo. As expected. Had to startup ES File Explorer, enable root explorer, do some more digging, and found it in Data/Media/clockworckmod
Moved to SD card then to PC. 3.6GB freed.
I was a little distraught though to see in the data directory, lots of folders for old apps that are no longer on the phone. The CWM Wipe functions don't get rid of this stuff. So essentially is the only option to browse all the folders and make your own decision on what can go? Possibly a lot of work for little return though unless you do a folder list by total filesize?
jazee said:
Bingo. As expected. Had to startup ES File Explorer, enable root explorer, do some more digging, and found it in Data/Media/clockworckmod
Moved to SD card then to PC. 3.6GB freed.
I was a little distraught though to see in the data directory, lots of folders for old apps that are no longer on the phone. The CWM Wipe functions don't get rid of this stuff. So essentially is the only option to browse all the folders and make your own decision on what can go? Possibly a lot of work for little return though unless you do a folder list by total filesize?
Click to expand...
Click to collapse
Yea some of the crap in there, not really sure why its just thrown into random folders.
When on CM 11, /data/media/ is the directory for the original sdcard (what you saw when on Touchwiz) and the 0 is the emulated storage for CM 11. If you backup to the internal, your backups can be in
/data/media/0/ or /data/media/. As said before, all the other folders and files are left over from before putting CM 11 on.
Sent from my SAMSUNG-SGH-I747 using XDA Premium 4 mobile app
drx895 said:
When on CM 11, /data/media/ is the directory for the original sdcard (what you saw when on Touchwiz) and the 0 is the emulated storage for CM 11. If you backup to the internal, your backups can be in
/data/media/0/ or /data/media/. As said before, all the other folders and files are left over from before putting CM 11 on.
Sent from my SAMSUNG-SGH-I747 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Are you saying anything not in the /data/media hierarchy can be deleted?
jazee said:
Are you saying anything not in the /data/media hierarchy can be deleted?
Click to expand...
Click to collapse
Edit: The best answer is no. The other partitions like /system/ are crucial for your system even being able to boot.
Sent from my SAMSUNG-SGH-I747 using XDA Premium 4 mobile app