[Galaxy S II Android Development] Klaerchen:
CM13 would not start

Hi [MENTION=6159291]Lysergic Acid[/MENTION],

I'm still trying to build CM13. I took the CM13 sources and your two open commits from Gerrit. However the result doesn't start. It comes to the point where Zygote and other services are started. And afterwards all services are aborted or killed.

<5>[ 3.479810] c1 init: Starting service 'zygote'...

<5>[ 3.483329] c1 init: Starting service 'gatekeeperd'...

<3>[ 3.484694] c0 cbd: /check_debug_level: debug level=1, cp_debug=0

<5>[ 3.500482] c1 init: Starting service 'perfprofd'...

<5>[ 3.501313] c1 init: Starting service 'su_daemon'...

<7>[ 3.501906] c1 usb: enable_store enabled=0, !dev->enabled=1

<7>[ 3.501937] c1 usb: usb_gadget_disconnect

<7>[ 3.502139] c1 usb: functions_store buff=adb

<7>[ 3.502167] c1 usb: android_enable_function name=adb

<7>[ 3.502242] c1 usb: enable_store enabled=1, !dev->enabled=1

<7>[ 3.502273] c1 usb: enable_store vendor=18d1,product=4ee7,bcdDevice=226

<7>[ 3.502322] c1 ,Class=0,SubClass=0,Protocol=0

<7>[ 3.502358] c1 usb: enable_store next cmd : usb_add_config

<5>[ 3.502486] c1 init: Starting service 'adbd'...

<6>[ 3.504179] c0 warning: `cbd' uses 32-bit capabilities (legacy support in use)

<3>[ 3.504252] c0 cbd: /main: Modem type = 1

<3>[ 3.514551] c0 cbd: /main: Boot link = 4

<3>[ 3.523483] c0 cbd: /main: Main link = 4

<6>[ 3.526612] c0 adb_open

<7>[ 3.526634] c0 usb: android_bind_enabled_functions f:adb

<6>[ 3.526665] c0 adb_bind_config

<7>[ 3.526697] c0 usb: usb_gadget_connect

<3>[ 3.541339] c0 mif: misc_open: iod = umts_boot0

<6>[ 3.550400] c0 mif: usb_init_communication: 1965:cbd

<7>[ 3.556533] c0 store_ehci_power: EHCI turns off

<6>[ 3.556563] c0 s5p-ehci s5p-ehci: remove, state 4

<6>[ 3.556614] c0 usb usb1: USB disconnect, device number 1 by usb_remove_hcd+0xa0/0x148

<5>[ 3.589199] c1 init: Service 'macloader' (pid 1966) exited with status 0

<6>[ 3.618318] c0 s5p-ehci s5p-ehci: USB bus 1 deregistered

<6>[ 3.644423] c0 CP not ready, Active State low

<6>[ 3.694600] c0 mif: xmm6260_on: xmm6260_on()

<6>[ 3.710074] c0 max8997-muic max8997-muic: max8997_muic_init_detect

<6>[ 3.710288] c0 max8997-muic max8997-muic: detect_dev: STATUS1:0x3f, 2:0x41

<6>[ 3.710329] c0 max8997-muic max8997-muic: detect_dev: ATTACHED

<6>[ 3.710368] c0 max8997-muic max8997-muic: attach_usb

<6>[ 3.710398] c0 max8997-muic max8997-muic: attach_charger: chg_type(0x1)

<3>[ 3.710446] c0 [TSP] mxt224_ta_probe

<3>[ 3.713967] c0 [TSP]TA_probe MXT224E T48 Byte2 is 82

<3>[ 3.734444] c0 [TSP]TA_probe MXT224E T48 Byte2 is 114

<6>[ 3.752053] c0 sec-battery sec-battery: sec_bat_set_property: cable was changed(3)

<6>[ 3.755891] c1 max8997-charger max8997-charger: max8997_disable_charging: disable charging

<6>[ 3.756886] c0 max8997-muic max8997-muic: switch_to_ap_usb

<6>[ 3.756917] c0 max8997-muic max8997-muic: set_accdet(en) cntl2(0x20)

<6>[ 3.757159] c1 max8922-charger max8922-charger: max8922_enable_charging: enable charging,USB

<5>[ 3.761998] c1 init: Service 'sysinit' (pid 1872) exited with status 0

<4>[ 4.005915] c0 Mali: mem_usage before 1903 : 8388608

<6>[ 4.044255] c0 s3cfb s3cfb.0: [fb0] Alloc dma: 0x7172a000, size: 0x002ee000

<6>[ 4.044323] c0 s3cfb s3cfb.0: [fb1] Alloc dma: 0x71a18000, size: 0x002ee000

<4>[ 4.044391] c0 s3c-fimc1: FIMC1 1 opened.

<6>[ 4.060083] c1 max8922-charger max8922-charger: max8922_is_charging: charging state = 0x0

<7>[ 4.245259] c0 store_ehci_power: EHCI turns on

<7>[ 4.245307] c0 mif: set_hsic_lpa_states: 279: called(s5p_usb_phy_init+0x144/0x590):

<6>[ 4.245348] c0 [MODEM_IF]Slave Wake

<6>[ 4.245372] c0 mif: set hsic lpa phy init: slave wake-up (1)

<6>[ 4.245409] c0 s5p-ehci s5p-ehci: usb phy usage(2)

<6>[ 4.245580] c0 s5p-ehci s5p-ehci: S5P EHCI Host Controller

<6>[ 4.255598] c0 s5p-ehci s5p-ehci: new USB bus registered, assigned bus number 1

<6>[ 4.255745] c0 s5p-ehci s5p-ehci: irq 134, io mem 0x12580000

<6>[ 4.265158] c0 s5p-ehci s5p-ehci: USB 0.0 started, EHCI 1.00

<6>[ 4.265251] c0 usb usb1: New USB device found, idVendor=1d6b, idProduct=0002

<6>[ 4.265287] c0 usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1

<6>[ 4.265321] c0 usb usb1: Product: S5P EHCI Host Controller

<6>[ 4.265347] c0 usb usb1: Manufacturer: Linux 3.0.101-CM-g0512bc2-dirty ehci_hcd

<6>[ 4.265379] c0 usb usb1: SerialNumber: s5p-ehci

<6>[ 4.275166] c1 hub 1-0:1.0: USB hub found

<6>[ 4.275206] c1 hub 1-0:1.0: 3 ports detected

<3>[ 4.275814] c1 [MODEM_IF]Active States =1, s5p-ehci

<6>[ 4.279257] c1 mif: link_pm_ioctl: 6f33

<3>[ 4.279297] c1 cbd: /hsic_xmit_boot: check [BOOTROM] link connected = [0]

<3>[ 4.355660] c1 healthd: wakealarm_init: timerfd_create failed

<4>[ 4.363087] c1 healthd: battery [l=56 v=3910 t=38.0 h=2 st=2] c=0 chg=u 2000-01-01 08:09:57.451798336 UTC

<6>[ 4.430256] c0 sec-battery sec-battery: sec_bat_check_temper: recovery count = 0

<6>[ 4.430767] c0 sec-battery sec-battery: sec_bat_check_temper: temp=380, adc=704

<6>[ 4.430808] c0 sec-battery sec-battery: Time past : 0 secs

<6>[ 4.430840] c0 max8922-charger max8922-charger: max8922_is_charging: charging state = 0x0

<6>[ 4.430891] c0 sec-battery sec-battery: soc(56), vfocv(3838), vcell(3910), temp(38), charging(1), health(1), chg_adc(0)

<4>[ 4.432270] c1 healthd: battery [l=56 v=3910 t=38.0 h=2 st=2] c=0 chg=u 2000-01-01 08:09:57.521873711 UTC

<3>[ 4.445006] c0 mif: misc_open: iod = umts_boot0

<6>[ 4.455054] c0 mif: usb_init_communication: 1960:rild

<6>[ 4.585101] c1 usb 1-2: new high speed USB device number 2 using s5p-ehci

<4>[ 4.721701] c1 usb 1-2: config 1 interface 0 altsetting 0 endpoint 0x81 has an invalid bInterval 255, changing to 11

<6>[ 4.721771] c1 usb 1-2: New USB device found, idVendor=058b, idProduct=0041

<6>[ 4.721811] c1 usb 1-2: New USB device strings: Mfr=0, Product=0, SerialNumber=0

<6>[ 4.730607] c1 mif: if_usb_probe: usbdev = 0xe2a06400

<6>[ 4.730643] c1 mif: if_usb_set_pipe: set 0

<6>[ 4.730670] c1 mif: if_usb_probe: devdata usbdev = 0xe2a06400

<6>[ 4.730746] c1 mif: if_usb_probe: successfully done

<6>[ 4.797536] c1 mif: link_pm_ioctl: 6f33

<3>[ 4.797581] c1 cbd: /hsic_xmit_boot: check [BOOTROM] link connected = [1]

<5>[ 4.817947] c0 init: Service 'surfaceflinger' (pid 1903) killed by signal 6

<5>[ 4.818010] c0 init: Service 'surfaceflinger' (pid 1903) killing any children in process group

<5>[ 4.818102] c0 init: Service 'zygote' is being killed...

<6>[ 4.820257] c1 s3cfb s3cfb.0: [fb0] video memory released

<6>[ 4.820298] c1 s3cfb s3cfb.0: [fb1] video memory released

<4>[ 4.820348] c1 s3c-fimc1: FIMC1 0 released.

<5>[ 4.822137] c0 init: Service 'zygote' (pid 1967) killed by signal 9

<5>[ 4.822186] c0 init: Service 'zygote' (pid 1967) killing any children in process group

<5>[ 4.822308] c0 init: write_file: Unable to open '/sys/android_power/request_state': No such file or directory

<6>[ 4.822401] c0 request_suspend_state: wakeup (3->0) at 4822392254 (2000-01-01 08:09:57.912048043 UTC)

<5>[ 4.822463] c0 init: Service 'media' is being killed...

<5>[ 4.822948] c0 init: Service 'netd' is being killed...

<5>[ 4.824139] c1 init: Service 'netd' (pid 1957) killed by signal 9

<5>[ 4.824187] c1 init: Service 'netd' (pid 1957) killing any children in process group

<5>[ 4.824527] c1 init: Untracked pid 2130 killed by signal 9

<5>[ 4.825499] c1 init: Service 'media' (pid 1962) killed by signal 9

<5>[ 4.825545] c1 init: Service 'media' (pid 1962) killing any children in process group

<6>[ 4.904813] c1 mif: link_pm_ioctl: 6f33

Does anyone have an idea what happens? For a test I set SElinux to permissive or disabled, and I build to "cm_i9100-eng" but no success :( .

Thanks,

Klaerchen