CyanogenMod - Install Location - XPERIA X8 Q&A, Help & Troubleshooting

Hi, I've been using GingerDX v022 (and Alfs v08a kernel) for quite a while and I'm happy with it but one thing bothers me.
Sometimes when installing large apps with low internal phone memory left the system still tries to install the app on the phone leaving me with like 4 MB of internal memory and then I have to manually move the app to sd card using the application manager. I would prefer Android to install apps to sd card by default (while still letting me move them to phone memory when I want).
In CyanogenMod settings I found two options that I find somewhat confusing. One is "Install Location" and it allows me to select sd card, which is exactly what I want but here's what I find confusing... The option "Install Location" is right next to "Allow Application Moving" and even though I have "Allow Application Moving" unticked I can still move apps to sd card. Are these two options related to a different system of moving apps to sd card (e.g. to a separate partition instead of the .android_secure thingy)? Because I still want to use .android_secure and I'm not sure if "Install Location" option might somehow mess it up.
Long story short: Does "Install Location" in CyanogenMod settings work with Gingerbread's built-in moving apps to sd card?

Long story short: Does "Install Location" in CyanogenMod settings work with Gingerbread's built-in moving apps to sd card?[/QUOTE]
Yes it does.. How do you find Install Location confusing? It's sort of self-explanatory, isn't it?

I thought "Install Location" might have been a subsetting of "Allow Application Moving" (and "Allow Application Moving" some completely alternate app2sd method). Now looking at screenshots I see that the English tooltip under "Allow Application Moving" says "Allow moving of any application to external storage" while the Polish translation says something like "Allow moving applications to external storage" and omits the word "any", which kinda changes the meaning.
So I'm guessing "Allow Application Moving" simply bypasses the block that some apps have on being moved to sd card?

Not sure that's the case at all..
It just facilitates being able to use the sdcard as an install media. That's all..

I changed "Install Location" in CyanogenMod settings and it didn't really do anything. Some apps still install in phone memory while others on sd card, like before.

Soo... Does anyone know how to make this option work?

CuriousJack said:
Soo... Does anyone know how to make this option work?
Click to expand...
Click to collapse
The question to your answer is: Some apps are movable using native apps2sd and some apps are not (that is indicated actually in the info of the app, seen in links2sd, you can see an sdcard icon on the right and says that it is movable, if there is no icon, it is probably recommended that you don't move the app using native apps2sd). If you want to move apps that are not movable using native apps2sd, use links2sd.

No, that's not the case. The apps I'm talking about ARE movable and CAN be moved using the built-in interface but they install in phone memory by default and then have to be moved manually (using the regular Android app manager, not some brute force method). I don't want to force apps that normally cannot be moved to sd to install on sd, I want the movable apps to choose sdcard as the default location.

CuriousJack said:
No, that's not the case. The apps I'm talking about ARE movable and CAN be moved using the built-in interface but they install in phone memory by default and then have to be moved manually (using the regular Android app manager, not some brute force method). I don't want to force apps that normally cannot be moved to sd to install on sd, I want the movable apps to choose sdcard as the default location.
Click to expand...
Click to collapse
I don't have such issues with GingerZaraki or FroyoPro..
I set to Automatic..

Okay, then let me rephrase the question. Does anyone KNOW if "Allow application moving" in CyanogenMod settings needs to be turned on for the "Install location" setting to work?
And to clear up any confusion, I didn't mean that all apps install in phone memory, just some. The thing is... the decision isn't up to me and I would prefer it to be my decision.

Does anyone KNOW if "Allow application moving" in CyanogenMod settings needs to be turned on for the "Install location" setting to work?
Click to expand...
Click to collapse
I know that when Allow Application Moving is turned ON that it works..

Now I tried with both "Allow Application Moving" On and Off, and I installed Ustream app from Android Market for test. The app still took ~9 MB of phone memory instead of installing on SD card as the "Location" selection in CyanogenMod would suggest. Meh...
Any idea of something like a terminal command that could override the default install location?

Related

"Application is not installed on your phone" after moving apps to SD on Froyo

"Application is not installed on your phone" after moving apps to SD on Froyo
hey guys,
first of all i searched the forum but didn't find anything like my problem
(i run Froyo on non-rooted Nexus One)
so, i moved several apps to SD using that ADB command to change default install location from internal memory to SD. everything worked and apps were running smoothly. then my battery went dead during the night and when i switched the phone on in the morning i see icons with green robot for all those apps moved to SD. and if i try running them i get "application is not installed on your phone" error message. thou apps are still on the SD. it seems that my phone erased the part of the data of those apps stored in the internal memory.. which sucks.
anyone faced such a problem so far? i wonder if it's possible to solve without reinstalling all the apps..
many thx in advance.
Cheers.
It happened on my phone too, just removed battery for few minutes.
Looks like a bug.
dpds said:
hey guys,
first of all i searched the forum but didn't find anything like my problem
(i run Froyo on non-rooted Nexus One)
so, i moved several apps to SD using that ADB command to change default install location from internal memory to SD. everything worked and apps were running smoothly. then my battery went dead during the night and when i switched the phone on in the morning i see icons with green robot for all those apps moved to SD. and if i try running them i get "application is not installed on your phone" error message. thou apps are still on the SD. it seems that my phone erased the part of the data of those apps stored in the internal memory.. which sucks.
anyone faced such a problem so far? i wonder if it's possible to solve without reinstalling all the apps..
many thx in advance.
Cheers.
Click to expand...
Click to collapse
Forcing the apps to install to SD will break them. In order for applications to be successfully moved to the SD card in Froyo, they must have an appropriate flag set on them from the developer. If the application isn't updated with this flag, it will not work by default from the SD card.
The ADB command should work fine (I think) once all apps are updated, but until then it will just cause problems like what you're seeing.
codesplice said:
Forcing the apps to install to SD will break them. In order for applications to be successfully moved to the SD card in Froyo, they must have an appropriate flag set on them from the developer. If the application isn't updated with this flag, it will not work by default from the SD card.
The ADB command should work fine (I think) once all apps are updated, but until then it will just cause problems like what you're seeing.
Click to expand...
Click to collapse
What app in the market currently supports apps 2 sd?
ram130 said:
What app in the market currently supports apps 2 sd?
Click to expand...
Click to collapse
Not sure, as I'm currently unable to access the market (being deployed will do that). There is a thread on the subject though, which is here: http://forum.xda-developers.com/showthread.php?t=687659
codesplice said:
Not sure, as I'm currently unable to access the market (being deployed will do that). There is a thread on the subject though, which is here: http://forum.xda-developers.com/showthread.php?t=687659
Click to expand...
Click to collapse
THanks man!!
I set the installation location to SD via ADB and restored my apps via Titanium Backup. Here's what I found.
Apps will occasionly seem to have dissapeared (from App page + download page from the market) seems intermittent and seems to correct itself.
If you mount the SD card via USB then obviously your phone can't access the apps, after unmounting it takes a little time for the system to correct itself (my recommendation is to turn the screen off and on again).
Keep any widget app you are going to use on the phone's storage (i.e. install app, then move it back to phone via the 'applications' menu).
Shortcuts to apps will revert to a generic green/white robot icon, but they will still work (not when the SD card is mounted via usb though obviously).
Basically any application/live wallpapers or anything else that you expect to run live (constantly) should be moved to the phones memory.
bumskins said:
I set the installation location to SD via ADB and restored my apps via Titanium Backup. Here's what I found.
Apps will occasionly seem to have dissapeared (from App page + download page from the market) seems intermittent and seems to correct itself.
If you mount the SD card via USB then obviously your phone can't access the apps, after unmounting it takes a little time for the system to correct itself (my recommendation is to turn the screen off and on again).
Keep any widget app you are going to use on the phone's storage (i.e. install app, then move it back to phone via the 'applications' menu).
Shortcuts to apps will revert to a generic green/white robot icon, but they will still work (not when the SD card is mounted via usb though obviously).
Basically any application/live wallpapers or anything else that you expect to run live (constantly) should be moved to the phones memory.
Click to expand...
Click to collapse
This is how I've been using it, also when you reboot the phone, I give it a minute to calculate the applications on the SD card and load them into the phone memory. (Notice if you go to App settings while you can't access the application, they are all there and being "calculated."

[Q] low internal phone storage; options for using SD card for apps?

I've run up against the Nexus One's meager internal storage. I don't have that many applications installed and what i do have is essential. My stock, unrooted Nexus One has ~20 mb of free internal phone storage, which prevents me from trying out some of the new applications that are large in size, eg. Angry Birds beta is 11mb or Google Earth is 20mb. What are my options for using my 8gb micosd card as additional storage space?
Here's what i've been able to gather on my options:
1. Froyo's "Move to SD card" option only moves the apk file. Applications themselves need to provide this functionality. I've already removed and uninstalled what I can, and still have very little free space.
2. Apps2SD: requires me to partition my sd card with an ext3 partition and install a custom rom that boots this partition.
3. use SetInstallLocation: requires me to Root device. Would probably have to uninstall/reinstall all my applications.
My phone is stock, no root or custom firmware, and I'd like to keep it that way. I know about the accessibility and ease of the 1-click root application, but working 80 hrs a week, I don't really have the time to mess around with keeping up to date with firmware, bugs, etc. I did this with WinMo and it got pretty old/tiring after awhile. Besides, I've been very happy with the stock android OS and have only consider getting root access to install some programs, but have not been tempted enough to do so. I'm also a Linux/Unix commandline noob and have no experience with android SDK/ADB
Help? Opinions?
Thanks.
Actually you can root your device without reinstalling your applications. The best bet would be to go that route and then use a program like titanium backup (donate version, 3.99) to force move it. The only thing not to do is to move anything that has widgets and doesn't support move to SD as it will no longer display the widget (program will usually still work). That way you don't have to have ALL programs installing on the SD and still have to worry about the installation location. Also, titanium is great to back up all settings incase something horribly goes wrong and either you have to flus your system or you get daring and start installing custom roms.
It's one of the most useful $4 I've spent since I got my N1. And it will stay with me if I ever move to another Android device too.
I'm a bit confused by "force moving" applications via titanium backup and then your statement about not moving anything that doesn't support move to SD. Isn't that what I've already done now when I've moved all programs that support moving to SD?
I understand that programs that require background services, widgets, etc are probably better off on the internal storage as it's likely faster and always accessible as compared to SD storage. But some apps like XBMC remote, epocrates, nytimes, epicurious, adobe acrobat (which are all apps > 3-4 mbs in size) probably dont need to be on internal storage, yet don't support Move to SD by the application developer.
#3 does not require root if performed via adb.
Rusty! said:
#3 does not require root if performed via adb.
Click to expand...
Click to collapse
I think I did this. I now have the ability to move ANY app to SD (although you may want to stay away from moving widgets and the like)
Could somebody post that method? It involved a few simple commands via command line on a windows pc. Something about setlocation....
I have much more room now that I can move everything to SD. I'm not sure why this isn't the default method in FroYo. Does anybody know if there are any serious side effects from doing this? I haven't noticed any so far.....
Download ModInstallLocation. Lets switch the install location to sd card and that lets you use the applications panel to move apps to the sd card. I've got nearly everything that isn't a widget or system app on the sd card. Works great
unknownrebelx said:
Could somebody post that method?
Click to expand...
Click to collapse
Code:
adb shell pm setInstallLocation 2
GldRush98 said:
Download ModInstallLocation. Lets switch the install location to sd card and that lets you use the applications panel to move apps to the sd card. I've got nearly everything that isn't a widget or system app on the sd card. Works great
Click to expand...
Click to collapse
This. Plus you can root using 1-click root app without unlocking your bootloader nor installing any different rom. In fact, nothing will be reinstalled, not even your apps. It's literally 1 tap and you are rooted, then you can benefit from ModInstallLocation hassle free.
wow. that really wasn't as bad as i thought it would be. after using 1-click root, i downloaded Mod Install Location from the market, and set install to 2 (external). then used Android OS' Settings>>Applications>>Managage Applications panel to move most of what I could. there were still some apps that had the option to "Move to SD" greyed out, but most were movable. I'm now up to 55mb free. this will hold me over for now although more installed internal storage, as seen in some newer android devices, would have been the better option.
Do most of you keep setInstallLocation 2 or change it back to setInstallLocation 0 and then switch to move applications as needed? I recall reading elsewhere that somet applications have trouble or don't work correctly when installing to SD card initially.

[Q] Cannot Install to or Transfer apps to SD

I am rooted and running firmware 1.0.1 but cant install apps to SD and in the application settings I don't even have the option of transferring apps to SD. Also cannot get apps like App2SD from the Market.
For the first couple of weeks I was able to install non-Market apps. Now I am unable to do that. Allow Non-Market Apps box is checked.
Does anyone have any insights, ideas, recommendations, solutions, workarounds and experience with these issues. Perhaps an obscure setting I am unaware of? USB Debugging is already selected in Development.
Thanks very much!
Am assuming you have Nook Color Tools installed .. try opening that and unchecking the Allow Non-Market box .. close the app and reopen it and now check the allow box and see what ya get .. sometimes this 'fixes' the problem ... also am unclear on why you cannot get Apps2SD from the market .. can you elaborate? .. Cheers
zdrifter said:
Am assuming you have Nook Color Tools installed .. try opening that and unchecking the Allow Non-Market box .. close the app and reopen it and now check the allow box and see what ya get .. sometimes this 'fixes' the problem ... also am unclear on why you cannot get Apps2SD from the market .. can you elaborate? .. Cheers
Click to expand...
Click to collapse
Isn't apps2SD Froyo only? Might be mistaken, but thought that was the case...
Any apps related to installing apps to my SD or moving them from internal to SD or from SD to internal are unavailable to me---they don't show up as an option when I view Market. My understanding of that is that it means the apps aren't compatible with my Nook or with the configuration. I have access to Market apps in general but not to apps related to SD functions. I will try unchecking the Allow Non Market apps box.
Larger concern is the inability to install to or transfer apps to SD. That limits me to internal memory.
Appreciate your input zdrifter. Hope the weather in Jupiter is good.

[Q] Is Apps2SD pre-installed on CM7?

Hi All,
Is Apps2SD pre-installed on optimus black? I can see the feature to move apps to SD card in "Manage Applications" settings? But I am not sure whether it is apps2sd application.
abhishekoza said:
Hi All,
Is Apps2SD pre-installed on optimus black? I can see the feature to move apps to SD card in "Manage Applications" settings? But I am not sure whether it is apps2sd application.
Click to expand...
Click to collapse
if your looking for the market apps "App2SD", it isn't, but you can do move to SD on "manage application" setting.
i don't think we need to app2sd unless you installed over 1G apps
backfire_12 said:
if your looking for the market apps "App2SD", it isn't, but you can do move to SD on "manage application" setting.
Click to expand...
Click to collapse
Thanks.
What is the advantages/disadvantages of using feature of "manage applications" settings against apps2sd?
abhishekoza said:
Thanks.
What is the advantages/disadvantages of using feature of "manage applications" settings against apps2sd?
Click to expand...
Click to collapse
If you have app that has widget, it can't run if saved in sdcard. Also, reading internal memory is more faster than from sdcard. If your app is used every time, it's better saved on internal memory, because reading sdcard need more power, that's mean it will drain your battery more faster.
.CMIIW.
redy2006 said:
If you have app that has widget, it can't run if saved in sdcard. Also, reading internal memory is more faster than from sdcard. If your app is used every time, it's better saved on internal memory, because reading sdcard need more power, that's mean it will drain your battery more faster.
.CMIIW.
Click to expand...
Click to collapse
Thanks,
But what I need to know is that if I can move my app to sdcard from "Manage Applications" menu, then why would I need apps2sd market app.
abhishekoza said:
Thanks,
But what I need to know is that if I can move my app to sdcard from "Manage Applications" menu, then why would I need apps2sd market app.
Click to expand...
Click to collapse
Well, app2sd was in past a must tool for rooted Eclair (2.1) android, in which there wasn't native function of moving apps to sd card.
Secondly, afaik, some apps that can't be moved to sd card in froyo or gb, can be moved to sd card by such third party handler. cmiiw.
But anyways, since we have sufficient internel memory, i don't use any thing at all and let default settings decide whether app should remain in internal or sd card.
abhishekoza said:
Thanks,
But what I need to know is that if I can move my app to sdcard from "Manage Applications" menu, then why would I need apps2sd market app.
Click to expand...
Click to collapse
Not all app can be moved via "Manage Application", and perhaps app2sd can force to move it to sdcard. I don't know either, since I'm not using it...
Yes, I'd used it for a short while in my galaxy apollo untill i upgraded to froyo. Though i didn't use it then, but i read it can move some of the apps that can't be moved by defult, but not all apps of course.
Thanks
Thanks redy2006 & officialreloaded
With the inbuilt CM7 feature, you can move certain apps to sdcard and it doesn't move the complete app, only certain data.
With apps2sd, you are changing /data/app to sdcard and is transparent to the phone, then you can move every app and you move the complete app, not only certain data.
But, anyway, with OB you don't need to do such thing because there are a lot of internal memory. With another phones (like ZTE blade) you need this kind of apps, but for CM7 the optimal solution isn't A2SD, there is a much better app for this job, S2E, look for it on market.
Regards.
Huexxx said:
With the inbuilt CM7 feature, you can move certain apps to sdcard and it doesn't move the complete app, only certain data.
With apps2sd, you are changing /data/app to sdcard and is transparent to the phone, then you can move every app and you move the complete app, not only certain data.
But, anyway, with OB you don't need to do such thing because there are a lot of internal memory. With another phones (like ZTE blade) you need this kind of apps, but for CM7 the optimal solution isn't A2SD, there is a much better app for this job, S2E, look for it on market.
Regards.
Click to expand...
Click to collapse
Thanks Huexxx,
Do you also suggest partitioning SD card ?
Also, I remember, whenever I have plugged my phone through USB to PC & enabled "Mass Storage" ON, I can only see my SD card mounted on my windows machine. IS there any way I can also mount my phone's internal memory to PC ?
The mass storage mode uses the mobile like a sdcard reader, you only can see sdcard itself, not internal partitions.
Through adb you can navigate inside your phone from your pc, but it's not a explorer by itself, is like a terminal inside your phone.
Right now, I don't know an app that does the job... take into account that android (like linux) is a case sensitive SO, but windows don't... in certain situations you couldn't correctly see the files if you mount those partitions in your PC.
If you don't plan to use S2E, don't partition the sdcard. I f you want to use S2E, you must make the sd-ext partition and the fat32 partition with the rest of the space.
Regards.
Huexxx said:
The mass storage mode uses the mobile like a sdcard reader, you only can see sdcard itself, not internal partitions.
Through adb you can navigate inside your phone from your pc, but it's not a explorer by itself, is like a terminal inside your phone.
Right now, I don't know an app that does the job... take into account that android (like linux) is a case sensitive SO, but windows don't... in certain situations you couldn't correctly see the files if you mount those partitions in your PC.
If you don't plan to use S2E, don't partition the sdcard. I f you want to use S2E, you must make the sd-ext partition and the fat32 partition with the rest of the space.
Regards.
Click to expand...
Click to collapse
Thanks Huexxx. This really helped.
Link2SD
abhishekoza said:
Hi All,
Is Apps2SD pre-installed on optimus black? I can see the feature to move apps to SD card in "Manage Applications" settings? But I am not sure whether it is apps2sd application.
Click to expand...
Click to collapse
Personally i prefer Link2SD.. using this we can put ALL the apps on SD..
Dont just tell thanks.. Click the thanks button..

Always this problem!

Hey,
I just installed a nieuw rom, i made sure i got a TI backup on my sd card.
now if i want to restore my apps it says i have none?
How can i fix this?
Grtzz
Also happened to me i pressed the menu button and pressed preferences in there should be an option called backup location (I'm not sure as mine is not english) then you press detect and it should find all your backups
maybe your new rom use different SD card as /sdcard
if cm9 , you should check on 'settings' ->'storage' -> 'storage configuration' -> 'use internal storage'
Using auto-detect like vcrp94 suggested is way easier.

Categories

Resources