How Much Storage Do You Have After Flashing CM10.1? - AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin

Just flashed CM10.1, went to storage, still only have 9gb of storage. Did i need to format "/system" too?

No...I've said it countless times in numerous threads
FOR MORE USABLE STORAGE SPACE WE NEED A NEW PARTITION LAYOUT
basically, debloating doesn't increase space. All the crap bloat is put into the system partition...whether or nit you have the bloat the system partition stays the same unless a dev includes a new partition layout in his Rom...which from my understanding requires kernel/ramdisk edits as well as actual scripts included in the zip to repartition the device
-hope that helps your understanding on why you still only have 9gb available
Sent from my HTC PH39100 using Tapatalk 2

Related

memory partition for apps

searched around and can't really find right answers.
I currently have HD2 with 512mb running android. Due to the lack of internal storage space, all apps are stored in the EXT4 on the SD card. This is a very neat function actually. Every time I flash a rom, all the apps will still be there.
I am about to get the DHD soon and since it's got plenty internal storage I guess it's natural to install app on internal rather than on SD (i know some rom do have support for EXT on SD). My question is, is there a way to partition the internal storage so part of it act as EXT, this way every time flashing a rom I don't have to restore all the apps??
If there is another way to achieve this, please let me know as well.
thanks,
No need to do anything like that. Before you flash a new ROM just wipe all the partitions apart from the data partition. Once you have flashed the ROM your apps will still be there.
You can use an add on script for apps to SD as well if you prefer.
Sent from my Desire HD using Tapatalk
Blinkydamo said:
No need to do anything like that. Before you flash a new ROM just wipe all the partitions apart from the data partition. Once you have flashed the ROM your apps will still be there.
You can use an add on script for apps to SD as well if you prefer.
Sent from my Desire HD using Tapatalk
Click to expand...
Click to collapse
Good to know that there will be no problem re-installing apps. Since I can't get hands dirty with an actual unit yet, could you please explain a little on the "wiping all the partitions apart from data partition". So by default, apps will be installed in a separate partition? what do you use to WIPE paritions? Clockwork or wipe-all?
Go into clockwork recovery you can select which partitions to wipe. Go into the mounts part and you can wipe them individually, wipe each one in turn apart from the data partition.
If however you experience problems yo. May have to wipe the data partition. Just do a backup first.
Sent from my Desire HD using Tapatalk

In Terms of Bloat...regarding OS

Anybody know how the three OS versions compare (eclair, froyo, gingerbread) as far as system file size and how much of the internal storage they take? I would hope Gingerbread is the least bloated most optimized, but is the truth different?
I would imagine it increases with each revision as they add more features, although that doesn't mean it's more bloated. Freeing up space on the system partition doesn't really matter anyway. If you don't use it then it's just wasted.
Why would it not matter, isnt the 'system partition' and the internal storage synonymous?
unsivil_audio said:
Why would it not matter, isnt the 'system partition' and the internal storage synonymous?
Click to expand...
Click to collapse
The internal storage on the phone is divided into several partitions. Each partition is a fixed size.
In specific, the system partition (where the ROM is stored) is 240MB and the data partition (where installed apps are stored) is 185MB. Freeing up space in the system partition won't give you any extra space on the data partition.
However the CM ROMs place the Dalvik cache on the data partition, so naturally you will have less space available for apps. I don't think the Sense "Liberated" ROMs do that but I'm not positive.
If you want more app space though, just use one of the various apps2sd methods.
Yeah I tried dark tremors a2sd before, but even though it freed up an insane amount of space it wasn't worth the performance loss. I may try it again in the future though.
Sent from my Liberty using XDA Premium App

[Q] MTD Memory Handling Question

My epic 4g is running ei22 Legendary v.1 with the samurai 3.3 assassin kernel. I am a bit of an app whore and have loading it up with nearly 260 apps. I have accomplished this with the use of a 2.5gb ext4 partiton on my class10 16gb sd card, the darktremor script and the a2sdgui app. With this setup I am have all the storage I need and then some.
My question is; is it possible to repartition in order for more ram as opposed to storage?
I have excluded a fair amount of apps from starting up at boot, and I aggressively manage my memory with a memory manager, but I still feel I need more ram.
dewayne25 said:
My epic 4g is running ei22 Legendary v.1 with the samurai 3.3 assassin kernel. I am a bit of an app whore and have loading it up with nearly 260 apps. I have accomplished this with the use of a 2.5gb ext4 partiton on my class10 16gb sd card, the darktremor script and the a2sdgui app. With this setup I am have all the storage I need and then some.
My question is; is it possible to repartition in order for more ram as opposed to storage?
I have excluded a fair amount of apps from starting up at boot, and I aggressively manage my memory with a memory manager, but I still feel I need more ram.
Click to expand...
Click to collapse
I believe ram is a completely different chip in the phone, opposed to the storage space, because it functions a lot differently. But I may be wrong.
Sent from my SPH-D700 using XDA App
iatedeadpeople said:
I believe ram is a completely different chip in the phone, opposed to the storage space, because it functions a lot differently. But I may be wrong.
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
Wait, WHAT?! The ram isn't in our SD cards?! You don't say! Although I was starting to suspect something when I noticed that if I remove the SD card (or mount it as USB storage), the phone keeps functioning, and I know that can't happen with any computer when the ram is removed...
The OP only mentioned partitioning of the SD card, not internal storage. Also, ram isn't partitioned... he is most likely referring to creating a swap partition on his sd card, which the system would then use as additional storage space for temporary data that would normally be held in ram. However, the CPU still needs the data in ram in order to interact with it, so if the required data is actually in the swap partition, then the system would need to free up some room in ram for the required data (often, by swapping places with data in ram that isn't currently needed, hence the name...
@OP - I'm fairly certain the Epic doesn't currently support swap files/partitions, but I recall seeing mention of other android phones with that ability. But it shouldn't be necessary, our phones have enough ram - if you are running out of memory (errors, not simply seeing a low amount of available ram) then you either have something wrong with your phone, or you need to stop trying to keep all of your favorite 3d games loaded at the same time, lol
Sent from my SPH-D700 using XDA App
Our phone does have the ability to support swap. Some Bonsai releases support swap. First you'd have to make sure the /sdcard was partitioned for swap to have a place to reside. Then, it'd have to be enabled in the kernel and there are tweaks to "swapiness" that sets aggressiveness of swap use - basically swap enable will try to take dormant items in RAM and move them to SWAP to free up RAM. You can run 'free' command from the terminal to see how much swap is available and in use.
All that said - I don't think the OP is referring to SWAP or RAM - as those would only help free up running memory. OP seems to be interested in more room on his OneNAND data partition and SDCard for Apps to be installed.
RE OP: CM7 MTD downsized the /cache partition in OneNAND and gave a sizeable boost to /data space for more apps (see images posted by AproSamurai showing free space). If you run the command 'df -h' from the terminal you'll see the size (total, used, available) of /system, /data, and /cache. On CM7 I have the following sizes, respectively, 268.5M, 676.5M, and 25M. Side note: The 25M cache isn't large enough for all Market apps to download though so noobnl fixed by mounting /cache/download on /data partition (MTDBlock3) to allow for larger apps to cache in download directory before install.
If you're sticking with a GB TW ROM though - I don't understand your setup. Why not just use the built in GB capability to move Apps to SD Card in Settings -> Applications (select app and "move to SD card" for those compatible/capable)? I don't get why you need to create a separate EXT4 partition and use 3rd party tools. Can you elaborate on why they wouldn't work?
Rereading your OP - NO - you can't get more RAM to fit in the phone. It's got what it's got and you can't get more from it. Enabling SWAP may help, terminating resident apps in the background MAY help, but at the end of the day you can't increase the RAM available. You'll need to better manage what you have.
Please don't confuse RAM with storage memory - that got me turned around in your OP.
Sorry for confusing you, if I did. I wasn't interested in partitioning my sd card for more ram on the sd card. My interest is in using the cache space for ram. I don't understand how a phone can be stated as having 512mb's of ram and 1gb of rom and not be. Yet all the epic can muster is 362mb of ram, most of our performance issues are due to that... If there was a way to unlock any more ram in samsung's specs claim I wanted to know.
If you're sticking with a GB TW ROM though - I don't understand your setup. Why not just use the built in GB capability to move Apps to SD Card in Settings -> Applications (select app and "move to SD card" for those compatible/capable)? I don't get why you need to create a separate EXT4 partition and use 3rd party tools. Can you elaborate on why they wouldn't work?
I would have loved to use the .android folder to save my apps but my dalvik cache would fill the internal space and limit me to about 180 apps. With the Darktremor script and a2sdgui I am able to put my Dalvik on the ext4 partition of my SD card.
I would have loved to use the .android folder to save my apps but my dalvik cache would fill the internal space and limit me to about 180 apps. With the Darktremor script and a2sdgui I am able to put my Dalvik on the ext4 partition of my SD card.

[Q] What's a good utility to determine storage capacities.

For example, I've got A2SD installed and I want to know how much I've got available in my sd-ext partition, but none of the stock storage utilities tells me how much storage I have in my partitions. Only internal and sd card.
I'm currently running NexusHD2-ICS-4.0.4-CM9-HWA V2.0 (Kernel: tytung_HWA_r2) with 40ad2sdx.
When I'm looking at my apps via ROM Tooldbox Pro, It shows I have less then a MB left in System, but my internal storage is well over 700mb.
I had to do some digging around in File Expert to find out where my downlaoded apps where going. They wound up in /data/apps on phone internal storage, which means the script didn't install right, or it's spoofing internal storage so good, it's fooling file expert.
Mooncalled said:
For example, I've got A2SD installed and I want to know how much I've got available in my sd-ext partition, but none of the stock storage utilities tells me how much storage I have in my partitions. Only internal and sd card.
I'm currently running NexusHD2-ICS-4.0.4-CM9-HWA V2.0 (Kernel: tytung_HWA_r2) with 40ad2sdx.
When I'm looking at my apps via ROM Tooldbox Pro, It shows I have less then a MB left in System, but my internal storage is well over 700mb.
I had to do some digging around in File Expert to find out where my downlaoded apps where going. They wound up in /data/apps on phone internal storage, which means the script didn't install right, or it's spoofing internal storage so good, it's fooling file expert.
Click to expand...
Click to collapse
Less than a mb left in system is normal I think. The system partition is filled up by the ROM apps (hence when you flash a ROM you flash a system partition)
Try titanium backup. Internal memory is displayed as a2sd. The actual a2sd partition is displayed as internal.
Sent from my HTC HD2 using xda app-developers app
FreeSpace

[Q] Resizing /system and /cache to gain space?

