Android 5.0 Favorite Features, Release November 3rd? – XDA TV

Google Confirms Android 5.0 Lollipop for November 3rd! That and much more … more

Prepare Your Build Machines: Ubuntu 14.10 Utopic Unicorn Now Official

Today is an important day for any and all Linux enthusiasts. One of the … more

Track the Time You Waste on Social Media with Socials Addict

When you use your phone, you often don’t even realize how much time you … more

Document the Story of Your Social Life with 8tory

The different forms of social media are growing every day. It’s hard to imagine a day … more
Post Reply

[Q] CAF Patch and ART

OP mai8ko

3rd September 2014, 07:06 AM   |  #1  
OP Junior Member
Thanks Meter: 0
 
6 posts
Join Date:Joined: Aug 2014
I'm new to xda, so I couldn't ask in the dev forums... I been using Carbon rom, but they recently updated to a CM base for the rom, so w/o the CAF patch it doesn't support AOSP kernels nor ART cache. I tried their latest nightly w/ ART, it wasn't pretty; however, I did not try the caf patch, then aosp kernel, then art. In theory, should that combination get ART to work on a CM based rom? Or am I barking up the wrong tree on this one? I know it's a very specific question, but I been kinda bummed b/c I can't update the rom since I refuse to go back to dalvik, and CM don't support ART. Ever since they updated the rom (since 8/28.. they're on build 8/31 now), I been sticking with the 8/24 build! (their last AOSP based build) Any leads would be a big help. Thank you!
3rd September 2014, 07:46 AM   |  #2  
rootSU's Avatar
Senior Member
Flag Oxenhope, West Yorkshire, UK
Thanks Meter: 12,240
 
23,247 posts
Join Date:Joined: Aug 2010
More
ART should work on a cm ROM. When they say they don't support it, they mean its a Google experimental feature so they cannot help you if you have problems with ART.

Sent from my Nexus 5 using Tapatalk
3rd September 2014, 03:42 PM   |  #3  
OP Junior Member
Thanks Meter: 0
 
6 posts
Join Date:Joined: Aug 2014
I tried it and it did not work well. Like I said many FC's, apps didn't work, and system shutdowns. Maybe it wasn't the fact that it was CM, but more so that they just switched to CM, and so the build is unstable still? But on the Dev forum for that rom, a lot of people are saying that the newest build works great with CAF patch and an AOSP kernel. That may be so, but it also may be so that they're using dalvik not ART. What I'm trying to clear up is, will that same patch make the rom play friendly with art also?
4th September 2014, 02:43 PM   |  #4  
Junior Member
Thanks Meter: 1
 
12 posts
Join Date:Joined: Jun 2013
Quote:
Originally Posted by mai8ko

I tried it and it did not work well. Like I said many FC's, apps didn't work, and system shutdowns. Maybe it wasn't the fact that it was CM, but more so that they just switched to CM, and so the build is unstable still? But on the Dev forum for that rom, a lot of people are saying that the newest build works great with CAF patch and an AOSP kernel. That may be so, but it also may be so that they're using dalvik not ART. What I'm trying to clear up is, will that same patch make the rom play friendly with art also?

you're trying to use an AOSP kernel?

what is the order that you are trying to switch to art?

maybe that's the culprit
4th September 2014, 10:47 PM   |  #5  
OP Junior Member
Thanks Meter: 0
 
6 posts
Join Date:Joined: Aug 2014
Quote:
Originally Posted by Ofthecats

you're trying to use an AOSP kernel?

what is the order that you are trying to switch to art?

maybe that's the culprit

Well the CAF thread suggests this order: Clean flash of cm rom, flash the caf patch, then flash the desired aosp kernel. As far as art goes, aosp roms boot right up w/o problems in art. I don't know if that's because those roms are built on aosp from the ground up, or if it's because of the aosp kernel. I'm wondering if the cm rom that allows aosp kernels with the patch will also allow art to run smoothly. Again, I tried the new nightly (CM based) w/o the patch/ aosp kernel on art and it was buggy as all hell. Others are saying that the build is working well w/ caf patch and aosp kernel... but that still leaves the question: is that on dalvik only? If I turn on art with those three combined will art be good to go? I'm trying to see if anyone knows if it's purely a kernel thing that makes it compatible with art, before investing a ton of time with a clean flash, reinstalling all apps, and trying them one by one only to be disappointed by bugs and having to stick with the 8/24 build anyway. (that was their last aosp build for that rom)
4th September 2014, 10:52 PM   |  #6  
simms22's Avatar
Recognized Contributor
BROOKLYN!
Thanks Meter: 21,865
 
26,265 posts
Join Date:Joined: Jun 2009
ART works fine, either stock, aosp, or cm based. running aosp kernels on cm or cm kernels on aosp is a no no. you are asking for a long list of issues. and running the patch on an aosp kernel with cm does not guarantee that there wont be issues.
The Following 2 Users Say Thank You to simms22 For This Useful Post: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in Nexus 5 Q&A, Help & Troubleshooting by ThreadRank