[Galaxy S 4 i9505 Original Android Development] Advancer:
With your updated kernel, I get many reboots in standby.

[ 0.000000] Truncating memory at 0xc0000000 to fit in 32-bit physical address space
[ 0.000000] sec_tsp_mode: LCD_ID = 0x408047, val: 0X408047, ret1: 0x8
[ 0.030914] AXI: msm_bus_fabric_init_driver(): msm_bus_fabric_init_driver
[ 0.031280] MSM_DCVS: msm_dcvs_early_init: Unable to initialize DCVS err=4
[ 0.053741] msm_rpm_get_status(): Status id 433 not defined for target
[ 0.053741] msm_rpm_get_status(): Status id 433 not defined for target
[ 0.053771] msm_rpm_get_status(): Status id 433 not defined for target
[ 0.053771] msm_rpm_get_status(): Status id 433 not defined for target
[ 0.053771] msm_rpm_get_status(): Status id 433 not defined for target
[ 0.053802] msm_rpm_get_status(): Status id 433 not defined for target
[ 0.053802] msm_rpm_get_status(): Status id 433 not defined for target
[ 0.053802] msm_rpm_get_status(): Status id 433 not defined for target
[ 0.160705] sensor_power_on_vdd: done
[ 0.215026] i2c i2c-4: Failed to register i2c client imx135 at 0x10 (-16)
[ 0.215179] i2c i2c-4: Can't create device at 0x10
[ 0.215576] i2c i2c-4: Failed to register i2c client s5k3l1yx at 0x34 (-16)
[ 0.215728] i2c i2c-4: Can't create device at 0x34
[ 0.248382] ion_heap_create: Invalid heap type 3
[ 0.252838] msm_slim_ctrl msm_slim_ctrl.1: Slim-dev:3 report inf element:0x0
[ 0.253051] msm_slim_ctrl msm_slim_ctrl.1: offset:0x0:bit mask:8
[ 0.253387] msm_slim_ctrl msm_slim_ctrl.1: Slim-dev:4 report inf element:0x400
[ 0.253692] msm_slim_ctrl msm_slim_ctrl.1: offset:0x0:bit mask:8
[ 0.329925] Error-Bad Function Input
[ 0.330841] Error-Bad Function Input
[ 0.411865] smd_channel_probe_worker: allocation table not initialized
[ 0.431427] mdm_modem_probe: registered mdm id 0
[ 0.432220] mdm_do_first_power_on:id 0: Powering on modem for the first time
[ 0.842468] [mdnie lite] start!
[ 0.842681] [mdnie lite] end!
[ 0.858398] hdmi_msm hdmi_msm.1: external_common_state_create: sysfs group ddee4808
[ 0.863769] Inside writeback_driver_init
[ 0.866363] Inside writeback_probe
[ 1.253112] CHARGING MHZ ON 0-0-0-0
[ 1.464965] wcd9xxx_slim_probe: failed to get slimbus tabla-slim logical address: -6
[ 1.591979] msm_otg msm_otg: failed to get phy_clk
[ 1.716430] mtp_function_init: MTP-KTOONSEZ_initS - type:0 ret:0
[ 1.723815] mtp_function_init: MTP-KTOONSEZ_initG - type:0 ret:0
[ 1.804473] couldn't get usb power supply
[ 1.880676] [jc_spi_init:336] Entered
[ 1.883422] [jc_spi_probe:301] Entered
[ 1.887268] [jc_spi_probe:311] jc_spi successfully probed
[ 1.892639] jc_config_isp_irq~~~~~~~~~~
[ 1.896514] msm_eeprom_probe probe_fail
[ 1.905364] msm_sensor_i2c_probe s5k6b2yx probe succeeded
[ 1.909912] msm_eeprom_probe probe_fail
[ 1.968231] mmc0: No card detect facilities available
[ 2.160736] mmc0: msmsdcc_execute_tuning: found good phase = 0
[ 2.166076] mmc0: msmsdcc_execute_tuning: found good phase = 1
[ 2.171875] mmc0: msmsdcc_execute_tuning: found good phase = 2
[ 2.174865] power_supply sec-fuelgauge: driver failed to report `status' property: 4294967274
[ 2.175354] power_supply sec-fuelgauge: driver failed to report `status' property: 4294967274
[ 2.194885] mmc0: msmsdcc_execute_tuning: found good phase = 3
[ 2.200469] mmc0: msmsdcc_execute_tuning: found good phase = 4
[ 2.206390] mmc0: msmsdcc_execute_tuning: found good phase = 5
[ 2.212158] mmc0: msmsdcc_execute_tuning: found good phase = 6
[ 2.218017] mmc0: msmsdcc_execute_tuning: found good phase = 7
[ 2.223754] mmc0: msmsdcc_execute_tuning: found good phase = 8
[ 2.229644] mmc0: msmsdcc_execute_tuning: found good phase = 9
[ 2.235382] mmc0: msmsdcc_execute_tuning: found good phase = 10
[ 2.241333] mmc0: msmsdcc_execute_tuning: found good phase = 11
[ 2.247772] mmc0: msmsdcc_execute_tuning: found good phase = 13
[ 2.253234] mmc0: msmsdcc_execute_tuning: found good phase = 14
[ 2.253326] mmc0: msmsdcc_execute_tuning: found good phase = 15
[ 2.253356] mmc0: msmsdcc_execute_tuning: finally setting the tuning phase to 7
[ 2.273651] ELEVATOR_INIT: row-0
[ 2.280120] power_supply sec-charger: driver failed to report `power_now' property: 4294967274
[ 2.301879] power_supply sec-charger: driver failed to report `power_now' property: 4294967274
[ 2.432739] msm8930_audio_init: Not the right machine type
[ 2.438659] msm_audio_init: Not the right machine type
[ 2.620391] START KTHERMAL
[ 2.653228] ELEVATOR_INIT: row-1
[ 2.837982] Unable to register core for 0
[ 2.848815] sec-battery sec-battery: sec_battery_probe: Failed to Enable Wakeup Source(-6)
[ 2.866851] irda_device_init called!
[ 2.870422] barcode_emul_ice4: probe complete barcode_emul_probe
[ 2.876617] brcm_wlan_power: WL_REG_ON failed to pull up
[ 2.881225] brcm_wlan_power: WL_REG_ON failed to pull down
[ 4.318359] synaptics_rmi4_i2c 3-0020: synaptics_ta_cb: device is in suspend state or reflash.
[ 4.901611] brcm_wlan_power: WL_REG_ON failed to pull up
[ 4.906311] brcm_wlan_power: WL_REG_ON failed to pull down
[ 6.921600] brcm_wlan_power: WL_REG_ON failed to pull up
[ 6.926300] brcm_wlan_power: WL_REG_ON failed to pull down
[ 9.330535] mmc1: msmsdcc_execute_tuning: found good phase = 0
[ 9.335876] mmc1: msmsdcc_execute_tuning: found good phase = 1
[ 9.341552] mmc1: msmsdcc_execute_tuning: found good phase = 2
[ 9.347290] mmc1: msmsdcc_execute_tuning: found good phase = 3
[ 9.353179] mmc1: msmsdcc_execute_tuning: found good phase = 4
[ 9.359100] mmc1: msmsdcc_execute_tuning: found good phase = 5
[ 9.364929] mmc1: msmsdcc_execute_tuning: found good phase = 6
[ 9.370819] mmc1: msmsdcc_execute_tuning: found good phase = 7
[ 9.378051] mmc1: msmsdcc_execute_tuning: found good phase = 8
[ 9.382934] mmc1: msmsdcc_execute_tuning: found good phase = 9
[ 9.388824] mmc1: msmsdcc_execute_tuning: found good phase = 10
[ 9.394653] mmc1: msmsdcc_execute_tuning: found good phase = 11
[ 9.400634] mmc1: msmsdcc_execute_tuning: found good phase = 12
[ 9.406463] mmc1: msmsdcc_execute_tuning: found good phase = 13
[ 9.412414] mmc1: msmsdcc_execute_tuning: found good phase = 14
[ 9.418304] mmc1: msmsdcc_execute_tuning: found good phase = 15
[ 9.424163] mmc1: msmsdcc_execute_tuning: finally setting the tuning phase to 11
[ 12.290466] init: /init.qcom.rc: 646: invalid command '/system/bin/log'
[ 12.296325] init: /init.qcom.rc: 717: ignored duplicate definition of service 'fuse_extSdCard'
[ 12.305267] init: /init.qcom.rc: 782: invalid command 'kill'
[ 12.310333] init: /init.qcom.rc: 784: invalid command 'kill'
[ 12.316040] init: /init.qcom.rc: 786: invalid command 'kill'
[ 12.321624] init: /init.qcom.rc: 788: invalid command 'kill'
[ 12.328430] init: init.target.rc: 47: invalid command 'check_fs'
[ 12.333465] init: init.target.rc: 61: invalid command 'check_fs'
[ 12.339508] init: init.target.rc: 90: invalid command 'check_fs'
[ 12.345703] init: init.target.rc: 104: invalid command 'check_fs'
[ 12.359100] init: invalid uid 'fm_radio'
[ 12.622528] power_supply sec-fuelgauge: driver failed to report `status' property: 4294967274
[ 12.634155] power_supply sec-charger: driver failed to report `power_now' property: 4294967274
[ 12.762359] init: cannot open '/initlogo.rle'
[ 13.750457] init: failed to open '/sys/devices/soc0/soc_id'
[ 13.755157] init: failed to open '/sys/devices/soc0/platform_version'
[ 13.761505] init: failed to open '/sys/devices/soc0/hw_platform'
[ 13.767700] init: Detected MSM SOC ID=153 SOC VER=65536 BOARD TYPE=MTP
[ 13.790435] healthd: wakealarm_init: timerfd_create failed
[ 13.797302] init: cannot find '/system/bin/rf4ce', disabling 'rf4ce'
[ 13.802703] init: cannot find '/system/bin/qrngd', disabling 'qrngd'
[ 13.813873] init: cannot find '/system/bin/bintvoutservice', disabling 'TvoutService_C'
[ 13.820312] SET GPU OC-33-450
[ 13.820556] store_scaling_booted call open: 1890000
[ 13.820587] store_scaling_booted call close: 2322000
[ 13.840515] init: cannot find '/system/bin/imsqmidaemon', disabling 'imsqmidaemon'
[ 13.873992] init: cannot find '/system/bin/gsiff_daemon', disabling 'gsiff_daemon'
[ 13.882629] init: property 'sys.powerctl' doesn't exist while expanding '${sys.powerctl}'
[ 13.889892] init: powerctl: cannot expand '${sys.powerctl}'
[ 13.895507] init: property 'sys.sysctl.extra_free_kbytes' doesn't exist while expanding '${sys.sysctl.extra_free_kbytes}'
[ 13.906372] init: cannot expand '${sys.sysctl.extra_free_kbytes}' while writing to '/proc/sys/vm/extra_free_kbytes'
[ 13.953887] mtp_function_bind_config: MTP-KTOONSEZ_mtp_bind_config - type:0 ret:0
[ 13.982208] init: cannot find '/system/bin/quipc_igsn', disabling 'quipc_igsn'
[ 13.994598] init: cannot find '/system/bin/quipc_main', disabling 'quipc_main'
[ 14.004913] init: cannot find '/system/bin/location-mq', disabling 'location_mq'
[ 14.019958] init: cannot find '/system/bin/lowi-server', disabling 'lowi-server'
[ 14.031463] init: cannot find '/system/bin/xtwifi-inet-agent', disabling 'xtwifi_inet'
[ 14.039337] init: cannot find '/system/bin/xtwifi-client', disabling 'xtwifi_client'
[ 14.755554] cpufreq_gov_resume_gov_DENIED:
[ 14.755554] cpufreq_gov_resume_gov_SCHED_DENIED2:
[ 15.086425] [mdnie lite] is negative Mode On = 0
[ 15.086425] [mdnie lite] negative off when resume, tuning again!
[ 15.086425] [mdnie lite] mDNIe_Set_Mode start , mode(0), background(0)
[ 15.086456] [mdnie lite] = UI MODE =
[ 15.086456] [mdnie lite] = STANDARD MODE =
[ 15.086456] [mdnie lite] send tuning cmd!!
[ 15.136260] [mdnie lite] mDNIe_Set_Mode end , mode(0), background(0)
[ 15.507690] init: sys_prop: permission denied uid:1003 name:boot.sfbootcomplete
[ 17.931213] mag_store_hwoffset success
[ 20.553161] diag: proc 1, msg mask update fail -12, tried 419
[ 24.255065] WLDEV-ERROR) wldev_set_country : wldev_set_country: set country for NO as NO rev 4
[ 25.105926] qtaguid: iface_stat: stat_update() wlan0 not found
[ 25.110839] qtaguid: iface_stat: stat_update() wlan0 not found
[ 25.343597] init: no such service 'fuse_sdcard'
[ 26.228057] msm_pm_mode_attr_store: spc is blocked (1) from [sh]
[ 26.233367] msm_pm_mode_attr_store: spc is blocked (2) from [sh]
[ 26.239746] msm_pm_mode_attr_store: spc is blocked (3) from [sh]
[ 26.245391] msm_pm_mode_attr_store: spc is blocked (4) from [sh]
[ 26.251922] STORE GOVERNOR ondemand - interactive
[ 26.256408] STORE GOVERNOR ondemand - interactive
[ 26.260437] STORE GOVERNOR ondemand - interactive
[ 26.265228] STORE GOVERNOR ondemand - interactive
[ 26.383453] mpd msm_mpd_attr_slack_time_max_us_store: Error 4 returned when setting algo param slack_time_max_us to 45000
[ 26.394195] mpd msm_mpd_attr_slack_time_min_us_store: Error 4 returned when setting algo param slack_time_min_us to 15000
[ 26.405090] mpd msm_mpd_attr_em_win_size_min_us_store: Error 4 returned when setting algo param em_win_size_min_us to 100000
[ 26.416137] mpd msm_mpd_attr_em_win_size_max_us_store: Error 4 returned when setting algo param em_win_size_max_us to 1000000
[ 26.427764] mpd msm_mpd_attr_online_util_pct_min_store: Error 4 returned when setting algo param online_util_pct_min to 3
[ 26.438476] mpd msm_mpd_attr_online_util_pct_max_store: Error 4 returned when setting algo param online_util_pct_max to 25
[ 26.449432] mpd msm_mpd_attr_em_max_util_pct_store: Error 4 returned when setting algo param em_max_util_pct to 97
[ 26.461822] mpd msm_mpd_attr_mp_em_rounding_point_min_store: Error 4 returned when setting algo param mp_em_rounding_point_min to 10
[ 26.473449] mpd msm_mpd_attr_mp_em_rounding_point_max_store: Error 4 returned when setting algo param mp_em_rounding_point_max to 85
[ 26.630279] init: no such service 'thermal-engine'
[ 26.638641] init: no such service 'mpdecision'
[ 27.224517] init: sys_prop: permission denied uid:1003 name:boot.sfbootcomplete
[ 27.250732] init: sys_prop: permission denied uid:1003 name:service.bootanim.exit
[ 29.195892] qtaguid: iface_stat: stat_update() wlan0 not found
[ 29.200805] qtaguid: iface_stat: stat_update() wlan0 not found
[ 33.089752] init: sys_prop: permission denied uid:1001 name:persist.sys.timezone
[ 42.185607] cpufreq_gov_suspend_gov_DENIED2:
[ 42.185607] cpufreq_gov_suspend_gov_SCHED_DENIED2:
[ 42.242126] dtv_pipe is not configured yet
[ 42.676513] [TouchKey] cypress_touchkey_led_work 417 Touchkey is not enabled.
[ 51.267089] store_UV_mV_table: 18
[ 51.271301] STORE GOVERNOR ondemand - ondemand
[ 51.291229] SET GPU OC-33-450
[ 51.294647] [mdnie lite] scenario_store, input value = 0
[ 51.299285] [mdnie lite] mDNIe_Set_Mode start , mode(0), background(0)
[ 51.305786] [mdnie lite] [ERROR] not ST_DSI_RESUME. do not send mipi cmd.
[ 51.312988] [mdnie lite] set background mode : 4
[ 51.317138] [mdnie lite] mode_store, input background(4)
[ 51.322479] [mdnie lite] mDNIe_Set_Mode start , mode(0), background(4)
[ 51.329071] [mdnie lite] [ERROR] not ST_DSI_RESUME. do not send mipi cmd.
[ 51.336212] [mdnie lite] negative_store, input value = 0
[ 51.341308] [mdnie lite] mDNIe_Set_Negative START
[ 51.345764] [mdnie lite] Negative mode(0) -> reset mode(0)
[ 51.351287] [mdnie lite] mDNIe_Set_Mode start , mode(0), background(4)
[ 51.357788] [mdnie lite] [ERROR] not ST_DSI_RESUME. do not send mipi cmd.
[ 51.364501] [mdnie lite] mDNIe_Set_Negative END
[ 51.369506] [mdnie lite] outdoor value = 0, scenario = 0
[ 51.374298] [mdnie lite] mDNIe_Set_Mode start , mode(0), background(4)
[ 51.381134] [mdnie lite] [ERROR] not ST_DSI_RESUME. do not send mipi cmd.
[ 62.149139] init: untracked pid 2792 exited
[ 68.372924] init: untracked pid 2796 exited
[ 82.812316] dpm_run_callback(): platform_pm_suspend+0x0/0x5c returns -16
[ 82.812347] PM: Device alarm failed to suspend: error -16
[ 82.812377] PM: Some devices failed to suspend
[ 90.338104] dpm_run_callback(): platform_pm_suspend+0x0/0x5c returns -16
[ 90.338134] PM: Device alarm failed to suspend: error -16
[ 90.338165] PM: Some devices failed to suspend
[ 98.350830] dpm_run_callback(): platform_pm_suspend+0x0/0x5c returns -16
[ 98.350860] PM: Device alarm failed to suspend: error -16
[ 98.350860] PM: Some devices failed to suspend
[ 102.898834] dpm_run_callback(): platform_pm_suspend+0x0/0x5c returns -16
[ 102.898834] PM: Device alarm failed to suspend: error -16
[ 102.898864] PM: Some devices failed to suspend
[ 266.643096] cpufreq_gov_resume_gov_DENIED:
[ 266.646331] cpufreq_gov_resume_gov_SCHED_DENIED2: cfq
[ 266.764862] [TouchKey] cypress_touchkey_led_work 417 Touchkey is not enabled.
[ 266.982818] [mdnie lite] is negative Mode On = 0
[ 266.986694] [mdnie lite] negative off when resume, tuning again!
[ 266.992492] [mdnie lite] mDNIe_Set_Mode start , mode(0), background(4)
[ 266.999267] [mdnie lite] = UI MODE =
[ 267.002746] [mdnie lite] = AUTO MODE =
[ 267.006744] [mdnie lite] send tuning cmd!!
[ 267.032714] [mdnie lite] mDNIe_Set_Mode end , mode(0), background(4)
[ 297.232666] cpufreq_gov_suspend_gov_DENIED2:
[ 297.232666] cpufreq_gov_suspend_gov_SCHED_DENIED2:
[ 297.282531] dtv_pipe is not configured yet
[ 327.395050] dpm_run_callback(): platform_pm_suspend+0x0/0x5c returns -16
[ 327.395080] PM: Device alarm failed to suspend: error -16
[ 327.395080] PM: Some devices failed to suspend
[ 355.259338] Freezing of tasks aborted

No errors detected