Jump to content

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


Recommended Posts

Guest tilal6991
Posted

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

please?

Guest Hans Gruber
Posted

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?

Posted (edited)

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
Guest tilal6991
Posted

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.

Guest neoMJ
Posted (edited)

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
Guest tilal6991
Posted

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.

Guest tilal6991
Posted

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.

Guest Davidoff59
Posted

What a first post neoMJ. Thank you.

Guest tilal6991
Posted

Can I light up that cigar yet :lol:

Not far off I think :P

Guest FrankieADZ
Posted

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

Guest neoMJ
Posted

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.

Guest tilal6991
Posted

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.

Guest neoMJ
Posted

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.

Guest tilal6991
Posted

I added the commands to mount system.

Guest tilal6991
Posted

I'm an idiot. I know where it went wrong. I didn't git pull. I'll put up a boot.img which should fix booting.

Guest tilal6991
Posted

That one is simple to fix.

adb shell

chmod 777 /dev/genlock

chown graphics.graphics /dev/genlock

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.