[RAZR HD Android Development] abuttino:
I thought I might put this on this forum for any of the developers to help out with porting this dialer to other devices

Enclosed in the zip is the files I have obtained from from the Nexus 5 that supports caller-id lookup and business lookup on the dialer. Although the google dialer works, it will not handle calls with the teleservice.apk that is included with CM11. If you make or receive calls with the the google dialer, it will still use the old dialer for call handling, incoming or outgoing. You cannot delete the original dialer because you have no way to answer or end calls.

The biggest reason I decided to make a push for this port is the incoming caller-id business lookup. This will be expanded to G+ information on Caller-ID in January and who knows what's next.

EDIT: New Information as follows:

In the package I've downloaded, Nexus 5 Experience for Nexus 4 and NONE of the MD5's matched the files I have. So, I decided to make a flashable zip of Teleservice.apk and the odex file in system\priv-app and telephonyprovider.apk and the odex file in system/app as well as the GoogleDialer.apk and odex file in system\priv-app.

The Nexus 5 Stock DOES use TelephonyProvider.

Although the com.android.phone hangs relentlessly, HOWEVER!!! I do get a Verizon Wireless' signal until I finish the FC with the "OK" button.

Any help with this? I think I am getting close.

This is what happens if I flash the dialer AFTER I've already established cellular service by flashing CM11, booting into the system, rebooting and flashing the dialer.

[ 11-23 20:26:56.699 2585: 2585 E/AndroidRuntime ]

FATAL EXCEPTION: main

Process: com.android.phone, PID: 2585

android.database.sqlite.SQLiteException: Can't downgrade database from version 589832 to 524296

at android.database.sqlite.SQLiteOpenHelper.onDowngrade(SQLiteOpenHelper.java:361)

at android.database.sqlite.SQLiteOpenHelper.getDatabaseLocked(SQLiteOpenHelper.java:255)

at android.database.sqlite.SQLiteOpenHelper.getReadableDatabase(SQLiteOpenHelper.java:188)

at com.android.providers.telephony.TelephonyProvider.query(TelephonyProvider.java:465)

at android.content.ContentProvider.query(ContentProvider.java:855)

at android.content.ContentProvider$Transport.query(ContentProvider.java:200)

at android.content.ContentResolver.query(ContentResolver.java:461)

at android.content.ContentResolver.query(ContentResolver.java:404)

at com.android.internal.telephony.dataconnection.DcTracker.createAllApnList(DcTracker.java:1910)

at com.android.internal.telephony.dataconnection.DcTracker.onRecordsLoaded(DcTracker.java:1257)

at com.android.internal.telephony.dataconnection.DcTracker.handleMessage(DcTracker.java:2139)

at android.os.Handler.dispatchMessage(Handler.java:102)

at android.os.Looper.loop(Looper.java:137)

at android.app.ActivityThread.main(ActivityThread.java:5062)

at java.lang.reflect.Method.invokeNative(Native Method)

at java.lang.reflect.Method.invoke(Method.java:515)

at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)

at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)

at dalvik.system.NativeStart.main(Native Method)

This is what happens if I flash the dialer at the same time I flash the rom.

[ 11-23 15:44:14.477 7986: 7986 E/AndroidRuntime ]

FATAL EXCEPTION: main

Process: com.android.phone, PID: 7986

java.lang.RuntimeException: Unable to create application com.android.phone.PhoneApp: java.lang.SecurityException: Permission Denial: broadcast asks to run as user -1 but is calling from user 0; this requires android.permission.INTERACT_ACROSS_USERS_FULL or android.permission.INTERACT_ACROSS_USERS

at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4392)

at android.app.ActivityThread.access$1400(ActivityThread.java:145)

at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1467)

at android.os.Handler.dispatchMessage(Handler.java:102)

at android.os.Looper.loop(Looper.java:137)

at android.app.ActivityThread.main(ActivityThread.java:5062)

at java.lang.reflect.Method.invokeNative(Native Method)

at java.lang.reflect.Method.invoke(Method.java:515)

at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)

at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)

at dalvik.system.NativeStart.main(Native Method)

Caused by: java.lang.SecurityException: Permission Denial: broadcast asks to run as user -1 but is calling from user 0; this requires android.permission.INTERACT_ACROSS_USERS_FULL or android.permission.INTERACT_ACROSS_USERS

at android.os.Parcel.readException(Parcel.java:1461)

at android.os.Parcel.readException(Parcel.java:1415)

at android.app.ActivityManagerProxy.broadcastIntent(ActivityManagerNative.java:2382)

at android.app.ActivityManagerNative.broadcastStickyIntent(ActivityManagerNative.java:96)

at com.android.internal.telephony.uicc.IccCardProxy.broadcastIccStateChangedIntent(IccCardProxy.java:344)

at com.android.internal.telephony.uicc.IccCardProxy.setExternalState(IccCardProxy.java:387)

at com.android.internal.telephony.uicc.IccCardProxy.setExternalState(IccCardProxy.java:393)

at com.android.internal.telephony.uicc.IccCardProxy.<init>(IccCardProxy.java:117)

at com.android.internal.telephony.PhoneProxy.<init>(PhoneProxy.java:85)

at com.android.internal.telephony.PhoneFactory.makeDefaultPhone(PhoneFactory.java:141)

at com.android.internal.telephony.PhoneFactory.makeDefaultPhones(PhoneFactory.java:59)

at com.android.phone.PhoneGlobals.onCreate(PhoneGlobals.java:391)

at com.android.phone.PhoneApp.onCreate(PhoneApp.java:38)

at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1007)

at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4389)

... 10 more

I also included a full logcat of each type of instance and the files I am flashing.

http://www.tinozplace.com/moto-kitkat/GoogleDialerProject-NotFlashable.zip

Thanks to anyone getting involved. If you can't help, please at least try to turn some developers onto this post.