[Port] Pink kernel by pinkflozd - Peregrine - 2015-02-15

Search This thread

Kayant

Senior Member
Jul 14, 2011
1,861
4,149
Disclaimer - This will only work on CM12 nightly 2014-01-11 Upwards, SlimLP, Beanstalk 27 Jan
Flashing on any CM12 nightly before this build with result in no Wifi


Code:
#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards, thermonuclear war, 
* or you getting fired because the alarm app failed. Please do some research 
* if you have any concerns about features included in this KERNEL
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/

This is a port of Pink kernel by @pinkflozd for the Moto G - http://forum.xda-developers.com/showthread.php?t=2634745
Make sure to pink flozd for their work or we won't have this kernel ;)

Features:
  • GPU Overclock (550mhz) / underclock (100mhz)
  • BUS, RAM overclockhttps://www.androidfilehost.com/?w=files&flid=24199
  • Simple Adreno-TZ Governor
  • Christopher83 Linaro GCC 4.9.3 Toolchain optimized for A7
  • Sound Control 3.2 thx to faux123
  • Color Calibration thx to savoca
  • sweep2wake & doubletap2wake thx to faux123
  • Pocket Detection for s2w and dt2w thx to alin23
  • IntelliThermal V2 (enabled by default)
  • Intelliplug 3.7 CPU Hotplug driver (mpdecision stoped and intelliplug default on boot)
  • FIOPS, ROW, BFQ-v7, SIO, DEADLINE, NOOP, CFQ Schedulers
  • Intelliactive, Intellidemand, IntelliMM, CPU governors
  • ZSWAP 384mb (lz4 compression)
  • PowerSuspend 1.5 lots of new features to improve battery (enabled by default)
  • Dynamic FSYNC
  • Dynamic Writeback
  • Dynamic Cache Pressure
  • Dynamic Readahead
  • AIO Optimizations
  • UKSM Samepage Memory Merging
  • veno (default tcp congestion)
  • gcc optimization tweaks for our cpu
  • exFAT & NTFS Support
  • Use Android device as USB keyboard/mouse (USB Keyboard APK)
  • some more patches

Instructions:
  • Boot Recovery
  • Backup your current ROM (backup whole rom)
  • flash the zip
  • reboot


Disclaimer - This will only work on CM12 nightly 2014-01-11 Upwards, SlimLP,PAC-man
Flashing on any CM12 nightly before this build with result in no Wifi


Code:
[SIZE="3"][B][COLOR="Red"]ITS COMPATIBLE ONLY WITH CM12 2014-01-11 Upwards/SlimLP/PAC-man, Beanstalk 27  Jan[/COLOR][/B][/SIZE]
[SIZE="3"][B][COLOR="Red"]IT IS NOT COMPATIBLE WITH THE STOCK MOTOROLA ROM[/COLOR][/B][/SIZE]
[SIZE="3"][COLOR="Red"]Use at your own risk!![/COLOR][/SIZE]

Thanks:
pinkflozd for the kernel and OP :p
dhacker 29
faux123
razrqcom-dev-team
SeannyM
savoca
All the other Moto G devs I have forgotten to mention.

XDA:DevDB Information
Pink kernel , Kernel for the Moto G

Contributors
Kayant, pinkflozd, hacker29, faux123, SeannyM
Source Code: https://github.com/MotoG4G-AOSP/android_kernel_motorola_msm8226/commits/pink-kernel

Kernel Special Features:

Version Information
Status: Stable
Stable Release Date: 2015-01-11

Created 2015-01-11
Last Updated 2015-02-15
 
Last edited:

ebol94

Senior Member
Aug 10, 2011
227
96
I'm still using a Motorola Defy, but I'm looking forward in buying a Motorola Moto G LTE xt1040 so it's nice to have people working on it. Keep it up!
 

Kayant

Senior Member
Jul 14, 2011
1,861
4,149
Thanks for your work!
Works great on pac-rom (why shouldn't?)

Color calibration didn't worked (trickster mod)

How to sweep2wake & doubletap2wake?

I wasn't sure if your build was up to date with the latest CM changes because otherwise if anyone flashes it they will end up with no wifi. So is that the current one lined in your thread or one you're testing locally so I can add it to the OP.

For doubletab you doubletab the screen :p
For Sweep2wake you sweep the edge of the screen where the navigation bar will be.
 
  • Like
Reactions: EternalFlame

JTdevAndroid

Senior Member
Sep 6, 2014
139
358
Berlin
github.com
I wasn't sure if your build was up to date with the latest CM changes because otherwise if anyone flashes it they will end up with no wifi. So is that the current one lined in your thread or one you're testing locally so I can add it to the OP.

I'm using the one in the thread, you can add it to the OP

For doubletab you doubletab the screen :p
For Sweep2wake you sweep the edge of the screen where the navigation bar will be.

:D
I meant where i can turn them on/off?
 
  • Like
Reactions: EternalFlame

Sn0wdune

Senior Member
Jan 15, 2013
167
36
Thank you!

Thank you very much for this kernel! :)

I obtained a total score of 20,728 (with a original average score of 17,000 on stock 4.4.4 rom) in Antutu and 5700 in Quadrant (I don't know if this is accurate as stock gets over 8000 so not sure but I suppose benchmark scores are not always accurate anyway! :/)

Antutu score is provided below! Thanks again for this kernel! :)

rRBxvab.png
 

Kayant

Senior Member
Jul 14, 2011
1,861
4,149
Yeah works great :good:
thanks again Kayant, after building the two pac rom i was gonna start to work on the kernel but is not needed anymore.
I think i'll drop a line on the falcon thread to thanks the guys over there ;)
Good so i will have time to (try) make Ambient Display work on our device
There are patches for it BTW but I haven't really tested to see if it works. Will post the links later on when am at a PC.

Need to do that also

Sent from my XT1039 using Tapatalk
 
Last edited:

sbpetro

Member
Jul 3, 2009
37
14
I cannot seem to figure out how to use S2w or dt2w. When my screen is off I try both actions as earlier posted but no luck. Can anyone confirm this works? Or what am I doing wrong?

Thumbed in from my XT1039 using XDA mobile app
 
  • Like
Reactions: rodsayd

J0kker

Senior Member
Mar 15, 2012
410
194
Amazon Fire TV
Google Pixel 4a 5G
I cannot seem to figure out how to use S2w or dt2w. When my screen is off I try both actions as earlier posted but no luck. Can anyone confirm this works? Or what am I doing wrong?

Thumbed in from my XT1039 using XDA mobile app

I can't help you much as I'm running stock but you probably need to use a kernel tweak app to enable this feature.

Sent from my XT1039 using XDA Free mobile app
 

nikobadboy

Senior Member
Jan 12, 2012
109
8
Did you mean 2015-01-11 or 2014-01-11 ? or i am wrong and this should be installed on CM12 2014-01-11 build (where is CM12 2014-01-11 build then?) :)
 

Top Liked Posts

  • There are no posts matching your filters.
  • 15
    Disclaimer - This will only work on CM12 nightly 2014-01-11 Upwards, SlimLP, Beanstalk 27 Jan
    Flashing on any CM12 nightly before this build with result in no Wifi


    Code:
    #include <std_disclaimer.h>
    /*
    * Your warranty is now void.
    *
    * I am not responsible for bricked devices, dead SD cards, thermonuclear war, 
    * or you getting fired because the alarm app failed. Please do some research 
    * if you have any concerns about features included in this KERNEL
    * before flashing it! YOU are choosing to make these modifications, and if
    * you point the finger at me for messing up your device, I will laugh at you.
    */

    This is a port of Pink kernel by @pinkflozd for the Moto G - http://forum.xda-developers.com/showthread.php?t=2634745
    Make sure to pink flozd for their work or we won't have this kernel ;)

    Features:
    • GPU Overclock (550mhz) / underclock (100mhz)
    • BUS, RAM overclockhttps://www.androidfilehost.com/?w=files&flid=24199
    • Simple Adreno-TZ Governor
    • Christopher83 Linaro GCC 4.9.3 Toolchain optimized for A7
    • Sound Control 3.2 thx to faux123
    • Color Calibration thx to savoca
    • sweep2wake & doubletap2wake thx to faux123
    • Pocket Detection for s2w and dt2w thx to alin23
    • IntelliThermal V2 (enabled by default)
    • Intelliplug 3.7 CPU Hotplug driver (mpdecision stoped and intelliplug default on boot)
    • FIOPS, ROW, BFQ-v7, SIO, DEADLINE, NOOP, CFQ Schedulers
    • Intelliactive, Intellidemand, IntelliMM, CPU governors
    • ZSWAP 384mb (lz4 compression)
    • PowerSuspend 1.5 lots of new features to improve battery (enabled by default)
    • Dynamic FSYNC
    • Dynamic Writeback
    • Dynamic Cache Pressure
    • Dynamic Readahead
    • AIO Optimizations
    • UKSM Samepage Memory Merging
    • veno (default tcp congestion)
    • gcc optimization tweaks for our cpu
    • exFAT & NTFS Support
    • Use Android device as USB keyboard/mouse (USB Keyboard APK)
    • some more patches

    Instructions:
    • Boot Recovery
    • Backup your current ROM (backup whole rom)
    • flash the zip
    • reboot


    Disclaimer - This will only work on CM12 nightly 2014-01-11 Upwards, SlimLP,PAC-man
    Flashing on any CM12 nightly before this build with result in no Wifi


    Code:
    [SIZE="3"][B][COLOR="Red"]ITS COMPATIBLE ONLY WITH CM12 2014-01-11 Upwards/SlimLP/PAC-man, Beanstalk 27  Jan[/COLOR][/B][/SIZE]
    [SIZE="3"][B][COLOR="Red"]IT IS NOT COMPATIBLE WITH THE STOCK MOTOROLA ROM[/COLOR][/B][/SIZE]
    [SIZE="3"][COLOR="Red"]Use at your own risk!![/COLOR][/SIZE]

    Thanks:
    pinkflozd for the kernel and OP :p
    dhacker 29
    faux123
    razrqcom-dev-team
    SeannyM
    savoca
    All the other Moto G devs I have forgotten to mention.

    XDA:DevDB Information
    Pink kernel , Kernel for the Moto G

    Contributors
    Kayant, pinkflozd, hacker29, faux123, SeannyM
    Source Code: https://github.com/MotoG4G-AOSP/android_kernel_motorola_msm8226/commits/pink-kernel

    Kernel Special Features:

    Version Information
    Status: Stable
    Stable Release Date: 2015-01-11

    Created 2015-01-11
    Last Updated 2015-02-15
    7
    New build

    Change log :

    - Compiled with @Christopher83 Linaro 4.9.3 toolchain optimized for A7 devices
    - Squash of f2fs updates up to mainline v3.18 thanks to @bedalus
    - Added build script thanks to @YoshiShaPow

    Download - https://www.androidfilehost.com/?fid=95916177934521296
    5
    Changelog

    Jan 11 -
    -Initial Release

    Jan 11(updated) -
    - Enabled S2W/T2S support -

    Feb 01 -
    http://forum.xda-developers.com/showpost.php?p=58568409&postcount=40
    5
    I have a question.
    This Kernel set SELinux to Permisive? Or it don't change it?

    It doesn't change it so it's the rom's default setting.

    Changelog :

    - Cherry-picked some updates from @bedalus (GPU and android driver stuff)

    Read more - http://forum.xda-developers.com/showpost.php?p=58596426&postcount=76

    Download - https://www.androidfilehost.com/?fid=95916177934529633
    3
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone