Android Forums at AndroidCentral.com >  Android Chat >  General Help and How To > Fix for Market apps not downloading or installing (image warning)

Fix for Market apps not downloading or installing (image warning)

Reply
 
Thread Tools Search this Thread
    Thread Author   #1  
Old 10-19-2010, 03:51 PM
AC Cowboy
Device(s): Yes
ROM/Kernel: Homebrewed
My Next Device: Yes
 
Posts: 4,816
Location: Wild and Wonderful
Join Date: Oct 2009
Thanked 2,166 Times in 537 Posts
Likes Received: 309
Activity: 8/20
This is starting to become a big issue, so it's high time we whipped up a how-to about the permanent fix for the problem of the Market hanging during download or installation of apps.

I'm sure that there are other reasons this could happen, but the following should fix it for most users. It's not nearly as hard as it looks, and I'll try to toss some images in to help keep things clear.

What's happening
Since Froyo came along, we now have an encrypted folder on the SD card for application installation. I'm not 100% sure why or how, but the folder seems to be fouling up for a lot of folks. When certain apps are coded to be installed to the SD card by default (Angry Birds anyone), if your folder is wonky, it won't work. There's two fixes -- an easy, temporary fix, and a more involved semi-permanent fix.

The Easy Fix
When you try to install an app from the Market that won;t download or hangs at the installation, cancel the install. Then, on your phone, press menu--> settings --> SD & Phone storage. You'll see this:



Select the Unmount SD card option, then install your application. After it's installed, you can go back and Mount the SD card, or reboot.


The more permanent fix
While it's not too hard, if you're like me you get tired of doing things more than once. Here's a semi-permanent fix (semi because the folder can get all wonky again).

Open the Manage Applications screen (menu --> settings --> Applications --> Manage Applications) and select the far right tab that says "On SD card"



One by one, select each application and move it back to your phone's storage using the "Move to Phone" button.



Yes, it's tedious, but it's worth it in the end.

Once you have all your applications moved off the SD card and onto the phone's internal storage, open up your file manager (Astro is a good one if you don't already have a favorite, I'm using the open source file manager built into CyanogenMod in the example -- but they should all look very similar) and look for a folder named .android_secure.



This is the encrypted folder where all your applications used to be. Delete it. As long as you have moved all your apps back to the phone storage, nothing in that folder is needed for anything.

Reboot your phone. After it restarts, go back and place your applications back on the SD card. You should now be able to download and install apps that need to use the SD card again.
  #2  
Old 10-19-2010, 08:05 PM
Retired Moderator
Device(s): Nexus S 4G/HP Touchpad
ROM/Kernel: Ice Cream Sandwich
My Next Device: Who knows anymore...
 
Posts: 3,544
Location: San Diego, California
Join Date: Jul 2010
Thanked 665 Times in 393 Posts
Likes Received: 59
Activity: 2/20
Sweet. Gracias as always.
  #3  
Old 10-19-2010, 08:09 PM
AC Forums Super Mod
Device(s): Nexus S i9020T, Galaxy Nexus i9250M
ROM/Kernel: CM9/Trinity, BB/Franco
My Next Device: Nexus Tablet
 
Posts: 6,287
Location: GMT-8
Join Date: Apr 2010
Thanked 1,356 Times in 769 Posts
Likes Received: 219
Activity: 8/20
Quote:
Originally Posted by gbhil View Post
What's happening
Since Froyo came along, we now have an encrypted folder on the SD card for application installation. I'm not 100% sure why or how, but the folder seems to be fouling up for a lot of folks. When certain apps are coded to be installed to the SD card by default (Angry Birds anyone), if your folder is wonky, it won't work. There's two fixes -- an easy, temporary fix, and a more involved semi-permanent fix.
So this doesn't apply to any other OS versions? I'm on Eclair and I have this problem sometimes.

Edit: I'm guessing not since Eclair doesn't have App2SD

Last edited by ragnarokx; 10-19-2010 at 08:22 PM.
  #4  
Old 10-19-2010, 08:11 PM
Device(s): Thunderbolt & Xoom
 
Posts: 1,520
Location: Baltimore, MD
Join Date: Oct 2009
Thanked 110 Times in 79 Posts
Likes Received: 0
Activity: 0/20
Sounds good but I don't have any apps installed on my SD card and I still Gabriel this problem.
  #5  
Old 10-19-2010, 08:22 PM
 
Posts: 782
Join Date: Apr 2010
Thanked 62 Times in 54 Posts
Likes Received: 28
Activity: 16/20
The "more permanent" fix presumes you actually have enough room on your phone to move them back to the phone.

Those phones with enough room wouldn't need to be moving to SD in the first place. So its a catch 22.

You can just as well uninstall these apps in the SD folder, as most apps store settings and working data somewhere else, and you can often re-install them after deleting the .android-secure folder and with virutally no re-configuring. They pick up where they left off.
  #6  
Old 10-19-2010, 08:44 PM
Device(s): Galaxy Nexus
My Next Device: the next Nexus!
 
Posts: 134
Location: California
Join Date: Aug 2010
Thanked 11 Times in 8 Posts
Likes Received: 2
Activity: 1/20
I've had this problem a lot lately along with low disk space warnings and yesterday morning all my apps on my SD card decided to disappear along with any app updates I had done.. I wonder if deleting this folder would have been a fix vs a full factory reset?..
  #7  
Old 10-19-2010, 09:02 PM
 
Posts: 14
Join Date: Aug 2010
Thanked 1 Time in 1 Post
Likes Received: 0
Activity: 0/20
What if Astro says "error deleting file"?

Droid 2, not rooted.

Last edited by dousenator; 10-20-2010 at 06:39 AM.
  #8  
Old 10-19-2010, 09:21 PM
 
Posts: 4
Join Date: Jan 2010
Thanked 0 Times in 0 Posts
Likes Received: 0
Activity: 0/20
Open a terminal app on your phone and enter the following commands

Code:
su
rm /mnt/secure/asec/smdl2tmp1.asec
Found this fix on XDA-Developers.com, that site is a God send!
  #9  
Old 10-19-2010, 09:25 PM
Device(s): Galaxy Nexus, Transformer TF101
ROM/Kernel: Stock
 
Posts: 66
Join Date: Mar 2010
Thanked 1 Time in 1 Post
Likes Received: 0
Activity: 3/20
Quote:
Originally Posted by dousenator View Post
What if Astro says "error deleting file"?
I'm getting that with OI File Manager as well.
  #10  
Old 10-19-2010, 09:29 PM
 
Posts: 6
Join Date: Oct 2010
Thanked 0 Times in 0 Posts
Likes Received: 0
Activity: 0/20
Quote:
Originally Posted by tasi View Post
Open a terminal app on your phone and enter the following commands

Code:
su
rm /mnt/secure/asec/smdl2tmp1.asec
Found this fix on XDA-Developers.com, that site is a God send!
Registered just to back this up. Found this a couple days ago elsewhere. Simple and just took a minute.

I assume you have to be rooted to do this (I am) with the "su" command, but if you aren't you can just mount to USB and navigate on your computer to that folder to delete the file. It will not show up in a file explorer on the phone for some reason.
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search