Hey guys. I was running cm on my nexus 5 and I wanted to switch to art but when I switch to art in the setting after the reboot a massage always poped up saying one of the Google application or something crashed . so I got back to the stock ROM and I tried to change to art but after the reboot it stayed on dalvik . so I did a complete wipe and reinstalled the stock rom and I could switch to art and it worked . I tried to restore all my apps with helium but it kept stopping saying there was a problem . so I changed back to dalvik and I tried to restore again but the same thing happened . so I tried a few time later and a after I restored app after app it finally finished so I tried to switch to art again but the same thing happened (it stayed on dalvik) did it happen to anyone else ? And how can I solve this problem ?
Sent from my Nexus 5 using Tapatalk
Are you using any Xposed modules, that'll stop the system switching to ART.
sinkster said:
Are you using any Xposed modules, that'll stop the system switching to ART.
Click to expand...
Click to collapse
Thanks , now I know what was the problem . but I see that xposes apps doesn't work with art . is there a way to make it work ?
Sent from my Nexus 5 using Tapatalk
Nope. Use xposed or use art
-----------------------
Sent via tapatalk.
I do NOT reply to support queries over PM. Please keep support queries to the Q&A section, so that others may benefit
Related
Having just rooted and unlocked boot loader, my N5 is giving the "android is upgrading" message for 80+ apps (half the usual) on EVERY reboot. This behaviour is only seen with ART runtime. Not with Dalvik. It was also not seen when on ART in stock form. Running Franco r14 kernel with stock rom. Any ideas?
stanc74 said:
Having just rooted and unlocked boot loader, my N5 is giving the "android is upgrading" message for 80+ apps (half the usual) on EVERY reboot. This behaviour is only seen with ART runtime. Not with Dalvik. It was also not seen when on ART in stock form. Running Franco r14 kernel with stock rom. Any ideas?
Click to expand...
Click to collapse
Thats how it is every boot it has to pre compile the code for apps
Hmm...but in pre root form, this only happened the first time after selecting runtime. Now its happening every reboot! Is this supposed to be normal for a rooted phone?
stanc74 said:
Hmm...but in pre root form, this only happened the first time after selecting runtime. Now its happening every reboot! Is this supposed to be normal for a rooted phone?
Click to expand...
Click to collapse
I don't see that issue on my s2 skyrocket running 4.4 art. I'm not running art on my n5. I'm guessing it's an issue with the franko kernel, but that's just a guess
This happens to my N5 as well. Omni 12/01 nightly + Franco r14
Sent from my Nexus 5 using XDA Premium 4 mobile app
chill out guys, this is normal behavior when using ART.
This is not normal behavior at all on stock ROM. When you switch to ART, it only does the upgrade/compile thing on the first boot. Having it redo it after every reboot is probably a compatibility issue with the ROM you are running.
mdandashly said:
When you switch to ART, it only does the upgrade/compile thing on the first boot.
Click to expand...
Click to collapse
That's my recollection as well. It still is on stock ROM. But it looks like other people who have rooted are facing issues that might have arose from kernel or app issues.
I have already wiped cache and rebuilt dalvik fwiw. Also uninstalled titanium backup while no weird odex files are noted. Only Franco kernel left as last data point but I wanted to see if others faced this problem before taking the plunge to reinstall stock kernel
dorkythegreat said:
This happens to my N5 as well. Omni 12/01 nightly + Franco r14
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
It does not happen on stock rooted for me either. I would suggest returning to stock rooted to use ART. According to Omni threads they are in nightlies so stuff is expected to be wrong.
Fwiw. I've flashed stock kernel, reflashed the patched libart.so (ie. Whatsapp compatibility fix) , reinstalled whatsapp. Still no joy.
Ah... from According to:
[url]https://code.google.com/p/android/issues/detail?id=61916
The problem is identified as an extra unbalance check between MonitorEnter / MonitorExit JVM instructions, which ART does and Dalvik doesn't. Some apps (such as Whatsapp) fail to have those balanced.
The fix will be probably fixed in AOSP sooner than later...
Sooo ... everybody relax and have a cup of tea (me included) :good:[/QUOTE]
stanc74 said:
Ah... from [URL="http://forum.xda-developers.com/showthread.php?p=47473296”]this thread about ART[/URL], this upgrading on every boot seems a known ART bug related to partially incompatible apps like whatsapp
Click to expand...
Click to collapse
Hmmm... sorry for the bad news but the problem discussed in that thread is unrelated with yours. We were discussing the (initial) whatsapp incompatibility.
BTW: Using ART here (Nexus 4), absolutely no problems now
it will depend on your apps. this is normal behavior. my n7 doesnt go through it, but my n4 does. they have different apps installed. my n5 goes yhrough it as well(but only 3 apps upgrading on a reboot). its fine if you want to freak out over it, but in reality it is normal.
I have 80 apps upgrading on reboot..and these are pretty standard apps.... This is quite a mysterious situation.
Good to know its happening. Perhaps next ota will address this...
stanc74 said:
I have 80 apps upgrading on reboot..and these are pretty standard apps.... This is quite a mysterious situation.
Good to know its happening. Perhaps next ota will address this...
Click to expand...
Click to collapse
my nexus 4 has 92 apps that upgrade after every reboot while on ART. 92 apps, out of 183 apps.
I’m using ART. Running Purity ROM with ElementalX. No long boot issue. I did have a long boot with apps optimization when I switched to ART the first time, but since then it boots normally and quickly.
Updated to 4.4.1. Had to flash stock boot and system IMG along the way. Updated, rooted and now it seems fine. Fast reboot with no data loss!
simms22 said:
chill out guys, this is normal behavior when using ART.
Click to expand...
Click to collapse
markdapimp said:
Thats how it is every boot it has to pre compile the code for apps
Click to expand...
Click to collapse
stanc74 said:
Having just rooted and unlocked boot loader, my N5 is giving the "android is upgrading" message for 80+ apps (half the usual) on EVERY reboot. This behaviour is only seen with ART runtime. Not with Dalvik. It was also not seen when on ART in stock form. Running Franco r14 kernel with stock rom. Any ideas?
Click to expand...
Click to collapse
i am running stock 4.4.2 on N5 with bootloader unlocked and after each reboot i face the same cache rebuilt thing (android is upgrading) for all the user applications i have. Is it normal for stock rom too? have you seen any one on stock who is having otherwise?
I have this problem on my sony xperia sp running cm11, but it is happening since 5 days. Maybe it is the new version of a custom kernel, or link2sd.
Nope it's not normal. What else have you installed or flashed?
Sent from my Nexus 5 using Tapatalk
Has anyone had any luck moving from Dalvik to ART with the latest VZW 4.4 update?
When I switch over to ART, the device asks to be rebooted. It will reboot, but when it comes back up, it's set back to Dalvik again.
WP=0 and rooted if that's worth anything.
digitaloutsider said:
Has anyone had any luck moving from Dalvik to ART with the latest VZW 4.4 update?
When I switch over to ART, the device asks to be rebooted. It will reboot, but when it comes back up, it's set back to Dalvik again.
WP=0 and rooted if that's worth anything.
Click to expand...
Click to collapse
This was actually the first thing I switched once I got the 4.4 update. I have rebooted since and mine is sticking to ART. I have noticed no problems or compatibility issues as of yet.
EDIT: I forgot to mention that I am not or have ever rooted my Maxx.
Mine has successfully switched to ART and have no problems. I am wp off but am not rooted.
Interesting. Wonder if it's related to root. It works fine on my Nexus but my Nexus isn't rooted either.
digitaloutsider said:
Has anyone had any luck moving from Dalvik to ART with the latest VZW 4.4 update?
When I switch over to ART, the device asks to be rebooted. It will reboot, but when it comes back up, it's set back to Dalvik again.
WP=0 and rooted if that's worth anything.
Click to expand...
Click to collapse
I am WP=0 and rooted as well and encounter the same exact problem you do. Probably an incompatibility with root.
I switched to art first thing after update and root. No problems to report and no noticeable difference either. My only issues is that a video I took was choppy. Doubt it was an art issue.
Sent from my XT1080 using Tapatalk
Just switched to test...the initial boot took FOREVER on the "Android is upgrading" screen...but it seems to be working fine...
WP off and rooted 4.4
Sent from my XT1080 using Tapatalk
In another thread a few people mentioned that if you are using Xposed that the setting won't stick. This is intentional as it could possibly brick your phone if Xposed is compiled with ART at the moment.
http://forum.xda-developers.com/showthread.php?t=2582646
If it's not Xposed, then there may be other apps out there that have similar safety mechanisms.
Tried to switch from dalvik to ART but on reboot it doesn't seem to stick. I go back into dev options and it still says dalvik. I'm on the original soak test, which shouldn't matter, but I'm curious if anyway else switch to ART and got it to stick. Thanks.
I've heard that happens if you're using xposed
Sent from my XT1080 using Tapatalk
livinitwarrior said:
I've heard that happens if you're using xposed
Sent from my XT1080 using Tapatalk
Click to expand...
Click to collapse
I'll have to see if that works. Any idea if I can uninstall xposed switch to ART then reinstall xposed or do I have to choose to keep one or the other?
Should be able to. Don't mess with your modules, just install the framework in the app itself, reboot, and try it then.
Sent from my XT1080 using Tapatalk
Xposed doesn't work with ART (yet). The Xposed developer purposely has your runtime switch back to Dalvik upon reboot to keep you from going into a bootloop with ART.
tehcodeman said:
Xposed doesn't work with ART (yet). The Xposed developer purposely has your runtime switch back to Dalvik upon reboot to keep you from going into a bootloop with ART.
Click to expand...
Click to collapse
Okay, thanks.
I have this same problem. I uninstalled Xposed, but it still switches back to Dalvik. Is there another app that can automatically switch to Dalvik, or did Xposed leave something behind?
EDIT: Nevermind, figured it out. It does leave stuff behind, it came to me that I had to hit an INSTALL button to install the framework, so i had to reinstall Xposed and hit an Uninstall button to uninstall the framework.
After i've changed runtime to ART every start up of phone is accompanied by error message: Google Play services has stopped.
I've wiped Play data but it didn't help.
Any ideas how to solve this issue?
Droid Mini, 4.4.2, rooted
.: SID :. said:
After i've changed runtime to ART every start up of phone is accompanied by error message: Google Play services has stopped.
I've wiped Play data but it didn't help.
Any ideas how to solve this issue?
Droid Mini, 4.4.2, rooted
Click to expand...
Click to collapse
This is a known issue with google play services. There is an update in the works, and an APK is floating around that will resolve this, although the error only occurs on boot, and does not cause any negative effects beyond the single error message.
Teksu said:
This is a known issue with google play services. There is an update in the works, and an APK is floating around that will resolve this, although the error only occurs on boot, and does not cause any negative effects beyond the single error message.
Click to expand...
Click to collapse
I've seen already 2 or 3 updates for Google Services, but my is still the same. May be this error occurs when it can't be updated?
I'm rooted, stock rom, stock recovery and my knox counter is 0x0.
I've enabled developer options and changed my runtime it to ART, it reboots and I go check it still says Dalvik, I don't know what I'm doing wrong... Any suggestions?
Sent from my SM-G900P using XDA Premium 4 mobile app
Ls1ssz28 said:
I'm rooted, stock rom, stock recovery and my knox counter is 0x0.
I've enabled developer options and changed my runtime it to ART, it reboots and I go check it still says Dalvik, I don't know what I'm doing wrong... Any suggestions?
Sent from my SM-G900P using XDA Premium 4 mobile app
Click to expand...
Click to collapse
are you on deodexed rom??? if you are ART won't work.
Nope, I'm running stock rom(OTA updates) right out of the box other than obtaining root
Sent from a Galaxy S5 Far Far Away
The only thing I can think of is me debloating? I'm stumped....
Sent from a Galaxy S5 Far Far Away
Ls1ssz28 said:
The only thing I can think of is me debloating? I'm stumped....
Sent from a Galaxy S5 Far Far Away
Click to expand...
Click to collapse
This doesn't quite answer your question but should read through this thread if you have not: http://forum.xda-developers.com/showthread.php?t=2713879
Seems others are having the same issue as you. Since ART is still experimental on the S5 it causes screen wake up issues, boot issues, some apps to not work, and Samsung has said to use with caution because TW framework is not fully compatible yet.
Do you all think if I were to backup everything and : 1)factory reset 2)switch to art and then 3)root
Would that work?
Sent from a Galaxy S5 Far Far Away
I'm having the same issue.
Sent from my SM-G900P using Tapatalk
Problem solved.. Here is what I did for future reference
1)Odined back to stock, then took it the otas to get to stock uprooted NE5
2)Switched to ART, no issue rebooted and was running art
3)Titanium backup was not working for me without being suuuper laggy, so I started to manually install all of my apps
4)Rooted my phone using towel
5)Realized that Xposed forces dalvik, and once the framework was installed it would revert to dalvik... Uninstalled framework and removed xposed
5)turned ART back on and have had no issue.... It definitely was due to xposed because that is the only app that I Uninstalled and have had no issues since
Sent from a Galaxy S5 Far Far Away
Ls1ssz28 said:
Problem solved.. Here is what I did for future reference
1)Odined back to stock, then took it the otas to get to stock uprooted NE5
2)Switched to ART, no issue rebooted and was running art
3)Titanium backup was not working for me without being suuuper laggy, so I started to manually install all of my apps
4)Rooted my phone using towel
5)Realized that Xposed forces dalvik, and once the framework was installed it would revert to dalvik... Uninstalled framework and removed xposed
5)turned ART back on and have had no issue.... It definitely was due to xposed because that is the only app that I Uninstalled and have had no issues since
Sent from a Galaxy S5 Far Far Away
Click to expand...
Click to collapse
I don't have Xposed installed and still can't turn ART on.
Y.G. said:
I don't have Xposed installed and still can't turn ART on.
Click to expand...
Click to collapse
??????
Y.G. said:
I don't have Xposed installed and still can't turn ART on.
Click to expand...
Click to collapse
I don't have Xposed installed either, and still can't turn ART on. When the reboot finishes and I go to the Configuration, it says that DALVIK still on. Any solution?
Igu1nh0 said:
I don't have Xposed installed either, and still can't turn ART on. When the reboot finishes and I go to the Configuration, it says that DALVIK still on. Any solution?
Click to expand...
Click to collapse
I think, for whatever reason, ART is disabled in TouchWiz.
I've tried to change from Dalvik to ART and I softbricked my I9003. After that, I've used Odin and I flash again NamelessROM. Everything work, with the except of ART. When I try to use it, my phone reboots and it remain in the bootanimation.
Is a ROM's bug or I do something wrong?
Sorry for my bad english.
I dont understand what you are trying to do...
What do you want to do with dalvik cache?
And what is Art?
Boot Animation Issues:
- Remove battery and try again.
If it doesnt work for you try the next.
- Reflash Boot; (or System)
If it doesnt work for you try the next.
- Enter CWM Clear "Caches"
If it doesnt work for you start again or change your ROM.
Sent from my GT-I9003 using XDA Free mobile app
Do you use xposed framework .. Its nt compatible with art ending in bootloop after trying to change to art
Sent from my GT-I9003 using XDA Free mobile app
rgxHost said:
I dont understand what you are trying to do...
What do you want to do with dalvik cache?
And what is Art?
Boot Animation Issues:
- Remove battery and try again.
If it doesnt work for you try the next.
- Reflash Boot; (or System)
If it doesnt work for you try the next.
- Enter CWM Clear "Caches"
If it doesnt work for you start again or change your ROM.
Sent from my GT-I9003 using XDA Free mobile app
Click to expand...
Click to collapse
ART is the newer runtime implemented by google since kk, it replace the virtual machine dalvick and give us more performance and battery life but is in beta stage yet.