[Miscellaneous Android Development] henry0504:
I built cm11 for aries. The building output showed no error at all. I flashed the zip via sideload , and got the following error (similar)

E/AndroidRuntime( 4477): Original WTF:
E/AndroidRuntime( 4477): android.util.Log$TerribleFailure: BOOT FAILURE starting
Input Manager Service
E/AndroidRuntime( 4477): at android.util.Log.wtf(Log.java:290)
E/AndroidRuntime( 4477): at android.util.Log.wtf(Log.java:286)
E/AndroidRuntime( 4477): at com.android.server.ServerThread.reportWtf(Sys
temServer.java:106)
E/AndroidRuntime( 4477): at com.android.server.ServerThread.initAndLoop(S
ystemServer.java:417)
E/AndroidRuntime( 4477): at com.android.server.SystemServer.main(SystemSe
rver.java:1386)
E/AndroidRuntime( 4477): at java.lang.reflect.Method.invokeNative(Native
Method)
E/AndroidRuntime( 4477): at java.lang.reflect.Method.invoke(Method.java:5
15)
E/AndroidRuntime( 4477): at com.android.internal.os.ZygoteInit$MethodAndA
rgsCaller.run(ZygoteInit.java:732)
E/AndroidRuntime( 4477): at com.android.internal.os.ZygoteInit.main(Zygot
eInit.java:566)
E/AndroidRuntime( 4477): at dalvik.system.NativeStart.main(Native Method)

E/AndroidRuntime( 4477): Caused by: java.lang.NullPointerException
E/AndroidRuntime( 4477): at com.android.server.InputMethodManagerService.
<init>(InputMethodManagerService.java:633)
E/AndroidRuntime( 4477): at com.android.server.ServerThread.initAndLoop(S
ystemServer.java:414)
E/AndroidRuntime( 4477): ... 6 more

Don't know what's going on even googling... and i found that when i pushed framework-res.apk and services.jar into /system/framework/, bootloops occur too! So strange!

I beg your help!! Thanks must be given!!:o

Full log when booting:

E/AndroidRuntime( 4477): java.lang.NullPointerException
E/AndroidRuntime( 4477): at com.android.internal.os.RuntimeInit.wtf(Runti
meInit.java:337)
E/AndroidRuntime( 4477): at android.util.Log$1.onTerribleFailure(Log.java
:104)
E/AndroidRuntime( 4477): at android.util.Log.wtf(Log.java:293)
E/AndroidRuntime( 4477): at android.util.Log.wtf(Log.java:286)
E/AndroidRuntime( 4477): at com.android.server.ServerThread.reportWtf(Sys
temServer.java:106)
E/AndroidRuntime( 4477): at com.android.server.ServerThread.initAndLoop(S
ystemServer.java:417)
E/AndroidRuntime( 4477): at com.android.server.SystemServer.main(SystemSe
rver.java:1386)
E/AndroidRuntime( 4477): at java.lang.reflect.Method.invokeNative(Native
Method)
E/AndroidRuntime( 4477): at java.lang.reflect.Method.invoke(Method.java:5
15)
E/AndroidRuntime( 4477): at com.android.internal.os.ZygoteInit$MethodAndA
rgsCaller.run(ZygoteInit.java:732)
E/AndroidRuntime( 4477): at com.android.internal.os.ZygoteInit.main(Zygot
eInit.java:566)
E/AndroidRuntime( 4477): at dalvik.system.NativeStart.main(Native Method)

E/AndroidRuntime( 4477): Original WTF:
E/AndroidRuntime( 4477): android.util.Log$TerribleFailure: BOOT FAILURE starting
Input Manager Service
E/AndroidRuntime( 4477): at android.util.Log.wtf(Log.java:290)
E/AndroidRuntime( 4477): at android.util.Log.wtf(Log.java:286)
E/AndroidRuntime( 4477): at com.android.server.ServerThread.reportWtf(Sys
temServer.java:106)
E/AndroidRuntime( 4477): at com.android.server.ServerThread.initAndLoop(S
ystemServer.java:417)
E/AndroidRuntime( 4477): at com.android.server.SystemServer.main(SystemSe
rver.java:1386)
E/AndroidRuntime( 4477): at java.lang.reflect.Method.invokeNative(Native
Method)
E/AndroidRuntime( 4477): at java.lang.reflect.Method.invoke(Method.java:5
15)
E/AndroidRuntime( 4477): at com.android.internal.os.ZygoteInit$MethodAndA
rgsCaller.run(ZygoteInit.java:732)
E/AndroidRuntime( 4477): at com.android.internal.os.ZygoteInit.main(Zygot
eInit.java:566)
E/AndroidRuntime( 4477): at dalvik.system.NativeStart.main(Native Method)

