[Galaxy S 4 i9505 Original Android Development] chenxiaolong:
Thanks for the log! There is nothing wrong you did. It is completely caused by my ROM. When it updates the permissions for the secondary ROM's files are changed, so the kernel fails to run any of the needed programs.

[ 4.387359] synaptics_rmi4_i2c 3-0020: synaptics_ta_cb: device is in suspend state or reflash.
[ 13.998046] init: /init.qcom.rc: 642: invalid command '/system/bin/log'
[ 14.003906] init: /init.qcom.rc: 712: invalid option 'start'
[ 14.010772] init: could not import file '/init.bt.rc' from '/init.rc'
[ 14.016357] init: /init.carrier.rc: 56: ignored duplicate definition of service 'TvoutService_C'
[ 14.026855] init: setsebool: argument debugfs had no =
[ 14.031402] init: do_chown: Could not access /selinux/booleans
[ 14.032135] init: invalid uid 'fm_radio'
[ 14.032714] init: invalid uid 'fm_radio'
[ 14.344390] power_supply sec-fuelgauge: driver failed to report `status' property: 4294967274
[ 14.356719] power_supply sec-charger: driver failed to report `power_now' property: 4294967274
[ 15.486907] init: Running /dev/block/platform/msm_sdcc.1/by-name/efs on ext4
[ 15.507263] init: Cannot run fs_mgr binary /system/bin/e2fsck
[ 15.561798] init: Running /dev/block/platform/msm_sdcc.1/by-name/persdata on ext4
[ 15.569702] init: Cannot run fs_mgr binary /system/bin/e2fsck
[ 15.744812] init: init fatal - invalid command in init-rc /system/bin/sh
[ 15.771759] init: cannot execve('/system/bin/sh'): Permission denied
[ 15.772064] init: cannot execve('/system/bin/servicemanager'): Permission denied
[ 15.773223] init: cannot execve('/system/bin/sh'): Permission denied
[ 15.773559] init: cannot execve('/system/bin/sh'): Permission denied
[ 15.773712] init: cannot execve('/system/bin/sh'): Permission denied
[ 15.774536] init: cannot execve('/system/bin/immvibed'): Permission denied
[ 15.775115] init: cannot execve('/system/bin/qseecomd'): Permission denied
[ 15.776611] init: cannot execve('/system/bin/sh'): Permission denied
[ 15.777374] init: cannot execve('/sbin/ext/post-init.sh'): Permission denied
[ 15.779479] init: cannot execve('/system/bin/vold'): Permission denied
[ 15.837677] init: cannot find '/system/bin/RescueStarter', disabling 'RescueStarter'
[ 15.846527] init: cannot execve('/system/bin/rtccd2'): Permission denied
[ 15.848297] init: cannot find '/system/bin/sysmon', disabling 'sysmon'
[ 15.848449] init: cannot execve('/system/bin/drmserver'): Permission denied
[ 15.849395] init: cannot execve('/system/bin/app_process'): Permission denied
[ 15.850616] init: cannot execve('/system/bin/debuggerd'): Permission denied
[ 15.851806] init: cannot execve('/system/bin/prepare_param.sh'): Permission denied
[ 15.852355] init: cannot find '/system/bin/sec-ril', disabling 'secril-daemon'
[ 15.853118] init: cannot execve('/system/bin/icd'): Permission denied
[ 15.854400] init: cannot execve('/system/bin/kiesexe'): Permission denied
[ 15.854705] init: cannot execve('/system/bin/sensorhubservice'): Permission denied
[ 15.855621] init: cannot execve('/system/bin/connfwexe'): Permission denied
[ 15.856323] init: cannot find '/system/bin/rf4ce', disabling 'rf4ce'
[ 15.856750] init: cannot find '/system/bin/qrngd', disabling 'qrngd'
[ 15.856811] init: cannot execve('/system/bin/smdexe'): Permission denied
[ 15.858154] init: cannot execve('/system/bin/npsmobex'): Permission denied
[ 15.858337] init: untracked pid 237 exited
[ 15.860260] init: cannot execve('/system/bin/installd'): Permission denied
[ 15.861877] init: cannot execve('/system/bin/rild'): Permission denied
[ 15.861907] init: cannot execve('/system/bin/mediaserver'): Permission denied
[ 15.862426] init: cannot execve('/system/bin/dttexe'): Permission denied
[ 15.863006] init: cannot execve('/system/bin/mediaserver'): Permission denied
[ 15.863525] init: cannot execve('/system/etc/install-recovery.sh'): Permission denied
[ 15.864166] init: cannot execve('/system/bin/bintvoutservice'): Permission denied
[ 15.864715] init: cannot execve('/system/bin/sh'): Permission denied
[ 15.865203] init: cannot execve('/system/bin/netd'): Permission denied
[ 15.865264] init: cannot execve('/system/bin/drmserver'): Permission denied
[ 15.865692] init: untracked pid 234 exited
[ 15.866394] init: cannot execve('/system/bin/sh'): Permission denied
[ 15.867828] init: cannot execve('/system/bin/keystore'): Permission denied
[ 15.869964] init: cannot execve('/system/bin/app_process'): Permission denied
[ 15.871520] init: cannot execve('/system/bin/sensorhubservice'): Permission denied
[ 15.871704] init: untracked pid 260 exited
[ 15.871917] init: untracked pid 261 exited
[ 15.872894] init: cannot execve('/system/bin/mediaserver'): Permission denied
[ 15.873504] init: cannot execve('/system/bin/netd'): Permission denied
[ 15.874237] init: cannot execve('/system/bin/mm-qcamera-daemon'): Permission denied
[ 15.874694] init: cannot execve('/system/bin/sensorhubservice'): Permission denied
[ 15.875213] init: cannot execve('/system/bin/macloader'): Permission denied
[ 15.875732] init: cannot execve('/system/bin/diag_uart_log'): Permission denied
[ 15.876251] init: cannot execve('/system/bin/ddexe'): Permission denied
[ 15.877471] init: cannot execve('/system/bin/netd'): Permission denied
[ 15.878082] init: cannot execve('/system/bin/surfaceflinger'): Permission denied
[ 16.377410] init: untracked pid 238 exited
[ 16.379486] init: cannot execve('/system/bin/app_process'): Permission denied
[ 16.397491] init: cannot execve('/system/bin/mediaserver'): Permission denied
[ 16.401306] init: cannot execve('/system/bin/netd'): Permission denied
[ 16.403137] init: cannot execve('/system/bin/sensorhubservice'): Permission denied
[ 16.426849] init: cannot execve('/system/bin/surfaceflinger'): Permission denied
[ 16.436798] init: cannot execve('/system/bin/app_process'): Permission denied
[ 16.444000] init: cannot execve('/system/bin/logwrapper'): Permission denied
[ 16.450653] init: cannot find '/system/bin/ssr_diag', disabling 'ssr_diag'
[ 16.451599] init: cannot execve('/system/bin/sdcard'): Permission denied
[ 16.453491] init: cannot execve('/system/bin/mm-pp-daemon'): Permission denied
[ 16.454681] init: cannot execve('/system/bin/sh'): Permission denied
[ 16.456085] init: cannot execve('/system/bin/sdcard'): Permission denied
[ 16.457305] init: cannot execve('/system/bin/ATFWD-daemon'): Permission denied
[ 16.459381] init: cannot execve('/system/bin/cnd'): Permission denied
[ 16.460571] init: cannot execve('/system/bin/at_distributor'): Permission denied
[ 16.509094] init: cannot execve('/system/bin/mm-qcamera-daemon'): Permission denied
[ 16.515533] init: cannot execve('/system/bin/netd'): Permission denied
[ 16.516448] init: cannot execve('/system/bin/time_daemon'): Permission denied
[ 16.525756] init: cannot execve('/system/bin/rmt_storage'): Permission denied
[ 16.526489] init: cannot execve('/system/bin/qcks'): Permission denied
[ 16.527252] init: cannot execve('/system/bin/icd'): Permission denied
[ 16.529663] mtp_function_bind_config: MTP-KTOONSEZ_mtp_bind_config - type:0 ret:0
[ 16.530090] init: cannot execve('/system/bin/sdcard'): Permission denied
[ 16.530883] init: cannot execve('/system/bin/sensorhubservice'): Permission denied
[ 16.531677] init: cannot execve('/system/bin/mediaserver'): Permission denied
[ 16.540344] init: cannot execve('/system/bin/icd'): Permission denied
[ 16.585235] init: cannot execve('/system/bin/sh'): Permission denied
[ 20.629180] init: cannot execve('/system/bin/rild'): Permission denied
[ 20.636352] init: cannot execve('/system/bin/ddexe'): Permission denied
[ 20.643981] init: cannot execve('/system/bin/debuggerd'): Permission denied
[ 20.655700] init: cannot execve('/system/bin/kiesexe'): Permission denied
[ 20.656677] init: cannot execve('/system/bin/npsmobex'): Permission denied
[ 20.658081] init: cannot execve('/system/bin/diag_uart_log'): Permission denied
[ 20.659454] init: cannot execve('/system/bin/connfwexe'): Permission denied
[ 20.660858] init: cannot execve('/system/bin/dttexe'): Permission denied
[ 20.661682] init: cannot execve('/system/bin/smdexe'): Permission denied
[ 20.664947] init: cannot execve('/system/bin/vold'): Permission denied
[ 20.666503] init: cannot execve('/system/bin/servicemanager'): Permission denied
[ 20.675537] init: cannot execve('/system/bin/drmserver'): Permission denied
[ 20.677062] init: cannot execve('/system/bin/keystore'): Permission denied
[ 20.685516] init: cannot execve('/system/bin/qseecomd'): Permission denied
[ 20.687042] init: cannot execve('/system/bin/surfaceflinger'): Permission denied
[ 20.688568] init: cannot execve('/system/bin/mediaserver'): Permission denied
[ 20.690826] init: cannot execve('/system/bin/app_process'): Permission denied
[ 20.692352] init: cannot execve('/system/bin/sensorhubservice'): Permission denied
[ 20.694274] init: untracked pid 316 exited
[ 20.699005] init: untracked pid 324 exited
[ 20.700592] init: untracked pid 327 exited
[ 20.705505] init: cannot execve('/system/bin/sensorhubservice'): Permission denied
[ 20.707580] init: cannot execve('/system/bin/mediaserver'): Permission denied
[ 20.716339] init: cannot execve('/system/bin/app_process'): Permission denied
[ 20.716857] init: cannot execve('/system/bin/netd'): Permission denied
[ 20.753692] init: cannot execve('/system/bin/netd'): Permission denied
[ 20.756011] init: cannot execve('/system/bin/sensorhubservice'): Permission denied
[ 20.758056] init: cannot execve('/system/bin/mediaserver'): Permission denied
[ 20.765502] init: cannot execve('/system/bin/icd'): Permission denied
[ 20.796264] init: cannot execve('/system/bin/icd'): Permission denied
[ 20.798278] init: cannot execve('/system/bin/drmserver'): Permission denied
[ 20.800292] init: cannot execve('/system/bin/sh'): Permission denied
[ 20.802307] init: cannot execve('/system/bin/bintvoutservice'): Permission denied
[ 20.805145] init: cannot execve('/system/bin/installd'): Permission denied
[ 21.867095] init: cannot execve('/system/bin/sh'): Permission denied
[ 21.875427] init: cannot execve('/system/bin/rmt_storage'): Permission denied
[ 21.876220] init: cannot execve('/system/bin/ATFWD-daemon'): Permission denied
[ 21.890289] init: cannot execve('/system/bin/mm-qcamera-daemon'): Permission denied
[ 21.893280] init: cannot execve('/system/bin/cnd'): Permission denied
[ 21.894897] init: cannot execve('/system/bin/time_daemon'): Permission denied
[ 21.897735] init: cannot execve('/system/bin/at_distributor'): Permission denied
[ 25.959228] init: cannot execve('/system/bin/rild'): Permission denied
[ 25.966522] init: cannot execve('/system/bin/debuggerd'): Permission denied
[ 25.979522] init: cannot execve('/system/bin/diag_uart_log'): Permission
4 Corrected bytes, 120 unrecoverable blocks

I see what I can do to fix it :)