Hi Lee Kee,
As said before, I have packed everything in a VHD file. Following are the instructions to user it:
Step 1: Download <
http://pag-www.gtisc.gatech.edu/dynodroid/m3dualmode.vhd> (6 GB). Open the file in Virtual Box. Then go to folder ~/Desktop/DynoDroid/ and proceed to Step 2 below.
Note: Give at least 1GB RAM (2 GB Preferred) to the
VM. The user for the machine is m3user and the password is m3@gatech
Step 2: Pick an app from Apps/ or Place the app you want to test under this, Ex: say Photostream, and run:
./run.sh Apps/Photostream -h
[Not Recommended] Append " -v" to the command for very verbose output.
This will first create and start a fresh Android emulator, and then install and start your chosen app in the emulator.
Be patient and do not interrupt the process (e.g. don't click anywhere until your app starts).
If something goes wrong, run "./clean.sh -c" and optionally reboot your machine to kill stale processes.
Note:
This will delete all emulators (even those you created on your own).
To keep your emulators, run ./clean.sh and then go to ~/.android/avd/
and delete all emulators of the form emu1, emu2...
Step 3: Interact with the app in the emulator or let dynodroid test the app:
To start automated input, type begin/b/start/s on the terminal and to stop, type pause/p.
There are other commands to end testing, restart app etc.
All available commands will be displayed by run.sh
Step 4: When you are done, enter "d" ("done") on the terminal.
Wait
for the emulator to shut down and the coverage results to be dumped to
Dynodroid/Results/ (e.g., Photostream_WBT_RandomBiasBased_10).
for more information regarding logs, debugging and other details.