This sounds like an incorrectly installed/buggy GApps ZIP file issue.I've installed 5.1 3 times and donlowded the zip twice. I can't pass the setup screen. The keyboard and various other elements keep glitching.
The moment it asks me which launcher do I want the whole system shuts down, it cannot be turned on unless I hard reset the phone. The screen stays black.
* Your warranty is now void. * We are not responsible for anything that may happen to your phone by installing any custom ROMs and/or kernels. * You do it at your own risk and take the responsibility upon yourself and you are not to blame us or XDA and its respected developers.
[LIST] New and refreshed UI New Customization app (previous named as DotExtras) Accent Overlay & RGB Picker Edge Lightning Battery Styles Battery Percentage Styles Clock Customization Traffic Indicator Battery Light Customizations QS Tiles title toggle QS Tiles style toggle (AOSP & accent) QS Rows & Columns Customization New FOD Icon & Animation picker with previews FOD recognition color picker Screen-Off FOD Automatically temporary disable night light while using FOD (toggle) New Theme Manager Overlays based Accent Picker Material Palette Accent Picker Smart Accent Picker (find automatically proper shade of accent for the other theme; if you apply custom accent for dark theme, press Smart Accent Picker and it will find a good shade to use for light theme and vice-versa) Fonts, Icon Packs and Icon Shapes picker Other Extra Features Hold power to torch Double tap on statusbar and lockscreen to sleep Double tap while sleeping to open doze (ambient display) Quick Screenshot (3 fingers gesture) Volume Panel position switch (right or left) Navigation bar pill size customization (hide, stock, medium, large) Pocket Mode - avoid scree touches while the phone is in your pocket Use Biometrics on first boot (unavailable for encrypted users) Lockscreen Media toggle Built-in Launcher Grid control MicroG support [CENTER] [/LIST]