Force one app to SD on Froyo - Tilt, TyTN II, MDA Vario III Android Development

I'm running Fresh Froyo on NAND for system and data but I'm trying to get Navigon to be forced on to the SD card.
I've try setting the SetInstallLocation from the terminal but I get a command not found and I really don't want to run all my apps from SD so putting the data on SD at install time is out of the questions.
Any ideas would be very helpful
Thanks

Related

APP2SD??

hey everyone..
i recently got my hero an have been upgrading roms back an forth, but each time i wipe to update the rom i lose all my apps.. i was wondering if anyone could please help me get app2sd installed or show me a step by step process for it.. itd help heaps an be greatly appreciated!!
thanks in advance,
brett
I need help for this altso, dont realy understand how this works?
+1
How to install apps from MARKET to SD card, so we dont have to reinstall them each flashing
you need root! and a custom rom (MCR2.2 or 2.3 are my faves) these have apps2sd built in.
http://forum.xda-developers.com/showthread.php?t=552591
p.s your thread should be in Q&A NOT the Dev section
problem
hi. i've partitioned my sd card as per the instructions on this website. prior to that, i'd installed the modaco rom version 2.2, which is meant to have apps2sd on it.
i thought that after partitioning my sd card my apps would automaticaaly get transferred to the sd card. but that doesn't seem to have happened. how do i go about making that happened. i don't want to reinstall the modaco rom, it should happen already shouldn't it?
also, where exactly is apps2sd on the modaco rom? i can't find it.
try booting your phone without the SD card in....are your apps still there?
apps2sd is built in to the rom, you dont need to run anything. It does it all by itself in the background.
thanks. I'll try that tomorrow. Before I do, just one other query. I thought that after partitioning the sd card, everything on it would get wiped. But the same folders (ther were only 2 before i partitioned it) are still there with the files in them!
which makes me think, did i successfully partition the card? there's no doubt that when i typed 'print' in the adb shell/ gparted after the partitioning process it gave a list of 3 partitions in the sd card. I basically followed the instructions to the letter. I won't be in a position to check again until tomorrow.
Just to be clear before I do something I may or may not regret, to get apps installed on the sd card, I need to partition it first, correct? Once it has been partitioned correctly, any app installations I do, say via the market, should go straight to the sd card? I'm running MCRv2.2.
Yes partition your card first. (FAT first, then EXT3 second)
they usually go to the SD card after a reboot i think.
AFAIK it is a script that is run during startup.
thanks alot for that.. i done a bit more research an have it all sorted.. cheers.. brett
good news. happy to help
as suggested earlier on this thread, i rebooted my phone without the sd card, and sure enough, all my applications/ widgets could not be loaded (except those that were already on the modaco 2.2 rom). rebooting again with the sd card in place, and everything is back to normal.
however, when looking on the sd card with astro file manager, i can't see a list of the applications anywhere. also, after connecting my phone to the computer, and then looking under 'removable disc' on my pc, i can't see the list of apps on my sd card then either.
so i guess what i'm asking is, how do you definitely know that apps2sd has kicked in. i've read on this and other forums that people have checked on their sd card and seen their list of applications. how does one do that? is what i've done above, namely booting my phone without the sd card in place and demonstrating that the downloaded apps don't work, enough proof that apps2sd has worked properly on my phone?
djdhrubs said:
as suggested earlier on this thread, i rebooted my phone without the sd card, and sure enough, all my applications/ widgets could not be loaded (except those that were already on the modaco 2.2 rom). rebooting again with the sd card in place, and everything is back to normal.
however, when looking on the sd card with astro file manager, i can't see a list of the applications anywhere. also, after connecting my phone to the computer, and then looking under 'removable disc' on my pc, i can't see the list of apps on my sd card then either.
so i guess what i'm asking is, how do you definitely know that apps2sd has kicked in. i've read on this and other forums that people have checked on their sd card and seen their list of applications. how does one do that? is what i've done above, namely booting my phone without the sd card in place and demonstrating that the downloaded apps don't work, enough proof that apps2sd has worked properly on my phone?
Click to expand...
Click to collapse
You can't see them in /sdcard because that is your FAT32 partition of the card.
Apps2SD works by mounting an ext3 partition from your card, it is mounted to /system/sd/ normally I think. Have a look there with your filemanager.
The reason for having a separate partition for it is that Android requires the ability to set access rights and ownership to files for it work, and FAT32 does not support this.
if you load a linux live cd (i use ubuntu) and plug in your card reader, or mount your hero, you will see the two partitions (or 3 if you use swap).
Windows can't see ext3 partitions, but linux can, cos its great
yeah i had a look using astro file manager and went into system/sd but nothing is listed there.
anyway, now i have a whole new bizarre problem. most of my apps force close when i try to use them! for example, i open taskiller, and its fine while its running, but as soon as i select something to kill, a message pops up saying it has to force close. same with advanced task manager, shopsavvy, shazam, flixster movies and many others. i've turned my phone off and on, and rebooted a couple of times to no avail. phone calls and internet access still works fine.
all this has started since i tried booting my phone without the sd card. i've taken it out again and tried again, but still same problem. weird!
ok problem above solved! i uninstalled then reinstalled the applications, and then they work.
thanks for all your help guys.
i used to get that on my g1...un-install and re-install always solved it for me too!
happy hero'ing!
I am glad that there is a ROM that support A2SD, but i prefer to run the generic one, and if possible is there a code to make my generic pre-rooted rom A2SD abled?
I answered a similar Question a day or so ago here.... Just general stuff
http://forum.xda-developers.com/showpost.php?p=4655969&postcount=2
Dayz xxxx

[Help] Apps on SD Card

I've read most of the guides down here and other forums and how to install apps on the sd card, but I'm confused with one thing, having the AP2SD on the ROM automatically does it? or having just the ext03 partition? I tried every method i read but there is something im doing wrong as apps are still installing on the phone (some apps on SD and some on phone), i even tried the modInstall app and chose the SD card but I still can't get it, I know im doing something wrong or missing some step please help me
you need both
you need o have a rooted rom with AP2SD included if not AP2SD installed a partion ext 3
Download gscript lite from the market place the attaced script in the in the gscript folder in the gscript menu add script and see what it says
sorry forgot to upload unzip and use the file inside
thanks ill try it now
btw im using LeeDroid latest ROM and latest radio version with bootloader 0.80
so you just need to set up the ext3
•Froyo A2SD mod install location is included in the rom doent that meet your requirements
havent used it myself didnt know it existed till i checked the LeeDroid rom
msdl28712 said:
so you just need to set up the ext3
Click to expand...
Click to collapse
that's the result:
Uploaded with ImageShack.us
it is working, but is there a reason why some apps would not install on the SD card?
thanks for the help <3
it does seem to be working i dont get the stderr messages not sure what they mean
what apps arent installing to your sd remember your imternal phone storage will decrease slighty i have about 40 apps installed and mine is down to 88mb
only: Bluetooth File Transfer, Facebook, Papertoss
but no big deal thanks for the help with the script it's was excellent!
paper toss i actually went into the settings/ applications/ manage applications /downloaded and had the option on the phone to move it to sd which i did
Hi everybody, just thought id mention that if your using a rooted froyo 2.2 Rom, you not longer need to use apps2sd or make a partition on you memory card. Instead use setinstallloctaion.apk this then installs all your apps to card without the need to partition your sdcard. works great for me.
Sent from my HTC Desire using XDA app
well I am runnig froyo and i installed SDMove which has "Apparently" moved apps to the SD that had gone to the internal memory
But:
If you use the FroYo APP2SD method and moved your apps manually to the sdcard, will you be able to use them when you connected your phone to the PC in "Disk Drive" mode?

[Q] Apps installed but gone from app drawer and cannot be launched.

2.2 Stock Rom, rooted, S-OFF
Apps are visible in the Settings-Applications-Manage Applications-Downloaded section, but there are no icons. Just a grayed out icon with a micro-sd card on it. Showing, what I assume to be, that it is on the SD card, but cannot be launched. The apps are not available via the app drawer.
Ideas?
Help anyone?
Have you tried uninstalling and then reinstalling them through the Market?
The market won't allow me to install anything. Whether it be a new app or a replacement for these. And starting over is not really a course I am looking to take unless absolutely necessary. Uninstalling and reinstalling 150+ apps does not sound like an entertaining time.
Also if it provides any clue, when in the setting-manage applications area, the sizes of the apps, that usually updates quickly, is forever stuck in the "computing..." phase.
150+ apps? Do you have any storage left? LOL
Sounds like you might have a SD Card problem.
A couple of suggestions -
1. Scan your SD Card (mounted in Windows) for errors. From "My Computer", right-click on the drive and go to Tools. Select the Disk Check.
2. Uninstall the "missing" applications. Go to Settings->SD & Phone Storage and Unmount SD Card. Try to install the applications. If this works, remount the SD Card when you are done. You can use this method to try to install new apps as well.
3. Some people have had luck with deleting the .android_secure folder from the SD Card (this is where Android stores your apps on the SD Card).
If you still can't download any new apps, you might want to go to Settings->Applications->All and clear try to clear the cache (and then the data if needed) and Force Close Market. This may help. If you notice that all of your downloaded apps disappear from the Market, downloading a new app usually fixes that problem for me.
FIT-Performance said:
The market won't allow me to install anything. Whether it be a new app or a replacement for these. And starting over is not really a course I am looking to take unless absolutely necessary. Uninstalling and reinstalling 150+ apps does not sound like an entertaining time.
Click to expand...
Click to collapse
subcypher said:
150+ apps? Do you have any storage left? LOL
Click to expand...
Click to collapse
185 actually (just did a quick count). And yes, plenty of storage. 32gb (with only 8gb taken up) sd card, and 200mb left on the internal.
nivron said:
Sounds like you might have a SD Card problem.
A couple of suggestions -
1. Scan your SD Card (mounted in Windows) for errors. From "My Computer", right-click on the drive and go to Tools. Select the Disk Check.
2. Uninstall the "missing" applications. Go to Settings->SD & Phone Storage and Unmount SD Card. Try to install the applications. If this works, remount the SD Card when you are done. You can use this method to try to install new apps as well.
3. Some people have had luck with deleting the .android_secure folder from the SD Card (this is where Android stores your apps on the SD Card).
If you still can't download any new apps, you might want to go to Settings->Applications->All and clear try to clear the cache (and then the data if needed) and Force Close Market. This may help. If you notice that all of your downloaded apps disappear from the Market, downloading a new app usually fixes that problem for me.
Click to expand...
Click to collapse
1. Done, and done. No errors. I'm used to external and flash media, so this was one of the first things I did.
2. Unmounting the card gets a force close. I select it like normal, but it gives no confirmation, and after a bit gives me the force close message. Going to have to power off and remove the SD card for this option.
3. Noted, will look into that option shortly.
While I can force close and clear data from the market, the clear cache button does nothing. Trying option 2 now.
What ROM are you using? Is it possible that your launcher, widget, or some other system application is on the SD card?
Also, if you clear the Data, it automatically clears the cache, which is why it is grayed out.
If you have a terminal emulator application or access to adb, you can unmount the SD card from a shell and see if that helps.
FIT-Performance said:
1. Done, and done. No errors. I'm used to external and flash media, so this was one of the first things I did.
2. Unmounting the card gets a force close. I select it like normal, but it gives no confirmation, and after a bit gives me the force close message. Going to have to power off and remove the SD card for this option.
3. Noted, will look into that option shortly.
While I can force close and clear data from the market, the clear cache button does nothing. Trying option 2 now.
Click to expand...
Click to collapse
FIT-Performance said:
2.2 Stock Rom, rooted, S-OFF
Apps are visible in the Settings-Applications-Manage Applications-Downloaded section, but there are no icons. Just a grayed out icon with a micro-sd card on it. Showing, what I assume to be, that it is on the SD card, but cannot be launched. The apps are not available via the app drawer.
Ideas?
Click to expand...
Click to collapse
Use a file manager to look for one of your apps, which I imagine you moved into the apps2sd "folder" on the sdcard. That should tell you the state of the sd card as well. When apps2sd is used it only moves part of the apk to the sdcard, that's why the system still sees the part not on the sdcard.
Get an apk from market ( except you can't ) to fix the symlinks.
If you do a nandroid restore, the issue will still be there cause you did use the ext partition, in apps2sd.
You do get one chance in market to reload all your missing apks, but if you close market it won't remember the missing apks.
nivron said:
What ROM are you using? Is it possible that your launcher, widget, or some other system application is on the SD card?
Also, if you clear the Data, it automatically clears the cache, which is why it is grayed out.
If you have a terminal emulator application or access to adb, you can unmount the SD card from a shell and see if that helps.
Click to expand...
Click to collapse
Stock 2.2, rooted, s-off. Using LauncherPro, and no it is not on the SD card. I can navigate it easily and launch any applications from it that are not on the SD card.
Good to know about the data/cache link. Although the cache never acutally gets grayed out. I press the clear data button, confirm the decisions, and it stays in the "recalculating size" (might not be verbatim there) message and never goes away.
Good idea. Although I am going to report that the problem is fixed now, as I took a little more direct route. Steps are below for anyone that has the same problem as I:
Problem: Apps on the SD card are not loading. Visible in the Settings-Manage Applications area, but not unable to actually launch via shortcuts on home screen and do not appear in the app drawer. Unmounting the SD card via the settings gets a force close. Restarts do nothing, clearing the Data/Cache from the market app does nothing. This occurred randomly and has also occurred after apps that were installing/being updated from the market and got stuck in an "install loop", as in they said they were "installing" but never did.
My Solution: Power down, remove SD card, power up, force close market, clear data, power down, install SD card, power up, enjoy.
As stated above unmounting the SD card via terminal or adb might work as well. I cannot confirm as I went the more "direct" route. I thank everyone for their help. This community, quite simple, rules.

[Q] "Unable to move" Apps to SD error message

Edit: My sd card is working again! I would advise anyone not to use the App Mybackup or Mybackup Pro because this is what caused my problems!
I recently rooted my Evo with
http://forum.xda-developers.com/showthread.php?t=838448
Anyway i backed up my apps and i started to attempt to restore them. While doing this all of a sudden my evo started saying that it had critical memory left and i had to power it down. So i restarted my Evo and noticed that all the apps installed on my phone but not SD card. So i proceded to remove them all because whenever i tried to move the apps to the SD with Apps2Sd or the phone application function itself i kept on getting "Unable to move application" or something along those lines.
Anyway im wonder is there anyway that i can fix this problem to enable me to store apps on my sd? I can connect the sd card to the computer and manage the files.
Also i have tried to format the sd card but i still have the same problem.
I am about to try a nandroid restore and see if that will help anything.
I also cannot install apps of the market because they fail when the try to install to my Sd. So any installation to my phone i need to unmount the sd card.
Any help would be appreciated, thanks!

[Q] Questions about A2SD+

I've finally had enough of using Titanium backup to force apps to SD, and have decided to install A2SD+, but I have a question:
As I understand it, when using the standard Android Apps to SD, any apps put there will not automatically restart if I mount the SD card by USB. That's why some apps with Widgets, or those that run in the background can't be moved.
Does this happen with A2SD+? I intend to move apps like my email app to the SD and want to know if it will auto-restart if I use USB.
And is it possible to change what apps go to SD, or is it automatic or can it be overrided?
Any help would be appreciated.
Cheers.

Categories

Resources