Switch D2A_RT
Tool by hnkotnis
Tool by hnkotnis
Whoa! My 2nd XDA Portal Post! THIS IS ON XDA PORTAL! THANKS SIR WILL VERDUZCO!!!
http://www.xda-developers.com/android/switch-between-dalvik-and-art-from-recovery-with-a-single-aroma-based-zip
Also on XDA TV, LOL, Jordan doesn't know that my Username is pronounced as "H - N - Kotnis".
http://www.xda-developers.com/android/nokia-x-camera-ported-easily-flash-between-dalvik-and-art-cf-lumen-released-by-chainfire-xda-developer-tv/
Hello Everyone!
I installed CM11 Kitkat on my Samsung Galaxy S Plus. I didn't wanted to activate the Developer's option in settings for next 5 days (Because I don't want my friends mess around). But I wanted to switch over to ART. So I had such idea that I can do this from recovery.
But I also had idea, due to my previous work with Aroma Installer, that I can create a single zip that can revert back to Dalvik also.
I found that after Factory Restore runtime is set to Dalvik again.
So I concluded that it is stored in /data
After messing around with the /data partition, I found where selected runtime is saved.
I created such a zip and I am sharing with you.
Meanwhile, when I was writing this thread, similar thread suggest showed me another tool of XDA Senior Member husen4u.
However his tool has 2 different files required to be flashed.
I did not copy his work, but runtime change code is same for all Android 4.4+, however I still give him credits, because he created similar project first.
So I present you my new tool :- Switch D2A_RT
So general idea is this tool can change ART <------> Dalvik from single zip.
Downloads:-
TESTED OK
File is attached at bottom of this post.
Current Version :- 2.0
Release Date :- 15th April, 2014
MD5 Sum:- 0f50fa11df8452f75e83a5bff2bee78a
Scanned with VirusTotal. NO VIRUS FOUND!
Detection ratio :- 0/51
https://www.virustotal.com/en/file/35552560f6c1927059a78d99265a556040394f4cbb51ad849f35cc3cc388daea/analysis/1397545742/
Older Version Details:-
File is attached at bottom of this post.
Older Version :- 1.0
Release Date :- 11the April, 2014
MD5 Sum:- 60a5261f35a969e38816699159b285a1
Scanned with VirusTotal. NO VIRUS FOUND!
Detection ratio :- 0/50
https://www.virustotal.com/en/file/bd7bc795b9b9656a63652a1fbd8ec360427c7f45a72959ce427bfc733653f11d/analysis/1397214029/
Change Log:-
Version 0.5 5th April, 2014
- Initial Release.
- First Working Version.
- Not published on XDA. Only tested on my phone.
Version 0.5 5th April, 2014
- Fixed some minor icons.
- First version to be published on XDA and also featured on XDA Portal and XDA TV
Version 2.0 15th April, 2014
- Added option to wipe Dalvik Cache.
- busybox comes with this zip, no need to have busybox installed.
Instructions:-
0. You need a Android 4.4+ ROM.
1. Download and put the zip file in any storage.
2. Go to recovery (use any recovery, I used CWM Touch 6.0.3.6).
3. Flash the zip file and navigate through Aroma Menu.
4. Choose ART or Dalvik and Reboot.
5. Rebooting can take lot of time (depending on number of apps). CyanogenMod 11 users can see "Android is upgrading" screen.
ENJOY!!!
PLEASE TAKE A LOOK AT FAQ if you have any questions/doubts or this software is not working.
Few common problems like incompatibility and XPOSED are mentioned there.
FAQ (Frequently Asked Questions):-
=> Change runtime to Dalvik back again. Your phone (may) not be compatible.
- Phone bootlooping after changing runtime to ART?
=> That is not my fault. ART is in primary stage and many apps do not support ART. Switch back to Dalvik to use such apps.
- Apps crash with ART as runtime?
=> Relax. Take update-binary of ROM of your device. Rename it to "update-binary-installer" and use it to replace its counterpart from zip.
- Status 0 Error while flashing the zip?
=> 1) Uninstall Xposed Framework, Reboot. Then try again. Xposed and ART don't work simultaneously.
- Runtime is not changing to ART?
Or_2) Check if "libart.so" and "libart-compiler.so" are in /system/lib. If they don't exits, ROM is not compatible with ART.
Or_3) Open "/data/property/persist.sys.dalvik.vm.lib" with text editor and find what is runtime.
=> I sincerely tell you, I didn't do that. I discovered this on my own after scanning all files in /data.
- You stole XYZ's (XYZ is example person's name) work.
I tested this on my SGS+ GT-I9001 with CM11. Both functions work. However there might be some minor GUI/icon/picture size errors.
But main functions of this work fine.
Disclaimer:-
Developer of this tool, hnkotnis, has no responsiblity if your phone, memory card or you are bricked, bootlooped or any type of damage.
You are using this tool on your own and you take whole responsibility of any damage caused.
YOU CANNOT MODIFY, COPY OR PUBLISH THIS WITHOUT MY PERMISSION.
Press Thanks if helped.
Attachments
Last edited: