From 7cdbbcabda9906910548954f0a35cdea366ef467 Mon Sep 17 00:00:00 2001 From: Narayan Kamath Date: Wed, 21 May 2014 11:20:42 +0100 Subject: Add a zygote 64/32 bit config. 64 bit zygote is the "primary" and the system server is run as a 64 bit process. Change-Id: Ie1c2b0809faa92937bc407dd66e7a606ebb4f8f3 --- rootdir/init.zygote64_32.rc | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 rootdir/init.zygote64_32.rc diff --git a/rootdir/init.zygote64_32.rc b/rootdir/init.zygote64_32.rc new file mode 100644 index 0000000..979ab3b --- /dev/null +++ b/rootdir/init.zygote64_32.rc @@ -0,0 +1,12 @@ +service zygote /system/bin/app_process64 -Xzygote /system/bin --zygote --start-system-server --socket-name=zygote + class main + socket zygote stream 660 root system + onrestart write /sys/android_power/request_state wake + onrestart write /sys/power/state on + onrestart restart media + onrestart restart netd + +service zygote_secondary /system/bin/app_process32 -Xzygote /system/bin --zygote --socket-name=zygote_secondary + class main + socket zygote_secondary stream 660 root system + onrestart restart zygote -- cgit v1.1