How to check if Apps2SD has been installed correctly... - Desire Q&A, Help & Troubleshooting

The following information is for those who are still unsure of whether Apps2SD has been installed and if it is working correctly after root.
Open a Terminal Editor on your phone (I currently use ConnectBot, which is available for download via the Android Marketplace, comes with hotkeys, and it's free, link <here>).
When you have the client open, type "su" to gain super user access, and then hit enter. Now type "ls -l /data" and hit enter. You should see a few lines, a couple of which should read on the far right column:
dalvik-cache -> /system/sd/dalvik-cache
app-private -> /system/sd/app-private
app -> /system/sd/app
Notice the -> indicating symlinks and the 'sd'
You can also run: busybox df -h to check the /system/sd that the folder is being used
If this output is visible to you, then Apps2SD is working properly and you have installed it correctly. You will notice that by checking Menu > Settings > SD & phone storage, there is still some internal memory going down due to cache, other data, etc, but the main apps all go on the SD card given the above result. I currently have 29 apps installed (including Google Earth, which is 22.1 MB in size itself) and my internal memory currently shows 119MB of available space.
You can perform more extensive checks by executing the following command:
ls /system/sd/app (this will list all the apps which you have installed to the SD card)
If you prefer to run it from a PC with your phone connected, then this can also be checked via ADB by installing the relevant Android SDK for your OS. Downloads for SDK versions, link <here>.
Alternatively, you can use the script (written by theboxman from MoDaCo.com), which you can run via GScript Lite to test if Apps2SD is working correctly, link <here>.

how about unlock?
thank you for the info. btw, i havent seen in the forum if there a way to unlock the Desire form a certain network. any idea? sorry i know its the wrong place to ask and post this.

Hi Mastoid,
Could you tell me how exactly to run this from PC?
I've got the whole SDK installed but no idea what i have to do...open a prompt or something? Please inform as i'd really like to check.

You need to download the Android SDK and also Java.
http://java.sun.com/javase/downloads/widget/jdk6.jsp
http://developer.android.com/sdk/index.html
Then open a command prompt in Windows, plug in your Desire (your phone does not need to be in hboot/fastboot to access adb shell).
1) Open a command prompt on your computer and cd to your adb tools directory (it will be wherever you extracted the sdk; ie, c:\android-sdk_r04-windows\android-sdk-windows\tools
2) In that window enter the following commands:
adb shell
su
ls -l /data
this should list the top 2 items as:
lrwxrwxrwx root root 2010-04-28 22:54 app-private -> /system/sd/app-private
lrwxrwxrwx root root 2010-04-28 22:54 app -> /system/sd/app
ls -l /system/sd/app (will list apps on installed to your SD Card)
Now, for final proof, type:
busybox df -h

iom_jack said:
thank you for the info. btw, i havent seen in the forum if there a way to unlock the Desire form a certain network. any idea? sorry i know its the wrong place to ask and post this.
Click to expand...
Click to collapse
Do you mean to have it sim-unlocked?
http://uk.answers.yahoo.com/question/index?qid=20100328154024AA1abkl

Great!
That worked, though the items you mention are not at the top but a couple of rows down. Busybox did show the apps installed on the SD.....ah, peace of mind
thx for the instructions!

no problem bud, glad it worked out for you
Sent from my HTC Desire using the XDA mobile application powered by Tapatalk

Question about APP2SD.....if anyone can answer
can it stop working halfway? i mean at first it really looked like apps were on SD but now it takes the flash memory instead....
i have 38m left with APP2SD

totorip said:
can it stop working halfway? i mean at first it really looked like apps were on SD but now it takes the flash memory instead....
i have 38m left with APP2SD
Click to expand...
Click to collapse
I posted a thread recently showing how to check if Apps2SD has been installed correctly and is working:
http://forum.xda-developers.com/showthread.php?t=677073

How to setup App2SD?
Anyone got a clear, easy guide on getting it working? Can you install it on the standard rooted ROM from MoDaCo? Do you need to have it cooked into a ROM?
A video or something would help but I'm interested in getting it setup incase I need to get a load of apps

î did your think i i use better terminal pro
app => system/sd/app
dalvik cache => /system/sd/dalvik cache
app private => /system/sd/ app private
so how can i have around 40mb left only?

Re: Question about APP2SD.....if anyone can answer
How many apps have you installed?
How have you partitioned your sd card? i.e. swap size?, ext2 size?
Have you applied the Apps2SD update zip?
-------------------------------------
Sent via the XDA Tapatalk App

ive got maybe 40/50apps
i partitionned , 66 cache 1280m EXT 2=> EXT3
and no update....i dont need with the latest modaco R2 custom rom do i?
im afraid to reboot everything again, spent the whole day to isntall everything
30mb left :x

Re: Question about APP2SD.....if anyone can answer
I would suggest that you apply the dalvik-cache update zip and that should hopefully fix it. Note that you should only allocate 512MB to 1024MB (max) for the ext2 size and, you do not require a swap of 66MB, it is not recommended. I have my swap set to 0MB, ext2 set to 512MB which is more than enough space for apps, and rest to FAT32.
Search google for the "Apps2SD mini guide" (found via MoDaCo website) click the link and scroll down to the bottom of page one, the update zip file is available there.
-------------------------------------
Sent via the XDA Tapatalk App

is it bad? (64 swap)
i calculated, i installed 170m worth of app. And i have "43" left (started at 138)
so , somewhere, APP2SD is working...but not verry effective

Re: Question about APP2SD.....if anyone can answer
I think it is working, run the command (ls /system/sd/app) in terminal editor in the link i posted earlier and check what apps are stored to the sd card. Also, download and install "cachecleaner" from the marketplace (free) to free up some cache space.
-------------------------------------
Sent via the XDA Tapatalk App

Re: Question about APP2SD.....if anyone can answer
You have something wrong. I have also this Rom with about 53 apps and have still 134MB free.
Sent from my HTC Desire

i installed the update.zip
i went from 38 to 53mb
then i use cache cleaner , i now have 60....
and still 170m worth of app...
so is my app2sd working in half?

Re: Question about APP2SD.....if anyone can answer
I ran the command in Su, and only the 2 app ones said sd, my dalvic cache didn't say SD card. I ran the suggested update fix but had bootloop, do I need to wipe anything first? I'm using evil 1. 0 Rom and thought it came pre app2sd. . .
Id like to get dalvic moved. . .
Thanks
-------------------------------------
Sent via the XDA Tapatalk App

Lol since thazt update zip i have no more wifi....cant start wifi it says. Great

Related

does rom manager app work with slide?

