Please follow my tutorials and photography at my new Facebook page! :)
www.facebook.com/follow.hasaan

[HOW TO] Enable MediaTek's ClearMotion Technology on Redmi Note 2 and All Other MIUI 7 based ROMs

Friday, December 25, 2015

Short Intro: Hey everyone! :) Coming to Redmi Note 2 from my thl 5000 was not without sacrifices. I was used to the exceedingly long battery life of thl 5000 (5000 mAh) and the multimedia features of MT6592; especially the ClearMotion technology.
Xiaomi Redmi Note 2 powered by MediaTek's powerful Helio X10 was supposed to be a desirable update; however, I found the lack of ClearMotion very disappointing and so the developer laying dormant inside me since the CyberShot Xperience camera drivers back in 2009-2010 finally came out once more. After some research into the technology (that worked on AOSP ROMs but not on MIUI), I finally managed to get ClearMotion working on MIUI 7 based ROMs; and here it is for all of you to enjoy! :)
_________________________________________________________________________________


The hype around Redmi Note 2 being launched with MediaTek's Helio X10 Processor was phenomenal; however, Xiaomi really stripped down the power of Helio X10 by excluding a vast number of multimedia features that the Redmi Note 2 was capable of; one of them being MediaTek's ClearMotion Technology.



About MediaTek's ClearMotion Technology:

ClearMotion is one of the most unique but under-rated features in the MediaTek line of processors. I honestly feel surprised why most people don't know about it. On several online forums, I saw confusion among a number of people who never experienced this feature, so I briefly want to describe how this technology works.

ClearMotion is infact a type of Motion Interpolation technology; which as wiki says is "a form of video processing in which intermediate animation frames are generated between existing ones by means of interpolation, in an attempt to make animation more fluid and to compensate for display motion blur."
In other words: when you play a movie/season at 24fps or 30fps; the processor continuously takes two or more adjacent frames from the video and generates an "average" of those frames and places it between those frames. In this way, it plays the video as if it was recorded in 60fps. In this way, the movements of the camera, the people or the objects in the video are very fluid and smooth; giving an overall pleasing and high-end video playback experience.

This effect is most prominent on movies and certain television series recorded at as they are recorded in 24fps. (Check out Game of Thrones intro on ClearMotion and it's hard not to come away impressed).

Most high-end televisions offer built-in motion interpolation for smooth video playback under different trade names (e.g. Sony calls it Motionflow whereas Samsung calls it Clearmotion rate)

_________________________________________________________________________________

HOW TO GET CLEARMOTION IN REDMI NOTE 2 AND OTHER MIUI 7 BASED ROMS

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 Android 5.0 device on MIUI 7 ROM)
  • TWRP or CWM recovery installed
  • Flashable zip file containing ClearMotion libraries ported to MIUI: Download HEREhttp://adf.ly/1UKo4V
(Please don't mirror the file to other file sharing services: and don't mind the adfly link. The port is being given to you free of cost; and you compensate for it simply by not mirroring it. Thank you :) ) 
Method 1:
  • Download the file "Enable_ClearMotion_v2a_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) ;)
_________________________________________________________________________________
SO YOU INSTALLED THIS MOD; NOW, HOW TO KNOW IF CLEARMOTION IS WORKING?

Once you install this mod, all videos played using hardware decoder (stock player, MX player, Facebook, YouTube etc.) will automatically be optimized by the ClearMotion technology.

Unlike AOSP, you won't have a ClearMotion option in the MIUI settings app; however, ClearMotion will be installed and it will work.

If you have doubts, you may check the working of ClearMotion and compare it with standard playback using Engineer Mode through the steps below.
  • Open the dialer app and type *#*#3646633#*#* to open the Engineer Mode (To help you remember, *#*#3646633#*#* corresponds to *#*#ENGMODE#*#* in Phone Input)
  • Go to "Hardware Testing" tab and scroll to "Video". You will see the following screen.

  • Set ClearMotion Demo to 1
  • Now when you open any video using MX Player; you will see the screen divided into two halves as shown. The left side shows ClearMotion enabled and the right side shows ClearMotion disabled. This implies that ClearMotion is working. In case ClearMotion isn't working (faulty installation etc.), the screen won't divide.
After you enable the demo mode, if the screen divides as shown in video player, ClearMotion is working. You can compare the difference between ClearMotion on/off in this demo mode; Left side is clearmotion enabled; right side is clearmotion disabled.
  • Turn off ClearMotion demo mode (set to 0) to enable ClearMotion on fullscreen once more.
_________________________________________________________________________________
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: (These advantages are subjective: no offence intended to AOSP fans - I myself am one.)
Redmi Note 2's Fast Focus is attributable to MediaTek's InstantFocus technology rather than the "PDAF sensor" it claims to have.
  • 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.
________________________________________________________________________________

I hope this post helped you! :)
Best regards

39 comments

  1. thx it work on my redmi note 2 but the dial number is *#*#3646633*#*#.

    ReplyDelete
  2. Hasan bhai,I'm just start to do this but I'dont find the file which is called "system/build.prop"
    I've been downlaoded zip file of clearmotion from your link and also donwload RooT explorer.I was opened the clearmotion zip file with RooT explorer.Bro could you kindly tell how I do this?

    ReplyDelete
    Replies
    1. Simply use the new version (v2) which automatically adds the necessary lines in build.prop :)

      Delete
  3. Awesome work man! This really make a difference when playing video in my Redmi Note 2!

    ReplyDelete
  4. Didn't work on Redmi Note 3G.
    :(

    Really want to experience Clearmotion on my phone.

    ReplyDelete
  5. Link error..please fix again..ⓣⓗⓐⓝⓚⓢ

    ReplyDelete
    Replies
    1. The link is working fine; I checked. Have you enabled adblock? Maybe that's why it doesn't open.

      Delete
  6. Thank you very very much, man. It's totally works on my Redmi Note 2 Prime! It's just like the Splash Pro Video Player on desktop. It turn the 60 fps video playback, either with the higher color saturation. Appreciate it! Keep posting! :))

    ReplyDelete
  7. after flashed with twrp the screen doesn't divide with mx player even after the 1 in eng mode, what can i do? clearmotion so isn't working?

    ReplyDelete
  8. Work like a charm dude.... Thanks
    Me on Redmi Note 2 TDD-LTE Global Stable 7.0.12.0

    ReplyDelete
  9. Not working on MiUI 7.1.2.0 Global Stable. And i play on MX Player Pro wont divide the screen. I was set value 1 on clearmotion demo

    ReplyDelete
  10. Any chance to run this on an (inofficial) AICP Rom?

    ReplyDelete
  11. Hey!
    I flashed it on MIUI 5.12.30 beta.The screen in MX player divides but the Youtube screen does not.Does that mean it's not working in my phone?

    ReplyDelete
  12. Great, it works. I use mx player. Btw, it only works in HW mode, not in HW+ or SW. Thanks brother Hasaan.

    ReplyDelete
  13. Please does this affect battery life? Thanks

    ReplyDelete
    Replies
    1. Clearmotion is hardware accelerated so it doesn't stress the CPU much.

      The code is really efficient. The impact on battery is negligible.

      Delete
  14. Is this mod work on redmi note 3 also ?

    ReplyDelete
  15. will this work on redmi note 2 runing CM12.1?

    ReplyDelete
  16. How to enable this feature in mokee rom, though it is also an asop, it is not enabled by default..... Help me!

    ReplyDelete
  17. Can you port MiraVision to MIUI Roms ?

    ReplyDelete
  18. Thanks Hasaan, 1 question, how to disable it after i flashed your zip? should change back build.prop? Is there any way to toggle clearmotion on/off without reboot?

    ReplyDelete
  19. You're welcome :)

    There's no specific toggle to disable it. However, I have an excellent suggestion.

    Use MX player and enable HW+ decoder from settings (but don't make it default)

    Now, whenever you play any video and want clearmotion ENABLED, use HW decoder. If you want clearmotion DISABLED, use HW+ decoder.

    Simple as that! :)

    ReplyDelete
  20. Thanks, work on redmi note 2 with europe rom

    ReplyDelete
  21. Hasaan, hi there, before I upgrade to miui 7.2 china, its smoothly works, but now, I can't see the clearmotion although I was flash the mod, please help

    ReplyDelete
  22. Will it work on Redmi note 3g(mt6592) ???

    ReplyDelete
  23. Thank You so much Mr.Hassan
    The Patch it is work flawlessly

    ReplyDelete
  24. is it possible to apply on cherry mobile flare s3 octacore lollipop OS?
    in my flare s3 octcore when i was in kitkat os clearmotion is working properly
    but when i upgraded my phone into lollipop os clearmotion doesnt work even i push Li.. files and edit buildprop. can u suggest any othere option? or it is possible? coz in kitkat it has, but in Lollipop it can't :( help pls.

    ReplyDelete
  25. is it possible to apply on cherry mobile flare s3 octacore lollipop OS?
    in my flare s3 octcore when i was in kitkat os clearmotion is working properly
    but when i upgraded my phone into lollipop os clearmotion doesnt work even i push Li.. files and edit buildprop. can u suggest any othere option? or it is possible? coz in kitkat it has, but in Lollipop it can't :( help pls.

    ReplyDelete
  26. Confirmed working on Redmi Note 2 running MIUI 8.0.1.0 Stable Global Rom. Ran with MX Player in HW mode.

    ReplyDelete
  27. Hi Hasaan, is it possible you could unlock/enable clearmotion on Redmi Note 4? I can't get the point why Xiaomi did not utilise the feature. But anyway, if you could enable it, that would be good.. Cheers!!!

    ReplyDelete

Your comments are most welcome!

The content of this blog may not be duplicated without prior permission and/or crediting the author.
Copyrights Reserved (MNC: BDZ7D-U5MCU-7UYTK) @ MyFreeCopyrights Inc.
MyFreeCopyright.com Registered & Protected
Related Posts Plugin for WordPress, Blogger...
 

Total Pageviews

Live Traffic Feed

Popular Posts