ngoquang2708 / android_device_samsung_vivalto3gvn

Device tree for Samsung Galaxy V SM-G313HZ
7 stars 8 forks source link

Some people reported that their phone cannot goes to deep-sleep #57

Closed ngoquang2708 closed 8 years ago

ngoquang2708 commented 8 years ago

Logcat is full of these:

07-30 18:03:44.608  1008  1019 D IccSmsInterfaceManager: [IccSmsInterfaceManager] Added GSM cell broadcast subscription for MID range 4352 to 4354 from client com.android.cellbroadcastreceiver
07-30 18:03:44.608  1008  1019 D IccSmsInterfaceManager: [IccSmsInterfaceManager] Calling setCellBroadcastActivation(true)
07-30 18:03:44.619  1008  1023 D IccSmsInterfaceManager: [IccSmsInterfaceManager] enableGsmBroadcastRange
07-30 18:03:44.620  1008  1023 D IccSmsInterfaceManager: [IccSmsInterfaceManager] Added GSM cell broadcast subscription for MID range 4356 to 4356 from client com.android.cellbroadcastreceiver
07-30 18:03:44.621  1008  1023 D IccSmsInterfaceManager: [IccSmsInterfaceManager] Calling setCellBroadcastActivation(true)
07-30 18:03:44.632  1008  1270 D IccSmsInterfaceManager: [IccSmsInterfaceManager] enableGsmBroadcastRange
07-30 18:03:44.633  1008  1270 D IccSmsInterfaceManager: [IccSmsInterfaceManager] Added GSM cell broadcast subscription for MID range 4371 to 4372 from client com.android.cellbroadcastreceiver
07-30 18:03:44.633  1008  1270 D IccSmsInterfaceManager: [IccSmsInterfaceManager] Calling setCellBroadcastActivation(true)
07-30 18:03:44.644  1008  1454 D IccSmsInterfaceManager: [IccSmsInterfaceManager] enableCdmaBroadcastRange
07-30 18:03:44.645  1008  1454 D IccSmsInterfaceManager: [IccSmsInterfaceManager] Calling setCdmaBroadcastConfig with 1 configurations
07-30 18:03:44.651  1008  1454 D IccSmsInterfaceManager: [IccSmsInterfaceManager] Failed to add cdma broadcast subscription for MID range 4097 to 4097 from client com.android.cellbroadcastreceiver
07-30 18:03:44.657  1008  1215 D IccSmsInterfaceManager: [IccSmsInterfaceManager] enableGsmBroadcastRange
07-30 18:03:44.658  1008  1215 D IccSmsInterfaceManager: [IccSmsInterfaceManager] Added GSM cell broadcast subscription for MID range 4373 to 4378 from client com.android.cellbroadcastreceiver
07-30 18:03:44.658  1008  1215 D IccSmsInterfaceManager: [IccSmsInterfaceManager] Calling setCellBroadcastActivation(true)
07-30 18:03:44.672  1008  1019 D IccSmsInterfaceManager: [IccSmsInterfaceManager] enableCdmaBroadcastRange
07-30 18:03:44.673  1008  1019 D IccSmsInterfaceManager: [IccSmsInterfaceManager] Calling setCdmaBroadcastConfig with 1 configurations
07-30 18:03:44.678  1008  1019 D IccSmsInterfaceManager: [IccSmsInterfaceManager] Failed to add cdma broadcast subscription for MID range 4098 to 4098 from client com.android.cellbroadcastreceiver
07-30 18:03:44.685  1008  1023 D IccSmsInterfaceManager: [IccSmsInterfaceManager] enableGsmBroadcastRange
07-30 18:03:44.686  1008  1023 D IccSmsInterfaceManager: [IccSmsInterfaceManager] Added GSM cell broadcast subscription for MID range 4379 to 4379 from client com.android.cellbroadcastreceiver
07-30 18:03:44.686  1008  1023 D IccSmsInterfaceManager: [IccSmsInterfaceManager] Calling setCellBroadcastActivation(true)
07-30 18:03:44.697  1008  1270 D IccSmsInterfaceManager: [IccSmsInterfaceManager] enableCdmaBroadcastRange
07-30 18:03:44.698  1008  1270 D IccSmsInterfaceManager: [IccSmsInterfaceManager] Calling setCdmaBroadcastConfig with 1 configurations
07-30 18:03:44.704  1008  1270 D IccSmsInterfaceManager: [IccSmsInterfaceManager] Failed to add cdma broadcast subscription for MID range 4099 to 4099 from client com.android.cellbroadcastreceiver
07-30 18:03:44.710  1008  1454 D IccSmsInterfaceManager: [IccSmsInterfaceManager] enableGsmBroadcastRange
07-30 18:03:44.712  1008  1454 D IccSmsInterfaceManager: [IccSmsInterfaceManager] Added GSM cell broadcast subscription for MID range 4380 to 4382 from client com.android.cellbroadcastreceiver
07-30 18:03:44.712  1008  1454 D IccSmsInterfaceManager: [IccSmsInterfaceManager] Calling setCellBroadcastActivation(true)
07-30 18:03:44.723  1008  1215 D IccSmsInterfaceManager: [IccSmsInterfaceManager] enableCdmaBroadcastRange
07-30 18:03:44.724  1008  1215 D IccSmsInterfaceManager: [IccSmsInterfaceManager] Calling setCdmaBroadcastConfig with 1 configurations
07-30 18:03:44.729  1008  1215 D IccSmsInterfaceManager: [IccSmsInterfaceManager] Failed to add cdma broadcast subscription for MID range 4100 to 4100 from client com.android.cellbroadcastreceiver
07-30 18:03:44.735  1008  1019 D IccSmsInterfaceManager: [IccSmsInterfaceManager] enableGsmBroadcastRange
07-30 18:03:44.736  1008  1019 D IccSmsInterfaceManager: [IccSmsInterfaceManager] Added GSM cell broadcast subscription for MID range 4393 to 4395 from client com.android.cellbroadcastreceiver
07-30 18:03:44.737  1008  1019 D IccSmsInterfaceManager: [IccSmsInterfaceManager] Calling setCellBroadcastActivation(true)
07-30 18:03:44.742  1651  2807 D CellBroadcastConfigService: enabled emergency cell broadcast channels
07-30 18:03:44.748  1008  1023 D IccSmsInterfaceManager: [IccSmsInterfaceManager] enableGsmBroadcastRange
07-30 18:03:44.749  1008  1023 D IccSmsInterfaceManager: [IccSmsInterfaceManager] Added GSM cell broadcast subscription for MID range 4370 to 4370 from client com.android.cellbroadcastreceiver
07-30 18:03:44.749  1008  1023 D IccSmsInterfaceManager: [IccSmsInterfaceManager] Calling setCellBroadcastActivation(true)
07-30 18:03:44.760  1008  1270 D IccSmsInterfaceManager: [IccSmsInterfaceManager] enableCdmaBroadcastRange
07-30 18:03:44.761  1008  1270 D IccSmsInterfaceManager: [IccSmsInterfaceManager] Calling setCdmaBroadcastConfig with 1 configurations
07-30 18:03:44.766  1008  1270 D IccSmsInterfaceManager: [IccSmsInterfaceManager] Failed to add cdma broadcast subscription for MID range 4096 to 4096 from client com.android.cellbroadcastreceiver
07-30 18:03:44.773  1008  1454 D IccSmsInterfaceManager: [IccSmsInterfaceManager] enableGsmBroadcastRange
07-30 18:03:44.774  1008  1454 D IccSmsInterfaceManager: [IccSmsInterfaceManager] Added GSM cell broadcast subscription for MID range 4383 to 4383 from client com.android.cellbroadcastreceiver
07-30 18:03:44.775  1008  1454 D IccSmsInterfaceManager: [IccSmsInterfaceManager] Calling setCellBroadcastActivation(true)
07-30 18:03:44.779  1651  2807 D CellBroadcastConfigService: disabling cell broadcast channel 50
07-30 18:03:44.786  1008  1215 D IccSmsInterfaceManager: [IccSmsInterfaceManager] disableGsmBroadcastRange
07-30 18:03:44.787  1008  1215 D IccSmsInterfaceManager: [IccSmsInterfaceManager] Failed to remove GSM cell broadcast subscription for MID range 50 to 50 from client com.android.cellbroadcastreceiver
07-30 18:03:44.788  1651  2807 D CellBroadcastConfigService: disabling cell broadcast channel 60
07-30 18:03:44.794  1008  1019 D IccSmsInterfaceManager: [IccSmsInterfaceManager] disableGsmBroadcastRange
07-30 18:03:44.795  1008  1019 D IccSmsInterfaceManager: [IccSmsInterfaceManager] Failed to remove GSM cell broadcast subscription for MID range 60 to 60 from client com.android.cellbroadcastreceiver
07-30 18:03:44.796  1651  2807 D CellBroadcastConfigService: disabled cell broadcast channel 60
07-30 18:03:44.800  1651  2807 D CellBroadcastConfigService: disabling channels 919-928
07-30 18:03:44.806  1008  1454 D IccSmsInterfaceManager: [IccSmsInterfaceManager] disableGsmBroadcastRange
07-30 18:03:44.807  1008  1454 D IccSmsInterfaceManager: [IccSmsInterfaceManager] Failed to remove GSM cell broadcast subscription for MID range 919 to 928 from client com.android.cellbroadcastreceiver
07-30 18:03:44.807  1651  2807 D CellBroadcastConfigService: disabling cell broadcast ETWS test messages
07-30 18:03:44.814  1008  1215 D IccSmsInterfaceManager: [IccSmsInterfaceManager] disableGsmBroadcastRange
07-30 18:03:44.815  1008  1215 D IccSmsInterfaceManager: [IccSmsInterfaceManager] Failed to remove GSM cell broadcast subscription for MID range 4355 to 4355 from client com.android.cellbroadcastreceiver
ngoquang2708 commented 8 years ago

Fixed by commit https://github.com/ngoquang2708/android_packages_apps_CellBroadcastReceiver/commit/8384f1b073e473709683661b42a204adc90259ba.

pavlaras commented 3 years ago

Fixed by commit https://github.com/ngoquang2708/android_packages_apps_CellBroadcastReceiver/commit/8384f1b073e473709683661b42a204adc90259ba.

link deleted. which commit it was ?

ngoquang2708 commented 3 years ago

I cannot recall what I had changed it. Something related to disable CDMA emergency broadcast channels. You can take a look at the code here and figure it out. Sorry if this doesn't help much.