[Galaxy S 4 Developer Discussion [Developers-Only]] sorg:
This is my last_kmsg log:

<6>[ 7413.490859] mdss_dsi_panel_off --
<6>[ 7413.532193] mdss_mdp_ctl_stop: ..lm..ctl->play_cnt=0,ret=0
<3>[ 7413.532516] samsung_dsi_panel_event_handler : unknown event
<6>[ 7413.532605] mdss_mdp_overlay_off: mdss_mdp_overlay_off -
<6>[ 7413.535159] max77803-muic max77803-muic: func:max77803_muic_shutdown
<6>[ 7413.535254] max77803-muic max77803-muic: max77803_muic_shutdown: JIGSet: auto detection
<6>[ 7413.539671] max77803_charger_shutdown: MAX77803 Charger driver shutdown
<6>[ 7413.541851] func:max77803_charger_shutdown
<6>[ 7413.542630] [SSP]: ssp_shutdown
<6>[ 7413.542691] ssp_enable, enable = 0, old enable = 0
<6>[ 7413.953367] ssp_sensorhub_thread: kthread_stop()
<3>[ 7414.119770] qup_i2c f9968000.i2c: QUP: I2C status flags :0xc1300c8, irq:138
<3>[ 7414.129574] qup_i2c f9968000.i2c: I2C slave addr:0x26 not connected
<6>[ 7414.129758] [SSP]: toggle_mcu_reset - ssp_Normal Mode
<0>[ 7414.184921] Restarting system.
<5>[ 7414.185045] msm_restart: Going down for restart now
<5>[ 7414.185257] Going down for restart now
<5>[ 7414.186067] msm_restart_prepare: clear reset flag
{179065} sbl1_ddr_init:: ret[0xfffd]
{180834} sbl1_ddr_zi_init:: ret[0xfffe]
{180865} pm_driver_init, Start
{200385} pm_driver_init, warm_reset
{200812} pm_driver_init, Delta
{200812} clock_init, Start
{200995} clock_init, Delta
{201025} boot_fota_restore_partition, Start
{201483} boot_fota_restore_partition, Delta
{284199} Tz Execution, Start
{400251} Tz Execution, Delta
{400282} boot_fota_restore_partition, Start
{400312} boot_fota_restore_partition, Delta
{408364} RPM loading is successful.
{453291} Signal PBL to Jump to RPM FW
{453626} sbl1_wait_for_ddr_training, Start
{497241} sbl1_wait_for_ddr_training, Delta
{497821} sbl1_ddr_zi_init:: ret[0xfffe]
{499041} WDT loading start!
{499437} WDT loading success!
{505415} Image Loaded by SBL1, Start on 0xfe800000
{505446} WDT Execution, Start
{505690} WDT Execution, Delta
{719708} Image Loaded by SBL1, Start on 0xf800000
{719739} sbl1_efs_handle_cookies, Start
{719800} sbl1_efs_handle_cookies, End
{725930} SBL1, End
[0] welcome to lk

[10] platform_init()
[10] target_init()
[10] HW REV13 : (1, 1, 0, 1)
[10] cancel power key check in case of reboot with 0x12345678
[20] Power on reason 131200
[20] PON_READ 0x807 : 18
[20] PON_READ 0x808 : 80
[20] PON_READ 0x80A : 2
[30] PON_READ 0x80B : 0
[30] PON_READ 0x80C : 2
[30] PON_READ 0x80D : 0
[30] PON_READ 0x80E : 0
[30] PON_READ 0x80F : 0
[40] Power on status : 0x20080 (Unknown Power On)
[40] Display Init: Start
[40] display_init(),target_id=1.
[50] mipi_samsung_tft_video_oled_hd_init: Initialising for fHD panel
[50] first_qcom_dload_magic=0x0,second_qcom_dload_magic=0x0
[60] Setting LDO22
[60] Setting LDO12
[70] Setting LDO2
[90] lcd : display bg screen
[90] Config MIPI_VIDEO_PANEL.
[100] Panel Reset
[110] Panel Reset Done
[120] id1 : 0x40 id2 : 0x80 id3 : 0x47
[250] Turn on MIPI_VIDEO_PANEL.
[270] Video lane tested successfully
[270] Display Init: Done
[320] aboot_init()
[320] Power on reason 131200
[320] PON_READ 0x807 : 18
[320] PON_READ 0x808 : 80
[330] PON_READ 0x80A : 2
[330] PON_READ 0x80B : 0
[330] PON_READ 0x80C : 2
[330] PON_READ 0x80D : 0
[340] PON_READ 0x80E : 0
[340] PON_READ 0x80F : 0
[340] [MUIC] init_microusb_ic: CONTROL1:0x00
[350] [MUIC] init_microusb_ic: CONTROL1:0x00
[350] [MUIC] init_microusb_ic: CONTROL2:0x3b
[350] [MUIC] init_microusb_ic: CONTROL2:0x3b
[360] [MUIC] microusb_get_attached_device: STATUS1:0x3f, 2:0x00
[360] [MUIC] microusb_get_attached_device: chgtyp+adc: 0x1f
[370] [MUIC] microusb_get_attached_device: STATUS1:0x3f, 2:0x00
[370] [MUIC] microusb_get_attached_device: chgtyp+adc: 0x1f
[380] [MUIC] microusb_get_attached_device: STATUS1:0x3f, 2:0x00
[390] [MUIC] microusb_get_attached_device: chgtyp+adc: 0x1f
[390] get_wireless_charger_detect : WCIN_OK 0x00)
[390] get_wireless_charger_detect : CHG_DTLS(0x00)
[400] aboot_dev_charging_init : cable_status(0), cable_type(0)
[400] get_battery_detect : MAX77803_DETBAT (0x1d)
[410] aboot_dev_charging_init, [battery] batt_id_value (0)
[460] set_charger_state: buck(1), chg(0), reg(0x04)
[470] [battery] external charger init
[470] [MUIC] microusb_get_attached_device: STATUS1:0x3f, 2:0x00
[480] [MUIC] microusb_get_attached_device: chgtyp+adc: 0x1f
[480] get_wireless_charger_detect : WCIN_OK 0x00)
[490] get_wireless_charger_detect : CHG_DTLS(0x00)
[490] set_fast_charging_current_data : fast charging current 0mA(0x00)
[500] set_charging_current_limit_data : input current limit: reg = c0, 460mA(0x17)
[fuelgauge] init_fuel_gauge: battery type = 1
[510] [MUIC] microusb_get_attached_device: STATUS1:0x3f, 2:0x00
[520] [MUIC] microusb_get_attached_device: chgtyp+adc: 0x1f
[520] get_wireless_charger_detect : WCIN_OK 0x00)
[530] get_wireless_charger_detect : CHG_DTLS(0x00)
[530] [fuelgauge] apply 4.35V battery
[530] fuelguage : OriginalRCOMP = 0x6b, OriginalAlert = 0x1e
[540] fuelguage : OCV_DATA = 0xd7b6
[550] fuelguage : re-write RCOMPseg data
[750] fuelguage : SOC_DATA1 = 0xe8, SOC_DATA2 = 0x88
[760] fuelguage : model was loaded successful
[760] fuelguage : RCOMP(0x7b) is applied
[770] fuelguage : OCV_DATA = 0xd7b6
[970] [MUIC] microusb_get_attached_device: STATUS1:0x3f, 2:0x00
[980] [MUIC] microusb_get_attached_device: chgtyp+adc: 0x1f
[980] get_wireless_charger_detect : WCIN_OK 0x00)
[990] get_wireless_charger_detect : CHG_DTLS(0x00)
[990] [fuelgauge] Discharging table soc
[990] 9980 = ( 418300 - 302521 ) *100 / 1160
[1000] soc(101), table_soc(99), vcell(418300)
[fuelgauge] init_fuel_gauge: fg_reset_soc = 0
[fuelgauge] init_fuel_gauge: vcell=4233, soc=101, ocv=4313
[1010] vibrator started
[1010] [tspdrv]nForce===7
[1020]
VIBRATOR is ENABLED :::
[1020] immvibespi amp enable
[1220] vibrator stopped
[1220]
VIBRATOR is DISABLED :::
[1230] immvibespi amp disable
[1230] [MUIC] microusb_get_attached_device: STATUS1:0x3f, 2:0x00
[1240] [MUIC] microusb_get_attached_device: chgtyp+adc: 0x1f
[1240] get_wireless_charger_detect : WCIN_OK 0x00)
[1250] get_wireless_charger_detect : CHG_DTLS(0x00)
[1250] [MUIC] microusb_get_attached_device: STATUS1:0x3f, 2:0x00
[1260] [MUIC] microusb_get_attached_device: chgtyp+adc: 0x1f
[1260] low_power(rb=1, jig=0, ct=0, vcell=4221)
[1260] skip check low power
[1270] check_boot_mode = key Down[0], Up[0]
[1270] check_ramdump_mode :: k_param.debuglevel[0x574f4c44]::k_param.cp_debuglevel[0x0]
[1280] Do checksum V2
[1280] Not Need Movinand Checksum
[1280] [MUIC] microusb_get_attached_device: STATUS1:0x3f, 2:0x00
[1290] [MUIC] microusb_get_attached_device: chgtyp+adc: 0x1f
[1300] get_wireless_charger_detect : WCIN_OK 0x00)
[1300] get_wireless_charger_detect : CHG_DTLS(0x00)
[1300] is_reboot_case =1
[1310] cable_status = 0
[1310] enter normal booting mode
AST_POWERON
[1540] [MUIC] microusb_get_attached_device: STATUS1:0x3f, 2:0x00
[1540] [MUIC] microusb_get_attached_device: chgtyp+adc: 0x1f
[1550] get_wireless_charger_detect : WCIN_OK 0x00)
[1550] get_wireless_charger_detect : CHG_DTLS(0x00)
[1560] [MUIC] microusb_get_attached_device: STATUS1:0x3f, 2:0x00
[1560] [MUIC] microusb_get_attached_device: chgtyp+adc: 0x1f
[1570] rb=1 jig=0
[1570] v=4231 soc=101
[1570] skip check low battery
[1570] reboot_mode = 0x12345678, boot_mode = 0, por = 0x20080
[1580] Loading boot image (9365504): start
[2130] Loading boot image (9365504): done
[2760] Platform_id : 126
[2760] Hardware_id : 1
[2760] model_info 7e015201, dt_model_info 7e015201, dt_board_rev 0
[2770] update device tree : 7e015201,r00
[2770] model_info 7e015201, dt_model_info 7e015201, dt_board_rev 1
[2780] update device tree : 7e015201,r01
[2780] model_info 7e015201, dt_model_info 7e015201, dt_board_rev 2
[2780] update device tree : 7e015201,r02
[2790] model_info 7e015201, dt_model_info 7e015201, dt_board_rev 3
[2790] update device tree : 7e015201,r03
[2800] model_info 7e015201, dt_model_info 7e015201, dt_board_rev 4
[2800] update device tree : 7e015201,r04
[2810] model_info 7e015201, dt_model_info 7e015201, dt_board_rev 5
[2810] update device tree : 7e015201,r05
[2820] model_info 7e015201, dt_model_info 7e015201, dt_board_rev 6
[2820] update device tree : 7e015201,r06
[2830] model_info 7e015201, dt_model_info 7e015201, dt_board_rev 7
[2830] update device tree : 7e015201,r07
[2840] model_info 7e015201, dt_model_info 7e015201, dt_board_rev 11
[2840] update device tree : 7e015201,r11
[2860] boot image size(10864896)
[2860] cmdline = 'console=null androidboot.hardware=qcom user_debug=31 maxcpus=2 msm_rtb.filter=0x3F'
[2870] lcd_attached=1
[2870] init_ddi_data: usable ddi data.
[2880]
Booting Linux
[2880] cmdline: console=null androidboot.hardware=qcom user_debug=31 maxcpus=2 msm_rtb.filter=0x3F cont_splash=1 sec_log=0x100000@0x10000008 sec_dbg=0x80000@0x10100008 sec_debug.reset_reason=0x8 lcd_attached=1 lcd_id=0x408047 androidboot.debug_level=0x4f4c sec_d[2900] Updating device tree: start
[2920] Updating device tree: done
[2920] booting linux @ 0x8000, ramdisk @ 0x2000000 (2567426), tags/device tree @ 0x1e00000
[2930] Turn off MIPI_VIDEO_PANEL.
[2930] Continuous splash enabled, keeping panel alive.
[2930] Booting Linux

I've copied together with "tail" of log before reboot.

Last line is "[2930] Booting Linux". The next line is in newly created kmsg.