close
Image

SystemLogReader

Other TwlIPL tests
Application Jump Test-auto_preinst_rom-CalcHMAC ForBroadOn-Card Rom Header Checker-Component SDK Version Identifier-DS Game Card To SD-ErrorLogTest-NandFirmWriter-NandInitializer-NAND Sweeper-NotLaunch-Repaire Tool BACKUP-Repaire Tool RESTORE-SaveDataTest-sd2photo-SimpleApp-SystemLogReader-tcl_2-TMP JumpTest-TWLCaptureSystem Writer-WiFi Icon
SystemLogReader is a tool that copies the system log (used for debugging/error checking) from nand:/sys/log/sysmenu.log to the SD card. It is intended to be used through ntrboot, for when the system menu will not load and log recovery is not possible another way. There are full instructions on flashing and using ntrboot. Part of the translated guide is below, and the rest can be found in the source code:
     
  • 2-1. Startup of SystemLogReader
      Insert the DS flash card to which SystemLogReader was written in step 1 into the card slot of the main unit.
      Also, insert an SD card into the SD card slot of the main unit.
  •  
  • 2-2.
      Place the magnet near the X button of the main unit in the position where the sleep mode is activated when the main unit is in normal operation,
      Press and hold down the "SELECT + START + X" buttons and turn on the power.
  •  
  • 2-3.
      System Log Writer starts via NAND FIRM WRITER and outputs the error log file to the SD card.
      The program outputs the error log file to the SD card and stops.
      The error log cannot be checked on the launched program.
The SystemLogReader instructions also include an explaination of the log format, and give some examples of log errors.

  |-----------------------------------------------------------------|
  |  #FFT date [day of week] time                                  |
  |  title: Initial code of the program where the error occurred   |
  |  Details of the error                                          |
  |-----------------------------------------------------------------|

 - Wireless module failure
  #FFT 00-01-29[SAT] 00:02:07
  title: HNAJ
  menuRedIplManager.cpp [l.466] WLFIRM 2 (00030015484e424a) 

 - Camera module failure (including “CAMERA **” other than the following)
  #FFT 00-01-01[SAT] 00:12:08
  title: HNAJ
  menuCameraManager.cpp [l.369] CAMERA INIT 8

 - NAND degradation problem
  #FFT 00-01-29[SAT] 00:02:07
  title: HNAJ
  menuSystem.cpp [l.709] RED FATAL 0000000000000002 (BT 00030015484e424a)
    err:FATAL_ERROR_NAND

 - HWInfo secure corruption
  #FFT 00-01-01[SAT] 00:12:08
  title: HNAJ
  menuSystem.cpp [l.709] RED FATAL 0000000000000008 (BT 00030015484e424a)
  err:FATAL_ERROR_HWINFO_SECURE

 - Shared font file corruption
  #FFT 00-01-03[MON] 17:56:18
  title: HNBJ
  stgSystem.cpp [l.704]                     
The error codes in the SystemLogReader instructions appear to be outdated, so they should only be used to understand the format. A complete list of the proper RED FATAL codes can be found from this array in the source:

static char * FatalErrorCode[] = {
	"FATAL_ERROR_UNDEFINED",
	"FATAL_ERROR_NAND",
	"FATAL_ERROR_HWINFO_NORMAL",
	"FATAL_ERROR_HWINFO_SECURE",
	"FATAL_ERROR_TWLSETTINGS",
	"FATAL_ERROR_SHARED_FONT",
	"FATAL_ERROR_WLANFIRM_AUTH",
	"FATAL_ERROR_WLANFIRM_LOAD",
	"FATAL_ERROR_TITLE_LOAD_FAILED",
	"FATAL_ERROR_TITLE_POINTER_ERROR",
	"FATAL_ERROR_AUTHENTICATE_FAILED",
	"FATAL_ERROR_ENTRY_ADDRESS_ERROR",
	"FATAL_ERROR_TITLE_BOOTTYPE_ERROR",
	"FATAL_ERROR_SIGN_DECRYPTION_FAILED",
	"FATAL_ERROR_SIGN_COMPARE_FAILED",
	"FATAL_ERROR_HEADER_HASH_CALC_FAILED",
	"FATAL_ERROR_TITLEID_COMPARE_FAILED",
	"FATAL_ERROR_VALID_SIGN_FLAG_OFF",
	"FATAL_ERROR_CHECK_TITLE_LAUNCH_RIGHTS_FAILED",
	"FATAL_ERROR_MODULE_HASH_CHECK_FAILED",
	"FATAL_ERROR_MODULE_HASH_CALC_FAILED",
	"FATAL_ERROR_MEDIA_CHECK_FAILED",
	"FATAL_ERROR_DL_MAGICCODE_CHECK_FAILED",
	"FATAL_ERROR_DL_SIGN_DECRYPTION_FAILED",
	"FATAL_ERROR_DL_HASH_CALC_FAILED",
	"FATAL_ERROR_DL_SIGN_COMPARE_FAILED",
	"FATAL_ERROR_WHITELIST_INITDB_FAILED",
	"FATAL_ERROR_WHITELIST_NOTFOUND",
	"FATAL_ERROR_DHT_PHASE1_FAILED",
	"FATAL_ERROR_DHT_PHASE2_FAILED",
	"FATAL_ERROR_LANDING_TMP_JUMP_FLAG_OFF",
	"FATAL_ERROR_TWL_BOOTTYPE_UNKNOWN",
	"FATAL_ERROR_NTR_BOOTTYPE_UNKNOWN",
	"FATAL_ERROR_PLATFORM_UNKNOWN",
	"FATAL_ERROR_LOAD_UNFINISHED",
	"FATAL_ERROR_LOAD_OPENFILE_FAILED",
	"FATAL_ERROR_LOAD_MEMALLOC_FAILED",
	"FATAL_ERROR_LOAD_SEEKFILE_FAILED",
	"FATAL_ERROR_LOAD_READHEADER_FAILED",
	"FATAL_ERROR_LOAD_LOGOCRC_ERROR",
	"FATAL_ERROR_LOAD_READDLSIGN_FAILED",
	"FATAL_ERROR_LOAD_RELOCATEINFO_FAILED",
	"FATAL_ERROR_LOAD_READMODULE_FAILED",
	"FATAL_ERROR_NINTENDO_LOGO_CHECK_FAILED",
	"FATAL_ERROR_SYSMENU_VERSION",
	"FATAL_ERROR_DHT_PHASE1_CALC_FAILED",
	"FATAL_ERROR_LOAD_UNKNOWN_BOOTTYPE",
	"FATAL_ERROR_LOAD_AUTH_HEADER_FAILED",
	"FATAL_ERROR_LOAD_NEVER_STARTED",
	"FATAL_ERROR_EJECT_CARD_AFTER_LOAD_START",
	"FATAL_ERROR_TITLEID_COMPARE_FAILED_NTR",
};
Image
Image
SystemLog Reader
Image
Image
Origin:
- Gigaleaks (TwlIPL)
Source code:
- View on GitHub
Dumped by:
Currently undumped!
Image
Image
SystemLog Reader
Image
Image
Origin:
- Gigaleaks (TwlIPL)
Source code:
- View on GitHub
Dumped by:
Currently undumped!
Image