Art vs Dalvik. Anyone tried yet? - Verizon Galaxy Note 4 General

This morning I switched from Dalvik to ART just out of curiosity. Took forever to "upgrade apps" after the initial boot and the phone got a little warm during the process. Overall performance is good, though. Possibly better than before. I was having random stutters and this may have smoothed things out, I'm not sure. Anyone else tried ART? What's your experience so far?

Yep,
I tried but switched back to Dalvik. I saw no advantage with ART.

Art was smoother, although some apps refuse to work. Back on dalvik as well
Sent from my SM-N910V using Tapatalk 2

I switched the 2nd day having it so i cant speak much for dalvik but ART has been running like a champ. I have gotten at least 16 hours out of every charge with between 3 and 5.5 hours screen on. I havent had any app compatability problems except for possibly s health. But i uninstalled the latest update to the app and it runs fine again.

On mine dalvik runs way better than art. Saw more issues and higher Temps with art so switched back

I switched to ART over the weekend and didn't really notice a difference performance and battery wise and I ran into a couple apps that wouldn't work, so now I am back on Dalvik. The apps I had issues with was Pandora, Shealth, and Resco Mobile CRM.
Pandora was fixed with an uninstall and reinstall from the Play store.
S-Health just needed the updates uninstalled and it worked
Resco I just couldn't get to work at all.

Related

Memory leak hasn't been fixed in 4.3

The surfaceflinger seems to have indeed been fixed, but there is still a memory leak in the system, which I now encountered it for the 2nd time. I wanted to make screenshots, but just after I made the 2nd one, the tablet soft rebooted. It didn't freeze, it didn't show any google logo, it went directly to the boot animation and then the tablet booted. This seems to have been fixed it, unlike the previous surface flinger issue where you needed a normal reboot.
Anyway, in the 1st screenshot you can see 44h of uptime, in the 2nd one I took a pic in quick system info which displayed 198mb of free ram, just after I cleared all the processes, but then the tablet immediately soft rebooted and apparently didn't save the screenshot.
Running "ps su" in terminal emulator showed 56 rss, if I typed "su" 1st and then "ps su" there were 2 rows, one with 56 rss and the second with 116 rss, so the surface flinger has apparently been fixed.
Running factory image 4.3, rooted, deodexed, stock kernel. Has anyone experienced this issue on 4.3 so far?
LE: Oh I forgot to attach the first screenshot, sorry. Anyway it's a pic from cpu spy, which displayed 44h of uptime, so it's not that important.
I had just nearly the same phenomen. But my n10 softrebooted when I was starting to examine the process table. I just had found surfaceflinger, so I'm sure it was not that process, but sadly I hadn't found the mem-eater, when the colored X appeared.
I had done a dirty flash from aokp-pub, so I am not sure to blame android-4.3. But mem-leaks stick like sh** on a shoesole, so I'm sure, if it does not result from dirty flashing, we will hear soon from a new memory leak... (hopefully in some opensource part - cm and aokp team are faster in n10 support then google...)
I haven't had a single reboot since I flashed 4.3. My uptime is up into the 90+ hours range, and it would be higher if i hadn't had to reboot to install root, Adaway and the AOSP browser. I mainly use the tablet to browse the internet (using the AOSP browser) and reddit (via reddit news app), plus some youtube videos (using the youtube app) occasionally. I rarely play games, though I have played a little Real Racing 3 since the last bootup.
My advice is to download the stock rom from the google developers website, and completely wipe the tablet clean via the "flash-all" script. Re-install only the bare minimum apps, and see if the issues persist.
I have 4.3 from Friday. No restarts at all, but I noticed two times strange behaviour. Tablet was soo slow, every action was soo laggy. I had to restart it. Maybe its apex fault. Im not sure
Amiga4ever123 said:
I have 4.3 from Friday. No restarts at all, but I noticed two times strange behaviour. Tablet was soo slow, every action was soo laggy. I had to restart it. Maybe its apex fault. Im not sure
Click to expand...
Click to collapse
Same here on Nova
Sent from my Nexus 10 using Tapatalk HD
Ladies and gentlemen, I present you the "suspect": Google's Chrome, the all time crap browser.
I also mostly use the AOSP browser and occasionally Opera for some downloads that I can't do with the stock browser. I installed Chrome a few days ago to see how it works in 4.3 and it does indeed work better, but the 1st memory leak I encountered happened the day I used chrome, I'm sure of it. I wasn't much impressed with it so I went back to AOSP browser and everything worked fine, then I decided to give it another try: bam, memory leak again, yesterday, the day I used chrome again.
Also, I read some comments on the forums about people having reboots on 4.3, WHILE using chrome.
In fact, in 4.2.2 while we had the surface flinger problems, I remember that chrome was the main cause.
I am back to using AOSP and Opera and everything is working superbly.
Amiga4ever123 said:
I have 4.3 from Friday. No restarts at all, but I noticed two times strange behaviour. Tablet was soo slow, every action was soo laggy. I had to restart it. Maybe its apex fault. Im not sure
Click to expand...
Click to collapse
malikalhaji said:
Same here on Nova
Sent from my Nexus 10 using Tapatalk HD
Click to expand...
Click to collapse
Are you rooted? If so, there is a bug in SuperSU V1.41 which causes CPU usage to sit at 100%...
Ref:
http://www.androidpolice.com/2013/0...persu-update-to-v1-43-to-fix-the-100-cpu-bug/
Yep rooted. My Chrome is disabled. I hope update supersu will solve the problem with cpu usage. Thx for info about it
stiggy2012 said:
Are you rooted? If so, there is a bug in SuperSU V1.41 which causes CPU usage to sit at 100%...
Ref:
http://www.androidpolice.com/2013/0...persu-update-to-v1-43-to-fix-the-100-cpu-bug/
Click to expand...
Click to collapse
Same here, might be SU fault, but I was using 1.43 when the tablet starts to lag heavily without rebooting. Couldn't find what the culprit was, CPU usage was normal, there was plenty of ram, even tried killing all background apps and services with no luck. Not even a hot boot could fix the lag.
Since then I've updated to SU1.5 so we'll see how that goes.
Sent from my Nexus 10 using Tapatalk 4 Beta
I got a reboot last night. Opened Google Now and it went to the bootanimation. Stock 4.3 with the Flaming Monkey Kernel, SU 1.45. It was my first reboot since January, when I went to custom ROMs. Went back to stock kernel, we'll see if that helps. Also, what AOSP Browser are you guys using? The one from the Installer from the play store closes every 5-10 minutes, and the apk ripped from CM 10.1.1.0 crashes on start-up...And I stopped using Chrome in January, and never had a reboot until Chrome was installed on 4.3. Coincidence? Probably not...
Sent from my MB855 using xda app-developers app
Never had any issues even on 4.2.2 with any sort of memory leak. Was able to go at least 5 days without any reboots and that's with using the chrome browser. I haven't used 4.3 long enough to post my findings with it but so far after 3 days it seems to be about the same. The only thing I can think of is that I bought my Nexus 10 in May so I don't know if a newer hardware version would make any difference.
Also, those of you with random reboots have you tried updating your boot loader yet? Not sure if or how it would make any difference but it's worth a shot.
Sent from my Nexus 10 using Tapatalk HD

Switch to ART and back to Dalvik

Hello everyone, as the title says I'd like to test out the ART runtime and maybe switch back to Dalvik if I need it. Since I've never done it would be nice to gather some feedbacks from you guys. Also I don't know if doing all of this switch will leave some junk in the memory. Thank you!
P.S. I asked in the worng section, sorry. Someone could move the post in the Q&A?
I went back and forth between the two on a few kitkat phones (inc. G GPE) with no issues really.
there was an issue with some version of Flipboard which would bootloop your device if on ART, think its solved by now, not sure though.
Better stay with dalvik for now we will switch to art once we get L.
Tried both . Could not find any noticeable difference.
when I switched to art, i noticed it takes more ram, about 100MB more or less. although, I never noticed any performance change, positive nor negative, only slightly longer battery. i think i still have problems with google hangout using as default SMS app but not sure if it is because of ART, it might be. as I said, almost no difference except of slightly longer battery and not working hanouts as SMS[which I didn't like in the first place]
I'm using a few apps and according to this site: http://www.androidruntime.com/list none of them are reported to not work on ART. Thanks to anyone for the fast replies. I'll give you feebacks when I give it a shot.
I'm using ART on my phone as default.
The only problem I ever had with ART, was the incompatibility with "Facebook Beta" apart from that, in my experience my phone is more responsive on ART than it is with Dalvik.
MeanDroid
In ART i could not move apps to SD. Now back to Dalvik it is possible again.
No Differance
i was running on Dalvik on 4.4.2 and once i updated to 4.4.4 , i reset my Phone and changed to ART, i did not find any reason till now to switch back to Dalvik, although i did not find any noticeable Speed improvement or Better battery life. no force closes except 2-3 times with Subway surfers in this 2 months.
I swiched to ART as soon as i got 4.4, didnt fine any difference
Hey, I'm also using ART, no problems, just I find the battery draining fast. 10 minutes disconnected from charger and battery went down 2%... hope to see any difference in battery when L arrives
i use art when i got an upgdate to 4.4.4 i noticed that all my apps when i open it fast... but sadly i return to dalvik again because everytime i update some application like facebook, gmail.. etc some other apps most of the time my phone restart everytime i make an update it will restart that's why i return to dalvik again
NewP500 said:
In ART i could not move apps to SD. Now back to Dalvik it is possible again.
Click to expand...
Click to collapse
Hello,
You're right.
According "The SDCard Bible for Moto G 4G/LTE" (https://forums.motorola.com/posts/7e59cc7baf), "Move to SD card" doesn't work on ART.
And ART uses a lot more space than Dalvik.
So, unfortunately ART is not a good deal for Moto G 4G/LTE (XT1040), in my opinion.
http://www.addictivetips.com/android/art-vs-dalvik-android-runtime-environments-explained-compared/
Sent from my SM-T310 using Tapatalk
Meet ART
Part 1: http://www.androidpolice.com/2013/1...-in-secret-for-over-2-years-debuts-in-kitkat/
Part 2: http://www.androidpolice.com/2013/1...ormance-wont-blow-away-today-will-get-better/
Part 3: http://www.androidpolice.com/2014/0...ery-life-benchmarks-not-good-but-not-too-bad/
I haven't found one application I use that wasn't compatible with ART. IMO, there is a noticeable difference between using ART over dalvik. This holds true on the Nexus 5 as well. The Moto G is very smooth with 4.4 Y2FS, and ART enabled. I was quite unhappy with my Moto G running stock with dalvik enabled, but I'm very happy with my current set up. It's nearly as fast as my Nexus 5.

Art mode goods and bads

When I got this beast phone I switched right away to art mode. Phone runs a bit better but then again after that there are downfalls too but obviously this is still beta where lollipop will run art mode only and will be stable.
Bad part is that with art some apps won't open up or work well. Force closing later on or what not.
Another bad part is that when you turn phone off and then black on it always does the Google apps back to art mode and takes a good 10-15 mins every boot up.
That's why I switched back to dalvik and now I have quick boot up and all else working better.
Hope this helped you all.
wadamean said:
When I got this beast phone I switched right away to art mode. Phone runs a bit better but then again after that there are downfalls too but obviously this is still beta where lollipop will run art mode only and will be stable.
Bad part is that with art some apps won't open up or work well. Force closing later on or what not.
Another bad part is that when you turn phone off and then black on it always does the Google apps back to art mode and takes a good 10-15 mins every boot up.
That's why I switched back to dalvik and now I have quick boot up and all else working better.
Hope this helped you all.
Click to expand...
Click to collapse
What apps are you using that FC under ART? Almost every mainstream app works fine these days.... I havent had any issues personally.
rajuabju said:
What apps are you using that FC under ART? Almost every mainstream app works fine these days.... I havent had any issues personally.
Click to expand...
Click to collapse
I too haven't had any issues just that several apps took a both to load up like Amazon and Facebook. What I hate is when turning phone back on their always has to be the process of the apps optimization for art
I've had at least three games FC under ART and some older apps I got as free apps from Amazon. The reboot thing is annoying as well, but the speed is great and it does seem to help battery life (that could just be usage variations by me though)
josephpalozzi said:
I've had at least three games FC under ART and some older apps I got as free apps from Amazon. The reboot thing is annoying as well, but the speed is great and it does seem to help battery life (that could just be usage variations by me though)
Click to expand...
Click to collapse
Yeah that's right and well actually running on art gave me a wordier battery life weirdly. Yesterday in dalvik I was able to achieve 17hrs of battery life with 6 hours sot

ART vs Dalvik: ART and performance loss ?

Hey there,
I've been using my S5 (G900F) since 3 months now, and I was using Dalvik as system runtime, and since ART was NEW-ish I didn't want to jump in yet ... until 3 weeks ago!
I tried ART runtime, the phone rebooted, done its stuff and for my surprise! the phone got slower and less responsive and the battery drained like hell!
I saw these problems:
Battery drain
Supper laggy apps! some of them break!
sometimes the phone freezes for a while (but I can see that the touch is working but no respond on many apps, even the lock screen!)
Private Mode wont work, and only works on Dalvik!
Slow performances, I didn't try benchmarking but I saw some important frame drops and slowliness on many games and apps!
Phone gets hotter than it should!
Sometimes I have to reboot it to get it to work!
My questions are:
Is it only me or it's common?
I have many apps installed on Dalvik, after ART they don't work (even n other phone it does work), why?
Why private mode is broken on ART?
Should I reset the device then ART-it then reinstall all my apps?
For info: my S5 is NOT rooted and still under warranty, I really don't want to root it now (cuz it will take me time cuz I'll be playing with it all the time) and I have the latest updates (for now ) and I got many apps broken after ART like Chrome and messaging apps and other tools!
Thanks

Battery Life Amazing Now

Recently my battery life has really been on the up and up. I'm not sure what it is but after all the app updates it has really flatlined, meaning I can get 2 days on it now. One extra thing I did was delete the cache under app storage along with another wipe cache partition. Previously also I used to notice my phone battery would drain at night but now it just pauses any drain. Anyways anyone noticing this?
I haven't noticed any improvements (Pure edition running 5.0). What build/version are you on?
I agree : I'm using mine in LTE mode, location in high accuracy mode, Google now activated, gmail outlook and corporate mails in push, all sync activated including drive and google + and WiFi off but always available for location : with that settings I have 18h off-battery with between 3h30 and 3h45 SOT.
For weekends, it last from Saturday morning to Sunday evening off-battery with between 1h30 and 1h45 SOT per day.
It is a XT1092 used in France, moto official ROM and no root.
I believe recent battery improvement to come from LTE network improvements : more cells, better signal= lots less work for my device.
I'm very satisfied. I have a few bugs on 5.0 but nothing huge, no random reboots or app crash. My only one deception : no 5.1 for my moto x for now and I want it because I like security and does not accept that a simple factory reset would allow a thief to use my encrypted device. I have heard 5.1 will correct this by asking thief to log on last known Google account to use the device.
It could also be the latest version of google play services finally fixed some memory leak and wakelocks
Sent from my XT1097 using XDA Free mobile app
mercado79 said:
I haven't noticed any improvements (Pure edition running 5.0). What build/version are you on?
Click to expand...
Click to collapse
I am on the 5.0./pure version. Try the cache partition wipe as well as the storage cache wipe. Need to do both
Where are these cache wipe settings located at?
One is at wipe cache partition. Which requires a restart with buttons pushed. Google that one. The other one is under settings - storage - cache- delete apps cache
Maknora said:
One is at wipe cache partition. Which requires a restart with buttons pushed. Google that one. The other one is under settings - storage - cache- delete apps cache
Click to expand...
Click to collapse
Thanks
The other one is under settings - storage - cache- delete apps cache
mine worked around 2 days after cleaning battery stats in recovery
eldar4uk said:
mine worked around 2 days after cleaning battery stats in recovery
Click to expand...
Click to collapse
How do you clean battery stats in recovery?
I'm experiencing great battery too since a couple of days ago. It seems that the new Google Play Services fixes the memory drain. I did a wipe cache too but not a cache partition.
I cleared the app cache in settings and did a cache wipe from recovery and my battery life hasn't improved at all.
eldar4uk said:
mine worked around 2 days after cleaning battery stats in recovery
Click to expand...
Click to collapse
If you actually mean the battery stats, then that myth has been debunked ages ago: https://plus.google.com/105051985738280261832/posts/FV3LVtdVxPT
eldar4uk said:
mine worked around 2 days after cleaning battery stats in recovery
Click to expand...
Click to collapse
Is it best to let the battery full drain after doing this? Or anything else you recommend?
I had my battery heating up to 100+ degree and did a partition clear and it has helped with the heating but I still get less than a day with my battery. No root, 5.1.
I downgraded the other day to 4.4.4 - and for the first time since November, my phone's battery lasted me a full day from 6am - 11:30pm. I don't know why I didn't do this sooner.
I'm really doubting 5.1 is much better. Someone keep us posted on the battery life on 5.1. Otherwise, I'm content to stay on 4.4.4 for a longggg time.
I mentioned this to a coworker the other day. Its a very noticeable difference in battery life.
No changes here, I keep getting high cell standby usage (between 10 and 15%) and pretty bad battery life.
I can not figure it out! But Google is killing me!
On the new 5.1 pe ota
View attachment 3340172
View attachment 3340173On the new 5.1 pe ota
[/ATTACH]

Categories

Resources