I'm seeing a lot of interest and a lot of confusion here about sd-ext partitions. I hope sharing the little I know will help others.
- By default downloaded apps are installed on the /data partition of your device's internal memory. This is also where the Dalvik cache and the download cache are. Since our Shift's are emmc devices this partition size cannot be changed.
- System apps reside on the /system partition but store their user data (like bookmarks, settings, caches, etc.) on the /data partition. The /system partition size is set and unchangable also.
- The Android OS since 2.2 features native support for apps2sd. This method leaves some of the app still on the /data partition and moves some to a directory it makes on your SD card called .android_secure. Not all apps support this and it is not recommended for alarms, widgets, live wallpapers or launchers due to the way the partitions are mounted during startup. It can increase your app storage capacity but it has it's limits as some of the app data will still reside in /data which is a set size.
- An sd-ext partition is a partition on your SD card that can be used as internal memory. Even though it is on the SD card it cannot be utilized like the SD card. You cannot download files to it and if you check your SD size it will show your card size minus the sd-ext size.
- Unless the ROM supports it or you enable it through a script or mod just having an sd-ext partition on your SD card will do nothing. The OS will not utilize it unless instructed to.
- Scripts like Dark Tremor's or S2E trick Android into thinking that the sd-ext partition is actually part of the /data partition effectively increasing your internal memory. Some scripts will just move the apks onto the sd-ext partition and leave their data on the /data partition and some will keep both the app and it's data on the sd-ext. The script may also allow for moving of the Dalvik cache to sd-ext also.
- Native apps2sd can be used together with the ext partition method. With the sd-ext partition, since the OS thinks that it is part of the internal memory, apps will still give you the option of moving to the SD card. If done it will keep some of the app in sd-ext and move the rest to .android_secure.
And this is my understanding of how apps are stored on Android. If anyone has some insight to share or can correct any incorrect or missing information please do so.
Thanks owed to Joeykrim who once took the time to explain all this to me on IRC. He shares no responsibility for any information I may have misunderstood or was too dumb to grasp
- By default downloaded apps are installed on the /data partition of your device's internal memory. This is also where the Dalvik cache and the download cache are. Since our Shift's are emmc devices this partition size cannot be changed.
- System apps reside on the /system partition but store their user data (like bookmarks, settings, caches, etc.) on the /data partition. The /system partition size is set and unchangable also.
- The Android OS since 2.2 features native support for apps2sd. This method leaves some of the app still on the /data partition and moves some to a directory it makes on your SD card called .android_secure. Not all apps support this and it is not recommended for alarms, widgets, live wallpapers or launchers due to the way the partitions are mounted during startup. It can increase your app storage capacity but it has it's limits as some of the app data will still reside in /data which is a set size.
- An sd-ext partition is a partition on your SD card that can be used as internal memory. Even though it is on the SD card it cannot be utilized like the SD card. You cannot download files to it and if you check your SD size it will show your card size minus the sd-ext size.
- Unless the ROM supports it or you enable it through a script or mod just having an sd-ext partition on your SD card will do nothing. The OS will not utilize it unless instructed to.
- Scripts like Dark Tremor's or S2E trick Android into thinking that the sd-ext partition is actually part of the /data partition effectively increasing your internal memory. Some scripts will just move the apks onto the sd-ext partition and leave their data on the /data partition and some will keep both the app and it's data on the sd-ext. The script may also allow for moving of the Dalvik cache to sd-ext also.
- Native apps2sd can be used together with the ext partition method. With the sd-ext partition, since the OS thinks that it is part of the internal memory, apps will still give you the option of moving to the SD card. If done it will keep some of the app in sd-ext and move the rest to .android_secure.
And this is my understanding of how apps are stored on Android. If anyone has some insight to share or can correct any incorrect or missing information please do so.
Thanks owed to Joeykrim who once took the time to explain all this to me on IRC. He shares no responsibility for any information I may have misunderstood or was too dumb to grasp