Welcome to GemDroid, An Infrastructure to Evaluate Mobile Platforms. GemDroid uses traces to feed its simulator. This patch generates traces of an application from the android emulator. The trace contains CPU/Memory access, frame buffer activity and raw instructions.
AOSP android-4.4.4_r2
- gemdroid_qemu : GemDroid QEMU part
- ReadMe.md : This readme
Assume that $AOSP is your aosp folder, follow the following commands you will have an emulator for GemDroid.
# backup your original qemu folder
cd $AOSP
git clone https://github.com/huz123/GemDroid_QEMU
cd $AOSP/sdk/emulator
git checkout -b gemdroid cbf40c
cd $AOSP/external
mv qemu qemu.bk
cp -r $AOSP/GemDroid_QEMU/gemdroid_qemu qemu
cd qemu
./android-configure.sh
# remove "-Wl" in objs/config.make, compile d4-7 with -m32
make
# use emulators in objs/
- Need an android virtual device follow this link;
- start the emulator with your android virtual device as usual;
- press "volume up" button will trace the Frame Buffer and Camera activities;
- press "volume down" button will trace the CPU/Memory accesses;
- press "call" button will trace raw instructions.
GemDroid project is supported in part by NSF grants – #1302557, #0963839, #1205618, #1213052, #1320478, #1317560, #1302225, #1017882, and grants from Intel. More details about the NSF Expedition Project - Visual Corext On Silicon can be found at: http://www.cse.psu.edu/research/visualcortexonsilicon.expedition/index.html
If you have any questions and comments, please send to haibo at cse.psu.edu or nachi at cse.psu.edu.