Thursday, December 19, 2013

Android ART Runtime-What You Need To Know

apk-soft.net
ART(Android Run time) is a new Android runtime being introduced experimentally in the 4.4 release. This is a preview of work in progress in KitKat that can be turned on in Settings > developer options. This is available for the purpose of obtaining early developer and partner feedback.

What Is ART?

ART, which stands for Android Run time, handles app execution in a fundamentally different way from Dalvik. The current run time relies on a Just-In-Time (JIT) compiler to interpret byte code, a generic version of the original application code. In a manner of speaking, apps are only partially compiled by developers, then the resulting code must go through an interpreter on a user’s device each and every time it is run. The process involves a lot of overhead and isn’t particularly efficient, but the mechanism makes it easy for apps to run on a variety of hardware and architectures. ART is set to change this process by pre-compiling that byte code into machine language when apps are first installed, turning them into truly native apps. This process is called Ahead-Of-Time (AOT) compilation. By removing the need to spin up a new virtual machine or run interpreted code, start up times can be cut down immensely and ongoing execution will become faster, as well.

Important: Dalvik must remain the default runtime or you risk breaking your Android implementations and third-party applications.

Two runtimes are now available, the existing Dalvik runtime (libdvm.so) and the ART (libart.so). A device can be built using either or both. (You can dual boot from Developer options if both are installed.)
apk-soft.net

How Much Better Is It?


For now, the potential gains in efficiency are difficult to gauge based on the version of ART currently shipping with KitKat, so it isn’t representative of what will be possible once it has been extensively optimized. Thus far, estimates and some benchmarks suggest that the new runtime is already capable of cutting execution time in half for most applications. This means that long-running, processor-intensive tasks will be able to finish faster, allowing the system to idle more often and for longer. Regular applications will also benefit from smoother animations and more instantaneous responses to touch and other sensor data. Additionally, now that the typical device contains a quad-core (or greater) processor, many situations will call for activating fewer cores, and it may be possible to make even better use of the lower-powered cores in ARM’s big.LITTLE architecture. How much this improves battery life and performance will vary quite a bit based on usage scenarios and hardware, but the results could be substantial

There is no denying that ART is the future of Android. ART is the new runtime included in KitKat builds, replacing the old system that used Just-In-Time compiler. Instead, all apps will be compiled ahead of time, making loading apps a lot faster. But a huge change like this will of course break apps, hence why ART is an experimental feature in the Developer settings.

There are many apps ART runtime does not support,user reporting no. of apps crashing on ART Runtime which runs perfectly on their Dalvik runtime,below is the list of broken apps,

Broken Apps For ART:

  •     Akimbo Player
  •     Battleheart
  •     Call of Duty: Strike Force
  •     Cover Lockscreen
  •     Dark Avengers
  •     Disa
  •     Doubletwist
  •     Domino’s
  •     draStic
  •     ExDialer
  •     First Citizens Mobile Banking
  •     Groove IP
  •     Hobbit: Kingdoms of Middle Earth
  •     Kingdom Rush
  •     Kingdom Rush Frontiers
  •     NBC Live sports extra
  •     NFL Sunday Tickets
  •     Plants vs. Zombies
  •     Puzzle & Dragons
  •     Rdio
  •     Re-Volt Classic
  •     Scaresoul
  •     Songza
  •     Sparkasse+
  •     Spirit HD
  •     Square Wallet
  •     Titanium Backup
  •     Unified Remote
  •     WhatsApp
  •     Wikipedia
  •     Wordament

Titanium Backup updated with support for the runtime

Titanium Backup, one of the most important root apps out there, has now been updated with full support for ART. So if anything goes wrong with your phone, you know you’ll have a working backup to fix whatever damage has been caused.

If you’ve never used ART or don’t have a KitKat device that supports it, this update won’t change anything for you. But if you’ve started using ART, go download this Titanium Backup update now and keep a backup handy for the moment things go south.

Download Link In GooglePlay: Titanium Backup

Whatsapp Crashing On ART:-

If you are using ART and unable to use whatsapp on your phone then here the answer which whatsapp provided to ART users.


Warning: Do not try this with the Paranoid Android (or other AOSP) build right now. There is an incompatibility with the current gapps package that causes rapid crashing, making the interface unusable.

If you’re using ART right now, tell us know how you like it in the comments!

No comments:

Post a Comment