1. What is RR for Android
”RR for Android” is the short for Record and Replay for Android platform. The original idea is coming from [Gomez@ICSE'13]:
Lorenzo Gomez, Iulian Neamtiu, Tanzirul Azim, and Todd Millstein. 2013. RERAN: timing- and touch-sensitive record and replay for Android. In Proceedings of the 2013 International Conference on Software Engineering (ICSE ’13). IEEE Press, Piscataway, NJ, USA, 72-81.
RERAN is the cooperation of PC and mobile, while ONLY mobile device is needed in our RR!
2. How to use RR
Below is a video showing how to use RR: (password: ics)
3. How to install RR
Make sure that your mobile device has been ROOTed!
Copy replay file to /data/local
$ adb shell push replay /data/local
Copy toolbox file to /data/local
$ adb shell push toolbox /system/bin
ATTENTION: “toolbox” file is for Android 4.4.2. If you want to acquire “toolbox” file in your own Android version, you should add “fflush(STDOUT)” after each “printf” in “system/core/toolbox/getevent.c” in Android source code and build it(you can read this to build Android).
Install RR.apk in your device. The apk file is for Android 4.4.2 and the support to other versions is coming soon!