I have never used the rom manager app from clockwork but I just read it referenced in a comment about cyanogen. Since we don't have a recovery that stick (as far as I know) does this app work with the slide?
skullkandy said:
I have never used the rom manager app from clockwork but I just read it referenced in a comment about cyanogen. Since we don't have a recovery that stick (as far as I know) does this app work with the slide?
Click to expand...
Click to collapse
Yes sir, it does... support was just added for the Slide a day or so ago. Before, the Aria recovery 2.0.2.4 worked just fine.
(sidenote)....I'm now having problems with it seeing my ext partition, again...grr.
(EDIT!!!) DO NOT use the SLIDE RECOVERY IN ROM MANAGER...I flashed it and yes, it was the culprit in breaking my ext support. USE HTC ARIA file here... http://www.koushikdutta.com/2010/02/clockwork-recovery-image.html Drop the file onto the root of your sdcard, making sure to name it update (or update.zip) if you're using XP. Then create a clockworkmod folder on your sd card, then create ANOTHER clockworkmod folder inside it. Then drop the same file into this folder and name it recovery-update. You should now be able to flash to your hearts content.
jreed3786 said:
Yes sir, it does... support was just added for the Slide a day or so ago. Before, the Aria recovery 2.0.2.4 worked just fine.
(sidenote)....I'm now having problems with it seeing my ext partition, again...grr.
Click to expand...
Click to collapse
in regards to the ext partition, how do we know if it is noticing it correctly or not. i have a2sd setup w/ a 512mb ext2 partition setup using eugene's latest clockwork update.zip. with a plethora of apps installed, i'm down to about 245mb on the ext. however, my internal storage (145mb) has gone down to ~60mb. this is even w/ all caches cleared. i have been wondering if there is something wrong w/ my setup or if this is considered as normal?
poetik517 said:
in regards to the ext partition, how do we know if it is noticing it correctly or not. i have a2sd setup w/ a 512mb ext2 partition setup using eugene's latest clockwork update.zip. with a plethora of apps installed, i'm down to about 245mb on the ext. however, my internal storage (145mb) has gone down to ~60mb. this is even w/ all caches cleared. i have been wondering if there is something wrong w/ my setup or if this is considered as normal?
Click to expand...
Click to collapse
If you have ADB and drivers installed, in command prompt issue the following:
adb shell ls -l /data
(alternatively, in Terminal Emulator it's simply "ls -l /data")
If among other directories you see this:
lrwxrwxrwx . . . .. ............. app -> /system/sd/app
lrwxrwxrwx . . . .. ............. app-private -> /system/sd/app-private
it means that Apps2SD (and your ext partition) is working fine.
jreed3786 said:
If you have ADB and drivers installed, in command prompt issue the following:
adb shell ls -l /data
(alternatively, in Terminal Emulator it's simply "ls -l /data")
If among other directories you see this:
lrwxrwxrwx . . . .. ............. app -> /system/sd/app
lrwxrwxrwx . . . .. ............. app-private -> /system/sd/app-private
it means that Apps2SD (and your ext partition) is working fine.
Click to expand...
Click to collapse
well yea, its listed. thanks. just didn't wanna see that dreadful "storage low" msg pop up later on for the wrong reasons or due to faulty setup.
this is a little non-related to the topic but in addition to cache clearers, are there any cleaning tools for android, as there are for winmo (ie. sktools). i understand the cleaning of caches, but does that cover temporary files, histories, corrupt files?
poetik517 said:
well yea, its listed. thanks. just didn't wanna see that dreadful "storage low" msg pop up later on for the wrong reasons or due to faulty setup.
this is a little non-related to the topic but in addition to cache clearers, are there any cleaning tools for android, as there are for winmo (ie. sktools). i understand the cleaning of caches, but does that cover temporary files, histories, corrupt files?
Click to expand...
Click to collapse
Yes, it should clear basically everything you listed...yes...I used cachemate, on Android and enjoyed it...not sure about with the Slide, though.

where did my storage space go?

Hey for some days now i have not been able to instal any apps, then i checked how much space i have left on the phone and it was 2mb. now here is the thing, i got 8 apps and they are together 5mb... I have tried to delete catch stuff etc and i got nothing more, so what happend to my storage space?
Appbrain
-Create an appbrain account
-Install appbrain on your phone
-Sync
-Go appbrain website and click 'My Apps'
Do this to double check what you have installed.
If you're rooted, what rom are you using?
To clean my cache, i use Cache Cleaner NG.
Copy paste from another post i just made.
This has always been a problem with my desire until i found out about AlphaRev. Now i've got 166MB free internal space. My suggestion is to install AlphaRev and modify the partition tables as listed in the tutorial on alpharev.nl. I would have posted a link but i can't post links yet.
From terminal emulator or adb shell type this (root required)
su
du -md 2 /data > /sdcard/data.txt
Then open your favourite file explorer and take a look at data.txt on your sdcard to find the culprit. In the file should be a list of directories and their size, just look for the biggest one.
mercianary said:
From terminal emulator or adb shell type this (root required)
su
du -md 2 /data > /sdcard/data.txt
Then open your favourite file explorer and take a look at data.txt on your sdcard to find the culprit. In the file should be a list of directories and their size, just look for the biggest one.
Click to expand...
Click to collapse
Sent from my HTC Desire using XDA Premium App
nsain said:
Hey for some days now i have not been able to instal any apps, then i checked how much space i have left on the phone and it was 2mb. now here is the thing, i got 8 apps and they are together 5mb... I have tried to delete catch stuff etc and i got nothing more, so what happend to my storage space?
Click to expand...
Click to collapse
Root your phone, and the go and Install Starburst ROM, its super fast, stable and I have 1.7gb of internal storage space to install apps
Make sure you have a class 4 SD card or better, trust me it will be the best thing you have done to your phone.
P.S dont forget to backup all your apps and stuff.
shankly1985

[Q] How to know Data++ is working?

Hi,
I have just flash my desire with Revolution 3.0 ROM.
before that i made the partition on ext4 using Gparted.
I have checked using this info:
D. How to check if it worked?
To check whether A2SD is working once you've flashed your ROM,
1)Download Quick System Info from the Market, and check under A2SD Storage, it should give you enough informations.
2)download the Android Terminal Emulator app from the market and use the following commands
Code:
su
ls -l /data
You should see your app directory pointing to /system/sd/app and app-private pointing to /system/sd/app-private (courtesy of ikkokusenkin)
Click to expand...
Click to collapse
From here: http://forum.xda-developers.com/showpost.php?p=7279872&postcount=3
On the Quick System Info, it shows A2SD Storage with a total 1,95Gb and 1.49Gb free. So i think that is ok.
But, on the terminal, it shows the app directory pointing to /system/sd/app but the app-private does not point to the sd.
Is that normal?
Do i need to worry about the app-private redirection?
Thanks
Hello!
That's ok. You are able to access the content of the SD-ext partition with /system/sd/
The /app-private folder is originally located in /data. But usually it is moved to SD-ext too - but this is a thing the ROM-developer can change like he wants. I think, it would be a good idea to ask him to this.
You don't need to be worried about this. Apps which are located there are simply stored completely in NAND.
Sent from my An-Droid loaded Desire
anderl78 said:
Hello!
That's ok. You are able to access the content of the SD-ext partition with /system/sd/
The /app-private folder is originally located in /data. But usually it is moved to SD-ext too - but this is a thing the ROM-developer can change like he wants. I think, it would be a good idea to ask him to this.
You don't need to be worried about this. Apps which are located there are simply stored completely in NAND.
Sent from my An-Droid loaded Desire
Click to expand...
Click to collapse
Thanks, after a while and after reading a lot i realise that i didn´t change the hboot into Data++ and that is a requirement for the revolution 3.0 version.
So now i am updating the radio, updating the hboot and after i will flash the rom again.
So thats the reason that the rom is not working properly.
I will update this if something goes wrong.

jelly bean rom

what does this mean ive done a search but carnt findout what this means
Hboot : Stock for now
Use Android Terminal to enable A2SD
as this is what it says i've got to do in install the jelly bean rom.
i will follow the instructions that are porvided with the Android terminal but just no clue to what the hboot thingy is
pandashoe said:
what does this mean ive done a search but carnt findout what this means
Hboot : Stock for now
Use Android Terminal to enable A2SD
as this is what it says i've got to do in install the jelly bean rom.
i will follow the instructions that are porvided with the Android terminal but just no clue to what the hboot thingy is
Click to expand...
Click to collapse
If you don't know what hboot is, then you have stock.
pandashoe said:
what does this mean ive done a search but carnt findout what this means
Hboot : Stock for now
Use Android Terminal to enable A2SD
as this is what it says i've got to do in install the jelly bean rom.
i will follow the instructions that are porvided with the Android terminal but just no clue to what the hboot thingy is
Click to expand...
Click to collapse
But if you don't know your phone hboot......you SHOULD read a LOT before doing ANY CHANGES to your phone. Please be careful.
Regards
Sent from my HTC Desire using xda app-developers app
---------- Post added at 01:01 AM ---------- Previous post was at 01:00 AM ----------
pandashoe said:
what does this mean ive done a search but carnt findout what this means
Hboot : Stock for now
Use Android Terminal to enable A2SD
as this is what it says i've got to do in install the jelly bean rom.
i will follow the instructions that are porvided with the Android terminal but just no clue to what the hboot thingy is
Click to expand...
Click to collapse
One more thing.... Android terminal has NOTHING to do with INSTALLING the jelly bean Rom ....
As I said, please read tutorials and guides before attempting anything.
Regards
Sent from my HTC Desire using xda app-developers app
pandashoe said:
what does this mean ive done a search but carnt findout what this means
Click to expand...
Click to collapse
Then you are not using the internet properly.
via xda app
stankyou said:
Then you are not using the internet properly.
via xda app
Click to expand...
Click to collapse
thanks again for your help
When it says "Use android terminal to enable A2SD", what it means is after you have installed the rom (which you would do by flashing the zip file through a recovery mod like clockwork recovery or 4ext recovery) you enter the android terminal in your apps tray (it will be installed already as 'Terminal Emulator' or such) and type
Code:
su
You will get a super user request asking you to allow the terminal emulator root access. Allow this.
Code:
a2sd install
You wil be prompted for install options. The recommended values were.
Code:
y
n
y
at which point your phone will reboot and you will have activated the A2SD features of the rom.
But in order to do this, you will first need to repartition your SD card into two partitions.
Back up all of your data before you even attempt this so you don't lose anything.
This can be done with a number of tools like GParted or MiniTool Partition Wizard.
The first should be a FAT primary logical partition the size you want to store your documents on and the second should be a primary logical ext3 file system (not all roms support EXT4 and journalling can degrade SD card quality faster).
I have mine as an 8GB partitioned into a 6.5GB FAT and a 1.5GB EXT with about 1.3GB of apps installed split across A2SD and androids internal apps to SD function while still keeping 80MB free on my data partition.
I hope this helps.
Psytechnic said:
When it says "Use android terminal to enable A2SD", what it means is after you have installed the rom (which you would do by flashing the zip file through a recovery mod like clockwork recovery or 4ext recovery) you enter the android terminal in your apps tray (it will be installed already as 'Terminal Emulator' or such) and type
Code:
su
You will get a super user request asking you to allow the terminal emulator root access. Allow this.
Code:
a2sd install
You wil be prompted for install options. The recommended values were.
Code:
y
n
y
at which point your phone will reboot and you will have activated the A2SD features of the rom.
But in order to do this, you will first need to repartition your SD card into two partitions.
Back up all of your data before you even attempt this so you don't lose anything.
This can be done with a number of tools like GParted or MiniTool Partition Wizard.
The first should be a FAT primary logical partition the size you want to store your documents on and the second should be a primary logical ext3 file system (not all roms support EXT4 and journalling can degrade SD card quality faster).
I have mine as an 8GB partitioned into a 6.5GB FAT and a 1.5GB EXT with about 1.3GB of apps installed split across A2SD and androids internal apps to SD function while still keeping 80MB free on my data partition.
I hope this helps.
Click to expand...
Click to collapse
Thanks mate, also helped me, no about hboot, but how to enter in android terminal.
cheers
like said above, terminal emulator is an app u can get from play store but i think JB has it already installed. open the app and type
su (then grant permission)
y (press enter)
n (press enter)
y (press enter)
then ur phone will reboot and android will upgrade (make the changes) then ur done.
Sent from my HTC Desire

***MOD-Delete thread if needed SOLVED***App2SD, play store, problems..

The past few days I've been having problems with the past store, wonder if anyone can help, google search and xda search not turning up much help...
I had an update for Sygic, first it gave that it couldn't load to SD or USB storage, then it would download and hang without installing. Sygic support recommends deleting some settings files from the app, still awaiting confirmation on one point.
In several attempts to download and update various other apps I am getting insufficient storage space (app2SD should be working... ran through the installation procedures again last night, and left it overnight) and download that just hang and won't install. Erased play data to no effect, uninstall FB app to try and work around it, now I can't download it, just hangs.... there goes my social life
Ready to factory reset if needed, any help before I do?
Sent from my HTC Desire using xda premium
Re: App2SD, play store, problems..
App 2 sd probably is working, but I'm guessing your dalvik cache is still on the phone and needs moving to the card.
Sent from my HTC Desire using Tapatalk 2
Re: App2SD, play store, problems..
Do I need to move dalvick with recovery, or a script?
edit- another search led me to S2E, but if i look for it on play, its not compatible.... still dont know if i could download it anyway......
Sent from my HTC Desire using xda premium
How to move the data folder or dalvik-cache:
Sometimes this is also described by the term "A2SD+". Some Custom ROMs support it (e.g. MoDaCo Custom Froyo, according to the comparison table). So if you use MoDaCo Custom Froyo and have A2SD enabled (by having created the ext2 partition on the sd card as explained in section A), then also the dalvik-cache will be moved to the sd card.
However you also can do it by yourself if you already have A2SD enabled (this is necessary, as well as root access).
start the terminal and type (without |):
in order to move /data/data:
| su
| cp -pr /data/data /system/sd
| rm -r /data/data
| ln -s /system/sd/data /data/data
Be careful! you will loose all your application data if this fails. however usually the default data can be restored by android using the .apk file. I recommend creating a Titanium Backup before doing this (as well as an nandroid backup).
and in order to move dalvik-cache:
| su
| cp -pr /data/dalvik-cache /system/sd
| rm -r /data/dalvik-cache
| ln -s /system/sd/dalvik-cache /data/dalvik-cache
If the dalvik-cache should get lost, it's not such a problem because it will be easily recreated on reboot (taking some minutes the first time). However, the dir /data/dalvik-cache should exist and be accessible for the system (or the according symlinked dir).
Caution! If you do this, most of the apps or even the whole system won't work if the whole SD card is ejected / unmounted!
this any use? not sure i like the last line though......
http://forum.xda-developers.com/showthread.php?t=1342387
found this will post on his thread later and await reply, still dont understand why the downloads are hanging though, anyone?
you can use int2ext
https://play.google.com/store/apps/details?id=eu.codlab.int2ext
this app or script via te?
edit- wiping data now, enabling app2sd on JV-JB, and when activating one permission is to move dalvik, getting confused now....
SOLVED- kinda complete wipe and re-flash.........
Skivit said:
SOLVED- kinda complete wipe and re-flash.........
Click to expand...
Click to collapse
That was my first thought
Aye, was trying to avoid it, maybe learn something in the meantime, but I was going round in circles. Funny that when I tried mount2sd, it gave a warning, must have been something with the script. Seems to have settled down, just wondering why Play store was acting up too...
Sent from my HTC Desire using xda premium
Skivit said:
Aye, was trying to avoid it, maybe learn something in the meantime, but I was going round in circles. Funny that when I tried mount2sd, it gave a warning, must have been something with the script. Seems to have settled down, just wondering why Play store was acting up too...
Sent from my HTC Desire using xda premium
Click to expand...
Click to collapse
Dunno what kind of update they did back in september, but since then many people noticed that something is wrong. Must be that OAuth2 they implement.
I'll Google that one later
Sent from my HTC Desire using xda premium

Categories

Resources