FORUMS
Remove All Ads from XDA

[MOD] Enable ClearMotion on MIUI based ROMs

117 posts
Thanks Meter: 127
 
By hasaan6545, Senior Member on 25th December 2015, 02:07 PM
Post Reply Email Thread
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_Hasaan6 545.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_Hasaan 6545.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.
Code:
    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)
Quote:

30/12 V2 released: Added build.prop tweak in the zip file so installation is much more simpler. Stagefright issue investigated: Modifications in an older AOSP-based libstagefright.so included in this mod are necessary for the mod to work. Those of you who are still upset about stagefright alarm in some stagefright testing apps, please consider the following:
1. You may simply disable MMS auto-retrieval for their safety
2. Flash this patch that disables stagefright functions using build.prop (Credits: Edzamber, source) : http://www.mediafire.com/download/gi...ld.prop_v2.zip
3. There is very, very little possiblity that the stagefright bug will ever be exploited against you; whereas the mod is yours for everyday use.

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
The Following 62 Users Say Thank You to hasaan6545 For This Useful Post: [ View ] Gift hasaan6545 Ad-Free
 
 
25th December 2015, 02:41 PM |#2  
SKARZz's Avatar
Senior Member
Flag Elbistan
Thanks Meter: 43
 
More
Link dead
25th December 2015, 03:05 PM |#3  
Member
Thanks Meter: 51
 
More
Quote:
Originally Posted by SKARZz

Link dead

EDIT: he used adfly which is probably why the link shows that is dead.

http://www4.zippyshare.com/v/YKjObePN/file.html

Note: Adfly links are not allowed on xda or any other money redirecting links. XDA is not a place to make money.

You have some post and rep I thought u knew adfly links are not allowed ^^
The Following 5 Users Say Thank You to PoDgAnA For This Useful Post: [ View ] Gift PoDgAnA Ad-Free
25th December 2015, 04:35 PM |#4  
Javi22's Avatar
Senior Member
Flag Madrid
Thanks Meter: 190
 
More
Awesome. Would work in CM?

Sent from my Redmi Note 2 using Tapatalk
25th December 2015, 05:40 PM |#5  
OP Senior Member
Flag Multan
Thanks Meter: 127
 
More
The link was copied from my blogpost, hence the adfly link.

I have replaced it now.
25th December 2015, 09:19 PM |#6  
SKARZz's Avatar
Senior Member
Flag Elbistan
Thanks Meter: 43
 
More
Quote:
Originally Posted by PoDgAnA

EDIT: he used adfly which is probably why the link shows that is dead.

http://www4.zippyshare.com/v/YKjObePN/file.html

Note: Adfly links are not allowed on xda or any other money redirecting links. XDA is not a place to make money.

You have some post and rep I thought u knew adfly links are not allowed ^^

Does it work in YouTube?
25th December 2015, 10:50 PM |#7  
jerryshaw12's Avatar
Senior Member
Thanks Meter: 214
 
More
You should add build.prop writer inside updater script

Sent from my Redmi Note 2 using Tapatalk

---------- Post added at 05:50 AM ---------- Previous post was at 05:19 AM ----------

Wow fluid!!

Sent from my Redmi Note 2 using Tapatalk
25th December 2015, 11:09 PM |#8  
johnnyman25's Avatar
Senior Member
Flag Thessaloniki
Thanks Meter: 250
 
More
works like charm!!rly thx for that m8 the difference is HUGE!!what about miravision too?
26th December 2015, 12:10 AM |#9  
Gyovany96's Avatar
Senior Member
Flag Craiova
Thanks Meter: 832
 
Donate to Me
More
I've installed this mod but after I set 1 in EngMode my screen don't divide ( wich means that ClearMotion don't work ). But I think I see some differences in video and YouTube... Is this an option ? Mod working but screen don't divide în ClearMotion Demo ? I have Reno2 Prime and MIUI 7 5.11.5 Beta.
P.S. I have 2 screenshots with and without this mod on YouTube video.. If that help you..
P.S. 2 Maybe I'm crazy and there is no differences and Mod don't work on my ROM
26th December 2015, 01:47 AM |#10  
jerryshaw12's Avatar
Senior Member
Thanks Meter: 214
 
More
Can't play some video on youtube such as this https://youtu.be/5e2G5CcuMfs thats ironic, the video tells about clearmotion

Edit : no error again?? Maybe youtube unstable
26th December 2015, 02:41 AM |#11  
OP Senior Member
Flag Multan
Thanks Meter: 127
 
More
Quote:
Originally Posted by jerryshaw12

You should add build.prop writer inside updater script

Sent from my Redmi Note 2 using Tapatalk

---------- Post added at 05:50 AM ---------- Previous post was at 05:19 AM ----------

Wow fluid!!

Sent from my Redmi Note 2 using Tapatalk

I'll do that soon enough.

Quote:
Originally Posted by johnnyman25

works like charm!!rly thx for that m8 the difference is HUGE!!what about miravision too?

Glad you like it
MiraVision works but MIUI's builtin display settings conflict with it.
I personally think that MiraVision is unnecessary because when you play videos on YouTube or view pictures against a black background, MiraVision thinks that the image being displayed is underexposed and therefore boosts up brightness and lowers the contrast which looks ugly. Apart from that, it's a handy little feature.

Quote:
Originally Posted by Gyovany96

I've installed this mod but after I set 1 in EngMode my screen don't divide ( wich means that ClearMotion don't work ). But I think I see some differences in video and YouTube... Is this an option ? Mod working but screen don't divide în ClearMotion Demo ? I have Reno2 Prime and MIUI 7 5.11.5 Beta.
P.S. I have 2 screenshots with and without this mod on YouTube video.. If that help you..
P.S. 2 Maybe I'm crazy and there is no differences and Mod don't work on my ROM

Screenshots don't help. This mod can be seen to work while videos are being played. However, if the screen doesn't divide in demo mode, it's unlikely that the ClearMotion is functi onal. Have you tried playing the video using HW decoder on MX Player? Are you sure that build.prop lines are added properly?

Reinstall the mod and/or try it on any other MIUI version. It does work.

Quote:
Originally Posted by jerryshaw12

Can't play some video on youtube such as this https://youtu.be/5e2G5CcuMfs thats ironic, the video tells about clearmotion

Edit : no error again?? Maybe youtube unstable

That obviously has nothing to do with ClearMotion. Just a random YouTube bug.
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes