[Q] A few questions about ART - G3 Q&A, Help & Troubleshooting

im on carbonrom and i think about to switch to art but i have a few questions:
can i just, when all apps are installed, switch to art?
or is a fresh rom without apps recommended?
if i then flash my rom updates, i stay on art or im back on dalvik and i always have to switch back to art?
sorry, i have no experience with the use of art.
thanks in advance!

You can turn on art whenever you want with or without apps however the next boot will precompile all your apps that you have installed so it will say optimizing app X of XXXX apps and will be a very long boot however after that everything will go back to normal and the phone will boot at a normal speed and it will feel just like dalvik. When you update your rom it may reset it to dalvik I don't know of but I would assume it would. You should have slightly better app launch times with art enabled because the apps are precompiled.

thanks but if i change to art when all my apps are installed and one app is for example not compatible with art the device will boot anyway?

ive just tried it out but the device booted normally without app otimization and after the start flickered my screen and i had to reboot.
im still on dalvik...

Related

[HELP] Reboot led to Force Closes!

Hi there guys,
I had an issue last night which seems to have "corrupted" data on my phone. I'll try to explain. I am running AOKP milestone 5 with Franco's 512GPU #191 and I was on the Play Store updating some apps. I remember that it was something like 10 apps being updated (I recall seeing Youtube, Google+, Maps, Instagram and Chrome in the list to update). While the apps were updating I went to the Franco Kernel updater app and changed the Power Mode to one of my customs, that is max CPU 15xx MHz, min CPU 12xx MHz, governor Performance. Went back to the Play Store to check how the updates were going and then the screen went black and the phone started to reboot. After that, it took more than the usual time to boot and when it finally did, I had everything "messed up". I had a dialog asking me what launcher I want to use, I choose Nova and all the widgets can't be loaded, followed with lots of Force Closes. Almost every app I try to enter leads to a force close, and I have noticed that when, for instance, I open Toshl or other apps in which I had info, before it force closes it behaves like it was the first time I open the app (asking for the login info, etc).
I tried going to recovery to clear Dalvik cache and cache partition, tried to Fix permissions, without any luck. Is there anything I should try to do before wiping everything? I have some app's data that I didn't want to lose... I could try to get some logs if someone leads me on how to do that.
I really don't think that this is directly related to Franco's kernel or AOKP, but would sure appreciate some help/guidance!
Thanks!
Also I have just tried to dirty flash AOKP M5 and gapps again (wiping cache partition and dalvik cache) without any luck... Anyone has other ideas I should try before performing a full wipe? I am leaving the full wipe to my last resource.
Thanks
Try running using fix permissions from your recovery, it sounds like they may have gotten messed up
Should I reflash ROM and gapps after fixing permissions in the recovery? Or just fix the permissions and reboot?
Thanks!
Also, how long should it take to run the Fix permissions? My recovery is showing me "Fixing permissions..." for almost 10 minutes. Is this expected?
Thanks!
EDIT - It seems like I had the same problem reported here: http://www.drewgreen.net/wordpress/tag/galaxy-nexus/
I followed the steps and am now waiting for the fix permissions to finish. Will let you know if it helped!
EDIT 2 - Although I don't think it is perfect (I'm still getting FC's on Swiftkey, for instance), it has recovered almost everything! Now it's maybe a good time to make some backups and do a clean install!
Thanks!!

Email app force closing

Hi,
I just flashed cm-11-20131207-NIGHTLY-maguro.zip and PA gapps on my GNex...After flashing i changed to ART mode....All apps are working fine except the Email app which force closes as soon as i open it....Any ideas as to wat the problem can be...I did cache/dalvik cache wipe before flashing...if that helps...
Might be a problem with ART. Does it run fine on Dalvik?
Break me off a piece of that Kit-Kat ROM!
Its ART. Its not perfect. That's why its still only an option in developer settings. It happened to me too before. You may eventually find that other apps dont work with ART as well. I tried it once and since then, I havent gone back to it. Its just not ready yet.

[Q] [URGENT HELP] Nothing is working!

I have a HTC Wildfire S, rooted, with an AOKP rom.
One day, my phone was running slow, so I rebooted into recovery and cleared dalvik cache and system cache. I rebooted the system and absolutely NOTHING is working. after I unlock the phone, a bunch of processes stop working. Pressing the home button makes Nova Launcher crash. I have since uninstalled it, and still nothing is working.
I can't even turn the phone off using the power button. The only way I can shut the screen off is by removing the battery manually.
EDIT: I tried a factory reset, and it's still the same as before. NOTHING is working. I can go into Settings, that's about it.
A list of apps that stop working:
Link2sd
facebook
outlook
yahoo weather
google.process.gapps
nova launcher
swiftkey
superuser
ETC..
I have attached pictures so you guys can have a sense of what my problem is. Sorry if the pictures are blurry, I had to use my Ipod touch to take them.
Sorry If i have made any errors in this thread. I am new here, I just created an account right now so I can find some help to solve my issue.
HughGRection said:
I have a HTC Wildfire S, rooted, with an AOKP rom.
One day, my phone was running slow, so I rebooted into recovery and cleared dalvik cache and system cache. I rebooted the system and absolutely NOTHING is working. after I unlock the phone, a bunch of processes stop working. Pressing the home button makes Nova Launcher crash. I have since uninstalled it, and still nothing is working.
I can't even turn the phone off using the power button. The only way I can shut the screen off is by removing the battery manually.
EDIT: I tried a factory reset, and it's still the same as before. NOTHING is working. I can go into Settings, that's about it.
A list of apps that stop working:
Link2sd
facebook
outlook
yahoo weather
google.process.gapps
nova launcher
swiftkey
superuser
ETC..
I have attached pictures so you guys can have a sense of what my problem is. Sorry if the pictures are blurry, I had to use my Ipod touch to take them.
Sorry If i have made any errors in this thread. I am new here, I just created an account right now so I can find some help to solve my issue.
Click to expand...
Click to collapse
just reflash the rom. boot into recovery wipe data and flash the rom
Reflash or flash another rom.
Sent from my Samsung Galaxy S4 using Tapatalk
Thanks @Guitarfreak12 and @aWFSuser
I did what you guys said, and I reflashed the same ROM and everything is working fine. The only downside, although, is that I have had to re-install all my apps again.
Also, would you guys know what caused the problem? I'd like to know so that I can ensure it doesn't happen again in the future.
HughGRection said:
Thanks @Guitarfreak12 and @aWFSuser
I did what you guys said, and I reflashed the same ROM and everything is working fine. The only downside, although, is that I have had to re-install all my apps again.
Also, would you guys know what caused the problem? I'd like to know so that I can ensure it doesn't happen again in the future.
Click to expand...
Click to collapse
Did you had a lot of applications installed and linked along with dalvik to sd-ext?
Then after clearing the cache on reboot the dalvik files will regenerate in the /data partition if there are a lot of apps and the /data overflows then your apps will stop working without the dex files. And clearing the dalvik cache usually doesn't help in increasing speed.........next time you should go into link2sd and use the "clean dalvik cache" option there.........
HughGRection said:
Thanks @Guitarfreak12 and @aWFSuser
I did what you guys said, and I reflashed the same ROM and everything is working fine. The only downside, although, is that I have had to re-install all my apps again.
Also, would you guys know what caused the problem? I'd like to know so that I can ensure it doesn't happen again in the future.
Click to expand...
Click to collapse
This actually happens because Link2SD can also link dalvik cache files as well, what the recovery must have deleted would be the symbolic links that the Link2SD script creates, so next time if you want to clear the dalvik cache, use the option found in the Link2sd app
Alright so it seems, instead of using the dalvik cache cleaner on recovery, I should just use the one located in Link2sd. I'll be sure to do that next time to ensure that no problems persist.
Thanks for all the help!

Can't successfully migrate to ART (CM11)

Hi,
I am using CM11 and would like to switch to ART. When I do so in developers options, the phone reboots and it takes a long time to update and optimize the apps (with several iterations on a subset of total apps). Once I get to the lock screen, I unlock and get constant systemui process crash ("stopped working"). If I reboot again, the phone starts normally but has automatically switched back to Dalvik.
I always wipe cache and Dalvik when I flash an update, but should I also wipe data during the automatic reboot process when switching to ART? What is the exact sequence of actions to successfully migrate? Lots of TeamCanjica succeeded with ART.
Thanks
Somer APP do not like ART. So it could be that some installed user apps are not compatrible with ART and prevent the swtich to ART.
Best and most secure way is to beginn from scratch... Factory reset/Data wipe... Booot completely... Then switch to ART... And start installing your apps...
For sure there are some which do not want to install themself.... But this is normal....

[Q] Problem in Changing Runtime From Dalvik to ART in mmx A1

Hi, I want to Change runtime but every time i do it phone restart's but nothing changed runtime still remains same that is "Dalvik"
Can anybody help me , or tell me it is not possible to change runtime in Android one devices
I used art and dalvik ... It worked but dalvik is good as art experimental on KitKat ...
Yes.. its possible to change runtime in one devices, after selecting art and rebooting mobile, didn't you get "updating apps" dialog?
You are lucky
Moooohit said:
Hi, I want to Change runtime but every time i do it phone restart's but nothing changed runtime still remains same that is "Dalvik"
Can anybody help me , or tell me it is not possible to change runtime in Android one devices
Click to expand...
Click to collapse
ART is highy unstable..I successfully changed but trying hard to get rid of it now.
After changing to ART system crashes continuously.You can't even change it back to Dalvik.
So friend stick with Dalvik otherwise you are taking a risk on stability of the device.
akkarapuram said:
ART is highy unstable..I successfully changed but trying hard to get rid of it now.
After changing to ART system crashes continuously.You can't even change it back to Dalvik.
So friend stick with Dalvik otherwise you are taking a risk on stability of the device.
Click to expand...
Click to collapse
ART requires additional internal space.. for example if u had 1gb free internal in Dalvik ; after switching to ART it ll b 500mb free space. so need to hav at least some 600mb before switching .
and second thing make sure xposed installer is uninstalled before switching to ART.. bcoz it doesn't work with art.
make sure above two conditions
I think that caused problems in switching. I had more than 100 apps installed during switching,which simply means that internal space was low. So it lead lead to whole system crash
Sent from my AUXUS CoreX4 3G using XDA Free mobile app

Categories

Resources