Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save nooriro/0a341f57e0b67f31bd31b3458d70330c to your computer and use it in GitHub Desktop.
Save nooriro/0a341f57e0b67f31bd31b3458d70330c to your computer and use it in GitHub Desktop.
C:\Users\nooriro\Desktop\adb>adb shell
crosshatch:/ $ su
crosshatch:/ # resetprop ro.bootmode usbradio
crosshatch:/ # resetprop ro.build.type userdebug
crosshatch:/ # diag_mdlog
diag_mdlog: No parameter, reading conf file
Can not stat file: /data/vendor/radio/diag_logs/on-demand.conf [2]
Can not stat file: /data/vendor/radio/diag_logs/scenario-based.conf [2]
Can not stat file: /data/vendor/radio/diag_logs/diag.conf [2]
diag_mdlog: command = f
diag_mdlog: command = o
diag_mdlog: command = s
diag_mdlog: command = n
diag_mdlog: command = b
diag_mdlog: command = c
diag_mdlog: command = t
diag_mdlog: command = x
diag_mdlog: command = z
diag_mdlog: Found preloaded conf file
diag: poweron log file does not exist.
diag: init poweron log
diag: error opening /data/vendor/radio/diag_logs/poweron_mask_duration.conf
diag: clearing poweron log timer
diag: start poweron log timer
diag: clearing poweron log timer
diag: setting poweron log timer as 0 ms
diag: Kernel does not support PID query, err: -1, errno: 22
diag_mdlog: Directory /data/vendor/radio is accessible
diag_mdlog: ODL with no -p or -g option
diag_mdlog: successfully created pid file, pid: 15753
diag_mdlog: Warning output directory already exists: /data/vendor/radio/diag_logs/logs
diag_mdlog: Proceeding...
diag: CreateWaitThread (15755) created
diag_mdlog: Diag_LSM_Init succeeded.
REMOTE PROCESSOR MASK 0
diag: Voting real_time: 0
diag: Requesting real_time: 1, current_buf_mode: 2
diag: New real_time: 1
diag: Requesting real_time: 0, current_buf_mode: 2
diag: New real_time: 1
diag: buf_mode mismatch
diag: IOCTL query for CON_ALL is absent in kernel,
so Falling back to Library defined connection parameter, err: -1, errno: 22
logging switched
diag: Updating QDB mask from 0xfe to 0x7c
Output dirs /data/vendor/radio/diag_logs/logs --- /data/vendor/radio/diag_logs/logs
diag_mdlog: Reading mask for MSM, proc_type: 0
diag: diag_qshrink4_db_parser_thread (15757) created
diag: diag_write_qshrink4_db_to_disk_thread (15758) created
Reading the mask file: /vendor/etc/mdlog/default.cfg
diag: Determining contents of directory /data/vendor/radio/diag_logs/logs for circular logging ...
diag: WriteToDisk (15756) created
diag: Waiting for qsr4_read_db_cond
diag: diag_read_mask_file done
diag: In diag_configure_peripheral_buffering_tx_mode, request for buffer configuring pd 3
diag: failed to open diag router socket
^Cdiag_mdlog_exit signal:2
diag_mdlog_exit set tx_mode to 0
diag: In diag_configure_peripheral_buffering_tx_mode, request for buffer configuring pd 3
diag: Voting real_time: 0
diag: Requesting real_time: 1, current_buf_mode: 0
creating new file /data/vendor/radio/diag_logs/logs/diag_log_20200923_2313531600870433882.qmdl
diag: New real_time: 1
diag: Requesting real_time: 0, current_buf_mode: 0
diag: New real_time: 0
diag_mdlog_exit Restoring default signal action
diag_mdlog_exit flush_buffer
diag: Signal received
diag: Voting real_time: 1
diag: Requesting real_time: 1, current_buf_mode: 0
diag: New real_time: 1
diag: In flush_buffer, Waiting for 5 seconds for non-real-time data to arrive
diag: Sending empty mask MSM
diag: Waiting for db parser thread
diag: qsr4_read_db_cond signaled
diag: Waiting for db write thread
diag:In diag_kill_qshrink4_threads finished killing qshrink4 threads
diag: sending signal to unblock read thread
diag:dummy_handler: pid-tid 15753-15755
CreateWaitThread exiting ...[0]..
diag: is poweron log /data/vendor/radio/diag_logs/logs/diag_log_20200923_2313531600870433882.qmdl
diag: flush_log is set
diag: clearing poweron log timer
diag: saving poweron log /data/vendor/radio/diag_logs/logs/diag_poweron_log.qmdl
diag: poweron log 1: /data/vendor/radio/diag_logs/logs/diag_log_20200923_2313531600870433882.qmdl
Exiting....WriteToDisk
diag: Waited 1 second(s) for threads
diag: Sending cond to CreateWaitThread
diag:dummy_handler: pid-tid 15753-15754
diag: Exiting program
crosshatch:/ #
C:\Users\nooriro\Desktop\adb>adb reboot
C:\Users\nooriro\Desktop\adb>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment