Nexus 7 ART runtime help - Nexus 7 (2013) General

Hello, I recently successfully unlocked the boot loader and rooted my device running stock Android 4.4.2 but I'm having a problem with the Dalvik and ART runtimes. I've read that when you change over from Dalvik to ART it takes about 20 minutes to change everything as ART requires about 10% more space for each app. But my problem is that whenever I click on "Use ART" and my tablet reboots, nothing happens. It turns off and boots up like normal without any changes, so I looked in the options and nothing changed. I'm still using Dalvik. I've tried this process a few times but still it boots up with Dalvik.
I have 3.5GB of space left on my device with about 8GB used so I don't know if that causing it not work or whether because I've rooted my device.
Any help would be appreciated

Smithy5995 said:
Hello, I recently successfully unlocked the boot loader and rooted my device running stock Android 4.4.2 but I'm having a problem with the Dalvik and ART runtimes. I've read that when you change over from Dalvik to ART it takes about 20 minutes to change everything as ART requires about 10% more space for each app. But my problem is that whenever I click on "Use ART" and my tablet reboots, nothing happens. It turns off and boots up like normal without any changes, so I looked in the options and nothing changed. I'm still using Dalvik. I've tried this process a few times but still it boots up with Dalvik.
I have 3.5GB of space left on my device with about 8GB used so I don't know if that causing it not work or whether because I've rooted my device.
Any help would be appreciated
Click to expand...
Click to collapse
Are you using Xposed? Can't use ART if you are.

It could be Xposed.. the developer said Xposed relies on Dalvik, and it requires basically an entire rewrite to even test if its work porting to ART.
By the way I've switched from Dalvik to Art and so forth a few times now (I don't have Xposed) and I've had no issues. I prefer ART though.

TheCraig said:
It could be Xposed.. the developer said Xposed relies on Dalvik, and it requires basically an entire rewrite to even test if its work porting to ART.
By the way I've switched from Dalvik to Art and so forth a few times now (I don't have Xposed) and I've had no issues. I prefer ART though.
Click to expand...
Click to collapse
Using Xposed with Art will most likely end in a bootloop. Art is faster but still a bit in Googles experimental phase.
Sent from my Nexus 7 Flo running Odex SinLess ROM 4.4.2 with ElementalX kernel using XDA Premium 4 mobile app

LinearEquation said:
Using Xposed with Art will most likely end in a bootloop. Art is faster but still a bit in Googles experimental phase.
Sent from my Nexus 7 Flo running Odex SinLess ROM 4.4.2 with ElementalX kernel using XDA Premium 4 mobile app
Click to expand...
Click to collapse
The latest version of Xposed forces you back to Dalvik if you attempt to enable ART.

Thanks
Thanks for the replies everyone. I am using Exposed. I think I'll just keep using Dalvik for the moment instead of going through the hassle of deleing Xposed

Related

[Q] Notification Pull Down not working after 4.3 OTA

A friend of mine just updated her Nexus 4 to 4.3 via OTA. Since the update several background apps kept crashing repeatedly, but she uninstalled them before I could get her to check what the exception message was. After removing the apps everything seems to be working except the Notification Pull Down. Notification Icons correctly display in the Status Bar, but you can't actually open the Notifications. Try as you might it just refuses to open. The phone has been rebooted several times to no avail.
I've searched several threads but haven't found anything even remotely similar to this. Anyone have any ideas?
I'm not sure what App affects notifications to even try clearing data on. I've thought about removing her google account cpmpletely and readding it, but I'm helping her over text, so trying to keep the complicated solutions for when we've tried everything else.
Any suggestions or ideas would be very greatly appreciated!
Has she wiped dalvik cache? I think that not wiping dalvik can cause apps to crash.
Try to reflash the ROM and wipe cache & dalvik, and do a factory reset and optionally wipe /system partition.
Sent from my Nexus 4 using xda premium
Lucenzo7 said:
Has she wiped dalvik cache? I think that not wiping dalvik can cause apps to crash.
Try to reflash the ROM and wipe cache & dalvik, and do a factory reset and optionally wipe /system partition.
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
The phone is completely stock, non-rooted, locked bootloader, running stock 4.3 OTA.
I'm trying to find GUI solution that doesn't involve installing a custom recovery. Thanks for the idea though.
Doing a factory reset seems like the only logical thing to try, in case you don't want to unlock your bootloader and install a custom recovery. Beware, you will lose your apps and their data.
You can try to reflash the ROM again, but I don't know what's the procedure with the stock software. If you can just apply update from .zip, than you should be able to do that from the stock recovery. I never had any OTA update so I can't help you further unfortunately.
Sent from my Nexus 4 using xda premium

[Q] Runtime reverting to Dalvik?

Every time I try to change runtime to ART and reboot, the option still says "Use Dalvik". There also isn't a long boot time and the 'Android is upgrading' wait.
I am able to change to ART runtime if I do a clean flash of Omnirom but unable to do so after installing all of my apps.
Is there a log to see which apps are causing this? or if it's app related at all?
I am using Samsung Galaxy S3 i9300. I have also flashed SuperSU and Temasek Kernel.
Sythun said:
Every time I try to change runtime to ART and reboot, the option still says "Use Dalvik". There also isn't a long boot time and the 'Android is upgrading' wait.
I am able to change to ART runtime if I do a clean flash of Omnirom but unable to do so after installing all of my apps.
Is there a log to see which apps are causing this? or if it's app related at all?
I am using Samsung Galaxy S3 i9300. I have also flashed SuperSU and Temasek Kernel.
Click to expand...
Click to collapse
I guess you are using exposed, that causes the issue with ART.
BeDesireS said:
I guess you are using exposed, that causes the issue with ART.
Click to expand...
Click to collapse
Ahh I see. Thanks.
Edit: Yep that was the issue. Uninstalled Xposed framework modifications and it worked. And also ART runtime doesn't seem to like low available space and will start causing crashes of apps.
I guess I'm a little late to the topic, but I installed CM11 on my nook color and my razr HD. After reading this thread, I uninstalled xposed from both devices.
Every time I change from Dalvik to Art, the boot process takes long, apps getting modified, and once it's all done and I check developer options, it's telling me that it runs Dalvik.
Is there a way to pinpoint which apps could cause this?
Would it be sufficient to remove all apps and then install one app after the other to see if Art is still running, or would I have to reinstall Android or at least wipe all user data?

[Q] Switch back to Dalvik from ART

I used to be on ART runtime running CM11 nightlies. Since couple of days,
nightlies refuse to work correctly using ART runtime (basically Phone UI will
crash on reboot, and much of others,too).
Having already reinstalled my phone from scratch to have confirmation that
the issue is due to the choice of runtime, I'm searching a way to switch back
to Dalvik runtime from ART, using ClockworkMod and avoid full reinstallation
of the phone.
Any ideas, hints ?

facebook, ask, and clash of clans not works on art

anynone has this problem like me?
if i stay on dalvik these apps works, but if i switch to art when i open them, they force close, before it never happened but now yes and i dont know why.
Nexus 4 and Nexus 7 witch latest nighlty on n4 and m9 on n7, same problem on both.
Works for me, maybe it's time for a factory reset. But remember a backup.
Hit thanks if I helped you
Jeckoo said:
anynone has this problem like me?
if i stay on dalvik these apps works, but if i switch to art when i open them, they force close, before it never happened but now yes and i dont know why.
Nexus 4 and Nexus 7 witch latest nighlty on n4 and m9 on n7, same problem on both.
Click to expand...
Click to collapse
Which version of Android are you running? If you're running Android L Preview Port, I suggest you updating it to the latest version as ART was unstable in previous versions. Otherwise, you should try finding an OTA update to your current ROM, backup everything (Titanium Backup or Nandroid backup) and erase /data partition, wipe dalvik cache.

[Q] Does Android Lollipop have dalvik support at all?

Does Android Lollipop only support ART or does it support dalvik too, like Kitkat supported ART?
only ART I think
galaxyYtester said:
Does Android Lollipop only support ART or does it support dalvik too, like Kitkat supported ART?
Click to expand...
Click to collapse
most likely only ART as that is the way they are going - The build and the kernel will be built on ART so I very much doubt there will be a dalvik version
Android Lollipop should be released on Friday 17th October however don't expect it to be any phones officially until Christmas although you can always check out dev builds from the released source code but don't expect it to be on the galaxy y 5360 as ART does not support armv6
You can read the full change log
http://www.androidpolice.com/2014/10/15/its-officialandroid-l-is-android-5-0-lollipop/
That worries me
This week I had the Amazon app crash on me (nexus 5, 4.4.4, ART) while changing Amazon accounts (worked before, something happened while doing it which apparently corrupted the app permanently).
Cleared the app data/cache, uninstalled, reinstalled, rebooted, nothing fixed it. Every time I'd try to login, it crashed.
The only thing that fixed it was to revert back to Dalvik, then back to ART.
Looks like the conversion/recompiling process cleaned whatever got broken. Weird, as I'd expect uninstalling/reinstalling the app would suffice, if the corruption was limited to its own precompiled binary.
Without this, my only option would be a factory reset, I guess.
Even if Dalvik is dead, maybe we could get a "refresh" option for ART as a second-to-last resource.

Categories

Resources