WebTrickz
TRENDING
  • How to See Your Liked Posts on Instagram 2022
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
December 30, 2021
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 the development stage, which 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 experiencing its performance.

What’s new is ART?

ART is an attempt to make Android faster by improving the app performance and making the device overall smooth. There are several new features in ART, the major one being the all-new compilation mode. For those unaware, Dalvik uses a Just in time (JIT) compiler whereas ART uses Ahead-of-time (AOT) compiler, which 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, which 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 offer the option to enable ART anymore in Developer options. Fortunately, there is a trick to enable ART runtime on MIUI ROM that is 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 support 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 to this guide.)

2. Install ‘ES File Explorer’ from the Play Store.

3. Open ES File Explorer, tap the menu icon from the 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 the 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 seem 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 the “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:
    8 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:
      8 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

Facebook app on iPhone

How to Find Block List on Facebook App [2023]

January 20, 2023

AimerLab MobiGo Review 2023: An effective Location Changer for iOS

January 14, 2023
whatsapp logo

How to Restore Deleted WhatsApp Messages Without Backup

December 30, 2022
story comments on facebook

How to Turn Off Story Comments on Facebook

December 3, 2022
Photo by Alwin Kroon on Unsplash

How to Turn Vibrate On or Off in iOS 16 on iPhone 

November 25, 2022
reels on Instagram and Facebook

Here’s how you can See Reels Views on Facebook

November 23, 2022

7 Best Free Online Puzzles To Enjoy At Home

November 21, 2022

TRENDING

  • Facebook saved reels

    How to Find Your Saved and Liked Reels on Facebook

  • How to Reply to a Specific Message on Instagram 2022

  • How to Mute the Original Sound on Instagram Reels

  • How to Send Files and Documents on Messenger for Android

  • How to Make Spotify Album Art Bigger on iOS 16 Lock Screen

Popular Tags

Google Android Chrome

Twitter Dark Mode OnePlus

iPhone Apple Apps Mac

Facebook Messenger Security

Instagram Tutorials Photos

  • About
  • Advertise
  • Contact
  • Privacy Policy

© 2023 WebTrickz. All Rights Reserved.

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

© 2023 WebTrickz. All Rights Reserved.