Download failed

Bug #844925 reported by badook
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Network Spoofer
In Progress
High
Unassigned

Bug Description

After installation I start the download (it takes a very long time to start during witch no feedback is given to the user). The file gets downloaded and afterwards in the status bar the progress goes back to ~5-10%. I guess the application is trying to extract the archive, but it gets stuck.
The folder /sdcard/Android/data/uk.digitalsquid.netspoofer/ contains two files: debian.img.gz ~117MB and debian.img ~88MB. The extraction seems to be stuck since it's been like this for more than an hour.
I would suggest adding instructions on how to download and extract the debian img using the pc, and providing a fix/more feedback.
Hope I could help

Revision history for this message
badook (kappamr) wrote :

As a workaround I downloaded the file from my pc, extracted it and placed the iso in the folder, thogheter with a file "version" containing just 1.
Now I get the following error:

E/android-netspoof( 4393): Chroot start returned false, not mounted
E/android-netspoof( 4393): Chroot failed to load!
W/System.err( 4393): java.io.IOException: Mounted chroot not found after start command executed.
W/System.err( 4393): at uk.digitalsquid.netspoofer.NetSpoofService$1.doInBackground(NetSpoofService.java:179)
W/System.err( 4393): at uk.digitalsquid.netspoofer.NetSpoofService$1.doInBackground(NetSpoofService.java:1)
W/System.err( 4393): at android.os.AsyncTask$2.call(AsyncTask.java:185)
W/System.err( 4393): at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:306)
W/System.err( 4393): at java.util.concurrent.FutureTask.run(FutureTask.java:138)
W/System.err( 4393): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1088)
W/System.err( 4393): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:581)
W/System.err( 4393): at java.lang.Thread.run(Thread.java:1019)

But I can execute chroot:
localhost / # chroot
BusyBox v1.19.0.git.adrynalyne (2010-12-21 22:03:30 MST) multi-call binary.

Usage: chroot NEWROOT [PROG ARGS]

Run PROG with root directory set to NEWROOT

Cyanogenmod 7.1.0 RC1 on HTC Desire

Changed in android-netspoof:
importance: Undecided → High
Revision history for this message
Will Shackleton (w-shackleton) wrote :

Hi

I'm not sure why the extract failed, but I'll have a look at the code. Did you not have enough space on the SD card, perhaps?

As for the chroot issue, it probably isn't the chroot that is failing. If you could send a full logcat with the command 'adb logcat android-netspoof:V *:W' as an attachment, I'll have a look at what is going wrong.

To save the logcat to a file, run:
adb logcat android-netspoof:V *:W > logcat.txt
If you don't want to post it publicly, you can email if prefered.

Network Spoofer doesn't work on the Droid X, so I'm wondering if this is also the case for your device.

Will Shackleton

Revision history for this message
badook (kappamr) wrote :

The space was not the issue as I have 8 gb free. I choose the img from the menu and it solved everything. Even though the extraction issue still exists

Changed in android-netspoof:
status: New → In Progress
Revision history for this message
Michael McPeek (mcpeemic) wrote :

Try updating busybox and install it to /bin instead of the default /xbin. That has fixed most of my issues with apps including this one.

Revision history for this message
Will Shackleton (w-shackleton) wrote :

I can't work out why the extraction isn't working, so in the new version (to be released soon) I've added an option to download an uncompressed version of the file - this should hopefully fix the download issue.

Revision history for this message
ghiki (danidrach) wrote :

Any chance for downloading the ~400Mb over PC instead of phone?

Revision history for this message
Will Shackleton (w-shackleton) wrote :

This feature will be included in the next release. Hopefully this will be out over the weekend - you can copy the compressed (.img.gz) file to the SD card then choose a menu option from the setup page.

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.