• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Introducing the new Android Runtime - ART

i would hope so. i just see this more likely scenario being they give up on it and say that 'Android doesn't need it'.

Sad part is until it happens either way, my Nexus products feel inferior to iOS products. i can't stand stuttery scrolling or crashing or lag. they don't do it as often as a low end device but enough apps and you definitely see the difference between a Samsung Galaxy S3 with ART enabled and a Nexus 7 with Dalvik only.

My 7 has the new launcher, and there is a big delay, followed by a short black screen, if i ask it to open a specific app like the Play Store or Gmail. 'OK Google, Open Play Store' results in a stuttery transition after it confirms, then after it says 'Opening App' and tries, it shows a blank screen for up to 4 seconds before it actually starts loading. on the Galaxy S3, it instantly comes up perfectly fluid like on an iPhone.
 
Upvote 0
My 7 has the new launcher, and there is a big delay, followed by a short black screen, if i ask it to open a specific app like the Play Store or Gmail. 'OK Google, Open Play Store' results in a stuttery transition after it confirms, then after it says 'Opening App' and tries, it shows a blank screen for up to 4 seconds before it actually starts loading. on the Galaxy S3, it instantly comes up perfectly fluid like on an iPhone.

I just tried it on my Droid Maxx (OK Droid Open Play Store) and there was no lag. I could see for less than a second that the screen was black.

Have you tried clearing the Data Cache Partition on the phone with the "lag". This has been proven repeatedly to solve just about all "lag" complaints. (Cause ... it gets filled and then old junk has to be dynamically deleted on the fly to make room for new junk and that is where the delay comes in.)

... Thom
 
Upvote 0
Dalvik keeps getting full. i come from a life of iOS stuff so Android running with Dalvik always feels half put together. i want so badly to have the same fluid experience i get with iOS, and i do with my phone (finally) but i want it on my tablets too. that's not much to ask. but if i root my Nexus it ceases being a Nexus and no longer gets OTA updates. i run at most 200+ apps/games. i've examined the logcats. i know that Dalvik is inefficient for my use. the issue is worst on the Nexus 10 as it has the most stuff installed. it always reboots itself if it gets too full. i did a logcat to find out the source of the toast pop-ups about 'InternalStorageSpace 1.50MB left' since i know i had more than 12GB remaining, and found out it was the Dalvik cache getting full. soon as it hits 1MB left it will reboot itself.
 
Upvote 0
full ram is more an issue with me when i use Dalvik. the performance and stability has increased a lot on my GS3. i just want it to translate to my Nexus devices too. i just looked at the rooting tutorials, and to unlock the bootloader does require a wipe. i've never been successful in flashing any ROM on any device without wiping it first. it either goes into a boot loop or crash loop once the launcher appears.

I bought the Nexus products to use them without the need to root, so i always get the most up-to-date Android and i get a stock, pure experience. if i root them they cease being Nexus products and are unable to OTA update.
 
Upvote 0
full ram is more an issue with me when i use Dalvik. the performance and stability has increased a lot on my GS3. i just want it to translate to my Nexus devices too. i just looked at the rooting tutorials, and to unlock the bootloader does require a wipe. i've never been successful in flashing any ROM on any device without wiping it first. it either goes into a boot loop or crash loop once the launcher appears.

I bought the Nexus products to use them without the need to root, so i always get the most up-to-date Android and i get a stock, pure experience. if i root them they cease being Nexus products and are unable to OTA update.

Rooting doesn't prevent Nexus devices from getting updates. However changing the rom, kernel, recovery, bootloader or radio firmware will cause updates to fail and will require you to do some extra work to get them.
 
Upvote 0
Is it safe to use ART as my daily driver?

Safe, yes, but not all apps are supported - link quoted below.

So does anyone know what happens if you backup apps using Titanium Backup while in ART and then try to restore those apps on a new rom which is using dalvik runtime (by default)?

I'm on ART at the moment and I'm wondering what form the TB backups are stored in if I back up any new updates or installations.

Should I swap back to dalvik (with the consequent time-consuming app updates on reboot) and do my TB backups in dalvik, then swap back to ART?

I am concerned about having a mix of two types of compiled app in my TB backup folder, where some apps will be incompatible with one runtime, and the rest of the apps incompatible with the other...

And what of my current TB backups (all made while in dalvik runtime)? Will they be incompatible if I stay in ART?

I think you already know the answer to this, so what's the new question :thinking: -

Would a Titanium backup of ART re-compiled apps be incompatible with a rom set to dalvic?

I'm just thinking that switching between the two frequently for testing would be incompatible with backing up recent updates to apps, as you would end up with a mix of ART- and dalvic-compatible apps in your titanium backup folder, meaning that at any one time, you would never have all your apps compatible depending on whether you were set to ART or dalvik.

Please see Android 4.4 KitKat’s ART and App Compatibility – xda-developers and follow the links at the end.

Titanium Backup is NOT compatible at this time.
 
Upvote 0
I wouldn't know what it does for an unsupported app. maybe i'm lucky but my GS3 has yet to random crash or lag or reboot itself at all since i enabled it. apps launch as fluid as an iPhone.

What concerns me with rooting a Nexus is that it involves unlocking the bootloader, a data wipe, and then installing a ROM that supports ART to get it. wouldn't that obviously break updates? i don't want to turn my Nexus into another average tablet where the point of a Nexus is ruined. But i also don't want to not have ART available given the obvious benefits to my Samsung phone. I really don't want to wait another few months and find out Google stopped trying to mess with ART.
 
Upvote 0
I think you already know the answer to this, so what's the new question :thinking: -

After you posted that useful link, I checked which of my apps would be incompatible with ART, and indeed, Titanium Backup was one of them. However that situation changed with an update that made TB compatible with ART, :) so I suppose my question is...

Do apps that are restored from Titanium backups get recompiled into ART or dalvik format automatically by android upon their restoration? Because if so, I could happily backup new apps and updates from within ART knowing they would be compatible with any newly flashed rom that defaults to dalvik.
 
  • Like
Reactions: EarlyMon
Upvote 0
I've been using ART now on my galaxy s3 with no problems and it seems very stable and fast as I haven't been using any incompatible apps.

I've been using a custom rom (Temasek's Unofficial CM11) which has been receiving frequent updates and keeps getting better. I'm now running 4.4.2 :)

Cyanogenmod however have said they are going to drop ART from their roms because:

Too many inexperienced users are finding it in developer options, and despite not being developers, are attempting to use this as a daily driver feature, and are complaining it doesn't work

Thankfully Temasek says he will retain ART in his roms for the s3 but I'm assuming that that CM roms across all devices will be affected.

Personally I haven't had any problems so it seems a bit over the top. If people do their research they should be alright.
 
Upvote 0
I've never had any problems whatsoever with ART (forced a nightly CM 11 to run on a Galaxy Tab 2 10.1 with ART enabled--huge performance boost over whatever was on it from the factory). what exactly does an app that isn't compatible do? crash, silent crash? reboot the phone/tablet? or just load slow? either i've yet to discover one in my uber huge list of installed apps and games, or i'm just lucky to have no app that is listed as not compatible. Also, if they want to remove Developer features because non-devs are using them, well, they're all experimental (hence developer options, accent on DEVELOPER), why not just remove all of them? Besides, on CM ROMs it pops up a huge warning dialog anyway, however i think rooting itself carries more risks than a runtime change. Also, i've noticed in the 4.4.2 update, none of the Nexii have gotten the option STILL, and the Nexus 10 still has no transparent bars. however, the 10 is no longer as crash happy, and toast alerts now claim there is 5-6GB left (dalvik partition again, i still have 10GB of internal left). still not as fast as the Galaxy Tab to load apps or boot from a power-off condition though.
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones