Skip to content

Commit 7cdbbca

Browse files
committed
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
1 parent 9e0a624 commit 7cdbbca

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

rootdir/init.zygote64_32.rc

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
service zygote /system/bin/app_process64 -Xzygote /system/bin --zygote --start-system-server --socket-name=zygote
2+
class main
3+
socket zygote stream 660 root system
4+
onrestart write /sys/android_power/request_state wake
5+
onrestart write /sys/power/state on
6+
onrestart restart media
7+
onrestart restart netd
8+
9+
service zygote_secondary /system/bin/app_process32 -Xzygote /system/bin --zygote --socket-name=zygote_secondary
10+
class main
11+
socket zygote_secondary stream 660 root system
12+
onrestart restart zygote

0 commit comments

Comments
 (0)