[Q] Manage apps location with A2SD

theboss1er

Member
May 17, 2010
11
0
0
Hi guys!

I'm here to ask for help ^^

I have my HTC Desire root and S-OFF with the CM7-R2 Hboot.

But I'm struggling with the A2SD script installed by default on the LeeDrOiD HD V3.3.3-Port-R5.

Everything works great except that the A2SD can't be managed manually.

I explain :

I have about 80 apps and the ROM is DATA++ on the CM7-R2 Hboot

So, I have a 288 MB of internal memory and 0.94 MB of A2SD memory

The thing is that, little by little, when I install apps both internal and sd-ext memory decrease... By now, I only have 25 MB left on the internal memory whereas it remains 484 MB on the sd-ext one!...

And it comes a moment where I have under 15 MB free on the internal memory and I no longer can install apps...

My question is : Is it possible to manage the memories and move some apps on the internal memory to the sd-ext? (because I think the point of such a script is to free some internal memory right?)

Thanks in advance for your answers ;)

Bye!

PS: excuse my language, I'm not a native english speaker :)
 

MatDrOiD

Senior Member
May 6, 2011
3,048
631
0
Halle (Saale) + Langelsheim
If you installed A2SD correctly, all apps you install will be moved to EXT partition automatically. So to make sure A2SD is working, do the following:
Get a terminal emulator, open it and enter
Code:
su
ls -l /data
Now post the output here.


SwiftKeyed from dGB with Transparent XDA App
 

theboss1er

Member
May 17, 2010
11
0
0
Hi!

This is what I get:


# export PATH=/data/local/bin:$PATH
# ls -l data
total 30
lrwxrwxrwx 1 0 0 14 Oct 31 20:47 app -> /system/sd/app
lrwxrwxrwx 1 0 0 22 Oct 31 20:47 app-private -> /system/sd/app-private
drwx------ 1 1000 1000 2048 Oct 31 22:55 backup
drwxrwx--x 1 1000 1000 2048 Oct 31 20:47 dalvik-cache
drwxr-xr-x 1 0 0 2048 Oct 31 20:39 data
drwxr-x--- 1 0 1007 2048 Oct 31 20:47 dontpanic
lrwxrwxrwx 1 0 0 11 Oct 31 20:47 drm -> /data/local
drwxr-xr-x 1 0 0 2048 Oct 31 20:39 etc
drwxr-xr-x 15 0 0 0 Oct 31 22:54 htcfs
drwxr-xr-x 1 2000 2000 2048 Oct 31 20:47 local
drwxrwx--- 1 0 0 2048 Oct 31 20:47 lost+found
drwxrwx--t 1 1000 9998 2048 Nov 1 00:06 misc
drwxr-xr-x 1 0 0 2048 Oct 31 22:56 property
drwx------ 1 1000 1000 2048 Oct 31 20:47 secure
drwxrwxr-x 1 1000 1000 2048 Nov 1 00:03 system
-rw-r--r-- 1 0 0 5943 Oct 31 22:55 zipalign.log
#

The app data seems to be linked to the EXT partition but my internal memory keeps decreasing...

Hope it'll help to solve my problem ;)

Thank you

Cheers!
 

MatDrOiD

Senior Member
May 6, 2011
3,048
631
0
Halle (Saale) + Langelsheim
Output shows A2SD is working correctly.
lrwxrwxrwx 1 0 0 14 Oct 31 20:47 app -> /system/sd/app
lrwxrwxrwx 1 0 0 22 Oct 31 20:47 app-private -> /system/sd/app-privat
The reason why your internal memory decreases are:
1.) Dalvik cache is on internal memory
2.) Even if one is using A2SD, some app data is still stored on /data. That's how it is.

But it will help a lot when you move dalvik cache to ext. You do this by flashing this script from leedroid's thread page in recovery:
http://leedroid.ftp.rshost.eu/Bravo_Addons/Move-Dalvik-to-sdext.zip

This will minimise the decreasing of your internal memory very much.
 
  • Like
Reactions: theboss1er

Bobbi lim

Senior Member
Dec 22, 2012
2,609
1,690
193
Singapore
Output shows A2SD is working correctly.

The reason why your internal memory decreases are:
1.) Dalvik cache is on internal memory
2.) Even if one is using A2SD, some app data is still stored on /data. That's how it is.

But it will help a lot when you move dalvik cache to ext. You do this by flashing this script from leedroid's thread page in recovery:
http://leedroid.ftp.rshost.eu/Bravo_Addons/Move-Dalvik-to-sdext.zip

This will minimise the decreasing of your internal memory very much.
I've to flash the .zip before or after flashing the rom and it's radio?