[General Questions and Answers] Loller79:
Hello guys, i was trying to port MIUI on my device but i encountred some errors that i can't understand then i ask it to you.

D/dalvikvm( 1840): GC_EXPLICIT freed 1967K, 31% free 10825K/15555K, paused 13ms+20ms
E/System ( 1840): ******************************************
E/System ( 1840): ************ Failure starting core service
E/System ( 1840): java.lang.RuntimeException: Unable to find android system package
E/System ( 1840):	at com.android.server.am.ActivityManagerService.setSystemProcess(ActivityManagerService.java:1358)
E/System ( 1840):	at com.android.server.ServerThread.run(SystemServer.java:176)
E/System ( 1840): Caused by: android.content.pm.PackageManager$NameNotFoundException: android
E/System ( 1840):	at android.app.ApplicationPackageManager.getApplicationInfo(ApplicationPackageManager.java:208)
E/System ( 1840):	at com.android.server.am.ActivityManagerService.setSystemProcess(ActivityManagerService.java:1339)
E/System ( 1840):	... 1 more
I/SystemServer( 1840): Input Method Service
W/InputManagerService( 1840): Couldn't create dir.: /data/system/inputmethod
W/SystemServer( 1840): ***********************************************
F/SystemServer( 1840): BOOT FAILURE starting Input Manager Service
F/SystemServer( 1840): java.lang.SecurityException: Unable to find app for caller android.app.ActivityThread$ApplicationThread@414c1420 (pid=1840) when registering receiver android.app.LoadedApk$ReceiverDispatcher$InnerReceiver@41476f38
F/SystemServer( 1840):	at com.android.server.am.ActivityManagerService.registerReceiver(ActivityManagerService.java:12030)
F/SystemServer( 1840):	at android.app.ContextImpl.registerReceiverInternal(ContextImpl.java:1055)
F/SystemServer( 1840):	at android.app.ContextImpl.registerReceiver(ContextImpl.java:1030)
F/SystemServer( 1840):	at android.app.ContextImpl.registerReceiver(ContextImpl.java:1024)
F/SystemServer( 1840):	at com.android.internal.content.PackageMonitor.register(PackageMonitor.java:65)
F/SystemServer( 1840):	at com.android.server.InputMethodManagerService.<init>(InputMethodManagerService.java:560)
F/SystemServer( 1840):	at com.android.server.ServerThread.run(SystemServer.java:271)
I/SystemServer( 1840): Accessibility Manager
F/SystemServer( 1840): BOOT FAILURE starting Accessibility Manager
F/SystemServer( 1840): java.lang.SecurityException: Unable to find app for caller android.app.ActivityThread$ApplicationThread@414c1420 (pid=1840) when registering receiver android.app.LoadedApk$ReceiverDispatcher$InnerReceiver@41489458
F/SystemServer( 1840):	at com.android.server.am.ActivityManagerService.registerReceiver(ActivityManagerService.java:12030)
F/SystemServer( 1840):	at android.app.ContextImpl.registerReceiverInternal(ContextImpl.java:1055)
F/SystemServer( 1840):	at android.app.ContextImpl.registerReceiver(ContextImpl.java:1030)
F/SystemServer( 1840):	at android.app.ContextImpl.registerReceiver(ContextImpl.java:1024)
F/SystemServer( 1840):	at com.android.internal.content.PackageMonitor.register(PackageMonitor.java:65)
F/SystemServer( 1840):	at com.android.server.accessibility.AccessibilityManagerService.registerPackageChangeAndBootCompletedBroadcastReceiver(AccessibilityManagerService.java:278)
F/SystemServer( 1840):	at com.android.server.accessibility.AccessibilityManagerService.<init>(AccessibilityManagerService.java:172)
F/SystemServer( 1840):	at com.android.server.ServerThread.run(SystemServer.java:279)
W/SystemServer( 1840): ***********************************************
F/SystemServer( 1840): BOOT FAILURE making display ready
F/SystemServer( 1840): java.lang.NullPointerException
F/SystemServer( 1840):	at com.android.server.ServerThread.run(SystemServer.java:287)
W/SystemServer( 1840): ***********************************************
W/SystemServer( 1840): ***********************************************
F/SystemServer( 1840): BOOT FAILURE performing boot dexopt
F/SystemServer( 1840): java.lang.NullPointerException
F/SystemServer( 1840):	at com.android.server.am.ActivityManagerService.showBootMessage(ActivityManagerService.java:4084)
F/SystemServer( 1840):	at com.android.server.pm.PackageManagerService.performBootDexOpt(PackageManagerService.java:3033)
F/SystemServer( 1840):	at com.android.server.ServerThread.run(SystemServer.java:293)
W/dalvikvm( 1840): threadid=12: thread exiting with uncaught exception (group=0x40a3c1f8)
E/AndroidRuntime( 1840): *** FATAL EXCEPTION IN SYSTEM PROCESS: android.server.ServerThread
E/AndroidRuntime( 1840): java.lang.NullPointerException
E/AndroidRuntime( 1840):	at com.android.server.am.ActivityManagerService.showBootMessage(ActivityManagerService.java:4084)
E/AndroidRuntime( 1840):	at com.android.server.ServerThread.run(SystemServer.java:299)
I/Process ( 1840): Sending signal. PID: 1840 SIG: 9
I/ServiceManager( 1646): service 'batteryinfo' died
I/ServiceManager( 1646): service 'usagestats' died
I/ServiceManager( 1646): service 'package' died
I/ServiceManager( 1646): service 'sensorservice' died
I/ServiceManager( 1646): service 'meminfo' died
I/ServiceManager( 1646): service 'gfxinfo' died
I/ServiceManager( 1646): service 'cpuinfo' died
I/ServiceManager( 1646): service 'entropy' died
I/ServiceManager( 1646): service 'permission' died
I/ServiceManager( 1646): service 'activity' died
I/ServiceManager( 1646): service 'telephony.registry' died
I/ServiceManager( 1646): service 'power' died
E/installd( 1659): eof
E/installd( 1659): failed to read size
I/installd( 1659): closing connection
I/Zygote ( 1655): Exit zygote because system server (1840) has terminated
I/ServiceManager( 1646): service 'media.audio_flinger' died
I/ServiceManager( 1646): service 'media.player' died
I/ServiceManager( 1646): service 'media.camera' died
I/ServiceManager( 1646): service 'media.audio_policy' died

Thank you.