[Galaxy S 4 General] NEOAethyr:
I flashed cm11 v4.4.4 the other day and noticed I have the sleep of death with that setup.

Perseus doesn't work on it, pretty sure it's because it's v4.4.4 instead of v4.4.2...

Anyways, I got another log here not sure if this will help, on ttt 4.4.2 nb3, perseus v19.1.

I just tried messing with the cpu gov so I'm unsure if that will be in the log or not, it didn't fix it anyways.

Here's the log, /proc/last_kmsg

Persues kernel, v19.1, usb plugged in while powering off.

[ 0.000000] B0 0 clkout: bad source 0
[ 0.000000] B0 0 clkout: bad source 0
[ 0.103337] B0 1 gpio: GPC0 has missing PM functions
[ 0.103431] B0 1 gpio: GPC3 has missing PM functions
[ 0.105222] B0 1 gpio: GPZ has no PM function
[ 0.125678] B0 1 synaptics_tsp_init touch : 526
[ 0.132391] B0 1 [exynos5_universal5410_fpga_init] initialization start!
[ 0.132449] B0 1 [exynos5_universal5410_fpga_init] SYSTEM REVISION is bigger than 5
[ 0.132507] B0 1 [exynos5_universal5410_fpga_init] Change the Barcode I2C line
[ 0.132563] B0 1 [exynos5_universal5410_fpga_init] SYSTEM REVISION : 10
[ 0.132617] B0 1 [exynos5_universal5410_fpga_init] BARCODE SCL : 217
[ 0.132666] B0 1 [exynos5_universal5410_fpga_init] BARCODE SDA : 218
[ 0.132902] B0 1 irda_device_init called!
[ 0.132947] B0 1 irda_device_init complete
[ 0.163533] B0 1 Failed to get (null) clock
[ 0.163660] B0 1 Failed to get (null) clock
[ 0.168928] B0 1 exynos_interface_init: failed to create sysfs interface
[ 0.339968] B0 1 exynos5-i2c exynos5-hs-i2c.2: no platform data
[ 0.546169] B0 0 gps_host_wake_isr GPS pin level[Low]
[ 0.547090] B1 1 s3c-adc samsung-adc-v5: operating without regulator "vdd" .
[ 0.593577] B1 1 ion_device_add_heap: can not insert multiple heaps with id 1
[ 0.593774] B1 1 ion_device_add_heap: can not insert multiple heaps with id 0
[ 0.755853] B2 1 synaptics_rmi4_i2c 0-0020: synaptics_rmi4_probe: Do not support getting DDI Type
[ 0.756141] B2 1 [TSP] synaptics_power on
[ 1.056143] B1 1 Initialize JPEG driver
[ 1.062290] B1 1 s5p-hdmi exynos5-hdmi: Set HDMI phy power off
[ 1.353379] B0 0 dw_mmc dw_mmc.2: data CRC error
[ 1.354166] B0 0 dw_mmc dw_mmc.2: data CRC error
[ 1.590570] B3 1 wm5102-codec wm5102-codec: dapm: unknown pin RCV
[ 1.590775] B3 1 wm5102-codec wm5102-codec: dapm: unknown pin VPS
[ 1.590907] B3 1 wm5102-codec wm5102-codec: dapm: unknown pin SPK
[ 1.591100] B3 1 wm5102-codec wm5102-codec: dapm: unknown pin HP
[ 2.474482] B1 1062 max77803_muic_charger_cb: fail to get battery psy
[ 2.513718] B0 1 mif: modem_probe: mif_sipc5
[ 2.516907] B1 1 mif: modem_probe: link created: usb
[ 2.520026] B1 1 mif: sipc5_init_io_device: dm_state : umts_dm0, sucess
[ 2.525530] B1 1 mif: modem_probe: Complete!!!
[ 2.638195] B1 1 sec_touchkey_driver 8-0020: JA LCD type Print : 0x408047
[ 2.901321] B2 1 sec-battery sec-battery: sec_battery_probe: Failed to Enable Wakeup Source(-6)
[ 2.906236] B2 1 ice4_fpga: probe complete barcode_emul_probe
[ 2.906550] B2 1 ALSA device list:
[ 2.906633] B2 1 #0: AdonisUniv Sound Card
[ 3.194775] B2 1 init: !@LPM mode booting
[ 3.482667] B3 1569 exynos-xhci exynos-xhci.0: exynos_xhci_runtime_suspend
[ 3.482906] B3 1569 exynos-xhci exynos-xhci.0: exynos_xhci_runtime_suspend<-- retval(0)
[ 3.661763] B1 1 init: cannot open '/initlogo.rle'
[ 3.662873] B1 1 init: Unable to open persistent property directory /data/property errno: 2
[ 3.753548] B1 703 audience_es325 4-003e: firmware request failed
[ 3.761877] B2 1060 SRP_ERR: Failed to requset firmware[srp_vliw.bin]
[ 6.872529] B0 1458 Initialize JPEG Hx driver