E/AndroidRuntime( 4477): Caused by: java.lang.NullPointerException
E/AndroidRuntime( 4477): at com.android.server.InputMethodManagerService.
<init>(InputMethodManagerService.java:633)
E/AndroidRuntime( 4477): at com.android.server.ServerThread.initAndLoop(S
ystemServer.java:414)
E/AndroidRuntime( 4477): ... 6 more
F/SystemServer( 4477): BOOT FAILURE making display ready
F/SystemServer( 4477): java.lang.NullPointerException
F/SystemServer( 4477): at com.android.server.ServerThread.initAndLoop(SystemSer
ver.java:431)
F/SystemServer( 4477): at com.android.server.SystemServer.main(SystemServer.jav
a:1386)
F/SystemServer( 4477): at java.lang.reflect.Method.invokeNative(Native Method)
F/SystemServer( 4477): at java.lang.reflect.Method.invoke(Method.java:515)
F/SystemServer( 4477): at com.android.internal.os.ZygoteInit$MethodAndArgsCalle
r.run(ZygoteInit.java:732)
F/SystemServer( 4477): at com.android.internal.os.ZygoteInit.main(ZygoteInit.ja
va:566)
F/SystemServer( 4477): at dalvik.system.NativeStart.main(Native Method)
F/SystemServer( 4477): BOOT FAILURE performing boot dexopt
F/SystemServer( 4477): java.lang.NullPointerException
F/SystemServer( 4477): at com.android.server.ServerThread.initAndLoop(SystemSer
ver.java:437)
F/SystemServer( 4477): at com.android.server.SystemServer.main(SystemServer.jav
a:1386)
F/SystemServer( 4477): at java.lang.reflect.Method.invokeNative(Native Method)
F/SystemServer( 4477): at java.lang.reflect.Method.invoke(Method.java:515)
F/SystemServer( 4477): at com.android.internal.os.ZygoteInit$MethodAndArgsCalle
r.run(ZygoteInit.java:732)
F/SystemServer( 4477): at com.android.internal.os.ZygoteInit.main(ZygoteInit.ja
va:566)
F/SystemServer( 4477): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 4477): Error reporting WTF
E/AndroidRuntime( 4477): java.lang.NullPointerException
E/AndroidRuntime( 4477): at com.android.internal.os.RuntimeInit.wtf(Runti
meInit.java:337)
E/AndroidRuntime( 4477): at android.util.Log$1.onTerribleFailure(Log.java
:104)
E/AndroidRuntime( 4477): at android.util.Log.wtf(Log.java:293)
E/AndroidRuntime( 4477): at android.util.Log.wtf(Log.java:286)
E/AndroidRuntime( 4477): at com.android.server.ServerThread.reportWtf(Sys
temServer.java:106)
E/AndroidRuntime( 4477): at com.android.server.ServerThread.initAndLoop(S
ystemServer.java:425)
E/AndroidRuntime( 4477): at com.android.server.SystemServer.main(SystemSe
rver.java:1386)
E/AndroidRuntime( 4477): at java.lang.reflect.Method.invokeNative(Native
Method)
E/AndroidRuntime( 4477): at java.lang.reflect.Method.invoke(Method.java:5
15)
E/AndroidRuntime( 4477): at com.android.internal.os.ZygoteInit$MethodAndA
rgsCaller.run(ZygoteInit.java:732)
E/AndroidRuntime( 4477): at com.android.internal.os.ZygoteInit.main(Zygot
eInit.java:566)
E/AndroidRuntime( 4477): at dalvik.system.NativeStart.main(Native Method)

E/AndroidRuntime( 4477): Original WTF:
E/AndroidRuntime( 4477): android.util.Log$TerribleFailure: BOOT FAILURE starting
Accessibility Manager
E/AndroidRuntime( 4477): at android.util.Log.wtf(Log.java:290)
E/AndroidRuntime( 4477): at android.util.Log.wtf(Log.java:286)
E/AndroidRuntime( 4477): at com.android.server.ServerThread.reportWtf(Sys
temServer.java:106)
E/AndroidRuntime( 4477): at com.android.server.ServerThread.initAndLoop(S
ystemServer.java:425)
E/AndroidRuntime( 4477): at com.android.server.SystemServer.main(SystemSe
rver.java:1386)
E/AndroidRuntime( 4477): at java.lang.reflect.Method.invokeNative(Native
Method)
E/AndroidRuntime( 4477): at java.lang.reflect.Method.invoke(Method.java:5
15)
E/AndroidRuntime( 4477): at com.android.internal.os.ZygoteInit$MethodAndA
rgsCaller.run(ZygoteInit.java:732)
E/AndroidRuntime( 4477): at com.android.internal.os.ZygoteInit.main(Zygot
eInit.java:566)
E/AndroidRuntime( 4477): at dalvik.system.NativeStart.main(Native Method)

E/AndroidRuntime( 4477): Caused by: java.lang.NullPointerException
E/AndroidRuntime( 4477): at android.app.ContextImpl.registerReceiverInter
nal(ContextImpl.java:1506)
E/AndroidRuntime( 4477): at android.app.ContextImpl.registerReceiverAsUse
r(ContextImpl.java:1481)
E/AndroidRuntime( 4477): at com.android.internal.content.PackageMonitor.r
egister(PackageMonitor.java:84)
E/AndroidRuntime( 4477): at com.android.server.accessibility.Accessibilit
yManagerService.registerBroadcastReceivers(AccessibilityManagerService.java:326)

E/AndroidRuntime( 4477): at com.android.server.accessibility.Accessibilit
yManagerService.<init>(AccessibilityManagerService.java:229)
E/AndroidRuntime( 4477): at com.android.server.ServerThread.initAndLoop(S
ystemServer.java:422)
E/AndroidRuntime( 4477): ... 6 more
E/AndroidRuntime( 4477): Error reporting WTF
E/AndroidRuntime( 4477): java.lang.NullPointerException
E/AndroidRuntime( 4477): at com.android.internal.os.RuntimeInit.wtf(Runti
meInit.java:337)
E/AndroidRuntime( 4477): at android.util.Log$1.onTerribleFailure(Log.java
:104)
E/AndroidRuntime( 4477): at android.util.Log.wtf(Log.java:293)
E/AndroidRuntime( 4477): at android.util.Log.wtf(Log.java:286)
E/AndroidRuntime( 4477): at com.android.server.ServerThread.reportWtf(Sys
temServer.java:106)
E/AndroidRuntime( 4477): at com.android.server.ServerThread.initAndLoop(S
ystemServer.java:433)
E/AndroidRuntime( 4477): at com.android.server.SystemServer.main(SystemSe
rver.java:1386)
E/AndroidRuntime( 4477): at java.lang.reflect.Method.invokeNative(Native
Method)
E/AndroidRuntime( 4477): at java.lang.reflect.Method.invoke(Method.java:5
15)
E/AndroidRuntime( 4477): at com.android.internal.os.ZygoteInit$MethodAndA
rgsCaller.run(ZygoteInit.java:732)
E/AndroidRuntime( 4477): at com.android.internal.os.ZygoteInit.main(Zygot
eInit.java:566)
E/AndroidRuntime( 4477): at dalvik.system.NativeStart.main(Native Method)

E/AndroidRuntime( 4477): Original WTF:
E/AndroidRuntime( 4477): android.util.Log$TerribleFailure: BOOT FAILURE making d
isplay ready
E/AndroidRuntime( 4477): at android.util.Log.wtf(Log.java:290)
E/AndroidRuntime( 4477): at android.util.Log.wtf(Log.java:286)
E/AndroidRuntime( 4477): at com.android.server.ServerThread.reportWtf(Sys
temServer.java:106)
E/AndroidRuntime( 4477): at com.android.server.ServerThread.initAndLoop(S
ystemServer.java:433)
E/AndroidRuntime( 4477): at com.android.server.SystemServer.main(SystemSe
rver.java:1386)
E/AndroidRuntime( 4477): at java.lang.reflect.Method.invokeNative(Native
Method)
E/AndroidRuntime( 4477): at java.lang.reflect.Method.invoke(Method.java:5
15)
E/AndroidRuntime( 4477): at com.android.internal.os.ZygoteInit$MethodAndA
rgsCaller.run(ZygoteInit.java:732)
E/AndroidRuntime( 4477): at com.android.internal.os.ZygoteInit.main(Zygot
eInit.java:566)
E/AndroidRuntime( 4477): at dalvik.system.NativeStart.main(Native Method)

