forked from kito-cheng/android-checkpoint
-
Notifications
You must be signed in to change notification settings - Fork 2
/
README
39 lines (30 loc) · 1.56 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
DMTCP/Android
-------------
Snapshot date: Nov 5, 2012
By: 0xlab - http://0xlab.org/
The development snapshot has been tested on Cyanogenmod/ICS and AOSP/ICS.
Quick Note:
- Apply the patch to the correspoding folder, for example the bionic/*.patch
apply to the android/bionic.
- You should put all file in dmtcp-utils into /system/bin/ and chmod to 700.
* zygote_dmtcp.sh : For starting zygote with DMTCP.
* dmtcp-fix : Fix premission for android system files.
* dmtcp-close : Script for close zygote with DMTCP, if you just `stop zygote`
zygote with dmtcp may become zombie.
* dmtcp-clear : Clear checkpoint image file and DMTCP debug info.
- The init.rc script appends serval zygote variants
* zygote_ori :
Starting zygote without DMTCP.
* zygote :
Script for starting zygote with DMTCP, restart zygote if the image file
exist, otherwise will start with DMTCP and build a checkpoint image.
- zygote will freeze when booting into Launcher upon executing start/restart
with DMTCP. You could be aware of the following messages by logcat:
"Input event dispatching timed out sending to com.xxx.xxx"
- DMTCP may cause restart failure if the `new` dynamic linker overlaps with the
`old` (checkpoint image) address space because the new dynamic linker in
ICS's bionic libc is no longer loaded into fix address.
- First boot time you should start zygote_ori instead of zygote to finish the
apk opt process.
- Some core file may have wrong access premission after restart dmtcp, you can
fix it by run the dmtcp-fix.