Downloading an .apk from a Site never finishes. Rights issue?

Bug #919775 reported by Alexander Beck
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Linaro Android
Won't Fix
Medium
Unassigned

Bug Description

I tried to download an .apk file from a Website. The download starts and is also displayed in the download status. Unfortunatley, the download is never finished and within the download manager the status is reported as "In progress" forever.

Revision history for this message
Thorsten (kekschen) wrote :

Same here on all ics builds.

Revision history for this message
Abhishek Paliwal (abhishek-paliwal) wrote :

Also observed on :
https://android-build.linaro.org/builds/~linaro-android/landing-snowball/#build=149

Steps to reproduce:
1. Open website http://www.ardroid.net/apps/ using browser app.
2. Select any apk file from the listed apps. Download will start.
3. Notification area shows download -"In progress" forever. download never finishes.

Changed in linaro-android:
importance: Undecided → Medium
Revision history for this message
Alexander Beck (alexander-beck) wrote :

There is a fix available (provided by Vishal), it enabled ipv6 and netfilter within the kernel config.

Revision history for this message
Zach Pfeffer (pfefferz) wrote :

Abhishek Paliwal (abhishek-paliwal), please add a test case to the QA test sheet.

Changed in linaro-android:
assignee: nobody → Abhishek Paliwal (abhishek-paliwal)
milestone: none → 12.03
Revision history for this message
Abhishek Paliwal (abhishek-paliwal) wrote :
Revision history for this message
Tony Mansson (tony-mansson) wrote :
Revision history for this message
Annamalai Lakshmanan (annamalai-lakshmanan) wrote :
Revision history for this message
vishal (vishalbhoj) wrote :
Revision history for this message
Annamalai Lakshmanan (annamalai-lakshmanan) wrote :

Looks like there is a problem with Download Manager in Android

Revision history for this message
vishal (vishalbhoj) wrote :

configs in the patch in comment 3 fixes the issue. It needs to be enabled across all the builds.

Revision history for this message
Annamalai Lakshmanan (annamalai-lakshmanan) wrote :

Tried the above patch in Origen But still does not work:

Logcat:
I/DownloadManager( 2336): Initiating request for download 7
W/DownloadManager( 2336): Aborting request for download 7: no network connection available

Eventhough internet works!

Zach Pfeffer (pfefferz)
Changed in linaro-android:
assignee: Abhishek Paliwal (abhishek-paliwal) → Annamalai Lakshmanan (annamalai-lakshmanan)
milestone: 12.03 → 12.04
Revision history for this message
Abhishek Paliwal (abhishek-paliwal) wrote :
Revision history for this message
Botao (botao-sun) wrote :

On build:

https://android-build.linaro.org/builds/~linaro-android/origen-ics-gcc47-samsunglt-stable-blob-12.04-release/#build=2

The download from Browser can be started, but the status always be "in progress". In stead of using Browser, it can be easily done with busybox wget:

Connecting to people.linaro.org (91.189.95.20:80)
DisableSuspend.apk 100% |*******************************| 15401 0:00:00 ETA
root@android:/sdcard/Download # ls
DisableSuspend.apk
root@android:/sdcard/Download # busybox md5sum DisableSuspend.apk
79c0e43863b339ebdf9b62906f3b95e9 DisableSuspend.apk
root@android:/sdcard/Download #

The MD5 is same as the one I downloaded in my laptop:

noname@noname-t420:~/work/linaro$ md5sum DisableSuspend.apk
79c0e43863b339ebdf9b62906f3b95e9 DisableSuspend.apk
noname@noname-t420:~/work/linaro$

Something wrong in the Browser Download Manager I think.

Revision history for this message
Abhishek Paliwal (abhishek-paliwal) wrote :

Also seen on :
https://android-build.linaro.org/builds/~linaro-android/panda-ics-gcc47-tilt-tracking-blob-12.04-release/#build=4

downloading using "busybox wget <filelocation/filename> works fine.

Revision history for this message
Abhishek Paliwal (abhishek-paliwal) wrote :

Ignore comment #14

This issue is not observed on :
https://android-build.linaro.org/builds/~linaro-android/panda-ics-gcc47-tilt-tracking-blob-12.04-release/#build=4

After rebooting device I'm able to download files using browser as well.

Zach Pfeffer (pfefferz)
Changed in linaro-android:
milestone: 12.04 → 12.05
assignee: Annamalai Lakshmanan (annamalai-lakshmanan) → Chengjie HE (chengjie-he)
Revision history for this message
Abhishek Paliwal (abhishek-paliwal) wrote :
Zach Pfeffer (pfefferz)
Changed in linaro-android:
milestone: 12.05 → none
Revision history for this message
Botao (botao-sun) wrote :
Revision history for this message
Botao (botao-sun) wrote :
Revision history for this message
Botao (botao-sun) wrote :
Revision history for this message
Botao (botao-sun) wrote :
Revision history for this message
Botao (botao-sun) wrote :
Revision history for this message
Botao (botao-sun) wrote :
Revision history for this message
Botao (botao-sun) wrote :
Revision history for this message
Annamalai Lakshmanan (annamalai-lakshmanan) wrote :

Hi Botao,
Could you confirm whether the Download is not working only on Ethernet ?
or if its not working both on WiFi and Ethernet for Origen Board?

Revision history for this message
Botao (botao-sun) wrote :

Observed on 12.06 RC1 build:

https://android-build.linaro.org/builds/~linaro-android/origen-ics-gcc47-samsunglt-stable-blob-12.06-release/#build=1

@Annamalai, Yes, it doesn't work on both Ethernet & WiFi. wget works well on both WiFi & USB Ethernet adapter mode.

Revision history for this message
Botao (botao-sun) wrote :
Revision history for this message
Botao (botao-sun) wrote :

For Tracking Panda build, observed on 12.06 RC2 image:

https://android-build.linaro.org/builds/~linaro-android/panda-ics-gcc47-tilt-tracking-blob/#build=87

Works on WiFi, but doesn't work on Ethernet.

Revision history for this message
Botao (botao-sun) wrote :
Revision history for this message
Botao (botao-sun) wrote :

For Panda 4430, with Linaro Android image:

https://android-build.linaro.org/builds/~linaro-android/panda-ics-gcc47-tilt-tracking-blob/#build=105

After click 1 app at web site:

http://www.ardroid.net/apps/

I got a message then the Browser crashed:

Unfortunately, Browser has stopped.

Revision history for this message
Botao (botao-sun) wrote :
Revision history for this message
Botao (botao-sun) wrote :

For downloading never complete, observed on vexpress board with image:

https://android-build.linaro.org/builds/~linaro-android/vexpress-ics-gcc47-armlt-tracking-open/#build=71

Revision history for this message
Botao (botao-sun) wrote :

For downloading never complete, observed on Samsung Origen board with image:

https://android-build.linaro.org/builds/~linaro-android/origen-ics-gcc47-samsunglt-stable-blob/#build=71

Revision history for this message
Botao (botao-sun) wrote :

Sorry, for downloading never complete, observed on Samsung Origen board with image:

https://android-build.linaro.org/builds/~linaro-android/origen-ics-gcc47-samsunglt-stable-blob-12.06-release/#build=2

Revision history for this message
Botao (botao-sun) wrote :
Revision history for this message
Botao (botao-sun) wrote :

For downloading never complete, observed on Samsung Origen board with Linaro Android image:

https://android-build.linaro.org/builds/~linaro-android/origen-ics-gcc47-samsunglt-stable-blob/#build=78

Revision history for this message
Botao (botao-sun) wrote :

For downloading never complete, observed on vexpress board with Linaro Android image:

https://android-build.linaro.org/builds/~linaro-android/vexpress-ics-gcc47-armlt-tracking-open/#build=78

Revision history for this message
Botao (botao-sun) wrote :
Revision history for this message
Botao (botao-sun) wrote :

For downloading never complete, observed on Samsung Origen board with Linaro Android image:

https://android-build.linaro.org/builds/~linaro-android/origen-ics-gcc47-samsunglt-stable-blob/#build=82

Revision history for this message
Botao (botao-sun) wrote :

For downloading never complete, observed on vexpress board with Linaro Android image:

https://android-build.linaro.org/builds/~linaro-android/vexpress-ics-gcc47-armlt-tracking-open/#build=83

Revision history for this message
Amit Khare (amit-khare) wrote :
Revision history for this message
Amit Khare (amit-khare) wrote :
Revision history for this message
Botao (botao-sun) wrote :

For downloading never complete, observed on vexpress board with Linaro Android image:

https://android-build.linaro.org/builds/~linaro-android/vexpress-ics-gcc47-armlt-tracking-open-12.07-release/#build=1

Revision history for this message
Botao (botao-sun) wrote :

For downloading never complete, observed on vexpress board with Linaro Android image:

https://android-build.linaro.org/builds/~linaro-android/vexpress-ics-gcc47-armlt-tracking-open/#build=97

Revision history for this message
Botao (botao-sun) wrote :

For downloading never complete, observed on vexpress board with Linaro Android image:

https://android-build.linaro.org/builds/~linaro-android/vexpress-ics-gcc47-armlt-tracking-open/#build=104

Revision history for this message
Botao (botao-sun) wrote :

This feature works well on Samsung Origen board with Linaro Jelly Bean image:

https://android-build.linaro.org/builds/~linaro-android/origen-jb-gcc47-samsunglt-stable-blob/#build=18

Revision history for this message
Botao (botao-sun) wrote :

For downloading never complete, observed on vexpress board with Linaro Jelly Bean image:

https://android-build.linaro.org/builds/~linaro-android/vexpress-jb-gcc47-armlt-tracking-open/#build=7

Revision history for this message
Botao (botao-sun) wrote :

For downloading never complete, observed on vexpress board with Linaro Jelly Bean image:

https://android-build.linaro.org/builds/~linaro-android/vexpress-jb-gcc47-armlt-tracking-open/#build=16

Revision history for this message
Botao (botao-sun) wrote :

For downloading never complete, observed on vexpress board with Linaro Jelly Bean image:

https://android-build.linaro.org/builds/~linaro-android/vexpress-jb-gcc47-armlt-tracking-open-12.08-release/#build=1

Revision history for this message
Botao (botao-sun) wrote :

Same behaviour observed as comment #46 on vexpress A9 board with Linaro Jelly Bean image:

https://android-build.linaro.org/builds/~linaro-android/vexpress-jb-gcc47-armlt-tracking-open/#build=30

Revision history for this message
Amit Khare (amit-khare) wrote :
Revision history for this message
Amit Khare (amit-khare) wrote :
Revision history for this message
Botao (botao-sun) wrote :

A new bug dedicated for vexpress A9 Jelly Bean can be found here:

https://bugs.launchpad.net/linaro-android/+bug/1057199

Please update further information on that bug for file downloading issue on vexpress A9 Android image.

Fathi Boudra (fboudra)
Changed in linaro-android:
assignee: Chengjie HE (chengjie-he) → nobody
Revision history for this message
Milosz Wasilewski (mwasilew) wrote :

There are board specific bugs to track the apk download problems. Closing this one.

Changed in linaro-android:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.