E/AndroidRuntime( 4477): Caused by: java.lang.NullPointerException
E/AndroidRuntime( 4477): at com.android.server.ServerThread.initAndLoop(S
ystemServer.java:431)
E/AndroidRuntime( 4477): ... 6 more
E/AndroidRuntime( 4477): Error reporting WTF
E/AndroidRuntime( 4477): java.lang.NullPointerException
E/AndroidRuntime( 4477): at com.android.internal.os.RuntimeInit.wtf(Runti
meInit.java:337)
E/AndroidRuntime( 4477): at android.util.Log$1.onTerribleFailure(Log.java
:104)
E/AndroidRuntime( 4477): at android.util.Log.wtf(Log.java:293)
E/AndroidRuntime( 4477): at android.util.Log.wtf(Log.java:286)
E/AndroidRuntime( 4477): at com.android.server.ServerThread.reportWtf(Sys
temServer.java:106)
E/AndroidRuntime( 4477): at com.android.server.ServerThread.initAndLoop(S
ystemServer.java:439)
E/AndroidRuntime( 4477): at com.android.server.SystemServer.main(SystemSe
rver.java:1386)
E/AndroidRuntime( 4477): at java.lang.reflect.Method.invokeNative(Native
Method)
E/AndroidRuntime( 4477): at java.lang.reflect.Method.invoke(Method.java:5
15)
E/AndroidRuntime( 4477): at com.android.internal.os.ZygoteInit$MethodAndA
rgsCaller.run(ZygoteInit.java:732)
E/AndroidRuntime( 4477): at com.android.internal.os.ZygoteInit.main(Zygot
eInit.java:566)
E/AndroidRuntime( 4477): at dalvik.system.NativeStart.main(Native Method)

E/AndroidRuntime( 4477): Original WTF:
E/AndroidRuntime( 4477): android.util.Log$TerribleFailure: BOOT FAILURE performi
ng boot dexopt
E/AndroidRuntime( 4477): at android.util.Log.wtf(Log.java:290)
E/AndroidRuntime( 4477): at android.util.Log.wtf(Log.java:286)
E/AndroidRuntime( 4477): at com.android.server.ServerThread.reportWtf(Sys
temServer.java:106)
E/AndroidRuntime( 4477): at com.android.server.ServerThread.initAndLoop(S
ystemServer.java:439)
E/AndroidRuntime( 4477): at com.android.server.SystemServer.main(SystemSe
rver.java:1386)
E/AndroidRuntime( 4477): at java.lang.reflect.Method.invokeNative(Native
Method)
E/AndroidRuntime( 4477): at java.lang.reflect.Method.invoke(Method.java:5
15)
E/AndroidRuntime( 4477): at com.android.internal.os.ZygoteInit$MethodAndA
rgsCaller.run(ZygoteInit.java:732)
E/AndroidRuntime( 4477): at com.android.internal.os.ZygoteInit.main(Zygot
eInit.java:566)
E/AndroidRuntime( 4477): at dalvik.system.NativeStart.main(Native Method)

E/AndroidRuntime( 4477): Caused by: java.lang.NullPointerException
E/AndroidRuntime( 4477): at com.android.server.ServerThread.initAndLoop(S
ystemServer.java:437)
E/AndroidRuntime( 4477): ... 6 more
E/AndroidRuntime( 4477): *** FATAL EXCEPTION IN SYSTEM PROCESS: main
E/AndroidRuntime( 4477): java.lang.NullPointerException
E/AndroidRuntime( 4477): at com.android.server.ServerThread.initAndLoop(S
ystemServer.java:443)
E/AndroidRuntime( 4477): at com.android.server.SystemServer.main(SystemSe
rver.java:1386)
E/AndroidRuntime( 4477): at java.lang.reflect.Method.invokeNative(Native
Method)
E/AndroidRuntime( 4477): at java.lang.reflect.Method.invoke(Method.java:5
15)
E/AndroidRuntime( 4477): at com.android.internal.os.ZygoteInit$MethodAndA
rgsCaller.run(ZygoteInit.java:732)
E/AndroidRuntime( 4477): at com.android.internal.os.ZygoteInit.main(Zygot
eInit.java:566)
E/AndroidRuntime( 4477): at dalvik.system.NativeStart.main(Native Method)

E/AndroidRuntime( 4477): Error reporting crash
E/AndroidRuntime( 4477): java.lang.NullPointerException
E/AndroidRuntime( 4477): at com.android.internal.os.RuntimeInit$UncaughtH
andler.uncaughtException(RuntimeInit.java:84)
E/AndroidRuntime( 4477): at java.lang.ThreadGroup.uncaughtException(Threa
dGroup.java:693)
E/AndroidRuntime( 4477): at java.lang.ThreadGroup.uncaughtException(Threa
dGroup.java:690)
E/AndroidRuntime( 4477): at dalvik.system.NativeStart.main(Native Method)

E/installd( 197): eof
E/installd( 197): failed to read transaction id
E/MonoPipe( 4208): Failed to fetch local time frequency when constructing a Mono
Pipe (res = -32). getNextWriteTimestamp calls will be non-functional
E/MediaPlayerFactory( 4528): calling dlopen on FACTORY_LIB
E/MediaPlayerFactory( 4528): Failed to open FACTORY_LIB Error : dlopen failed: l
ibrary "libdashplayer.so" not found
E/QualcommCamera( 4528): Qint android::get_number_of_cameras(): E
E/ ( 4528): [ACDB RTC]->rtc init done!->result [0]
E/ ( 4528): [ACDB ACPH]->actp diag init done!
E/alsa_ucm( 4528): EC_REF_RX mixer ctl: SLIM_RX
E/alsa_ucm( 4528): EC_REF_RX mixer ctl: SLIM_RX
E/alsa_ucm( 4528): EC_REF_RX mixer ctl: SLIM_RX
E/alsa_ucm( 4528): EC_REF_RX mixer ctl: SLIM_RX
E/alsa_ucm( 4528): EC_REF_RX mixer ctl: SLIM_RX
E/alsa_ucm( 4528): EC_REF_RX mixer ctl: SLIM_RX
E/alsa_ucm( 4528): EC_REF_RX mixer ctl: SLIM_RX
E/alsa_ucm( 4528): EC_REF_RX mixer ctl: SLIM_RX
E/alsa_ucm( 4528): EC_REF_RX mixer ctl: SLIM_RX
E/alsa_ucm( 4528): EC_REF_RX mixer ctl: SLIM_RX
E/alsa_ucm( 4528): EC_REF_RX mixer ctl: SLIM_RX
E/alsa_ucm( 4528): EC_REF_RX mixer ctl: SLIM_RX
E/alsa_ucm( 4528): EC_REF_RX mixer ctl: SLIM_RX
E/alsa_ucm( 4528): EC_REF_RX mixer ctl: SLIM_RX
E/alsa_ucm( 4528): EC_REF_RX mixer ctl: SLIM_RX
E/ ( 4528): csd_client_service_init: Invalid rx device 0, setting to hand
set
E/ ( 4528): csd_client_service_init: Invalid tx device 0, setting to hand
set
E/QMI_FW ( 4528): QMUXD: Service_id=20 not found over conn_id=0
E/QMI_FW ( 4528): QMUXD: Service_id=20 not found over conn_id=0
E/QMI_FW ( 4528): QMUXD: Service_id=20 not found over conn_id=0
E/QMI_FW ( 4528): QMUXD: Service_id=20 not found over conn_id=0
E/QMI_FW ( 4528): QMUXD: Service_id=20 not found over conn_id=0
E/AudioHardwareALSA( 4528): doAudienceCodec_Init+
E/SELinux ( 4805): SELinux: Loaded file_contexts from /file_contexts
^C
C:\cygwin\home\henry\kitchen\OUTPUT_ZIP>adb reboot

C:\cygwin\home\henry\kitchen\OUTPUT_ZIP>BOOT FAILURE