Tempo Related Source Code Author: Rice Efficient Computing Group, Rice University Date: June, 2014 ========================= Copyright and license ========================= 1. Tempo project was built on top of Android Gingerbread. We use the same license as the Android Open Source Project (AOSP), i.e., Apache Software License, Version 2.0. 2. You agree to acknowledge the source of the code, i.e., the Tempo project, by citing the following paper in your publication or product: - Zhen Wang, Felix Xiaozhu Lin, Lin Zhong, and Mansoor Chishtie, "How far can client-only solutions go for mobile browser speed?" in Proc. the World Wide Web Conference (WWW), April 2012. 3. We provide no warranty whatsoever on any aspect of the code. Use at your own risk. ================ Instructions ================ 1. Prerequisite: AOSP Gingerbread or any Android source code based on AOSP Gingerbread, e.g., CyanogenMod. Please follow the corresponding online instructions to set up the Android build and test environment. 2. Workflow: - Make sure you can download, build and run Android Gingerbread on your testing devices. - Download the tarball "tempo-gb.tar.gz" and unpack it. - You will get three directories from the tallball: BrowserApp, BrowserLib and Webkit. Run the following commands: $ rm -rf ${PATH_TO_ANDROID_SRC_ROOT}/packages/apps/Browser/src/com/android/browser $ mv ${PATH_TO_TEMPO_GB}/BrowserApp ${PATH_TO_ANDROID_SRC_ROOT}/packages/apps/Browser/src/com/android/browser $ rm -rf ${PATH_TO_ANDROID_SRC_ROOT}/frameworks/base/core/java/android/webkit $ mv ${PATH_TO_TEMPO_GB}/BrowserLib ${PATH_TO_ANDROID_SRC_ROOT}/frameworks/base/core/java/android/webkit $ rm -rf ${PATH_TO_ANDROID_SRC_ROOT}/external/webkit $ mv ${PATH_TO_TEMPO_GB}/Webkit ${PATH_TO_ANDROID_SRC_ROOT}/external/webkit - Then recompile the whole Android source tree and flash the image to your testing devices.