15 Corrected bytes, 0 unrecoverable blocks
Last reset was reset (RST_STAT=0x100)

I dn't know if it's the kernel or not, but I could really use the help.

Said before, stock kernel works fine.

Issues:

Also noticed the screen is dark sometimes after waking up from sleep.

Reset global settings option in synapse crashes the app.

Probably non-issues:

Sound didn't work once after boot, probably nothing, likely just a fluke.

Synapse settings sometimes reset themselves after reboot, yes I know about the failed boot fallback thing, seems like it's resetting it's self for no reason though.

Gonna recover real quick and get a stock kernel log..., /proc/last_kmsg

Err there must be some sort of post size limit because I can't post it... (it was the weird char's in the last log...)

Usb plugged in while powering off, stock kernel.

[ 0.000000] B0 0 clkout: bad source 0
[ 0.000000] B0 0 clkout: bad source 0
[ 0.000000] B0 0 (sec_debug_set_upload_magic) 66262564
[ 0.000000] B0 0 (sec_debug_set_upload_cause) cafebabe
[ 0.102989] B0 1 gpio: GPC0 has missing PM functions
[ 0.103085] B0 1 gpio: GPC3 has missing PM functions
[ 0.104883] B0 1 gpio: GPZ has no PM function
[ 0.125348] B0 1 panel I
[ 0.126442] B0 1 synaptics_verify_panel_revision: panel_revision: 8, system_rev: 10, lcdtype: 0x408047, touch_type: 8, el_type: M4, h_sync: OK, ddi_type: SDC
[ 0.126546] B0 1 synaptics_tsp_init touch : 526
[ 0.135931] B0 1 [exynos5_universal5410_fpga_init] initialization start!
[ 0.135987] B0 1 [exynos5_universal5410_fpga_init] SYSTEM REVISION is bigger than 5
[ 0.136046] B0 1 [exynos5_universal5410_fpga_init] Change the Barcode I2C line
[ 0.136104] B0 1 [exynos5_universal5410_fpga_init] SYSTEM REVISION : 10
[ 0.136156] B0 1 [exynos5_universal5410_fpga_init] BARCODE SCL : 217
[ 0.136207] B0 1 [exynos5_universal5410_fpga_init] BARCODE SDA : 218
[ 0.136468] B0 1 irda_device_init called!
[ 0.136512] B0 1 irda_device_init complete
[ 0.172248] B0 1 Failed to get (null) clock
[ 0.172438] B0 1 Failed to get (null) clock
[ 0.178449] B0 1 exynos_interface_init: failed to create sysfs interface
[ 0.352231] B0 1 exynos5-i2c exynos5-hs-i2c.2: no platform data
[ 0.461330] B0 1 gps_host_wake_isr GPS pin level[Low]
[ 0.461746] B0 1 s3c-adc samsung-adc-v5: operating without regulator "vdd" .
[ 0.480885] B0 1 tima_uevent_init
[ 0.504448] B0 1 ion_device_add_heap: can not insert multiple heaps with id 1
[ 0.504588] B0 1 ion_device_add_heap: can not insert multiple heaps with id 0
[ 0.673238] B0 1 [TSP] synaptics_power on
[ 0.980817] B0 1 Initialize JPEG driver
[ 0.987707] B0 1 s5p-hdmi exynos5-hdmi: Set HDMI phy power off
[ 1.300350] B0 0 dw_mmc dw_mmc.2: data CRC error
[ 1.541744] B3 1 wm5102-codec wm5102-codec: dapm: unknown pin RCV
[ 1.541908] B3 1 wm5102-codec wm5102-codec: dapm: unknown pin VPS
[ 1.542104] B3 1 wm5102-codec wm5102-codec: dapm: unknown pin SPK
[ 1.542298] B3 1 wm5102-codec wm5102-codec: dapm: unknown pin HP
[ 1.822575] B0 1 mif: modem_probe: mif_sipc5
[ 1.825810] B0 1 mif: modem_probe: link created: usb
[ 1.828456] B0 1 mif: sipc5_init_io_device: dm_state : umts_dm0, sucess
[ 1.833523] B0 1 mif: modem_probe: Complete!!!
[ 1.955706] B0 1 sec_touchkey_driver 8-0020: JA LCD type Print : 0x408047
[ 2.284970] B0 1 sec-battery sec-battery: sec_battery_probe: Failed to Enable Wakeup Source(-6)
[ 2.293392] B1 1 ice4_fpga: probe complete barcode_emul_probe
[ 2.555517] B1 1 mmc_force_presence_change: called for device exynos5_device_dwmci1
[ 3.200488] B0 1 ALSA device list:
[ 3.200616] B0 1 #0: AdonisUniv Sound Card
[ 3.515531] B1 1042 exynos-xhci exynos-xhci.0: exynos_xhci_runtime_suspend
[ 3.515733] B1 1042 exynos-xhci exynos-xhci.0: exynos_xhci_runtime_suspend<-- retval(0)
[ 3.596153] B1 1 init: /init.universal5410.rc: 515: invalid option 'chmod'
[ 3.596358] B1 1 init: /init.universal5410.rc: 516: invalid option 'chown'
[ 3.596492] B1 1 init: /init.universal5410.rc: 519: invalid option 'chown'
[ 3.596724] B1 1 init: /init.universal5410.rc: 534: ignored duplicate definition of service 'at_distributor'
[ 3.596942] B1 1 init: /init.universal5410.rc: 540: ignored duplicate definition of service 'sensorhubservice'
[ 3.597173] B1 1 init: /init.universal5410.rc: 553: ignored duplicate definition of service 'bugreport'
[ 3.598065] B1 1 init: init.wifi.rc: 92: ignored duplicate definition of service 'dhcpcd_bt-pan'
[ 3.598221] B1 1 init: init.wifi.rc: 97: ignored duplicate definition of service 'iprenew_bt-pan'
[ 3.598721] B1 1 init: /init.container.rc: 37: invalid option 'start'
[ 3.598947] B1 1 init: could not import file '/init.carrier.rc' from '/init.rc'
[ 3.603070] B1 1 init: /proc/deferred_initcalls not found
[ 4.212846] B1 1 init: /dev/hw_random not found
[ 4.213524] B1 1 init: cannot open '/initlogo.rle'
[ 4.327044] B3 1 init: using deprecated syntax for specifying property 'ro.serialno', use ${name} instead
[ 4.327861] B3 1 init: /dev/hw_random not found
[ 4.328040] B3 1 init: Unable to open persistent property directory /data/property errno: 2
[ 4.329649] B3 1 init: property 'sys.powerctl' doesn't exist while expanding '${sys.powerctl}'
[ 4.329859] B3 1 init: powerctl: cannot expand '${sys.powerctl}'
[ 4.329996] B3 1 init: property 'sys.sysctl.extra_free_kbytes' doesn't exist while expanding '${sys.sysctl.extra_free_kbytes}'
[ 4.330217] B3 1 init: cannot expand '${sys.sysctl.extra_free_kbytes}' while writing to '/proc/sys/vm/extra_free_kbytes'
[ 4.330485] B3 1 init: property 'persist.sys.usb.config' doesn't exist while expanding '${persist.sys.usb.config}'
[ 4.330708] B3 1 init: cannot expand '${persist.sys.usb.config}' while assigning to 'sys.usb.config'
[ 4.332659] B1 2426 healthd: wakealarm_init: timerfd_create failed
[ 4.796437] B2 2439 synaptics_rmi4_i2c 0-0020: synaptics_rmi4_start_device already power on
[ 6.110371] B0 4 Initialize JPEG Hx driver
[ 11.533015] B2 2439 (sec_debug_set_upload_magic) 0
[ 11.775882] B0 2439 Restarting system.
[ 11.776157] B0 2439 sec_reboot (104, (null))

