Post Reply

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

28th January 2014, 12:31 AM   |  #1  
Calkulin's Avatar
OP Recognized Developer
Thanks Meter: 6,797
 
1,433 posts
Join Date:Joined: Sep 2008
Donate to Me
More
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 71 Users Say Thank You to Calkulin For This Useful Post: [ View ]
28th January 2014, 12:44 AM   |  #2  
Senior Member
Flag Philly
Thanks Meter: 607
 
2,123 posts
Join Date:Joined: Dec 2011
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
Recognized Contributor
Flag San Jose, CA
Thanks Meter: 754
 
1,583 posts
Join Date:Joined: Dec 2010
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: 284
 
1,742 posts
Join Date:Joined: Nov 2005
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: 108
 
832 posts
Join Date:Joined: Jun 2010
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
Recognized Contributor
Flag San Jose, CA
Thanks Meter: 754
 
1,583 posts
Join Date:Joined: Dec 2010
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,119
 
3,259 posts
Join Date:Joined: Jul 2011
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
Recognized Contributor
Flag San Jose, CA
Thanks Meter: 754
 
1,583 posts
Join Date:Joined: Dec 2010
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: 585
 
2,129 posts
Join Date:Joined: Dec 2009
More
anyone try with Franco yet?
28th January 2014, 06:32 AM   |  #10  
Tikerz's Avatar
Senior Member
Flag Phoenix
Thanks Meter: 284
 
1,742 posts
Join Date:Joined: Nov 2005
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
Display Modes


Top Threads in Nexus 5 Android Development by ThreadRank