Team Octos Would like to present The Kraken Kernel!!
Please read and follow any and all flashing guides, if something seems strange
CLEAN FLASH
Wipe Dalvik/Art
Wipe Cache
Flash Kernel For your device
Reboot
Enjoy
If you do happen to catch something, please do not report with out a LOG.
Saying "this happens" and no proof.......... Well It didn't happen
Code:
/*
* 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 before flashing it!
* YOU are choosing to make these modifications.
*/
All Kernel builds use the device's stock CyanogenMod 13 kernel
Kernel Features
Uber ToolChains
##########
3 stock cpu_gov
ONDEMAND
CONSERVATIVE
PERFORMANCE
##########
5 custom cpu_gov
KRAKEN
BIOSHOCK
WHEATLEY
DARKNESS
UMBRELLA CORE
##########
Hot_plugs
mpdecision
msm-sleeper
##########
Voltage table
fauxsound
and many more
Downloads
Downloads can be found on our site
https://www.teamoctos.com/kraken-kernel-oct-m/
Please do not mirror our files! We can do that ourselves if needed!
I want to give Credits to the following xda users.
@Flar2 - A hugh Thanks to Flar2 for his permission and help.
@Jamison904 - For the Bioshock Governor
@alucard_24 - For the Darkness Governor
@twistedumbrella for the UmbrellaCore Governer
@faux123 for many extras
@Perseus for all his wisdom and help!!
For Header and great wallpapers Jason Townley
https://plus.google.com/communities/104926447384916117447
---------------------------------------------------------------------------------------------------------------------------------------------------------------
Source Codes can be found here:
Team OctOs GitHub - http://www.github.com/Team-OctOs
Team OctOs Gerrit Review - http://www.teamoctos.com:8080
Team OctOs GPLv2 License - http://www.teamoctos.com/license/
Team OctOs Patreon Campaign - https://www.patreon.com/TOctOs
XDA:DevDB Information
KraKen Kernel (d850,d851,d855,ls990,vs985), Kernel for the LG G3
Contributors
bthorne79, canodroid15, cjkacz, Persues
Source Code: https://github.com/Team-OctOS
Kernel Special Features:
Version Information
Status: Stable
Created 2016-08-21
Last Updated 2016-08-21
FIRST Reserved
It's only for AOSP Roms ?
bayad said:
It's only for AOSP Roms ?
Click to expand...
Click to collapse
It is a cyanogenmod kernel base just like the OP says cyanogen is a aosp based rom I have used on aosp-caf-g3 one of our testers flashed on Stock LG rom and said it was fine.
Please read whole OP
Thanks
bthorne79 said:
It is a cyanogenmod kernel base just like the OP says cyanogen is a aosp based rom I have used on aosp-caf-g3 one of our testers flashed on Stock LG rom and said it was fine.
Please read whole OP
Thanks
Click to expand...
Click to collapse
Ok I will try it asap. Thank you for your answer :good:
I've looked around for a while now and I haven't found any information about the "kraken" governor. So which kind of governor is "kraken" or from which governor is it based of?
May I ask what's the difference between this kernel and aC kernel?
YechiamTK said:
May I ask what's the difference between this kernel and aC kernel?
Click to expand...
Click to collapse
Stability. Definitely
Sent from my LG-D850 using XDA-Developers mobile app
Could someone provide a full list of features that this kernel have?
shekinahsmoke said:
Stability. Definitely
Sent from my LG-D850 using XDA-Developers mobile app
Click to expand...
Click to collapse
In your testing which one would be more stable?
Bootloop here
LG G3 D855 32GB Fulmics 6.1
Just an FYI....
Installed Oct-M/D851 for the first time. I wasn't sure if this kernel was included in the 8-20 weekly, so I didn't install it initially. I went through set up, ran KA Mod and realized it wasn't. Back to recovery and flashed the kernel. It's been stable and fluid as far as stock settings go. I did not mess with anything. Nice ROM, btw.
bayad said:
Bootloop here
LG G3 D855 32GB Fulmics 6.1
Click to expand...
Click to collapse
Same on Fulmics LS990. Must not work on the special blend of stock that Fulmics runs.
Sent from my LGLS990 using Tapatalk
The kernel is not designed for stock anyway. If it works that's cool but if it doesn't, definitely not the kernel's fault.
Goes for any CM/AOSP kernel.
LG G3 D851, Tekcafe ROM, Gabriel v1.7 Kernel, Tapatalk 4.9.5
Maddhadder90 said:
In your testing which one would be more stable?
Click to expand...
Click to collapse
Octos is. Tried 3 versions of ac and the latest lite. Reboots and battery life was meh
Sent from my LG-D850 using XDA-Developers mobile app
Any chance to make this available for f400?
vs985 here.
Resurrection Remix 5.7.3, SuperSU, ARISE Numbers 1.4 with Atmos (working)
KA Mod seemed to work with SuperSU, otherwise settings didn't stick.
When I plug my phone in, it always seems to charge now..
Thank you.
Minimal tweaks..
echo 3 > /sys/devices/platform/msm_sleeper/max_online
chmod 644 /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo kraken > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
chmod 444 /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
chmod 644 /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor
echo kraken > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor
chmod 444 /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor
chmod 644 /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor
echo kraken > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor
chmod 444 /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor
chmod 644 /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor
echo kraken > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor
chmod 444 /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor
chmod 644 /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
echo 1958400 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
chmod 444 /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
echo 1 > /sys/devices/system/cpu/cpu1/online
chmod 644 /sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq
echo 1958400 > /sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq
chmod 444 /sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq
echo 1 > /sys/devices/system/cpu/cpu2/online
chmod 644 /sys/devices/system/cpu/cpu2/cpufreq/scaling_max_freq
echo 1958400 > /sys/devices/system/cpu/cpu2/cpufreq/scaling_max_freq
chmod 444 /sys/devices/system/cpu/cpu2/cpufreq/scaling_max_freq
echo 1 > /sys/devices/system/cpu/cpu3/online
chmod 644 /sys/devices/system/cpu/cpu3/cpufreq/scaling_max_freq
echo 1958400 > /sys/devices/system/cpu/cpu3/cpufreq/scaling_max_freq
chmod 444 /sys/devices/system/cpu/cpu3/cpufreq/scaling_max_freq
echo 0 > /sys/module/cpu_boost/parameters/input_boost_freq
echo 0 > /sys/module/cpu_boost/parameters/sync_threshold
stop logd
setenforce 0
start mpdecision
echo 0 > /sys/devices/platform/msm_sleeper/enabled
Using Cloudy 2.5 Rom on my D855, flashed this Kernel so far so good.
Still testing.....Thank you Team Octos
Is it wrong of me to flash the kernel from the 8/12 Oct rom? I mean I used flashify & backed up the kernel. It has allot more governors then flashing the kernel itself. I'm just curious, like is the one I backed up with flashify just specially built for Oct rom? Thank you by the way too.
Oh & also, is it better to use KA mod, or the one right from the play store? And if from play store, should I not update the app, it doesn't show me an update in my list of apps, but if I search for KA there is an update available. I'd have to uninstall with TB or root explorer & reinstall from play store
Sent from my LG-ls990 using Tapatalk
itsBasti said:
I've looked around for a while now and I haven't found any information about the "kraken" governor. So which kind of governor is "kraken" or from which governor is it based of?
Click to expand...
Click to collapse
kraken gov is based off ElementalX with all permission given to use and modify from flar2
Related
[ 4.x | CM 10.x ] | .torrented's Kernel's | GCC 4.8/-O3 | OC 1782MHz | UV | Sweep2Wake
These are no longer up to date. Do not use them! Will update at a later time using the M7 Kernel Source, once it becomes stable.
***Disclaimer: I or crpalmer cannot be held accountable for any damages done to your device by using this kernel***
*First off I just want to say this is 99.9% of crpalmer's work and I wanted to just add a twist to it*
A big thanks goes to @crpalmer because he has help me with more than enough and this wouldn't have been possible without his help!
Think of this like a sister kernel to crpalmers kernel
I'm going to keep the versions the same as his so if it says 2.0.39cm8 it will correspond with that version of his that way stuff won't get confusing between the two kernels (and so it will be easier to tell which builds will work with CM and which won't)
I have added Sweep2Wake (working! thanks to Zarboz for porting it to the DNA and for helping me get it functional) to my kernel and it is enabled by default (this is just the start of things I have planned for this kernel)
Changelog can be found in his kernel thread (no point in duplicating it) : http://forum.xda-developers.com/showthread.php?t=2292213
AOSP 4.2.2 / CM 10.1 Kernel Download Link from AFH
AOSP 4.3 / CM 10.2 Kernel Download Link from AFH
Kernel Source: https://www.github.com/torrented/dna-kernel
[FIXED]For now the scripts do not work because of the kernel version name (I am fixing it, but for now this is what you get)
init.d tweaks
After installing this kernel, there will be:
/system/etc/init.d/99crpalmer
run at boot, even if you switch to another kernel. It is safe to leave this file there and to let it run as it only makes changes if the kernel contains "torrented" in the version. If you flash back to crpalmers kernel from this one it will change the way the 99crpalmer boot script works so you can keep your tweak settings for both of these kernels without changing anything. However the sweep2wake will cease working because his kernel does not contain the code for it to work, but you can leave torrented-sweep2wake-off alone because it is useless with his kernel.
The tweaks are:
CPU Frequencies
* Frequencies loaded from /sdcard/crpalmer-cpufreq-min and /sdcard/crpalmer-cpufreq-max
* Governor loaded from /sdcard/crpalmer-cpufreq-governor
* If you specify either or both of these frequencies, it will lock down all of the CPU frequency controls. I had to do this because HTC overrides them in a script that is run very late in the boot process (thanks HTC!).
* E.g. adb shell su -c "echo 192000 > /sdcard/crpalmer-cpufreq-min"
* E.g. adb shell su -c "echo 1728000 > /sdcard/crpalmer-cpufreq-max"
* E.g. adb shell su -c "echo interactive > /sdcard/crpalmer-cpufreq-governor"
Undervolting
* + or - value loaded from /sdcard/crplamer-uv
* The undervolting in 2.0.23 for FAST binned CPUs would be specified as:
* E.g. adb shell su -c "echo -100 > /sdcard/crpalmer-uv"
Lightsensor
* My light sensor changes didn't sound like they worked well for everyone. If you don't like them you can disable them by:
* E.g. adb shell touch /sdcard/crpalmer-stock-lightsensor
HTC Color Enhancement
* Added the ability to restore HTC's "color_enhancement" mode.
* Create a file /sdcard/crpalmer-color-enhancement
Sweep2Wake
* I have added this because I know people love Sweep2Wake, but for those that do not here is what you can do:
* Create a file: /sdcard/torrented-sweep2wake-off
XDA:DevDB Information
[ 4.x | CM 10.x ] | .torrented's Kernel's | GCC 4.8/-O3 | OC 1782MHz | UV | Sweep2Wake, a Kernel for the HTC Droid DNA
Contributors
.torrented, crpalmer
Kernel Special Features: Sweep2Wake, Overclocking, Under Volting
Version Information
Status: Stable
Created 2013-07-30
Last Updated 2013-09-18
Reserved
What is Sweep2wake?
It Allows you to make a Sweeping action along the bottom of your screen to wake or sleep the screen (mimics action of the power button)*
Been waiting for S2W on an AOSP kernel! You're the man!
Downloading now!
Awesome! Is this only for the latest cms? I'm on carbon 7/15 but I'll try it anyway
-DroidIsDNA- said:
Awesome! Is this only for the latest cms? I'm on carbon 7/15 but I'll try it anyway
Click to expand...
Click to collapse
This is based on his latest kernel
.torrented said:
This is based on his latest kernel
Click to expand...
Click to collapse
Confirmed working on carbon which is a little late on newest cm commits. Sweep works well, very well. Sometimes the recents pop up but that's because I'm not used to it yet Lol. Nice to have this feature on a big phone.
4.2.2
-DroidIsDNA- said:
Awesome! Is this only for the latest cms? I'm on carbon 7/15 but I'll try it anyway
Click to expand...
Click to collapse
Works on 7/13 PACMan bulid!
Edit 2* No longer need Kernel-Scripts.zip
2.0.39-cm9 have them included now (I fixed it)
Great job amigo, jeep on the great job!
Sent from my HTC6435LVW using xda premium
what is Sweep2Wake?
alejobog said:
what is Sweep2Wake?
Click to expand...
Click to collapse
Check the 2nd post (I just updated it)
alejobog said:
what is Sweep2Wake?
Click to expand...
Click to collapse
Look at Post #2 :cyclops:
xda is having some kind of technical issues and so i double posted... rrrrr
FYI, my latest kernel(s) are on a 3.0.x branch... They include a bunch of changes for CM 10.2 support.
update-torrented-3.0.2.zip is up!
Sweep2Wake works great. Thanks, .torrented!
.torrented said:
xda is having some kind of technical issues and so i double posted... rrrrr
Click to expand...
Click to collapse
A post so nice it made it twice.
Sent from my HTC6435LVW using xda app-developers app
So your CPU tweaks script is different than CP's? Do I need to enable anything?
His: HTC DNA
Hers: LG Optimus G
d08speed3 said:
So your CPU tweaks script is different than CP's? Do I need to enable anything?
His: HTC DNA
Hers: LG Optimus G
Click to expand...
Click to collapse
They're the same except for the addition of S2W.
d08speed3 said:
So your CPU tweaks script is different than CP's? Do I need to enable anything?
His: HTC DNA
Hers: LG Optimus G
Click to expand...
Click to collapse
No I left his the same, I just added a Sweep2Wake.sh script, you can even leave your settings on your SDCARD alone and when you flash my kernel it will use the settings that you were using with his (and vice versa)
Edit* Ive added 2 more clock speeds to the Kernel (1.8GHz and 1.9GHz) : Temp Removed Issue not booting
Edit2* cannot get device to boot if I add anything higher than 1782000 :/
What is this:
This is Stuxnet a custom kernel for Android, this kernel focuses on simplicity and stabiilty. All features on this kernel are based on long hours of testing and all are thoroughly tested to give end users the best experience for their device.
Stuxnet is mostly stock with optimizations and features that are often used by users that are not affecting performance on their device. Future development of this kernel will focus on Performance and Stability.
So enough with the intro and start testing this on your device.
Features:
Based on Android 5.0 AOSP source
Mainstream Linux version 3.4+
SaberMod arm-eabi-4.9 Toolchain
Fully Optimized Stock Kernel
Double Tap to wake
Sound Control
Gamma Control
Thermal Enhancements
Check SOURCE for full changelog
How To's:
Install in recovery
Reboot
Kiss yo' mama
***** Slap an iPhone user.. Smile!
Enjoy
Credits:
Google
Linux
Sabermod @sparksco @MikeCriggs
SimpleAOSP @BaNkS @snak3ater @CallMeAldy @Chochiwpg @apatal
and all custom kernel devs
Downloads:
CLICK ME
"This kernel has 2 builds, Stable and Exp(experimental). For the experimental builds, take note that "experimental" means its not stable so expect the unexpected. But for Stable, it's direct to the point saying what it is."
Build Stuxnet from source:
Code:
repo init -u https://github.com/Stuxnet-Kernel/stuxnet_manifest -b master && repo sync -j4 --no-clone-bundle
After syncing go to build folder and change the toolchain path on the scripts (stable for stable, etc.):
Code:
EXPORT CROSS_COMPILE="Point this to your existing toolchain"
After changing the path run the build command:
Code:
./mako-stable.sh
Finished product will be located inside mako/zip
For building CM kernel, do this commands after syncing the source:
Code:
cd mako && git branch cm-12 && git checkout cm-12 && git pull https://github.com/Stuxnet-Kernel/kernel_mako cm-12
Then while still on mako folder:
Code:
cd ../build && ./mako-cm.sh
Changelogs:
v1.0
Code:
- Initial Release
v2.0
Code:
- kexec patch
- voltage control
- halfbreed calibration
v3.0
Code:
- rework voltage control
- revert halfbreed calibration
- added governor tweaks
v4.0
Code:
- adjusted voltages
- enabled LZ4 compression
v4.1
Code:
- Linux 3.4.105
v4.2
Code:
- Entropy tweaks
- Check [B][URL="https://github.com/emceethemouth/kernel_mako/commits/Stuxnet"]GIT[/URL][/B] for full changelog
v4.3
Code:
- Lower down min frequency to 192Mhz
- Added CM12 support
v4.4
Code:
- Latest Google lollipop changes
v4.5
Code:
- Removed 192Mhz (seems I need to further check this one)
- added fsync control
v5.0
Code:
- reworked optimizations
- latest SM 4.9.3 built straight from SaberMod repo
- BFQ v7r7 latest
[/HIDE]
If I still had my N4 I know what I'd be flashing. Keep up the hard work @Gnome if this kernel is anything like your Arkenstone kernel it will be stable and very smooth. Enjoy guys/gals. :good:
Thanks for this new kernel, I flashed it and everything works smoothly ( 26126 in Antutu ), but I miss voltage control, will you add it in next builds ?
blusydays said:
Thanks for this new kernel, I flashed it and everything works smoothly ( 26126 in Antutu ), but I miss voltage control, will you add it in next builds ?
Click to expand...
Click to collapse
Voltage control is cool but some users really doesn't know how to use it, then if they screw up they go "blame it on the dev." Lol! Anyways I might release another version that has that just to be safe, soon if time permits.
Finally something for lollipop. Subscribed. Flashing.
are you using mpdesicion by qualcomm?
lalo20 said:
are you using mpdesicion by qualcomm?
Click to expand...
Click to collapse
Yes, no other hotplugs. Im not comfortable with others. Thats just me, but others are good too.
New kernels for Nexus 4 again haha..
praise 1 beer for you, @Gnome
Gnome said:
Yes, no other hotplugs. Im not comfortable with others. Thats just me, but others are good too.
Click to expand...
Click to collapse
great, qualcomm has the best hotplug, flashing now
Hey Francis! Does this have USB fast charge?
Edit : checked your git. It does!
Thanks!
Hey, will this turn my Nexus 4 into a Nexus 6? :angel:
Thanks
Any faux sound patches?
Also what's different with experimental kernel?
CallMeAldy said:
Hey, will this turn my Nexus 4 into a Nexus 6? :angel:
Thanks
Click to expand...
Click to collapse
Yes. I just flashed and it transformed
Horizone said:
Any faux sound patches?
Also what's different with experimental kernel?
Click to expand...
Click to collapse
It has voltage control and other stuff.
CallMeAldy said:
Hey, will this turn my Nexus 4 into a Nexus 6? :angel:
Thanks
Click to expand...
Click to collapse
Yes it'll make you sing this song.
http://www.youtube.com/watch?v=mhujM7T1_fQ
I am assuming we use ukm to tweak the kernel? BTW great work! Great to see an awesome dev make another kernel!
v2.0 is up changelog's on 2nd post.
@oxxshadow you can use and kernel daemon you like, I personally use trickster, but any will do.
Hello! First of all, nice kernel! It works Smooth!!!
But I have 2 questions. How I can change the colors? I don't like this kernel colors, I prefer stock. And... How I can activate the doubletap_to_wake?
Thanks a lot!
Asce92 said:
Hello! First of all, nice kernel! It works Smooth!!!
But I have 2 questions. How I can change the colors? I don't like this kernel colors, I prefer stock. And... How I can activate the doubletap_to_wake?
Thanks a lot!
Click to expand...
Click to collapse
trickstermod...faux kernel control
u can do both
For People who likes experimental builds, a new build is up. Changes just check it out HERE.
DOWNLOAD
Code:
*** Disclaimer
I/XDA am/is not responsible for any kind of damage to your device,
or in case it explodes, your surroundings.
Please use it at your own risk!
Features :
Compatible with MTK KitKat ROMs (eg. Discovery ROM(Untested), CM11 NxtGen(Tested), Optimus(Tested)).
Will not work with JB(4.2) ROMs.
-O3, Cortex-A7, NEON, VFPv4 optimizations.
Compiled from latest Linaro GCC 4.9.2 Toolchain
Asynchronous Fsync ported from HTC Devices.
Dynamic Fsync v1.5
Added cdrom option to UMS-lun-devices (you can now use this app: Link).
PowerSuspend driver support (replaces EarlySuspend)
Android early_suspend/late_resume PM kernel driver framework has been
deprecated by Google. This new powersuspend PM kernel driver is a replacement
for it.
Conserves battery much better.
Sweep2Wake, Sweep2Sleep
DoubleTap2Wake
Intelli_plug driver.
Intelligent hotplug cpu driver with eco mode.
Reduced debugging = More performance.
Patches from NVIDIA to improve power efficiency.
GPU frequency set to 312MHz.
Click to expand...
Click to collapse
Bugs :
1. Camera not working (CM11 NG) (Library patches fix this on A116)
(Working with Optimus on A116)
Please do report any, if found.
Click to expand...
Click to collapse
Download :
Phoenix5 v1.0.zip
Installation :
Make a full/Nandroid backup of your current ROM.
Place the kernel zip in internal/external sdcard and reboot to recovery.
Perform factory reset (format system, cache, data) after backup
Install kernel zip and reboot!
Click to expand...
Click to collapse
FAQ :
Will this work on all MT6589 Phones?
A: No, only A116 and its clones (MyPhone A919i, Wiko Cink 5, Fly IQ451).
Do not try it on another phone, unless you want to brick it.
How to use doubletap2wake and sweep2wake?
A: Refer post #3.
Is this kernel compatible with CM11 NxtGen?
A: Yes. But you have to change the ramdisk.
How do I change the ramdisk?
A: http://forum.xda-developers.com/showpost.php?p=52449925&postcount=525
Why is the kernel size bigger?
A: This is due to the -O3 optimiztion.
It results in faster but slightly bigger code.
Click to expand...
Click to collapse
Credits :
@hyperion70 (for the base)
@bindassdost (for porting s2w and dt2w to mtk)
@faux123 (for Powersuspend, Dyn Fsync & Intelli_plug)
XDA:DevDB Information
Phoenix5 Kernel, Kernel for the Micromax A116
Contributors
neomanu, hyperion70
Source Code: https://github.com/neomanu/tinno89_wet_kk
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: v1.0
Stable Release Date: 2015-01-05
Created 2015-01-05
Last Updated 2015-03-15
Reserved
Changelog :
v1.0
Code:
Initial Release
Reserved
Kernel Controllers :
For Sweep2Wake, DoubleTap2Wake, LED Control, Dynamic Fsync & Intelli_plug :
Trickster MOD Kernel Settings
(Recommended)
For Powersuspend(w/ Mode selection), Dynamic Fsync & Intelli_plug :
Faux123 Kernel Enhancement Pro (FauxClock) by @faux123
Manual Control :
Intelli_plug :
Disable :
Code:
echo 0 > /sys/module/intelli_plug/parameters/intelli_plug_active
Enable :
Code:
echo 1 > /sys/module/intelli_plug/parameters/intelli_plug_active
Touch Boost Disable :
Code:
echo 0 > /sys/module/intelli_plug/parameters/touch_boost_active
Touch Boost Enable :
Code:
echo 1 > /sys/module/intelli_plug/parameters/touch_boost_active
S2W/S2S :
Disable :
Code:
echo 0 > /sys/android_touch/sweep2wake
Sweep2Wake only :
Code:
echo 1 > /sys/android_touch/sweep2wake
Sweep2Wake + Sweep2Sleep :
Code:
echo 2 > /sys/android_touch/sweep2wake
Sweep2Sleep only :
Code:
echo 3 > /sys/android_touch/sweep2wake
DT2W :
Disable :
Code:
echo 0 > /sys/android_touch/doubletap2wake
Enable :
Code:
echo 1 > /sys/android_touch/doubletap2wake
Note :
Sweep2Wake & DoubleTap2Wake increase battery use.
Sweep2Sleep has no effect on battery use.
ROM Makers :
Feel free to include this kernel in your ROM if you wish to,
but don't forget to mention me.
Just wanted to request to change ramdisk and make is compitable with cm11 please!!
Really good work... Keep it up....
Regards
Andy
---------- Post added at 12:35 PM ---------- Previous post was at 12:23 PM ----------
When I Installed it directly, the device booted up.... Unfortunately android.phone has stopped and phone switches off automatically ..... Do I need to change the ramdisk?
Edit.. - Sorry For Neglecting FAQs.... Please can You give me the kernel packed with m11 ramdisk? eager to test the kernel but cannot as i am out of station for some days.... Thank you
Regards
Andy
I just have to flash directly on discovery rom without changing ramdisk?
Everything work fine with discovery since 2 days, only one freeze with black screen when push power button.
Thks
Sent from my IQ451 using XDA Free mobile app
Blue patch in camera???
bbr999 said:
Everything work fine with discovery since 2 days, only one freeze with black screen when push power button.
Thks
Sent from my IQ451 using XDA Free mobile app
Click to expand...
Click to collapse
U faced any camera issue bro??? and the blue patch in camera is still present or not????
No issue with camera. Photos and movies are good
Sent from my IQ451 using XDA Free mobile app
Request : If There any experienced dev who can change the ramdisk using cygwin or on linux, please can you change the kernel ramdisk with CM11... As i am busy with some other work now...
Regards
Andy
bbr999 said:
Everything work fine with discovery since 2 days, only one freeze with black screen when push power button.
Thks
Sent from my IQ451 using XDA Free mobile app
Click to expand...
Click to collapse
Hey! U changed the ramDisk or just flashed directly?!
Flash directly, i m on discovery sx10
Sent from my IQ451 using XDA Free mobile app
Guys, it will work directly on discovery but ramdisk change required on CM11
Andy1911 said:
Guys, it will work directly on discovery but ramdisk change required on CM11
Click to expand...
Click to collapse
Any gain in antutu scores? Andy.
junaid_butt said:
Any gain in antutu scores? Andy.
Click to expand...
Click to collapse
Not tried yet... using cm11.. and as i dont have my pc, cant even edit ramdisk... so waiting for @neomanu to change ramdisk and make it work on cm11
Regards
Andy
Andy1911 said:
Not tried yet... using cm11.. and as i dont have my pc, cant even edit ramdisk... so waiting for @neomanu to change ramdisk and make it work on cm11
Regards
Andy
Click to expand...
Click to collapse
Gud scores....i got 17825 on discovery rom with this kernel....and also i find difficult to change the ramddisk.....i'd be very happy if u can teach me or send me a link of changing ramDisk....thank you Andy.
not working with cm11 nxtgen v1.0
Please change the ramdisk for cm11 nex gen v1.0
Birbal said:
Please change the ramdisk for cm11 nex gen v1.0
Click to expand...
Click to collapse
Already requested for the same,.... i am not having my pre-configured pc now... so cannot change the ramdisk and i am really helpless..... so please if you can change the ramdisk please do change it and upload it to xda...
Regards'
Andy
Tested on MMX A116i on Discovery rom
camera app closes without showing any error
Great work @neomanu
Needed this badly but please fix the camera ASAP. I am waiting for someone to fix it as I cant use my camera on even cm or discovery. Thank you.
atharvac said:
Great work @neomanu
Needed this badly but please fix the camera ASAP. I am waiting for someone to fix it as I cant use my camera on even cm or discovery. Thank you.
Click to expand...
Click to collapse
I am also facing the same camera issue on my A116i
Many thanks engine95 with his good kernel NavelA 1.6MB for LS990.
I see some others ask about custom kernel can run with Rom base D855 and have problem with drain battery Android OS
This is a mod version kernel NavelA 1.6MB can run with Rom base D855. It can run well with ROM PrimeGSM, 21A ... Try more with Kernel Adiutor to tunning it.
About drain Android OS battery, this is because KSM enable.
The way fix it: disable KSM with run the script "fix Android OS battery.sh". You can use app: "init.d scrips support" on google store and set auto run this script when boot to disable KSM.
The contens of script:
chmod 777 /sys/kernel/mm/ksm/run
echo 0 > /sys/kernel/mm/ksm/run
chmod 444 /sys/kernel/mm/ksm/run
The kernel and script included this link:
MOD Edit: REMOVED kernels cannot be distributed without a link to source code per GPLv2
fix Android OS battery.sh
Do you have this script??
Introduction
Hello everyone, this is my unofficial version of @ak's kernel. As he has been busy with life lately, I wanted to keep up with the Android security patches since this kernel runs amazingly on my phone; so I did just that. Because these are unofficial, you are NOT to discuss the use of them in ak's thread. Do that here. Read ALL of this post, I go over almost everything you could need to know. This kernel will only receive security updates and upstream Linux patches; I will not be changing anything else.
For those of you who have come here before, I have moved the more feature packed kernel to here: http://forum.xda-developers.com/nexus-6p/development/kernel-ninja-kernel-v1-0-t3437247
Differences from official
AK versions 064-066 (unreleased officially by ak)
Linux versions 3.10.74-3.10.83 and 3.10.102
August security patch
Patches for some CVEs
Compiled with latest Uber 5.4 toolchain
Downloads
Main folder
Installation
If on a previous version of my build OR the kernel that comes with your ROM: Flash the zip in TWRP and reboot.
If on another custom kernel: Dirty flash your ROM OR the boot.img if on stock, flash the zip in TWRP, and reboot.
Changelog
Code:
[b]067[/b]
[LIST]
[*]Initial release
[/LIST]
Frequently asked questions
1.1 Q: I am having an issue, can you help me?
1.1 A: Keep in mind I am by no means a kernel developer. However, start by reading the release posts, as I may make note of a particular issue. Also search the thread to see if I have discussed it before. If you see nothing and then provide me with a dmesg/last_kmsg and logcat plus your ROM/kernel version, I'll do my best to assist you.
Code:
adb logcat -d > logcat.txt
adb shell dmesg > dmesg.txt
1.3 Q: Can you add xyz feature?
1.3 A: Sorry, no. I will only be adding security patches. If you want a fully updated and feature packed kernel, check out my Ninja Kernel: http://forum.xda-developers.com/nexus-6p/development/kernel-ninja-kernel-v1-0-t3437247
1.4 Q: How do I control the kernel?
1.4 A: AK recommends using Synapse; if you do not care for Synapse, I would flash this UKM uninstaller in TWRP to keep your /data partition clean. Personally, I recommend using either @flar2's EX Kernel Manager or @Yoinx's Kernel Adiutor-Mod; both are extremely solid and have given me no issues.
1.5 Q: What are your settings?
1.5 A: Here are my regular/tried and true settings for what I consider great performance and battery life:
CPU:
CPU governor: Interactive
CPU governor (Cluster 2): Interactive
Stock governor profile
Max CPU frequency: 1708 MHz
Min CPU frequency: 302 MHz
Max CPU frequency (Cluster 2): 2054 MHz
Min CPU frequency (Cluster 2): 302 MHz
Input boost frequency: 0:768000 1:0 2:0 3:0 4:0 5:0 6:0 7:0
Input boot milliseconds: 60
msm_thermal: Enabled
core_control: Disabled
Graphics:
No modifications
Gestures:
Sweep2Wake: Up, Down
Camera launch gesture: Enabled
Sound:
No modifications
Memory:
No modifications (I leave zRAM enabled)
Miscellaneous:
No modifications (sioplus and 1536 are the defaults, which I use)
Thanks to:
@ak for the fantastic kernel
The various developers for their patches (@flar2, @franciscofranco, and @imoseyon to name a few)
@DespairFactor for helping me with some kernel compilation issues and the Uber prebuilt toolchains I use
All of you guys for viewing the thread
DISCLAIMER: I openly welcome off topic in my threads. Mods, please do not clean off topic discussion and users, do not complain about off topic discussion here. I may direct you to another thread if it is so suited but I won't have the discussion cleaned. Thank you.
XDA:DevDB Information
Unofficial AK Kernel, Kernel for the Huawei Nexus 6P
Contributors
nathanchance, ak
Source Code: https://github.com/nathanchance/AK-Angler
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: v067
Stable Release Date: 2016-08-11
Created 2016-06-19
Last Updated 2016-08-11
How to compile the kernel for yourself
1. Configure your environment
In order to compile this kernel, I'd recommend using Linux (OS X should be acceptable but this guide will be tailored for Linux). To get the environment configured, either use Google's own guide here or my guide (only section 1) here.
2. Grab the source
Grab my AK source
Code:
mkdir ~/Android
cd ~/Android
git clone https://github.com/nathanchance/AK-Angler.git AK
Explanation:
First command makes a directory named Android in your home folder (mkdir = make directory). You can change the location if you want but keep it consistent throughout the guide.
Second command moves into that directory (change directory)
Third command pulls the source from my Github into a directory named AK (git clone <url> <folder_to_clone_in_to> is the format of the command).
Grab my AnyKernel source
Code:
cd ~/Android
git clone https://github.com/nathanchance/AK-Angler-AnyKernel2 AK-AK2
Explanation:
First command moves into the Android directory we made above (change directory)
Third command pulls the source from my Github into a directory named AK-AK2 (git clone <url> <folder_to_clone_in_to> is the format of the command).
Grab the toolchain you want to use to compile the kernel
Code:
cd ~/Android
git clone <kernel_url>
Explanation:
In order to compile the kernel, we need to grab a toolchain (bunch of compilation tools). I currently compile 11 options, you'll only be doing one. Below are the list of possible URLs to clone; copy and paste it after the words git clone above:
AOSP: https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9
Uber 4.9: https://bitbucket.org/DespairFactor/aarch64-linux-android-4.9-kernel.git
Uber 5.4: https://bitbucket.org/DespairFactor/aarch64-linux-android-5.x-kernel.git
Uber 6.1: https://bitbucket.org/DespairFactor/aarch64-linux-android-6.x-kernel.git
Uber 7.0: https://bitbucket.org/DespairFactor/aarch64-linux-android-7.0-kernel.git
Linaro 4.9: https://android-git.linaro.org/git/.../aarch64/aarch64-linux-android-4.9-linaro.git
Linaro 5.4: https://android-git.linaro.org/git/.../aarch64/aarch64-linux-android-5.4-linaro.git
Linaro 6.1: https://android-git.linaro.org/git/.../aarch64/aarch64-linux-android-6.1-linaro.git
DF-Linaro 4.9: https://bitbucket.org/DespairFactor/aarch64-linux-android-4.9-kernel-linaro.git
DF-Linaro 5.4: https://bitbucket.org/DespairFactor/aarch64-linux-android-5.x-kernel-linaro.git
DF-Linaro 6.1: https://bitbucket.org/DespairFactor/aarch64-linux-android-6.x-kernel-linaro.git
3. Setup the build
Make sure everything looks right
After following the above steps, type:
Code:
ls
You should see something like this:
Code:
aarch64-linux-android-6.x-kernel-linaro AK AK-AK2
The toolchain directory make be different depending on what you cloned above. If it looks different, delete the Android folder and do step 2 again.
Select the correct kernel branch
Code:
cd ~/Android/AK
git checkout <branch>
Example:
Code:
cd ~/Android/AK
git checkout m-eas
Explanation
First command will move you into the AK source directory we cloned above.
Second command will checkout the branch you want to compile for. A git repo can have multiple branches. For mine, these are the possible options:
m-standard (for the M Normal branch)
m-eas (for the M EAS branch)
m-nethunter (for the M NetHunter branch)
n-testing (for the N Normal branch)
Select the correct AnyKernel branch
Code:
cd ~/Android/AK-AK2
git checkout ak-angler-anykernel
Explanation
First command will move you into the AK AnyKernel directory we cloned above. This is what allows you to flash the kernel (thank you very much @osm0sis for all the work you do).
Second command will checkout the correct branch (in this case, ak-angler-anykernel)
4. Make the kernel
Tell the makefile what toolchain and architecture you are building for
Figure out the full path of your toolchain folder
Assuming you have done this whole process correctly, you can move into your toolchain directory and type:
Code:
cd ~/Android/<toolchain_folder>
pwd
Example:
Code:
cd ~/Android/aarch64-linux-android-6.x-kernel-linaro
pwd
You should get something like this:
Code:
/home/nathanchance/Android/aarch64-linux-android-6.x-kernel-linaro
Tell the compiler where that toolchain is
Copy and paste that file location above into this command:
Code:
export CROSS_COMPILE=<toolchain_dir>/bin/aarch64-linux-android-
Example:
Code:
export CROSS_COMPILE=/home/nathanchance/Android/aarch64-linux-android-6.x-kernel-linaro/bin/aarch64-linux-android-
Set the architecture
Angler is a 64-bit device so we need arm64
Code:
export ARCH=arm64
export SUBARCH=arm64
Clean up from a previous compilation and update the source
Code:
cd ~/Android/AK-AK2
git reset --hard origin/ak-angler-anykernel
git clean -f -d -x > /dev/null 2>&1
git pull > /dev/null 2>&1
cd ~/Android/AK
git reset --hard origin/<kernel_branch>
git clean -f -d -x > /dev/null 2>&1
make clean && make mrproper
Example:
Code:
cd ~/Android/AK-AK2
git reset --hard origin/ak-angler-anykernel
git clean -f -d -x > /dev/null 2>&1
git pull > /dev/null 2>&1
cd ~/Android/AK
git reset --hard origin/m-standard
git clean -f -d -x > /dev/null 2>&1
make clean && make mrproper
git pull
Explanation:
First set:
The first command moves you into the AK AnyKernel directory.
The second command will undo any local commits you have done and align your source with the most recent commit from me.
The third command will clean any untracked or compiled files (this is send to /dev/null so you do not see it happen).
The fourth command will pull any new AnyKernel changes from me into the source.
Second set:
The first command moves you into the AK source directory.
The second command will undo any local commits you have done and align your source with the most recent commit from me.
The third command will clean any untracked or compiled files (this is send to /dev/null so you do not see it happen).
The fourth and fifth command (strung together with &&) will remove you
The sixth command will pull any new kernel changes from me into the source.
Set up the defconfig
A defconfig tells the compiler which features you want in the kernel. This is already set up by me. To set up the defconfig, type the following:
Code:
cd ~/Android/AK
make ak_angler_defconfig
Name the kernel
If you notice in About Phone > Kernel Version, it shows 3.10.102-AK.066-9.UBER4.9 (or something similar). You can customize this like so:
Code:
export LOCALVERSION=-"kernel name"
Example:
Code:
export LOCALVERSION=-"AK-Nathan-Personal"
Make the kernel!
Code:
make -j#
Example:
Code:
make -j4
Explanation:
The # after the "j" is how many simultaneous threads are run. Traditionally, this is the number of cores you have plus one. So a quad-core CPU would be -j5.
5. Zip it up and flash!
Copy the zImage to the AnyKernel directory
Code:
cd ~/Android/AK/arch/arm64/boot
cp -v Image.gz ~/Android/AK-AK2/zImage
Explanation:
We need to copy the newly compiled kernel (which resides in the arch/arm64/boot folder) to the AnyKernel directory, while changing its name to zImage.
cp = copy
-v = verbose (prints the copying)
Image.gz = file to be copied
~/Android/AK-AK2/zImage = destination and name
Make a current dtb file
Code:
cd ~/Android/AK-AK2
tools/dtbToolCM -v2 -o dtb -s 2048 -p ~/Android/AK/scripts/dtc/ ~/Android/AK/arch/arm64/boot/dts/
Explanation:
No explanation, just do it :silly:
Zip it up!
Code:
cd ~/Android/AK-AK2
zip [email protected] -r9 ak-kernel.zip *
Using the above commands, your newly completed kernel will be located at ~/Android/AK-AK2/ak-kernel.zip
If you followed all of the above steps successfully, congratulations, you built the kernel!! Once you have done all five steps, you will just need to follow steps 4 and 5 to update in the future. Below, I have linked a script that will do all of this for you (with some variable edits at the top); however, please do it manually first so you know exactly what you are doing enjoy!
https://raw.githubusercontent.com/nathanchance/Android-Tools/master/ak.sh
nathanchance said:
Reserved
Click to expand...
Click to collapse
Definitely quicker than PN mm2 release ......lol
thanks a lot
Well look what's cooking! Kudo's
Thx 4 this Nate!
Any useable with DP4
Sent from my Nexus 6P using Tapatalk
kenbrownstone said:
Any useable with DP4
Sent from my Nexus 6P using Tapatalk
Click to expand...
Click to collapse
No, Marshmallow only.
@nathanchance
Can you share your EXKM settings?
Asselalf said:
@nathanchance
Can you share your EXKM settings?
Click to expand...
Click to collapse
Sure. They are added in the OP and will be updated if I ever change them.
OK, i'll try that. Thanks for sharing
Thank you the kernel.
I use Resurrection Remix ROM with ElementalX kernel. Can I install the AK.066-2.ANGLER.UBER6.1.zip after the ElementalX kernel? Or should I go back the apascual kernel and then install the AK.066-2.ANGLER.UBER6.1.zip?
raymondoliviero said:
Thank you the kernel.
I use Resurrection Remix ROM with ElementalX kernel. Can I install the AK.066-2.ANGLER.UBER6.1.zip after the ElementalX kernel? Or should I go back the apascual kernel and then install the AK.066-2.ANGLER.UBER6.1.zip?
Click to expand...
Click to collapse
Go back to the included kernel then flash this one.
nathanchance said:
Go back to the included kernel then flash this one.
Click to expand...
Click to collapse
Ok, thank you.
raymondoliviero said:
Ok, thank you.
Click to expand...
Click to collapse
I'll add installation instructions to the OP, thanks for the reminder.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
It's very fast, thank you very much. I use your settings.
Sent from my Nexus 6P using XDA-Developers mobile app
Sorry for the double, please delete this.
What ROM do you use Nathan. Just wondering.
Pandawg said:
What ROM do you use Nathan. Just wondering.
Click to expand...
Click to collapse
Pure Nexus, I am using the mm2 branch that I compiled myself. Should be available publicly here soon.
Awesome Work as always Nathan and Congrats for crossing the 10,000 mark on the Thanks meter
Hey thanks for this Nathan, you've done an excellent job. This is the smoothest kernel I've tried. Running RR it is very smooth.
Sent from my Nexus 6P using XDA-Developers mobile app