THIS METHOD REQUIRES ROOT
I TAKE NO RESPONSIBILITY IF YOU DO ANYTHING WRONG WITH YOUR PHONE.
You will no need to edit commands or files in your Framework.res or services.jar. Just install two apps. SIMPLE AND EASY.
I simply download Xposed Installer and after downloading it i download module named ScreenOffAnimation. If you know how to use modules and xposed installer then you don't need to read this thread further. Save your Time :P IF I HELP PLEASE HIT THANKS
Things you needed to install
1) Xposed Installer
2) ScreenOffAnimation (Module of Xposed Installer)
Steps to do
1) Install Xposed Installer.
2) Select Framework
3) Click on Install/Update
4) Now restart your device.
5) Install ScreenOffAnimtion module.
6) Open Xposed Installer.
7) Go to Modules.
8) Check ScreenOffAnimation
9) Now again restart your device :P
10) After restart open ScreenOffAnimation Module and customize screen off animations settings.
DOWNLOAD Necessary files from attached File.zip
Please hit thanks if I helped you