[Redmi Note 2 Android Development] hasaan6545:
Folks, I bring to you the wonderful frame interpolation feature supported by our chipset MediaTek Helio X10: ClearMotion! :)

Disclaimer:

Confirmed working on most MIUI builds for Redmi Note 2. (7.0.12, 7.0.14, 7.1.4.0 CHINA, 7.1.3.0 CHINA, 5.12.24, 5.12,23, 5.11.1 etc)

Does not work on Global stable MIUI Builds beyond 7.0.12; however, it works in equivalent China builds.

Pre-requisites:

Rooted Redmi Note 2 (or MediaTek based device on MIUI 7 ROM)

TWRP or CWM recovery installed

Flashable zip file containing ClearMotion libraries ported to MIUI

Steps:

Method 1:

Download the file "Enable_ClearMotion_v2_for_Redmi_Note_2_by_Hasaan6545.zip" and place it in your sdcard

Reboot into recovery and backup your ROM (as a precaution).

Flash the file. Reboot

Play a video using MX Player (or any player that supports HW decoding) and feel the difference ;)

Method 2 (Only for those who can not flash the zip for any reason; you may attempt manual installation).

Download the file "Enable_ClearMotion_v2a_for_Redmi_Note_2_by_Hasaan6545.zip" and place it in your sdcard. Extract the folder.

Using "Root Explorer", navigate to "system/build.prop" and use its built in text editor to add the following lines at the end of the file. Don't forget to add an extra empty line at the end.

persist.sys.display.clearMotion=1
persist.clearMotion.fblevel.nrm=255
persist.clearMotion.fblevel.bdr=255
ro.mtk_clearmotion_support=1
ro.mtk_slow_motion_support=1
ro.mtk_16x_slowmotion_support=1

(Alternatively, you may add these lines to your build.prop file using any build.prop tweaker from Play Store)

Using Root Explorer, copy the libraries located in the zip file's system/lib folder into your phone's "root>system>lib" directory.

Reboot your system and play a video to see the difference (if the mod worked for you) ;)

For more details on ClearMotion Technology and how to check if it is working for you: HERE

Download link: HERE

WHY NOT SIMPLY USE AOSP ROMs FOR CLEARMOTION ON REDMI NOTE 2?

AOSP ROMs for Redmi Note 2 offer ClearMotion and MiraVision by default; however, there are advantages of using ClearMotion on MIUI instead of switching to AOSP:

Camera with MediaTek's InstantFocus™ and TrueBright™ technology: On MIUI, we retain a good quality camera that we have to sacrifice when switching to AOSP. (Yes, the fast focus speeds and superior image quality on MIUI ROMs are not due to the "so-called" PDAF sensor; it's because of Helio X10's InstantFocus and TrueBright technologies; both of which are operational in MIUI Camera.

Most AOSP ROMs for Redmi Note 2 are (currently) plagued by an assortment of deep sleep bugs that pop up at times and drain battery during standby. This is very annoying; and is attributable to AOSP Lollipop Build 5.0.x more than the ports itself.

Slow Motion feature on MIUI is superior to that in AOSP's (the latter needs the stock camera app and saves videos that can be played in slow motion only through the stock video player; whereas MIUI actually exports a slow motion video in mp4 format that can be played using any player, and can also be shared)

I really feel suited to AOSP, but the MIUI ROM also has much eye candy to offer.

If you like this mod, don't forget to hit the thanks button!! :)

Notes:

This is an answer to those who claim that this mod makes the ROM stagefright vulnerable (Ironically, the same people include this mod within their ROMS)

Last but not the least, I respect the developer community; however, the courtesy of giving credit for the mod when included in the ROMs should humbly be observed. I posted this mod in December 2015; prior to which nobody was able to enable ClearMotion on MIUI and many people claimed that it would be impossible to do so due to software differences.

Happy modding everyone :)