Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save nooriro/ecabb1e8534422d35987a58531e9f141 to your computer and use it in GitHub Desktop.
Save nooriro/ecabb1e8534422d35987a58531e9f141 to your computer and use it in GitHub Desktop.
C:\Users\nooriro\Desktop\sunfish-qd4a.200805.003>adb shell
sunfish:/ $ su
sunfish:/ # resetprop ro.bootmode usbradio
sunfish:/ # resetprop ro.build.type userdebug
sunfish:/ # setprop sys.usb.config diag,serial_cdev,rmnet_gsi,adb
sunfish:/ # 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]
Can not stat file: /vendor/etc/mdlog/diag.conf [2]
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:main: kernel supported: NUM_PERIPHERALS = 7, DIAG_CON_ALL: 255
diag: No Session is active for the given mask
diag_mdlog: Continuing with default directory path /data/vendor/radio/diag_logs/20200924_013033
diag: CreateWaitThread (8201) created
diag_mdlog: Diag_LSM_Init succeeded.
REMOTE PROCESSOR MASK 0
diag:kernel supported: NUM_PERIPHERALS = 7, DIAG_CON_ALL: 255
diag: WriteToDisk (8202) created
logging switched
Output dirs /data/vendor/radio/diag_logs/20200924_013033 --- /data/vendor/radio/diag_logs/20200924_013033
diag: Updating QDB mask from 0xfe to 0x7c
diag:diag_get_peripheral_diag_id_info query diagid information for ptype:0
diag_mdlog: Reading mask for MSM, proc_type: 0
diag_mdlog: Default mask file being read for proc_type: 0
diag: diag_qshrink4_db_parser_thread (8204) created
Sorry, can't open mask file: /data/vendor/radio/diag_logs/Diag.cfg, for index: 0, please check the device, errno: 2
diag_mdlog: Error reading mask file, proc_type: 0, file: /data/vendor/radio/diag_logs/Diag.cfg
diag_mdlog: No successful mask file reads. Trying default mask list file.
Mask list file name is: /data/vendor/radio/diag_logs/Diag_list.txt
Sorry, can't open mask list file,please check the device, errno: 2
diag_mdlog: No mask files have been successfully read.
diag_mdlog: Running with masks that were set prior to diag_mdlog start-up.
diag: diag_write_qshrink4_db_to_disk_thread (8205) created
diag: Waiting for qsr4_read_db_cond
^Cdiag_mdlog_exit signal:2
diag_mdlog_exit Restoring default signal action
diag_mdlog_exit flush_buffer
diag: Signal received
diag: diag_kill_qshrink4_threads: Initiate qshrink threads kill (qshrink_kill_thread: 1)
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: diag_kill_diagid_threads: Initiate diagid threads kill (diagid_kill_thread: 1)
diag:In diag_kill_diagid_threads Cleaned up diagid resources
diag: sending signal to unblock read thread
diag:dummy_handler: pid-tid 8199-8201
CreateWaitThread exiting ...[0]..
creating new file /data/vendor/radio/diag_logs/20200924_013033/diag_log_20200924_0137471600879067575.qmdl
diag: is poweron log /data/vendor/radio/diag_logs/20200924_013033/diag_log_20200924_0137471600879067575.qmdl
diag: flush_log is set
diag: clearing poweron log timer
diag: reach max log size 10485760
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/20200924_013033/diag_log_20200924_0137471600879067575.qmdl
Exiting....WriteToDisk
diag: Waited 1 second(s) for threads
diag: Sending cond to CreateWaitThread
diag:dummy_handler: pid-tid 8199-8200
diag: PID file is not present
diag: Exiting program
sunfish:/ #
C:\Users\nooriro\Desktop\sunfish-qd4a.200805.003>adb reboot
C:\Users\nooriro\Desktop\sunfish-qd4a.200805.003>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment