WebTrickz
TRENDING
  • How to Reply to a Specific Message on Instagram
No Result
View All Result
  • News
  • Reviews
  • Social Media
    • Facebook
    • Twitter
    • YouTube
    • Messenger
    • Instagram
    • Snapchat
    • WhatsApp
    • TikTok
  • Apps
  • How To’s
  • Apple
  • iPhone
  • Google
  • Android
  • Mac
SUBSCRIBE
  • News
  • Reviews
  • Social Media
    • Facebook
    • Twitter
    • YouTube
    • Messenger
    • Instagram
    • Snapchat
    • WhatsApp
    • TikTok
  • Apps
  • How To’s
  • Apple
  • iPhone
  • Google
  • Android
  • Mac
No Result
View All Result
WebTrickz
No Result
View All Result
Home Android

How to Enable Android Runtime (ART) on Mi 3 running MIUI 5/6

Mayur Agarwal by Mayur Agarwal
July 7, 2019
in Android, How To's

With the release of Android 4.4 KitKat, a new Android runtime called “ART” was introduced experimentally. Currently, Dalvik is the default runtime for Android devices and ART is optionally available on a number of Android 4.4 devices, such as Nexus phones, Google Play edition devices, Motorola phones running stock Android and many other smartphones. ART is currently in development stage, that has been purposely introduced to obtain developer and user feedback. ART will eventually replace dalvik runtime once it becomes completely stable in the future. Until then, users with compatible devices can switch from Dalvik to ART if they’re interested in trying out this new functionality and experience its performance.

What’s new is ART?

ART is an attempt to make Android faster by improving the app performance and make the device overall smooth. There are several new features in ART, major one being the all-new compilation mode. For those unaware, Dalvik uses Just in time (JIT) compiler whereas ART uses Ahead-of-time (AOT) compiler, that is smarter and can improve app performance. ART improves garbage collection in several ways and also has tighter install-time verification than Dalvik. In ART, the application is compiled just once at the time of installation, thus being pre-compiled that results in improved app performance and less CPU load, thereby improving the battery life. However, it should be noted that app sizes (fresh install) are increased significantly while using ART that could be an issue for devices with low internal storage.

Watch the insightful video demonstration of ART vs. Dalvik by David of PhoneBuff –

How to switch to ART runtime?

To switch or enable ART, your device must be running Android 4.4 KitKat and should be compatible with ART. You can easily turn on ART runtime from Settings > Developer options > Select runtime option. (Tip – If you can’t see Developer options in Settings, then go to About phone, scroll down and tap 7 times on the Build number to enable developer options.) The phone will reboot now and start optimizing the apps for ART, that can take time depending on the number of apps installed on your device.

Screenshot_2014-11-11-10-12-28

 

Caution to be taken when using ART –

As Dalvik is the default runtime on Android devices, there might be a change in behaviour of some apps that don’t work on ART. Though, most existing apps are now compatible with ART and should just work fine with the new runtime. But in case, you experience any bugs or app crashes with ART, then it’s wise to switch back and stay with ART.

Switching to ART on Xiaomi Mi 3 running MIUI v5 or MIUI v6 –

Mi 3 doesn’t offers the option to enable ART anymore in Developer options. Fortunately, there is a trick to enable ART runtime on MIUI ROM that are based on Android 4.4 KitKat.

Disclaimer: It’s advisable to take a backup of your data. We won’t be responsible in case your device gets bricked. Try it at your own risk!

– Requires Root

– Don’t try if you’ve WSM Tools installed as it doesn’t supports ART.

P.S. We’ve tried this on Mi 3W (Indian variant) running MIUI v6 Developer ROM.

To Enable ART on Mi 3, carefully follow the steps below:

1. Make sure your Mi 3 is rooted. Refer post: How to Root Xiaomi Mi 3 (Those running MIUI 6 Developer ROM, refer this guide.)

2. Install ‘ES File Explorer’ from Play store.

3. Open ES File Explorer, tap the menu icon from top left corner and select Tools. In tools, enable the ‘Root Explorer’ option and grand full root access to ES explorer when prompted.

4. In ES explorer, open the Device (/) directory from Menu > Local > Device. Go to /data/property folder. Open the “persist.sys.dalvik.vm.lib” file as Text and then select ES note editor.

5. Edit the file by selecting the edit option from top right corner. Rename the line from libdvm.so to libart.so

Screenshot_2014-11-21-19-10-05

6. Go back and select ‘Yes’ to save the file. Then reboot the phone.

7. After reboot, your Mi 3 will stay at the Mi logo for around a minute. Don’t worry!

Then it will begin optimizing the applications for ART that can take around 15-20 minutes, depending on the number of apps installed on your phone. You will also notice an increase in the size of installed apps after enabling ART runtime on Mi 3.

Screenshot_2014-11-11-16-29-49      Screenshot_2014-11-11-20-20-08

Note: After switching to ART, whenever you reboot your Mi 3 the next time, it will optimize all the apps once again; which is kind of annoying. But we noticed the same thing on Moto G 2014, so that doesn’t seems limited to Mi 3 or MIUI.

In case, you wish to revert back to dalvik runtime, similarly follow the above steps and rename the text in “persist.sys.dalvik.vm.lib” file to libdvm.so

Do share your views if you try this functionality on your Mi 3. 🙂

Tags: AndroidMIUIROMRootingTipsXiaomi
ShareTweetSend
Previous Post

Motorola Moto G 2014 (2nd Generation) Review

Next Post

Hide Chrome Tabs from Recent Apps Menu in Android 5.0 Lollipop

Mayur Agarwal

Mayur Agarwal

Mayur Agarwal is the founder and editor-in-chief of WebTrickz. As a Technology enthusiast and an Internet addict, he loves sharing useful How To’s and Tips & Tricks.

Next Post

Hide Chrome Tabs from Recent Apps Menu in Android 5.0 Lollipop

Comments 2

  1. Sparsh says:
    6 years ago

    Well it definitely works… The phone has become way more faster than before… but every reboot is like a 25 minutes long… That’s cuz I have lots of apps… It optimizes all the apps in every reboot… Its really annoying… Mi mi3 used to boot up in less than 2 minutes before but now it’s like almost half an hour… So I reverted it back and will wait for official release…

    Reply
    • Mayur says:
      6 years ago

      Yep, that’s the main downside. Very annoying actually. 🙂

      Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Latest Stories

Galaxy S21 lineup

How to Power Off & Restart Samsung Galaxy S21, S21+ and S21 Ultra

January 15, 2021
Bedtime in clock app on iphone

How to Turn Off Sleep Mode & Bedtime in iOS 14 on iPhone

January 8, 2021
MacBook desk

How to Lock/Unlock Notes with Touch ID on macOS Big Sur

January 5, 2021
macbook air m1 2020

How to Manually Adjust Keyboard Brightness on M1 MacBook Air

January 2, 2021
messenger new logo

How to Send Gift-Wrapped Messages in Messenger 2020

December 13, 2020

TRENDING

  • facebook messenger logo

    How to Send Files and Documents on Messenger for Android

  • How to Reply to a Specific Message on Instagram 2020

  • What does Other Viewers mean on a Facebook Story?

  • How to Sign Out of One Google Account on your Computer

  • 3 Different Ways to Mark Spoilers on Discord

Popular Tags

Google Android Chrome

Twitter Dark Mode OnePlus

iPhone Apple Apps Mac

Facebook Messenger Security

Instagram Tutorials Photos

  • About
  • Advertise
  • Contact
  • Privacy Policy

© 2021 WebTrickz. All Rights Reserved.

No Result
View All Result
  • News
  • Reviews
  • Apps
  • How To’s
  • Android
  • Google
  • iPhone
  • Mac
  • Contact Us

© 2021 WebTrickz. All Rights Reserved.