ART info - Droid Ultra General

First and foremost, I apologize if I'm overstepping my bounds. I've seen a few snippets here and there, and think that it might be best if we have a dedicated thread to the subject. If you want to know more about ART vs. Dalvik, there's loads of information out on the internet if you simply Google the subject. I decided to take the plunge earlier tonight, because updating to KitKat went so smoothly for me. The switchover took some time, because ART requires complete 'working' of all apps, instead of the partial job Dalvik employs. It also ate about 15% battery, and that was while plugged in! None of my 'mainstream' apps have FC'd, nor have any of my 'lesser' apps...so far. It would seem that most everything is likely compatable with the new library format by now. I'll post of any app that FCs. If you're on the edge, I dare say go ahead and switch over, it's up to you, of course. You can go back if you want, but it is where android is going. Our next update will likely include the turnover anyway.
fat-fingered and Maxx-ed out.

ART isn't sticking and switches back to Dalvik after the required reboot. Aren't you on rooted 4.4? Did you do anything special to make it stay through the reboot?

You posted all of that and did not post what it does and your impressions?
Sent from my XT1080 using XDA Premium 4 mobile app

After the required reboot, its took a real long time for it to rebuild all the apps I have. Believe me, I'm not smart enough to really try to make it stick, it just worked out for me. I could give a screenshot if you like
fat-fingered and Maxx-ed out.

bwheelies said:
You posted all of that and did not post what it does and your impressions?
Sent from my XT1080 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I have noticed that apps are opening instantaneously. Seemingly, i'be lost the spell check/type assist. Probably a tick-box. Battery life is supposed to be better to, no proof as yet.
fat-fingered and Maxx-ed out.

tehcodeman said:
ART isn't sticking and switches back to Dalvik after the required reboot. Aren't you on rooted 4.4? Did you do anything special to make it stay through the reboot?
Click to expand...
Click to collapse
Are you using Xposed? If so, it won't stick.
Sent from my XT1080

LunaticSerenade said:
Are you using Xposed? If so, it won't stick.
Sent from my XT1080
Click to expand...
Click to collapse
That explains it and sucks. Why not?

LunaticSerenade said:
Are you using Xposed? If so, it won't stick.
Sent from my XT1080
Click to expand...
Click to collapse
Yep, that's probably it.
Sent from my XT1080 using xda app-developers app

Looks like apps now take up slightly larger footprint of available virtual sdcard, only slightly.
fat-fingered and Maxx-ed out.

bigv5150 said:
That explains it and sucks. Why not?
Click to expand...
Click to collapse
According to the developer, it's not compatible as of yet, so he put in a check to force Dalvik to avoid boot loops, which is really nice of him.
He's working on compatibility, it'll happen eventually.

I swapped over to ART after a day on 4.4. My maxx was fairly smooth before then, with some slight rough edges when loading an app due to the JIT compiler, but ART completely removed that and now even loading a bunch of apps back-to-back is very snappy. The initial installation times of applications increased by 3-5 seconds, and the very first reboot after swapping to ART took a long time (7-10 minutes?) as it recompiled everything, but that's expected.
So far, I haven't had any weird issues except for with Google Drive, whenever I attempt to upload a file using "Choose a file", the error:
"Unfortunately, Documents has stopped."
Pops up on the screen, and it just doesn't let me pick a file. This isn't a game-breaker for me, as I might use that once a year on my phone.
I haven't swapped back to Dalvik to make sure it's related to ART, I'll probably do that sometime this week.
All of this is a huge gain from my XT912 razr maxx that I was using up till last week, it's amazing how much can change in 1.5~ years with smartphones.

Yep, sounds like my experience exactly! Now, I dread the retooling of the KK OTA, but hopefully, since I already am running it, any tweeked version released will be rejected, especially since I took the OTA cleanly (within SMM!).
fat-fingered and Maxx-ed out.

A little fyi; if you clear the cache partition from within the stock recovery, the phone will also recompile the apps in ART, not just clear the cache. Sit back, and relax for a bit.
fat-fingered and Maxx-ed out.

Back on Dalvik. Tried to tolerate the few apps that didn't like ART, but I've had enough.
fat-fingered and Maxx-ed out.

Einsteindks said:
A little fyi; if you clear the cache partition from within the stock recovery, the phone will also recompile the apps in ART, not just clear the cache. Sit back, and relax for a bit.
fat-fingered and Maxx-ed out.
Click to expand...
Click to collapse
Mine does not do this. It did for photobucket app only because it was not compatible. Got rid of it and it does the normal boot up after cache wipe.
Sent from my XT1080 using XDA Premium 4 mobile app

bwheelies said:
Mine does not do this. It did for photobucket app only because it was not compatible. Got rid of it and it does the normal boot up after cache wipe.
Sent from my XT1080 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Ack, I shoulda mentioned 'dalvik' in there, to! Anyway, I've gone back to Dalvik, as ART was found to be incomplete for a few choice apps which I grew tired of. I think they are very close to hammering the kinks out, though.
fat-fingered and Maxx-ed out.

Related

New "improved" ROM. Anyone try it?

Just saw a tweet from DLife about an improved Froyo 2.2. Anyone try it yet? I'm not sure I want to do a wipe if its not really that much improved.
EDIT: link http://www.droid-life.com/2010/08/02/download-new-android-2-2-droid-incredible-build/
EDIT EDIT: My recommendation is that you don't use this build. It lacks the stock wallpapers except for the red swirl. It lacks the stock ringtones, AND I'm not sure it even has Flash 10.1. Some sites don't seem to work now that I installed it and I'm reinstalling the previous 2.2 leak instead of this one.
Sent from my incredible Droid Incredible using the XDA app
Im steering clear from it. I have made a stable ROM based off the first leak, used skyraider2, amd used the leak itself, amd there is nothong wrong with the firsf.
Sent from my ADR6300 using XDA App
jdkoreclipse said:
Im steering clear from it. I have made a stable ROM based off the first leak, used skyraider2, amd used the leak itself, amd there is nothong wrong with the firsf.
Sent from my ADR6300 using XDA App
Click to expand...
Click to collapse
So far I agree.... Not worth wiping out everything I've done with the first leak! Unless someone can convince me otherwise.
I do have one question though.... Shouldn't there be some way to update the first leak with a new version in the future without wiping the phone? They should have mostly all the same base right?
eMpTy3000 said:
So far I agree.... Not worth wiping out everything I've done with the first leak! Unless someone can convince me otherwise.
I do have one question though.... Shouldn't there be some way to update the first leak with a new version in the future without wiping the phone? They should have mostly all the same base right?
Click to expand...
Click to collapse
Import to the htc basic kitchen and change wipe status
Sent from my ADR6300 using XDA App
I'd be more than happy to keep doing "upgrades" if that was the way it worked but these really aren't upgrades; they're new installs. Wiping each time is painful.
Sent from my incredible Droid Incredible using the XDA app
IShootPixels said:
I'd be more than happy to keep doing "upgrades" if that was the way it worked but these really aren't upgrades; they're new installs. Wiping each time is painful.
Sent from my incredible Droid Incredible using the XDA app
Click to expand...
Click to collapse
Thats why when i make roms, i try to make them flash overs.
Sent from my ADR6300 using XDA App
jdkoreclipse said:
Im steering clear from it. I have made a stable ROM based off the first leak, used skyraider2, amd used the leak itself, amd there is nothong wrong with the firsf.
Sent from my ADR6300 using XDA App
Click to expand...
Click to collapse
+100. I've worked out all the bugs that affect my daily usage: 3g hotspot working, no 0's on my Gmail, still pulling 1250-1300+ on Quadrant, market/browser work beautifully. I'll need to see some solid improvements/benchmarks to make it "worth" switching.
Though for posterity's sake, for those concerned about wiping, since it's a 2.2 -> 2.2, I would think a proper titanium restore would work without much issue, app-wise.
Opposite
I am the opposite ... I see no reason to apply a beta radio and a beta pre-release (even one from yesterday) at this point, especially if its going to be a pain in the butt due to radio reflash and app reinstall. Would just as soon wait in hopes that unrEVOked can root the real OTA. Would MUCH rather go thru the pain and effort (and danger) using VZW's release.
Have you gotten Ti backup to work with 2.2? I had issues. It worked to restore my apps from 2.1, but since switching to 2.2 I could do a backup. I remember there being some issue but not what it was. I haven't tried again since.
As for the upgrade, I'm only using the stock Froyo rom and I've found some bugs in it when using Seesmic and Astro amongst others. I think they need to upgrade for 2.2 compatibility before I upgrade the rom.
Sent from my incredible Droid Incredible using the XDA app
Just installed the latest ota. All if well. No problems like the last rom. No lame patches and bugfixes neccessary. Works good. Titanium backuped everything fine. Took me 5 minutes after full wipe to have all my stuff back to normal.
None?
Check your paid market apps and make sure they all show up
Honestly77 said:
Just installed the latest ota. All if well. No problems like the last rom. No lame patches and bugfixes neccessary. Works good. Titanium backuped everything fine. Took me 5 minutes after full wipe to have all my stuff back to normal.
Click to expand...
Click to collapse
Did you do a "Backup all user apps + system data" and then "Restore missing apps + all system data" or did you just do apps? I'm new to best practices of Titanium Backup... Thanks!
I just do app+app data. No system crap...it isn't that hard for me to add the 4 icons and clock to the screen and setup some ringer preferences...even with all that it took me 5 minutes. Some people may have insane screens full of widgets and apps...mines pretty simple. Also I already fixed my build.prop Plus I only have 2 paid apps...titanium and phonemypc and I already pulled the apks from my phone to install manually without the market anyway. So I dunno.
Honestly77 said:
I just do app+app data. No system crap...it isn't that hard for me to add the 4 icons and clock to the screen and setup some ringer preferences...even with all that it took me 5 minutes. Some people may have insane screens full of widgets and apps...mines pretty simple. Also I already fixed my build.prop Plus I only have 2 paid apps...titanium and phonemypc and I already pulled the apks from my phone to install manually without the market anyway. So I dunno.
Click to expand...
Click to collapse
Well, see?
You had to do a lame fix
Damn. I'd have to go back in and remove all of the bloatware, reinstall all of my apps, and everything else. Not sure I'm up for a minor fix.
Just installed it.. I have to say.. its THE BEST ota leak so far. It's far more stable than the first leak... and it seems like it doesn't drain the battery as much..
Most recent ota leak is a nice improvement over first 2.2 leak. And yeah all you guys saying full wipe is painful.... titanium backup is awesome and can have you back from a full wipe with everything restored and intact within minutes. This 2.2 is faster, fixes most of the problems of the first leak (yes market still needs the fix... so what? Easy easy fix....) and imo is very much worth the upgrade. But seriously only once you know how to extract the most from titanium....
I am more than happy to help anyone with advice on titanium usage or whatever.... pm if you have questions or need help
What's the Market fix?
Sent from my incredible Droid Incredible using the XDA app
bast525 said:
Most recent ota leak is a nice improvement over first 2.2 leak. And yeah all you guys saying full wipe is painful.... titanium backup is awesome and can have you back from a full wipe with everything restored and intact within minutes. This 2.2 is faster, fixes most of the problems of the first leak (yes market still needs the fix... so what? Easy easy fix....) and imo is very much worth the upgrade. But seriously only once you know how to extract the most from titanium....
I am more than happy to help anyone with advice on titanium usage or whatever.... pm if you have questions or need help
Click to expand...
Click to collapse
I've got it down to about a half hour doing a Titanium restore. I just use that to restore the apps and the data.
What takes most of the time is getting the screens set up again.
Still seem to have problems with the Market however... intermittent freezing, hangs on "downloading", etc.

Best way ro go from Cherryblur back to Beta4

Can I just reinstall from zip the 2.3.4 beta 4 if I'm not liking cherryblur?
Yep.. I've flipped back and forth several times. Just make sure you are using CWM to flash.
Sent from my MB860 using XDA Premium App
dont forget to wipe everything... just saying as flash-aholic
xepter said:
dont forget to wipe everything... just saying as flash-aholic
Click to expand...
Click to collapse
I wipe before and after especially since I soft bricked..... I share your pain. LOL Switched back from CherryBlur to Beta 4. For some reason the new market only allows me to download larger files on WiFi. The other issue was battery drain by the minute which I read there was a fix for. I'm happy right now, got everything all setup the way I like it. Kudos to all who help around here. I am feeling like less of a NooB LOL.
Phoneguy589 said:
I wipe before and after especially since I soft bricked..... I share your pain. LOL Switched back from CherryBlur to Beta 4. For some reason the new market only allows me to download larger files on WiFi. The other issue was battery drain by the minute which I read there was a fix for. I'm happy right now, got everything all setup the way I like it. Kudos to all who help around here. I am feeling like less of a NooB LOL.
Click to expand...
Click to collapse
Did you set up the Data control thing at the beginning of setup? I Clicked the checkbox on that while hurrying through and then realized wifi was needed for the Market...

Ummm does this worry anyone else?

I've been up late tonight, and just so happened to stumble across this article over at AndroidPolice. Figured it might interest some people here since it includes our phone.
http://www.androidpolice.com/2011/1...e-numbers-gps-sms-emails-addresses-much-more/
Here's the thing, though. They recommend uninstalling the offending apk immediately, which I tried.....Unfortunately that gives me repeated force closes over and over and over while the system tries to run it, to the point where I had to restore to a backup. So what do we do about this?
UPDATE: You can remove HTCloggers.apk...all you have to do is restart afterwards.
Evo4gLI said:
I've been up late tonight, and just so happened to stumble across this article over at AndroidPolice. Figured it might interest some people here since it includes our phone.
http://www.androidpolice.com/2011/1...e-numbers-gps-sms-emails-addresses-much-more/
Here's the thing, though. They recommend uninstalling the offending apk immediately, which I tried.....Unfortunately that gives me repeated force closes over and over and over while the system tries to run it, to the point where I had to restore to a backup. So what do we do about this?
Click to expand...
Click to collapse
Yes and no.
Yes because so many users run Sense.
No because I run AOSP.
Frankly, I wonder how many other serious flaws there are.
I can name several apps that want their hands on permissions they have no business in [Facebook for one]
Its like 1984 for sure. There's an article in the new section here at xda that talks about some of the other vulnerabilities as well.
Sent from my PC36100 using xda premium
Thanks for sharing. Another reason why we root our phones
Sent from my PC36100 using XDA Premium App
Many devs remove these programs and such to remove ciq. I can't find the thread right now, but it reads just about everything. It's so deeply imbedded into the framework.
It reads every button you press on your keyboard.
Every text you send and receive.
Every app you use and download.
The pages you browse on using the internet browser.
It even goes as far to read any spot on your screen that you touch.
This is spyware to the extreme. Sprint and HTC will say its not "spyware" and say its used only for marketing to determine how phones are being used to further develop for the current trends in smartphones. It's very possible they could steal personal info with this. Is it currently happening? Uhh...probably not, but there will still be a lot of paranoia about it.
Sent from my PC36100 using XDA App
Sounds like a really good reason to stay with AOSP to me...
very True Haha
Sent from my GT-I5800 using XDA App
Some of us haven't forgotten the XCP rootkit that was on some Sony BMG titles in 2005... hope HTC doesnt suffer a similar demise like Sony eventually has of late.
This has been removed from MikG.
This is exactly why I'm AOSP. (that and sub-100MB ROM files)
I read the article too- (I have an Androidpolice/Android Central) feed in my Pulse reader....
I already knew CIQ and such were slimy embedded spyware...but the Treve app- spotted stuff I hadnt deleted already... Sprint sent me a "letter" about bandwidth usage and We-KNOW-what-Your-Doing" ----
I'm not amused by HTC/Sprint's collusion... leaving our bottoms out there in the cold for anyone to do whatever with.....
I bet even money my phones been cloned... sometimes I can't use it for calls .. recently -and I'd not had a single missed call or problem in a year.
I'm not a happy camper.. worried about my credit card #'s and really really am annoyed by HTC sliming us this way...
to the tune- that it'll be an icey cold day in hell before I'd consider buying another HTC phone for anyone in my family- (my family has 3 Evo 4g)...
We are not amused.....
HipKat said:
Sounds like a really good reason to stay with AOSP to me...
Click to expand...
Click to collapse
AMEN
it appears to me that this file has already been removed from MikFroyo. At least, I can't find it...
BTW, you can just remove it using TIbackup, but you'll have to restart to get rid of the repeated force closes. Simple fix, and I've done the same for CarrierIQ as well.
It was removed from sprint lovers rom as well... I couldnt find it at least
I removed HtcLoggers.apk from mine and after rebooting (force close loop) it seems to be working fine. However, is there an old log file still on the phone that can be read by some Spyware app that needs to be removed or does all this data need to come from the logger app itself? If there still is a log, I'm sure it has enough info to still steal my ESN and other stuff.
Wow! Glad I run custom ROMS

[Q] No OTA? 4.2.2 Question

Hey Guys!
I'm from the UK and I own a completely stock, unmodified Nexus 4 and every time I check for an update, I am still 'up to date' on 4.2.1.
I have already tried the frameworks cache empty and force stop thing. It stopped all my push notifications up and destroyed my Google Account link to my phone (couldn't see it on Google Play Weblink...etc). Alas, I spent 1 hour fixing it (no phone reset, YAY!) and am in no way prepared to ever do that method again...ever! haha
Anyway my question to you is....should I worry that I haven't got the OTA yet? It's come through for a lot of people on XDA forums and after owning an Apple Device for a couple of years and being used to the instant update, I am slightly concerned....
Your thoughts and wisdom is much appreciated!
Thanks
- Luke
It can take a few days, don't stress too much just yet!
Sent from my Nexus 4 using xda app-developers app
chrisrozon said:
It can take a few days, don't stress too much just yet!
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
haha thank you!
I've been stressing out (like...seriously) all night about the push + google issues after using the framework short-cut. I think everything is working same as normal now! (reconnect google account, clear cache for play store framework and play services, clear app data for all apps). I nearly died when I found out what happened!
usually OTA is released country by country
Disable location and then clear framework followed by disable and enable framework.
Now check for update.
ultimul said:
usually OTA is released country by country
Click to expand...
Click to collapse
Not on a nexus device it isn't. But it is rolled out in batches.
Sent from my Nexus 4 using Tapatalk 2
It took me 3 consecutive tries clearing framework data and force stopping it before it work... Did you do it several times in a row?
capcanuck said:
It took me 3 consecutive tries clearing framework data and force stopping it before it work... Did you do it several times in a row?
Click to expand...
Click to collapse
I did it about 6/7 times but to no avail . And it screwed up my software (push notifications...etc) so I wouldn't like to try that again! I was just concerned because I haven't received it about 2/3 days after the update was released.
iluk3 said:
I did it about 6/7 times but to no avail . And it screwed up my software (push notifications...etc) so I wouldn't like to try that again! I was just concerned because I haven't received it about 2/3 days after the update was released.
Click to expand...
Click to collapse
Don't force stop just clear the data and check for updates.
But yeah my sync stuff got messed up afterwards as well ... so I wouldn't recommend it unless you really need the update asap.
Just wait... there is literally nothing in 4.2.2 to get excited about.
roll'n roll'n roll'n
iluk3 said:
Hey Guys!
I'm from the UK and I own a completely stock, unmodified Nexus 4 and every time I check for an update, I am still 'up to date' on 4.2.1.
I have already tried the frameworks cache empty and force stop thing. It stopped all my push notifications up and destroyed my Google Account link to my phone (couldn't see it on Google Play Weblink...etc). Alas, I spent 1 hour fixing it (no phone reset, YAY!) and am in no way prepared to ever do that method again...ever! haha
Anyway my question to you is....should I worry that I haven't got the OTA yet? It's come through for a lot of people on XDA forums and after owning an Apple Device for a couple of years and being used to the instant update, I am slightly concerned....
Your thoughts and wisdom is much appreciated!
Thanks
- Luke
Click to expand...
Click to collapse
I check every time someone makes a new post about the ota 4.2.2 being , which isn't very often at all...
I assume it's a measured roll out and it's not my turn yet..
For reference; I'm in the US/ Miami, Florida, considered one of the most important states/ cities in the US. And I could say that in my world I'm the most important person I know, best is that everyone in it knows me and knows this fact. Yet I've had to wait too
OP, if you're still not updated. Do the following:
select settings/apps/ALL/google services framework
DO NOT force-close, just (in this order) clear cache/ delete data/ disable app/ and re-enable app.
don't touch location.
check for update.
EDIT: correction cache 1st, data 2nd.
brummiesteven said:
Just wait... there is literally nothing in 4.2.2 to get excited about.
Click to expand...
Click to collapse
The only change I know of in 4.2.2 that'll make a difference to me is the fact that the WiFi and Bluetooth toggles have been changed from links to the settings to actual toggles.
Nigeldg said:
The only change I know of in 4.2.2 that'll make a difference to me is the fact that the WiFi and Bluetooth toggles have been changed from links to the settings to actual toggles.
Click to expand...
Click to collapse
Also the Wi-Fi connectivity is greatly improved.. That's the big thing for me..
Sent from my Nexus 4 using Tapatalk 2
theabsurdman said:
OP, if you're still not updated. Do the following:
select settings/apps/ALL/google services framework
DO NOT force-close, just (in this order) delete data/ clear cache/ disable app/ and re-enable app.
don't touch location.
check for update.
Click to expand...
Click to collapse
Once you delete data, clear cache button isn't active. Took two tries, on wifi and it showed the update.
Annoying not remembering what app you've renamed, erroring when applying update :/
Nigeldg said:
The only change I know of in 4.2.2 that'll make a difference to me is the fact that the WiFi and Bluetooth toggles have been changed from links to the settings to actual toggles.
Click to expand...
Click to collapse
Ditto. And also the new wireless charging sound :laugh:
Mine took a few days, I'm in the UK too. Was considering sideloading but the update dropped in last night
Sent from my Nexus 4 using xda app-developers app

A small question about ART regarding updates

I've been hearing a lot about ART in threads and stuff.So I finally decided to search what this ART thing is. After knowing what ART I am very happy that finally in very near future (or maybe now) android phones will have smooth UI and Apps like iPhone.
Anyways cutting the crap out, I am using Galaxy Note 2 (N71000) running the latest Nightly by Omni. I have enabled ART on my phone just now and i can really see a notable difference . As I was activating ART I found that it is not officially supported by Omni. So a question strikes my mind
"Do I need to shift back to Dalvik from ART to install latest updates or can I flash them normally?"
I searched but couldn't find an existing thread.
Thanks
You can flash any update as normal, the only thing is depending on how many apps you have it will take a lot longer to optimise them on the first boot compared to dalvik. It's a worthy trade-off but can be an inconvenience when it takes 10-20 minutes for roughly 200 apps.
Sent from my GT-I9505
Alright,I don't mind waiting if I can get flawless performance . your post answers my question. Thanks
Sent from my GT-N7100 using Tapatalk
cooolforce said:
if I can get flawless performance.
Click to expand...
Click to collapse
Sounds like you're a little new with ART. I'm not saying you're complaining (because you're not), but bear in mind ART is experimental and may or may not continue to work, or even be included by Google in the future. So remember, if it it quits working...
koush said:
PSA: ART
Dear everyone,
Stop mailing <insert app developer here> asking them to fix their app when using ART. You need to stop using ART until it is fixed. It is experimental for a reason.
Thanks,
Every Developer Ever
Click to expand...
Click to collapse
https://plus.google.com/110558071969009568835/posts/Cz5m4HhYkD6
Haha yes I am very very aware that ART is experimental and I am not worried if some apps stop working. And I hope that in future Google improves ART and implements it as the main runtime because the concept of ART is very appealing.
Sent from my GT-N7100 using Tapatalk

Resources