froyo apps to SD help please. - Nexus One Q&A, Help & Troubleshooting

hello all, I've installed froyo(paul's release) and I've executed
"1.adb shell 2.adb setinstalllocation 2" (thanks henchman). Move to SD card isn't greyed out anymore however once I press it, my phone seems to reboot and the app doesn't move to the SD card :c
I've tried several apps including free apps, and game apps not written by google (ex. google earth)

euki69 said:
hello all, I've installed froyo(paul's release) and I've executed
"1.adb shell 2.adb setinstalllocation 2" (thanks henchman). Move to SD card isn't greyed out anymore however once I press it, my phone seems to reboot and the app doesn't move to the SD card :c
I've tried several apps including free apps, and game apps not written by google (ex. google earth)
Click to expand...
Click to collapse
I've got the same issue, still looking for an answer.

1. adb devices --to make sure your device is recognized
2. adb remount
3. adb shell
4. setInstallLocation 2
5. exit
well, you can move to SD, but once you reboot, it takes about a minute or so for the apps (that are moved to SD) to start working
best option is to wait for the developers to give permission for move to SD for Froyo

jblazea50 said:
1. adb devices --to make sure your device is recognized
2. adb remount
3. adb shell
4. setInstallLocation 2
5. exit
well, you can move to SD, but once you reboot, it takes about a minute or so for the apps (that are moved to SD) to start working
best option is to wait for the developers to give permission for move to SD for Froyo
Click to expand...
Click to collapse
I've run the setInstallLocation 2 command but when I try to move the apps, my phone restarts. Same when I try to install an app.

jblazea50 said:
1. adb devices --to make sure your device is recognized
2. adb remount
3. adb shell
4. setInstallLocation 2
5. exit
well, you can move to SD, but once you reboot, it takes about a minute or so for the apps (that are moved to SD) to start working
best option is to wait for the developers to give permission for move to SD for Froyo
Click to expand...
Click to collapse
thank you for the help but I've done all that (even have 2.2 SDKs), even did it multiple times.. however my phone still goes to Boot animation after pressing move to sd card. :c

euki69 said:
thank you for the help but I've done all that (even have 2.2 SDKs), even did it multiple times.. however my phone still goes to Boot animation after pressing move to sd card. :c
Click to expand...
Click to collapse
In Froyo, don't you just move the apps to the sdcard via Menu -> Settings -> Applications -> {relevant app}?
In the app's settings (after you install it) you just touch "Move to SD". So you're moving them to sdcard one at a time. This way, you have the option of moving each - or any - app to sdcard (or not).
Why would Paul's version not support the Froyo way of doing it?
I have Froyo here on a stock N1. Just beginning at how to get it flashed onto an N1 currently running CM v5.0.6. Was wondering if it might even relock the bootloader. Ya neva know!

It works fine on mine. All my apps downloaded automatically even though I have made absolutely sure that the setting to save them was unticked. Thats a different issue though. At any rate I toggled over to 2 and rebooted and then went through and moved them all over to sd one by one. After I did so I rebooted again and performance is fine. Same as on cm and there is no discernable difference in the apps performance whether on phone or sd. No issues whatsoever with it. I partitioned the drive to get rid of ext4 since I wouldnt need it anymore and then wiped everything before I flashed froyo. Not sure if either would be a factor.

Related

new sd card, apps not working, how to mass reinstall?

I got a new sd card, a 16GB class 6 instead of the 8GB class 2 I'd been using. I had apps to sd set up previously. I used dd to backup the ext3 partition off the sd card, then I created an ext3 partition on the new card and restored the dd image. All my apps are there, but none of them WORK. Some won't even launch, some launch and then force close as soon as I try to actually do something.
I have close to 100 apps installed. I REALLY don't want to manually uninstall and reinstall them. Is there a way to mass reinstall currently installed apps?
Edit-Ended up forced to wipe for an unrelated issue anyway. Thanks for the suggestions!
In Cyanogens build he has a fix_permissions app you should look into it. I'd almost bet its a permission problem.
heldc said:
I got a new sd card, a 16GB class 6 instead of the 8GB class 2 I'd been using. I had apps to sd set up previously. I used dd to backup the ext3 partition off the sd card, then I created an ext3 partition on the new card and restored the dd image. All my apps are there, but none of them WORK. Some won't even launch, some launch and then force close as soon as I try to actually do something.
I have close to 100 apps installed. I REALLY don't want to manually uninstall and reinstall them. Is there a way to mass reinstall currently installed apps?
Edit-Is this the wrong forum for this question? It seemed right, since I'm asking how to mass reinstall. I did search the entire forum for mass reinstall, and didn't find any info. Is this a topic already covered?
Click to expand...
Click to collapse
use adb. Put all of the .apk into one folder.
open a command terminal and cd into the directory with all the .apk in it.
type:
adb remount
adb install *.apk
Click to expand...
Click to collapse
it will install all the .apk that was in the folder you cd into.

Help required (apps2sd) - can't see /system/sd

I had to reset my phone today, since for some odd reason, I switched it off and back on, and it wouldnt get back the flashing android screen (havent even made any changes to it recently, God knows why it decided to do this).
Anyway, I figured, format the phone, reflash JF 1.5, and then move apply apps2sd (I already have my apps on my SD card, just have to link them back to the phone so it can see them), and the small customisations I can do later, I would get my phone back to functioning level.
I am using these instruction from SDK on my computer:
1. Check if your phone is recognised.
adb devices
2. Mount the phone into ADB.
adb remount
3. Bring up the shell.
adb shell
4. Check if /system/sd is visible.
df
5. Skip this step if you already have your apps on SD.
cp -a /data/app /system/sd
6. Skip this step if you already have your app-private on SD.
cp -a /data/app-private /system/sd
7. Remove the current apps folder on device.
rm -r /data/app
8. Remove the current app-private folder on device.
rm -r /data/app-private
9. Link the app folder on sd to the one on device.
ln -s /system/sd/app /data/app
10. Link the app-private folder on sd to the one on device.
ln -s /system/sd/app-private /data/app-private
11. Finally Reboot.
reboot
Well, I can flash the phone fine, but when I am trying to follow the instructions for relinking the apps from SD to the phone (stage 4), it doesnt show /system/sd, instead it shows /sdcard.
Does this mean I should change the following steps to say 'sdcard' instead of '/system/sd'? I have tried this with no luck, shows me the android screen indefinitely.
I have an ext2 partition on the phone on which I have my apps, I have done this whole process before many times, but not for a while so I am missing something important.
And I am skipping steps 5 and 6, since I have already got all my apps on my SD card.
Any help would be must appreciated, this is wasting quite a bit of my time.
PS: the only thing I have changed since I last did this, was I flashed the phone with a google ion build, while it had JF 1.5 on it. What I did notice after that was the phone ran a lot slower. That is the only change I can think of which separates this process working perfectly previously, and not at all now.
Um reformat your entire card to fat32. And then use cyanogen's recovery 1.31. to split your sd into 2 partitions. Msg me on gtalk or by email and I'll help you out
Many thanks for the reply.
Hmm I would have thought a reformat of the SD card would be last resort, is there no way to sort this out without going down that route?
Don't think there's another way, You could try switching ROMS see if that fixes it...
Might not need to reformat it all just yet.. Been awhile since I used JF, but I don't think it automatically mounts /system/sd
I think you might need the init.rc from this post -- http://forum.xda-developers.com/showthread.php?t=512743
Personally - and I try not to be preach about it, but I think CM users can't help that -- I'd suggest trying CyanogenMod since you're reflashing anyway. It isn't quite as stock as JF, but it is rock solid and fast, and it should pickup your existing A2SD partition automatically.
Agreed with Saiboogu. Try out Cyanogen's ROM you will NOT regret it
Ok, I am up for that.
BTW, when I format my phone (Alt+W I believe), and start it up again, its firmware is still upgraded.
If I reflash with a ROM, will that cause any problems or slowing, will it be overwriting anything? I guess I dont quite understand what the formatting of the phone is doing, and what it is leaving behind, and then what reflashing with a ROM is doing on top of that.
Also,m when you say Cyanogen's rom will do apps2sd automatically..how? Will it recognise the apps currently on the ext2 partition of my SD card? It wont delete them will it?
It will not delete them. It uses bind mounts to automatically do the apps to sd . Just wipe and flash
Ok, giving it a try now.
Hmm something I should have asked beforehand, my partition is ext2, do I need to change that to ext3 before I flash the cyanogen ROM?
Like alritewhadeva said - it just recognizes your existing apps.
A wipe clears out all the custom data.. Your settings, application data in the /data partition, your google account data that is synced to the phone. It doesn't touch the actual OS, which is why your ROM is still installed after a wipe.
With that said.. Cyanogen builds can be "broken" if you wipe after a flash. So always either just flash, or wipe *then* flash.
PERFECT! its worked like a charm! no hassle at all!
Great! You won't regret it.
one problem I have noticed, my camera keeps force closing (wont even start up without force closing straight away).
Any solution to this? Have tried going into the camera app in applications manager and clearing defaults, but no defaults were set.
That one sounds familiar, but I can't find an actual reference to it right now. Probably want to search the Cyanogen thread for mentions: http://forum.xda-developers.com/showthread.php?t=518851
Also keep an eye out for updates - Cyanogen is prolific, and will probably get one released sometime this evening. It may fix the issue.
That one sounds familiar, but I can't find an actual reference to it right now. Probably want to search the Cyanogen thread for mentions: http://forum.xda-developers.com/showthread.php?t=518851
Also keep an eye out for updates - Cyanogen is prolific, and will probably get one released sometime this evening. It may fix the issue.
Edit: Ah, here it is - http://forum.xda-developers.com/showthread.php?t=536687
He says he had to wipe his SD card, repartition and everything. Not sure if that is your issue or not.
Ah I posted a fix for that just take the camera.apk from an older cyanogen build (3.6.5) and push it over.
so put the camera.apk on sdcard
su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
cd sdcard
cp Camera.apk /system/app
reboot
I am afraid due to my pathetic ignorance of how android works, I cant decipher what you said.
How do I get the camera apk? And once I acquire it, and put it on my SD card (I am assuming not in any folder, just on the main directory of the card), I use the terminal emulator to type in those commands?
well thats rather funny, just switched my phone on and off and the camera is working now.
raukodur said:
well thats rather funny, just switched my phone on and off and the camera is working now.
Click to expand...
Click to collapse
well then awesome
Great that you got it working. For future reference (because these things do happen occasionally), alritewhadeva was suggesting that you download an older version of CM (link on his build thread), unzip it and find the camera.apk file. Then place that file on your sd card, and follow his directions in Terminal Emulator on the phone.

Switch Memory Card with Apps to SD

HI guys,
Last night, got my new 8gb class 6 card, and took it into ubuntu and recreated all my partitions. Then did a copy from the old partition to new one...
Then did a reset ext security thing from the recovery console, however one issue is still out there... 4 apps didn't copy across correctly. They can't be uninstalled or reinstalled and are just refusing to work at all anymore.
When I try to reinstall from ADB, it spits out:
INSTALL_PARSE_FAILED_NO_CERTIFICATES
Any ideas how I can fix it?
they should just auto delete any new thread that ends with a question mark in the dev forums....
gunigugu if your too dull to get what im saying, POST IN TH PROPER PLACE
( Capslock is cruise control to success)
I've had issues of not being able to uninstall something, the only solution I found was download the apk file off the internet then installing, then uninstalling.
How did you copy it over?
The *right* way is to use the "dd" command.
dd if=/path/to/sdcard-device-file of=/path/to/store-image-in
switch the card
dd if=/path/to/store-image-in of=/path/to/sdcard-device-file
Now you can move and resize your partitions, and its done.
lbcoder said:
How did you copy it over?
The *right* way is to use the "dd" command.
dd if=/path/to/sdcard-device-file of=/path/to/store-image-in
switch the card
dd if=/path/to/store-image-in of=/path/to/sdcard-device-file
Now you can move and resize your partitions, and its done.
Click to expand...
Click to collapse
I just did a copy and paste within the ubuntu explorer
Everything works, except I think the protected apps.... and I would uninstall / reinstall them, but the option to uninstall the apps is grayed out.

"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] KF1 - SD card vs. Phone vs. USB storage (Issues w/ Default Installation Location)

OK I have rooted KF1 and I am confused about the storage mediums. I want my apps to install the the phone by default and not my microsd card (because its faster and widgets work). So while investigating it i came across some discrepancies.
1. Under "Manage Applications" the microsd card is referred to as "USB Storage". I can manually more apps from "USB Storage" to "Phone".
2. But, under "SD Card and phone storage" the internal phone memory is denoted as "USB Storage" while my microsd card is referred to as "SD Card".
What is going on. I do think I left my microsd card in the phone when I installed KF1, but I've never had this problem before. Any suggestions other than reflashing (because I have everything nicely set right now).
hashish16 said:
OK I have rooted KF1 and I am confused about the storage mediums. I want my apps to install the the phone by default and not my microsd card (because its faster and widgets work). So while investigating it i came across some discrepancies.
1. Under "Manage Applications" the microsd card is referred to as "USB Storage". I can manually more apps from "USB Storage" to "Phone".
2. But, under "SD Card and phone storage" the internal phone memory is denoted as "USB Storage" while my microsd card is referred to as "SD Card".
What is going on. I do think I left my microsd card in the phone when I installed KF1, but I've never had this problem before. Any suggestions other than reflashing (because I have everything nicely set right now).
Click to expand...
Click to collapse
In my opinion, since you're concerned about where your apps and widgets are located, pay more attention to what it says under "Manage Applications".
I agree that it's a little backwards to use the USB Storage monicker to refer to two opposite situations, but as long as your applications are showing up in the right place in the "Manage Applications" dialog, you should be in good shape.
If you're really worried about it, un-mount and remove your micro SD card and make sure all of your apps and widgets still show up in "Manage Applications" - if they do, you're in good shape. (In my experience, you usually have to get an application that moves apps/widgets to the microSD.)
(duplicate)
jmtheiss said:
In my opinion, since you're concerned about where your apps and widgets are located, pay more attention to what it says under "Manage Applications".
I agree that it's a little backwards to use the USB Storage monicker to refer to two opposite situations, but as long as your applications are showing up in the right place in the "Manage Applications" dialog, you should be in good shape.
If you're really worried about it, un-mount and remove your micro SD card and make sure all of your apps and widgets still show up in "Manage Applications" - if they do, you're in good shape. (In my experience, you usually have to get an application that moves apps/widgets to the microSD.)
Click to expand...
Click to collapse
All of my apps are installing to the microsd card. I have to manually move them to the phone storage after they install. I thought that the phone storage was always the default. I want to fix it but I can't find how because every time I search for it I get the opposite, people wanting to move from phone to microsd and set that as the default.
Perhaps as a test you could try removing your microSD card and trying to install an app. See what happens, and maybe an option will come up to change the default install location.
I have no idea if this will work, but it's something to try.
jmtheiss said:
Perhaps as a test you could try removing your microSD card and trying to install an app. See what happens, and maybe an option will come up to change the default install location.
I have no idea if this will work, but it's something to try.
Click to expand...
Click to collapse
Installed two apps. Without the microsd card it installed to the phone. But right after that I installed the microsd card and it reverted back to the USB storage.
Something else to try, if you have access to ADB, is this command:
adb shell pm setInstallLocation 0
(see this page for reference on that command).
jmtheiss said:
Something else to try, if you have access to ADB, is this command:
adb shell pm setInstallLocation 0
(see this page for reference on that command).
Click to expand...
Click to collapse
Thanks I'll give that a try.
jmtheiss said:
Something else to try, if you have access to ADB, is this command:
adb shell pm setInstallLocation 0
(see this page for reference on that command).
Click to expand...
Click to collapse
didn't work, but when I tried to use adb i didn't get the usual "shell started" display. The phone is in debugging mode, I even restarted. The shell worked fine once, and now it won't work at all.... ugh.
I even tried "setInstallLocation 1" to force the phone instead of auto. I am going to try "2"
*So far no good, should I restart after I set install location.
** I've tried everything. I even installed an app that sets the install location and not matter what it still installs to the USB Storage.
try rebooting to recovery mode (if you have CWM) and starting adb from there like this:
adb root
adb shell
and make sure you have the # prompt, not the $. If you get the $ prompt, you can try using "sudo" before the command.
jmtheiss said:
try rebooting to recovery mode (if you have CWM) and starting adb from there like this:
adb root
adb shell
and make sure you have the # prompt, not the $. If you get the $ prompt, you can try using "sudo" before the command.
Click to expand...
Click to collapse
There is no CWM for KF1 yet, but I will try your commands in recovery.
*Update: ADB didn't work in recovery (no CWM yet), so tried while in debug mode. sudo didn't work, but got the # prompt with su. Tried to set the install location and still no luck. The applications still install to the microsd card.
At this point, I think my only option is to reflash the ROM (without the microsd card installed).
Sorry I couldn't offer a better solution. Hopefully the reflash will fix things. Just make sure you Tibu first, and your restoration shouldn't be too painful.
jmtheiss said:
Sorry I couldn't offer a better solution. Hopefully the reflash will fix things. Just make sure you Tibu first, and your restoration shouldn't be too painful.
Click to expand...
Click to collapse
Thanks for taking the time to help out.
I'm on Cognition 5 Beta 2 (that is based on the Leaked i897uckf1)...
There is an option under Menu/ Settings/ Applications/ "Preferred location"
Do you have this option ? If so, ur choice is there--- "Internal memory"
Not sure if after u choose that option u would have to reboot for it to take.
Sent from my SAMSUNG-SGH-I897 using XDA Premium App
It doesn't matter whether you had a microsd card installed. I removed microsd +sim before flash and also ran the adb shell from command prompt... didn't seem to make a difference.
Let me know if someone finds a fix for this!
For2ndtwin said:
I'm on Cognition 5 Beta 2 (that is based on the Leaked i897uckf1)...
There is an option under Menu/ Settings/ Applications/ "Preferred location"
Do you have this option ? If so, ur choice is there--- "Internal memory"
Not sure if after u choose that option u would have to reboot for it to take.
Sent from my SAMSUNG-SGH-I897 using XDA Premium App
Click to expand...
Click to collapse
I believe i'm having the same issue described by OP, and i am running Cognition 5 v2 stock kernel, but I do NOT see the 'Preferred Location' setting anywhere.
Help?
The install location setting was present in Cog 5v1, but did not function properly. I have not personally installed v2, but I believe the setting was removed for this reason.

Categories

Resources