[TIP] Force all apps to SD on FROYO - Nexus One General

I ran a cross this little tip to force all apps to be installed on SD.
Unlock move to SD card for existing apps:
adb shell
pm setInstallLocation 2

I'm not able to move installed app on SD, the option "Move to SD card" is greyed... any idea ?

Remember people, apps that need root will not work

Re: Force all apps to SD on FROYO
I'm not able to move installed app on SD, the option "Move to SD card" is greyed... any idea ?
Click to expand...
Click to collapse
Is your SD partitioned correctly?

martin0285 said:
Is your SD partitioned correctly?
Click to expand...
Click to collapse
I don't think Froyo uses Fat32 for apps to sd not the ext partition.

Re: Force all apps to SD on FROYO
Do I have to partition in FAT32?

martin0285 said:
Is your SD partitioned correctly?
Click to expand...
Click to collapse
That brings up an interesting question.........
If this update is for non-rooted phones, how/why should we be concerned if it is partitioned correctly?
Shouldn't it be done with the update.......

how?
Where do you place that command.

As application installation on SD is natively supported by Froyo, I assumed that I don't need to partition the card...

Rhoa23 said:
Where do you place that command.
Click to expand...
Click to collapse
Do you know how to use ADB etc from your computer?
If not, go figure that out first,

Works great for me on my non-rooted N1. I can only move non protected apps but that's fine with me!

chazam said:
Works great for me on my non-rooted N1. I can only move non protected apps but that's fine with me!
Click to expand...
Click to collapse
Once you run the command, all apps, including protected ones, will be installed in the SD card.

Henchman said:
Once you run the command, all apps, including protected ones, will be installed in the SD card.
Click to expand...
Click to collapse
Only my non protected apps have moved from my internal memory (which is good enough for me really).

Re: Force all apps to SD on FROYO
How were you able move them? The option to do that is grayed out for all applications on my phone. I heard developers have to give permission to move their applications to the SD card first.
-------------------------------------
Sent from my Motorola Razr.

I was also only able to move my non-protected apps

So to clarify this, after executing the command all non protected apps will be moved to sd, or do we choose which ones to move from the applications menu. Are we able to move apps back to the phone for speed?
Can we reverse the command?
Thanks

Re: Force all apps to SD on FROYO
I was also only able to move my non-protected apps
Click to expand...
Click to collapse
With the abd command? Or on stock Froyo?

Where are the apps being installed in the SD card ?, I see that my internal memory is going down and the apps are installed in the SD card based on what the system says, thanks

Mikey1022 said:
That brings up an interesting question.........
If this update is for non-rooted phones, how/why should we be concerned if it is partitioned correctly?
Shouldn't it be done with the update.......
Click to expand...
Click to collapse
FAT32 doesn't support the required permission flags for root apps.
Apps need to be rewritten to support installation to SD under FroYo as it's not just using symlinks as with A2SD.

After initiating the command on the original post you have to click each app and move to sdcard.
A shortcut to reinstall all apps at once can be done in ADB
Code:
cd /data/app
for app in *.apk; do pm install -r $app; done
** Note
I used this for unofficial apps2sd so after switching to froyo using the command should also do the same

Related

Getting a new SD card. Q's about App2SD, Swap

I'm currently running cyanogenmod 5.0.8, and my 8GB A-Data class 6 SD card should be here soon.
I downloaded a program called swapper 2 and it seems to be working. When I get the new SD card should I stick with this program or do the partition method? Does anyone have experience with this program compaired to the other methods?
I also have Comp cache enabled too. Any thoughts on if I should use both or one?
For App2SD I noticed in the settings you can enable it there but its grayed out. I imagine once I put the new SD card in there it will partition the space for it then?
Thanks for the help. If you have any links to some good info that would be great too.
I think the general consensus is that utilizing a swap partition is much more efficient than creating a swap file on fat32, which figures. Just out of curiosity, does your homescreen reload?
EDIT: Just noticed your A2SD question, it's greyed out because you need to add an ext2/3/4 partition. That's for unofficial Apps2SD which is a hack-job, Google has implimented an official A2SD method in FroYo, however the developer has to specify whether you can Apps2SD-ify their app (I assume because their method moves the apk to the sdcard which can be shared with others, increasing the chance of piracy).
AdrianK said:
I think the general consensus is that utilizing a swap partition is much more efficient than creating a swap file on fat32, which figures. Just out of curiosity, does your homescreen reload?
Click to expand...
Click to collapse
Not sure what you mean by 'does your homescreen reload'. It usually does reappear when I exit an app, but sometimes all the icons/widgets are gone and I have to restart to get them back. Although this happened before I used swapper 2 aswell. doesnt happen very offten.
AdrianK said:
EDIT: Just noticed your A2SD question, it's greyed out because you need to add an ext2/3/4 partition. That's for unofficial Apps2SD which is a hack-job, Google has implimented an official A2SD method in FroYo, however the developer has to specify whether you can Apps2SD-ify their app (I assume because their method moves the apk to the sdcard which can be shared with others, increasing the chance of piracy).
Click to expand...
Click to collapse
Good to know that not every app can be put on the sd card. I didn't know that. When I get the new SD card and format a ~512mb ext4 partition; will it automatically move the apps to the sd card, will I have to reinstall the apps to move them, or is that grayed out option (app2sd in settings) allow me to choose (rather attempt, if the program allows for it) which apps to put to the sd card?
Thanks!
Njord0 said:
Not sure what you mean by 'does your homescreen reload'. It usually does reappear when I exit an app, but sometimes all the icons/widgets are gone and I have to restart to get them back. Although this happened before I used swapper 2 aswell. doesnt happen very offten.
Click to expand...
Click to collapse
Yeah I mean when it has to redraw everything when it gets kicked out of memory. It used to happen every time I excited an app on CM5 and CM6 (nightly build), but now that I've added a 32mb swap file with swapper2 (it doesn't like my partition :'( ) they've all disappeared.
Njord0 said:
Good to know that not every app can be put on the sd card. I didn't know that. When I get the new SD card and format a ~512mb ext4 partition; will it automatically move the apps to the sd card, will I have to reinstall the apps to move them, or is that grayed out option (app2sd in settings) allow me to choose (rather attempt, if the program allows for it) which apps to put to the sd card?
Thanks!
Click to expand...
Click to collapse
The ext/hackjob method will let you keep any apps on SD
I'm not sure if it will move them for you, but you can physically move the files yourself. It's just a couple of commands in the terminal in a reboot (wont get in to it now, it's 3AM and I'm tired, so I'll probably get it wrong ).
I would like to say that I've always used a partition. In the case that swap kills my SDCard, I would like it to be a certain fraction of the SDCard that dies, not a block here and a block there. I think that's more ocd, though.

[HOWTO] Steps to move applications to SD

Hi All,
After rooted the device using SuperOneCLick v1.6.5
http://forum.xda-developers.com/showthread.php?t=803682
I installed the Move2SD enabled and managed to move the installed application to SD card.
Steps:
- Root your S5830
- Installed Move2SD enabled
- Launch Move2SD enabled and set the install path to 'External'
- Goto Settings > Applications > Manage applications to move those applciation that you want to move to SD card.
i have tested this method with my s5830 and it works...
How about using an ext3 partition for the phone to use upon boot? Anyone tried Darktremor's app2sd?
I tried with my Galaxy Ace, but after I set Move2SD I'm not allowed whether to move apps to my SD card or to do something different from uninstall the apps as all the options are disabled in the "Manage applications" panel !
Any idea of what I got wrong?
roninxt said:
How about using an ext3 partition for the phone to use upon boot? Anyone tried Darktremor's app2sd?
Click to expand...
Click to collapse
Here's a detailed guide on how to enable Darktremor's a2sd using an ext2 partition for Galaxy ACE s5830:
http://forum.xda-developers.com/showthread.php?p=12514827
I have rooted and installed Move2SD enabler. But, when I checked external & wanted to apply it, it said that "Sorry, unable to change the default install location". How to solve this problem?
Is the problem only on my Galaxy Ace S5830 or this is the software problem? Could you help me?
Thanks.
fuzore said:
i have tested this method with my s5830 and it works...
Click to expand...
Click to collapse
Why I couldn't installed it on my S5830? Could tell me the procedure you did to install this move2SD enabler?
Thanks.
prodikey said:
Hi All,
After rooted the device using SuperOneCLick v1.6.5
http://forum.xda-developers.com/showthread.php?t=803682
I installed the Move2SD enabled and managed to move the installed application to SD card.
Steps:
- Root your S5830
- Installed Move2SD enabled
- Launch Move2SD enabled and set the install path to 'External'
- Goto Settings > Applications > Manage applications to move those applciation that you want to move to SD card.
Click to expand...
Click to collapse
Thankx a lot man
This Saved My Life
Thankyou
app2sd pro is the same apk, isn't it?
prodikey said:
Hi All,
After rooted the device using SuperOneCLick v1.6.5
http://forum.xda-developers.com/showthread.php?t=803682
I installed the Move2SD enabled and managed to move the installed application to SD card.
Steps:
- Root your S5830
- Installed Move2SD enabled
- Launch Move2SD enabled and set the install path to 'External'
- Goto Settings > Applications > Manage applications to move those applciation that you want to move to SD card.
Click to expand...
Click to collapse
i have move my app to sd card, but app is use phone meory, and if i remove the sd card, the sd card will gone, but the problem is the app is occupying phone memory while not sd card although it has been moved. DO you have the same problem??
chinpuiwai said:
i have move my app to sd card, but app is use phone meory, and if i remove the sd card, the sd card will gone, but the problem is the app is occupying phone memory while not sd card although it has been moved. DO you have the same problem??
Click to expand...
Click to collapse
Yes those above methods aren't quite helpful. Try Link2SD, it'll surely free your internal storage as it shifts the entire app data as well as library files and dalvik cache to SD. I use the same. =)
Sent from my GT-S5830 using XDA Premium App
Thank you, it work
I thought SG Ace already had app2sd..(enable by Froyo). Because after I installed any games.. I just use setting inside SETINGS/APPLICATION/MANAGE APPLICATIONS and move to SD..
so what is the major different about Link2sd and Move2SD?
The Froyo way, Apps2SD or Move2SD Enabler still store the dex and library files needed for the application to run, on the internal storage. You will see your /data/dalvik-cache takes up the most space because of this. Whereas in Link2SD method, all of these files are physically stored on your SD card on a second partition which is mounted at boot. They are simply symbolic linked with the original locations.
nish7x said:
The Froyo way, Apps2SD or Move2SD Enabler still store the dex and library files needed for the application to run, on the internal storage. You will see your /data/dalvik-cache takes up the most space because of this. Whereas in Link2SD method, all of these files are physically stored on your SD card on a second partition which is mounted at boot. They are simply symbolic linked with the original locations.
Click to expand...
Click to collapse
Sadly Link2SD doesn't work on 2.3.3. There's an unresolved bug / uncompatibility issue and I don't know if/when the developer will come up.
I heard so, that's why I'm not upgrading to Gingerbread yet.
i've tried move2sd, first it work great but then i got this 'unable to install to sd' error when ever i tried to install apps. i have to unmount my sd card then i can install the apps, quite annoying to me, so i formatted my sd card and uninstall move2sd and the error is gone....
Well done !!
It works !! almost all the 3rd party applications run now from SD !
SAVE ME 30 MEGA pure rom memory AND SURVIVE MY GOOD HEALTHY !
Any help how to deal with all the provider rubbish and stinky applications to throw away from phone or moving into the the SD ?
THANK AGAIN
ALON
bugijun said:
i've tried move2sd, first it work great but then i got this 'unable to install to sd' error when ever i tried to install apps. i have to unmount my sd card then i can install the apps, quite annoying to me, so i formatted my sd card and uninstall move2sd and the error is gone....
Click to expand...
Click to collapse
you can try simple2ext but this only works for CM roms. A caveat however. Most, if not all CM roms ported to the SGA are still at RC1 and not final yet. There is a bug which causes the phone to restart when market attempts to install a newly downloaded app. Appears to be CM related.
So you can choose to wait for the devs here to port CM7.1 final for SGA and then try your luck.

[Q] Kyrillos' ROM v3.3 App2Sd doesn't work

hi all,
I followed the instruction from http://forum.xda-developers.com/showthread.php?t=957123 to the letter but the app2Sd still doesn't work.
Tried it numerous times now and also with older versions of Kyrillos but my Internal memory isn't increasing.
The SD card seems to be taken of about the same memmory that I ask to convert to appdata and swap memory, but the internal memmory isn't stated to be increased.
Anyone know what I might be doing wrong ,or is there a better manual for this application?
after installing rom ROOT THE PHONE!!!
app2sd will not work without root
apply app2sd partition &u'll get superuser permission request, select allow
(the phone will reboot and sd card will show unsupported format)
then download android terminal emulator from market(free!!)
open the emulator and u'll get a blue screen
type --(commands)
-------------
su(enter)
mkfs.vfat /dev/block/mmcblk0p1(enter)
(wait for # to come onto the next line)
reboot(enter)
-----------------
sheron said:
after installing rom ROOT THE PHONE!!!
app2sd will not work without root
apply app2sd partition &u'll get superuser permission request, select allow
(the phone will reboot and sd card will show unsupported format)
then download android terminal emulator from market(free!!)
open the emulator and u'll get a blue screen
type --(commands)
-------------
su(enter)
mkfs.vfat /dev/block/mmcblk0p1(enter)
(wait for # to come onto the next line)
reboot(enter)
-----------------
Click to expand...
Click to collapse
the applications are included in the software of Kyrillos and phone is pre rooted and working.
I did all steps that you stated, as also described in the original post of Kyrillos.
again, after doing all those steps I do see more then a gig less on my SD card, but I don't see the Internal memory increasin. It just keeps at 105MB
I have the same problem, can someone help or explain how we get this working?
wodka2650 said:
the applications are included in the software of Kyrillos and phone is pre rooted and working.
I did all steps that you stated, as also described in the original post of Kyrillos.
again, after doing all those steps I do see more then a gig less on my SD card, but I don't see the Internal memory increasin. It just keeps at 105MB
Click to expand...
Click to collapse
have you check with titanium beckup ?????
pator5 said:
have you check with titanium beckup ?????
Click to expand...
Click to collapse
you CAN'T see the effects in settings.go to market download titanium and check it
So when I see in Titanium Backup both Internal and SD card it doesn't work? And when I see Internal, SD Card and SD Card(a2sd) it does work?
tomgreep said:
so when i see in titanium backup both internal and sd card it doesn't work? And when i see internal, sd card and sd card(a2sd) it does work?
Click to expand...
Click to collapse
yes do you see internal sd and a2sd????
pator5 said:
yes do you see internal sd and a2sd????
Click to expand...
Click to collapse
Yep, so lucky me, probably it works. And it's correct I cannot see this anywhere else (in the settings for example)
tomgreep said:
Yep, so lucky me, probably it works. And it's correct I cannot see this anywhere else (in the settings for example)
Click to expand...
Click to collapse
OK now with in titanium go to bath look for "move all app to internal mem" and you're done ENJOY
then why does my internal memmory still gets full? Do I need to move the applications with another tool to the app2SD partition?
wodka2650 said:
then why does my internal memmory still gets full? Do i need to move the applications with another tool to the app2sd partition?
Click to expand...
Click to collapse
where did you saw that internal memory gets full in titanium or in settings???
btw, it is correct the internal storage in settings stays the same as it was before a2sd?
I think I'm starting to get the hang of it
Sent from my GT-I5800 using XDA App
tomgreep said:
btw, it is correct the internal storage in settings stays the same as it was before a2sd?
Click to expand...
Click to collapse
yes that's the point after i while you will in settings that memory is decreasing but that's the data of app you will use
ok cool, I ran the batch you told and now my internal memory stays clean, thanks!
you can't see it in the phone settings.. but for a test see how much internal memory you have that your phone tells you, then install a large app like angry birds or something, and it should only go down by 1-2mb

[Q] Xperia Play - Internal Storage...

Sorry to post such a noob question on these boards.
I found this forum to be the most active in regards to the Xperia Play so thought I'd set up home here for a while.
I have the 16GB card that came with my PLAY, and even though when I install an app/game, I use the 'move to SD card', my internal storage is very low (getting a message). It's like 20mb or something left. I have gone through all the apps and moved everything that can to SD Card.
I am new to Android (from Ios), but thought this would be ok as everything could be installed on the SD Card, but my internal storage keeps going down anyway.
So this is going to greatly limit the number of games/apps I can install even though I have plenty of SD card space?
Cheers.
Do you know how to use adb?
Sent from my R800i using Tapatalk
Do you know how to use the search function on this forum?
AndroHero said:
Do you know how to use adb?
Sent from my R800i using Tapatalk
Click to expand...
Click to collapse
No.
DeadlyDazza said:
Do you know how to use the search function on this forum?
Click to expand...
Click to collapse
Yes, strange question.
Red_Kop said:
No.
Yes, strange question.
Click to expand...
Click to collapse
Google adb, learn its basic functions and how to use it, then from adb shell, use the command pm SetInstallLocation 2, this will force all apps and libs to be moveable to the sd card, i have 200+ apps n games on my play and still 70mb of internal storage
Sent from my R800i using Tapatalk
Thankyou AndroHero for you helpful reply.
Can I ask if there are any adverse effects or risks using ADB?
DeadlyDazza said:
Do you know how to use the search function on this forum?
Click to expand...
Click to collapse
Do you know how not to be rude?
Careful about moving apps to the SD card. A lot of apps don't like it at all and will stop functioning completely. Apps that want to be on all the time, for example (Trillian, Tweetdeck, etc...) will just be killed every so often and you'll wonder why you never got that message on MSN or why you didn't get that DM from Twitter. Any app that has widgets will break the widgets completely when moved to the SD card.
It's one of those things I discovered that no one seems to talk about.
Red_Kop said:
Thankyou AndroHero for you helpful reply.
Can I ask if there are any adverse effects or risks using ADB?
Click to expand...
Click to collapse
No, adb stands for android debug bridge, is basically a way for you to comunicate with your device remotely using a pc. Like another poster has mentioned, becareful what you move any app with a widget you want to use, or any app you wish to start on boot or sync need to stay on the internal storage
Sent from my R800i using Tapatalk
zerojay said:
Careful about moving apps to the SD card. A lot of apps don't like it at all and will stop functioning completely. Apps that want to be on all the time, for example (Trillian, Tweetdeck, etc...) will just be killed every so often and you'll wonder why you never got that message on MSN or why you didn't get that DM from Twitter. Any app that has widgets will break the widgets completely when moved to the SD card.
It's one of those things I discovered that no one seems to talk about.
Click to expand...
Click to collapse
I uninstalled trillian after google gave me the ip of a computer that accessed my email, i googled it and it came up as trillian.
Sent from my R800i using Tapatalk
You probably had Google Talk enabled on Trillian.
thanks
Hi! I have a Sony Xperia Play
Phone details:
Model - R800i
Android Version - 2.3.4
Kernel Version - 2.6.32.9-perf [email protected] #1
Build - 4.0.2.A.0.42
My internal storage is very low (getting a message). I have gone through all the apps and moved everything that can to SD Card.
I have heard about Titanium Backup root, DroidSail Super App2SD, adb, Link2SD and so on.
The methods above can let me move those unmovable apps to the SD card.
What are the advantages and disadvantages of them? How do they compare? Which method is safer or more reliable? Which method can move more apps?
If you know, please let me know, thanks.
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
I got this information from the official Link2SD website, this is comparing Native apps2SD to Link2SD, I don't know how Link2SD compared with Titanium Backup root, DroidSail Super App2SD, adb and so on. If you know, please let me know, thanks.
(Native apps2sd
Starting with Android 2.2 (Froyo) Google introduced native apps2SD.
This method moves
* apk file on Android 2.2
* apk + lib files on Android 2.3+
into a secure folder on your SD card in the main FAT partition.
It is the easiest method because it doesn't require you to partition your sdcard and root privilige.
It has some disadvantages though.
First disadvantage is that application files are just stored on the sdcard's main FAT partition.
When you enable USB mass storage to share files with your computer (or otherwise unmounts or removes the external storage), any application installed on the external storage and currently running is killed.
The system effectively becomes unaware of the application until mass storage is disabled and the external storage is remounted on the device.
Besides killing the application and making it unavailable to the user, this can break some types of applications in a more serious way.
So second disadvantage is that not all apps can be moved with native apps2sd method because of above reason.
In order for the application to consistently behave as expected, developer should not allow the application to be installed on the external storage if it uses any of the following features, due to the cited consequences when the external storage is unmounted:
Widgets, Services, Alarm Services, Live Wallpapers, Live Folders, Account Managers, Sync Adapters, Broadcast Receivers listening for "boot completed".
Force move (requires root);
You can force the apps move to SD card with native apps2SD even the application does not support moving as described above.
Link2SD and some other apps can force move apps if you have root priviliges. But, note that this can break some applications, as described above.
)

6.0 update external storage?

Ater I update to 6.0 and the external sd card is formated that means I will lose all the apps and games I have already moved to the ext car correct? Because there is still data on the internal storage of those apps and games will the apps and games automatically download again or will I have to download each one myself?
Yes, it will format your SD and put an encryption key on it. You won't be able to use the SD on any other machine except for the one that formatted it.
Neo3D said:
Yes, it will format your SD and put an encryption key on it. You won't be able to use the SD on any other machine except for the one that formatted it.
Click to expand...
Click to collapse
I understand that but what happens to the games and apps I have moved there?
lartomar2002 said:
I understand that but what happens to the games and apps I have moved there?
Click to expand...
Click to collapse
When you format a card, everything on the card turns into unicorns and rainbows!
Neo3D said:
When you format a card, everything on the card turns into unicorns and rainbows!
Click to expand...
Click to collapse
So, in other words you do not know? Or you want to make fun of me because you are more knowledgeable in this area than me.
lartomar2002 said:
So, in other words you do not know? Or you want to make fun of me because you are more knowledgeable in this area than me.
Click to expand...
Click to collapse
Formatting a memory card will delete everything on it. Backup the existing data and then copy it back on after the format process. But, you'll have to use the device to copy because the card will be encrypted.
I think the interesting question, which also I don't know an answer to, is this:
lartomar2002 said:
.... will the apps and games automatically download again or will I have to download each one myself?
Click to expand...
Click to collapse
FearlessSpiff said:
I think the interesting question, which also I don't know an answer to, is this:
Click to expand...
Click to collapse
You have to do it manually. Android doesn't know which apps you want on the Ext-SD or the internal storage.
The safest way to do this would seem to be:
-uninstall all apps currently on SD
-reinstall after SD format
If you want to preserve any other type of existing data, back it up somewhere else, then re-copy back onto the SD.
Neo3D said:
You have to do it manually.
The safest way to do this would seem to be:
-uninstall all apps currently on SD
-reinstall after SD format
Click to expand...
Click to collapse
There is no need to uninstall apps on SD.
There will be a persistent notification that asks if you want to forget the SD Card (that you had earlier formatted it as Internal i.e. Adopted Storage).
If you confirm, the encryption key will be deleted from the phone, and apps stored on MicroSD won't be readable by your phone or any other device.
The question: if automatic downloading of apps will occur has been answered above by Neo3D.
And when the external sd stop working, the system crash ?

Categories

Resources