Related
Hey Folks,
I just switched from Dalvik VM to ART in my phones developer Options to test how Performance and Battery life will work out.
Anyone else up for the ART Train? You just Need to enter Developer Options and then select ART instead of Dalvik as Runtime.
It then will recompile all your apps (after a restart) using ART, which will Need some time as everything gets newly compiled and will take up slightly more space. The benefit should be a massive improvement in execution time and battery Performance due to running apps as native code.
Maybe someone else can give additional Feedback.
*EDIT*
WhatsApp is not working currently using ART!
Apps load instantaneously which shaves even more time off an already speedy OS. Some root apps like Titanium Backup however are force closing after the switch. I have sent a few crash reports and hot the dev is able to respond quickly because I want to keep using ART.
Hopefully all major apps will work with ART soon, it will be a major boost. I will definitely check it out, but won't really keep using it until everything I need works flawlessly.
Apps open extremely fast, but I've noticed a few minor GUI glitches. Runtime performance seems to be the same for most apps.
Edit: Noooo! Wordament closes at the splash screen =[
Sent from my Nexus 5
I've started using it too, my only complaint at the moment is that it breaks whatsapp
Sent from my Nexus 5 using Tapatalk
My only issue is now lack of TiBackup :crying:
It would be good if we could get a list of apps that are confirmed working and not working.
We know whatsapp and titanium backup are having issues. What apps are working? facebook? I assume all google apps work fine?
WhatsApp isn't launching with ART. So no ART for me atm
Had to revert to dalvik; art is great but it breaks too many things right now.
WhatsApp couldn't be installed again once back in "dalvik mode", plau store gave me an error 24. Here's how to fix it: http://forum.xda-developers.com/showthread.php?t=2027663
P. S. If anyone still on art, can you try what I linked above and let us know if it works?
ART felt much faster for me but Quadrant and Whatsapp wouldn't work, wasnt bothered about Quadrant but ive paid for Whatsapp for 5 years, i want to use it
So far, everything I've run on ART works great with the exception of some Square Enix titles. Chaos Rings 2 seems to be ok though
running ART. the only thing ive had force close are some random camera apps which are broken in 4.4 anyway
I will switch to ART as soon as WhatsApp is compatible with it.
RagePX said:
Hey Folks,
I just switched from Dalvik VM to ART in my phones developer Options to test how Performance and Battery life will work out.
Anyone else up for the ART Train? You just Need to enter Developer Options and then select ART instead of Dalvik as Runtime.
It then will recompile all your apps (after a restart) using ART, which will Need some time as everything gets newly compiled and will take up slightly more space. The benefit should be a massive improvement in execution time and battery Performance due to running apps as native code.
Maybe someone else can give additional Feedback.
*EDIT*
WhatsApp is not working currently using ART!
Click to expand...
Click to collapse
Switched over to ART this morning and the only issue I have is that titanium fc's - It feels quite snappy though :good:
EDIT: Ooooops - sorry guys - just saw that this is a nexus5 thread - anyho - ART stil feels good here on s2 - I wonder if we could have a 'general' thread for ART discussion.
Aerys said:
I will switch to ART as soon as WhatsApp is compatible with it.
Click to expand...
Click to collapse
ART compatible WhatsApp. You might have to uninstall the one you're running now or it might just install on top of the old one. https://db.tt/3PJcAv5E
Do not update in the market, it reverts to a non compatible one!
Switched to ART yesterday. Must admit I know little about it. All of my apps seem to function with it so far. I did notice a speed enhancement right away. Going to stick with it until it gives me grief.
Sent from my Nexus 5 using XDA Premium 4 mobile app
Swapped to art a few days ago. No problems, a few apps actually seemed to hickup a little bit on launch. But no major issues. No noticeable speed improvements as far as I can tell.
Sent from my Nexus 5 using xda app-developers app
Guys - I just created a new thread for all android devices running 4.4 and for all users to discuss experiences of running ART. Theres a couple of useful links in there also. Hope you don't mind me posting in your thread and hope you may drop by, I think this is potentially a big Android discussion and hope you may find this useful. There is a link to the thread in my signature
[deleted]
Art, it's smoother and faster in every possible ways.
Sent from my Nexus 5 using xda app-developers app
ART - What is it? Is dalvik VM still better ?
OK guys - here we go!!! Over the past 24 hours I have switched over to 4.4 and discovered Google's new solution to making the most out of our hardware. Now - please let me be clear from the outset, I am certainly not a dev, technical whiz, nor even someone who understands coding nor microchips! I am simply an enthusiastic Android geek who loves to mess around with the latest optimizations and offerings bestowed upon us by our ever hard working devs.
My interest in starting this thread is to give a forum for discussion around the pros and cons of Android Run Time (ART) and dalvik VM and in so doing become a place where information can be shared and a knowledge base that can be built upon. I come to posting this after the dev of the new omnirom 4.4 @nims11 (i9100) posted that ART was working on his ROM. I asked the question 'so what does ART do and what benefits does it give?' to which he suggested I google it! Once I got off my lazy arse and started searching I discovered that there are many posts that relate to this subject however they are all in device specific forums - obviously, this topic is far bigger than just Nexus 4 or 5! Thus this general forum for all Android users who have (or are thinking of) upgrading to 4.4
Introduction
My limited understand of what ART does is this: ART compiles the code of all our apks into a near native code which makes it more economical for our Android to read and execute in run time - which means that apps and operations should load quicker, be more battery efficient and generally perform better. Like I said this is a simplistic description and there are much more detailed explanations in the threads I have linked below:
Here's some useful information - this list will be added to as and when new info becomes available:
Wiki description of dalvik VM
What is ART? Android Police
BREAKING: New Runtime Compiler in Android 4.4 to Possibly Bring Better Performance in Future Releases XDA
Find out about which apps can run in ART (Android Run Time), the easy way @bippi79
ART Broken apps androidruntime.com
Top tip: use PA 4.4 gapps as they are compatible with ART thanks @herna
Now - this I believe is just a start and I feel there is lots more information but this is some of the resources I found useful to help me to get a basic understanding.
Summary
I've been running on ART for a week now and can report that for me ART seems to be running very nicely. I have tried swapping between dalvik and ART and am certain there is a perceptible difference in the speed that apps load and operate, don't get me wrong - I think KitKat in general seems fast and smooth, although ART seems to just give it a little edge - it seems more instant. I'm not sure how much of this is placebo but what I am sure of is that Google has invested much time and resources into developing this new run time and I can't for the life of me see how it has got this far without the intention that this is the future of Android.
The only problems I have had is that Titanium Backup still will not run on ART - however it will run on dalvik so my simple workaround is to swap to dalvik - restore or back up with TB then switch back to ART - not pretty but it works : EDIT: TB now works with ART. The other problem is that the xposed framework @rovo89 is running on 4.4 with dalvik but unfortunately not with ART. @rovo89 says the framework will likely need to be completely re-written to run on ART, I hope he can (well I'm sure he can but hope he does) rewrite so we can have his excellent framework and all modules that run from it working on ART
Rules of this forum are very simple:
All rules that apply to XDA forums in general
Be nice ! This is supposed to be a helpful forum for people to learn, if someone asks a question that has already been answered please just direct them to the right place.
Share your experiences pro and con for both using dalvik and ART
Please post any articles and resources and I will copy and paste them into the OP as I have time
Ask questions - but search before you do - there is no such thing as a stupid question unless it has already been answered umpteen times before!
PRESS THE THANKS BUTTON IF SOMEONE HELPS YOU
So - I'll kick us off with sharing my limited (so far) experience with ART. Well, it works on ominrom 4.4 and the way I changed over was quite simple:
From TWRP run GS2RomNuke @hawkerpaul
Flash latest omnirom 4.4 @nims11
Flash latest PA Gapps
Reboot ROM
Settings/about phone/press the build number 7 times
Developer options/select runtime/ART
Reboot (it takes far longer than normal so be patient)
Voila - for me I had zero fc's on first boot, consequently I have had minimal fc's that I have either uninstalled the troublesome apps or the fc's just seem to stop on their own
I have been running on ART and rebooted a couple of times today and the boot time hasn't been significantly affected since the initial boot. My phone seems snappy - however it did when I first ran 4.4 but I'm used to having a super responsive phone running SlimSaber @fusionjack powered by dori 9.43xx maliv3 - that being said I think things do seem to be running quicker and my phone seems to be 'ultra resopsive' now, although I am cautious of being taken in by placebo! Also, phones usually run very well when clean install of new ROM so we will have to wait and see how this settles in.
Battery - I've been noticing significant drain in comparison to my old set up on 4.3.1 however omnirom is very much in alpha so this may far more to the ROM/kernel needing to be optimized rather than anything to do with running ART.
The only issues I have noticed is of course 'Titanium' fc's as soon as I try to open it, I also use 'overlaylauncher' to give me the option to have a pseudo ribbon with gesture capabilities - it works, however when I try to set it to do system lock (using root option) it doesn't work although asks for root permission (it did work last night when I was running omnirom on dalvik.
Thats it for now - I'm really interested in hearing your experiences thus far :good:
There is a list of apps that work/don't with ART here. You can filter by Not working.
Why GoogleSearch crashes with ART?
grorg said:
Why GoogleSearch crashes with ART?
Click to expand...
Click to collapse
ART is still in its 'experimental' phase, presumably to give devs and us mere mortal end users the chance to mess around with it and see what works and what doesn't in order to iron out all incompatibility issues for google to roll out it's new solution to compiling code for our user apk's to run on. I have been using google search with ART enabled and it has given some fc's but not unusable. Personally I choose to completely uninstall it at the moment as their are other browser I can use that meet my needs better - and they don't FC - I use 'Maxthon'.
This is probably a very limited understanding of the technicalities and please - if anyone (devs) can explain this better, then please do
EDIT: Just checked and google search is also FC'ing running on dalvik
Jimsilver73 said:
EDIT: Just checked and google search is also FC'ing running on dalvik
Click to expand...
Click to collapse
Interesting, I never had FC's on dalvik. When I switched on ART I got FC's of Google Search, Google Home, Gmail, and other Google apps. They made a new engine, but teir own apps crashed on it.
It looks funny at least for me
grorg said:
Interesting, I never had FC's on dalvik. When I switched on ART I got FC's of Google Search, Google Home, Gmail, and other Google apps. They made a new engine, but teir own apps crashed on it.
It looks funny at least for me
Click to expand...
Click to collapse
I can confirm that for me it is working very well, feels much snappier and am currently experiencing no fc's - I noly use the PA gapps mini modular and then uninstall all the google c**p that I don't use (I use nobloat from play:good
grorg said:
Interesting, I never had FC's on dalvik. When I switched on ART I got FC's of Google Search, Google Home, Gmail, and other Google apps. They made a new engine, but teir own apps crashed on it.
It looks funny at least for me
Click to expand...
Click to collapse
That is because your Gapps are not ART compatible. If you flash latest PA Gapps full zip you will have Gapps working with ART.
Enviado desde mi GT-N7000 mediante Tapatalk
the fetyasp
herna said:
That is because your Gapps are not ART compatible. If you flash latest PA Gapps full zip you will have Gapps working with ART.
Enviado desde mi GT-N7000 mediante Tapatalk
Click to expand...
Click to collapse
Thanks.
I've been thinking about that. Now I am downloading full pa gapps and I'll try to use them.
ART is still in its 'experimental' phase, presumably to give devs and us mere mortal end users the chance to mess around with it and see what works and what doesn't in order to iron out all incompatibility issues for google to roll out it's new solution to compiling code for our user apk's to run on.
Running art since 27 build of infected omni...
... and the phone is smooth. No bigger speed gain, but, no FCs too.
Running latest OmniRom by @nims11 and @infected_ and in ART mode, and everything works like a charm
on omni rom i can see a big boost on booting up with ART
Is it just me or does androidruntime.com/list start their compatibility list off with a picture of a gigantic dong?
-edit-
It's not just me. Definitely a huge dong. Man. I'm at work...
hypocritelecteur said:
Is it just me or does androidruntime.com/list start their compatibility list off with a picture of a gigantic dong?
-edit-
It's not just me. Definitely a huge dong. Man. I'm at work...
Click to expand...
Click to collapse
yup. looks like they may have been hacked. or have a very odd sense of humour
cdmackay said:
yup. looks like they may have been hacked. or have a very odd sense of humour
Click to expand...
Click to collapse
We should be grateful its just a dong. That's a downright tame hack these days.
ART?
From what I know, ART really compiles the apks that you download into native code for best-running. But it happens when you're intalling the apps from Google Play, so the apps take a long time to install.
Well, I have not the Android 4.4 because there is not a 4.4 ROM for my phone and it will not have an upgrade
ART' users, is it true that with ART the apps take a long time to install?
I've noticed some extra time taken during installs (mostly anecdotal), but it worth it, apps seem to boot faster and I haven't had any problems yet.
Sent from my GT-I9505 using xda app-developers app
I've never really looked into ART that much..
I may experiment with it and post back here.
For me, it's a placebo. No really changes on my galaxy nexus.
Inviato dal mio Galaxy Nexus utilizzando Tapatalk
I heard a lot about ART and there is dedicated thread http://forum.xda-developers.com/showthread.php?t=2516646 (Long thread with 500 pages around, gone through most of it). However what I would like to understand is - are there any particular guidelines before or after enabling/disabling ART without any issues? (We may not be able to avoid all issues because it is still in BETA - would like know more about it)
Let me explain clearly what I want to understand:
There are lot of things can be done with Nexus device like Unlocking/locking bootloader, rooting/unrooting, installing custom recovery, installing custom kernels, installing custom ROMs, stock ROM and etc.
Are there any guidelines with explanation when or when not to enable ART and something like that? Hope I will get to know more out of XDA
rootSr. said:
I heard a lot about ART and there is dedicated thread http://forum.xda-developers.com/showthread.php?t=2516646 (Long thread with 500 pages around, gone through most of it). However what I would like to understand is - are there any particular guidelines before or after enabling/disabling ART without any issues? (We may not be able to avoid all issues because it is still in BETA - would like know more about it)
Let me explain clearly what I want to understand:
There are lot of things can be done with Nexus device like Unlocking/locking bootloader, rooting/unrooting, installing custom recovery, installing custom kernels, installing custom ROMs, stock ROM and etc.
Are there any guidelines with explanation when or when not to enable ART and something like that? Hope I will get to know more out of XDA
Click to expand...
Click to collapse
Don't enable ART if using Xposed. That's about it.
Aerowinder said:
Don't enable ART if using Xposed. That's about it.
Click to expand...
Click to collapse
Thanks for the heads up. Any other issues or findings? It could be trivial for you - your inputs can save someone else time.
rootSr. said:
Thanks for the heads up. Any other issues or findings? It could be trivial for you - your inputs can save someone else time.
Click to expand...
Click to collapse
Not really. Most applications work with it now. All the ones I use work fine.
rootSr. said:
Thanks for the heads up. Any other issues or findings? It could be trivial for you - your inputs can save someone else time.
Click to expand...
Click to collapse
ART atm is still WIP. It demolishes (read: breaks) a lot of apps because it's still not compatible with them unlike dalvik. Stick with Dalvik + optimized libraries and you're good. But don't get me wrong, ART is interpreted as the the future of Android when it becomes fully functional (read: complete)
Hey everyone - just a quick question... I wanted to mess with the ART runtime to see how it runs, if any of my regular apps don't like it, etc. However, I don't have this option in the Developer options (see attached image)
The phone is a Verizon Galaxy S III (SCH-I535) upgraded to the latest Android version available 4.4.2 (see attached image). The phone is rooted, but running the stock OS.
I looked all over Google and XDA but didn't find anyone else with this problem. Has anyone else come across this?
Thanks!
-- Jim
Wondered the same thing
You're not going to find Android’s new runtime ART on Samsung as it seems TouchWiz isn't compatible with it yet. Maybe in 4.5 when it becomes mandatory. Right now it's still Goggle experimental.
DigitalMD said:
You're not going to find Android’s new runtime ART on Samsung as it seems TouchWiz isn't compatible with it yet. Maybe in 4.5 when it becomes mandatory. Right now it's still Goggle experimental.
Click to expand...
Click to collapse
Well, I'm not going to get my hopes up - it was my understanding that this last update was probably the last one the S3 will get, correct? Sounds like when we get to that point, I may need to go with a custom ROM.
In CyanogenMod, its under development settings, tap Build several times to enable it.
I doubt stock has that option, but it might be worth a try.
Sent from my SCH-I535 using XDA Free mobile app
Hello all,
I have installed lollipop when it came out, I unlocked the bootloader and rooted it. Then I reinstalled a bunch of apps I use (games, apps, utilities) - all from scratch to make sure that old setting and such do not interfere.
All seems to be fine (smooth, fast) - only some apps do not seem to work - however, in some cases (when for example opening Chrome) I see huge slowdowns...
Anyone else experienced this? How do I find out what is causing it? How do I fix it?
Thank you for any suggestions
Un-install Facebook. I was about to revert to Kit Kat, but I figured I would wipe and re-install. I noticed slowdown when I installed Facebook, so I nuked it and my tablet is butter smooth now.
The Facebook app destroyed lollipop performance on my Nexus 7 too. This is not a Shield issue, it's a Facebook/lollipop issue.
Sent from my SHIELD Tablet using XDA Free mobile app
Wow. I had facebook installed but not even logged into, and i saw dramatic reduction in stutters and pauses when i uninstalled it.. how facebook, how?!
Thank you all. I do not use facebook. Any other possible reasons?
Applications I have installed are foldermount, adaway, titanium backup .... Could those cause this?
I also don't have Facebook installed and get some hang ups, especially when a system animation is about to occur (opening an app, going home, etc).
I'm rooted as well, with foldermount, adaway, ultimate backup (jrummys titanium), and a slew of other games and stuff. I didn't really think it would be an app issue. But maybe. I'll get rid of a few apps I have on my phone and see if I notice a difference.
Tip for optimizing Chrome
Follow the link and chrome problem will be solved i was amazed by the difference it made -link-http://www.techrepublic.com/article/pro-tip-speed-up-chrome-on-android-with-this-handy-hack/
Sarge29490 said:
Follow the link and chrome problem will be solved i was amazed by the difference it made -link-http://www.techrepublic.com/article/pro-tip-speed-up-chrome-on-android-with-this-handy-hack/
Click to expand...
Click to collapse
Thank you. I tried that - and it makes no difference. And the problem is not just with Chrome, as I experience (more or less random) slowdowns elsewhere too. I am a bit disappointed with this whole new Lollipop experience. On one hand it is (much) smoother than Kitkat was, on the other hand I get slowdowns, incompatibilities etc. which I never experienced with Kitkat
Well I have LTE version, i am rooted with philz recovery locked bootloader and orginal kernel, i use Seeder (find it on playstore) and weekly clear cache and dalvic/art cache, have no lags and slowdowns on lollipop, if there are, they are so rare that i dont notice any more.
Did you factory rest after the update? Cause i read somewhere that already installed apps have issues with lollipop so fresh install is recommended, i also have no issues with facebook either...
And also did you try changing processor mode to max performance in Shield power control under battery menu from optimized.
I must also mention the battery times have improved alot compared to kitkat...
Sarge29490 said:
Well I have LTE version, i am rooted with philz recovery locked bootloader and orginal kernel, i use Seeder (find it on playstore) and weekly clear cache and dalvic/art cache, have no lags and slowdowns on lollipop, if there are, they are so rare that i dont notice any more.
Did you factory rest after the update? Cause i read somewhere that already installed apps have issues with lollipop so fresh install is recommended, i also have no issues with facebook either...
And also did you try changing processor mode to max performance in Shield power control under battery menu from optimized.
I must also mention the battery times have improved alot compared to kitkat...
Click to expand...
Click to collapse
Thank you - I will try your suggestion (I did a factory reset).
For now I have another (larger) problem to solve - apps moved to the SD card disappear...
Gadgetguy2005 said:
Thank you - I will try your suggestion (I did a factory reset).
For now I have another (larger) problem to solve - apps moved to the SD card disappear...
Click to expand...
Click to collapse
Try this thread:- http://forum.xda-developers.com/shield-tablet/general/major-issue-apps-sd-card-dissappear-t2950126
edit: oh i see you already did...
Try going into Google play disable notification and select do not auto update apps
Sent from my Nexus S using xda premium
Sdcard can make your shield slow. My Samsung 64go uhs-1 makes my shield slow if inserted with exfat , but no problem with NTFS and a 64kb cluster size.
Judge584 said:
Sdcard can make your shield slow. My Samsung 64go uhs-1 makes my shield slow if inserted with exfat , but no problem with NTFS and a 64kb cluster size.
Click to expand...
Click to collapse
Thanks, I'll have to try with a re-format.
Tablet is stock, not rooted and boorloader locked. I sideloaded the lollipop OTA on my LTE version and i experience the same issue.
It flies most of the time but sometime, especially when downloading or updating apps from Play store or opening random apps like Skype or even hangouts the tablet will come to a crawl.
I think this is a lollipop issue which nvidia need to address with an update.
I have to say on 4.x the tablet was unbearably slow at times and it didnt seem to be related to any specific app. After installing lollipop fresh and clean everything is really smooth, except Chrome. When i open Chrome and start navigating i see things slow down to being unresponsive for 30-60 seconds at a time and immediately working if i close Chrome. I also have a Nexus 5 with Lollipop and no such issues there. I did install facebook so ill try removing that. Ill give the optimization thread a peak too and see if that works.
Im impressed overall with the Shield tablet, but its a blemish that general web browsing is faster on CM11 on my Kindle Fire HD (original). Maybe Nvidia will come out with a fix, or someone here will pin point the exact cause.
Eat it iPhone said:
I have to say on 4.x the tablet was unbearably slow at times and it didnt seem to be related to any specific app. After installing lollipop fresh and clean everything is really smooth, except Chrome. When i open Chrome and start navigating i see things slow down to being unresponsive for 30-60 seconds at a time and immediately working if i close Chrome. I also have a Nexus 5 with Lollipop and no such issues there. I did install facebook so ill try removing that. Ill give the optimization thread a peak too and see if that works.
Im impressed overall with the Shield tablet, but its a blemish that general web browsing is faster on CM11 on my Kindle Fire HD (original). Maybe Nvidia will come out with a fix, or someone here will pin point the exact cause.
Click to expand...
Click to collapse
For me, web browsing in general has been a pain, many browsers don't seem to work well on our hardware. They all feel somewhat sluggish. And flash has been very picky for me... I think it is finally dying, haha.
Get rid of Facebook if you have it and try this for chrome
http://www.omgchrome.com/improve-chrome-android-memory/
Lastpass?
Do you happen to use LastPass? I found that, upon a fresh install, everything worked great until I installed LastPass. The way that they set up autofill in lollipop seems to hang up the whole system. When I disabled "Enable fill service" in the settings, the tablet was blazing fast again.
After playing with it, I found that I still got decent performance while still being able to leverage the best part of the app by enabling the fill service and disabling the helper and scanning for password fields.
A little app called cache cleaner can do wonders? and a simple reboot also helps a lot.
Btw. im using Yandex Browser for now untill BoatHD gets the lollipop update and it works really well on the Shield with 5.0