[G 2014 Original Android Development] justshrey:
Issue with Outgoing Calls and Theme Selector

Hi,

My first post on XDA after being a long time lurker. Finally, moved to Cynogenmod on all of my phones after getting fed up with the performance of the stock ROMs. Overall, quite a painless experience :)

So essentially, 2 issues. Both I have been able to success fully replicate on the last two nightlies. (20160507 & 20160508)

Theme Selector does not work - i.e on applying a theme as theme has stopped

Relevant section of log -cat

05-09 18:24:29.519 14328-14811/system_process D/ConnectivityService﹕ updateNetworkScore for NetworkAgentInfo [WIFI () - 100] to 60
05-09 18:24:29.604 14023-14456/? D/AudioFlinger﹕ mixer(0xb416e008) throttle end: throttle time(10)
05-09 18:24:29.734 12009-12009/com.cyngn.themestore D/AndroidRuntime﹕ Shutting down VM
05-09 18:24:29.738 12009-12009/com.cyngn.themestore E/AndroidRuntime﹕ FATAL EXCEPTION: main
Process: com.cyngn.themestore, PID: 12009
Theme: themes:{}
java.lang.NoClassDefFoundError: Failed resolution of: Landroid/provider/ThemesContract$ThemesColumns;
at com.cyngn.themestore.util.j.f(SourceFile:296)
at com.cyngn.themestore.download.e.G(SourceFile:60)
at com.cyngn.themestore.download.e.H(SourceFile:69)
at com.cyngn.themestore.download.e.J(SourceFile:87)
at com.cyngn.themestore.ui.detail.m.cS(SourceFile:189)
at com.cyngn.themestore.ui.detail.ComponentDetailFragment.p(SourceFile:400)
at com.cyngn.themestore.ui.detail.ComponentDetailFragment.a(SourceFile:62)
at com.cyngn.themestore.ui.detail.h.a(SourceFile:457)
at com.cyngn.themestore.ui.detail.h.au(SourceFile:451)
at com.cyngn.themestore.api.GsonObjectRequest.as(SourceFile:101)
at com.android.volley.ExecutorDelivery$ResponseDeliveryRunnable.run(SourceFile:99)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5461)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
Caused by: java.lang.ClassNotFoundException: Didn't find class "android.provider.ThemesContract$ThemesColumns" on path: DexPathList[[zip file "/system/priv-app/ThemeStore/ThemeStore.apk"],nativeLibraryDirectories=[/system/priv-app/ThemeStore/lib/arm, /vendor/lib, /system/lib]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
************at com.cyngn.themestore.util.j.f(SourceFile:296)
************at com.cyngn.themestore.download.e.G(SourceFile:60)
************at com.cyngn.themestore.download.e.H(SourceFile:69)
************at com.cyngn.themestore.download.e.J(SourceFile:87)
************at com.cyngn.themestore.ui.detail.m.cS(SourceFile:189)
************at com.cyngn.themestore.ui.detail.ComponentDetailFragment.p(SourceFile:400)
************at com.cyngn.themestore.ui.detail.ComponentDetailFragment.a(SourceFile:62)
************at com.cyngn.themestore.ui.detail.h.a(SourceFile:457)
************at com.cyngn.themestore.ui.detail.h.au(SourceFile:451)
************at com.cyngn.themestore.api.GsonObjectRequest.as(SourceFile:101)
************at com.android.volley.ExecutorDelivery$ResponseDeliveryRunnable.run(SourceFile:99)
************at android.os.Handler.handleCallback(Handler.java:739)
************at android.os.Handler.dispatchMessage(Handler.java:95)
************at android.os.Looper.loop(Looper.java:148)
************at android.app.ActivityThread.main(ActivityThread.java:5461)
************at java.lang.reflect.Method.invoke(Native Method)
************at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
************at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
Suppressed: java.lang.ClassNotFoundException: android.provider.ThemesContract$ThemesColumns
at java.lang.Class.classForName(Native Method)
at java.lang.BootClassLoader.findClass(ClassLoader.java:781)
at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)
at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
... 19 more
Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack trace available
05-09 18:24:29.741 14328-17804/system_process W/ActivityManager﹕ Process com.cyngn.themestore has crashed too many times: killing!
05-09 18:24:29.743 14328-17804/system_process W/ActivityManager﹕ Force finishing activity com.cyngn.themestore/.ui.StoreActivity
05-09 18:24:29.751 14328-17804/system_process W/ActivityManager﹕ Wtf, activity ActivityRecord{9cc7150 u0 com.cyngn.themestore/.ui.StoreActivity t164 f} in proc activity list not using proc ProcessRecord{daa7338 12009:com.cyngn.themestore/u0a131}?!? Using null instead.
05-09 18:24:29.756 14328-17804/system_process I/ActivityManager﹕ Killing 12009:com.cyngn.themestore/u0a131 (adj 9): crash
05-09 18:24:29.780 14328-15362/system_process D/GraphicsStats﹕ Buffer count: 5

Placing a call causes the phone to reboot

This one is the main problem - seems to be some sort of permission issue which i am not able to figure out . Happen even if i use a different dialler. ( tried standard google dialler ) .

Relavent section of logcat

05-09 18:30:21.545 14328-14328/system_process I/Telecom﹕ Event: Call 2: CREATED, null
05-09 18:30:21.547 14328-14328/system_process I/Telecom﹕ Event: Call 2: SET_CONNECTING, ComponentInfo{com.android.phone/com.android.services.telephony.TelephonyConnectionService}, [da4b9237bacccdf19c0760cab7aec4a8359010b0], UserHandle{0}
05-09 18:30:21.561 14328-14328/system_process I/Telecom﹕ PhoneStateBroadcaster: Broadcasted state change: 2
05-09 18:30:21.561 14328-14352/system_process W/BroadcastQueue﹕ Permission Denial: receiving Intent { act=android.intent.action.PHONE_STATE flg=0x10 (has extras) } to ProcessRecord{f3acca0 15493:com.cyngn.dialer/u0a129} (pid=15493, uid=10129) requires android.permission.READ_PRIVILEGED_PHONE_STATE due to sender android (uid 1000)
05-09 18:30:21.561 14328-14352/system_process W/BroadcastQueue﹕ Permission Denial: receiving Intent { act=android.intent.action.PHONE_STATE flg=0x10 (has extras) } to ProcessRecord{24e3872 14878:com.android.systemui/u0a19} (pid=14878, uid=10019) requires android.permission.READ_PHONE_STATE due to sender android (uid 1000)
05-09 18:30:21.561 14328-14352/system_process W/BroadcastQueue﹕ Permission Denial: receiving Intent { act=android.intent.action.PHONE_STATE flg=0x10 (has extras) } to ProcessRecord{24e3872 14878:com.android.systemui/u0a19} (pid=14878, uid=10019) requires android.permission.READ_PHONE_STATE due to sender android (uid 1000)
05-09 18:30:21.562 14328-14352/system_process W/BroadcastQueue﹕ Permission Denial: receiving Intent { act=android.intent.action.PHONE_STATE flg=0x10 (has extras) } to com.truecaller.cyanogen/com.truecaller.wizard.service.Receiver requires android.permission.READ_PRIVILEGED_PHONE_STATE due to sender android (uid 1000)
05-09 18:30:21.562 14328-14352/system_process W/BroadcastQueue﹕ Permission Denial: receiving Intent { act=android.intent.action.PHONE_STATE flg=0x10 (has extras) } to org.telegram.messenger/.CallReceiver requires android.permission.READ_PRIVILEGED_PHONE_STATE due to sender android (uid 1000)
05-09 18:30:21.562 14328-14352/system_process W/BroadcastQueue﹕ Permission Denial: receiving Intent { act=android.intent.action.PHONE_STATE flg=0x10 (has extras) } to com.pushbullet.android/.phone.PhoneStateReceiver requires android.permission.READ_PRIVILEGED_PHONE_STATE due to sender android (uid 1000)
05-09 18:30:21.562 14328-14352/system_process W/BroadcastQueue﹕ Permission Denial: receiving Intent { act=android.intent.action.PHONE_STATE flg=0x10 (has extras) } to com.kms.free/com.kms.antispam.PhoneStateBroadcastReceiver requires android.permission.READ_PRIVILEGED_PHONE_STATE due to sender android (uid 1000)
05-09 18:30:21.569 14328-15645/system_process W/BroadcastQueue﹕ Permission Denial: receiving Intent { act=android.intent.action.PHONE_STATE flg=0x10 (has extras) } to org.telegram.messenger/.CallReceiver requires android.permission.READ_PHONE_STATE due to sender android (uid 1000)
05-09 18:30:21.576 14328-14328/system_process I/Telecom﹕ CallAudioManager: updateAudioStreamAndMode : mIsRinging: false, mIsTonePlaying: false, call: [10770317, CONNECTING, null, tel:*************, A, childs(0), has_parent(false), [[Capabilities:]], [[Properties:]], false, ComponentInfo{com.android.phone/com.android.services.telephony.TelephonyConnectionService}, [da4b9237bacccdf19c0760cab7aec4a8359010b0], UserHandle{0}]
05-09 18:30:21.578 14328-14328/system_process W/Telecom﹕ InCallController: Service does not have CONTROL_INCALL_EXPERIENCE permission: com.google.android.dialer and is not system or default dialer.
05-09 18:30:21.591 14328-14328/system_process D/AndroidRuntime﹕ Shutting down VM
05-09 18:30:21.595 14328-14328/system_process E/AndroidRuntime﹕ *** FATAL EXCEPTION IN SYSTEM PROCESS: main
java.lang.RuntimeException: Unable to start receiver com.android.server.telecom.components.PrimaryCallReceiver: java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.Object.hashCode()' on a null object reference
at android.app.ActivityThread.handleReceiver(ActivityThread.java:2766)
at android.app.ActivityThread.-wrap14(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1440)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:148)
at com.android.server.SystemServer.run(SystemServer.java:300)
at com.android.server.SystemServer.main(SystemServer.java:172)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.Object.hashCode()' on a null object reference
at java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:772)
at java.util.concurrent.ConcurrentHashMap.containsKey(ConcurrentHashMap.java:800)
at com.android.server.telecom.InCallController.bindToInCallService(InCallController.java:426)
at com.android.server.telecom.InCallController.bindToServices(InCallController.java:404)
at com.android.server.telecom.InCallController.onCallAdded(InCallController.java:176)
at com.android.server.telecom.CallsManager.addCall(CallsManager.java:1588)
at com.android.server.telecom.CallsManager.startOutgoingCall(CallsManager.java:792)
at com.android.server.telecom.CallIntentProcessor.processOutgoingCallIntent(CallIntentProcessor.java:147)
at com.android.server.telecom.CallIntentProcessor.processIntent(CallIntentProcessor.java:56)
at com.android.server.telecom.components.PrimaryCallReceiver.onReceive(PrimaryCallReceiver.java:20)
at android.app.ActivityThread.handleReceiver(ActivityThread.java:2759)
************at android.app.ActivityThread.-wrap14(ActivityThread.java)
************at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1440)
************at android.os.Handler.dispatchMessage(Handler.java:102)
************at android.os.Looper.loop(Looper.java:148)
************at com.android.server.SystemServer.run(SystemServer.java:300)
************at com.android.server.SystemServer.main(SystemServer.java:172)
************at java.lang.reflect.Method.invoke(Native Method)
************at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
************at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
05-09 18:30:21.620 14328-14328/system_process I/Process﹕ Sending signal. PID: 14328 SIG: 9
05-09 18:30:21.674 210-210/? I/ServiceManager﹕ service 'netpolicy' died
05-09 18:30:21.674 210-210/? I/ServiceManager﹕ service 'mount' died
05-09 18:30:21.674 210-210/? I/ServiceManager﹕ service 'power' died
05-09 18:30:21.675 210-210/? I/ServiceManager﹕ service 'appops' died
..
.
.
.
.
.
05-09 18:30:21.705 14878-14878/com.android.systemui E/AndroidRuntime﹕ Error reporting crash
android.os.DeadObjectException
at android.os.BinderProxy.transactNative(Native Method)
at android.os.BinderProxy.transact(Binder.java:503)
at android.app.ActivityManagerProxy.getConfiguration(ActivityManagerNative.java:3964)
at com.android.internal.os.RuntimeInit$UncaughtHandler.uncaughtException(RuntimeInit.java:88)
at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:693)
at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:690)
05-09 18:30:21.705 14878-14878/com.android.systemui I/Process﹕ Sending signal. PID: 14878 SIG: 9
05-09 18:30:21.713 15524-15524/com.kms.free E/KMS﹕ We don't have enough permissions. PHONE group is required
05-09 18:30:21.729 15493-15493/com.cyngn.dialer E/AccessibilityManager﹕ Error during sending EventType: TYPE_WINDOW_CONTENT_CHANGED; EventTime: 10000013; PackageName: com.cyngn.dialer; MovementGranularity: 0; Action: 0 [ ClassName: android.widget.ListView; Text: []; ContentDescription: null; ItemCount: 5; CurrentItemIndex: -1; IsEnabled: true; IsPassword: false; IsChecked: false; IsFullScreen: false; Scrollable: false; BeforeText: null; FromIndex: 0; ToIndex: 4; ScrollX: -1; ScrollY: -1; MaxScrollX: -1; MaxScrollY: -1; AddedCount: -1; RemovedCount: -1; ParcelableData: null ]; recordCount: 0
android.os.DeadObjectException
at android.os.BinderProxy.transactNative(Native Method)
at android.os.BinderProxy.transact(Binder.java:503)
at android.view.accessibility.IAccessibilityManager$Stub$Proxy.sendAccessibilityEvent(IAccessibilityManager.java:239)
at android.view.accessibility.AccessibilityManager.sendAccessibilityEvent(AccessibilityManager.java:320)
at android.view.ViewRootImpl.requestSendAccessibilityEvent(ViewRootImpl.java:6389)
at android.view.ViewGroup.requestSendAccessibilityEvent(ViewGroup.java:880)
at android.view.ViewGroup.requestSendAccessibilityEvent(ViewGroup.java:880)
at android.view.ViewGroup.requestSendAccessibilityEvent(ViewGroup.java:880)
at android.view.ViewGroup.requestSendAccessibilityEvent(ViewGroup.java:880)
at android.view.ViewGroup.requestSendAccessibilityEvent(ViewGroup.java:880)
at android.view.ViewGroup.requestSendAccessibilityEvent(ViewGroup.java:880)
at android.view.ViewGroup.requestSendAccessibilityEvent(ViewGroup.java:880)
at android.view.ViewGroup.requestSendAccessibilityEvent(ViewGroup.java:880)
at android.view.View.sendAccessibilityEventUncheckedInternal(View.java:5839)
at android.view.View.sendAccessibilityEventUnchecked(View.java:5818)
at android.view.View$SendViewStateChangedAccessibilityEvent.run(View.java:22329)
at android.view.View$SendViewStateChangedAccessibilityEvent.runOrPost(View.java:22362)
at android.view.View.notifyViewAccessibilityStateChangedIfNeeded(View.java:8784)
at android.widget.AbsListView$RecycleBin.addScrapView(AbsListView.java:6643)
at android.widget.ListView.layoutChildren(ListView.java:1644)
at se.emilsjolander.stickylistheaders.WrapperViewList.layoutChildren(WrapperViewList.java:193)
at android.widget.AbsListView.onLayout(AbsListView.java:2148)
at android.view.View.layout(View.java:16639)
at android.view.ViewGroup.layout(ViewGroup.java:5437)
at se.emilsjolander.stickylistheaders.StickyListHeadersListView.onLayout(StickyListHeadersListView.java:255)
at android.view.View.layout(View.java:16639)
at android.view.ViewGroup.layout(ViewGroup.java:5437)
at android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)
at android.widget.FrameLayout.onLayout(FrameLayout.java:273)
at android.view.View.layout(View.java:16639)
at android.view.ViewGroup.layout(ViewGroup.java:5437)
at android.support.v4.view.ViewPager.onLayout(ViewPager.java:1594)
at android.view.View.layout(View.java:16639)
at android.view.ViewGroup.layout(ViewGroup.java:5437)
at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1735)
at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1579)
at android.widget.LinearLayout.onLayout(LinearLayout.java:1488)
at android.view.View.layout(View.java:16639)
at android.view.ViewGroup.layout(ViewGroup.java:5437)
at android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)
at android.widget.FrameLayout.onLayout(FrameLayout.java:273)
at android.view.View.layout(View.java:16639)
at android.view.ViewGroup.layout(ViewGroup.java:5437)
at android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)
at android.widget.FrameLayout.onLayout(FrameLayout.java:273)
at android.view.View.layout(View.java:16639)
at android.view.ViewGroup.layout(ViewGroup.java:5437)
at android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)
at android.widget.FrameLayout.onLayout(FrameLayout.java:273)
at android.view.View.layout(View.java:16639)
at android.view.ViewGroup.layout(ViewGroup.java:5437)
at android.widget.FrameLayout.layoutChildren(Fr
05-09 18:30:21.731 15493-15493/com.cyngn.dialer W/TelecomManager﹕ Telecom Service not found.
05-09 18:30:21.735 11379-11496/android.process.acore E/DatabaseUtils﹕ Writing exception to parcel
java.lang.SecurityException: Permission Denial: reading com.android.providers.contacts.ContactsProvider2 uri content://com.android.contacts/phone_lookup/%2B971528457632 from pid=15493, uid=10129 requires android.permission.READ_CONTACTS, or grantUriPermission()
at android.content.ContentProvider.enforceReadPermissionInner(ContentProvider.java:605)
at android.content.ContentProvider$Transport.enforceReadPermission(ContentProvider.java:480)
at android.content.ContentProvider$Transport.query(ContentProvider.java:211)
at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:112)
at android.os.Binder.execTransact(Binder.java:453)
05-09 18:30:21.736 15493-16242/com.cyngn.dialer E/AndroidRuntime﹕ Error reporting crash
android.os.DeadObjectException
at android.os.BinderProxy.transactNative(Native Method)
at android.os.BinderProxy.transact(Binder.java:503)
at android.app.ActivityManagerProxy.getConfiguration(ActivityManagerNative.java:3964)
at com.android.internal.os.RuntimeInit$UncaughtHandler.uncaughtException(RuntimeInit.java:88)
at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:693)
at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:690)
05-09 18:30:21.736 15493-16242/com.cyngn.dialer I/Process﹕ Sending signal. PID: 15493 SIG: 9
05-09 18:30:21.780 209-209/? I/lowmemorykiller﹕ ActivityManager disconnected
05-09 18:30:21.780 209-209/? I/lowmemorykiller﹕ Closing Activity Manager data connection
05-09 18:30:22.079 16245-16256/? D/libEGL﹕ loaded /vendor/lib/egl/libEGL_adreno.so
05-09 18:30:22.084 16245-16256/? D/libEGL﹕ loaded /vendor/lib/egl/libGLESv1_CM_adreno.so
05-09 18:30:22.136 16245-16256/? D/libEGL﹕ loaded /vendor/lib/egl/libGLESv2_adreno.so
05-09 18:30:22.157 16245-16256/? I/Adreno-EGL﹕ <qeglDrvAPI_eglInitialize:379>: QUALCOMM Build: 10/09/15, 6cbbf7d, I3193f6e94a
05-09 18:30:22.185 16245-16256/? E/BootAnimation﹕ couldn't find audio_conf.txt
05-09 18:30:22.224 16245-16256/? D/BootAnimation﹕ Use save memory method, maybe small fps in actual.
05-09 18:30:22.820 15319-15319/com.android.phone D/AndroidRuntime﹕ Shutting down VM
05-09 18:30:22.821 15319-15319/com.android.phone E/AndroidRuntime﹕ Error reporting crash
android.os.DeadObjectException
at android.os.BinderProxy.transactNative(Native Method)
at android.os.BinderProxy.transact(Binder.java:503)
at android.app.ActivityManagerProxy.getConfiguration(ActivityManagerNative.java:3964)
at com.android.internal.os.RuntimeInit$UncaughtHandler.uncaughtException(RuntimeInit.java:88)
at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:693)
at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:690)
.
.
.
.
.
.

What is your--

Phone model (XT1063/XT1064/XT1068/XT1069): XT1068

CM version: cm-13.0-20160507-NIGHTLY-titan.zip

CM Download url: mirror.cyanogenmod.org/jenkins/160821/cm-13.0-20160507-NIGHTLY-titan.zip

Gapps version: open_gapps-arm-6.0-micro-20160507

Did you--

wipe: yup

restore with titanium backup: nope

reboot after having the issue: yup

Are you using--

a task killer: nope

a non-stock kernel: nope

CMSettings/Performance settings (other than stock): nope

Dual SIM: yup

other modifications: Added official cm-apps from here cyngn.com/c-apps

Provide any additional information (observations/frequency of problem/last version it worked on/etc) as needed:

Issue can be replicated on both the last two nightlies

Let me know if you guys need more details.

Shrey