FORUMS

XDA Picks: Best Apps of the Week (May 15 – 30)

Apps are at the front and center of any smartphone experience, and with over a … more

Google No Longer Sending Calendar SMS Notifications

In a not entirely surprising move, Google announced that it’s putting an … more

Enable Multi-Window Mode on M Developer Preview

What was not mentioned in yeterday’s keynote was Android M’s multi-window … more

I/O Summary: Google Cardboard Virtual Reality

One year ago, Google introduced cardboard. Amazingly enough, that was all it took to fire … more

[DEV] For CM11 users, here's how you can use AOSP(Non CAF) kernels again

Thanks Meter: 8,696
 
By Calkulin, Recognized Developer on 28th January 2014, 12:31 AM
Post Reply Subscribe to Thread Email Thread
Since CM11 changed to CAF, here's a zip to be able to use AOSP kernels again. There's really only one note to adhere - You MUST use the kernel ramdisk from CM's kernel as there is stuff in there that is needed, so if you just flash a AOSP kernel that is built as a boot.img, IT MAY NOT BOOT. Special Note - For Franco's kernel(and others maybe) all you need is to do is use the CM(or mod his) init.d to get it working properly, using the full CM ramdisk may cause the phone not to sleep(high Android OS usage in battery stats)

Now for those that want to know the specifics, these 10 libs are what control it
Code:
hw/gralloc.default.so
hw/gralloc.msm8974.so
hw/hwcomposer.msm8974.so
hw/memtrack.msm8974.so
libexternal.so
libmemalloc.so
libmemtrack.so
liboverlay.so
libqdutils.so
libqservice.so
Last edited by Calkulin; 4th July 2014 at 01:29 PM.
The Following 73 Users Say Thank You to Calkulin For This Useful Post: [ View ]
 
 
28th January 2014, 12:44 AM |#2  
Senior Member
Flag Philly
Thanks Meter: 702
 
More
This is neat. Haven't tried CM11 yet, but when I do, this will be good.

Sent from my Nexus 5 using Tapatalk
28th January 2014, 01:23 AM |#3  
melbourne408's Avatar
Senior Member
Flag San Jose, CA
Thanks Meter: 844
 
Donate to Me
More
So for a CAF based rom my best bet for running a third party kernel would be to let the rom boot with its ramdisk, flash this fix (Thank you by the way.)
Let that boot,
Then while in recovery flash the custom kernel?

Would it do any justice to unzip the Decaf build, replace the boot.img with a third party kernel boot.img and just flash that in recovery?

Sent from my Nexus 5 using Tapatalk 2
28th January 2014, 01:35 AM |#4  
Tikerz's Avatar
Senior Member
Flag Phoenix
Thanks Meter: 350
 
More
Quote:
Originally Posted by melbourne408

So for a CAF based rom my best bet for running a third party kernel would be to let the rom boot with its ramdisk, flash this fix (Thank you by the way.)
Let that boot,
Then while in recovery flash the custom kernel?

Would it do any justice to unzip the Decaf build, replace the boot.img with a third party kernel boot.img and just flash that in recovery?

Sent from my Nexus 5 using Tapatalk 2

Well it's not going to boot with 3rd party kernel so you flash the non CAF zip immediately after flashing the nightly. Then flash the custom kernel. Then reboot.

Sent from my Nexus 5 using Tapatalk
Last edited by Tikerz; 28th January 2014 at 06:31 AM.
The Following 2 Users Say Thank You to Tikerz For This Useful Post: [ View ]
28th January 2014, 01:39 AM |#5  
Senior Member
Thanks Meter: 273
 
More
Was able to flash elemental kernel on latest cm nightly with this. Works great
28th January 2014, 01:39 AM |#6  
melbourne408's Avatar
Senior Member
Flag San Jose, CA
Thanks Meter: 844
 
Donate to Me
More
Quote:
Originally Posted by Tikerz

Well it's not going to boot with 3rd party kernel so you flash the zip immediately after flashing the kernel. Then boot.

Sent from my Nexus 5 using Tapatalk

Fasho.
Fiddle time tonight!

Sent from my Nexus 5 using Tapatalk 2
28th January 2014, 01:58 AM |#7  
Savant's Avatar
Senior Member
Flag Manchester
Thanks Meter: 1,141
 
More
Quote:
Originally Posted by melbourne408

Fasho.
Fiddle time tonight!

Sent from my Nexus 5 using Tapatalk 2

You like to fiddle , your mom told you to stop.

Sent from my Nexus 5 using Tapatalk
The Following 4 Users Say Thank You to Savant For This Useful Post: [ View ]
28th January 2014, 04:52 AM |#8  
melbourne408's Avatar
Senior Member
Flag San Jose, CA
Thanks Meter: 844
 
Donate to Me
More
Quote:
Originally Posted by unforgivenmercy

You like to fiddle , your mom told you to stop.

Sent from my Nexus 5 using Tapatalk

Hahaha you got me.
Saw I, Frankenstein with the family.

Haven't felt my heart race in years. Really enjoyed it. Screw ripened potatoes.

Sent from my Nexus 5 using Tapatalk 2
28th January 2014, 06:10 AM |#9  
dmo580's Avatar
Senior Member
Thanks Meter: 631
 
More
anyone try with Franco yet?
28th January 2014, 06:32 AM |#10  
Tikerz's Avatar
Senior Member
Flag Phoenix
Thanks Meter: 350
 
More
Quote:
Originally Posted by dmo580

anyone try with Franco yet?

Yes, it works. Flash CM11, flash non CAF zip, then last flash the custom kernel. You'll have to do this for each nightly until CM breaks it again.

Sent from my Nexus 5 using Tapatalk
The Following User Says Thank You to Tikerz 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