Just got Complete Eclair v2.2.1 and downloaded a few apps from the market...
I have Apps2SD on...but why does my memory keep going down?
I have Advance Task Killer on and everytime I install new apps...my phone memory goes down....before it was at 39mb and now its at 24mb... I thought Apps2SD didnt use up phone memory?
Mytouch 32b
radio 2.22.23.02
hboot 1.33.0006
cpld 10
ROM: Complete Eclair v2.2.1
luminiz said:
Just got Complete Eclair v2.2.1 and downloaded a few apps from the market...
I have Apps2SD on...but why does my memory keep going down?
I have Advance Task Killer on and everytime I install new apps...my phone memory goes down....before it was at 39mb and now its at 24mb... I thought Apps2SD didnt use up phone memory?
Mytouch 32b
radio 2.22.23.02
hboot 1.33.0006
cpld 10
ROM: Complete Eclair v2.2.1
Click to expand...
Click to collapse
Do you have your sd card partitioned?
koreancanuck said:
Do you have your sd card partitioned?
Click to expand...
Click to collapse
Yes to the regular format of
LinuxSwap – 32MBs
Ext2 – 512Mbs
Fat32 – Remainder
luminiz said:
Yes to the regular format of
LinuxSwap – 32MBs
Ext2 – 512Mbs
Fat32 – Remainder
Click to expand...
Click to collapse
Use adb shell and enter 'mount'
This will make sure that you have an ext partition
Also using adb shell, enter 'df'
That should give us an idea of what is taking up all of your storage.
Keep in mind that the data for the apps are still being stored onto the device (under /data). Before you ask, it is not advisable to move /data to the ext partition. It's been done and determined not to be recommendable.
Binary100100 said:
Use adb shell and enter 'mount'
This will make sure that you have an ext partition
Also using adb shell, enter 'df'
That should give us an idea of what is taking up all of your storage.
Keep in mind that the data for the apps are still being stored onto the device (under /data). Before you ask, it is not advisable to move /data to the ext partition. It's been done and determined not to be recommendable.
Click to expand...
Click to collapse
After I typed in "df" in adb shell:
http://imagefrog.net/show.php/92144_AdbShellDF.JPG
Is there a problem?
Magic 32B S-ON G
HBOOT - 1.33.0006
Radio - 2.22.16.261
Rom - Complete Eclair v2.2.1
Recovery - Amon Ra's 1.6.2G
Btw...One question
In SpareParts in my Complete Eclair v2.2.1 what the Comcache/Swap Setting and Compcache Size do? There's no option checked...so is that the source of the problem? Just wondering
Compcache and swap don't have anything to do with application storage space. If you don't know what they are, don't enable them.
Edit:
Looking at your screenshot, Apps2sd is working correctly.
/dev/block/mtdblock5 is mounted to /data where your apps would go normally
/dev/block/nmcblkop2 is mounted to /sd-ext which is where space is being used.
If you notice, /data usage is at 2%, while /sd-ext is at 5%, so your apps look to be going there (21339 bytes used on /sd-ext)
Phone ram goes down because apps are using ram. Apps2sd doesn't have anything to do with how much ram a program uses.
1)Quit obsessing over free memory. Android will kill app processes when it needs ram. It's smarter than you.
2)Task Killers do more harm than good. There's a dozen articles scattered all over the web why, do a little research on it, then uninstall ATK and stop worrying.
raduque said:
Compcache and swap don't have anything to do with application storage space. If you don't know what they are, don't enable them.
Edit:
Looking at your screenshot, Apps2sd is working correctly.
/dev/block/mtdblock5 is mounted to /data where your apps would go normally
/dev/block/nmcblkop2 is mounted to /sd-ext which is where space is being used.
If you notice, /data usage is at 2%, while /sd-ext is at 5%, so your apps look to be going there (21339 bytes used on /sd-ext)
Phone ram goes down because apps are using ram. Apps2sd doesn't have anything to do with how much ram a program uses.
1)Quit obsessing over free memory. Android will kill app processes when it needs ram. It's smarter than you.
2)Task Killers do more harm than good. There's a dozen articles scattered all over the web why, do a little research on it, then uninstall ATK and stop worrying.
Click to expand...
Click to collapse
Wow. Very Informative Post! Thanks!
Sorry about me over-obsessing about phone memory...its just that I'm new to the Rooted-Android world and I'm used to seeing and expecting things differently when I had stock Android. I'm just trying to learn here like everybody else and everyone makes misjudgments on things sometimes. Any ways...Thanks for your post!
luminiz said:
After I typed in "df" in adb shell:
http://imagefrog.net/show.php/92144_AdbShellDF.JPG
Is there a problem?
Magic 32B S-ON G
HBOOT - 1.33.0006
Radio - 2.22.16.261
Rom - Complete Eclair v2.2.1
Recovery - Amon Ra's 1.6.2G
Click to expand...
Click to collapse
Yeah, you're nowhere near filling up the phone's memory. In fact you still have over 3mb of free space in /system to use by tossing in a bootanimation.zip file (for 2.1 roms only) or adding some custom ringtones (/system/media/audio/), whatever and you have only used about 20mb of your 500mb ext partition. If you do feel the need to clean it up, I would suggest using a cache clearing app to do so and nothing else.
Good luck.
Binary100100 said:
Yeah, you're nowhere near filling up the phone's memory. In fact you still have over 3mb of free space in /system to use by tossing in a bootanimation.zip file (for 2.1 roms only) or adding some custom ringtones (/system/media/audio/), whatever and you have only used about 20mb of your 500mb ext partition. If you do feel the need to clean it up, I would suggest using a cache clearing app to do so and nothing else.
Good luck.
Click to expand...
Click to collapse
Sorry for the newbie questions but...
How do you toss in the bootanimation.zip file?
What do you mean I still have over 3mb of free space in system? I thought system memory was only used up by the ROM's
What else can I put in the /system ?
So when I have Advance Task Killer telling me I have 16mb of memory...its ok?
Thanks for your responses...They're greatly appreciated!
luminiz said:
Sorry for the newbie questions but...
How do you toss in the bootanimation.zip file?
What do you mean I still have over 3mb of free space in system? I thought system memory was only used up by the ROM's
What else can I put in the /system ?
So when I have Advance Task Killer telling me I have 16mb of memory...its ok?
Thanks for your responses...They're greatly appreciated!
Click to expand...
Click to collapse
I wouldn't worry about any of that. The bootanimation.zip is the animation that you see after starting your phone. An example:
http://www.youtube.com/watch?v=lAFSEsEZnnE&feature=related
If you are running Firmware 2.2 (such as Cyanogen's 5.0.7 or 5.0.8) you can remove the existing bootanimation.zip file by:
adb remount
adb shell
rm /system/media/bootanimation.zip
and then adb push bootanimation.zip /system/media
Anyway... all of that is unrelated to your topic.
And your 16mb of memory is regarding RAM, not ROM.
luminiz said:
Wow. Very Informative Post! Thanks!
Sorry about me over-obsessing about phone memory...its just that I'm new to the Rooted-Android world and I'm used to seeing and expecting things differently when I had stock Android. I'm just trying to learn here like everybody else and everyone makes misjudgments on things sometimes. Any ways...Thanks for your post!
Click to expand...
Click to collapse
Nah, don't worry about it. I used to freak out about free memory all the time too, both on stock 1.6 and cyanogenmod 5.0.7, till I read some articles about how Android manages apps and processes and I realized it's not worth worrying about, because Android will kill what it has to when it needs ram for something.
Related
i was wondering is there a way to put all the apps cache in the sd because for my search it seems like you can only do it for some. Im also running the Cyanogen rom 3.6
I know there is an app in the market named ClearMe (or there was) that will allow this if you are looking for a less manual method
Edit: you said all apps. I'm not sure of a method.... yet..
not just cache to sd, storage to sd
ruffrider5956 said:
i was wondering is there a way to put all the apps cache in the sd because for my search it seems like you can only do it for some. Im also running the Cyanogen rom 3.6
Click to expand...
Click to collapse
I have been wondering about a couple of things since I flashed Cyanogen's ROM. 1) Calendar storage is on internal storage. I have 5MB there so that sucks. Is there any way to change that? 2) Various programs, while the app itself is installed on SD, some data, but not all, goes to the phone's internal storage. This seems random. Is there any way to move ALL storage and ALL cache to the SD? When I was on JF v1.51, all data and cache was on SD. I have 63mb free internal but on JF I had 73mb free at all times. Now I fluctuate. Any thoughts?
aaronratner said:
I have been wondering about a few things since I flashed cyanogen's rom. 1) calendar storage is on internal. I have 5mb there so that sucks. Any way to change that? 2) various programs, while the app itself is installed on as, some data, but not all, goes to the phone. This seems random. Anyway to move ALL storage and ALL cache to the as? When I was on JF v1.51, all data and cache were on sd. I have 63mb free internal but on JF I had 73mb free at all times. Now I fluctuate. Any thoughts?
Click to expand...
Click to collapse
Why do you need 73mb free? Is 63mb not enough? I'm not trying to be a jerk, I just think you might be worrying about something that is not an issue. The phone works ok with 20+ MB free and works great with 30+ MB. If you have too much free memory, it is just sitting there doing nothing. You want to use the phone's resources the best way you can, not just have them sit there being unused.
I really don't see the point in moving ALL cache to SD. I've found that the phone boots up much faster if your Dalvik-Cache is using internal memory. It is about 30MB on my phone. I did move my app, app-private, media, and data to my SD card. I've heard arguments that it is not a good idea to move the data over but I have over 100 apps and my data folder is about 6 MB. So a Class 6 card could move that entire folder in about 1 second.
Nice first post, but...
Just for reference, I don't really care if I have 10MB free. My phone is running very smoothly. Most of the questions that I ask are purely for educational purposes. I was wondering what the difference was between the apps to sd I did on JF1.51 (I did it manually and I'll show it at the end of this post for reference) and the built in method in cyanogen's ROM. I was curious about why the free memory fluctuated on cyanogen's and not JF's.
I think that some apps are using the phone's internal memory and some are using the ext2 partition. One example: I use NewsRob (an RSS reader). It asks me where I want to store the downloaded RSS feeds and I said my SD card. It created a folder and stored the file on my SD card (not the ext2 partition but the fat32). However, the internal memory was also affected even though the app itself is on SD (on ext2). Another example is my calendar app. The storage, of which I have 5MB, is stored on internal memory. On JF's it was not. Why? What is done differently?
If I enter the following commands in terminal emulator...
Code:
su
df system/sd
...I get 553920K total, 106180K used, 447740K available (block size 4096).
However, when I go to Settings > SD card & phone storage I get 540MB under total space and 409MB available.
That doesn't seem to jive or am I missing something? Hey, everything seems to be working well so I don't really care on that end. However I do care that I don't understand why this is the way it is.
Reference: My apps to sd method on JF.
In terminal emulator
Code:
busybox cp -a /data/app /system/sd/
busybox cp -a /data/dalvik-cache /system/sd/
busybox cp -a /data/data /system/sd/
Then in Recovery Terminal (Alt+X on JF menu in Recovery Mode)
Code:
mount data
rm -rf /data/app
ln -s /system/sd/app /data/app
rm -rf /data/data (optional)
ln -s /system/sd/data /data/data
rm -rf /data/dalvik-cache
ln -s /system/sd/dalvik-cache /data/dalvik-cache
reboot
I'm using "move cache for root users" - first result after searching for "cache."
It moves Browser, Market, GMaps, Street View, Gmail, and Steel caches to SD.
If you have apps2sd I would assume all caches would be on the SD card, not positive tho.
juphro said:
I'm using "move cache for root users" - first result after searching for "cache."
It moves Browser, Market, GMaps, Street View, Gmail, and Steel caches to SD.
If you have apps2sd I would assume all caches would be on the SD card, not positive tho.
Click to expand...
Click to collapse
using that program as well and yes it does put all the cache on your sd card.
imbonez9 said:
using that program as well and yes it does put all the cache on your sd card.
Click to expand...
Click to collapse
I too use that program. It's called TA Utility. It works well but I'd like more than that. For example, as stated in my original description of the "problem" is that there are other apps that don't get included in this. For one thing, calendar. That's 5MB right there. There are also various program that use some internal storage even if they cache the bulk of the files on the SD (fat32 partition). I don't actually think that this is a problem. I am just very interested in understanding the inner workings of the a2sd that I had done on JF and the a2sd that is done automatically on Cyanogen's ROM.
Another program that is a "problem" is the Work Email that was ported over by Cyanogen from myTouch. Even if you don't use it, opening it once adds more than a MB of data to the internal storage. While I removed the storage, if I wanted to use the Work Email app for some reason it would "cost" me a meg. Again, this is not a real issue as I have nearly 200 apps installed and still have 64MB of internal storage left. I just want the "why" behind all this.
My question, then, is why do certain apps "cost" me internal storage while others do not? It cannot be random. There needs to be a reason and there also needs to be a way to change that. I just don't know why and how.
aaronratner said:
I too use that program. It's called TA Utility. It works well but I'd like more than that. For example, as stated in my original description of the "problem" is that there are other apps that don't get included in this. For one thing, calendar. That's 5MB right there. There are also various program that use some internal storage even if they cache the bulk of the files on the SD (fat32 partition). I don't actually think that this is a problem. I am just very interested in understanding the inner workings of the a2sd that I had done on JF and the a2sd that is done automatically on Cyanogen's ROM.
Another program that is a "problem" is the Work Email that was ported over by Cyanogen from myTouch. Even if you don't use it, opening it once adds more than a MB of data to the internal storage. While I removed the storage, if I wanted to use the Work Email app for some reason it would "cost" me a meg. Again, this is not a real issue as I have nearly 200 apps installed and still have 64MB of internal storage left. I just want the "why" behind all this.
My question, then, is why do certain apps "cost" me internal storage while others do not? It cannot be random. There needs to be a reason and there also needs to be a way to change that. I just don't know why and how.
Click to expand...
Click to collapse
I''m not sure its the app that is taking up the room but the space it needs to park it on the phone. Like i installed docs2go. It adds to my internal but not as much as the whole program is.
[SOLVED] - Solution
I have figured out the answer to my original question for all those who are interested. I wanted to know the difference between the A2SD that I used on JF (I did it myself) and the auto-A2SD in Cyanogen's ROM. It's very simple. The /data/data/ folder on Cyanogen is not moved to SD whereas I has it sysmlinked on JF.
If you are running Cyanogen, run the following in TE...
Code:
su
du -h /data/data/
to see what you have stored. I am going to spend some time on the forum looking to see what, if anything, can be safely moved (in a stable way) to /system/sd/ on Cyanogen. I will either report back here or start a new thread if I think my findings are worth sharing (meaning, if I come up with anything more than what everyone else but me already knows, LOL). I suspect it might be a bit of an issue since Cyanogen warns against using any other A2SD methods while using his ROM. Time will tell.
I believe that the reason /data/data is not moved to sd anymore is because it proved to be unstable for most (not all) people here. Also, if you manualy move /data/data to sd at some point on Cyan's rom it will be moved back to internal memory automaticaly next time you reboot. This is just the way Cyan has it set up due to the problems people had when the whole data folder was moved.
Agreed
borodin1 said:
I believe that the reason /data/data is not moved to sd anymore is because it proved to be unstable for most (not all) people here. Also, if you manualy move /data/data to sd at some point on Cyan's rom it will be moved back to internal memory automaticaly next time you reboot. This is just the way Cyan has it set up due to the problems people had when the whole data folder was moved.
Click to expand...
Click to collapse
I fully agree with that. /data/data on SD was NEVER stable for me. I don't think my phone lasted more than three days after moving it. My main reason for posting was to understand what was different between what I did on JF and what Cyanogen did by default. I now fully understand the difference and, most importantly, the reasons behind it. I just have to keep and eye on which programs write data and how much data they write and what, if any, should/could be deleted. The calendar storage, for example, cannot be deleted or calendar entries disappear. For me, it's 5.5MB.
Perhaps, if I am really bored, I (or someone else) will write and app or script that can remove data/cache for ANY app added to a list. For now, I have the obvious caches moved over and a cache cleaning app for those caches moved to SD. A more efficient and more customizable method for this process is definitely needed but I have learned that these "problems" seemed to get "solved" as Android grows up. For now, manual methods will have to do.
From the recovery image to get APPS2SD by simply running the format the SD using Ext2+Swap+fat32 right?
I have a class 6 card. How do I know if this actually works? I formatted and my internals space did not change?
Are there major benefits of doing APPS2SD?
Yes, first format the SD card.
To see if its working,
Check your Settings -> SD card & phone storage -> Internal phone storage. Make note of what it is at. Install some apps, maybe even try reinstalling some of the apps on your phone. Then, check the internal storage again and see if you have some more space.
As for the benefits, it just frees up your internal memory on your phone. I don't think it makes your phone faster or anything.
The question I have about APPS2SD is this. How come when I use it my internal memory drops after I install apps. I have not used it since I had to go back to the original Sprint ROM to do the update and installing the same apps I had before, my internal memory was about the same as it was when I used APPS2SD. I used the recovery screen to format to Fat32-Ext2-Swap and files were on the sd card when I checked, but my internal memory still drops everytime I install something. What is the real benifit of this if the internal memory drops anyway. I am real confused about this and have not decided if it is worth using since I have read it can damage your memory card. Can someone with knowledge of how this works please explain it.
Thx for all the great Info found here.
AppsToSD only puts the apps themselves on the SD. The internal memory is still used by the boot-cache, dalvik-cache, and actual app data like settings, saved games, cache, etc.
Must it be ext3?
What if i have ext2?
rvenes said:
Must it be ext3?
What if i have ext2?
Click to expand...
Click to collapse
If youre using one of the newer recovery images there should be an option to upgrade ext2 to ext3
as for the difference...im not to sure exactly
Tipharet said:
How do I know if this actually works? I formatted and my internals space did not change
Click to expand...
Click to collapse
Answer: . . . . .
nelson8403 said:
Just because the apps are installed to the SD card doesn't mean they don't store things on the phone.. cache is stored on the phones, theres a /data/data folder on the phone that the apps populate as well, it just doesn't take AS MUCH space on your phone as a non appstosd
also to make sure your apps are working go into your adb shell, type in
Code:
cd /data/app
pwd
cd /data/app-private
pwd
What this will do is go to your /data/app folder and because with appstosd that is a symbolic link to /system/sd/app the PWD (present working directory) will display /system/sd/app, if PWD shows /data/app you are not running appstosd
Click to expand...
Click to collapse
rvenes said:
Must it be ext3?
What if i have ext2?
Click to expand...
Click to collapse
As far as I know it works just fine on ext2.
As far as the difference, the nutshell version is that ext3 is pretty much just ext2 with journaling hacked in. If you don't know that that means, do a google search on "journaling file system".
There should be no downside whatsoever to switching to ext3. It can still be read from and written to by anything that can use ext2, and it adds more robust error recovery.
Caveats: I'm not sure how well, or if, that error recovery works on flash memory devices. My expertise is working with large servers that use hard disks. I also don't know if there are tools in our android builds that take advantage of the benefits that ext3 provides.
Having said that, I'm still confident that choosing to upgrade to ext3 offers NO downside, and while there might also be no upside, there is also the potential for a huge upside.
My advice: Do it.
Hi,
I go through the forum but unfortunately cannot find anything related to my inquiry. I use a custom ROM and go to /system/app to delete some unnecessary applications (e.g. Mail.apk), however, the saved space cannot be used for my 3rd party app installation. My dream was 9MB free before I remove system apps, it is 9MB again after their removal.
Is it possible to give more space to the 3rd party app application, given the sacrifice of system apps???
Are you sure that you are clearing cache?
Maybe you dont have apps2sd working for you.
Just do either one from terminal..
type:
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
Then type:
cd /system/app
then you can type "ls" to list the contents of the directory.
Or
su
cd /system/sd/app
ls
or if you dont have EXT2/3/4
su
cd /system/app
ls
Yes I don't have app2sd enabled.
My dream is always having 9MB left so it is very inconvenient .... But I don't want to run app2sd so that speed could be improved ....
That's why I want to remove some unnecessary apps in the /system/app (e.g. Mail.apk which consumes 2MB!) so that I can have more space for my applications.
cd /system/app
ls
Shows all the pre-installed applications (those coming with the custom ROM)
Thanks for answering!
xdaofficeuser111 said:
Yes I don't have app2sd enabled.
My dream is always having 9MB left so it is very inconvenient .... But I don't want to run app2sd so that speed could be improved ....
That's why I want to remove some unnecessary apps in the /system/app (e.g. Mail.apk which consumes 2MB!) so that I can have more space for my applications.
cd /system/app
ls
Shows all the pre-installed applications (those coming with the custom ROM)
Thanks for answering!
Click to expand...
Click to collapse
Now do
-rm appname.apk
You have to reboot when your done though.
Theoretically it should work?
Because I removed Mail.apk, and rebooted. The free space left on the phone is still the same ....
Are those applications in different partitions or something wrong with my setup?
I am using AOSP r1.6 .....
xdaofficeuser111 said:
My dream is always having 9MB left so it is very inconvenient ....
Click to expand...
Click to collapse
Never heard that before.
Try removing applications that have higher file sizes, like the browser. You should see a change then.
And, as mentioned earlier, clear your cache.
akapoor said:
Never heard that before.
Try removing applications that have higher file sizes, like the browser. You should see a change then.
And, as mentioned earlier, clear your cache.
Click to expand...
Click to collapse
I did - I even removed the largest one - Mail.apk. But I found that my space was not released ....
I cleaned my cache nearly every hour ....
I had a horrible experience with App2SD so I would rather keep all the apps on my G1 ram .....
What ROM is this?
akapoor said:
What ROM is this?
Click to expand...
Click to collapse
AOSP 2.4.2
http://forum.xda-developers.com/showthread.php?t=538456
But even when I was using CM and Dwang before the same happen - I deleted apps in system/app, but available space for my app installation hadn't increased .....
When I moved from Dwang to AOSP, I had to remove a lot of my apps as a result because AOSP consumed more space than Dwang .... but when I deleted the system apps in /system/app one by one .... the space wasn't recovered ....
No matter how many times I cleared the cache and reboot ....
That's why I start to think if /system/app and my 3rd party applications are on different partitions??? So that releasing space on one will not benefit the other ......
Does it make sense?
xdaofficeuser111 said:
That's why I start to think if /system/app and my 3rd party applications are on different partitions??? So that releasing space on one will not benefit the other ......
Does it make sense?
Click to expand...
Click to collapse
yes you are right
system apps are on the /system partition
other apps are on the /data partition under /data/app
you need to clean the /data partition to get space back. you can clear the dalvik-cache and maybe get some space. Make sure you clear the browser cache because that takes about 8mb of space on average
Ace42 said:
Are you sure that you are clearing cache?
Maybe you dont have apps2sd working for you.
Click to expand...
Click to collapse
god youre dumb
B-man007 said:
yes you are right
system apps are on the /system partition
other apps are on the /data partition under /data/app
you need to clean the /data partition to get space back. you can clear the dalvik-cache and maybe get some space. Make sure you clear the browser cache because that takes about 8mb of space on average
Thanks for your help!!!
Is it possible for me to rewrite any scripts/files so that I could transfer the free space from /system partition to /data partition (e.g. unmount, and remount them)?
Click to expand...
Click to collapse
xdaofficeuser111 said:
B-man007 said:
yes you are right
system apps are on the /system partition
other apps are on the /data partition under /data/app
you need to clean the /data partition to get space back. you can clear the dalvik-cache and maybe get some space. Make sure you clear the browser cache because that takes about 8mb of space on average
Thanks for your help!!!
Is it possible for me to rewrite any scripts/files so that I could transfer the free space from /system partition to /data partition (e.g. unmount, and remount them)?
Click to expand...
Click to collapse
No, those partitions stay the same size unless you flash an spl that enlarges them (Haykuro spl)
Click to expand...
Click to collapse
the only way is by flashing the haykuro spl as if it was possible through scripts then the G1 would have been able to upgrade to better ROM's officially such as 2.0 without having to compress things
B-man007 said:
the only way is by flashing the haykuro spl as if it was possible through scripts then the G1 would have been able to upgrade to better ROM's officially such as 2.0 without having to compress things
Click to expand...
Click to collapse
Wow, that's what I said only longer. Good job stretching out information
Thanks! I am already on Danger SPL ....
Look like my dream is to the limit .....
xdaofficeuser111 said:
Thanks! I am already on Danger SPL ....
Look like my dream is to the limit .....
Click to expand...
Click to collapse
Yep, it is
xdaofficeuser111 said:
Thanks! I am already on Danger SPL ....
Look like my dream is to the limit .....
Click to expand...
Click to collapse
You might as well use apps2sd again, but make sure you wipe when switching b/t roms.
Everyone here seems pretty certain about this, so please correct me if I am wrong, but we can make the system or data partition via creating symlinks to the cache. The cache is used to download and install OTA updates, and thus is a useless 45MB partition on the dream. The haykuro spl takes this space and adds it to the system, thus allowing users to flash large updates. The same amount of space can be created through proper symlinks (be very careful if you attempt to create any to the system). I have set up symlinks to allocate cache memory to the system in order to flash large metamorph updates. It seems equally likely that one could symlink a folder in /data/ with a folder in the cache. Can anyone prove me wrong?
I want to know in which partition it would be better to have apps on? Ext or Fat? Should I move the apps which support Moving to SD card to the Fat partition or it doesnt matter in which partition the app is?
depends on your preference, for some people it might be easier to just use apps2sd since it require no setup while ext does.
i prefer apps2ext because it works for me and i just experience too many problems with apps2sd
behelit said:
depends on your preference, for some people it might be easier to just use apps2sd since it require no setup while ext does.
i prefer apps2ext because it works for me and i just experience too many problems with apps2sd
Click to expand...
Click to collapse
I have set up apps2ext on my phone.. But is there any advantage or disadvantage in keeping apps in either of the partition?
BTW what problems did you face in apps2sd?
This may help:
http://forum.xda-developers.com/showpost.php?p=8012686&postcount=4342
Thanks for this ..
Ive set up my apps2ext and most of my apps are in the ext partition but I have found that not all apps are in there...some are stored in sd and some in phone...why is that? I have still around 0.5gb left in the ext partition...
can anyone shed some light into this? thanks in advance
nazrin313 said:
Ive set up my apps2ext and most of my apps are in the ext partition but I have found that not all apps are in there...some are stored in sd and some in phone...why is that? I have still around 0.5gb left in the ext partition...
can anyone shed some light into this? thanks in advance
Click to expand...
Click to collapse
Android sees and reports apps on your sd-ext partition (apps2ext) as internal.
App developers can force apps to install on SD (sd-fat).
If you install an app that is forced to SD then it will install on "external" (sd-fat) and be reported as such.
You can prevent this behaviour, and I recommend doing this, by forcing apps to internal storage (despite what the developer builds into the app) - you may need a custom rom for this(?). They will always be installed on sd-ext then.
djmcnz said:
Android sees and reports apps on your sd-ext partition (apps2ext) as internal.
Click to expand...
Click to collapse
Thanks for the quick reply. And Yeap I know but I have also seen at some instance that the apps are stored in the phone memory
djmcnz said:
You can prevent this behaviour, and I recommend doing this, by forcing apps to internal storage (despite what the developer builds into the app) - you may need a custom rom for this(?). They will always be installed on sd-ext then.
Click to expand...
Click to collapse
Im using Enom's latest if thats any help
nazrin313 said:
Thanks for the quick reply. And Yeap I know but I have also seen at some instance that the apps are stored in the phone memory
Im using Enom's latest if thats any help
Click to expand...
Click to collapse
Perfect:
Code:
adb shell pm setInstallLocation 1
Will set future installs to "internal" (sd-ext).
You'll need to manually move the ones already on sd-fat back to "internal" using Manage Applications... then fixed...
EDIT: Oh! I see "phone memory" - sorry. They will not be in /data/app/ they will be in /data/app-private/ which is NOT moved to sd-ext...
djmcnz said:
Perfect:
Code:
adb shell pm setInstallLocation 1
Well set future installs to "internal" (sd-ext).
You'll need to manually move the ones already on sd-fat back to "internal" using Manage Applications... then fixed...
Click to expand...
Click to collapse
Thanks buddy, your a star.....
tried what you suggested and moved the apps from sd to internal..now Im running low on space as Im down to 19mb...any suggestions? Did I do something wrong?
EDIT...just saw your edit...what do you mean?
nazrin313 said:
tried what you suggested and moved the apps from sd to internal..now Im running low on space as Im down to 19mb...any suggestions? Did I do something wrong?
EDIT...just saw your edit...what do you mean?
Click to expand...
Click to collapse
19MB suggests apps2ext is not working... it should never really go below ~60MB with apps2ext (I have 203 apps and ~70MB free).
The edit means that some secure apps are installed to a location that apps2ext does NOT move... although there are very few of these, nothing to account for ~19MB.
What apps2ext does your rom use? DarkTremor? If so that has built in diagnostics... otherwise, if you do this:
Code:
Terminal:
ls -l /data/
Code:
ADB:
adb shell ls -l /data/
What do you get back?
djmcnz said:
19MB suggests apps2ext is not working... it should never really go below ~60MB with apps2ext (I have 203 apps and ~70MB free).
The edit means that some secure apps are installed to a location that apps2ext does NOT move... although there are very few of these, nothing to account for ~19MB.
Click to expand...
Click to collapse
Im sure its working as I have most of my apps (some 170+) are in ext3sd..and the rest either in phone or fat sd...
djmcnz said:
Code:
Terminal:
ls -l /data/
Click to expand...
Click to collapse
its says anr,app, app-private,backup, d_app_store, dalvik-cache, data, dontpanic, local, lost+found, misc, property, systems, tombstones...
dats it...
nazrin313 said:
Im sure its working as I have most of my apps (some 170+) are in ext3sd..and the rest either in phone or fat sd...
its says anr,app, app-private,backup, d_app_store, dalvik-cache, data, dontpanic, local, lost+found, misc, property, systems, tombstones...
dats it...
Click to expand...
Click to collapse
should say something like
Code:
/data/app -> /system/sd/app
To reflect the symlink.
djmcnz said:
should say something like
Code:
/data/app -> /system/sd/app
To reflect the symlink.
Click to expand...
Click to collapse
Hmmmm...interesting, I guess Enom's rom doesnt use darktremor's script...what do you suggest? I guess it would hurt putting the script over the ROM?
Edit: i ran the code again indeed it did say /data/app -> /system/sd/app
Ermmm... so what next?
nazrin313 said:
Hmmmm...interesting, I guess Enom's rom doesnt use darktremor's script...what do you suggest? I guess it would hurt putting the script over the ROM?
Edit: i ran the code again indeed it did say /data/app -> /system/sd/app
Ermmm... so what next?
Click to expand...
Click to collapse
Hunt and peck.
du will give you disk usage...
nazrin313 said:
Im sure its working as I have most of my apps (some 170+) are in ext3sd..and the rest either in phone or fat sd...
its says anr,app, app-private,backup, d_app_store, dalvik-cache, data, dontpanic, local, lost+found, misc, property, systems, tombstones...
dats it...
Click to expand...
Click to collapse
170+ apps = LOTS OF DALVIK CACHE. My 120ish is 110m.. Of course it depends on the app, but I'd say you're seeing all dalvik cache. If you really need more internal storage, you'll have to uninstall some apps or move dalvik to SD. (NOT /cache)
Yeap, i can confirm dat its all dalvik cache...so, should i move the dalvik to sd? Why? N why not cache?
Update:
Ive tried putting dalvik into sd but i had a system process error...what up? Luckily i did a nandroid before i moved it
Another update
Tried dc to cache - everything loaded just fine but cannot install apps from market
Tried dc to sd - system error n fc's everything
Anyone?
Hello All,
First of all I would like to say a big thank you to everyone contributing in this forum as it is very helpful and makes your life with gadgets interesting
I have some questions concerning App2SD
I have rooted my X8 using the modded superoneclick that uses the newer exploit for android 2.1 and after that used the Xrecovery way to install app2sd.
So here come the questions:
After the installation most of the applications needed to be reinstalled, has anyone else experienced the same thing?
I also saw that the phone was working much faster and 90Mbytes of free memory where being shown right after the hack.
Now after installing loads of applications the free memory shown is ~60Mbytes, does that mean that many of the apps dont get installed to the sdcard?
If I rerun the app2sd zip from Xrecovery will that move those apps or it will mess up everything?
Thanks in advance
try install titanium backup.. if there is a2sd, so your app2sd is working.
i never get such problem
i use SOC 1.3.0 and script for app2sd2.1 mod (dalvik-cache to sd)
(not from xrecovery)
well, a2sd exists but the available internal memory keeps going down..
parisstc said:
well, a2sd exists but the available internal memory keeps going down..
Click to expand...
Click to collapse
mmm.. lets check again,
try install terminal / shell
than :
$ cd /data/app
$ pwd
if the result is /system/sd/app
than your app2sd.sh script is right,
if still on /data/app ,, you must reistall app2sd, but uninstall it first.
thanks for the reply
The result is /system/sd/app
so I wonder why the available internal memory keeps going down..
when i type
cd/adb
it always show "not regconized internal promp.....bla..bla..."
what wrong???
i already copy all app2sd in memory card, and also make partisions ext3 and fat32
parisstc said:
thanks for the reply
The result is /system/sd/app
so I wonder why the available internal memory keeps going down..
Click to expand...
Click to collapse
now I'm wondering too.
what apps did u install btw.
if the a2sd is working, maybe data app is too big, coz app2sd didn't mount that dir into sd.
evilteater said:
when i type
cd/adb
it always show "not regconized internal promp.....bla..bla..."
what wrong???
i already copy all app2sd in memory card, and also make partisions ext3 and fat32
Click to expand...
Click to collapse
did you 'cd' to 'adb tool' folder in your windows? using cmd right?
if you did, type : adb shell
if adb works., continue with your app2sd manual.
there's another tread deep about this btw