Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,737,741 Members 47,424 Now Online
XDA Developers Android and Mobile Development Forum

Difference between ART and dalvik runtime on KitKat rom

Tip us?
 
Shashank.sonth
Old
#1  
Shashank.sonth's Avatar
Member - OP
Thanks Meter 4
Posts: 57
Join Date: Oct 2012
Default Difference between ART and dalvik runtime on KitKat rom

what difference will it make if I change the runtime from dalvik to ART in developer settings in KitKat 4.4.2 ROM? Will it make my phone faster?!

Sent from my GT-I9100 using XDA Premium 4 mobile app
 
Skripka
Old
#2  
Skripka's Avatar
Senior Member
Thanks Meter 625
Posts: 1,408
Join Date: Dec 2011
Location: On the top Loading Rail
Presuming ART on your device works...IME ART is much more snappy than Dalvik.

To read more start here:
http://www.androidpolice.com/2013/11...uts-in-kitkat/
 
Shashank.sonth
Old
#3  
Shashank.sonth's Avatar
Member - OP
Thanks Meter 4
Posts: 57
Join Date: Oct 2012
While changing the runtime to ART it gives this warning, should I continue? what r the risks?

Sent from my GT-I9100 using XDA Premium 4 mobile app
Attached Thumbnails
Click image for larger version

Name:	1391238326301.jpg
Views:	241
Size:	53.5 KB
ID:	2552167  
 
PonsAsinorem
Old
#4  
PonsAsinorem's Avatar
Forum Moderator
Thanks Meter 2028
Posts: 3,892
Join Date: Sep 2010

 
DONATE TO ME
http://source.android.com/devices/tech/dalvik/art.html

The risks are it's experimental technology that you're given a preview of because you enabled developer settings. Also, some apps may not work. And please don't file bug reports on the ROM or apps because you're using experimental settings. Honestly, I'd leave it on dalvik if you don't know what you're doing.


"Defending a position by citing free speech is sort of the ultimate concession;
you're saying that the most compelling thing you can say for your position is
that it's not literally illegal to express.
" ~The InterWebz
The Following User Says Thank You to PonsAsinorem For This Useful Post: [ Click to Expand ]
 
Skripka
Old
#5  
Skripka's Avatar
Senior Member
Thanks Meter 625
Posts: 1,408
Join Date: Dec 2011
Location: On the top Loading Rail
The risk is that you may brick your ROM and need to do a Nan droid restore to get it back.
The Following User Says Thank You to Skripka For This Useful Post: [ Click to Expand ]
 
Shashank.sonth
Old
#6  
Shashank.sonth's Avatar
Member - OP
Thanks Meter 4
Posts: 57
Join Date: Oct 2012
I think I'll leave it as it is for now, don't want to risk bricking my device 👍

Sent from my GT-I9100 using XDA Premium 4 mobile app
 
_Raziel666
Old
#7  
_Raziel666's Avatar
Senior Member
Thanks Meter 159
Posts: 448
Join Date: Jun 2011
Quote:
Originally Posted by Skripka View Post
The risk is that you may brick your ROM and need to do a Nan droid restore to get it back.
Stop giving false information!!! There's no case where using ART has bricked one's ROM (if that's even possible!).

Quote:
Originally Posted by Shashank.sonth View Post
I think I'll leave it as it is for now, don't want to risk bricking my device 👍

Sent from my GT-I9100 using XDA Premium 4 mobile app
There's no risk bricking your device by enabling ART. Sure some apps might not work properly, but the majority will work ok. You can always try ART, see what you think and if you don't like the results, you can revert back to Dalvik. Keep in mind that if you have Xposed framework installed and you try to change your runtime to ART, you might end up with a bootloop. So make sure you have a backup, just in case.

But, I repeat, it isn't possible to brick your device by changing to ART.
The Following User Says Thank You to _Raziel666 For This Useful Post: [ Click to Expand ]
 
Skripka
Old
(Last edited by Skripka; 3rd February 2014 at 01:58 PM.)
#8  
Skripka's Avatar
Senior Member
Thanks Meter 625
Posts: 1,408
Join Date: Dec 2011
Location: On the top Loading Rail
Quote:
Originally Posted by _Raziel666 View Post
Stop giving false information!!! There's no case where using ART has bricked one's ROM (if that's even possible!).

Lordy. Are you kidding me?

Of course it is possible...AAMOF, for most KitKat ROMs on the Sprint SPH-L900 enabling ART WILL render your ROM unbootable and the only "fix" (that I know of) is a Nandroid restore. AFAIK the only ROM for L900 with working ART that I know of is OmniROM, although I will admit I haven't tried straight CyanogenMod in forever. "Working" meaning enabling ART doesn't break your ROM. Because what will happen otherwise is after enabling ART and immediately rebooting, your ROM install will permanently bootloop, and the only way of getting it back is Nandroid recovery.


Don't believe me? Download or read the XDA forums for Dirty Unicorns 5.0 or SlimKat (no offense intended at Maz or sleshy who do mad work on those ROMs and who are more than aware of this issue). Then you'll see exactly what I'm talking about and that it is you who are "spreading false information". Further even within the same ROM, enabling ART can break the ROM for some devices but not others. If you read or follow Google+ dev communities for OmniROM and others you'd know this.


"False information" indeed.
 
_Raziel666
Old
#9  
_Raziel666's Avatar
Senior Member
Thanks Meter 159
Posts: 448
Join Date: Jun 2011
Quote:
Originally Posted by Skripka View Post
Lordy. Are you kidding me?

Of course it is possible...AAMOF, for most KitKat ROMs on the Sprint SPH-L900 enabling ART WILL render your ROM unbootable and the only "fix" (that I know of) is a Nandroid restore. AFAIK the only ROM for L900 with working ART that I know of is OmniROM, although I will admit I haven't tried straight CyanogenMod in forever. "Working" meaning enabling ART doesn't break your ROM. Because what will happen otherwise is after enabling ART and immediately rebooting, your ROM install will permanently bootloop, and the only way of getting it back is Nandroid recovery.


Don't believe me? Download or read the XDA forums for Dirty Unicorns 5.0 or SlimKat (no offense intended at Maz or sleshy who do mad work on those ROMs and who are more than aware of this issue). Then you'll see exactly what I'm talking about and that it is you who are "spreading false information". Further even within the same ROM, enabling ART can break the ROM for some devices but not others. If you read or follow Google+ dev communities for OmniROM and others you'd know this.


"False information" indeed.
bootloop brick

Two very different situations. You used the word brick, which does nothing but panick whoever reads it, because it insinuates bad things. On the other hand, a bootloop is a much more manageable situation.
 
Shashank.sonth
Old
#10  
Shashank.sonth's Avatar
Member - OP
Thanks Meter 4
Posts: 57
Join Date: Oct 2012
Could anyone tell me, if the device is bricked or struck on bootloop will I still be able to go to recovery mode?

Sent from my GT-I9100 using XDA Premium 4 mobile app

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes