Jump to content

[ICS] CyanogenMod 9 for the Ascend G300 [LINK UP]


Guest tilal6991

Recommended Posts

Guest Hans Gruber

adb shell app_process -Xzygote /system/bin --zygote --start-system-server

please?

I'm getting java errors now

D:\android-sdk\platform-tools>adb shell app_process -Xzygote /system/bin --zygot

e --start-system-server

java.lang.RuntimeException: ANDROID_SOCKET_zygote unset or invalid

at com.android.internal.os.ZygoteInit.registerZygoteSocket(ZygoteInit.ja

va:165)

at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:522)

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.ja

va:163)

... 2 more

is that an error on my PC or the phone?

Link to comment
Share on other sites

I dont think that error is with your pc,looks like phone to me.

From reading that it looks like android socket has a number format problem,just a guess really because I dont have a clue what I am seeing,may as well be in code.

Edited by Guest
Link to comment
Share on other sites

Guest tilal6991

I think I know what's gone wrong now. All the sockets are throwing exceptions. Including zygote. So it must the boot image at fault. I'll put up a new one to flash.

Link to comment
Share on other sites

Guest neoMJ

The problem is with the BOARD_KERNEL_CMDLINE in the boot image. Probably the init.u8815.rc and ueventd.u8815.rc scripts are never run, because the androidboot.hardware parameter is wrong. I booted to full CM9 launcher with my own build at home by changing this parameter (but couldn't get touch screen to work yet, so did not share).

Change BoardConfig.mk to include the following and it should boot:


BOARD_KERNEL_CMDLINE := console=ttyDDC0 androidboot.hardware=u8815

Edited by neoMJ
Link to comment
Share on other sites

Guest tilal6991

The problem is with the BOARD_KERNEL_CMDLINE in the boot image. Probably the init.u8815.rc and ueventd.u8815.rc scripts are never run, because the androidboot.hardware parameter is wrong. I booted to full CM9 launcher with my own build at home by changing this parameter (but couldn't get touch screen to work yet, so did not share).

Change BoardConfig.mk to include the following and it should boot:


BOARD_KERNEL_CMDLINE := console=ttyDDC0 androidboot.hardware=u8815
[/CODE]

Wow. Thanks man. That should help.

Link to comment
Share on other sites

Guest tilal6991

back to

- exec '/system/bin/sh' failed: No such file or directory (2) -

The above guy is correct. I never even realised that error. I'll put up a new full build soon.

Link to comment
Share on other sites

Guest FrankieADZ

The problem is with the BOARD_KERNEL_CMDLINE in the boot image. Probably the init.u8815.rc and ueventd.u8815.rc scripts are never run, because the androidboot.hardware parameter is wrong. I booted to full CM9 launcher with my own build at home by changing this parameter (but couldn't get touch screen to work yet, so did not share).

Change BoardConfig.mk to include the following and it should boot:


BOARD_KERNEL_CMDLINE := console=ttyDDC0 androidboot.hardware=u8815

Nice :)

Great post

Link to comment
Share on other sites

Guest neoMJ

The problem is with the BOARD_KERNEL_CMDLINE in the boot image. Probably the init.u8815.rc and ueventd.u8815.rc scripts are never run, because the androidboot.hardware parameter is wrong. I booted to full CM9 launcher with my own build at home by changing this parameter (but couldn't get touch screen to work yet, so did not share).

Change BoardConfig.mk to include the following and it should boot:


BOARD_KERNEL_CMDLINE := console=ttyDDC0 androidboot.hardware=u8815

One more thing. Be sure to mount boot, system and userdata partitions in init.u8815.rc with ext4 partition type. Because the default init.rc of CM9 tries to mount them with yaffs2.

Link to comment
Share on other sites

Guest tilal6991

D:\android-sdk\platform-tools>adb logcat

- exec '/system/bin/sh' failed: No such file or directory (2) -

Still... Annoying...

Try flashing the old boot image like last time.

Link to comment
Share on other sites

Guest neoMJ

D:\android-sdk\platform-tools>adb logcat

- exec '/system/bin/sh' failed: No such file or directory (2) -

That's because the system partition cannot be mounted. init.u8815.rc should be changed to add ext4 mount commands.

I'll try to post my images when I go home.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.