[Nexus 4 Android Development] yaymalaga:
[MENTION=1978554]zephiK[/MENTION] I have read that some people is getting bootloops after installing the rom. I tried to do clean install two times and I'm also getting this problem.

The rom works fine until you reboot, so the second time i did clean install, I did a logcat.

And what makes the crash is this part:

E/AndroidRuntime( 2767): *** FATAL EXCEPTION IN SYSTEM PROCESS: android.ui

E/AndroidRuntime( 2767): java.lang.IllegalStateException: registerInputEventListener: com.android.internal.policy.impl.OPGesturesListener@2eda524c not registered.

E/AndroidRuntime( 2767):	at com.android.server.wm.PointerEventDispatcher.unregisterInputEventListener(PointerEventDispatcher.java:83)

E/AndroidRuntime( 2767):	at com.android.server.wm.WindowManagerService.unregisterPointerEventListener(WindowManagerService.java:5622)

E/AndroidRuntime( 2767):	at com.android.internal.policy.impl.PhoneWindowManager.enableSwipeThreeFingerGesture(PhoneWindowManager.java:1462)

E/AndroidRuntime( 2767):	at com.android.internal.policy.impl.PhoneWindowManager.updateSettings(PhoneWindowManager.java:1635)

E/AndroidRuntime( 2767):	at com.android.internal.policy.impl.PhoneWindowManager$SettingsObserver.observe(PhoneWindowManager.java:740)

E/AndroidRuntime( 2767):	at com.android.internal.policy.impl.PhoneWindowManager.init(PhoneWindowManager.java:1271)

E/AndroidRuntime( 2767):	at com.android.server.wm.WindowManagerService$3.run(WindowManagerService.java:825)

E/AndroidRuntime( 2767):	at android.os.Handler$BlockingRunnable.run(Handler.java:759)

E/AndroidRuntime( 2767):	at android.os.Handler.handleCallback(Handler.java:739)

E/AndroidRuntime( 2767):	at android.os.Handler.dispatchMessage(Handler.java:95)

E/AndroidRuntime( 2767):	at android.os.Looper.loop(Looper.java:135)

E/AndroidRuntime( 2767):	at android.os.HandlerThread.run(HandlerThread.java:61)

E/AndroidRuntime( 2767):	at com.android.server.ServiceThread.run(ServiceThread.java:46)

I/Process ( 2767): Sending signal. PID: 2767 SIG: 9

I/ServiceManager( 172): service 'sensorservice' died

I/ServiceManager( 172): service 'cpuinfo' died

I/ServiceManager( 172): service 'batterystats' died

I/ServiceManager( 172): service 'appops' died

I/ServiceManager( 172): service 'power' died

I/ServiceManager( 172): service 'display' died

I/ServiceManager( 172): service 'activity' died

I/ServiceManager( 172): service 'hardware' died

I/ServiceManager( 172): service 'entropy' died

I/ServiceManager( 172): service 'vibrator' died

I/ServiceManager( 172): service 'alarm' died

I/ServiceManager( 172): service 'dbinfo' died

I/ServiceManager( 172): service 'permission' died

I/ServiceManager( 172): service 'consumer_ir' died

I/ServiceManager( 172): service 'procstats' died

I/ServiceManager( 172): service 'telephony.registry' died

I/ServiceManager( 172): service 'package' died

I/ServiceManager( 172): service 'gfxinfo' died

I/ServiceManager( 172): service 'webviewupdate' died

I/ServiceManager( 172): service 'battery' died

I/ServiceManager( 172): service 'account' died

I/ServiceManager( 172): service 'meminfo' died

I/ServiceManager( 172): service 'content' died

I/ServiceManager( 172): service 'user' died

I/ServiceManager( 172): service 'usagestats' died

I/ServiceManager( 172): service 'scheduling_policy' died

The android_runtime fail loading because of this "E/AndroidRuntime( 2767): java.lang.IllegalStateException: registerInputEventListener: com.android.internal.policy.impl.OPGesturesListener@2eda524c not registered." what points to OPGesturesListener.java, which is created here, https://github.com/zephiK/android_frameworks_base/commit/02ef30a2b0343ed42ab946bce907f8f748c08121, so it must a be a problem related to the "Add three-fingers-swipe to screenshot".

I hope this will help you fixing the bootloops problems;)

EDIT: The bootloop happens when you disable the option "Use three-fingers-swipe to screenshot". So, as a temporally solution, if you want to install the new build, you must let that option enabled.