• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root Issue installing .apk files

tcallahan

Well-Known Member
Jun 19, 2010
102
3
Hey Guys,

I have a question or more of a problem and need a fix.

im rooted running 2.2 leak.

everything works fine besides when i go to install an apk that i download from the phone.

For example: if someone posted an .apk file for some app in this forum and i dl'ed it from my phone when i open it it does not give me the option to run package installer or w.e its called. It just has gba emu gensoid emu and androzip.

Now i do have it checked to allow non market apps to be installed and there is no default set.

It happens with any .apk not just one.

If you guys have any idea what could be causing this that would be great!!

Its pretty annoying.

edit** there is no app protector or anything like that on the phone. so no apps should be blocking me from using the package installer. but that is definitely whats happening, just not sure how to fix it.

Thanks!
 
tcallahan,

Is the .apk file actually downloading? I have trouble downloading and installing .apk files using the stock browser. The download appears to work, but when I pull-down the download notification, I see a pop-up seeing "Download unsuccessful: Cannot download. The content is not supported on this phone."

I have no trouble using Opera Mini in downloading these files and then selecting the downloaded .apk files using Astro File Manager.

Hope this helps.
 
Upvote 0
tcallahan,

Is the .apk file actually downloading? I have trouble downloading and installing .apk files using the stock browser. The download appears to work, but when I pull-down the download notification, I see a pop-up seeing "Download unsuccessful: Cannot download. The content is not supported on this phone."

I have no trouble using Opera Mini in downloading these files and then selecting the downloaded .apk files using Astro File Manager.

Hope this helps.

I had this happen when I tried to DL 928 Black Glass to my phone directly. I ended up using my PC to move manually to the DX. It might be the stock Browser and IIRC there was a setting to change that allowed it. Somewhere...
 
Upvote 0
It might be the stock Browser and IIRC there was a setting to change that allowed it. Somewhere...

Lol, I thought so too! But, I've lost that memory and can't find it again :p.

I've also scanned through the stock browser settings and can't find anything obvious...

I'd love to find out the solution to "Download unsuccessful: Cannot download. The content is not supported on this phone." issue...I haven't been able to find anything with a Google search either...
 
Upvote 0
I have also seen this problem when attempting to download an apk file and having the Android file download fail with a status:

Download unsuccessful
Cannot download. The content is not supported on this phone.

I am running unmodified Android 2.2 (Froyo) on a Motorola Droid and using the default Android browser to initiate the download.

I did some experimenting downloading the very same apk file from two different web sites. From one site the apk file downloaded and installed successfully and from the other site the Android download manager is showing the "content is not supported on this phone" error.

I took a Wire Shark packet capture to look at what is getting downloaded from the two sites. Almost everything is identical. There are a few minor HTTP reply header differences. The two main HTTP reply headers which are different and which may be related to this issue are:

Working one does not have a "Content-Disposition" header

Failing one has:
Content-Disposition: attachment; filename="BookPlayerPersonal_apk.apk


Working one has:
Content-Type: text/plain

Failing one has:
Content-Type: application/octet-stream

The downloaded data appeared to be identical after the HTTP reply headers for as far as I bothered to manually compare the bytes.

I am thinking that the Android download manager must be responding badly to one of these HTTP reply header differences. I would appreciate any insights that others might have regarding this download problem.
 
Upvote 0
I have determined that this issue with the Android download manager only exists in Android 2.2 (Froyo). When using previous Android versions such as 1.6 or 2.1-update1 the download manager will download and install the apk file just fine from both of the web sites.

There appears to be a change which Google introduced in Android 2.2 (Froyo) which is causing it to refuse to download and install the apk file. Apparently in 2.2 the problem is triggered by the differences in these HTTP reply headers which are returned from the web site.
 
  • Like
Reactions: Netherlords
Upvote 0
I have determined that this issue with the Android download manager only exists in Android 2.2 (Froyo). When using previous Android versions such as 1.6 or 2.1-update1 the download manager will download and install the apk file just fine from both of the web sites.

There appears to be a change which Google introduced in Android 2.2 (Froyo) which is causing it to refuse to download and install the apk file. Apparently in 2.2 the problem is triggered by the differences in these HTTP reply headers which are returned from the web site.

skyhigh,

Thank you for continuing to research this...great job in doing the Wire Shark capture--very good idea.

Maybe this will be fixed in an upcoming OTA update...

Cheers!
 
Upvote 0
I reported this issue on the web site where the download was failing, and they have modified the server to no longer return a Content-Disposition header as part of the HTTP response headers returned with the download.

The .apk file now downloads and installs just fine using the default Android 2.2 browser. This definitely confirms that the problem introduced in Android 2.2 causes downloads to fail if the web server returns a Content-Disposition header.
 
Upvote 0
well i had the same problem downloading 928 blackglass, there not much discussion on it but I stumbled across somewhere here or another forum about downloading astro manager. Then open astro manager, hit the menu hard key,hit more button lower right corner,then hit preferences,scroll down to enable browser download and check it. Back all the way out and then try downloading just like you would from browser, it worked for me! Then after I downloaded 928 I just went back and unchecked it, really don't know why just did.
 
  • Like
Reactions: scary alien
Upvote 0
well i had the same problem downloading 928 blackglass, there not much discussion on it but I stumbled across somewhere here or another forum about downloading astro manager. Then open astro manager, hit the menu hard key,hit more button lower right corner,then hit preferences,scroll down to enable browser download and check it. Back all the way out and then try downloading just like you would from browser, it worked for me! Then after I downloaded 928 I just went back and unchecked it, really don't know why just did.

Very interesting! Never saw that option before (maybe the good folks that made Astro saw an opportunity to help us poor folks out ;)).

Anyway, when selecting the "Enable Browser Download" (Allow the Web Browser to download any type of file.), you'll get a pop-up that says "Notice: This feature will interfere with viewing attachments in Google mail. Please disable the Downloader before you view attachments in Gmail.".

No biggie...easy to turn this on and back off. :D

Still, looks pretty-much like this will solve the browser download issue.

Thank you very much! :)
 
  • Like
Reactions: DoubleEagle
Upvote 0
Very interesting! Never saw that option before (maybe the good folks that made Astro saw an opportunity to help us poor folks out ;)).

Anyway, when selecting the "Enable Browser Download" (Allow the Web Browser to download any type of file.), you'll get a pop-up that says "Notice: This feature will interfere with viewing attachments in Google mail. Please disable the Downloader before you view attachments in Gmail.".

No biggie...easy to turn this on and back off. :D

Still, looks pretty-much like this will solve the browser download issue.

Thank you very much! :)
Thanks scary alien, I just try to pass on what I'm still learning!
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones