[MOD] Mackay Kernel 3.2 Modded for CM10 with GPS Fix

jason600

Senior Member
Nov 26, 2009
195
157
0
First of all, many thanks to Kasper_h for all your work.

This is a mod of Mackay's Kernel 3.0, designed to work with the offical CM10 stable. I've seen various posts about CM not working, so I put this mod togther to get a fully working CM10 based ROM based on the offical CM10 stable.

The advantages of CM10 over CM10.1
Video recording works
Skype Video Calling works
Barcode Scanning apps work
Burst mode camera apps work
Apps2SD works
Bluetooth File transfer (send/receive) works
GPS works

The disadvantages of CM10 over CM10.1
Code base is obsolete, so no more fixes/updates/features etc
Feels slightly less fluid/responsive than Mackays Rom
Feels slightly less stable than Mackays Rom

This has the standard CM10 ramdisk, modified to include Kasper_h's GPS Fix, along with Mackay's Kernel 3.0 zimage (unmodified).
See Kasper_H's original thread here: http://forum.xda-developers.com/showthread.php?t=2153164
Kasper_h's kernel source here: https://github.com/kasperhettinga/lge-kernel-sniper

Get the CM10 stable from here: http://get.cm/?device=p970
Get the Google apps for 4.1.x from here: http://goo.im/gapps

How to Install
1. Reboot to recovery
2. Wipe data/factory reset
3. Install CM10 stable
4. Install Gapps for 4.1.x
5. Install P970-MackayKernel-3.0-Mod-for-CM10-GPS-Fix (attached to this post)
6. Reboot

Issues
1. In about phone, kernel version is shown as unavailable, but shows correctly in CPUSpy
2. If you enable Kernel Same Page Merging (in settings/Performance/Memory) it will cause occasional reboots/screen locks.
3. Very occasional vibration lock, lasting 30-40 seconds, so just wait if that happens. To avoid, disable Vibrate on Touch in settings/sound
4. Video recording with the CM10 camera crashes (still photo and gallery is fine), download Ucam Ultra https://play.google.com/store/apps/details?id=com.ucamera.ucam&hl=en for issue free video recording

Enjoy

Edit: Updated Mackay Kernel to 3.1
Edited 26/8/13: Updated Mackay Kernel to 3.2
Edited 28/10/13: Uploaded Mackey Kernel 1.9, which seems to fix the random rebooting bug, vibration bug and fixes a couple of games that didn't work on the 3.2 Kernel
 

Attachments

Last edited:

Mexickano

Senior Member
Feb 10, 2012
1,155
420
0
Guadalajara
Use Mackay ROM, it has this kernel included, or get the kernel from Mackay's thread. It will work with CM10.1.
The kernel in this thread has been modified for CM10.
Kernel from Mackay's ROM have this

The advantages of CM10 over CM10.1
Video recording works
Skype Video Calling works
Barcode Scanning apps work
Burst mode camera apps work
Apps2SD works
Bluetooth File transfer (send/receive) works
GPS works
:D anyway thanks for make it more clear.
 

jobzsparrow

Senior Member
Mar 21, 2011
131
20
0
yo!! good work , i'm installing

ps. this mod have got grant from kasper_h ?

Sent from my LG-P970 using Tapatalk 2
 
Last edited:

jason600

Senior Member
Nov 26, 2009
195
157
0
yo!! good work , i'm installing

ps. this mod have got grant from kasper_h ?

Sent from my LG-P970 using Tapatalk 2
Do you mean did I ask kasper_h for permission before doing this mod? Then the answer is no. Kasper_h has stated in the mackay thread he would not do a CM10 version, because of this I considered it would be ok provided it was fully credited to him, which I have done.

If kasper_h is unhappy with this mod for any reason, I'll take it down at once.
 
  • Like
Reactions: jobzsparrow

kasper_h

Inactive Recognized Developer
Oct 8, 2010
5,298
16,085
263
Do you mean did I ask kasper_h for permission before doing this mod? Then the answer is no. Kasper_h has stated in the mackay thread he would not do a CM10 version, because of this I considered it would be ok provided it was fully credited to him, which I have done.

If kasper_h is unhappy with this mod for any reason, I'll take it down at once.
Let me answer this one myself, easiest I guess :)

As I have said in my own thread, I am perfectly happy with people using my work. That is what opensource is about: people improving each-others work :) And as said in the quoted post, I also said that I will not work on a CM10 version of the kernel, but that I am happy to support others who want to port the kernel to CM10.
 

jason600

Senior Member
Nov 26, 2009
195
157
0
Let me answer this one myself, easiest I guess :)

As I have said in my own thread, I am perfectly happy with people using my work. That is what opensource is about: people improving each-others work :) And as said in the quoted post, I also said that I will not work on a CM10 version of the kernel, but that I am happy to support others who want to port the kernel to CM10.
Thanks for that kasper, and my apologies for not asking beforehand, which with hindsight, I should of done.
 

BlackPie

Senior Member
Mar 1, 2013
464
154
0
Singapore
Let me answer this one myself, easiest I guess :)

As I have said in my own thread, I am perfectly happy with people using my work. That is what opensource is about: people improving each-others work :) And as said in the quoted post, I also said that I will not work on a CM10 version of the kernel, but that I am happy to support others who want to port the kernel to CM10.
Kasper Hettinga(Apologies if spelt incorrectly)You are a good man,You should have applied for Recognized Developer if not Contributer.You totally deserve it for the magical works you have done.If I could I would have bought you a sack of coffee beanz.Good man.

Sent from my LG-P970 using Tapatalk 4

---------- Post added at 11:06 PM ---------- Previous post was at 11:03 PM ----------

Please fix the KSM bug as I want/need to use that feature ,thanks

Sent from my LG-P970 using Tapatalk 4
 

RomWiz

Senior Member
Jan 27, 2012
2,745
1,193
0
Helsingborg
Kasper Hettinga(Apologies if spelt incorrectly)You are a good man,You should have applied for Recognized Developer if not Contributer.You totally deserve it for the magical works you have done.If I could I would have bought you a sack of coffee beanz.Good man.


Sent from my LG-P970 using Tapatalk 4
If you look closely you see that it says "Recognised Developer" under his name :silly:
 

jason600

Senior Member
Nov 26, 2009
195
157
0
Please fix the KSM bug as I want/need to use that feature ,thanks
Firstly, KSM works, but the bug might cause occasional reboots (maybe once per day)

Secondly, although Kernel Samepage Merging helps reduce ram usage, the effect is not that dramatic.

If you having memory problems, try the following:

1. Disable JIT. No noticable performance drop and each running process uses a few less mb's of ram. With lots of running apps, this adds up. To disable JIT, add the following line to your build.prop:
Code:
dalvik.vm.execution-mode=int:fast
2. Install Greenify https://play.google.com/store/apps/details?id=com.oasisfeng.greenify&hl=en and hibernate apps that run in the background.

3. Install a 200mb swap file on the system partition (much faster than the sd card). You'll be able to load virtally any game/large app. Download Turbo Boost http://forum.xda-developers.com/showthread.php?t=2145133 and extract it on your pc. For a 200mb swap on system copy the file from TURBO BOOST MOD v3.02-AROMA\swap\system\200\etc\init.d\98swap_system_v300 and put it in /etc/init.d on your phone, then reboot. The swap file is created automatically.

4. Install V6 Supercharger http://forum.xda-developers.com/showthread.php?t=991276