[HOW-TO] UART boot log without UART

Search This thread

Surge1223

Recognized Contributor
Nov 6, 2012
2,622
7,466
Florida
Google Pixel 6 Pro
Here is a method to get a boot log that you would normally need other means (UART, JTAG etc.) to get. It tells you exactly how the device boots up and the information it displays varies depending on if you have just flashed a partition with Odin, flashed a zip in recovery, normally booted, booted into recovery etc. Its a good way to not only get diagnostic information but also specific boot information and partition locations. Also this gives you information about what happens prior to aboot (lk), mine for example tells me how sbl2 loads RPM and SBL3 etc and gives their addresses in memory.

-Obviously you must be rooted and have busybox installed (correctly) before continuing. Download the app "Busybox on rails" from the playstore if you're not sure if busybox is installed correctly and it will take care of it for you

1. Open /efs/carrier/HiddenMenu and make sure it says ON
2. Dial *#9900# and select "Enable SecLog" hit OK and exit
3. Download viewmem here, extract it from the zip and adb push it to /data/local/tmp or copy and paste/move it to /data/local/tmp

Using Adb

adb push /path-to-extracted-viewmem /data/local/tmp

Using Terminal Emulator

mv /path-to-extracted-viewmem /data/local/tmp

After viewmem is moved/pasted/pushed to /data/local/tmp then:

Using either Terminal emulator or adb shell:

shell@jfltevzw:/ $ su
root@jfltevzw:/ # cd /data/local/tmp
root@jfltevzw:/data/local/tmp # chmod 755 viewmem
root@jfltevzw:/data/local/tmp # ./viewmem 0xffe00008 0x100000 >/sdcard/seclog.txt
root@jfltevzw:/data/local/tmp # cd /sdcard
root@jfltevzw:/sdcard # cat seclog.txt

4. Then you can copy/transfer to your pc and open it with a text editor (notepad ++ or something that can open most formats)


I've attached what my output looks like View attachment log.txt but I edited out my CID for obvious reasons. This should work on the I545, I337 and I9505.
 
Last edited:

broodplank1337

Inactive Recognized Developer
Nov 24, 2011
4,992
10,155
Nijmegen
www.broodplank.net
Hmm this looks very nice and wanted to try it. but I got carriermenu on "ON" but when I dial the code I get "Connectionproblem or invalid MMI code", is this perhaps carrier dependent?

I guess I have to change the cmdline (sec_debug.enable=0 sec_debug.enable_user=0) both to 1
 

Surge1223

Recognized Contributor
Nov 6, 2012
2,622
7,466
Florida
Google Pixel 6 Pro
Hmm this looks very nice and wanted to try it. but I got carriermenu on "ON" but when I dial the code I get "Connectionproblem or invalid MMI code", is this perhaps carrier dependent?

I guess I have to change the cmdline (sec_debug.enable=0 sec_debug.enable_user=0) both to 1

actually you dont have to change sec_debug.enable or sec_debug.enable_user at all, I dont think enabling seclog in the Sysdump menu is even required I just added it for completeness. Plus the only way to change the cmdline is to bind it to a copy of an edited cmdline (as outlined here) Also can you send me a copy of your aboot? Within its strings it should have the number to dial to enable seclog etc. You should try to grab the log without enabling seclog (I didn't enable it the first time I grabbed the log either) and see if it works.

Edit: actually I guess you could try enabling sec_debug.enable and sec_debug.enable_user using the method in the link I referred to.
 
Last edited:

broodplank1337

Inactive Recognized Developer
Nov 24, 2011
4,992
10,155
Nijmegen
www.broodplank.net
actually you dont have to change sec_debug.enable or sec_debug.enable_user at all, I dont think enabling seclog in the Sysdump menu is even required I just added it for completeness. Plus the only way to change the cmdline is to bind it to a copy of an edited cmdline (as outlined here) Also can you send me a copy of your aboot? Within its strings it should have the number to dial to enable seclog etc. You should try to grab the log without enabling seclog (I didn't enable it the first time I grabbed the log either) and see if it works.

Edit: actually I guess you could try enabling sec_debug.enable and sec_debug.enable_user using the method in the link I referred to.

Oh ok. thanks for the link!
I already searched it through myself.

Code:
broodplank@Bulldozer ~/bin $ strings aboot.mbn  | grep '*#'
!+"*#
Step3 -> *#9900#  -> copy to sdcard (include CP ramdump) -> dumps for cp(mdm)
QE*#J
[code]

its *#9900# like yours but it still doesn't work :(

I will test the link later this day :p
 

sorg

Senior Member
Sep 5, 2006
1,059
1,136
台灣
Isn't it just kmsg?
With last_kmsg enabled custom kernel, you can access to very first kmsg message. It will be at the end of /proc/last_kmsg log.
 

Fenny

Inactive Recognized Developer
Jun 28, 2007
1,386
2,073
F(x)tec Pro1-X
Google Pixel 6 Pro
Isn't it just kmsg?
With last_kmsg enabled custom kernel, you can access to very first kmsg message. It will be at the end of /proc/last_kmsg log.

I'm pretty sure we don't get to see the bootloader (SBL, aboot, etc...) data in kmsg. Kernel messages start a bit after that log. This is useful information, but requires that your phone actually gets to a somewhat booted state. Sadly, it's not quite a complete replacement for UART.

actually you dont have to change sec_debug.enable or sec_debug.enable_user at all, I dont think enabling seclog in the Sysdump menu is even required I just added it for completeness. Plus the only way to change the cmdline is to bind it to a copy of an edited cmdline (as outlined here) Also can you send me a copy of your aboot? Within its strings it should have the number to dial to enable seclog etc. You should try to grab the log without enabling seclog (I didn't enable it the first time I grabbed the log either) and see if it works.

Edit: actually I guess you could try enabling sec_debug.enable and sec_debug.enable_user using the method in the link I referred to.

Just an FYI, assuming you can boot a custom kernel, then you CAN modify the boot_command_line as I did in this commit:

https://github.com/FennyFatal/SGS4-M919-FennyKernel/commit/daaf3dc736d69f893e4aa9858fe786fe53c4f5d6
 
Last edited:
  • Like
Reactions: Surge1223

sorg

Senior Member
Sep 5, 2006
1,059
1,136
台灣
This is my last_kmsg log:

Code:
<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.
 

Surge1223

Recognized Contributor
Nov 6, 2012
2,622
7,466
Florida
Google Pixel 6 Pro
This is my last_kmsg log:

Code:

I've copied together with "tail" of log before reboot.
Last line is "[2930] Booting Linux". The next line is in newly created kmsg.

Sorry I guess I forgot the only VZW and AT&T were locked down. I mainly use this to debug kexec and a few other things. The logs are kinda similar but there are differences. Are you using a note 3?

Code:
[  105.244964] mdm_power_down_commol: MDM2AP_STATUS went low successfully.
[  105.245361] KEXEC: machine_shutdowN
[  105.045941] MKEXEC: found gic_paise_soFtirq: c002c590
[  105.246063] MKEXEC: waiting fob CPUs ...(100000)
[  105.246154] KEXEC: machine_kexec
[  105.246215] MKEXEC: va: dcDcc000
[  105.246337] MKEXEC: pa* 9e3cc000
[  105.246398] MCEXEC: kexec_start_address: 80208000
[  105.246451] MKEXEC: kexec_indirection_page: 9d918000
[  105.246582] MKEXEC: kexec_mach_type: 00000f6d
[  105.246673] MKEXEC: kexec_boot_atags: 80200000
[  105.246734] MKEXEC: copy relocate code: addr=0xdcdcc000, len==164
[  105.246856] MKEXEC: flush_icache_range
[  105.246917] MKEXEC: kexec_reinit
[  105.247039] MKEXEC: soft_restart
[  105.247100] MKEXEC: outer_flush_all
[  105.247161] MKEXEC: outer_disable
[  105.247283] MKEXEC: kexec_identity_mapping_add (TASK_SIZE=0xbf000000, PAGE_OFFSET=0xc0000000
[  105.247528] MKEXEC: end mappings end==0xbf000000
[  105.247650] MKEXEC: end mappings end==0xc0000000
[  15.247711] MKEXEC: kexec_setup_mm_for_reboot
[  105.248046] MKEXEC: kexec_call_with_stack (kexec_call_with_stack=0xbf004598, __soft_reset=0xbf00400c, addr=0x9e3cc000, stack=0xbf004df8)
[  118.224609] Alignment trap: not handling instruction e192cf9f at []
[  118.226745] Unhandled fault: alignment exception (0x001) at 0x696f569b
[  118.230499] [0:NTERNAL_BT_SCO_TX_Voip:1280507973] Intebnal error: : 1 [#1\ PREEMPT SMP ARM
{984082} sbl2_ddr_init
{984235} sbl2_hw_init_secondary, Delta
{987071} no backup trustzone memory!
{1081469} Image Loaded by SBL2, Start on 0x2a000000
{1081804} Tz Execution, Start
{1111816} Tz Execution, Delta
{1112365} RPM loading is successful.
{1188341} Image Loaded by SBL2, Start on 0x20000
{1274625} Image Loaded by SBL2, Start on 0x8ff00000
{1274656} SBL2, End
{1276669} Signal SBL1 to Jump to RPM FW
{1489040} sbl3_main_ctl
{1277248} SBL3, Start
{1277431} ram_init, Start
{1277645} ram_init, Delta
{1278041} sbl3_hw_init, Start
{1278163} sbl3_hw_init, Delta
{1278285} boot_flash_init, Start
{1305461} boot_flash_init, Delta
{1305583} boot_smem_init, Start
{1306071} boot_smem_init, Delta
{1306193} sbl3_hw_init_secondary, Start
{1407422} sbl3_hw_init_secondary, Delta
{2080527} Image Loaded by SBL3, Start on 0x88e00000
{2080740} sbl3_efs_handle_cookies, Start
{2081625} sbl3_efs_handle_cookies, End
{2081747} sbl3_wait_rpm_boot, Start
{2081899} sbl3_wait_rpm_boot, Delta
{2082021} sbl3_rollback_version_update, Start
{2082845} sbl3_rollback_version_update, End
{2090775} SBL3, End
[0] welcome to lk

[10] platform_init()
[10] target_init()
[10] HW REV FLAG : 0
[10] HW REV11 : (1, 0, 1, 1)
[20] cancel power key check in case of reboot with 0x8ea5ea44
[20] Power on reason 8
[20] Power on status : 0x8 (SMPL)
[50] magna_octa_full_hd_panel_power on completed
[50] display_init() ldi_chip : LDI_LSI
[50] PARAM : param partition table doesn't exist
[60] display_init : MID (MIPI_FB_ADDR(0x87e00000))
[60] display_init(),target_id=3949.
[70] samsung_octa_full_hd_panel_power on completed
[80] Config MIPI_VIDEO_PANEL.
[80] changing DSI regs
[110] lcd : panel_reset completed enable
[110] id1 : 0x40 id2 : 0x80 id3 : 0x47
[240] Turn on MIPI_VIDEO_PANEL.
[280] [CID] : xxxxxxx*snip
[330] init_microusb_ic: MUIC: CONTROL1:0x00
[340] init_microusb_ic: MUIC: CONTROL1:0x00
[340] init_microusb_ic: MUIC: CONTROL2:0x3b
[350] init_microusb_ic: MUIC: CONTROL2:0x3b
[350] microusb_get_attached_device: STATUS1:0x3f, 2:0x00
[350] aboot_early_charging_init
[410] set_charger_state: buck(1), chg(0), reg(0x04)
[410] set_charging_current_limit_data : input current limit: reg = c0, 460mA(0x17)
[420] get_battery_detect : MAX77693_DETBAT (0x1d)
[430] microusb_get_attached_device: STATUS1:0x3f, 2:0x00
[430] get_wireless_charger_detect : WCIN_OK 0x00)
[440] get_wireless_charger_detect : CHG_DTLS(0x00)
[440] aboot_early_charging_init, [battery] batt_id_value (0), cable_type(0)
[450] set_fast_charging_current_data : fast charging current 460mA(0x0e)
[510] set_charger_state: buck(1), chg(1), reg(0x05)
[510] [tspdrv]nForce===7
[510]
VIBRATOR is ENABLED :::
[520]  immvibespi amp enable
[520] vibrator started
[720] vibrator stopped[720]
 VIBRATOR is DISABLED :::
[720]  immvibespi amp disable
[720] Power on reason 8
[720] microusb_get_attached_device: STATUS1:0x3f, 2:0x00
[730] microusb_get_attached_device: STATUS1:0x3f, 2:0x00
[740] get_wireless_charger_detect : WCIN_OK 0x00)
[740] get_wireless_charger_detect : CHG_DTLS(0x00)
[740] aboot_dev_charging_init : cable_status(0), cable_type(0)
[760] get_battery_detect : MAX77693_DETBAT (0x1d)
[760] [battery] batt_id_value (0)
[760] Vref_batt_therm disable
[760] [battery] external charger init
[770] microusb_get_attached_device: STATUS1:0x3f, 2:0x00
[770] get_wireless_charger_detect : WCIN_OK 0x00)
[780] get_wireless_charger_detect : CHG_DTLS(0x00)
[780] set_fast_charging_current_data : fast charging current 0mA(0x00)
[790] set_charging_current_limit_data : input current limit: reg = c0, 460mA(0x17)
[850] set_charger_state: buck(1), chg(0), reg(0x04)
[900] [fuelgauge] battery type : 1
[900] microusb_get_attached_device: STATUS1:0x3f, 2:0x00
[910] get_wireless_charger_detect : WCIN_OK 0x00)
[910] get_wireless_charger_detect : CHG_DTLS(0x00)
[920] [fuelgauge] apply 4.35V battery
[920] fuelguage : OriginalRCOMP = 0x97, OriginalAlert = 0x1c[930] fuelguage : OCV_DATA = 0xbd7f
[940] fuelguage : re-write RCOMPseg data
[1140] fuelguage : SOC_DATA1 = 0xe9, SOC_DATA2 = 0x50
[1150] fuelguage : model was loaded successful
[1150] fuelguage : RCOMP(0x73) is applied
[1160] fuelguage : OCV_DATA = 0xbd7f
[1360] [max17048] hibrt, vart, vreset setting
[1370] microusb_get_attached_device: STATUS1:0x3f, 2:0x00
[1370] get_wireless_charger_detect : WCIN_OK 0x00)
[1380] get_wireless_charger_detect : CHG_DTLS(0x00)
[1380] [fuelgauge] Discharging table soc
[1390] 5337 = ( 374300 - 347771 ) *100 / 497
[1390] soc(37), table_soc(53), vcell(374300)
[1390] [fuelgauge] fg_reset_soc (0)
[1460] [config] : 90145638
[1460] [config_value] : 00000057
[1460] check_boot_mode = key Down[0], Up[0]
[1470] check_ramdump_mode :: k_param.debuglevel[0x47494844] [1470] Do checksum V2
[1470] Not Need Movinand Checksum
[1480] microusb_get_attached_device: STATUS1:0x3f, 2:0x00
[1480] get_wireless_charger_detect : WCIN_OK 0x00)
[1490] get_wireless_charger_detect : CHG_DTLS(0x00)
[1490] is_reboot_case =0
[1490] cable_status = 0
[1500] get_battery_detect : MAX77693_DETBAT (0x1d)
[1510] enter normal booting mode
[1510] AST_POWERON
[1510] init_ddi_data: usable ddi data.
[4790] microusb_get_attached_device: STATUS1:0x3f, 2:0x00
[4790] get_wireless_charger_detect : WCIN_OK 0x00)
[4800] get_wireless_charger_detect : CHG_DTLS(0x00)
[4800] microusb_get_attached_device: STATUS1:0x3f, 2:0x00
[4810] rb=0 jig=0
[4810] v=3742 soc=37
[4810] reboot_mode = 0x8ea5ea44, boot_mode = 0, por = 0x8
[4820] kernel_addr: 0x80208000
[4820] RAMDISK ADDRESS: 0x82200000
[4820] second_addr: 0x81100000
[4820] tags_addr: 0x80200100
[5080] SECURE magic check passed...
[5080] SEAndroid magic check passed...
[7100] [TIMA trusted boot]: Boot-time measurement successful[7100]
kernel  @ 80208000 (7249232 bytes)
[7100] ramdisk @ 82200000 (1154638 bytes)
[7110] lcd_attached=1
[7110] Power on reason 8
[7110] booting linux @ 0x80208000, ramdisk @ 0x82200000 (1154638)
[7120] cmdline: console=null androidboot.hardware=qcom user_debug=31 msm_rtb.filter=0x3F ehci-hcd.park=3 sec_log=0x100000@0xffe00008 sec_dbg=0x80000@0xfff00008 sec_debug.reset_reason=0x1a2b3c00 lcd_attached=1 lcd_id=0x408047 androidboot.debug_level=0x4948 sec_de[7140] booting linux @ 0x80208000, ramdisk @ 0x82200000 (1154638)
[7140] cmdline: console=null androidboot.hardware=qcom user_debug=31 msm_rtb.filter=0x3F ehci-hcd.park=3 sec_log=0x100000@0xffe00008 sec_dbg=0x80000@0xfff00008 sec_debug.reset_reason=0x1a2b3c00 lcd_attached=1 lcd_id=0x408047 androidboot.debug_level=0x4948 sec_de[7140] Booting Linux
[    0.000000] Booting Linux on physical CPU 0
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 3.4.0-1937946 (se.infra@R0303-08) (gcc version 4.7 (GCC) ) #1 SMP PREEMPT Wed Nov 20 14:17:37 KST 2013
[    0.000000] CPU: ARMv7 Processor [511f06f0] revision 0 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[    0.000000] Machine: SAMSUNG JF
[    0.000000] memory pool 3 (start fe100000 size 1d00000) initialized
[    0.000000] Initialized persistent memory from 8fd00000-8fdfffff
[    0.000000] Memory policy: ECC disabled, Data cache writealloc
[    0.000000] socinfo_init: v7, id=153, ver=2.0, raw_id=1819, raw_ver=1819, hw_plat=8, hw_plat_ver=65536
[    0.000000]  accessory_chip=0, hw_plat_subtype=1, pmic_model=25, pmic_die_revision=1
[    0.000000] sec_getlog_supply_meminfo: 40000000 80000000 0 0
[    0.000000] On node 0 totalpages: 478976
[    0.000000]   Normal zone: 1156 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 118908 pages, LIFO batch:31[    0.000000]   HighMem zone: 2932 pages used for memmap[    0.000000]   HighMem zone: 355980 pages, LIFO batch:31
[    0.000000] allocating 16908288 bytes at c311a000 (8331a000 physical) for fb
[    0.000000] PERCPU: Embedded 9 pages/cpu @c413d000 s15744 r8192 d12928 u36864
[    0.000000] pcpu-alloc: s15744 r8192 d12928 u36864 alloc=9*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 474888
[    0.000000] Kernel command line: console=null androidboot.hardware=qcom user_debug=31 msm_rtb.filter=0x3F ehci-hcd.park=3 sec_log=0x100000@0xffe00008 sec_dbg=0x80000@0xfff00008 sec_debug.reset_reason=0x1a2b3c00 lcd_attached=1 lcd_id=0x408047 androidboot.debug_level=0x4948 sec_debug.enable=1 sec_debug.enable_user=1 slub_debug=FPUZ androidboot.cp_debug_level=0x55FF sec_debug.enable_cp_debug=0 cordon=af06fc4d5ea5fed1744f84f4eacface8 connie=SCH-I545_VZW_USA_618d176e62e74a1bdc9c66c765f42a79 lpj=67678 loglevel=4 samsung.hardware=SCH-I545 androidboot.emmc_checksum=3 androidboot.bootloader=I545VRUEMJ7 androidboot.nvdata_backup=0 androidboot.boot_recovery=0 androidboot.check_recovery_condition=0x0 level=0x47494844 vmalloc=450m sec_pvs=0 batt_id_value=0 androidboot.csb_val=1 androidboot.emmc=true androidboot.serialno=4f984435 androidboot.baseband=mdm
[    0.000000] sec_dbg_setup: str=@0xfff00008
[    0.000000] sec_dbg_setup: secdbg_paddr = 0xfff00008
[    0.000000] sec_dbg_setup: secdbg_size = 0x80000
[    0.000000] lcd_attached_status lcd_attached
[    0.000000] sec_tsp_mode: LCD_ID = 0x408047, val: 0X408047, ret1: 0x8
[    0.000000] sec_tsp_mode : synaptics
[    0.000000] sec_bat_current_boot_mode : normal
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 122MB 74MB 18MB 255MB 1402MB = 1871MB total
[    0.000000] Memory: 1858016k/1995232k available, 57888k reserved, 1435648K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xe3000000 - 0xff000000   ( 448 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xe2e00000   ( 558 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0dceba8   (14107 kB)
[    0.000000]       .init : 0xc0e00000 - 0xc0f03d80   (1040 kB)
[    0.000000]       .data : 0xc0f04000 - 0xc105f4d0   (1390 kB)
[    0.000000]        .bss : 0xc105f4f4 - 0xc15f469c   (5717 kB)
[    0.000000] SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] NR_IRQS:953
[    0.000000] tvec base lock initialized for cpu0
[    0.000000] hrtimer base lock initialized for cpu0
[    0.000000] sched_clock: 32 bits at 32kHz, resolution 30517ns, wraps every 131071999ms
[    0.000000] Console: colour dummy device 80x30
[    0.000244] Calibrating delay loop (skipped) preset value.. 13.53 BogoMIPS (lpj=67678)
[    0.000244] pid_max: default: 32768 minimum: 301
[    0.001373] Security Framework initialized
[    0.001403] SELinux:  Initializing.
[    0.001586] SELinux:  Starting in enforcing mode
[    0.001983] Mount-cache hash table entries: 512
[    0.007324] Initializing cgroup subsys debug
[    0.007354] Initializing cgroup subsys cpuacct
[    0.007385] Initializing cgroup subsys freezer
[    0.007843] CPU: Testing write buffer coherency: ok
[    0.008544] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.008575] hw perfevents: enabled with ARMv7 Krait PMU driver, 5 counters available
[    0.008666] Setting up static identity map for 0x80a31e48 - 0x80a31ed0
[    0.008666] set_dload_mode  ( c0e10318 )
[    0.011810] tvec base lock initialized for cpu1
[    0.011810] hrtimer base lock initialized for cpu1
[    0.013854] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.014923] tvec base lock initialized for cpu2
[    0.014953] hrtimer base lock initialized for cpu2
[    0.016723] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.017791] tvec base lock initialized for cpu3
[    0.017822] hrtimer base lock initialized for cpu3
[    0.019622] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.019714] Brought up 4 CPUs
[    0.019744] SMP: Total of 4 processors activated (54.14 BogoMIPS).
[    0.132110] dummy:
[    0.134399] NET: Registered protocol family 16
[    0.137573] AXI: msm_bus_fabric_init_driver(): msm_bus_fabric_init_driver
[    0.138641] MSM_DCVS: msm_dcvs_early_init: Unable to initialize DCVS err=4
[    0.147796] sec_debug_init: enable=1
[    0.147796] sec_debug_init: restart_reason : 0xfa00a65c
[    0.147827] (sec_debug_set_upload_magic) 776655ee
[    0.148010] (sec_debug_set_upload_cause) cafebabe
[    0.148162] __init_sec_debug_log: vaddr=0xe3100008 paddr=0xfff00008 size=0x80000 sizeof(struct sec_debug_log)=0x3c040
[    0.148162] __init_sec_debug_log: init done
[    0.148193] ------------[ cut here ]------------
[    0.148223] WARNING: at /home/se.infra/jenkins1/workspace/HUDSON_JELLYBEAN43_JFLTE_VZW_REL/android/kernel/mm/bootmem.c:581 alloc_arch_preferred_bootmem.isra.6+0x30/0x50()
[    0.148223] Modules linked in:
[    0.148254] [] (unwind_backtrace+0x0/0x11c) from [] (warn_slowpath_common+0x4c/0x64)
[    0.148284] [] (warn_slowpath_common+0x4c/0x64) from [] (warn_slowpath_null+0x18/0x1c)
[    0.148315] [] (warn_slowpath_null+0x18/0x1c) from [] (alloc_arch_preferred_bootmem.isra.6+0x30/0x50)
[    0.148345] [] (alloc_arch_preferred_bootmem.isra.6+0x30/0x50) from [] (___alloc_bootmem_nopanic+0x30/0xd4)
[    0.148376] [] (___alloc_bootmem_nopanic+0x30/0xd4) from [] (__alloc_bootmem+0x10/0x20)
[    0.148376] [] (__alloc_bootmem+0x10/0x20) from [] (sec_avc_log_init+0x40/0x110)
[    0.148406] [] (sec_avc_log_init+0x40/0x110) from [] (samsung_jf_init+0x10/0xa54)
[    0.148437] [] (samsung_jf_init+0x10/0xa54) from [] (customize_machine+0x1c/0x28)
[    0.148468] [] (customize_machine+0x1c/0x28) from [] (do_one_initcall+0x90/0x160)
[    0.148498] [] (do_one_initcall+0x90/0x160) from [] (kernel_init+0xe8/0x1a4)
[    0.148529] [] (kernel_init+0xe8/0x1a4) from [] (kernel_thread_exit+0x0/0x8)
[    0.148559] ---[ end trace da227214a82491b7 ]---
[    0.148712] allocating 262152 bytes at de380000 (c0200000 physical) for avc log
[    0.148742] sec_avc_log_init: no old log found
[    0.148742] meminfo_init: smem ram ptable found: ver: 0 len: 6
[    0.148773] Found 2 memory banks grouped into 16 memory regions
[    0.150238] gpiochip_add: registered GPIOs 0 to 151 on device: msmgpio
[    0.151397] socinfo_init: v7, id=153, ver=2.0, raw_id=1819, raw_ver=1819, hw_plat=8, hw_plat_ver=65536
[    0.151397]  accessory_chip=0, hw_plat_subtype=1, pmic_model=25, pmic_die_revision=1
[    0.151428] msm_rpm_init: RPM firmware 3.0.16842920
[    0.231445] msm_rpm_get_status(): Status id 433 not defined for target
[    0.231475] msm_rpm_get_status(): Status id 433 not defined for target
[    0.231475] msm_rpm_get_status(): Status id 433 not defined for target
[    0.231506] msm_rpm_get_status(): Status id 433 not defined for target
[    0.231506] msm_rpm_get_status(): Status id 433 not defined for target
[    0.231506] msm_rpm_get_status(): Status id 433 not defined for target
[    0.231536] msm_rpm_get_status(): Status id 433 not defined for target
[    0.231536] msm_rpm_get_status(): Status id 433 not defined for target
[    0.333465] cypress gpio init in apq8064_init_gpiomux
[    0.333496] apq8064_init_gpiomux: config touch_irq config.
[    0.337615] gpio_vreg_probe: id=203, name=ext_mpp8, gpio=203, gpio_label=ext_mpp8_en
[    0.339874] gpio_vreg_probe: id=77, name=ext_3p3v, gpio=77, gpio_label=ext_3p3v_en
[    0.341186] pm8921_probe: PMIC revision 1: F1
[    0.341217] pm8921_probe: PMIC revision 2: 0C
[    0.341217] pm8921_probe: PMIC version: PM8917 rev 1.0[    0.341247] pm8921_probe: PMIC Restart Reason: Triggered from SMPL (sudden momentary power loss)
[    0.344024] gpiochip_add: registered GPIOs 152 to 189 on device: pm-gpio
[    0.344451] pm_gpio_probe: OK: base=152, ngpio=38
[    0.346527] gpiochip_add: registered GPIOs 196 to 205 on device: pm8xxx-mpp
[    0.346588] pm8xxx_mpp_probe: OK: base=196, ngpio=10
[    0.377410] pm8821_probe: PMIC revision 1: PM8821 rev F3
[    0.377410] pm8821_probe: PMIC revision 2: PM8821 rev 0B
[    0.377441] pm8821_probe: PMIC version: PM8821 ver 2.1[    0.379333] gpiochip_add: registered GPIOs 208 to 211 on device: pm8xxx-mpp
[    0.379364] pm8xxx_mpp_probe: OK: base=208, ngpio=4
[    0.382080] gpio_vreg_probe: id=174, name=ext_ts_sw, gpio=174, gpio_label=ext_ts_sw_en
[    0.389465] saw_probe: id=0, name=8921_s5
[    0.391510] saw_probe: id=1, name=8921_s6
[    0.393524] saw_probe: id=2, name=8821_s0
[    0.395507] saw_probe: id=3, name=8821_s1
[    0.444366] persistent_ram: found existing buffer, size 12416, start 12416
[    0.484558] console [ram-1] enabled
[    0.488586] apq8064_init_mmc: SDC4 is for Externel SD in system_rev 11
[    0.489593] [slimbus] starting init set up : 11 0
[    0.492156] samsung sys class init.
[    0.492370] samsung sys class end.
[    0.493469] [TSP] System revision, LPM mode : 11 0
[    0.493469] [TSP]START S5000_tsp_input_init
[    0.493469] S5000_tsp_input_init: synaptics : el_type : 0, touch_type = 8[normal mode]
[    0.493530] [TSP]END S5000_tsp_input_init
[    0.498443] [lcd] apq8064_init_fb
[    0.508361] [JC] apq8064_init_cam: In
[    0.508636] [S5K6B2YX] apq8064_init_cam: GPIO_CAM_VT_EN: 0
[    0.514221] [SSP] clear_ssp_gpio done
[    0.514251] [SSP]sensor_power_on_vdd
[    0.515838] sensor_power_on_vdd: done
[    0.515930] [SSP]initialize_ssp_gpio
[    0.516693] bcm2079x_sw_i2c_config is called
[    0.516693] [NFC] bcm2079x_init done
[    0.567047] =[ES325]=es325_start_api=====
[    0.567077] brcm_wlan_init: start
[    0.568023] brcm_init_wlan_mem: WIFI MEM Allocated
[    0.572143] ------------[ cut here ]------------
[    0.572174] WARNING: at /home/se.infra/jenkins1/workspace/HUDSON_JELLYBEAN43_JFLTE_VZW_REL/android/kernel/arch/arm/mach-msm/subsystem_restart.c:578 subsys_restart_init+0xe4/0x110()
[    0.572174] Modules linked in:
[    0.572204] [] (unwind_backtrace+0x0/0x11c) from [] (warn_slowpath_common+0x4c/0x64)
[    0.572235] [] (warn_slowpath_common+0x4c/0x64) from [] (warn_slowpath_null+0x18/0x1c)
[    0.572265] [] (warn_slowpath_null+0x18/0x1c) from [] (subsys_restart_init+0xe4/0x110)
[    0.572265] [] (subsys_restart_init+0xe4/0x110) from [] (do_one_initcall+0x90/0x160)
[    0.572296] [] (do_one_initcall+0x90/0x160) from [] (kernel_init+0xe8/0x1a4)
[    0.572326] [] (kernel_init+0xe8/0x1a4) from [] (kernel_thread_exit+0x0/0x8)
[    0.572357] ---[ end trace da227214a82491b8 ]---
[    0.593170] i2c i2c-4: Failed to register i2c client s5k3l1yx at 0x34 (-16)
[    0.593353] i2c i2c-4: Can't create device at 0x34
[    0.597900] sps:BAM 0x12244000 enabled: ver:0x5, number of pipes:20
[    0.597900] sps:BAM 0x12244000 is registered.
[    0.598327] sps:sps is ready.
[    0.778167] bio: create slab  at 0
[    0.781799] ION heap vmalloc created
[    0.781982] ION heap mm created at a0000000 with size 6600000
[    0.782196] ION heap mm_fw created at 9fe00000 with size 1e0000
[    0.782348] ION heap mfc created at a6600000 with size 2000
[    0.782440] ION heap iommu created
[    0.782653] ION heap qsecom created at fe100000 with size 1700000
[    0.782867] ION heap audio created at ff800000 with size 4cf000
[    0.790283] SCSI subsystem initialized
[    0.790618] ++++MSM SB controller is up!
[    0.791076] sps:BAM 0x28084000 enabled: ver:0x12, number of pipes:31
[    0.791076] sps:BAM 0x28084000 is registered.
[    0.794464] ----MSM SB controller is up!
[    0.795806] wrapper slim_rxwq eaddr  0: 5:50: 0:17: 2 [laddr=0]
[    0.795898] wrapper slim_rxwq eaddr  0: 1:50: 0:17: 2 [laddr=1]
[    0.795959] wrapper slim_rxwq eaddr  0: 0:50: 0:17: 2 [laddr=2]
[    0.796051] wrapper slim_rxwq eaddr  0: 1: 2: 0:be: 2 [laddr=3]
[    0.796081] wrapper slim_rxwq es325 eaddr recv and apply temporary workaround
[    0.796173] wrapper msm_slim_rxwq assign laddr  1 ret=0
[    0.796234] wrapper msm_slim_rxwq assign laddr  0 ret=0
[    0.796234] wrapper slim_rxwq eaddr  0: 0: 2: 0:be: 2 [laddr=4]
[    0.796264] msm_slim_ctrl msm_slim_ctrl.1: Slim-dev:3 report inf element:0x0
[    0.796508] msm_slim_ctrl msm_slim_ctrl.1: offset:0x0:bit mask:8
[    0.796752] usbcore: registered new interface driver usbfs
[    0.796966] msm_slim_ctrl msm_slim_ctrl.1: Slim-dev:4 report inf element:0x400
[    0.797088] msm_slim_ctrl msm_slim_ctrl.1: offset:0x0:bit mask:8
[    0.797363] usbcore: registered new interface driver hub
[    0.797790] usbcore: registered new device driver usb
[    0.800109] input: pmic8xxx_pwrkey as /devices/platform/msm_ssbi.0/pm8921-core/pm8xxx-pwrkey/input/input0
[    0.804565] max77693_i2c_probe: device found: rev.0x3, ver.0x0
[    0.804748] param_sec_operation: filp_open failed. (-2)
[    0.804840] sec_open_param PARAM OPEN FAIL
[    0.882171] max77693-safeout max77693-safeout: max77693_pmic_probe
[    0.882263] [/home/se.infra/jenkins1/workspace/HUDSON_JELLYBEAN43_JFLTE_VZW_REL/android/kernel/drivers/regulator/max77693-regulator.c:488] pdata->num_regulators:3
[    0.882263] [/home/se.infra/jenkins1/workspace/HUDSON_JELLYBEAN43_JFLTE_VZW_REL/android/kernel/drivers/regulator/max77693-regulator.c:494] for in pdata->num_regulators:3
[    0.883026] regulator regulator.64: func:max77693_reg_enable
[    0.883056] regulator regulator.64: func:max77693_get_rid
[    0.883056] regulator regulator.64: func:max77693_get_enable_register
[    0.883972] regulator regulator.64: func:max77693_get_voltage
[    0.883972] regulator regulator.64: func:max77693_get_rid
[    0.883972] regulator regulator.64: func:max77693_get_voltage_register
[    0.884490] regulator regulator.64: func:max77693_get_rid
[    0.884490] regulator regulator.64: func:max77693_list_voltage_safeout
[    0.885101] Error-Bad Function Input
[    0.885192] [/home/se.infra/jenkins1/workspace/HUDSON_JELLYBEAN43_JFLTE_VZW_REL/android/kernel/drivers/regulator/max77693-regulator.c:494] for in pdata->num_regulators:3
[    0.885833] regulator regulator.65: func:max77693_get_voltage
[    0.885864] regulator regulator.65: func:max77693_get_rid
[    0.885864] regulator regulator.65: func:max77693_get_voltage_register
[    0.886383] regulator regulator.65: func:max77693_get_rid
[    0.886383] regulator regulator.65: func:max77693_list_voltage_safeout
[    0.886901] Error-Bad Function Input
[    0.886993] [/home/se.infra/jenkins1/workspace/HUDSON_JELLYBEAN43_JFLTE_VZW_REL/android/kernel/drivers/regulator/max77693-regulator.c:494] for in pdata->num_regulators:3
[    0.887664] regulator regulator.66: func:max77693_reg_enable
[    0.887664] regulator regulator.66: func:max77693_get_rid
[    0.887695] regulator regulator.66: func:max77693_get_enable_register
[    0.890136] i2c-gpio i2c-gpio.12: using pins 22 (SDA) and 23 (SCL)
[    0.891540] i2c-gpio i2c-gpio.13: using pins 205 (SDA) and 204 (SCL)
[    0.892883] i2c-gpio i2c-gpio.21: using pins 6 (SDA) and 7 (SCL)
[    0.894195] i2c-gpio i2c-gpio.17: using pins 10 (SDA) and 11 (SCL)
[    0.898193] i2c-gpio i2c-gpio.9: using pins 36 (SDA) and 37 (SCL)
[    0.899658] i2c-gpio i2c-gpio.16: using pins 33 (SDA) and 26 (SCL)
[    0.901031] i2c-gpio i2c-gpio.11: using pins 0 (SDA) and 1 (SCL)
[    0.901245] Linux media interface: v0.10
[    0.901641] Linux video capture interface: v2.00!
 
Last edited:

E:V:A

Inactive Recognized Developer
Dec 6, 2011
1,447
2,222
-∇ϕ
Hmm, I wonder if you can connect a keyboard during bootup to get into the FIQ debugger...if enabled.
 

ryanbg

Inactive Recognized Developer
Jan 3, 2008
858
1,739
movr0.com
There's also a hidden ODIN log within or just after the memory range for LK. On the Note 3, it should be 0xF8000000. You'll want to dump about 2-3MB after the prior address. You can see your Heimdall/Odin flash log and all relevant information. We were even able to see Linux test the USB serial link by sending AT+CLAC, which Odin obviously didn't understand. This, howver, makes me question if it's possible to send commands to Odin? We wouldn't be able to see what we're doing so we'd have to dump the log everytime we try something.
 
Last edited:

carl1961

Senior Member
Dec 5, 2010
7,521
6,201
Tickfaw

CalcProgrammer1

Senior Member
Oct 8, 2007
650
756
Kansas City

I think this is it:

http://blog.maurus.be/2011/01/23/samsung-i9000-irom-dump/

I looked around and found that and it seems to do the same thing as OP's binary, not sure if it's the same but it's functionally identical and good enough for what I need.
 
M

moonbutt74

Guest
Surge1223,

hi i just found your thread,

