Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
SchmediumTux
Old
#1  
SchmediumTux's Avatar
Member - OP
Thanks Meter 8
Posts: 50
Join Date: Mar 2010
Location: Orange Beach
Default A2SD with FRESH 2.0d

This may be a super n00b question, but I previously ran a MoDaCo ROM, and was able to use the A2SD instructions from code.google.com to get my apps to store to the SD. Today I upgraded to Fresh 2.0d, (which is awesome btw) and no matter what I do, it seems that downloading apps keeps using my system memory. here is the output of busybox df -h

Filesystem Size Used Available Use% Mounted on
tmpfs 95.5M 0 95.5M 0% /dev
tmpfs 4.0M 4.0K 4.0M 0% /sqlite_stmt_journals
/dev/block/mtdblock3 170.0M 135.4M 34.6M 80% /system
/dev/block/mtdblock5 159.5M 60.2M 99.3M 38% /data
/dev/block/mtdblock4 130.0M 1.1M 128.9M 1% /cache
/dev/block/mmcblk0p2 677.4M 71.4M 569.9M 11% /system/sd
/dev/block//vold/179:1
2.9G 2.1G 788.2M 73% /sdcard

Is there a step that I'm missing somewhere? My use% on the /data partition seems to keep going up.

Thanks in advance for the help!!
 
unCoRrUpTeD
Old
(Last edited by unCoRrUpTeD; 3rd April 2010 at 06:13 AM.)
#2  
unCoRrUpTeD's Avatar
Senior Member
Thanks Meter 207
Posts: 1,703
Join Date: Mar 2010
Location: Fort Worth, TX

 
DONATE TO ME
See next comment
 
SchmediumTux
Old
#3  
SchmediumTux's Avatar
Member - OP
Thanks Meter 8
Posts: 50
Join Date: Mar 2010
Location: Orange Beach
Quote:
Originally Posted by &RoidRage View Post
See next comment
I'm sorry, I don't understand.
 
tkirton
Old
#4  
Senior Member
Thanks Meter 208
Posts: 2,029
Join Date: Jul 2009
Location: Katy Texas
Quote:
Originally Posted by SchmediumTux View Post
This may be a super n00b question, but I previously ran a MoDaCo ROM, and was able to use the A2SD instructions from code.google.com to get my apps to store to the SD. Today I upgraded to Fresh 2.0d, (which is awesome btw) and no matter what I do, it seems that downloading apps keeps using my system memory. here is the output of busybox df -h

Filesystem Size Used Available Use% Mounted on
tmpfs 95.5M 0 95.5M 0% /dev
tmpfs 4.0M 4.0K 4.0M 0% /sqlite_stmt_journals
/dev/block/mtdblock3 170.0M 135.4M 34.6M 80% /system
/dev/block/mtdblock5 159.5M 60.2M 99.3M 38% /data
/dev/block/mtdblock4 130.0M 1.1M 128.9M 1% /cache
/dev/block/mmcblk0p2 677.4M 71.4M 569.9M 11% /system/sd
/dev/block//vold/179:1
2.9G 2.1G 788.2M 73% /sdcard

Is there a step that I'm missing somewhere? My use% on the /data partition seems to keep going up.

Thanks in advance for the help!!
1. Remount the drive by typing this command: adb remount
2. Enter the phone shell: adb shell
3. Type ls -l /data to get a directory listing of /data
4. Look for an entry named app. If the following is to the right of the entry, a2sd is running: "-> /system/sd/app"
5. If not, type the following commands:
cp /data/app/* /system/sd/app
cp /data/app-private/* /system/sd/app-private
rm -r /data/app
rm -r /data/app-private
ln -s /data/app /system/sd/app
ln -s /data/app-private /system/sd/app

That should, hopefully, fix your issue.

 
SchmediumTux
Old
#5  
SchmediumTux's Avatar
Member - OP
Thanks Meter 8
Posts: 50
Join Date: Mar 2010
Location: Orange Beach
Wow.. Thank you sooo much. I'm still in the early learning stages of Linux and android, so I needed that direction. I really appreciate you taking the time to help me out^^
 
ABNinja
Old
#6  
Junior Member
Thanks Meter 0
Posts: 29
Join Date: Dec 2007
Quote:
Originally Posted by tkirton View Post
1. Remount the drive by typing this command: adb remount
2. Enter the phone shell: adb shell
3. Type ls -l /data to get a directory listing of /data
4. Look for an entry named app. If the following is to the right of the entry, a2sd is running: "-> /system/sd/app"
5. If not, type the following commands:
cp /data/app/* /system/sd/app
cp /data/app-private/* /system/sd/app-private
rm -r /data/app
rm -r /data/app-private
ln -s /data/app /system/sd/app
ln -s /data/app-private /system/sd/app

That should, hopefully, fix your issue.
I get the results you said but yet everytime i download an app my internal memory is going down. I also cd /system/sd/app and everything I dl'ed is in there, do i need to redo my sd?
 
fixxxer2008
Old
#7  
Account currently disabled
Thanks Meter 90
Posts: 4,974
Join Date: Jun 2008
Location: West Michigan
Quote:
Originally Posted by ABNinja View Post
I get the results you said but yet everytime i download an app my internal memory is going down. I also cd /system/sd/app and everything I dl'ed is in there, do i need to redo my sd?
it wont help as it seems to be a bug.
 
JTOLOGY
Old
#8  
JTOLOGY's Avatar
Member
Thanks Meter 19
Posts: 95
Join Date: Jun 2008
Location: NY-NJ-FL
Default Fresh 2.0d A2SD Apps not being moved out of internal memory

I have HTC HERO, Fresh 2.0d rom, 16gb sd card and RA 1.6.2. I have partitioned sd, created ext2, converted ext2 to ext3 and installed rom and apps. All apps load and function but they are being put into internal mem and copied rather than moved to sd\apps. Memory check shows internal and sd memory decreases with installation of apps.

Here's a screen shot of my command prompt showing that Apps and Apps Private are being reassigned to sd card properly:

Microsoft Windows [Version 6.0.6002]
Copyright (c) 2006 Microsoft Corporation. All rights reserved.

C:\Users\VP>cd\

C:\>cd tools

C:\tools>adb remount
* daemon not running. starting it now *
* daemon started successfully *
remount succeeded

C:\tools>adb shell
# ls -l /data
ls -l /data
drwxr-xr-x system system 2010-04-26 10:55 tombstones
drwx------ system system 2010-04-26 10:08 backup
prw-r--r-- system system 2010-04-23 16:32 gps_nmea_fifo
-rw-rw-rw- media system 12 2010-04-26 00:04 StreamingPacketLost.txt
-rw-rw-rw- media system 2 2010-04-26 12:11 pvcodec.txt
drwxrwxr-x system system 2010-04-26 11:54 system
drwxrwx--x system system 2010-04-23 16:28 anr
drwx------ root root 2010-04-26 10:09 agent
drwx------ root root 2010-04-23 16:27 agent_htc
lrwxrwxrwx root root 2010-04-23 16:27 app-private -> /system/sd
/app-private
lrwxrwxrwx root root 2010-04-23 16:27 app -> /system/sd/app
drwxrwxrwx bluetooth bluetooth 2010-04-26 10:09 btips
drwxrwxrwx root root 2010-04-23 16:27 DxDrm
drwxrwx--x system system 2010-04-26 10:54 dalvik-cache
lrwxrwxrwx root root 2010-04-23 16:27 drm -> /data/local
drwx------ root root 2010-04-26 10:07 property
drwxrwx--x system system 2010-04-26 10:54 data
drwxr-xr-x shell shell 2010-04-23 16:27 local
drwxrwxrwx wimax wimax 2010-04-23 16:27 wimax
drwxrwx--t system misc 2010-04-26 12:10 misc
drwxr-x--- root log 2010-04-23 16:27 dontpanic
drwxrwx--- root root 2010-04-23 16:27 lost+found
# exit
exit

C:\tools>

Please let me know what I can do to get A2sd working properly on Fresh 2.0d rom whether its a manual or auto version or any other fix. I use lots of apps and I am getting low memory warning from the system.

Thanks
 
energizer1389
Old
#9  
energizer1389's Avatar
Senior Member
Thanks Meter 4
Posts: 197
Join Date: Feb 2010
Same problem here. Please help
Samsung Sprint Galaxy SIII
EVO 4G LTE
ACER Iconia A500
Surface Pro 128GB
 
troyboytn
Old
(Last edited by troyboytn; 26th April 2010 at 05:59 PM.)
#10  
troyboytn's Avatar
Senior Member
Thanks Meter 539
Posts: 1,514
Join Date: Sep 2009
Location: Knoxville
Easy fix. just flash Tkirton's Darktremor A2SD zip in recovery. Works perfectly. http://forum.xda-developers.com/showthread.php?t=670087

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

App Analytics, or the Death of the Independent App Developer

This is entry number one in a series of articles about tools for app developers, … more

Serajr Power Toggles Brings Settings to the Small App World

Ever since the introduction of multi-window with things like Cornerstone and … more

Gear Up Because it’s Time to Save Earth

*Cue Dramatic Music*Put on your red and blue latex overalls and cape because it’s time to … more