[Android Software Development] ---UFO---:
I`m porting MIUIv5 3.9.13 4.2.2 from Galaxy Nexus.

After I replaced NFC.apk with one from my base I got this logcat and NFC is FCing.

I/NfcService(2636): Starting NFC service
D/NFCJNI (2636): NFC Service : loading JNI
D/BluetoothManagerService(770): Message: 20
D/BluetoothManagerService(770): Added callback: android.bluetooth.IBluetoothManagerCallback$Stub$Proxy@42eaf0f0:true
D/AndroidRuntime(2636): Shutting down VM
W/dalvikvm(2636): threadid=1: thread exiting with uncaught exception (group=0x41839930)
W/ActivityManager(770): Permission Denial: service asks to run as user -2 but is calling from user 0; this requires android.permission.INTERACT_ACROSS_USERS_FULL
E/AndroidRuntime(2636): FATAL EXCEPTION: main
E/AndroidRuntime(2636): java.lang.RuntimeException: Unable to create application com.android.nfc.NfcApplication: java.lang.SecurityException: Permission Denial: service asks to run as user -2 but is calling from user 0; this requires android.permission.INTERACT_ACROSS_USERS_FULL
E/AndroidRuntime(2636):	at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4423)
E/AndroidRuntime(2636):	at android.app.ActivityThread.access$1300(ActivityThread.java:142)
E/AndroidRuntime(2636):	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1295)
E/AndroidRuntime(2636):	at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime(2636):	at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime(2636):	at android.app.ActivityThread.main(ActivityThread.java:5070)
E/AndroidRuntime(2636):	at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime(2636):	at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime(2636):	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:808)
E/AndroidRuntime(2636):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:575)
E/AndroidRuntime(2636):	at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime(2636): Caused by: java.lang.SecurityException: Permission Denial: service asks to run as user -2 but is calling from user 0; this requires android.permission.INTERACT_ACROSS_USERS_FULL
E/AndroidRuntime(2636):	at android.os.Parcel.readException(Parcel.java:1425)
E/AndroidRuntime(2636):	at android.os.Parcel.readException(Parcel.java:1379)
E/AndroidRuntime(2636):	at android.app.ActivityManagerProxy.bindService(ActivityManagerNative.java:2735)
E/AndroidRuntime(2636):	at android.app.ContextImpl.bindService(ContextImpl.java:1458)
E/AndroidRuntime(2636):	at android.content.ContextWrapper.bindService(ContextWrapper.java:479)
E/AndroidRuntime(2636):	at com.android.nfc.handover.HandoverManager.<init>(HandoverManager.java:163)
E/AndroidRuntime(2636):	at com.android.nfc.NfcService.<init>(NfcService.java:336)
E/AndroidRuntime(2636):	at com.android.nfc.NfcApplication.onCreate(NfcApplication.java:43)
E/AndroidRuntime(2636):	at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1000)
E/AndroidRuntime(2636):	at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4420)
E/AndroidRuntime(2636):	... 10 more
I/Process (2636): Sending signal. PID: 2636 SIG: 9
W/ActivityManager(770): Process com.android.nfc has crashed too many times: killing!
I/ActivityManager(770): Process com.android.nfc (pid 2636) has died.

Is there any solution for this?

Thanks.