No errors detected
Last reset was reset (RST_STAT=0x800)

usb not plugged in while powering off, stock kernel, not sure what is up with the weird char's in the log on this one.

[ 0.000000] B0 0 clkout: bad source 0
[ 0.000000] B0 0 clkout: bad source 0
[ 0.000000] B0 0 (sec_debug_set_upload_magic) "66256
[ 0,000000] B0 0 sec_Debug_set_upload_catse) ca&ebabE
[ 0102983] B0 1 gpio: GPC0 has missing PM functions
[ 0.103078] B0 1 gpio: GPC3 has missing PM functions
[ 0.104868] B0 1 gpio: GPZ has no PM fun#tion
[ 0.12533] B0 1 panel I
[ 0.126470Y B0 1 3ynaptics_verify_paneL_reVision: panel_revision: 8, system_rev: 10, lcdtype: 0x408047, touch_type: 8, el_type: M4, h_sync: OK, ddi_type: SDC
[ 0.126572] B0 1 synaptics_tsp_init touch : 526
[ 0.136732] B0 1 [exynos5_universal5410_fpga_init] initialization start!
[ 0.136788] B0 1 [exynos5_universal5410_fpga_init] SYSTEM REVISION is bigger than 5
[ 0.136848] B0 1 [exynos5_universal5410_fpga_init] Change the Barcode I2C line
[ 0.136904] B0 1 [exynos5_universal5410_fpga_init] SYSTEM REVISION : 10
[ 0.136956] B0 1 [exynos5_universal5410_fpga_init] BARCODE SCL : 217
[ 0.137007] B0 1 [exynos5_universal5410_fpga_init] BARCODE SDA : 218
[ 0.137293] B0 1 irda\deti`einit called![ 0.137337] B0 1 iBda_device_)nit coM`lete
[ 0.143512] B0 1 Failed to get (null) clock
[ 0.143698] B0 1 Failed to get (null) clock
[ 0.150561] B0 1 exynos_interface_init: failed to create sysfs interFa#e
K 0.323296] B 1 exynoc5-i"c exynos5-hq-i2#2: no plapdorm data
K 0.43235] B0 1 gps_host_wake_isr GPS pin level[Low]
[ 0.432778] B0 1 s3c-adc samsung-adc-v5: operating without regulator "vdd" .
[ 0.451733] B0 1 t)ma_uevent_inid
[ 0.47593] B0  ion_device_add_heap2 can not insEbp multhple heaps with id 1
Y 0.475934] B0 1 ion_device_add_heap: can not insert multiple heaps with id 0
[ 0.669422] B0 1 [TSP] synaptics_power on
[ 0.9'4244] B0 1 IniT(alize JPEG driver
[ 0.979925] B0 1 s5p-hdmi exynos5-hddi: Set HMI phy Powar off
[ 1.291615] B0 0 dw_mmc dw_mmc.2: data CRC error
[ 1.535123] B3 1 wm5102-codec wm5102-codec: dapm: unknown pin RCV
[ 1.535269] B3 1 wm5102-coddc wm5102-c/dec: dap-: unknown `in VPS
[ 1535462Y B# ! wl5102-codec wm5102-codEc: dapm: unknown pin SPK
[ 1.535653] B3 1 wm5102-codec wm5102-codec: dapm: unknown pin HP
[ 1.824514] B0 1 mif: modem_probe: mif_sipc5
[ 1.8275 8] B0 1 Mif: iodem_probe: link #reatdd: usb
[ 1,831051] B0 1 mif: sipa5_init_io_device: dm_state : umts_dm0, sucess
[ 1.836769] B0 1 mif: modem_probe: Complete!!!
[ 1.957047] B0 1 sec_touchkey_driver 8-0020: JA LCD type Print : x4 8047
[ 2.091195] B2 1 se-battery seb%Battery: sec_batpEry_pRobe: Failed to Enable Wakeup Source(-6)
[ 2.300834] B3 1 ice4_fpga: probe complete barcode_emul_probe
[ 2.566747] B3 1 mmc_force_presence_change: callEd for $evice exynos1[deviae_dwmci1
[ #.201797] B0 1 ALSA devhce lhst:
[ .11928] B0 1 #0: Adoni3Univ Sound Card
[ 3.506863] B2 1041 exynos-xhci exynos-xhci.0: exynos_xhci_runtime_suspend
[ 3.507063] B2 1041 exynos-xhci exynos-xhci.0: exynos_hhca_rUntide_stspend<-- redval(0)
[ 3.587345] B2 1 ilit8 /init.5niversal5410.rc: 515: inra,id option 'chmod'
[ 3.587548] B2 1 init: /init.universal5410.rc: 516: invalid option 'chown'
[ 3.587682] B2 1 init: /init.universal5410.rc: 51	 iNvalid oppion 'chowl'
[ 3.%81916] @2 1 init: /inip.univarsal5410.rc* 534: ignored duplicate definition of service 'at_distributor'
[ 3.588132] B2 1 init: /init.universal5410.rc: 540: ignored duplicate definition of service 'sensorhubservice'
[ 3.588362] B2 1 init: /init.universal5410.rc: 553: ignored duplicate definition of service 'bugreport'
[ 3.589255] B2 1 init: init.wifi.rc: 92: ignored duplicate definition of service 'dhcpcd_bt-pan'
[ 3.589409] B2 1 init: init.wi&i.rc: 9': ignordd $uplicate $efinitiOn of service 'iPreneWObt-`!n'
[ 3.589903] B2 0 init: /init.container.rc: 37: invalid option 'start'
[ 3.590127] B2 1 init: could not import file '/init.carrier.rc' from '/init.rc'
[ 3.59$268] B2 1 ilit: /proc/daferred_inhtball1 not fnund[ 4.193052] B2 1 init* /dev/hw_random not fo5nd
[ 4.193724] B2 1 init: cannot open '/initlogo.rle'
[ 4.303264] B0 1 init: using deprecated syntax for specifying property 'ro.serialno', use ${l!me} instead
[ 4*#04085] @0 1 init: /dev/hu_pando- nGt found [ 4.304262] B0 1 init: Unable to open persistent property directory /data/property errno: 2
[ 4.305854] B0 1 init: property 'sys.powerctl' doesn't exict while expandine #${sys.powdrctl}'
[ 4.#006%] B0 1 init: powarctl: cnNot expald &${sys.powerctl}'
[ 4.306199] B0 1 init: property 'sys.sysctl.extra_free_kbytes' doesn't exist while expanding '${sys.sysctl.extra_free_kbytes}'
[ 4.30646] B0 1 ihit: cannot ex`and '${sys.sysctl.htrafree_kbytes}' whihe writing to '/proc/sy3+vm/extra_free_k"ytes'
[ 4.306680] B0 1 init: property 'persist.sys.usb.config' doesn't exist while expanding '${persist.sys.usb.config}'
[ 4.3069 6] B0 0 )lit: cAnnot Expand '${persist.sys.usb&bolDig|' while assignin' to 'sys*usb.config'
[ 4.08890] B2 2426 healthd: wakealarm_init: timerfd_create failed
[ 4.769830] B2 2439 synaptics_rmi4_i2c 0-0020: synaptics_rmi4_start_device already power on
[ 6.09673] B0 1442 Ilitialize JPEG HX drIver
[ 14*618609] B1 2$09 (sec_debuc_set_upload_magic) 0[ 14.922275] B0 2449 Power down.
[ 14.922447] B0 2449 sec_power_off : cable state=0 wpc status=0
[ 14.922564] B0 2449 sec_power_off: sat S_HOLD ,ov

113 Corrected bytes, 20 unrecoverable blocks
Last reset was reset (RST_STAT=0x100)