Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,814,105 Members 44,675 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
Calkulin
Old
(Last edited by Calkulin; 4th July 2014 at 01:29 PM.)
#1  
Calkulin's Avatar
Recognized Developer - OP
Thanks Meter 6,791
Posts: 1,433
Join Date: Sep 2008

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

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
If you like my work, donate to buy me a beer or 2

The Following 71 Users Say Thank You to Calkulin For This Useful Post: [ Click to Expand ]
 
Curiousn00b
Old
#2  
Senior Member
Thanks Meter 607
Posts: 2,117
Join Date: Dec 2011
Location: Philly
This is neat. Haven't tried CM11 yet, but when I do, this will be good.

Sent from my Nexus 5 using Tapatalk
 
melbourne408
Old
#3  
melbourne408's Avatar
Recognized Contributor
Thanks Meter 752
Posts: 1,583
Join Date: Dec 2010
Location: San Jose, CA

 
DONATE TO ME
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
My Wordpress
AT&T Captivate CyanogenMod 9 Glitched to 1.6: R.I.P
AT&T SGS2 CyanogenMod 9 / Task AOKP'ed me R.I.P

Nexus 4 Team Vanir
Nexus 5 Rom {W.I.P.}
Hammerhead Setup
Kernel: Linaro 4.91-4.10 / Sabermod
Rom: L Stock / PSD
 
Tikerz
Old
(Last edited by Tikerz; 28th January 2014 at 06:31 AM.)
#4  
Tikerz's Avatar
Senior Member
Thanks Meter 284
Posts: 1,742
Join Date: Nov 2005
Location: Phoenix
Quote:
Originally Posted by melbourne408 View Post
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
LG G3
LG G Watch
LG G Pad 7.0 LTE
The Following 2 Users Say Thank You to Tikerz For This Useful Post: [ Click to Expand ]
 
chris6278
Old
#5  
Senior Member
Thanks Meter 108
Posts: 832
Join Date: Jun 2010
Was able to flash elemental kernel on latest cm nightly with this. Works great
 
melbourne408
Old
#6  
melbourne408's Avatar
Recognized Contributor
Thanks Meter 752
Posts: 1,583
Join Date: Dec 2010
Location: San Jose, CA

 
DONATE TO ME
Quote:
Originally Posted by Tikerz View Post
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
My Wordpress
AT&T Captivate CyanogenMod 9 Glitched to 1.6: R.I.P
AT&T SGS2 CyanogenMod 9 / Task AOKP'ed me R.I.P

Nexus 4 Team Vanir
Nexus 5 Rom {W.I.P.}
Hammerhead Setup
Kernel: Linaro 4.91-4.10 / Sabermod
Rom: L Stock / PSD
 
Savant
Old
#7  
Savant's Avatar
Senior Member
Thanks Meter 1,112
Posts: 3,248
Join Date: Jul 2011
Location: Manchester
Quote:
Originally Posted by melbourne408 View Post
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 3 Users Say Thank You to Savant For This Useful Post: [ Click to Expand ]
 
melbourne408
Old
#8  
melbourne408's Avatar
Recognized Contributor
Thanks Meter 752
Posts: 1,583
Join Date: Dec 2010
Location: San Jose, CA

 
DONATE TO ME
Quote:
Originally Posted by unforgivenmercy View Post
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
My Wordpress
AT&T Captivate CyanogenMod 9 Glitched to 1.6: R.I.P
AT&T SGS2 CyanogenMod 9 / Task AOKP'ed me R.I.P

Nexus 4 Team Vanir
Nexus 5 Rom {W.I.P.}
Hammerhead Setup
Kernel: Linaro 4.91-4.10 / Sabermod
Rom: L Stock / PSD
 
dmo580
Old
#9  
dmo580's Avatar
Senior Member
Thanks Meter 583
Posts: 2,125
Join Date: Dec 2009
anyone try with Franco yet?
Current:
OnePlus One | CM 11S | Nexus 5 | crDroid for Nexus 5

Legacy Devices:
LG Nexus 4 | CM 11 Nightlies | Google Nexus 10 | CM 10.2 Nightlies | Samsung Galaxy S2 i9100 | CM 11 Nightlies | HP TouchPad | CM 11 Nightly 06072014 | Nexus S i9020a | CM 11 Nightlies | Motorola Milestone | CM 7.2 (16.06.2012)

Battery Testing - Non-BS, Non-Subjective Testing
 
Tikerz
Old
#10  
Tikerz's Avatar
Senior Member
Thanks Meter 284
Posts: 1,742
Join Date: Nov 2005
Location: Phoenix
Quote:
Originally Posted by dmo580 View Post
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
LG G3
LG G Watch
LG G Pad 7.0 LTE

The Following User Says Thank You to Tikerz For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes