[AROMA][ HOW-TO ][4.4+] [ Enable ART Or Dalvik From Recovery ]

Search This thread

husen4u

Senior Member
Feb 17, 2012
1,185
1,512
Kuwait
I Made 2 Small Scripts Flashable Files Around 100Kb Each.
No Need To Change To Add Files Anythings
Just
Reboot To Recovery
To Enable ART Flash This : Mega Devhost
Wipe Dalvik Cache

To Revert To Dalvik Flash This : Mega Devhost
Wipe Dalvik/Cache

First Of All ART Is Not Compatible With Xposed. Xposed Itself Change ART To Dalvik. So If You Want To Use ART Uninstall Xposed.

To Check If You Are Using ART Or Dalvik
Goto
data/property/persist.sys.dalvik.vm.lib
Open File In Text Editor
If It Says libart.so means You Are On ART
if It Says libdvm.so Means You Are On Dalvik.


If libart.so and libart-compiler.so is Not Present in lib folder. Your ROM Doesnot Support ART.

For Those Who Are Getting Update Binary Error An Aroma Package Is Made By @Patrics83
Features :
* It Doesn't Use Update Binary : So No More Update Binary Issue
* It Will Show Which Run Time You Are Using.

Download Link

Thanks
Regards
Husen
 
Last edited:

Jodus

Senior Member
Jul 23, 2012
169
50
Kalmthout
I Made 2 Small Scripts Flashable Files Around 100Kb Each.
No Need To Change To Add Files Anythings
Just
Reboot To Recovery
To Enable ART Flash This : Mega Devhost
Wipe Dalvik Cache

To Revert To Dalvik Flash This : Mega Devhost
Wipe Dalvik/Cache

This is awesome! I'm looking for something like this in a long time, now i can keep them on my phone. And when my i get a bootloop or fc for switching to ART i do not need to factory reset my phone!
 

Namautoenx

Senior Member
Dec 2, 2013
287
50
Can this apps uses For All kikat rom? Thank you.

Sent from my One X using xda app-developers app
 

Grzesiek1010

Senior Member
Sep 20, 2012
297
19
Xiaomi 12X
After install zip phone crazy
First boot screen frezze and laggy next all aplication update very slow and next everything stopped phone, theme choser etc all proces stopped must reset to CWM and restore data

Wysłane z mojego GT-I9300 przy użyciu Tapatalka
 

xda9f

Member
Mar 13, 2014
24
4
i have been installed this apps but in setting/developer options/select runtime/use Dalvik? maybe something wrong? i am using CyanogenMod 11 Releases BR2. do u have any idea?
 
Last edited:

Benedetto1702

Senior Member
Apr 9, 2007
100
11
It will work on the note 3 n900?
Because by default there's no option at the developer option to select the runtime environment

Seems like Samsung disabled them

So my question this flashable zip will work?

Sent from my SM-N900 using Tapatalk
 

tostep

Senior Member
Jul 23, 2011
147
60
Tashkent
husen4u, thank you for very interesting method to switch between ART and Dalvik!

Will your scripts wipe Dalvik cache automatically in the next version? It would allow user NOT to wipe Dalvik cache manually.
 
Last edited:

bluflight

Senior Member
Nov 23, 2008
568
828
@husen4u: but is correct first zip to enable art? i see all two script report "Enabling Dalvik...", so i excract both updater-scripts and i compared them both and they are identical
 

Top Liked Posts

  • There are no posts matching your filters.
  • 127
    I Made 2 Small Scripts Flashable Files Around 100Kb Each.
    No Need To Change To Add Files Anythings
    Just
    Reboot To Recovery
    To Enable ART Flash This : Mega Devhost
    Wipe Dalvik Cache

    To Revert To Dalvik Flash This : Mega Devhost
    Wipe Dalvik/Cache

    First Of All ART Is Not Compatible With Xposed. Xposed Itself Change ART To Dalvik. So If You Want To Use ART Uninstall Xposed.

    To Check If You Are Using ART Or Dalvik
    Goto
    data/property/persist.sys.dalvik.vm.lib
    Open File In Text Editor
    If It Says libart.so means You Are On ART
    if It Says libdvm.so Means You Are On Dalvik.


    If libart.so and libart-compiler.so is Not Present in lib folder. Your ROM Doesnot Support ART.

    For Those Who Are Getting Update Binary Error An Aroma Package Is Made By @Patrics83
    Features :
    * It Doesn't Use Update Binary : So No More Update Binary Issue
    * It Will Show Which Run Time You Are Using.

    Download Link

    Thanks
    Regards
    Husen
    3
    I Made 2 Small Scripts Flashable Files Around 100Kb Each.
    No Need To Change To Add Files Anythings
    Just
    Reboot To Recovery
    To Enable ART Flash This : Mega Devhost
    Wipe Dalvik Cache

    To Revert To Dalvik Flash This : Mega Devhost
    Wipe Dalvik/Cache

    This is awesome! I'm looking for something like this in a long time, now i can keep them on my phone. And when my i get a bootloop or fc for switching to ART i do not need to factory reset my phone!
    2
    For Those Who Are Getting Update Binary Error An Aroma Package Is Made By @Patrics83
    Download Link
    2
    @husen4u: but is correct first zip to enable art? i see all two script report "Enabling Dalvik...", so i excract both updater-scripts and i compared them both and they are identical

    Compare enb-dalvik.sh files. They are not identical. Enable ART will switch your phone to ART
    2
    i'm not sure maybe u should check text inside file /data/property/persist.sys.dalvik.vm.lib If it contain libart.so, you are on ART. my phone also flashed this .zip but it's still dalvik. i don't know why. i am using rom cm11.

    No, still it is libdvm.so :crying:

    Are you both using xposed framework? Xposed do not work with ART and every boot it switches to dalvik