Skip to content

krishnajayanthy/GemDroid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 

Repository files navigation

GemDroid: QEMU Part

Description

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.

System Requirement

AOSP android-4.4.4_r2

In this Repository

  1. gemdroid_qemu : GemDroid QEMU part
  2. ReadMe.md : This readme

To Patch

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
	make 
	# use emulators in objs/

To use

  1. Need an android virtual device follow this link;
  2. start the emulator with your android virtual device as usual;
  3. press "volume up" button will trace the Frame Buffer and Camera activities;
  4. press "volume down" button will trace the CPU/Memory accesses;
  5. press "call" button will trace raw instructions.

FAQ

Contacts

If you have any questions and comments, please send to haibo at cse.psu.edu or nachi at cse.psu.edu.