groupsky / nexus4-call-fixer

A fix to no audo problem with nexus 4 and cyanogenmod 11
Apache License 2.0
12 stars 1 forks source link

Doesn't reenable service #2

Open davepwsmith opened 9 years ago

davepwsmith commented 9 years ago

I'm afraid that this doesn't always turn the service back on, leaving me with the same wakelock issues as before. Happy to help debug etc in any way I can.

groupsky commented 9 years ago

Hi @davepwsmith,

Try to check the status of the service after a call using

adb shell dumpsys | grep 'Package \[com.google.android.gms\]' -A 50 | egrep 'disabledComponents:|enabledComponents:' -A 14 | egrep '$|CheckinService'

Then if the service appear in the disabledComponents try to enable it manually using

adb shell pm unblock com.google.android.gms/com.google.android.gms.checkin.CheckinService
adb shell pm enable com.google.android.gms/com.google.android.gms.checkin.CheckinService

If this doesn't help, then resort to phone restart.

I've put a new version that displays the status of the CheckinService.