nimnas / droidbox

Automatically exported from code.google.com/p/droidbox
0 stars 0 forks source link

Timeout while trying to create monkey mananger #7

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

1. cd android-sdk-linux_x86/tools
2. ./emulator -avd droidbox -system systemBeta.img -ramdisk ramdisk.img -kernel 
zImage &
3. ../platform-tools/adb shell setprop dalvik.vm.execution-mode int:portable
4. ../platform-tools/adb logcat dalvikvm:W *:S | ./droidbox.py 
com.droiddream.bowlingtime.apk

What is the expected output? What do you see instead?

I've never seen an example about what is a normal droidbox output.
This are the error that i'm receiving:

110918 09:22:14.691:S [main] [com.android.monkeyrunner.adb.AdbMonkeyDevice] 
Timeout while trying to create monkey mananger.
(the entire result is Attached).

What version of the product are you using? On what operating system?
Using Ubuntu 11.04 x64

Please provide any additional information below.

After the message described the script still running, and some times this error 
happens more than once.
It looks like the script is in a loop. I left it running for more than 2 hours. 
By pressing Crtl+C I can see the logs with some results.

Usually how much time droidbox need to analyse an apk? How do i know
that the analisys is finished?
The application that i wan't to analyse must be previously installed
in the emulator?
During the analysis i just have to wait, or i need to interact with
the application thru the emulator?
The error message below is normal? How can i correct this? 

Please forgive me to bother you with so many questions, i know that you are 
really busy, but i become really interested in this project and really want to 
know more about how it works. Unfortunatelly my programing skills aren't so 
developed to figure out all the answers by myself, but i'm working on it.

Original issue reported on code.google.com by luanac.r...@gmail.com on 20 Sep 2011 at 12:20

Attachments:

GoogleCodeExporter commented 8 years ago
The solution is at this link:

http://groups.google.com/group/taintdroid/browse_thread/thread/a6c96ab1452d9078?
pli=1

The creation process of taintdroid emulator image:

http://appanalysis.org/download_2.1.html
https://gist.github.com/887998

Hope this help :)

Original comment by neof...@gmail.com on 8 Oct 2011 at 8:30

GoogleCodeExporter commented 8 years ago
Sorry i seem to have missed this issue. The analysis is stopped by pressing 
Ctrl-C. Currently its required to stop the application and any possible 
services running in the background yourself and uninstalling the app. You can 
try to interact by phoning the sandbox emulator or sending sms, changing gps 
coordinates etc and play around in the sample while analyzing.

See the new release candidate version (on frontpage), the samples are 
automatically installed and executed now.

Original comment by pat...@pjlantz.com on 13 Oct 2011 at 2:52

GoogleCodeExporter commented 8 years ago

Original comment by lantz.pa...@gmail.com on 10 Mar 2012 at 3:08