[Galaxy S 4 i9505 Original Android Development] Advancer:
Ok, I'll try to pull a dmesg too, but here is what I got so far. First I put the phone to standby, 5 minutes later I tried to wake it, but it was out cold, had to pull the battery to get it back. Then booted it up, let it sit and got a new reboot. Here is the last_kmsg:

[ 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.030944] 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.053833] msm_rpm_get_status(): Status id 433 not defined for target
[ 0.053833] msm_rpm_get_status(): Status id 433 not defined for target
[ 0.053833] msm_rpm_get_status(): Status id 433 not defined for target
[ 0.053863] msm_rpm_get_status(): Status id 433 not defined for target
[ 0.053863] msm_rpm_get_status(): Status id 433 not defined for target
[ 0.053863] msm_rpm_get_status(): Status id 433 not defined for target
[ 0.053894] msm_rpm_get_status(): Status id 433 not defined for target
[ 0.053894] msm_rpm_get_status(): Status id 433 not defined for target
[ 0.099945] sensor_power_on_vdd: done
[ 0.154296] i2c i2c-4: Failed to register i2c client imx135 at 0x10 (-16)
[ 0.154449] i2c i2c-4: Can't create device at 0x10
[ 0.154846] i2c i2c-4: Failed to register i2c client s5k3l1yx at 0x34 (-16)
[ 0.154998] i2c i2c-4: Can't create device at 0x34
[ 0.187805] ion_heap_create: Invalid heap type 3
[ 0.192260] msm_slim_ctrl msm_slim_ctrl.1: Slim-dev:3 report inf element:0x0
[ 0.192474] msm_slim_ctrl msm_slim_ctrl.1: offset:0x0:bit mask:8
[ 0.192810] msm_slim_ctrl msm_slim_ctrl.1: Slim-dev:4 report inf element:0x400
[ 0.193115] msm_slim_ctrl msm_slim_ctrl.1: offset:0x0:bit mask:8
[ 0.269317] Error-Bad Function Input
[ 0.270202] Error-Bad Function Input
[ 0.351135] smd_channel_probe_worker: allocation table not initialized
[ 0.370544] mdm_modem_probe: registered mdm id 0
[ 0.371307] mdm_do_first_power_on:id 0: Powering on modem for the first time
[ 0.822113] [mdnie lite] start!
[ 0.822326] [mdnie lite] end!
[ 0.838043] hdmi_msm hdmi_msm.1: external_common_state_create: sysfs group ddee0008
[ 0.843719] Inside writeback_driver_init
[ 0.845977] Inside writeback_probe
[ 1.232482] CHARGING MHZ ON 0-0-0-0
[ 1.444335] wcd9xxx_slim_probe: failed to get slimbus tabla-slim logical address: -6
[ 1.570587] msm_otg msm_otg: failed to get phy_clk
[ 1.685516] mtp_function_init: MTP-KTOONSEZ_initS - type:0 ret:0
[ 1.692840] mtp_function_init: MTP-KTOONSEZ_initG - type:0 ret:0
[ 1.773925] couldn't get usb power supply
[ 1.850158] [jc_spi_init:336] Entered
[ 1.852905] [jc_spi_probe:301] Entered
[ 1.856750] [jc_spi_probe:311] jc_spi successfully probed
[ 1.862091] jc_config_isp_irq~~~~~~~~~~
[ 1.865966] msm_eeprom_probe probe_fail
[ 1.874603] msm_sensor_i2c_probe s5k6b2yx probe succeeded
[ 1.879119] msm_eeprom_probe probe_fail
[ 1.937500] mmc0: No card detect facilities available
[ 2.130981] mmc0: msmsdcc_execute_tuning: found good phase = 0
[ 2.136322] mmc0: msmsdcc_execute_tuning: found good phase = 1
[ 2.142120] mmc0: msmsdcc_execute_tuning: found good phase = 2
[ 2.147888] mmc0: msmsdcc_execute_tuning: found good phase = 3
[ 2.149383] power_supply sec-fuelgauge: driver failed to report `status' property: 4294967274
[ 2.149902] power_supply sec-fuelgauge: driver failed to report `status' property: 4294967274
[ 2.170928] mmc0: msmsdcc_execute_tuning: found good phase = 4
[ 2.176605] mmc0: msmsdcc_execute_tuning: found good phase = 5
[ 2.182312] mmc0: msmsdcc_execute_tuning: found good phase = 6
[ 2.188293] mmc0: msmsdcc_execute_tuning: found good phase = 7
[ 2.194000] mmc0: msmsdcc_execute_tuning: found good phase = 8
[ 2.199859] mmc0: msmsdcc_execute_tuning: found good phase = 9
[ 2.205627] mmc0: msmsdcc_execute_tuning: found good phase = 10
[ 2.211578] mmc0: msmsdcc_execute_tuning: found good phase = 11
[ 2.217437] mmc0: msmsdcc_execute_tuning: found good phase = 12
[ 2.223480] mmc0: msmsdcc_execute_tuning: found good phase = 13
[ 2.229217] mmc0: msmsdcc_execute_tuning: found good phase = 14
[ 2.234802] power_supply sec-charger: driver failed to report `power_now' property: 4294967274
[ 2.250030] power_supply sec-charger: driver failed to report `power_now' property: 4294967274
[ 2.252624] mmc0: msmsdcc_execute_tuning: found good phase = 15
[ 2.252655] mmc0: msmsdcc_execute_tuning: finally setting the tuning phase to 11
[ 2.272979] ELEVATOR_INIT: row-0
[ 2.355865] msm8930_audio_init: Not the right machine type
[ 2.361053] msm_audio_init: Not the right machine type
[ 2.640197] START KTHERMAL
[ 2.649230] ELEVATOR_INIT: row-1
[ 2.857604] Unable to register core for 0
[ 2.868804] sec-battery sec-battery: sec_battery_probe: Failed to Enable Wakeup Source(-6)
[ 2.878417] irda_device_init called!
[ 2.881408] barcode_emul_ice4: probe complete barcode_emul_probe
[ 2.887298] brcm_wlan_power: WL_REG_ON failed to pull up
[ 2.892456] brcm_wlan_power: WL_REG_ON failed to pull down
[ 4.299682] synaptics_rmi4_i2c 3-0020: synaptics_ta_cb: device is in suspend state or reflash.
[ 4.910980] brcm_wlan_power: WL_REG_ON failed to pull up
[ 4.915802] brcm_wlan_power: WL_REG_ON failed to pull down
[ 6.930938] brcm_wlan_power: WL_REG_ON failed to pull up
[ 6.935760] brcm_wlan_power: WL_REG_ON failed to pull down
[ 9.333740] mmc1: msmsdcc_execute_tuning: found good phase = 0
[ 9.339050] mmc1: msmsdcc_execute_tuning: found good phase = 1
[ 9.345611] mmc1: msmsdcc_execute_tuning: found good phase = 2
[ 9.350799] mmc1: msmsdcc_execute_tuning: found good phase = 3
[ 9.356719] mmc1: msmsdcc_execute_tuning: found good phase = 4
[ 9.362518] mmc1: msmsdcc_execute_tuning: found good phase = 5
[ 9.370697] mmc1: msmsdcc_execute_tuning: found good phase = 7
[ 9.375671] mmc1: msmsdcc_execute_tuning: found good phase = 8
[ 9.381378] mmc1: msmsdcc_execute_tuning: found good phase = 9
[ 9.387268] mmc1: msmsdcc_execute_tuning: found good phase = 10
[ 9.393096] mmc1: msmsdcc_execute_tuning: found good phase = 11
[ 9.399108] mmc1: msmsdcc_execute_tuning: found good phase = 12
[ 9.404937] mmc1: msmsdcc_execute_tuning: found good phase = 13
[ 9.410858] mmc1: msmsdcc_execute_tuning: found good phase = 14
[ 9.416748] mmc1: msmsdcc_execute_tuning: found good phase = 15
[ 9.422637] mmc1: msmsdcc_execute_tuning: finally setting the tuning phase to 1
[ 12.412322] init: /init.qcom.rc: 646: invalid command '/system/bin/log'
[ 12.418182] init: /init.qcom.rc: 717: ignored duplicate definition of service 'fuse_extSdCard'
[ 12.427124] init: /init.qcom.rc: 782: invalid command 'kill'
[ 12.432189] init: /init.qcom.rc: 784: invalid command 'kill'
[ 12.437896] init: /init.qcom.rc: 786: invalid command 'kill'
[ 12.443481] init: /init.qcom.rc: 788: invalid command 'kill'
[ 12.450286] init: init.target.rc: 47: invalid command 'check_fs'
[ 12.455322] init: init.target.rc: 61: invalid command 'check_fs'
[ 12.461364] init: init.target.rc: 90: invalid command 'check_fs'
[ 12.467590] init: init.target.rc: 104: invalid command 'check_fs'
[ 12.480743] init: invalid uid 'fm_radio'
[ 12.736236] power_supply sec-fuelgauge: driver failed to report `status' property: 4294967274
[ 12.749938] power_supply sec-charger: driver failed to report `power_now' property: 4294967274
[ 12.881225] init: cannot open '/initlogo.rle'
[ 14.403442] init: failed to open '/sys/devices/soc0/soc_id'
[ 14.408477] init: failed to open '/sys/devices/soc0/platform_version'
[ 14.414733] init: failed to open '/sys/devices/soc0/hw_platform'
[ 14.420745] init: Detected MSM SOC ID=153 SOC VER=65536 BOARD TYPE=MTP
[ 14.446594] healthd: wakealarm_init: timerfd_create failed
[ 14.453460] init: cannot find '/system/bin/rf4ce', disabling 'rf4ce'
[ 14.463012] init: cannot find '/system/bin/qrngd', disabling 'qrngd'
[ 14.469696] init: cannot find '/system/bin/bintvoutservice', disabling 'TvoutService_C'
[ 14.482971] init: cannot find '/system/bin/imsqmidaemon', disabling 'imsqmidaemon'
[ 14.496856] SET GPU OC-33-450
[ 14.499450] store_scaling_booted call open: 1890000
[ 14.503814] store_scaling_booted call close: 2322000
[ 14.530731] init: cannot find '/system/bin/gsiff_daemon', disabling 'gsiff_daemon'
[ 14.541168] init: property 'sys.powerctl' doesn't exist while expanding '${sys.powerctl}'
[ 14.549133] init: powerctl: cannot expand '${sys.powerctl}'
[ 14.554138] init: property 'sys.sysctl.extra_free_kbytes' doesn't exist while expanding '${sys.sysctl.extra_free_kbytes}'
[ 14.566986] init: cannot expand '${sys.sysctl.extra_free_kbytes}' while writing to '/proc/sys/vm/extra_free_kbytes'
[ 14.611267] init: cannot find '/system/bin/quipc_igsn', disabling 'quipc_igsn'
[ 14.620574] init: cannot find '/system/bin/quipc_main', disabling 'quipc_main'
[ 14.634155] init: cannot find '/system/bin/location-mq', disabling 'location_mq'
[ 14.635650] mtp_function_bind_config: MTP-KTOONSEZ_mtp_bind_config - type:0 ret:0
[ 14.658874] init: cannot find '/system/bin/lowi-server', disabling 'lowi-server'
[ 14.670684] init: cannot find '/system/bin/xtwifi-inet-agent', disabling 'xtwifi_inet'
[ 14.678344] init: cannot find '/system/bin/xtwifi-client', disabling 'xtwifi_client'
[ 15.425048] cpufreq_gov_resume_gov_DENIED:
[ 15.425048] cpufreq_gov_resume_gov_SCHED_DENIED2:
[ 15.722442] [mdnie lite] is negative Mode On = 0
[ 15.722442] [mdnie lite] negative off when resume, tuning again!
[ 15.722473] [mdnie lite] mDNIe_Set_Mode start , mode(0), background(0)
[ 15.722473] [mdnie lite] = UI MODE =
[ 15.722473] [mdnie lite] = STANDARD MODE =
[ 15.722473] [mdnie lite] send tuning cmd!!
[ 15.755706] [mdnie lite] mDNIe_Set_Mode end , mode(0), background(0)
[ 16.151306] init: sys_prop: permission denied uid:1003 name:boot.sfbootcomplete
[ 18.629394] mag_store_hwoffset success
[ 21.152832] diag: proc 1, msg mask update fail -12, tried 419
[ 24.847290] WLDEV-ERROR) wldev_set_country : wldev_set_country: set country for NO as NO rev 4
[ 25.745391] qtaguid: iface_stat: stat_update() wlan0 not found
[ 25.750305] qtaguid: iface_stat: stat_update() wlan0 not found
[ 25.936096] init: no such service 'fuse_sdcard'
[ 26.776336] msm_pm_mode_attr_store: spc is blocked (1) from [sh]
[ 26.781463] msm_pm_mode_attr_store: spc is blocked (2) from [sh]
[ 26.787780] msm_pm_mode_attr_store: spc is blocked (3) from [sh]
[ 26.793487] msm_pm_mode_attr_store: spc is blocked (4) from [sh]
[ 26.799957] STORE GOVERNOR ondemand - interactive
[ 26.804626] STORE GOVERNOR ondemand - interactive
[ 26.808959] STORE GOVERNOR ondemand - interactive
[ 26.813385] STORE GOVERNOR ondemand - interactive
[ 26.925720] mpd msm_mpd_attr_slack_time_max_us_store: Error 4 returned when setting algo param slack_time_max_us to 45000
[ 26.936309] mpd msm_mpd_attr_slack_time_min_us_store: Error 4 returned when setting algo param slack_time_min_us to 15000
[ 26.947418] 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.958557] 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.969787] mpd msm_mpd_attr_online_util_pct_min_store: Error 4 returned when setting algo param online_util_pct_min to 3
[ 26.980895] mpd msm_mpd_attr_online_util_pct_max_store: Error 4 returned when setting algo param online_util_pct_max to 25
[ 26.991729] mpd msm_mpd_attr_em_max_util_pct_store: Error 4 returned when setting algo param em_max_util_pct to 97
[ 27.002349] mpd msm_mpd_attr_mp_em_rounding_point_min_store: Error 4 returned when setting algo param mp_em_rounding_point_min to 10
[ 27.014038] mpd msm_mpd_attr_mp_em_rounding_point_max_store: Error 4 returned when setting algo param mp_em_rounding_point_max to 85
[ 27.159790] init: no such service 'thermal-engine'
[ 27.170593] init: no such service 'mpdecision'
[ 27.704162] init: sys_prop: permission denied uid:1003 name:boot.sfbootcomplete
[ 27.727508] init: sys_prop: permission denied uid:1003 name:service.bootanim.exit
[ 31.785339] init: sys_prop: permission denied uid:1001 name:persist.sys.timezone
[ 47.053802] cpufreq_gov_suspend_gov_DENIED2:
[ 47.053802] cpufreq_gov_suspend_gov_SCHED_DENIED2:
[ 47.140625] dtv_pipe is not configured yet
[ 47.586791] [TouchKey] cypress_touchkey_led_work 417 Touchkey is not enabled.
[ 47.638275] cpufreq_gov_resume_gov_DENIED:
[ 47.641479] cpufreq_gov_resume_gov_SCHED_DENIED2: cfq
[ 47.917846] [mdnie lite] is negative Mode On = 0
[ 47.921478] [mdnie lite] negative off when resume, tuning again!
[ 47.932037] [mdnie lite] mDNIe_Set_Mode start , mode(0), background(0)
[ 47.942230] [mdnie lite] = UI MODE =
[ 47.944946] [mdnie lite] = STANDARD MODE =
[ 47.953521] [mdnie lite] send tuning cmd!!
[ 48.000823] [mdnie lite] mDNIe_Set_Mode end , mode(0), background(0)
[ 53.250122] store_UV_mV_table: 18
[ 53.258209] STORE GOVERNOR ondemand - ondemand
[ 53.286804] SET GPU OC-33-450
[ 53.290100] [mdnie lite] scenario_store, input value = 0
[ 53.294738] [mdnie lite] mDNIe_Set_Mode start , mode(0), background(0)
[ 53.301269] [mdnie lite] = UI MODE =
[ 53.304840] [mdnie lite] = STANDARD MODE =
[ 53.309112] [mdnie lite] send tuning cmd!!
[ 53.353179] [mdnie lite] mDNIe_Set_Mode end , mode(0), background(0)
[ 53.360107] [mdnie lite] set background mode : 4
[ 53.364044] [mdnie lite] mode_store, input background(4)
[ 53.371704] [mdnie lite] mDNIe_Set_Mode start , mode(0), background(4)
[ 53.377838] [mdnie lite] = UI MODE =
[ 53.381011] [mdnie lite] = AUTO MODE =
[ 53.384948] [mdnie lite] send tuning cmd!!
[ 53.436309] [mdnie lite] mDNIe_Set_Mode end , mode(0), background(4)
[ 53.443054] [mdnie lite] negative_store, input value = 0
[ 53.447937] [mdnie lite] mDNIe_Set_Negative START
[ 53.452270] [mdnie lite] Negative mode(0) -> reset mode(0)
[ 53.457977] [mdnie lite] mDNIe_Set_Mode start , mode(0), background(4)
[ 53.464294] [mdnie lite] = UI MODE =
[ 53.467864] [mdnie lite] = AUTO MODE =
[ 53.471527] [mdnie lite] send tuning cmd!!
[ 53.519378] [mdnie lite] mDNIe_Set_Mode end , mode(0), background(4)
[ 53.525238] [mdnie lite] mDNIe_Set_Negative END
[ 53.530548] [mdnie lite] outdoor value = 0, scenario = 0
[ 53.535339] [mdnie lite] mDNIe_Set_Mode start , mode(0), background(4)
[ 53.541656] [mdnie lite] = UI MODE =
[ 53.545288] [mdnie lite] = AUTO MODE =
[ 53.549102] [mdnie lite] send tuning cmd!!
[ 53.602508] [mdnie lite] mDNIe_Set_Mode end , mode(0), background(4)
[ 63.143951] cpufreq_gov_suspend_gov_DENIED2:
[ 63.143951] cpufreq_gov_suspend_gov_SCHED_DENIED2:
[ 63.217315] dtv_pipe is not configured yet
[ 64.090667] init: untracked pid 2964 exited
[ 64.561737] init: untracked pid 2967 exited
[ 76.939025] Freezing of user space aborted
[ 84.308502] dpm_run_callback(): platform_pm_suspend+0x0/0x5c returns -16
[ 84.308532] PM: Device alarm failed to suspend: error -16
[ 84.308563] PM: Some devices failed to suspend

No errors detected