Porting Android ICS AOSP on Huawei U8818

Discussion in 'Porting Advice/Help' started by AshwinBhanushali, Jul 18, 2012.

Thread Status:
Not open for further replies.
  1. AshwinBhanushali

    Jul 18, 2012
    Hi All,

    I successfully cloned the android-ics source code from google repositories.
    I had successfully compiled the source code for Huawei Device U8818.
    I flashed the compiled code on device using fastboot command.
    Now the problem is the device is stucked at screen showing android text.
    I checked from terminal adb deamon is running nicely on device.
    I can successfully log in to adb shell and can see the directory structure.
    Now when I try to initiate zygote process manually using command
    adb shell app_process -Xzygote /system/bin --zygote --start-system-server
    I am getting following error

    java.lang.RuntimeException: ANDROID_SOCKET_zygote unset or invalid
        at com.android.internal.os.ZygoteInit.registerZygoteSocket(ZygoteInit.java:162)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:517)
        at dalvik.system.NativeStart.main(Native Method)
    Caused by: java.lang.NumberFormatException: Invalid int: "null"
        at java.lang.Integer.invalidInt(Integer.java:138)
        at java.lang.Integer.parseInt(Integer.java:355)
        at java.lang.Integer.parseInt(Integer.java:332)
        at com.android.internal.os.ZygoteInit.registerZygoteSocket(ZygoteInit.java:160)
        ... 2 more
    How do I solve this problem so that android os will be up on my device.
  2. Lens_flare

    Lens_flareStaff Developer

    Jun 14, 2011
    Tomsk, Russia
    Sorry, we are MIUI community, and not discussing AOSP/CM porting ever.

    as you are lucky to meet me, let's see:
    yeah, why not to see that log then?
    why the hell are you trying to issue zygote when it is already done on ramdisk?

    Anyway, problem is too complex for forums, you have to google a lot to fix all your errors.

    I've to close that thread, sorry.