Skip to content

Instantly share code, notes, and snippets.

#
# Make modem config folder and copy firmware config to that folder for RIL
#
-rm -rf /data/misc/radio/modem_config
-mkdir /data/misc/radio/modem_config
-chmod 770 /data/misc/radio/modem_config
-cp -r /system/vendor/firmware/image/modem_pr/mcfg/configs/* /data/misc/radio/modem_config
-chown -hR radio.radio /data/misc/radio/modem_config
+if [ -f /data/misc/radio/ver_info.txt ]; then
+ prev_version_info=`cat /data/misc/radio/ver_info.txt`
ate: glink config params: transport=(null), edge=rpm, name=rpm_requests
[ 0.264582 / 01-01 00:00:00.259][2] msm_cache_erp64 6500000.qcom,cache_erp64: Registering for L1 error interrupts
[ 0.264685 / 01-01 00:00:00.259][2] msm_cache_erp64 6500000.qcom,cache_erp64: Registering for L2 error interrupts
[ 0.264851 / 01-01 00:00:00.259][2] msm_cache_erp64 6500000.qcom,cache_erp64: Registering for L3 error interrupts
[ 0.265136 / 01-01 00:00:00.259][2] msm_m4m_erp 9a40000.qcom,m4m_erp64: Registering for M4M error interrupts
[ 0.267139 / 01-01 00:00:00.259][2] apc0_pwrcl_mem_acc_corner: 0 <--> 0 mV
[ 0.267502 / 01-01 00:00:00.259][2] apc1_perfcl_mem_acc_corner: 0 <--> 0 mV
[ 0.267845 / 01-01 00:00:00.259][2] apcc_l3_mem_acc_corner: 0 <--> 0 mV
[ 0.268208 / 01-01 00:00:00.259][2] gfx_mem_acc_corner: 0 <--> 0 mV
[ 0.268619 / 01-01 00:00:00.259][2] kryo0-retention: 468 <--> 892 mV at 520 mV
[ 0.319902 / 01-01 00:00:00.309][0] pm8994_l18: 2200 mV normal idle
[ 0.320405 / 01-01 00:00:00.319][0] pm8994_l18_pin_ctrl: 2700 <--> 2900 mV at 2700 mV normal idle
[ 0.320880 / 01-01 00:00:00.319][0] pm8994_l19: 3000 mV normal idle
[ 0.321349 / 01-01 00:00:00.319][0] pm8994_l20: 2950 mV normal idle
[ 0.321819 / 01-01 00:00:00.319][0] pm8994_l21: 2950 mV normal idle
[ 0.322649 / 01-01 00:00:00.319][0] pm8994_l22: 3300 mV normal idle
[ 0.323164 / 01-01 00:00:00.319][0] pm8994_l23: 2800 mV normal idle
[ 0.323633 / 01-01 00:00:00.319][0] pm8994_l24: 3075 mV normal idle
[ 0.324111 / 01-01 00:00:00.319][0] pm8994_l25: 1200 mV normal idle
[ 0.324936 / 01-01 00:00:00.319][0] pm8994_l26_corner: 0 <--> 0 mV at 0 mV normal idle
This file has been truncated, but you can view the full file.
--------- beginning of system
01-20 06:55:39.907 464 464 I vold : Vold 3.0 (the awakening) firing up
01-20 06:55:39.907 464 464 V vold : Detected support for: exfat ext4 ntfs vfat
01-20 06:55:40.073 464 469 D vold : e4crypt_init_user0
01-20 06:55:40.073 464 469 D vold : e4crypt_prepare_user_storage for volume null, user 0, serial 0, flags 1
01-20 06:55:40.073 464 469 D vold : Preparing: /data/system/users/0
01-20 06:55:40.097 464 469 D vold : Preparing: /data/misc/profiles/cur/0
01-20 06:55:40.098 464 469 D vold : Preparing: /data/misc/profiles/cur/0/foreign-dex
01-20 06:55:40.098 464 469 D vold : Preparing: /data/system_de/0
01-20 06:55:40.099 464 469 D vold : Preparing: /data/misc_de/0
01-06 12:33:50.664 581 581 D RILD : **RIL Daemon Started**
01-06 12:33:50.664 581 581 D RILD : **RILd param count=1**
02-15 20:15:13.866 581 581 D RILD : RIL_Init argc = 3 clientId = 0
02-15 20:15:13.867 581 581 E RILQ : log to /data/misc/radio/ril_log for QCRIL logging is not enabled
02-15 20:15:15.242 581 581 I RILQ : (0/581):RIL[0][rild] qmi_ril_qmi_client_pre_initialization_acquire: entry
02-15 20:15:15.244 581 581 I RILQ : (0/581):RIL[0][rild] qmi_ril_qmi_client_pre_initialization_acquire: exit
02-15 20:15:15.248 581 581 I RILQ : (0/581):RIL[0][rild] void settingsd_client_start(): Starting settingsd client thread
02-15 20:15:15.248 581 581 I RILQ : (0/581):RIL[0][rild] void settingsd_client_start(): After starting the settingsd client thread
02-15 20:15:15.251 581 1043 I RILQ : (0/581):RIL[0] void main_loop_thread(): main_loop_thread started
02-15 20:15:15.251 581 1043 V use-Rlog/RLOG-RILQ: [413]> void main_loop_thread(): Starting main Loop
--------- beginning of system
01-06 12:33:49.267 465 465 I vold : Vold 3.0 (the awakening) firing up
01-06 12:33:49.268 465 465 V vold : Detected support for: exfat ext4 ntfs vfat
01-06 12:33:49.461 465 468 D vold : e4crypt_init_user0
01-06 12:33:49.461 465 468 D vold : e4crypt_prepare_user_storage for volume null, user 0, serial 0, flags 1
01-06 12:33:49.461 465 468 D vold : Preparing: /data/system/users/0
01-06 12:33:49.486 465 468 D vold : Preparing: /data/misc/profiles/cur/0
01-06 12:33:49.486 465 468 D vold : Preparing: /data/misc/profiles/cur/0/foreign-dex
01-06 12:33:49.486 465 468 D vold : Preparing: /data/system_de/0
01-06 12:33:49.487 465 468 D vold : Preparing: /data/misc_de/0
02-11 21:34:06.812 609 609 D RILD : **RIL Daemon Started**
02-11 21:34:06.812 609 609 D RILD : **RILd param count=1**
02-11 21:34:07.391 609 609 D RILD : RIL_Init argc = 3 clientId = 0
02-11 21:34:07.392 609 609 E RILQ : log to /data/misc/radio/ril_log for QCRIL logging is not enabled
02-11 21:34:08.831 609 609 I RILQ : (0/609):RIL[0][rild] qmi_ril_qmi_client_pre_initialization_acquire: entry
02-11 21:34:08.832 609 609 I RILQ : (0/609):RIL[0][rild] qmi_ril_qmi_client_pre_initialization_acquire: exit
02-11 21:34:08.833 609 609 I RILQ : (0/609):RIL[0][rild] void settingsd_client_start(): Starting settingsd client thread
02-11 21:34:08.833 609 609 I RILQ : (0/609):RIL[0][rild] void settingsd_client_start(): After starting the settingsd client thread
02-11 21:34:08.839 609 1030 I RILQ : (0/609):RIL[0] void main_loop_thread(): main_loop_thread started
02-11 21:34:08.839 609 1030 V use-Rlog/RLOG-RILQ: [406]> void main_loop_thread(): Starting main Loop
This file has been truncated, but you can view the full file.
--------- beginning of main
01-02 13:49:06.126 453 453 W auditd : type=2000 audit(0.0:1): initialized
01-02 13:49:14.809 453 453 I auditd : type=1403 audit(0.0:2): policy loaded auid=4294967295 ses=4294967295
01-02 13:49:18.899 1 1 I init : type=1400 audit(0.0:3): avc: denied { write } for name="tracing_on" dev="debugfs" ino=1332 scontext=u:r:init:s0 tcontext=u:object_r:debugfs:s0 tclass=file permissive=1
--------- beginning of system
01-02 13:49:19.249 463 463 I vold : Vold 3.0 (the awakening) firing up
01-02 13:49:19.249 463 463 V vold : Detected support for: exfat ext4 ntfs vfat
01-02 13:49:19.422 461 461 I : debuggerd: starting
01-02 13:49:19.452 463 466 D vold : e4crypt_init_user0
01-02 13:49:19.452 463 466 D vold : e4crypt_prepare_user_storage for volume null, user 0, serial 0, flags 1
-07 16:55:17.909 2786 2786 I QImsService: ImsConfigImpl : SetServiceStatus = 0 13 0
02-07 16:55:17.909 2786 2786 I QImsService: ImsSenderRxr : [0018]> REQUEST_SET_SERVICE_STATUS[SUB0]
02-07 16:55:17.909 2786 2786 I QImsService: ImsSenderRxr : Message data: [0, 0, 0, 27, 11, 13, 18, 0, 0, 0, 16, 1, 24, 30, 32, 0, 8, 1, 24, 0, 58, 9, 8, 14, 16, 0, 29, 0, 0, 0, 0][SUB0]
02-07 16:55:17.912 2786 3136 I QImsService: ImsSenderRxr : processResponse[SUB0]
02-07 16:55:17.912 2786 3136 I QImsService: ImsSenderRxr : Response data: [11, 13, 18, 0, 0, 0, 16, 2, 24, 30, 32, 2][SUB0]
02-07 16:55:17.912 2786 3136 I QImsService: ImsSenderRxr : Tag 18 2 30 2[SUB0]
02-07 16:55:17.912 2786 3136 I QImsService: IFRequest : [0018]< REQUEST_SET_SERVICE_STATUS error: 2
02-07 16:55:17.912 2786 3138 I QImsService: ImsConfigImplHandler : Message received: what = 2
02-07 16:55:17.934 2786 2786 I QImsService: ImsConfigImpl : SetServiceStatus = 0 18 0
02-07 16:55:17.934 2786 2786 I QImsService: ImsSenderRxr : [0019]> RE
--------- beginning of system
01-04 11:11:16.775 464 464 I vold : Vold 3.0 (the awakening) firing up
01-04 11:11:16.775 464 464 V vold : Detected support for: exfat ext4 ntfs vfat
01-04 11:11:17.041 464 470 D vold : e4crypt_init_user0
01-04 11:11:17.041 464 470 D vold : e4crypt_prepare_user_storage for volume null, user 0, serial 0, flags 1
01-04 11:11:17.041 464 470 D vold : Preparing: /data/system/users/0
01-04 11:11:17.043 464 470 D vold : Preparing: /data/misc/profiles/cur/0
01-04 11:11:17.044 464 470 D vold : Preparing: /data/misc/profiles/cur/0/foreign-dex
01-04 11:11:17.044 464 470 D vold : Preparing: /data/system_de/0
01-04 11:11:17.044 464 470 D vold : Preparing: /data/misc_de/0