select runtime Android 5.0 - Nexus 5 Q&A, Help & Troubleshooting

Where do i find the "select runtime" option? i cant find it in the developer options

This does not warrant anyone replying to you......
Sent from my Android 5.0 Nexus 5

ART is now the default and only runtime on Android 5.0. You can no longer switch to Dalvik.

digitLIX said:
Where do i find the "select runtime" option? i cant find it in the developer options
Click to expand...
Click to collapse
No more dalvik. Art Is default in lollipop
Sent from my Nexus 5 using XDA Premium 4 mobile app

Einril said:
ART is now the default and only runtime on Android 5.0. You can no longer switch to Dalvik.
Click to expand...
Click to collapse
thanks

dalvik junk still available during clean up
if lollipop uses ART instead of Dalvik, why clean monitor application shows there is junk file on dalvik during cleaning up memory?
sorry for silly question

mamuiz said:
if lollipop uses ART instead of Dalvik, why clean monitor application shows there is junk file on dalvik during cleaning up memory?
sorry for silly question
Click to expand...
Click to collapse
Because ART's Ahead-Of-Time "cache" is stored in the same place as Dalvik cache once was, and many applications simply have not updated their strings or bothered to check the Android version.

Related

Phone won't change to ART

So on Saturday I made the switch to ART runtime and everything seemed to be working fine, the phone rebooted and all the apps were optimized upon restart, a couple days ago I noticed that my phone restarted although I may have accidentally restarted it by mistake while it was in my pocket.
So right now I'm trying some stuff to lower battery darin and wanted to switch back to Dalvik, I go into the developers options and Dalvik is selected as the active runtime, I selected ART again because I thought it was strange since I never went back to Dalvik in the first place, I click ok after selecting ART and my phone reboots but it doesn't optimize anything, it restarts as normal and when I check the runtime it's always Dalvik.
Any idea what might be happening here? Why can't I switch to ART?
Did you install xposed framework? If so it only works on dalvik and it won't let you use ART. From what I've heard you need to run the xposed disabler zip to fully uninstall it
Sent from my Nexus 5 using xda app-developers app
skw5115 said:
Did you install xposed framework? If so it only works on dalvik and it won't let you use ART. From what I've heard you need to run the xposed disabler zip to fully uninstall it
Sent from my Nexus 5 using xda app-developers app
Click to expand...
Click to collapse
copy /system/bin/app_process.orig back to /system/bin/app_process using a root file explorer. turn on ART.

Switching from ART to Dalvik

After i switched from Dalvik to ART. I can't install NBA2K14 and some other apps because they're not compatible with ART.
So I reverted from ART to Dalvik.
Why is it that I still experience the error "App not installed.". After reverting back from ART to Dalvik.
Tried to Clear Dalvik Cache/Cache but still error is occurring.
Using Latest Cataclysm + Franco r30.
THANKS IN ADVANCE!
peeweew said:
After i switched from Dalvik to ART. I can't install NBA2K14 and some other apps because they're not compatible with ART.
So I reverted from ART to Dalvik.
Why is it that I still experience the error "App not installed.". After reverting back from ART to Dalvik.
Tried to Clear Dalvik Cache/Cache but still error is occurring.
Using Latest Cataclysm + Franco r30.
THANKS IN ADVANCE!
Click to expand...
Click to collapse
First delete any left-over game apks in data/data.
Sent from my Nexus 5
PhilipTD said:
First delete any left-over game apks in data/data.
Sent from my Nexus 5
Click to expand...
Click to collapse
Thanks! Will do this.

Art not active. Why?

One of the first things I changed when I got my nexus 5 was changing from dalvik to art runtime.
As an accident I was messing around and saw I was at dalvik once again. Set the phone to change to art, it says a certain library file has to be changed, restarts the phone and nothing happens.
The files that were converted the first time I change to art are no longer converted and I am still in dalvik mode. Clues?
Disable exposed framework
Sent from my Nexus 5 using Tapatalk
cesar.maranhao said:
One of the first things I changed when I got my nexus 5 was changing from dalvik to art runtime.
As an accident I was messing around and saw I was at dalvik once again. Set the phone to change to art, it says a certain library file has to be changed, restarts the phone and nothing happens.
The files that were converted the first time I change to art are no longer converted and I am still in dalvik mode. Clues?
Click to expand...
Click to collapse
I'm guessing you have Xposed Framework installed, which prevents you from switching to ART. You either have to uninstall Xposed or stick with dalvik.
AAAAAHHHHHHHHH 1 millionth post about the same thing award!!
Sent from my Nexus 5 using Tapatalk

[Q] Runtime error? Only some apps upgrade after dalvik wipe

Oddly enough, after upgrading to 4.4.3 by flashing the system, radio and boot partitions via fastboot, only 58 of my 130 apps need to be upgraded after a dalvik wipe, or a switch to ART.
This is odd, as a normal dalvik wipe, or runtime switch should trigger all the apps to require upgrading on startup.
Can anyone tell me what's going on? I am not experiencing any issues yet like FCs and what not, but this is still strange none the less.
Thanks in advance.
Sent from my Nexus 5 using Tapatalk
_jordan_ said:
Oddly enough, after upgrading to 4.4.3 by flashing the system, radio and boot partitions via fastboot, only 58 of my 130 apps need to be upgraded after a dalvik wipe, or a switch to ART.
This is odd, as a normal dalvik wipe, or runtime switch should trigger all the apps to require upgrading on startup.
Can anyone tell me what's going on? I am not experiencing any issues yet like FCs and what not, but this is still strange none the less.
Thanks in advance.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Does the same thing happen if you delete the files manually and reboot?
Yeah it does. Very strange.
Sent from my Nexus 5 using Tapatalk
Maybe it's only creating cache for apps that need to run on startup and other apps only create cache when launched
Sent from my Nexus 5 using Tapatalk
rootSU said:
Maybe it's only creating cache for apps that need to run on startup and other apps only create cache when launched
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
I was thinking that too. It doesnt seem to matter, because both ART and DALVIK only compile for the same apps it seems (59 in my case).
Could android be telling it to only compile for certain apps, and skip others? Very strange that this would be the case. Phone feels fine and there are no issues I can see so far.
I am stock, rooted, custom recovery, and thats it. No xposed, no mods, nothing.
Oh, well if your Rom is odex, then it won't need dalvik cache for all apps anyway
Sent from my Nexus 5 using Tapatalk
rootSU said:
Oh, well if your Rom is odex, then it won't need dalvik cache for all apps anyway
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Hmm interesting I guess this could be the answer, but does this also explain why ART fails to compile all the apps?
Currently both ART and Dalvik compile a smaller number of apps than I have installed. The 1st time I switched to ART after the update, it compiled all the apps... then i switched back to dalvik and it compiled 59 of em... then another switch to ART would only cause 59 to be compiled.
Very weird. I think the system is doing this for a reason, but I am not sure which reason that is.
I can't speak about art. Dalvik-cache contains the information that is otherwise contained in .odex so if. Odex exists, there's no need to build a cache for that app
Sent from my Nexus 5 using Tapatalk
New in 4.4.3: https://android.googlesource.com/platform/dalvik/+/36e356c
If an .odex file already exists, then Android won't try to build a new file on boot after you switch from ART to Dalvik. Although it's not explicitly mentioned, I'd assume the same handling happens after you clear the Dalvik cache.
Pbrah said:
New in 4.4.3: https://android.googlesource.com/platform/dalvik/+/36e356c
If an .odex file already exists, then Android won't try to build a new file on boot after you switch from ART to Dalvik. Although it's not explicitly mentioned, I'd assume the same handling happens after you clear the Dalvik cache.
Click to expand...
Click to collapse
Awesome thank you! All questions answered.
Sent from my Nexus 5 using Tapatalk

Fix for EIS not working?

Has anyone been able to fix the EIS not working after the 5.1.6 update? I seen where someone said to clear system cache in recovery, does that work and will it wipe anything off the phone?
UPDATE: Clearing cache in recovery fixes the EIS not working on 30fps modes. Just don't wipe "SYSTEM" like I did... Thank goodness for Nandroid backups
deleted
dgunn said:
Has anyone been able to fix the EIS not working after the 5.1.6 update? I seen where someone said to clear system cache in recovery, does that work and will it wipe anything off the phone?
UPDATE: Clearing cache in recovery fixes the EIS not working on 30fps modes. Just don't wipe "SYSTEM" like I did... Thank goodness for Nandroid backups
Click to expand...
Click to collapse
I am sorry, what cache? I thought there was no cache in Android 7+.
There will always be cache and it's located in recovery
dgunn said:
There will always be cache and it's located in recovery
Click to expand...
Click to collapse
Excuse me? I thought the Cache partition was no longer available in Android, at least in a Pixel phone, which I happen to own.
Here's the explanation.
https://www.androidpolice.com/2016/...-partition-changes-and-new-fastboot-commands/
Do Oreo Oneplus devices still have cache?
nabbed said:
Excuse me? I thought the Cache partition was no longer available in Android, at least in a Pixel phone, which I happen to own.
Here's the explanation.
https://www.androidpolice.com/2016/...-partition-changes-and-new-fastboot-commands/
Do Oreo Oneplus devices still have cache?
Click to expand...
Click to collapse
Yes it has cache in Oreo, see attached photo
https://www.bestusefultips.com/wipe-cache-partition-on-android-oreo/useatownrisk
dgunn said:
Yes it has cache in Oreo, see attached photo
https://www.bestusefultips.com/link removed
Click to expand...
Click to collapse
That's not the system Cache partition, that sounds like a user app cache. However, Dalvik no longer exists, and ART doesn't have a cache folder, so what that option really does, I don't know. Perhaps it removes cache files for each individual app? When you select that, does it clear cache instantaneously, or does it take 5-10 seconds overall (to go through each app individually?)
Also, please remove that link. It's not only completely inaccurate and written in broken English, but also it's dangerously inaccurate - it gives instructions to "clear cache," but instead, it's for factory reset.
dgunn said:
Yes it has cache in Oreo, see attached photo
https://www.bestusefultips.com/wipe-cache-partition-on-android-oreo/
Click to expand...
Click to collapse
Lol that Photo is from TWRP , coz recovery has that option, and to be clear OP6 do not.
Hi Guys, EIS is not working on my op 6 running OxygenOS 5.1.6 with locked bootloader. is there anything i can do to get it back working
nabbed said:
That's not the system Cache partition, that sounds like a user app cache. However, Dalvik no longer exists, and ART doesn't have a cache folder, so what that option really does, I don't know. Perhaps it removes cache files for each individual app? When you select that, does it clear cache instantaneously, or does it take 5-10 seconds overall (to go through each app individually?)
Also, please remove that link. It's not only completely inaccurate and written in broken English, but also it's dangerously inaccurate - it gives instructions to "clear cache," but instead, it's for factory reset.
Click to expand...
Click to collapse
So what you're telling me is that when I wiped this Dalvik off of my phone and did a reboot that it cleared all of my app cache? Because once I rebooted my phone after clearing the cache my phone began optimizing my apps the same as it always does when I clear system cache from any phone.
I still have Dalvik cache folders on my OnePlus 6 filled with dex, vdex and art files. So unless TWRP deletes all of these files as if it were a cache partition then I have no idea what it does or how it was able to make the phone reconfigure the .dex files
I also did not remove the link I posted instead I appended use at your own risk at the end of the URL so if someone would like to open and read it they can remove the use at your own risk and still see what the link was pointing to for a reference.
Yes indeed it is TWRP so fixing EIS may not be available unless you have custom recovery. Don't be a derp, use TWRP

Categories

Resources