[Android Q&A, Help & Troubleshooting] rodman01:
I am trying to build a custom rom for Nexus 4 (mako) based on cm with many changes. The rom is building fine on several devices but for mako it gives a yes fc party after the start up. Main thing is in my opinion the android.phone fc...does anybody have an idea what mistake causes the fc? If I take the clean cm manifest it builds well and the rom is working proper. But if I use the rom specific manifest I got these errors. Below is a part of the logcat. The errors are repeating as long as I record the logcat. Any idea is highly appreciated, I already searched and tried several things but without success and without any changes. Many thanks in advance!!

E/AndroidRuntime( 1732): FATAL EXCEPTION: main
E/AndroidRuntime( 1732): Process: com.android.phone, PID: 1732
E/AndroidRuntime( 1732): java.lang.RuntimeException: Unable to instantiate application com.android.phone.PhoneApp: java.lang.ClassNotFoundException: Didn't find class "com.android.phone.PhoneApp" on path: DexPathList[[zip file "/system/priv-app/TeleService.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]
E/AndroidRuntime( 1732):	at android.app.LoadedApk.makeApplication(LoadedApk.java:516)
E/AndroidRuntime( 1732):	at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4388)
E/AndroidRuntime( 1732):	at android.app.ActivityThread.access$1500(ActivityThread.java:145)
E/AndroidRuntime( 1732):	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1266)
E/AndroidRuntime( 1732):	at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime( 1732):	at android.os.Looper.loop(Looper.java:136)
E/AndroidRuntime( 1732):	at android.app.ActivityThread.main(ActivityThread.java:5088)
E/AndroidRuntime( 1732):	at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 1732):	at java.lang.reflect.Method.invoke(Method.java:515)
E/AndroidRuntime( 1732):	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:791)
E/AndroidRuntime( 1732):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:607)
E/AndroidRuntime( 1732):	at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 1732): Caused by: java.lang.ClassNotFoundException: Didn't find class "com.android.phone.PhoneApp" on path: DexPathList[[zip file "/system/priv-app/TeleService.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]
E/AndroidRuntime( 1732):	at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
E/AndroidRuntime( 1732):	at java.lang.ClassLoader.loadClass(ClassLoader.java:497)
E/AndroidRuntime( 1732):	at java.lang.ClassLoader.loadClass(ClassLoader.java:457)
E/AndroidRuntime( 1732):	at android.app.Instrumentation.newApplication(Instrumentation.java:975)
E/AndroidRuntime( 1732):	at android.app.LoadedApk.makeApplication(LoadedApk.java:511)
E/AndroidRuntime( 1732):	... 11 more
E/AndroidRuntime( 1732):	Suppressed: java.io.IOException: unable to open DEX file
E/AndroidRuntime( 1732):	at dalvik.system.DexFile.openDexFileNative(Native Method)
E/AndroidRuntime( 1732):	at dalvik.system.DexFile.openDexFile(DexFile.java:296)
E/AndroidRuntime( 1732):	at dalvik.system.DexFile.<init>(DexFile.java:80)
E/AndroidRuntime( 1732):	at dalvik.system.DexFile.<init>(DexFile.java:59)
E/AndroidRuntime( 1732):	at dalvik.system.DexPathList.loadDexFile(DexPathList.java:263)
E/AndroidRuntime( 1732):	at dalvik.system.DexPathList.makeDexElements(DexPathList.java:230)
E/AndroidRuntime( 1732):	at dalvik.system.DexPathList.<init>(DexPathList.java:112)
E/AndroidRuntime( 1732):	at dalvik.system.BaseDexClassLoader.<init>(BaseDexClassLoader.java:48)
E/AndroidRuntime( 1732):	at dalvik.system.PathClassLoader.<init>(PathClassLoader.java:65)
E/AndroidRuntime( 1732):	at android.app.ApplicationLoaders.getClassLoader(ApplicationLoaders.java:57)
E/AndroidRuntime( 1732):	at android.app.LoadedApk.getClassLoader(LoadedApk.java:326)
E/AndroidRuntime( 1732):	at android.app.LoadedApk.makeApplication(LoadedApk.java:508)
E/AndroidRuntime( 1732):	... 11 more