I'm really surprised that there is no documentation on this thing that I can understand. I'm having major issues with CM7 with DT A2SD. Every one of my widgets is broken. I can't tell what's installed to EXT and what's not. If I go into Manage Applications, all of the widget apps are installed to phone. I have next to zero internal space left.
I need to know how I can differentiate what's on internal, what's on Froyo SD, and what's on DT A2SD - As well as how to move them and tell where each app is going.
i honestly wish i knew. this is on my list to do, but i didnt feel like formatting my memory card cause there's so much on it, so i am just hoping gingerbread improved method will give me enough space.
i wish there was a tutorial or wiki for DT A2SD. you prob should just read that whole thread and it is explained there somewhere.
Some quick commands executed from adb shell or even the terminal on the phone can give you some more information:
a2sd check will give you basic diagnostic information from the DT a2sd script - this will reveal what is running where (apps on /sd-ext, data location, etc).
ls -al /data will help you understand what a2sd actually does for you. If a2sd is set up correctly, you should see an entry similar to "app --> /sd-ext/app", which indicates your /data/app directory is symbolically-linked to your /sd-ext partition (the ext-formatted partition on your SD card). This makes Android see /sd-ext/app and /data/app as the exact same thing, and everything within that folder will actually reside on the /sd-ext partition. The same thing applies to the dalvik-cache.
You can find out more about using a2sd via the a2sd help command, which shows an easy-to-understand listing of the various a2sd commands available.
All the documentation is in DarkTremor's thread.
There is no choosing in A2SD. If it's installed - all apps that are shown as "internal" go to EXT partition. But the phone doesn't know it, and you won't see it in OS visually in any place.
You can choose if you're sending your app data and your Dalvik-cache to SD also, that you can do from the Terminal (command line).
I should probably mention that all apps that are installed to SD using stock Froyo method, remain there - and cause a waste of space. So using A2SD you should move ALL your apps to "internal memory" (substituted with EXT partition).
This is a handy link for Darktremor users...
http://www.facebook.com/note.php?note_id=158826790833326
Sent from my Nexus One using XDA App
Hmm.. maybe I should had included some more info.
If I use Root Explorer and check my sd-ext folder, it does have apps within, and from install date I can tell they're from my CM7 install (plus I wiped everything including SD-EXT before flashing anyway). The problem is that some of these apps are things I do NOT want on SD-FAT or SD-EXT, I need them on internal (basically anything that I use with widgets, and LauncherPro). Pretty sure having widgets on EXT is what's causing my home screens to **** the bed.
Checked Install Location, right now that's set to Automatic.
If I go to Manage Applications, these apps appear to be on internal (Move to SD card is available on the button). I've read the FB page and original thread, I still see no way to differentiate between Internal, SD-FAT and SD-EXT - or how to move them between with certainty.
/sd-ext is the same as internal for all intents and purposes. You don't choose what apps to run off of /sd-ext, they all do. This is not causing your widget issues.
If you use DT a2sd, "Internal" becomes synonymous with "sd-ext". They are one and the same.
You SHOULD, however, move all of your apps off of SD-FAT - that is the implementation of "apps to sd" that breaks widgets.
Ok, I moved all of my apps off of SD-FAT and back to internal.. seems to be going well so far. The only thing I'm curious about now is that I didn't really get any space back, I still only have 21MB free (cleared browser and market cache as well). I've obviously messed something up somewhere along the line. Any ideas? I'm such a n00b at this apparently.
I really appreciate the help thus far guys!
You shouldn't have. Your space doesn't change as a result of moving apps to SD and back anymore - because they're all either on EXT, or partially on EXT and partially on FAT32.
If you don't have enough space left on internal memory - which can happen, if you have a lot of apps and they use a lot of data - you can move app data to SD and also Dalvik-cache to SD. This is done using command line commands.
One of those is usually enough.
I prefer the Dalvik-cache on SD - it might be a bit slower (never noticed that), but at least system settings (that are stored in /data/data) remain on the phone's internal memory and aren't prone to corruption.
Jack_R1 said:
You shouldn't have. Your space doesn't change as a result of moving apps to SD and back anymore - because they're all either on EXT, or partially on EXT and partially on FAT32.
If you don't have enough space left on internal memory - which can happen, if you have a lot of apps and they use a lot of data - you can move app data to SD and also Dalvik-cache to SD. This is done using command line commands.
One of those is usually enough.
I prefer the Dalvik-cache on SD - it might be a bit slower (never noticed that), but at least system settings (that are stored in /data/data) remain on the phone's internal memory and aren't prone to corruption.
Click to expand...
Click to collapse
On that note, moving the dalvik-cache is generally a better idea than moving /data/data. Better stability and compatibility and whatnot. Only bother with moving /data/data if you really really need the space.
You can move the dalvik-cache to sd with the a2sd cachesd command in either the terminal or adb shell.
OH MAN THANK YOU! Moved dalvik to SD-EXT and that did it! 120MB free! Time for a downloading spree!
level5music said:
OH MAN THANK YOU! Moved dalvik to SD-EXT and that did it! 120MB free! Time for a downloading spree!
Click to expand...
Click to collapse
Glad to help
Related
i just installed jesus freak 1.5. i also purchased a 16gb micro sdhc card. I would like to know how to get apps to sd running correctly. I have followed another method and messed up the sd card. so i purchased a brand new one and before i even take it out of the package, i would like to talk to someone that has had sucesssful experience.
Thanx in Advance
A2SD in a Nutshell
the essence of apps2sd is:
1) creating a vfat/fat32 partition for storing user data
2) creating a second partition, ext2 to hold your apps and caches
3) creating directories within the ext2 partition on the SD to house your caches and apps
4) copying your apps and caches to the SD within the appropriate directories on the ext2 partition
5) rebooting within recovery console and deleting the original app and cache directories, AND
6) symbolically linking the ext2 apps/cache folders on the SD to the appropriate system partition folder names
7) rebooting to android and testing apps to determine which need to be reinstalled or reconfigured
your ext2 partition need not be very large relative to the volume of the SD; half a gig is normally adequate
pre-requisites:
you will need regular access to an OS that supports the ext2 filesystem, like linux. this is important because if your ext2 partition ever becomes damaged, the linux system has the tools to fix the ext2 filesystem errors.
you will need to know the commands for creating partitions on your SD
you should know how to use ADB to connect to your G1's shell, though this is optional
you need to know how to (re)boot to the recovery console and use its shell
you need to be familiar with the commands required to copy directories, create and delete directories, and create symbolic links
There are other Threads that have other programs and tutorials, but I used this one the other day on a JF 1.5 and it worked well.
http://forum.xda-developers.com/showthread.php?t=512743
Only issue I had was I had to move JF Updater back to Phone from SD , but that could have been a glitch when the phone checked for an update. The two apps used AppstoSD2 and a2sd pretty much do everything for you , very minimal command line required on your part.
Only thing to make it better would be an interface to either move the apps back to phone or integrate it so it would ask you when you install an app where to put it. But I am very happy with it. 16GB might be over kill , I have a 8 GB but they say not to go over 1.5 GB with the Ext2 partition, so while you will have 6.5 ( relative ) GB of space for Movies,Images, MP3's, Uninstalled apps, you are really limited to the 1.5GB for apps , well plus internal phone memory I guess. But for phone apps that's probably way more than enough.
question: how do you partition a 16gb sdcard? all the numbers and all that. ive done an 8 gb sd card and that was easy cause i was working with mb's. now with gb im lost. i got to parted and i typed up print and got 16.1gb if you could help me with the numbers for fat32,ext2/3,linux-swap. i would greatly appreciate it...
Personally, I would reccoment switching to a Cyanogen ROM. It's based off the same source as JF, but one of the features it has is automatic Apps2SD. This means you but have to push files here and there, whuch believe me can be a pain. It does still require an ext partition which you would have to format your self, but after that it will work without and modifications.
Do no more then 512 MB for your ext2(3,4) partition
Follow this guide for the card partitioning. Flash CM's rom and it will do apps2sd for you automatically.
Your other card is most likely not all lost and could be salvaged still, I would look into it if I was you, 16gb cards are not cheap.
And for the last time: it is Jeusus FREKE not Jesus Freak, Have some respect for the one who layed the foundation for us, at least enough to spell his name correctly.
AdrianK said:
Personally, I would reccoment switching to a Cyanogen ROM. It's based off the same source as JF, but one of the features it has is automatic Apps2SD. This means you but have to push files here and there, whuch believe me can be a pain. It does still require an ext partition which you would have to format your self, but after that it will work without and modifications.
Click to expand...
Click to collapse
I second that, and also jf won't be doing ROM any more :[
http://jf.andblogs.net/
Hi guys
I switched from my x10 to a nexus one last week, really wanted to try out Froyo, multitouch, and all the goodies that come with that.
I flashed a desire sense rom onto my nexus a couple of days ago. I didn't bother to check what the internal memory was on first boot, and perhaps I should have, but hopefully you can help anyway.
I used titanium backup to restore all of my apps. However, I got to a certain point, and my internal memory was full. So I had to cancel the process, and then start a new batch process in titanium backup to move all the apps to the sd card. This seemed fine, I started again to restore all the previously unrestored apps. Then, sooner than before, the same thing happened again. So I cancelled the process and moved all apps to the sd card. This went on, to the point where I'm at now, that I have so little internal memory I can't install any more apps! Even though I have supposedly shifted all my apps to the sd card. I have no idea what has happened this memory, where has it gone? How do I reclaim it? What is it that is taking it up, if all my apps are on my sd card instead? :-S
Thanks for the help as always guys, any tips are much appreciated.
Download DiskUsage from the market (you may have to uninstall something first).
Sent from my Nexus One using XDA App
When you restore from titanium after flashing a rom just restore missing apps and data NOT all system data, just fyi
or just do basic apps you need
if you are going to run sense roms you should use amon_ra 2.0.0 to set up an ext3 partition. Some roms move the a2sd auto after you reboot right after flashing rom and some use Dark Tremor that they include in rom. Just need to be sure.
ken
Thanks for the tip about titanium, I'll remember that for the next time.
I ran DiskUsage, seems I have 96.3MB of system data... Is all of this essential, or is there any way for me to clear some of it? How did it all get there in the first place?
Thanks guys.
that seems awful high for system mem free. sure it isn't internal free memory your seeing
not familiar with diskusage, if it shows all, good
i like quick system shows all mem info. maybe just duplicates diskusage, don't know
interested to know internal free memory
According to disk usage, out of a total of 196.2MB internal memory,
79.8MB is used by apps (presumably those which must be stored locally)
96.3MB system data
and 20.2MB free space.
Does this help?
rugmankc said:
that seems awful high for system mem free. sure it isn't internal free memory your seeing
not familiar with diskusage, if it shows all, good
i like quick system shows all mem info. maybe just duplicates diskusage, don't know
interested to know internal free memory
Click to expand...
Click to collapse
ask the right questions, that is not a large amount of system memory if he is using the new sense 2.0 roms
, are you using the new desireHD rom / mytouch 4g, with sense 2.0, these roms are large, leaving very little space on the device, if it is one of these you will have setup an ext partition on your sdcard,
if you have flashed the desireHD rom plug your phone into pc
from cmd type
adb shell stop
adb shell
a2sd repair
hit ctrl+c to back out
adb shell start
this should move all apps from the /data/app partition into your sd-ext partition, which has much more free space
those don't sound right, doesn't it say "internal free memory" and 20.63mb free which is the internal is very low
I go back into TB and scroll down and delete apps from previous rom and then refresh. If you did select "restore all apps and system data" may be why internal is low. Don't think you cancahnge that till next rom flash. If it is working you can nandroid for now and think about Dark Tremor.
I used "eViL-NXSense-v.1.25", this was the ROM that I flashed.
How much free memory would you expect with this? And also, how come the memory went down as I installed apps, even though I moved them to the external memory?
petecdun said:
I used "eViL-NXSense-v.1.25", this was the ROM that I flashed.
How much free memory would you expect with this? And also, how come the memory went down as I installed apps, even though I moved them to the external memory?
Click to expand...
Click to collapse
right, an AOSP rom will leave you with about 70-90 MB, not exactly sure with a sense rom but i doubt there would me much left to play with as the nexus was built without sense
the reason your space still goes down is because when you install the app, it is dexopted and the code is optimized, this optimized code is specific for your phone and is stored on your data partition, so even though your moving the actual app to your sdcard, the optimized code (Dalvik cache) is still stored on your phone, as the same for any app data.
my advice, and what i always use is Apps2Ext this is using a seperate partition on your memory card dedicated to installing apps, if you have one setup already great, if not
backup everything on your SDcard and partition it with your recovery software, when asked, choose 512MB ext, 0 swap, and the rest (FAT), copy all your stuff back to your SDcard, as well as this
http://forum.xda-developers.com/showthread.php?t=715940
flash that through the recovery, it will move all your apps from the data/app folder to the new partition you made on your sdcard and link data/app to that folder so any new apps you install will automatically be installed there
I have MicroMod2.10 sense which is auto a2sd, you need an ext3 partition to get more free.
I have 93mb free internal. Normal can be 75 to 120
Your system free mem sounds high
FYI: If you partition with amon or rommgr/cwmod it wipes sd card.
I just messed up my sdcard and had to reformat it, not ext partition, left it alone, thru Mini Partition Tool Wizard and sd card reader. The reader is the only thing that confirms I have ext 3. DT always shows ext2 and rommgr seems to do only ext2. Amon can do ext3, 512mb, 0 Swap
You need to get in habit of backing sdcard regularly, not necessarily all everytime, if a particular folder like videos or pics hasn't changed. They are high mem only.
Beat You bagofcrap24
I usually am on the losing end
Ken
CM7 can make you install apps on the sd card, how does it differ from app2sd or app2ext? i have been trying to decide if i should partition my new sd card or its not necessary. There must be an advantage to have app2ext right?
Thank you.
CM7 basically allows you to move all applications using Froyo's app2sd mode. Even ones that have disabled it (like live wallpapers and widgets as those won't work when installed that way).
app2sdext works differently as it will install apps directly to an ext partition on your sdcard (that you manually have to set up). This functionality is NOT build into CyanogenMod, but is easily added with a number of different apps/scripts. This will give you a lot more free space on your phone, and all apps can be installed there regardless of whether they have widgets or have services running. Most app2sdext options will also give you the option of moving the dalvik cache to the sdcard which will save you a substantial amount of space on your internal memory.
Basically, if you want a lot of memory intensive apps, your only decent option with a Nexus One is an app2sdext solution. (I have it with a 1GB partition, and I will soon either need to resize it or delete apps... adding app2sdext was the second best thing I ever did to my phone behind installing CyanogenMod on it.)
bassmadrigal said:
CM7 basically allows you to move all applications using Froyo's app2sd mode. Even ones that have disabled it (like live wallpapers and widgets as those won't work when installed that way).
app2sdext works differently as it will install apps directly to an ext partition on your sdcard (that you manually have to set up). This functionality is NOT build into CyanogenMod, but is easily added with a number of different apps/scripts. This will give you a lot more free space on your phone, and all apps can be installed there regardless of whether they have widgets or have services running. Most app2sdext options will also give you the option of moving the dalvik cache to the sdcard which will save you a substantial amount of space on your internal memory.
Basically, if you want a lot of memory intensive apps, your only decent option with a Nexus One is an app2sdext solution. (I have it with a 1GB partition, and I will soon either need to resize it or delete apps... adding app2sdext was the second best thing I ever did to my phone behind installing CyanogenMod on it.)
Click to expand...
Click to collapse
why didnt i think of that? thank you for your reply... now i should decide whether to do it now or wait till i have reached maybe about a hundred apps. by the way does it have any effect on the speed of the phone if you do that?
I am on cm7 and decided to put cache apps on sd card using ta utility is there any other new apps like that? ta
Can you do this with rooted stock?
lolobabes said:
why didnt i think of that? thank you for your reply... now i should decide whether to do it now or wait till i have reached maybe about a hundred apps. by the way does it have any effect on the speed of the phone if you do that?
I am on cm7 and decided to put cache apps on sd card using ta utility is there any other new apps like that? ta
Click to expand...
Click to collapse
I have a class 4 32GB card, and I didn't notice any appreciable difference in speed. I have moved my apps and dalvik cache to the sdcard using DarkTremor's a2sd. I currently have 260 apps installed on my phone, and that is pushing the internal phone space and the 1GB partition I set up for ext. I am about to bug danger-rat for his instructions on how he resized his internal partitions to give the data residing on the phone more space (I will basically shrink the cache partition and I am looking at resizing my ext partition to 1.5GB or 2GB.
I couldn't live without this anymore. I don't know how I went so long without it. It is so nice to just browse the online market and click install on countless apps without worrying about your space.
If you want to try and move the app data (resides in /data/data) to the sdcard, I have heard that it is recommended to have a class 10 card to keep up with speed requirements. I am not sure how many apps support that.
brettbellaire said:
Can you do this with rooted stock?
Click to expand...
Click to collapse
I believe you can. You would have to have a custom recovery. The main thing I am not sure is if it will mount the ext partition. If you have a custom recovery, do a nandroid backup (just in case it doesn't work), flash the zip for DarkTremor, and reboot the phone (the first boot will take longer).
brettbellaire said:
Can you do this with rooted stock?
Click to expand...
Click to collapse
yes you can.
bassmadrigal said:
I have a class 4 32GB card, and I didn't notice any appreciable difference in speed. I have moved my apps and dalvik cache to the sdcard using DarkTremor's a2sd. I currently have 260 apps installed on my phone, and that is pushing the internal phone space and the 1GB partition I set up for ext. I am about to bug danger-rat for his instructions on how he resized his internal partitions to give the data residing on the phone more space (I will basically shrink the cache partition and I am looking at resizing my ext partition to 1.5GB or 2GB.
I couldn't live without this anymore. I don't know how I went so long without it. It is so nice to just browse the online market and click install on countless apps without worrying about your space.
If you want to try and move the app data (resides in /data/data) to the sdcard, I have heard that it is recommended to have a class 10 card to keep up with speed requirements. I am not sure how many apps support that.
I believe you can. You would have to have a custom recovery. The main thing I am not sure is if it will mount the ext partition. If you have a custom recovery, do a nandroid backup (just in case it doesn't work), flash the zip for DarkTremor, and reboot the phone (the first boot will take longer).
Click to expand...
Click to collapse
thanks for the reply i think i read on darktremors post class 4 will do for the data2sd. I have class 4 16GB sd card would 1GB good for the ext? ty
It really depends on how much you think you will be installing. I did a 1GB partition on mine, but now that I install most of the Amazon free daily apps, that space is dwindling quickly. I have programs that will resize the partition for me, but most will have to wipe the card and partition it manually. I do have the install location set to automatic, so it allows developers to specify whether they want it in the "internal" (really it is on the sdext partition, but to the phone it is internal) or external using the froyo method. The Angry Bird apps all default to install on the sdcard, so my installed app base is even larger than 1GB.
bassmadrigal said:
... adding app2sdext was the second best thing I ever did to my phone behind installing CyanogenMod on it.)
Click to expand...
Click to collapse
I second this
Sent from my Nexus One using XDA App
is it true that cwm sets the partition to ext3 by default? unlike in ra recovery where you still need to convert it? ta
I have heard that it creates it in ext3, but right now, DTa2sd is showing that it is a ext2 partition. I can't figure out how to find out for sure while the card is in the phone. Either way, it is getting mounted as an ext2 partition.
temasek said:
I thought CWM will create ext3 by default? Your steps are ok, np.
Anyway when u read the ext partition type in android, most likely u will see ext2 if u are using official DT script cuz of the auto syntax it uses.
Click to expand...
Click to collapse
then it maybe so, this was posted on the darktremor thread
http://forum.xda-developers.com/showthread.php?p=14134665#post14134665
Well, whether or not it is formatted as an ext3 partition, Android is still mounting mine as an ext2 partition.
Code:
mount | grep ext
NOTE: the "|" is called a pipe. On the keyboard it is the shift option on the backslash key "\". I don't know exactly where it is on the stock keyboard, but on swype it is located under the "D" key when the keyboard has the shift key pressed and you access it by longpressing.
To get your sdcard to ext3, you just need to turn on journaling. You can do this through adb while in the recovery (because you need the partition unmounted to do this).
Code:
adb reboot recovery
adb shell
mount system
e2fsk /dev/block/mmcblk0p2
tune2fs -j /dev/block/mmcblk0p2
reboot
Supposedly Android should auto-mount this as ext3 on boot (which you can check with the first command). At that point, I don't think it will matter what a2sd shows. As the writing of the journal (the big thing with ext3, since it helps minimize write errors on a bad shutdown) is done at the OS level, not the a2sd level.
Hi,
I have 7.2.4.c kabaldan milestone rom.
With sd card with 3 partitions : fat32/ext3 1gb / swap.
Since I can't move my app to the ext with basic app2sd kind of app, I tried S2E.
Well, with the option "intall app to INTERNAL", I guess that s2e were intalled on the ext partition... I hit someting and reboot the phone.
Now, I have lost all my apps, I looks like the stock clean rom AND I can't install any applications, even if I change automatic/internal/external options.
So I don't have access to the ext partition.
Is there a way to get my ext back without a wipe?
(I do have a complete backup, but its a couple of weeks old... my bad )
Thanks
You don't need any additional app to use the ext partition.
All of kabaldan's ROMs automatically detect and use it if it's there.
I don't know how to recover your apps, but I guess any attempt will end up dirty.
Restore your old backup and don't forget to make one everytime you try something fancy
Eiertschik said:
You don't need any additional app to use the ext partition.
All of kabaldan's ROMs automatically detect and use it if it's there.
I don't know how to recover your apps, but I guess any attempt will end up dirty.
Restore your old backup and don't forget to make one everytime you try something fancy
Click to expand...
Click to collapse
haha, yeah I know, its my gf phone, she doesnt keep important stuff, its not a big deal.
With my phone don't worry, I do backups everytime .
You say that its automatic , but I dont understand why after a while I still have the "no more sapce available ". ext is around 200 mb of 1gb full...
Low space warning usualy means your /data is full, not /sd-ext. Try lib2ext.
btw, I do not know how to recover, I have no clue what s2e did to your data.
mrvek said:
Low space warning usualy means your /data is full, not /sd-ext. Try lib2ext.
btw, I do not know how to recover, I have no clue what s2e did to your data.
Click to expand...
Click to collapse
Yes, I understand, the 133mb is full, but all my app should install on the ext anyway?
I'm not the only one, but I still dont understand why I cant access to my apps.
http://forum.xda-developers.com/showthread.php?t=1507743
oVeRdOsE. said:
Yes, I understand, the 133mb is full, but all my app should install on the ext anyway?
I'm not the only one, but I still dont understand why I cant access to my apps.
http://forum.xda-developers.com/showthread.php?t=1507743
Click to expand...
Click to collapse
The script that moves all user apps to ext partition can be seen here
You can't access them because there is probably some confilct between s2e and the inbuilt 07app2ext script that moves all your apps to sd-ext automatically. That is, it moves the apk part of application, there are some parts, like libraries, databases, etc., that remain in /data/data. And it is stuff in /data/data/ that is filling the space so the OS is complaining. Hence the recomendation to try to utilize lib2ext.
The simplest and probably the safest way to get back to track is to start from scratch. As mentioned, I have no clue what s2e did to your files and where it might have moved it. It might be lost, maybe it is on sd-ext but inaccessible because of messed up permissions, perhaps on sdcard somewhere... IDK.
Point beeing - third party apps and/or scripts are usually incompatible with inbuilt 07app2ext script that provides same/similar functionality.
oVeRdOsE. said:
Yes, I understand, the 133mb is full, but all my app should install on the ext anyway?
[...]
Click to expand...
Click to collapse
The apps are installed to ext, but there is more to an app than just the .apk file.
There's dalvik cache, ordinary cache and other additional data
Those usually aren't moved to ext.
If you're running out of space despite having an ext partition enter the following into Terminal Emulator and reboot:
Code:
lib2ext 1
mrvek said:
The script that moves all user apps to ext partition can be seen here
You can't access them because there is probably some confilct between s2e and the inbuilt 07app2ext script that moves all your apps to sd-ext automatically. That is, it moves the apk part of application, there are some parts, like libraries, databases, etc., that remain in /data/data. And it is stuff in /data/data/ that is filling the space so the OS is complaining. Hence the recomendation to try to utilize lib2ext.
The simplest and probably the safest way to get back to track is to start from scratch. As mentioned, I have no clue what s2e did to your files and where it might have moved it. It might be lost, maybe it is on sd-ext but inaccessible because of messed up permissions, perhaps on sdcard somewhere... IDK.
Point beeing - third party apps and/or scripts are usually incompatible with inbuilt 07app2ext script that provides same/similar functionality.
Click to expand...
Click to collapse
That's make sense. I read some post found on google, and mostlikely, that's what they said.
I did a factory reset, and all my apps are back, but the save data. I'll put it back manualy from my nand backup.
Eiertschik said:
The apps are installed to ext, but there is more to an app than just the .apk file.
There's dalvik cache, ordinary cache and other additional data
Those usually aren't moved to ext.
If you're running out of space despite having an ext partition enter the following into Terminal Emulator and reboot:
Code:
lib2ext 1
Click to expand...
Click to collapse
Thanks, I wish I can understand everything on andoird programming... I saw only the basic programing at shcool.
Hi Folks,
Executive summary:
I'm trying to install an app that is around 30MB. I have 90MB of internal memory available. It won't download and complains there is not enough memory.
Gory detail:
I have a 32 GB SD card partitioned into 10GB (ext2) and 20 (FAT32) and I use Link2SD to automatically install apps on the ext2 partition. That is working fine.
There is an app in Samsung Apps, issued by the education department, that I need for my son's upcoming spelling bee. The app is around 30MB. When I try to download it, it complains that there is not enough internal memory and that I should delete some files, make space, etc.
Relevant information:
1. There is 90MB available on the internal memory and the app is 30MB.
2. The app should automatically be installed on the SD card anyway, and so not be concerned about the internal memory in the first place.
3. Other, smaller apps from Samsung Apps install without complaint directly onto the SD card.
The figure of 90MB is from Settings > Applications > Manage Applications and also from Link2SD > Settings > Storage Info. Same number.
The phone is rooted and running Gingerbread 2.3.6.
Thanks in advance.
2ways said:
Hi Folks,
Executive summary:
I'm trying to install an app that is around 30MB. I have 90MB of internal memory available. It won't download and complains there is not enough memory.
Gory detail:
I have a 32 GB SD card partitioned into 10GB (ext2) and 20 (FAT32) and I use Link2SD to automatically install apps on the ext2 partition. That is working fine.
There is an app in Samsung Apps, issued by the education department, that I need for my son's upcoming spelling bee. The app is around 30MB. When I try to download it, it complains that there is not enough internal memory and that I should delete some files, make space, etc.
Relevant information:
1. There is 90MB available on the internal memory and the app is 30MB.
2. The app should automatically be installed on the SD card anyway, and so not be concerned about the internal memory in the first place.
3. Other, smaller apps from Samsung Apps install without complaint directly onto the SD card.
The figure of 90MB is from Settings > Applications > Manage Applications and also from Link2SD > Settings > Storage Info. Same number.
The phone is rooted and running Gingerbread 2.3.6.
Thanks in advance.
Click to expand...
Click to collapse
Did you move the dalvik-cache partition?
Dalvik-cache needs space too to install and run the app so clean it and then try to install this app again
Viper The Ripper said:
Did you move the dalvik-cache partition?
Dalvik-cache needs space too to install and run the app so clean it and then try to install this app again
Click to expand...
Click to collapse
Thanks for getting back to me.
In setting up Link2SD, a new dalvik-cache folder was set up on the 2nd partition on the SD card and the default action for all new apps is to put dalvik-cache files there. There is still the old dalvik-cache folder on /data.
I used Link2SD to clear all the cache folders and got another 10 MB free of internal memory.
Running df in a terminal I get:
/data size-180MB, used-76MB, free-104MB
Which should mean that the 'old' dalvik-cache folder has plenty of room to expand and shouldn't be stopping the installation of a single new app. Again, of course, any new apps should have their dalvik-cache files added to the SD partition anyway, rather than the original one.
Is their something I'm not understanding about the dalvik-cache?
Thanks for the help.
2ways said:
Thanks for getting back to me.
In setting up Link2SD, a new dalvik-cache folder was set up on the 2nd partition on the SD card and the default action for all new apps is to put dalvik-cache files there. There is still the old dalvik-cache folder on /data.
I used Link2SD to clear all the cache folders and got another 10 MB free of internal memory.
Running df in a terminal I get:
/data size-180MB, used-76MB, free-104MB
Which should mean that the 'old' dalvik-cache folder has plenty of room to expand and shouldn't be stopping the installation of a single new app. Again, of course, any new apps should have their dalvik-cache files added to the SD partition anyway, rather than the original one.
Is their something I'm not understanding about the dalvik-cache?
Thanks for the help.
Click to expand...
Click to collapse
You're right, smply I thought that your dalvik-cache partition was full and it was the reason you couldn't install anything, but it's weird :S :S :S
For this and many other reasons I don't like to use link2sd, I prefer int2ext+ script; safe, simple, fast, doesn't touch the dalvik-cache partition and keep /data in /data place
AFAIK Link2sd don't move "apps" strictly, It link apps to sd-ext partition, so a part of apps are installed in /data (internal memory) and the rest (the heaviest) in your sd-ext partition
It could be helpful
http://forum.xda-developers.com/showthread.php?t=2313327&highlight=about+link2sd
BTW you can wait for the replies from fellows better informed on such issues
Thanks for your help.
It's my wife's phone and I'll be away from home now until next week, so can't pursue the solution any further just now, but I haven't given up!
I'll be back on this thread come Monday, and I'll definitely have a look at int2ext.
Thanks again.
Viper The Ripper said:
You're right, smply I thought that your dalvik-cache partition was full and it was the reason you couldn't install anything, but it's weird :S :S :S
For this and many other reasons I don't like to use link2sd, I prefer int2ext+ script; safe, simple, fast, doesn't touch the dalvik-cache partition and keep /data in /data place
AFAIK Link2sd don't move "apps" strictly, It link apps to sd-ext partition, so a part of apps are installed in /data (internal memory) and the rest (the heaviest) in your sd-ext partition
It could be helpful
http://forum.xda-developers.com/showthread.php?t=2313327&highlight=about+link2sd
BTW you can wait for the replies from fellows better informed on such issues
Click to expand...
Click to collapse
Sorry for the Off-Topic, but my battery drained faster with int2sd.. do you faced the same problems?
Sent from my GT-S5830 using xda app-developers app
Blackbox421 said:
Sorry for the Off-Topic, but my battery drained faster with int2sd.. do you faced the same problems?
Sent from my GT-S5830 using xda app-developers app
Click to expand...
Click to collapse
It's normal I suppose due to Read/Write cycles, but it's better (less cycles) than swap partition (reduce your sdcard's life drastically)
Couldn't Install on USB Storage or SD Card
If, while installing your app, its showing "Couldn't Install on USB Storage or SD Card", then I've got just the solution. You could either fix it permanently,temporarily or do a method each time before you install your app.
Permanent Method
1) If your device is running on 2.2.1 or 2.3.6 android version, upgrade it to 3.4.5 ICS or 4.1.1 Jellybean. If the problem is solved then, don't worry, your problem has been permanently fixed.
Temporary Method
1) Backup your SD Card files and format it. Don't worry, it won't affect your partitions. I cannot guarantee you that this thing won't come up again. It may not but there is still a chance.
2) Before installing your apps, Go to Settings>Storage Info>Unmount SD Card. Select this each time before you install anything. Your app will be installed on to your Phone memory. After installing, Go to Settings again and Mount your SD Card. And of course, you could then Link your app to your partition or whatsoever...
I'll recommend Temporary Method 2 as it is would be easy for you if you're a newbie...Hope that this helped...Thanks:highfive: