[Q] Help understanding memory - myTouch 3G Slide Q&A, Help & Troubleshooting

I have tried searching for answeres with no avail. I keep getting a low on space notification often and cannot understand for the life of me why this is.
When I rooted the phone I installed CM6 Rom. I didn't like it and decided to simply change Roms installing SLIDE-Reloaded v1 (I did a wipe data/factory reset and a wipe Dalvik Cache prior to installing new ROM)
I am looking at my Titanium Backup Overview tab and says the following:
Internal: 152 MB (15.3 MB Free)
SD card: 7.93 MB (7.46 MB Free)
SD card (as2sd): 251 MB (36 MB Free)
My logic tells me I have PLENTY of memory left on a 512 MB RAM phone (looking at the above figures) but the phone swears it doesn't have enough space.
What does the above info mean exactly? How can I solve the issue?
thanks guys

Have you tried using a2ext? That would solve all of your problems. In development section I have boot.img for all popular roms that don't have it incorporated. Just add it to the rom flash it with the add on and your good to go. Also make sure your sdcard is partitioned for it.
I'm assuming the ap 2sd is the froyo version. Also make sure dalvik cache is moved to sdcard and make sure you clean your cache often. Also try to make your ext partition a pretty good size mine is in the 800s and I have close to 200 apps with no memory problems
Sent from my T-Mobile myTouch 3G Slide using XDA App

acejoker25000 said:
Have you tried using a2ext? That would solve all of your problems. In development section I have boot.img for all popular roms that don't have it incorporated. Just add it to the rom flash it with the add on and your good to go. Also make sure your sdcard is partitioned for it.
Click to expand...
Click to collapse
I'll try this as I do not believe I have a2ext on my phone. What does this do exactly?
acejoker25000 said:
I'm assuming the ap 2sd is the froyo version.
Click to expand...
Click to collapse
I can only assume as this ROM was taken from the original 2.1
acejoker25000 said:
Also make sure dalvik cache is moved to sdcard and make sure you clean your cache often.
Click to expand...
Click to collapse
Ok soooo I know this might be a stupid question but I am still learning the ropes about my phone; Do I simply copy paste the Dalvik to the SD card? Do I use Titanium or does this have to be done via the command prompt?
acejoker25000 said:
Also try to make your ext partition a pretty good size mine is in the 800s and I have close to 200 apps with no memory problems
Click to expand...
Click to collapse
I know in the multiple threads I have read about people partitioning the SD card and I think I have seen it on my phone I just don't recall where... searching now.
EDIT: HA! found it (In ROM manager jijiji)

Make sure you back it up first, partitioning it will erase everything.
But I'm sure you already know that....
As far as moving the dalvik cache you have you use a terminal app (most custom roms have one).
Type this in, it will reboot (may take a bit) and you'll be good.
Code:
su
cd /system/bin/
sh a2sd cachesd
That should do it.

i haven't really played much with the phone today as i've had a killer migraine but i threaten to be back tomorrow with questions
I'll report the progress

KCRic said:
Make sure you back it up first, partitioning it will erase everything.
But I'm sure you already know that....
As far as moving the dalvik cache you have you use a terminal app (most custom roms have one).
Type this in, it will reboot (may take a bit) and you'll be good.
Code:
su
cd /system/bin/
sh a2sd cachesd
That should do it.
Click to expand...
Click to collapse
This worked for me.

KCRic said:
Make sure you back it up first, partitioning it will erase everything.
But I'm sure you already know that....
As far as moving the dalvik cache you have you use a terminal app (most custom roms have one).
Type this in, it will reboot (may take a bit) and you'll be good.
Code:
su
cd /system/bin/
sh a2sd cachesd
That should do it.
Click to expand...
Click to collapse
Ok so...
1. Did a Clockwork backup first
2. I backedup SD card by doing a simple copy paste to my PC
3. I then partinioned the phone via Rom Manager choosing 512 MB in the first option and 256 in the second (was that right?)
4. Copy pasted backup back to SD card
5. transfered Dalvik cache to SD smoothly
NOTE I have NOT tried the a2ext that acejoker recommended as the boot.img ROM I am using is not listed in his downloads.
I now show the following on Titanium Back-up OVerviewwhich is puzzling
Internal: 152 MB (89.6 MB Free)
SD card: 0 MB (0 MB Free)
SD card (as2sd): 479 MB (396 MB Free)

arcybarrios said:
I have tried searching for answeres with no avail. I keep getting a low on space notification often and cannot understand for the life of me why this is.
When I rooted the phone I installed CM6 Rom. I didn't like it and decided to simply change Roms installing SLIDE-Reloaded v1 (I did a wipe data/factory reset and a wipe Dalvik Cache prior to installing new ROM)
I am looking at my Titanium Backup Overview tab and says the following:
Internal: 152 MB (15.3 MB Free)
SD card: 7.93 MB (7.46 MB Free)
SD card (as2sd): 251 MB (36 MB Free)
My logic tells me I have PLENTY of memory left on a 512 MB ROM phone (looking at the above figures) but the phone swears it doesn't have enough space.
What does the above info mean exactly? How can I solve the issue?
thanks guys
Click to expand...
Click to collapse
You are looking at the phone's ROM, the phone has access to about 416MB RAM(random access mem) which is used for active/bg/fg apps...But they arent saved there, you have RAM on your pc-the progs are saved on the HDD(which is like a phone's rom aka int memory). the slide divides the space b/t cache/system/data/etc....The slide can only use ~145MB of the storage for apps.

arcybarrios said:
Ok so...
1. Did a Clockwork backup first
2. I backedup SD card by doing a simple copy paste to my PC
3. I then partinioned the phone via Rom Manager choosing 512 MB in the first option and 256 in the second (was that right?)
4. Copy pasted backup back to SD card
5. transfered Dalvik cache to SD smoothly
NOTE I have NOT tried the a2ext that acejoker recommended as the boot.img ROM I am using is not listed in his downloads.
I now show the following on Titanium Back-up OVerviewwhich is puzzling
Internal: 152 MB (89.6 MB Free)
SD card: 0 MB (0 MB Free)
SD card (as2sd): 479 MB (396 MB Free)
Click to expand...
Click to collapse
What rom I'm sure that one of the ones uploaded will work or your using an old Rom
Or its already built in
Sent from my T-Mobile myTouch 3G Slide using XDA App

Thank you acejoker and Ace42!!
Edit: I have no clue what happened when trying to partion the SD card a second time. I noticed that I had done it wrong the first time. I chose 512 MB for the first option and 512 for a swap. After reading several threads to check if I had done the process properly I noticed that everyone was recommending doing 5:12 and 0 for swap. So I dediced to backup SD once again to my computer and went into Rom manager to re do the process. When the phone was booting it just froze on the white screen. I took the battery out and tried turing it on again with no sucess. SOS!!!! What happened?
Edit 2: I don't think the ROM liked the partion thing with no swap. So remove the SD card and then try to boot. That should work. I learned the hard way.... did a wipe/restore factory defaults and then installed the last backup I had performed...

Is it normal that after partitioning the SD card apps stll use up internal ram?
It seems that after every app I have installed memory seems to go down from both internal and a2sd

arcybarrios said:
Is it normal that after partitioning the SD card apps stll use up internal ram?
It seems that after every app I have installed memory seems to go down from both internal and a2sd
Click to expand...
Click to collapse
So you got it working now? Great
Btw, after you partitioned the sdcard the first time did you move everything back on to the card? Not doing that could cause an issue if there are any files (for some odd reason) that your rom or a dependent app needed. Swap or no swap shouldn't be an issue, in fact a lot of people don't use any form of swap, compcache, and so on since this phone has 80MB of cache and never uses it all.
To answer your question, if you're using acejoker's a2sd method then no it's not normal, the whole app should be on the sd card but will still use ram (obviously) just not rom memory. His method is app2ext. If you're using froyo a2sd which is app2fat32, then part of the app will be on the phone and the other part will be on the sd. That's from my understanding of it. Acejoker would know best though.
Did you do the [sh a2sd reinstall] and [sh a2sd cachesd] commands after installing it?

KCRic said:
So you got it working now? Great
Click to expand...
Click to collapse
yup yup yup I got it working!! Yay me for not screwing up the phone lol.
KCRic said:
Btw, after you partitioned the sdcard the first time did you move everything back on to the card?
Click to expand...
Click to collapse
In reply to your question, yes I moved everything back to the SD the first time and it worked fine no issues. I just didn't know if there was a partition or not. But like I said, I re did the process because I had chosen swap as well (can't remember how much) and after reading multiple posts that highly recommended to set it at 0 I decided to reformat and repartition this time with 0 swap. When the phone booted it got stuck in the Android screen ..... so after reading some threads here and there, someone said to reboot the phone without the SD card and once booted to put it back in. That did it for me and have not had issues since.
I installed quick system info per some other posters recommendation to check if SD was partitioned and from what I saw it is.
KCRic said:
To answer your question, if you're using acejoker's a2sd method then no it's not normal, the whole app should be on the sd card but will still use ram (obviously) just not rom memory. His method is app2ext. If you're using froyo a2sd which is app2fat32, then part of the app will be on the phone and the other part will be on the sd.
Click to expand...
Click to collapse
According to a msg I received from him, my ROM has the a2sd and therefore I did not need the boot.img file. To be honest I am at a total lost with the last bit.I wouldn't know if I have the app2ext (I assuming this means my sd card is partioned?). All I know for sure is that I have a2sd and that when I had initially formatted my SD card I had done so in Fat32.
As an example of what I am saying; after partitioning the card I had the following:
Internal 115 MB free
a2sd: 407 free
After installing about 4 apps (give or take) I have the following:
Internal 105 MB free
a2sd: 401 MB free
KCRic said:
So Did you do the [sh a2sd reinstall] and [sh a2sd cachesd] commands after installing it?
Click to expand...
Click to collapse
ahem....from what I recall I only did the sh a2sd cachesd (which was the only thing mentioned in one of the initial posts in this thread. I don not recall doing
the sh a2sd reinstall.
Bloody noobs lol

Well I'm glad everything is up and running now. As far as the a2sd reinstall command - that might not be needed but I just posted it because acejoker mentioned it in his thread about a2sd.

what does it do exactly (the a2sd reinstall command that is)?
I have also managed to successfully deleted a lot of preloaded (crap) apps! Will post a how to for noobs

arcybarrios said:
what does it do exactly (the a2sd reinstall command that is)?
I have also managed to successfully deleted a lot of preloaded (crap) apps! Will post a how to for noobs
Click to expand...
Click to collapse
I'm not entirely sure, I'd have to ask AceJoker.

Related

[Q] Abit Of Help Please...

Am using Leedroid App2SD+ ROM and have 1gb ext with 756MB free, i have lots of apps installed but now my phone is showing low memory 15MB, so I have moved alot of the apps to SD card to try free up abit, but its not freeing up phone memory its still staying at 15MB.
Why wont all apps just use the ext? how do I get free phone memory back up again.
All help welcome thanks
All apps have to use internal /data/data folder to store libraries etc. So if you need more storage read about data2sd.
Because if you have A2SD+, then Move to SD in the application manager has no effect (apps are already on the SD Card).
Try running a cache cleaner, maybe too much cache. Possibly a2sd+ is not working properly?
I never had that much low space on LeeDroid when I was using it (had 55 apps of my own installed).
check the leedroid topic?
I read something about a memoryleak in flash what could cause the problem.
You can also move dalvik-cache to sd to free about 40MB internal memory.
Simply download terminal emulator from market, and then put su and a2sd cachesd or cachesdreset (it removes old dalvik cache from internal memory) commands.
nagypapi said:
Because if you have A2SD+, then Move to SD in the application manager has no effect
Click to expand...
Click to collapse
Oh yeah it does. It ruins everything you were supposed to get with a2sd+.
decat said:
check the leedroid topic?
I read something about a memoryleak in flash what could cause the problem.
Click to expand...
Click to collapse
Read better next time. It was regarding random access memory and not the internal storage memory.
Bartyzel said:
You can also move dalvik-cache to sd to free about 40MB internal memory.
Click to expand...
Click to collapse
He has a2sd+ with Leedroid. a2sd+==dalvik on the ext.
Sent from my HTC Desire using Tapatalk
Thanks guys for reply's.
I have no cache to clear, so it has to be data, what the best way on doing datatoSD?
I thought the rom has to support it, can I just install somethink to make this happen.
thanks again
shankly1985 said:
Thanks guys for reply's.
I have no cache to clear, so it has to be data, what the best way on doing datatoSD?
I thought the rom has to support it, can I just install somethink to make this happen.
thanks again
Click to expand...
Click to collapse
Here you have zip instalation scripts and some tutorial how to manage that:
http://forum.xda-developers.com/showpost.php?p=10692249&postcount=1299
Remember that you will lost your apps! Backup them by Titanium Backup (I don't think that backup and recovery by nandroid it is best solution if you are messing with symlinks and /data partition).
Bartyzel said:
Here you have zip instalation scripts and some tutorial how to manage that:
http://forum.xda-developers.com/showpost.php?p=10692249&postcount=1299
Remember that you will lost your apps! Backup them by Titanium Backup (I don't think that backup and recovery by nandroid it is best solution if you are messing with symlinks and /data partition).
Click to expand...
Click to collapse
I have made my mind up am changing rom, just ordered 16gb class 4 PNY sd card.
going to use starburst ROM, if Leedroid end up fully supporting data2sd ill go back because I love that ROM
shankly1985 said:
.......if Leedroid end up fully supporting data2sd ill go back because I love that ROM
Click to expand...
Click to collapse
I never had any issues like yours when I used Lee droid A2SD and had installed a lot of apps. Just make sure that you have not moved the apps in the app manager to the SDCard as this only movers them out of the Ext partition and in to the FAT32 partition.
I would give Leedroid another shot with your new SDCard.
Sent with Desire.
angusc said:
I never had any issues like yours when I used Lee droid A2SD and had installed a lot of apps. Just make sure that you have not moved the apps in the app manager to the SDCard as this only movers them out of the Ext partition and in to the FAT32 partition.
I would give Leedroid another shot with your new SDCard.
Sent with Desire.
Click to expand...
Click to collapse
I think I have just filled it lol got 75 apps but most of them are games big files, ill give starburst a go liking the sound of this ROM and if its true I should never fill the memory, if it not good ill go back to leedroid but start fresh format everythink.
With my old partition I did make it on windows like, so maybe thats whats happened, I am going to use gparted next time.

[Q] A2SD+ and low internal memory

I haven't found really good explanation on forum and most of post on this seems not to be answered so I'm posting to see if I can get this sorted.
I used Leedroid, InsertCoin, and now on GingerVillian now. All of them had same setting of 500MB ext partition. Problem is I always seems to get low internal memory no matter what ROM I use. Currently I have 394MB free SD-EXT and 16MB Internal.
I moved adobe flash to SD card which seems to free up space and Dalvik Cache is on SD-Ext.
So question is why even though I have lot of EXT space left is it not being used and is there way to make it use it more instead of internal memory?
jinius said:
I haven't found really good explanation on forum and most of post on this seems not to be answered so I'm posting to see if I can get this sorted.
I used Leedroid, InsertCoin, and now on GingerVillian now. All of them had same setting of 500MB ext partition. Problem is I always seems to get low internal memory no matter what ROM I use. Currently I have 394MB free SD-EXT and 16MB Internal.
I moved adobe flash to SD card which seems to free up space and Dalvik Cache is on SD-Ext.
So question is why even though I have lot of EXT space left is it not being used and is there way to make it use it more instead of internal memory?
Click to expand...
Click to collapse
App2SD is flawed because of this, say you have an app 20mb, 15mb would be put on to the SD card and the rest go's to internal, so you will still use up space and in the end will have to start uninstalling.
Best way is to use a Rom with data2SD witch give's you 2gb internal memory.
Sent from my HTC Desire using XDA App
I have the same problem... I hate it , i have 1 gb for sd-ext3 and i cant enjoy it !
Any ideas ?
wska said:
I have the same problem... I hate it , i have 1 gb for sd-ext3 and i cant enjoy it !
Any ideas ?
Click to expand...
Click to collapse
Data2SD RoM problems solved
One could also flash a new hboot which increases the size of the /data-partition. However you need s-off for this and it's imho riskier than flashing a rom with data2sd. Whereas i work with a2sd + cm7 hboot and i am very happy it.
Desire with Cool Sensation v7
Hi,
I have this problem too. but it is not our choice to choose the data2sd instead of app2sd because it depend on what the ROM support.
Previously I use App2sd+ from ModaCo ROM. I have 200+ apps and it take the internal memory nearly full but sd-ext space just half.
I tried the Data2sd for Desire is only SuperNova with HTC Sense and it work in 1Gb sd-ext. BUT it uses Sense 2.1.
I just try Sense 3 from Cool Sensation v7 ROM. I love it and dont want to revert back to previous Sense It have 3D home screen, cool weather animation, SMS secure lock. However this ROM still use app2sd. I cannot post to the thread, I dont have enought post count.
I try some other way to apply Data2sd into this ROM but I got boot loop.
After few days I use this ROM, my internal memory almost full (15mb free) for only 57 apps even the app2sd symlink-ed /data/app, /data/app-private, /data/dalvik-cache and /system/app into sd-ext!
Expert please help me and give me some idea.
Do I need to symlink /data/data into sd-ext manually?
Is it possible to remove app2sd in the ROM and install Data2sd? How?
Data2sd require busybox, init.d and ext4 kernel support. I think this ROM have all this thing.
HTC Desire
Hboot S-Off with Revolutionary
4ExtRecovery
Cool Sensation v7 ROM
8Gb Class 2 sd card with Fat32 + 1Gb ext4
And have some basic in Linux shell
I can 100% get my head around this either, although i did install some apps and i could really tell if it was on Internal or EXT4.
From my understanding, as far as the phone os, it thinks apps are on Internal and will decrease the size counter, but apps are on EXT4 if you use a file manager etc.. but even if all goes to EXT4, we still get that annoying LowDisk message was it get to 15megs...
I still was convinced, but i accidently decided i wanted to format my FAT32 partition, mainly to get rid of all the junk that on there since STOCK Rom. I used the Phone own Format SD Card option.
Well that was fun (NOT!!) it instead formatted the EXT4 and not the FAT32, when i rebooted all the loaded apps that were on EXT4 were now gone.
Phone still works, but one side effect of this is now i have like 270megs free....lol, granted no wallpaper, lockscreens etc,
anyway seeing as i screwed up and that im already S-OFF, im going to just go with CM7r2 HBoot.
Similar issue - I think?
Hi all, my first post here
So I have been working my way through all the error messages and guides and finally have InsertCoin set up. All is looking good except after Titanium Backup restored all my apps my internal memory is as full as before I rooted the phone, so I think I can safely say that the 2gb I partitioned off on my SD is not getting ay use at all? Is there a way I can check?
For the record I am running with AmonRa, and I used Revolutionary to get s-Off. The guide I followed to set up A2SD did not have me using any Terminal commands, so I am guessing that is an area for me to explore in solving this, here is the guide I used (near the end)
/myhtcdesire.com/modding/how-to-install-a-custom-rom-on-your-htc-desire
I used that method as i am on a borrowed mac and it just seemed easier. I
I am hoping there is an easy fix that someone can suggest.
hoads1234 said:
Hi all, my first post here
So I have been working my way through all the error messages and guides and finally have InsertCoin set up. All is looking good except after Titanium Backup restored all my apps my internal memory is as full as before I rooted the phone, so I think I can safely say that the 2gb I partitioned off on my SD is not getting ay use at all? Is there a way I can check?
For the record I am running with AmonRa, and I used Revolutionary to get s-Off. The guide I followed to set up A2SD did not have me using any Terminal commands, so I am guessing that is an area for me to explore in solving this, here is the guide I used (near the end)
/myhtcdesire.com/modding/how-to-install-a-custom-rom-on-your-htc-desire
I used that method as i am on a borrowed mac and it just seemed easier. I
I am hoping there is an easy fix that someone can suggest.
Click to expand...
Click to collapse
To check if a2sd is working, open terminal emulator and type
Code:
su
ls -l /data
Output should say (for a2sd):
Code:
app -> /sd-ext/app
app-private -> /sd-ext/app-private
Additionally for a2sd+:
Code:
dalvik-cache -> /sd-ext/dalvik-cache
If it does not show this, a2sd is not working. So make sure you partitioned sd card correctly (fat32 + ext; both primary).
CallMeLaNN said:
Hi,
I have this problem too. but it is not our choice to choose the data2sd instead of app2sd because it depend on what the ROM support.
Previously I use App2sd+ from ModaCo ROM. I have 200+ apps and it take the internal memory nearly full but sd-ext space just half.
I tried the Data2sd for Desire is only SuperNova with HTC Sense and it work in 1Gb sd-ext. BUT it uses Sense 2.1.
I just try Sense 3 from Cool Sensation v7 ROM. I love it and dont want to revert back to previous Sense It have 3D home screen, cool weather animation, SMS secure lock. However this ROM still use app2sd. I cannot post to the thread, I dont have enought post count.
I try some other way to apply Data2sd into this ROM but I got boot loop.
After few days I use this ROM, my internal memory almost full (15mb free) for only 57 apps even the app2sd symlink-ed /data/app, /data/app-private, /data/dalvik-cache and /system/app into sd-ext!
Click to expand...
Click to collapse
I used Cool Sensation v7 but didn't have this problem until I flashed the newer v9 (just noticed v10 has been posted today though). My internal memory was very low but I then flashed the Dalvik to sdext.zip from the Cool Sensation thread and then had 180MB internal free. Try that and see if it works. If it doesn't, have you aligned your SD ext using the .zip on the same thread? if not this could be why your having problems, though it didn't work for me.
Thanks for the ideas, I was a bit out of my depth with the Mac SU functions, so although i didn't get the desired feedback you suggested, but it could have been me. So anyway I found a Ubuntu machine and plugged in the SD card in an adapter and can see that there is a successful partition, and that the EXT partition seems to have some files and folders in it.
I have also just noticed that the SD cards partitions also appear in the Titanium Backup overview screen.
So i guess my problem is that the memory is just full! Maybe my expectations of extra memory after rooting were unrealistic. ?
For the Record, just to make sure my situation is normal, in Titanium I see
System ROM - 262MB (129MB free)
Internal - 158MB (15MB free) - is this just a section of system ROM above?
SD CARD - 13.8GB (11GB free)
SD Card (a2sd) - 1.9GB (1.5GB free)
@xybadog this is my update,
@hoads1234 just want to share with you,
I use Cool Sensation v7, the internal memory full can be solved by flashing the additional zip for stock hboot but I flash non stock hboot. Why?
After some studying, now I know why expert keep asking for my hboot. Hboot define the data partition. On the phone memory, it divided into system, cache and data partition. the hboot define the partition size. For stock hboot, you will only have 147Mb for HTC Desire. Whatever the custom ROM symlink'ed some data partition, we stuck on 147Mb. If you flash like CM7r2 hboot, you will get more room (300+Mb) on data but just enough for system. "Internal memory" is referring to data partition.
Now I still have 130Mb free internal memory after installing 90 apps without wiping any cache for about 2 weeks.
I dont have Ubuntu even I know how to use it. No time to install or make virtual machine. To partition your sdcard easily without linux, use 4ExtRecovery. It is CWM based recovery plus support for Ext4 and some features like partitioning, check for aligned sd-ext and mount as disk drive.
To check for your current internal partition. boot into recovery, and use ADB to run command "df -h". The /system /data and /cache is the thing you need to look for.
You could use the cyanogenmod rom, then install s2e app from market. That app is designed purely for use with cyanogenmod. I use this combo, I have a huge amount of apps installed and still 50mb of internal space free. No need for changing your hboot or using data2sd rom. Very simple fix
Sent from my CM7.1 Desire using XDA Premium App
okay thanks, I am still happy having a go with InsertCoin, so I will have a look at the hboot.
I think i read somewhere that i could do it just like adding a new ROM and copying a zip file across, so time for some more forum reading to work my way through this next step.
http://forum.xda-developers.com/showthread.php?t=1110921
okay here is my update, since in have revolutionary hboot, i tried to change to alpharev, so i could use their modified partition tables (found no reference of being able to do this in Revolutionary) - the folks on alpharev irc said not to, but didn't say why.
I did try and use the unrevoked tool to flash AmonRa across again, but this had a waiting for reboot error and may have failed. I have also reflashed my ROM again after a full wipe a couple of times. Not finding any improvements in memory, so will keep fiddling.
okay next question!
I tried the terminal emulator commands (once i worked out this was an app, and not the Mac terminal..) and got the following responses
app -> /system/sd/app
app-private ->
dalvik-cache ->
so am i guessing correctly that none of the apps i download are being sent to the SD partition.
Any advice to get app-private directed to my sd card?
hoads1234 said:
okay next question!
I tried the terminal emulator commands (once i worked out this was an app, and not the Mac terminal..) and got the following responses
app -> /system/sd/app
app-private ->
dalvik-cache ->
so am i guessing correctly that none of the apps i download are being sent to the SD partition.
Any advice to get app-private directed to my sd card?
Click to expand...
Click to collapse
I suggest you use ADB instead of terminal emulator because easy to type in PC.
Install Android SDK make ADB shell to work and connected to your device. The shell is just the same what you need to do in terminal emulator.
To move app private and dalvik cache simply make symlink like this:
Code:
busybox cp -a /data/dalvik-cache /system/sd/
rm -rf /data/dalvik-cache
ln -s /system/sd/dalvik-cache /data/dalvik-cache
The first will move all contents, the second will remove the existing original dalvik-cache folder. and the third one will make symlink to point from original location to the sd partition.

[Q] Question about Sense Roms

I was hoping for some help..or even a point to the correct thread to find the answer:
How can one install any of the newer sense 3.0+ roms and still keep all apps without the phone crashing? The roms are easily between ~250 - 350 mb in size and there is no room left over for apps that I have saved in back up. I know I can move them to the sd card but I never get the chance to once i restore them due to the phone crashing. I have read about formatting the sd card but I really don't know how.
Is there someplace I can find this?
Thanks in advance
http://forum.xda-developers.com/showthread.php?t=1121538
So I followed the guide and it worked perfectly. The roms finally work and don't crash. However, now I only have about 20 - 40 mb free. I try to move my apps to the sd card using the function that comes with the rom, but it says my sd card is full. I have about 6 gb free on my card. Any idea why that's happening or how I can get around that?
Thanks again
Unfortunately this is just an inherent flaw of the Evo; the internal space is so small that you can't really enjoy a big Sense rom that uses 3.0 features and have a lot of apps. Only way to get all the room back is to flash a smaller rom.
Format your SD card with an ext3 partition. Make it 1gb or whatever size you desire. Most Sense ROMs support a2sd where it tricks the phone into thinking the ext3 partition is part of the phone internal storage. You can install as many apps as you want with the apps stored on the SD.
Thanks for the replies. I've formatted the sd card in ext3 and made it 2 gb. I wish it had more internal space. Any idea why its saying my sd card is full when I have over 6gb left of free space?
Are you using dark tremors a2sd?? If not flash that and do the following commands in terminal emulatior: a2sd install, a2sd datasd, a2sd cachesd, a2sd cachepart. Make sure you type su first
I get about 100 MB free after this
Sent From way down Bikini Bottom
sharkboy0901 said:
Are you using dark tremors a2sd?? If not flash that and do the following commands in terminal emulatior: a2sd install, a2sd datasd, a2sd cachesd, a2sd cachepart. Make sure you type su first
I get about 100 MB free after this
Sent From way down Bikini Bottom
Click to expand...
Click to collapse
I wouldn't do all of this unless you have at least a class 6 or higher sdcard.
Definitely use dark tremors a2sd. Search for dta2sd.
If you partitioned your card to ext3, It should work automatically, but use the a2sd install command, just in case.
You can use the other commands, but you shouldn't need to. They move the cache partition including the dalvik cash to the ext3 partition, and if your card isn't fast enough, it will create lags, and other issues.
Make sure to wipe cache and dalvik before/after you flash dta2sd.
Sent from my PC36100 using Tapatalk

Apps2sd

my ROM is a apps2sd ROM. Ext sd is reporting use, i.e. I set 1g of ext and storage says 658mb of ext is free. But in applications my apps give me the choice to Move to SD! ?
I used TB pro to batch move apps to SD but altho my apps now report they are on SD. Ext usage actually went down after the move. Am I confusing Apps on Sd / ext ? So on roms with default apps2sd you ignore in applications that they appear to be on internal mem?
Sent from my HTC Desire using XDA App
Yes ignore it. You've just moved your apps from ext to fat. Read the root memory faq in my signature
Sent from my HTC Desire using XDA App
I've some A2SD questions as well. I'm on CM7 with several apps already installed. My 4GB SD card has already been partitioned to 3GB FAT32 and 1GB ext4.
I was getting low memory warnings so I applied the darktremors script (stable, not nightly) expecting it to automatically move my apps to the sd card like your a2sd guide said it would. However, I still got low memory warning, so I manually moved the app to sd card using manage applications. This however moved the apps to the FAT32 partition, and several of my apps suh as my clock widget and swype no longer work.
How to I get my existing apps to move to the SD card's ext4 partition?
They need to all be moved to phone.
The apps should automatically move to ext download quick system info to check a2sd is working.
If its not try "a2sd reinstall" from terminal emulator.
Dalvik-cache is not moved by default and takes up a whole load of space so don't forget "a2sd cachesd" too
Sent from my HTC Desire using XDA App
OK, I thought the a2sd would move existing apps as well, didn't know I needed to "a2sd reinstall". Can I do the reinstall through an adb shell or do I need to download a terminal emulator?
I don't have a Class 4 card, it's a generic card and I don't know what class it is, so should I move the dalvik-cache to the cache partition using "a2sd cachepart" rather than "a2sd cachesd"?
Do I need to wipe cache and dalvik-cache before running any a2sd commands such as reinstall and cachesd/cachepart?
Lastly, do I need to reboot the phone after running these commands?
Thanks.
goister said:
OK, I thought the a2sd would move existing apps as well, didn't know I needed to "a2sd reinstall". Can I do the reinstall through an adb shell or do I need to download a terminal emulator?
I don't have a Class 4 card, it's a generic card and I don't know what class it is, so should I move the dalvik-cache to the cache partition using "a2sd cachepart" rather than "a2sd cachesd"?
Do I need to wipe cache and dalvik-cache before running any a2sd commands such as reinstall and cachesd/cachepart?
Lastly, do I need to reboot the phone after running these commands?
Thanks.
Click to expand...
Click to collapse
Ive never seen any performance issues even on class 2 cards. Keeping dalvik on NAND may give a miniscule performance increase, but I think its so negligible, you wont notice. But put it where you want. I recommend card though as you need the cache partition for downloads and as it fills with dalvik, it will limit the size of apps you can download from the market.
a2sd reinstall is for if it doesn't work properly. Its always the first thing to try. Then move dalvik. The way dalvik move works is that it wipes dalvik, moves the location then reboots the phone (rebuilding dalvik so expect delays when booting up the first time). For this reason its best to use "terminal emulator" from the market.
Hope this helps.
Alright, thanks! Will try reinstall and moving dalvik cache to the sdcard. Might get a new faster card since 4GB is getting tight anyway.
Tried the reinstall and it seemed to work. I had to move my apps back to the internal memory in 2 batches since I was running out of internal memory. So here's what I did
1. Move batch 1 of apps from sdcard back to internal memory
2. Run a2sd check in adb shell
3. Run a2sd reinstall in adb shell
4. After phone rebooted, checked my storage to find about 50MB of internal space left (woohoo!)
5. Move batch 2 of apps from sdcard back to internal memory
6. checked my storage to find still about 50MB of internal space left. I guess this means a2sd automatically moved them to the sd-ext partition?
When I ran a2sd check in step 2, the output showed that my ext partition type was ext2 rather than ext4 which I formatted the sd-ext partition to. Is this a mistake?
Will try moving dalvik-cache perhaps this weekend.
Are there any benchmarks I can run on the sdcard to make sure it's fast enough for dalvik-cache? Perhaps HDTach/CrystalDiskBench/ATTO/AS-SSD Bench/etc? There aren't any markings on the sdcard that indicates its class. It's a generic HP 4GB sdcard. Will a "dd if=largefile of=/dev/null" for read and a "dd if=largefile1 of=largefile2" for write work?
I've never known a card too slow for dalvik. Just move it. You can move it back again
Sent from my HTC Desire using XDA App
I believe the ext2 is due to some error with a2sd check. I encountered it too when i used the command and i was using an ext4 partition.
As for dalvik, try moving it. If it too slow then move it back.
itachi1706 said:
I believe the ext2 is due to some error with a2sd check. I encountered it too when i used the command and i was using an ext4 partition.
As for dalvik, try moving it. If it too slow then move it back.
Click to expand...
Click to collapse
Sorry, yes its a bug, fixed apparently in the latest BETA.
Don't think I'll be playing with the phone for a while - it's my wife's phone, and it took almost a week for me to figure things out and start from stock to CM7 with A2SD...now it's relatively stable with quite a bit of internal memory available, so I think I'll keep it that way for a while.
Thanks for all the help!
Hello rootsu,
i installed a Data++ rom and now some applications that i install, not from market, disappear after a reboot. From the market it is fine but if i put a .apk in the card and install it, disappear after reboot. Not all of them. Only some of them.
I have a aura sygic gps and this is one of them that disappear after install. The only way that doesn't is to move to the card. And another one, that doesn´te have the option to move to the card, disappear after reboot.
I already wipe dalvik cache, wipe everytnhig, rom install again, etc...
What's the problem? Do you now? I've searched a lot but i cant find anything.
That's a new one on me.
Install, take titanium backup, boot recovery, factory reset, format /data, titanium restore?
Sent from my HTC Desire using XDA App
Thanks, rootsu.
And when i go to install again, say that this will replace another application.
I already made a backup, when i have stock, and restore it and happens the same.
What to do?
Edit: I do a backup, only the application, with titanium, and when restore it and say error and dont restore the application.
Hello rootsu,
i modify de hboot to sense and all problems gone. Its good now. I think thats a problem with a Hboot Data++.
Thanks.
Ah maybe yes. Good work
Sent from my HTC Desire using XDA App
Hello rootsu,
i install hboot sense and Leedroid 3.3.3 and works fine, but i have a question about cache file system. Why my cache system space is 202mb? In the AlphaRev 1.8 page the hboot sense as 40 mb. I dont understand.
The cache system space is from sdcard memory or memory phone?
Thanks
Although I am not rootSU, I feel free to answer:
I am pretty sure it uses space of SD Card. Using internal memory would be a little strange, especially we are talking about 160 MB here.
SwiftKeyed from CyanogenMod with Transparent XDA App
MatDrOiD said:
Although I am not rootSU, I feel free to answer:
I am pretty sure it uses space of SD Card. Using internal memory would be a little strange, especially we are talking about 160 MB here.
SwiftKeyed from CyanogenMod with Transparent XDA App
Click to expand...
Click to collapse
Thanks MatDrOiD.

[Q] a2sd problems on ICS

Hey,
I've been using ICS (beta 0.4.2.1 now, beta 0.3.9 previously) and none of the a2sd scripts seem to be working. I tried to use the one you have to activate through adb, and today when I updated to 0.4.2.1 I chose another one from the installer. My phone still reports 148 MB of internal storage...
I've had a thorough search of similar threads, but you know how difficult it is to find any meaningful information on this forum; can someone please point me in the right direction? Thank you!
I flashed ICS and installed the bundled a2sd script and it worked like the script on Insertcoin. That is the system still displayed the data partition size of my hboot but the SD ext4 partition was utilised for apps. If you have titanium backup you can see the data usage on the home screen.
I also flashed amarullz script. This script did change the reported internal memory to my SD card partition size. I did not use it long so I can't comment on how it runs on s class 4 SD card.
Sent from my HTC Desire using XDA
You did not understand how A2SD works. It moves all apps (with A2SD+ also dalvik-cache) you install automatically to an EXT-partition (some of their data still remain in internal memory). But it does not increase / decrease the size of internal memory.
If you want to change the size of internal memory, you have to use a script which moves the whole /data-partition to an EXT-partition. The size of this partition is then the size of your internal memory. The name of this scripts is DATA2SD / DATA2EXT.
Sent from my HTC Desire using Tapatalk
Please use the Q&A Forum for questions &
Read the Forum Rules Ref Posting
Moving to Q&A
Did you ever get a fix for your problem?
I have something similar. Was running 0.3.9. and decided for a couple days ago to upgrade to a newer edition. Wiped data/factory reset, wiped cached and dalvik-cache, and installed the new version.
Used stock everything, activated a2sd and tried to start and install some apps from google play. Got a message that it was not sufficient space.
Did get titanium installed, and that reports the different "drives" correctly, but I still don't get it to work as it should. If I try to install from play, it says not sufficient space, even if I try to restore from titanium, still no luck.
Anyone got any ideas?
Start Terminal. Type:
su
a2sd install
yes (move dalvik-cache)
no (don't move appdata) (yes will make device slower)
yes (restart)
After reboot you have more space, but don't see it.
Start terminal
su
a2sd diskspace
gives the size of your sd-ext and how much is used
arsvendg said:
If I try to install from play, it says not sufficient space, even if I try to restore from titanium, still no luck.
Click to expand...
Click to collapse
Same problem here. I tried to wipe caches and even recreated the partitions but still no luck with the stock a2sd.
robla1000 said:
Start Terminal. Type:
su
a2sd install
yes (move dalvik-cache)
no (don't move appdata) (yes will make device slower)
yes (restart)
After reboot you have more space, but don't see it.
Start terminal
su
a2sd diskspace
gives the size of your sd-ext and how much is used
Click to expand...
Click to collapse
Just wondering. Isn't the whole idea with the as2d to move the appdata to the sd-card?
arsvendg said:
Just wondering. Isn't the whole idea with the as2d to move the appdata to the sd-card?
Click to expand...
Click to collapse
App and appdata are different things:
The App it's the "core" and are loaded in the RAM when you start them, so if you move them to sdcard you get a slowdown only on the boot of the app itself
The Appdata it's the data created and used by the program to run, likes databases and so; if you move it to the sdcard you get a slowdown 'cause the program continuosly try to access it.
someone correct me if I'm wrong, i'm still learning the stuff
Long story short: normal A2SD+ methods (like DarkTremor or m2sd) only move a part of /data, linking the files; you will NOT see the increased space but your Apps will occupy less memory.
Data2sd method like data2sd or Amarullz A2SDX will "swap" the ext space with the internal data memory, giving you a visible increase in your internal space.
TL;DR if you have a fast SD card you can go for the latter, else stick to m2sd wich is a new and good method to move application!
For partitioning, I suggest you to use 4ext touch recovery, you can install it on your phone from 4ext.net and flash your new recovery directly from your phone (you need to have S-OFF!); after you have your new recovery flashed:
make a backup of your SD card data (you have to format it)
Reboot in recovery
Go to "Tools"
"partition sd card ->"
"Remove all partitions and start from scratch"
Now you have to set, in order, you primary ext dimension, your secondary ext dimension and the swap dimension
I usually go for - 1st ext: 1024 -2nd ext: 0 - swap: 0
Select ext4 for your first ext partition
Now you are ready to use wathever a2sd method you want.
Hope this will help you!
Regards,
Ryther
Ahh I'm just going to leave this here.
All the ICS Devs have done a great job - Kudos to them.
But if you want a bugfree ROM which works well, for now - GIVE UP on ICS.
Go back to CM7 - it'll do you good.
Don't give up on ICS because SOME people have issues. I've ran an ICS build with a2sd working just fine no bugs whatsoever. I have not tried a data2ext script on an ICS build though so I don't know about that.

Categories

Resources