Hello everyone and thank you for having me on your wonderful forum. I have learned so much in such a short time by reading everything I could whether I was intending to use it or not.
I got my 16gb Nexus on Monday and immediately prepped it for ROMs, settling on CM10.1 RC2, Prior to that I had an Optimus V running CM7. On my Optimus, after flashing CM7 for the long haul I was able to move all excess /system space back into /data using terminal emulator and the fdisk command, but I followed a guide of some sort that is long lost now.
Everything is fantastic so far except one thing, there seems to be quite a lot of space reserved in the /system and /cache partitions, and I am not sure if I am able to re-partition this space back to /data or how exactly to do this.
right now /system is reading at 395.8 / 827.8 MB used, and /cache is at 68.4 / 551.7 MB. I would like to repartition 200 MB away from /system and 300-400 MB away from /cache, and put it back into /data. This will leave me some space to integrate or convert a few apps to system apps, and enough cache space to be safe (why does it need 550 MB to begin with?) and give back another half gig of storage that I paid so much to have.
I have three issues with this, one being that I can find almost no information on this topic directly mentioning the NExus 4, and any relatable information from other devices talking about device specific toolkits to do the job.
The only thread I found on XDA about this is below, and it only gave me a vague "this is not possible"
http://forum.xda-developers.com/showthread.php?t=2248400
The second issue is I do not recall the command switches/flags that go with the fdisk command, only that I had to use some things to set file permissions or remount the partition or some such (I know, i'm a noob, forgive me).
Lastly, I am rather confused by the multiple partitions of /data and /storage/emulated all showing a partition size of 13231.8 MB. Obviously they are all the same physical space, but I am afraid to mess with the partitions and break what I assume are a ton of symlinks that trick apps into believing there is an external SD card in play. Can any of you shed some light on this for me?
I3ig Al said:
Hello everyone and thank you for having me on your wonderful forum. I have learned so much in such a short time by reading everything I could whether I was intending to use it or not.
I got my 16gb Nexus on Monday and immediately prepped it for ROMs, settling on CM10.1 RC2, Prior to that I had an Optimus V running CM7. On my Optimus, after flashing CM7 for the long haul I was able to move all excess /system space back into /data using terminal emulator and the fdisk command, but I followed a guide of some sort that is long lost now.
Everything is fantastic so far except one thing, there seems to be quite a lot of space reserved in the /system and /cache partitions, and I am not sure if I am able to re-partition this space back to /data or how exactly to do this.
right now /system is reading at 395.8 / 827.8 MB used, and /cache is at 68.4 / 551.7 MB. I would like to repartition 200 MB away from /system and 300-400 MB away from /cache, and put it back into /data. This will leave me some space to integrate or convert a few apps to system apps, and enough cache space to be safe (why does it need 550 MB to begin with?) and give back another half gig of storage that I paid so much to have.
I have three issues with this, one being that I can find almost no information on this topic directly mentioning the NExus 4, and any relatable information from other devices talking about device specific toolkits to do the job.
The only thread I found on XDA about this is below, and it only gave me a vague "this is not possible"
http://forum.xda-developers.com/showthread.php?t=2248400
The second issue is I do not recall the command switches/flags that go with the fdisk command, only that I had to use some things to set file permissions or remount the partition or some such (I know, i'm a noob, forgive me).
Lastly, I am rather confused by the multiple partitions of /data and /storage/emulated all showing a partition size of 13231.8 MB. Obviously they are all the same physical space, but I am afraid to mess with the partitions and break what I assume are a ton of symlinks that trick apps into believing there is an external SD card in play. Can any of you shed some light on this for me?
Click to expand...
Click to collapse
nexus4 doesn´t have a fix size for partitions, you can use the whole memory for everything... no need to re-partition anything
75markus said:
nexus4 doesn´t have a fix size for partitions, you can use the whole memory for everything... no need to re-partition anything
Click to expand...
Click to collapse
I'm not sure if you are misunderstanding or not reading my whole post, or if I am not understanding you or the situation I am posting about, so please don't take offense to this reply.
It appears to me that the /system partition is reserving 827 MB space for the ROM, and CM10.1 is only using 400 MB of it
It also appears that 552 MB is reserved for the /cache partition, and only 70 MB is being currently used.
This is ~900 MB of storage space that is reserved and unused. I would like to know if it is possible to reallocate ~500-600 MB of this back into the /data partition for user space.
Please explain to me how this space is part of the whole memory that can be used for anything.
After posting I have thought some more about it and decided to NOT mess with the partition sizes, mainly because I do not know what effect it would have if I were to flash another ROM in the future, which is almost a given when Key Lime Pie is released. However I would still like to understand what I have asked about in case I do want to do this in the future, and also just for the sake of expanding my knowledge.
I like this. The only "issue" is that if more space were ever to be reallocated to /system or /cache, it'd require wiping /data obviously. Small price to pay. 500MB isn't too small a chunk for 8GB users.
75markus said:
nexus4 doesn´t have a fix size for partitions, you can use the whole memory for everything... no need to re-partition anything
Click to expand...
Click to collapse
Actually it does. System data cache and boot, plus like 30 other ones, same as any other phone with no micro SD card
Sent from my Nexus 7 @1.60 GHz on Stock 4.2.2
I3ig Al said:
I'm not sure if you are misunderstanding or not reading my whole post, or if I am not understanding you or the situation I am posting about, so please don't take offense to this reply.
It appears to me that the /system partition is reserving 827 MB space for the ROM, and CM10.1 is only using 400 MB of it
It also appears that 552 MB is reserved for the /cache partition, and only 70 MB is being currently used.
This is ~900 MB of storage space that is reserved and unused. I would like to know if it is possible to reallocate ~500-600 MB of this back into the /data partition for user space.
Please explain to me how this space is part of the whole memory that can be used for anything.
After posting I have thought some more about it and decided to NOT mess with the partition sizes, mainly because I do not know what effect it would have if I were to flash another ROM in the future, which is almost a given when Key Lime Pie is released. However I would still like to understand what I have asked about in case I do want to do this in the future, and also just for the sake of expanding my knowledge.
Click to expand...
Click to collapse
i think N4 uses FUSE (Filesystem in Userspace) file system
noobdeagle said:
isnt this what they were saying was the reason for no SD card and use of MTP ?; basically if i recall correctly the nexus devices do not truly assign partitions instead there is a storage 'pool' that anything can use dynamically.
so i guess there is no partitions its just all 1 volume.
source: http://www.androidcentral.com/why-nexus-devices-have-no-sd-card
Click to expand...
Click to collapse
That is for the sdcard.
The other partitions such as /system still have fixed amounts of space allocated
Sent from my Nexus 4 using xda app-developers app

Categories

Resources