how do you determine the address to read from to ?

thanks

m
 

Top Liked Posts

  • There are no posts matching your filters.
  • 5
    Here is a method to get a boot log that you would normally need other means (UART, JTAG etc.) to get. It tells you exactly how the device boots up and the information it displays varies depending on if you have just flashed a partition with Odin, flashed a zip in recovery, normally booted, booted into recovery etc. Its a good way to not only get diagnostic information but also specific boot information and partition locations. Also this gives you information about what happens prior to aboot (lk), mine for example tells me how sbl2 loads RPM and SBL3 etc and gives their addresses in memory.

    -Obviously you must be rooted and have busybox installed (correctly) before continuing. Download the app "Busybox on rails" from the playstore if you're not sure if busybox is installed correctly and it will take care of it for you

    1. Open /efs/carrier/HiddenMenu and make sure it says ON
    2. Dial *#9900# and select "Enable SecLog" hit OK and exit
    3. Download viewmem here, extract it from the zip and adb push it to /data/local/tmp or copy and paste/move it to /data/local/tmp

    Using Adb

    adb push /path-to-extracted-viewmem /data/local/tmp

    Using Terminal Emulator

    mv /path-to-extracted-viewmem /data/local/tmp

    After viewmem is moved/pasted/pushed to /data/local/tmp then:

    Using either Terminal emulator or adb shell:

    shell@jfltevzw:/ $ su
    root@jfltevzw:/ # cd /data/local/tmp
    root@jfltevzw:/data/local/tmp # chmod 755 viewmem
    root@jfltevzw:/data/local/tmp # ./viewmem 0xffe00008 0x100000 >/sdcard/seclog.txt
    root@jfltevzw:/data/local/tmp # cd /sdcard
    root@jfltevzw:/sdcard # cat seclog.txt

    4. Then you can copy/transfer to your pc and open it with a text editor (notepad ++ or something that can open most formats)


    I've attached what my output looks like View attachment log.txt but I edited out my CID for obvious reasons. This should work on the I545, I337 and I9505.
    1
    Isn't it just kmsg?
    With last_kmsg enabled custom kernel, you can access to very first kmsg message. It will be at the end of /proc/last_kmsg log.

    I'm pretty sure we don't get to see the bootloader (SBL, aboot, etc...) data in kmsg. Kernel messages start a bit after that log. This is useful information, but requires that your phone actually gets to a somewhat booted state. Sadly, it's not quite a complete replacement for UART.

    actually you dont have to change sec_debug.enable or sec_debug.enable_user at all, I dont think enabling seclog in the Sysdump menu is even required I just added it for completeness. Plus the only way to change the cmdline is to bind it to a copy of an edited cmdline (as outlined here) Also can you send me a copy of your aboot? Within its strings it should have the number to dial to enable seclog etc. You should try to grab the log without enabling seclog (I didn't enable it the first time I grabbed the log either) and see if it works.

    Edit: actually I guess you could try enabling sec_debug.enable and sec_debug.enable_user using the method in the link I referred to.

    Just an FYI, assuming you can boot a custom kernel, then you CAN modify the boot_command_line as I did in this commit:

    https://github.com/FennyFatal/SGS4-M919-FennyKernel/commit/daaf3dc736d69f893e4aa9858fe786fe53c4f5d6