[Android Q&A, Help & Troubleshooting] ^I'm_With_Stupid:
Porting Rom, crashes after "unfortunately the process com.android.phone has stopped"

I'm trying to port a 4.0.4 rom from the samsung galaxy note to the xperia play. I've crushed a good amount of bugs so far, but I still can't get it past the boot-splash except for a couple seconds after wiping the dalvik cache or not wiping data on first boot.

So when I flash my attempted port rom over itself with wiping everything but data it boots and I get to the android is updating screen and after it's finished optimizing all the apps a dialog box with "unfortunately the process com.android.phone has stopped" and I can see the android setup screen in the background. But immediately after the dialog box appears my phone soft reboots (it goes immediately to the boot-splash) and is stuck at the boot-splash.

If I flash the attempted port rom after wiping everything including data I'm just stuck at the boot-splash screen.

Here is the logcat when the phone crashes after the error dialog onscreen:

[ 01-06 06:21:43.507 2024:0x7e8 E/AndroidRuntime ]
FATAL EXCEPTION: main
java.lang.RuntimeException: Unable to create application com.android.phone.PhoneApp: java.lang.RuntimeException: java.lang.ClassNotFoundException: com.android.internal.telephony.SemcRIL
at android.app.ActivityThread.handleBindApplication(ActivityThread.java)
at android.app.ActivityThread.access$1300(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java)
at android.os.Handler.dispatchMessage(Handler.java)
at android.os.Looper.loop(Looper.java)
at android.app.ActivityThread.main(ActivityThread.java)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.RuntimeException: java.lang.ClassNotFoundException: com.android.internal.telephony.SemcRIL
at com.android.internal.telephony.PhoneFactory.makeDefaultPhone(PhoneFactory.java)
at com.android.internal.telephony.PhoneFactory.makeDefaultPhones(PhoneFactory.java)
at com.android.phone.PhoneApp.onCreate(PhoneApp.java:443)
at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java)
... 11 more
Caused by: java.lang.ClassNotFoundException: com.android.internal.telephony.SemcRIL
at java.lang.Class.classForName(Native Method)
at java.lang.Class.forName(Class.java:217)
at java.lang.Class.forName(Class.java:172)
... 15 more
Caused by: java.lang.NoClassDefFoundError: com/android/internal/telephony/SemcRIL
... 18 more
Caused by: java.lang.ClassNotFoundException: com.android.internal.telephony.SemcRIL
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:61)
at java.lang.ClassLoader.loadClass(ClassLoader.java:501)
at java.lang.ClassLoader.loadClass(ClassLoader.java:461)
... 18 more

Right here also seems to be where the setup wizard fails to start or something similar, does anyone know what this log means?

[ 01-06 07:09:05.237 1923:0x783 E/ViewRootImpl ]
IllegalArgumentException locking surface
java.lang.IllegalArgumentException
at android.view.Surface.lockCanvasNative(Native Method)
at android.view.Surface.lockCanvas(Surface.java)
at android.view.ViewRootImpl.draw(ViewRootImpl.java)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java)
at android.view.ViewRootImpl.handleMessage(ViewRootImpl.java)
at android.os.Handler.dispatchMessage(Handler.java)
at android.os.Looper.loop(Looper.java)
at android.app.ActivityThread.main(ActivityThread.java)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java)
at dalvik.system.NativeStart.main(Native Method)

[ 01-06 07:09:05.237 1923:0x783 D/PhoneStatusBar ]
disable: < EXPAND ICONS ALERTS ticker SYSTEM_INFO back HOME RECENT clock >

[ 01-06 07:09:05.237 1923:0x7cc I/StorageNotification ]
UMS connection changed to true (media state removed)

[ 01-06 07:09:05.237 2069:0x815 E/AndroidRuntime ]
FATAL EXCEPTION: main
java.lang.RuntimeException: Unable to get provider com.google.android.gsf.subscribedfeeds.SubscribedFeedsProvider: java.lang.NullPointerException
at android.app.ActivityThread.installProvider(ActivityThread.java)
at android.app.ActivityThread.installContentProviders(ActivityThread.java)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java)
at android.app.ActivityThread.access$1300(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java)
at android.os.Handler.dispatchMessage(Handler.java)
at android.os.Looper.loop(Looper.java)
at android.app.ActivityThread.main(ActivityThread.java)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.NullPointerException
at android.accounts.AccountManager.getAccounts(AccountManager.java)
at android.accounts.AccountManager.addOnAccountsUpdatedListener(AccountManager.java)
at com.google.android.gsf.subscribedfeeds.AbstractSyncableContentProvider.onCreate(AbstractSyncableContentProvider.java:169)
at com.google.android.gsf.subscribedfeeds.SubscribedFeedsProvider.onCreate(SubscribedFeedsProvider.java:78)
at android.content.ContentProvider.attachInfo(ContentProvider.java)
... 13 more

[ 01-06 07:09:05.247 2069:0x815 I/Process ]
Sending signal. PID: 2069 SIG: 9

[ 01-06 07:09:05.247 2069:0x815 E/AndroidRuntime ]
Error reporting crash
android.os.DeadObjectException
at android.os.BinderProxy.transact(Native Method)
at android.app.ActivityManagerProxy.handleApplicationCrash(ActivityManagerNative.java)
at com.android.internal.os.RuntimeInit$UncaughtHandler.uncaughtException(RuntimeInit.java)
at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:693)
at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:690)
at dalvik.system.NativeStart.main(Native Method)

[ 01-06 07:09:05.257 2020:0x7e4 E/InputQueue-JNI ]
channel '2bcfa598 com.google.android.setupwizard/com.google.android.setupwizard.WelcomeActivity (client)' ~ Publisher closed input channel or an error occurred. events=0x8

[ 01-06 07:09:05.267 1824:0x720 I/Zygote ]
Exit zygote because system server (1830) has terminated

[ 01-06 07:09:05.427 2118:0x846 D/AndroidRuntime ]

I hope someone can help me :p

Thank's to everyone in advance :fingers-crossed: