[android-porting] Re: starting zygote from command line (x86)

2009-02-04 Thread dingerjun
There is another method to start the zygote from command line. You could add the lines after the service zygote. like: on property:zygote.enable=1 start zygote on property:zygote.enable=0 stop zygote and add a line "setprop zygote.enable 0" in front of file /init.rc - Original Messa

[android-porting] Re: starting zygote from command line (x86)

2009-02-04 Thread dingerjun
When you want to start the zygote, you could input setprop zygote.enable 1 in command line - Original Message - From: "dingerjun" To: Sent: Thursday, February 05, 2009 10:31 AM Subject: [android-porting] Re: starting zygote from command line (x86) > > There is a

[android-porting] Re: starting zygote from command line (x86)

2009-02-04 Thread Weihua Wu
The init.rc is not a shell script in normal linux. You have to register the service in init.rc during Android init. The following line in init.rc is to create the socket. The socket is created when the init.rc is parsed by android init. socket zygote stream 666 Android use that way to create so

[android-porting] Re: starting zygote from command line (x86)

2009-02-06 Thread Zia
Thanks for your replies. However, so far not much luck here. I got the zygote socket created in /dev/socket and the environment variable ANDROID_SOCKET_zygote set to 666. Now i'm getting java.lang.RuntimeException: Error binding to local socket '666' at com.android.internal.os.ZygoteInit.regist

[android-porting] Re: starting zygote from command line (x86)

2009-02-08 Thread Weihua Wu
What dingerjun wrote is : on property:zygote.enable=1 start zygote on property:zygote.enable=0 stop zygote But yours are on property:zygote.enable=1 start zygote on property:zygote.enable=0 start zygote So I think in your case, the zygote has be

[android-porting] Re: starting zygote from command line (x86)

2009-02-09 Thread Zia
oh dang it. thanks for spotting that. I will try the fix tonight and post the results. The reason I would like to enter commandline mode before UI: 1) to understand how everything stacks up 2) run any sort of SSH/Telnet server and access the box remotely. -Zia. On Feb 8, 7:37 pm, Weihua Wu wro

[android-porting] Re: starting zygote from command line (x86)

2009-04-09 Thread jerryfan2000
If set service option to disabled, how do I manually start the service by command line? On 2月10日, 上午9時07分, Zia wrote: > oh dang it. thanks for spotting that. I will try the fix tonight and > post the results. > > The reason I would like to enter commandline mode before UI: > 1) to understand how