Related
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
Hello All,
I have a rooted Evo with DamageControl's 3.2.2.1 rom. I know it has apps2sd built into the OS, yet I cannot seem to get this working at all. Would anyone be kind enough who has this OS and a2sd working to make a quick and dirty guide? Ihave tried partitioning via Rom Manager and then turning it on...tried a few things. Any help is appreciated.
I would like some help with this as well. Have tried all the same steps, just can't seem to figure it out.
Sent from Ye olde Evo
Im sure someone out there knows how to do this!
Got this from another forum:
Did you patition it on the phone? Did you upgrade EXT2 to EXT3? If the answer to either or both of these, that could be the problem.
Type this in order:
cd c:\android-sdk-windows\tools (or wherever you have installed the sdk)
adb remount
adb shell
busybox --install /system/xbin
mkdir /system/sd
a2sd
exit (wait until its done doing its thing, you should see # when its done)
restart your phone after the prompt is done spewing and you're all set.
Click to expand...
Click to collapse
Personally I don't think there's any need for this since the EVO has hugeee internal memory. This was used mostly on older phones.
Thanks I'll try it when I get home
correct, most roms using this will only use app2sd if you have the ext partition on the sdcard, otherwise it defaults to the normal app storage
Hey all. Can't post in the development forum therefore I'll post here.
I have a Leedroid 2.5 A2SD+ rom but this should apply to all A2SD roms.
What I want to do is to force install the software onto the internal memory. I've tried googling and playing around with it myself without any luck. I've ran ADB in recovery and I can't even push the app into "/data/app" since it directs it to "system/sd/app" which is my ext partition.
Is there anyway to do this or I am out of luck ? The reason behind this is that my Handcent is glitching and there is a delay in notifications (vibrate > sound> LED) This started only after I install LeeDroid A2SD+ rom so I have a feeling that my SD card is slowing things down.
Hopefully someone has an idea about this.
Have you tried spareparts, install it, you'll have an option where to install apps, then set it on internal, may work..
I do have Spareparts, it already comes with LeeDroid but I can't see any options that relate to what you've mentioned.
http://forum.xda-developers.com/showthread.php?t=702997
There are 2 SpareParts, use the one in the link. The second option is app2sd, click on it and choose internal.
Hey, I've tried it but it doesnt seem to work.It still installs onto the SDcard. Hmm...i am stumped, cuz there is gotta be a way to force install an app onto internal memory..
hi,
there is some commando would managed this
=> adb shell pm setInstallLocation 1
more info into leedroid wiki =>
http://leedroid.com/bravo-wiki/prevent-any-all-apks-from-installing-to-sd-card
hope this help
Grrr.... Can't figure it out.
Nothing seems to work. I've tried the guide on the Leedroid Wiki with no luck, I've tried Titanium Backup thing that you have mentioned in the other thread. Doesn't work either. The only thing I don't get is how to remount the sd-ext partition, because in the comments of the Leedroid Wiki, that's what made it work for one of the users. I've tried remounting in CWM(ClockWorksMod) but that didn't work.
SpareParts essentially does that command setInstallLocation 1 but in GUI mod. I am lost.
I've tried using that "pm" command to install onto internal flash since there are commands that apparently allow you too but it still installs onto the SDcard. I am just wondering, is there anyway to temproraly disable App2SD script ?
hi,
if you can't get sorted like this, maybe Darktremor app2sd script wil help you, never tried as i m using data++ rom but here is the complete thread... hope for you that will help.
therez a long explication of how it s working and how to apply this on your current rom.
be sure to get root rights
http://forum.xda-developers.com/showthread.php?t=715116
hoep this help
Thanks for your help. I took a different route by pushing the APK onto the /system partition. I had 20mb left so it was enough for an app.
Thanks for all the help))
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
Having just run through applying the CyanogenMod 10.1(by vijendrahs - refere below) to 4.2.2 on my HTC Desire, I've now come across the above error with some of the applications that I've been trying to install.
I've partitioned my SD card and am running mounts2sd and am using link2sd. I've also downloaded and have tried the marketfix app. I've also tried killing apps and restarting the phone none of which seem to make a difference.
The research I've done indicates that this is appears to have something to do with memory. What I've noticed is that there doesn't seem to be any particular pattern to those apps that will install and those that won't. For example the Tasks app won't install nor will Yahoo but Skype, Maps, and Gmail installed fine.
I am beginning to suspect that the error message might not actually reflect the problem that is being reported. Is there a tool or some debugging routine that I can run to expose any further insights into this?
http://forum.xda-developers.com/showthread.php?t=2070704
Why did u use mounts2sd or link2sd if in threat is recommend a2sd in terminal? I used this ROM with a2sd and all was fine, no any error according memory.
Vijendrah's JB 4.2.2 has build in A2SD. Just open Terminal Emulator from menu and type:
"#su" then hit Enter;
"#a2sd" install then hit Enter;
"Y" then Enter when first question pops-up;
"N" then Enter when second question pops-up;
"Y" then Enter when third question pops-up.
Note: type only what's inside the commas.
Thanks for the replies. In my defense, it was my first attempt at a ROM flash and I probably didn't follow the instructions properly. I I'll try a re-flash over the weekend and see how that goes.
That said, I still think that the error message is misleading unless there is something in the installation routines for those apps that is validating for a minimum amount of available RAM.
Two ideas:
1.Android will give you that error when you try to reinstall app which you tampered with using lucky patcher try running it once before attempting to install and it will remove any leftover odex files it is responsible for.
2.Or the original a2sd script is messing up link2sd, try removing 10apps2sd from system/etc/init.d with root explorer or es file explorer. Reinstall link2sd afterwards.
3.you are simply running out of internal memory, link2sd leaves dalvik in there. You can explore your sdext with es file explorer and see what's going on there or use 'df' command in terminal emulator to check if there really is no space left in internal or sdext
freebird24h said:
Two ideas:
1.Android will give you that error when you try to reinstall app which you tampered with using lucky patcher try running it once before attempting to install and it will remove any leftover odex files it is responsible for.
2.Or the original a2sd script is messing up link2sd, try removing 10apps2sd from system/etc/init.d with root explorer or es file explorer. Reinstall link2sd afterwards.
3.you are simply running out of internal memory, link2sd leaves dalvik in there. You can explore your sdext with es file explorer and see what's going on there or use 'df' command in terminal emulator to check if there really is no space left in internal or sdext
Click to expand...
Click to collapse
Curious. I reran a2sd and answered no to the second question regarding data. Upon reboot, I was able to install apps that previously failed. On the downside, I've lost the home key!
I use MildWild