[KERNEL][A700][CM][LINARO] kiteman kernel v4.1 [email protected] - Acer Iconia A700 and A510

Hi, this is my first A700 (only) kernel.
So these first versions are a test so it is possible there is some issues.
I am not responsible for damaging your device or voiding your warranty. Play at your own risk!
Changelog :
v1 (in addition to Vorbeth's changes) :
added I/O scheduler ROW (not defaut)
JRCU (original patch Joe Korty)
add and use Thalamus hotplug.
Please find a Zimage (DON'T flash this RAR file via recovery, it contains only a Zimage) and this kernel repacked for CM10.1 version cm-10.1-20130417-NIGHTLY-a700.zip
Flash the boot-new.img by flashboot.
https://github.com/kiteman44/android_kernel_acer_a700
// End of kernel based on Vorbeth' one.
v2 (based on Cm10.1 kernel by Pawitp) :
- add ROW IO scheduler (not default)
- Added optimized ARM RWSEM algorithms
- Add Joe's RCU.
- lib/string & lib/memcpy: use GNU implementation.
- tegra fixes, minor improvments and others (see sources for details)
DOWNLOAD => HERE
v3 :
- Compiled with Linaro 4.7 toolchain
- O2 optimizations instead of Os
- make ARM optimizations
- row io by default.
- Set down hotplug delai
- others minors tweaks.(see my github for more informations)
DOWNLOAD => HERE
v4 :
- Added FSync Control version 1 by Ezekeel
- fsync disabled by default
- Add optimized AES and SHA1 routines
- GPU : set @ 520 MHz
- improve deadline (credits franciscofranco)
- input touchscreen : Improve the irqsoff latency (events-per-packet) estimate by 50 us
- interactive : add mid-range frequency bias
- fix memory leak in kernel
DOWNLOAD => HERE
v4.1
- active JRCU (sorry, my mistake..)
- cpufreq: interactive: Unify Governor Lock Strategy
DOWNLOAD => HERE
Source github : https://github.com/kiteman44/android_kernel_acer_t30
Credits (code and/or inspiration): pawitp, protekk, vorbeth, dvdhrm, franciscofranco, motley, faux, metallice, herogjan, Moscow Desire

I hope that I understand your post the right way:
So we could flash your boot-img via fastboot? And it`s already repacked so we could use it with an actual CM-rom?

OCmylife said:
I hope that I understand your post the right way:
So we could flash your boot-img via fastboot? And it`s already repacked so we could use it with an actual CM-rom?
Click to expand...
Click to collapse
Yes
flash boot.img by flashboot (this one is repacked for CM10.1 version cm-10.1-20130417-NIGHTLY-a700.zip)
Zimage is for someone who wants Zimage for repack.
I don't know how repack for stock and for "global" CM (if its possible)

Your kernel runs fine until now
12040 in Antutu and 3572 in Quadrant. What`s about the Overclocking capabilities from Vorbeth`s kernel?
Thx for your work!

OCmylife said:
Your kernel runs fine until now
12040 in Antutu and 3572 in Quadrant. What`s about the Overclocking capabilities from Vorbeth`s kernel?
Thx for your work!
Click to expand...
Click to collapse
Dont know about that..:-\ i will take a look at this.
Ty

Yes, Oc will ne really nice
Gesendet von meinem Nexus 4 mit Tapatalk 2

I noticed another thing, the option to change the touchscreen sensitivity is not available when using your kernel. It's just greyed out and I can't change it.

nex86 said:
I noticed another thing, the option to change the touchscreen sensitivity is not available when using your kernel. It's just greyed out and I can't change it.
Click to expand...
Click to collapse
yep thanks.
next versions will have this feature. And more I hope

thanks.
If there is a way to disable vsync and implement a variable to turn it on/off, this would be nice too.

Do you know if it works with 7comp ROM ?

no idea..
By the way, futurs versions will be based on CM10.1 kernel by Pawitp (thanks to him)
so v2 will get the touch sensitivity option

kiteman44 said:
no idea..
By the way, futurs versions will be based on CM10.1 kernel by Pawitp (thanks to him)
so v2 will get the touch sensitivity option
Click to expand...
Click to collapse
So it will be compatible with CM ? (and any AOSP Rom ?)
Is there a chance that it will be compatible with A510 ?
It would be great to include your Kernel in my 7comp ROM

Shreps said:
So it will be compatible with CM ? (and any AOSP Rom ?)
Is there a chance that it will be compatible with A510 ?
It would be great to include your Kernel in my 7comp ROM
Click to expand...
Click to collapse
PM me (i'm french too)

Kernel based on cm10.1 kernel by Pawitp :
so, all features from CM10.1 kernel + :
- add ROW IO scheduler (not default)
- Added optimized ARM RWSEM algorithms
- Add Joe's RCU.
- lib/string & lib/memcpy: use GNU implementation.
- tegra fixes, minor improvments and others (see sources for details)
Source github : https://github.com/kiteman44/android_kernel_acer_t30
Credits (code and/or inspiration): pawitp, protekk, vorbeth, dvdhrm, franciscofranco, motley, faux, metallice
zImage attached (rar) (DON'T flash this RAR file via recovery, it only contains a zImage)
Bootcm.img attached (repacked with 20130424 nightly ramdisk)
Flash the bootcm.img by flashboot.

How to get into "fastboot" mode ? the old ics commands dont work -.-

Thanks for your update. I had nothing to complain about your previous version. No bugs so far and it really improves the performance of the A700. :good:
I will try your new kernel later

OCmylife said:
Thanks for your update. I had nothing to complain about your previous version. No bugs so far and it really improves the performance of the A700. :good:
I will try your new kernel later
Click to expand...
Click to collapse
Thanks.
This one isnt OC.
OC will come in second time.

Could you provide a CWM flashable zip ? I cant flash the new-boot.img in fastboot mode.. "< waiting for device>" :/

Chris0706 said:
Could you provide a CWM flashable zip ? I cant flash the new-boot.img in fastboot mode.. "< waiting for device>" :/
Click to expand...
Click to collapse
Do you've the fastboot driver installed?

Nice kernel, thanks.
I've repacked it with the ramdisk from Vorbeth his kernel. I'm using stockrom at the moment, your kernel helps a lot with the lag.
I've included your kernel, with Vorbeth ramdisk for stockrom in this post.

Related

(OC)Official GingerBread Kernel/**Multitouch fix added Aug 08**/Ring no Fade updated

********* OFFICIAL FOR USE ONLY ON GINGERBREAD ***************
Special thanks to PaoloM70.
Personal Thanks to Andy, Mik_os, Franciscofranco, Ciaox, Noejn and all other devs.
AmonRA to flash it with the need to disable the verification of signatures.
Overclocking
Smartass
Smoothass
Cifs
Supports EXT4
+upstream to 2.6.35.13
+oc, interactive, smartass, smoothass, cifs, ext4
+governor added SavagedZen
+autogroup scheduler (the patch of 200 lines)
+ smoothass smartass with a capped rate (standby) to set minimum
V3 Kernel -Old kernel:
ADB Bugfix for device
Reconfigured various kernel parameters (For better power management, CPU profiles)
-Added for the inversion axes Sippola in the new touch screen driver.
-Simple-inserted I / O scheduler (sio)
-Included various other patches 5-6
-Removed references-debug (smaller kernels)
-Small fix to reduce the impact on the CPU more pressure on the display (you can check with Neocore first ... the difference came in 8-well 9fps now settles down to 2-3fps)
******Updated 25 July*********
Magazine-routine to increase the stability and overclocking performance, cameraflick is absent up to 729mhz
Touch-fix which decreases the occupation of the CPU when you press your finger on the display (should no longer have the lag that had the first version of V4 (I hope))
Magazines-and reinsert all the previous patches (66 patches in total)
Inserted by the kernel-2.6.36 backport of block, and mtd workque
Backport-inserted by the kernel 3.0rc6 and cpufreq of cpuidle
http://www.mediafire.com/?g8r37pzsr3ig21j
+same kernel but without the fix for employment cpu (maybe better in the scroll lag if you have one) **No touch fix kernel***
http://www.mediafire.com/?bed0ht9kcz0071c
******Updated 08 Aug*********
Touch V6 2.6.35.14
V5-like, but updated to version 2.6.35.14
-Added 2.6.36 kernel backported from the i2c
-Support Module tun.ko
-Vsync enabled
http://www.mediafire.com/?otpne0w1v8bhnp8
If you want to try the version NoTouch kernel
http://www.mediafire.com/?4wuiscjcu5xal58
After flashing, wipe cache and davlik.
If you have a2sd then run the following in terminal:
su
a2sd cachesd
The phone will reboot automatically.
Download Ringing with No fade :Now supports Gingerbread 2.3.3 :
http://www.mediafire.com/?1xqcc0jppl2w9ic
Flash and enjoy
To know more the original idea, please visit the thread here :
Special Thanks to Januka for the idea.
For devs :
I/Paolo doesn't have a repository, So its uploaded here :
Kernel Ginger Source
http://d-h.st/jvn
u only need to change one line in Makefile
at line 193 change from
Code:
CROSS_COMPILE ?= /home/paolo/x-tools/arm-spica-linux-uclibcgnueabi/bin/arm-spica-linux-uclibcgnueabi- #CROSS_COMPILE ?= arm-eabi-
to
Code:
#CROSS_COMPILE ?= /home/paolo/x-tools/arm-spica-linux-uclibcgnueabi/bin/arm-spica-linux-uclibcgnueabi- CROSS_COMPILE ?= arm-eabi-
Yes, I know I should use search, but please, can anyone explain to me how do smartass and smoothass work in comparison to, for example, conservative and ondemand?
And massive thanks to you mansirawat!
If you already know that you should use the search function, maybe you don't know HOW to use it...
Here's a "tutorial": http://lmgtfy.com/?q=android+governors
Otherwise, you're just plain lazy... which one is it?
Ciaox should see this thread , he is waiting for GB OC Kernel
P.S : Thank you for the Kernel
Otherwise, you prefer wasting perfectly good post space in order to lecture me. Just like half the members of XDA. And the fact that you supposedly come from Romania as well just shows...nah, why bring that up here, all foreigners know it already.
Great! Awesome! Pure awesome!
Thanks a lot!
Stock rooted GB with this kernel (652/320)-> 1152 in quadrant. I don't care too much about those points, but my phone is smoother.
Working fine with void forever...yeah its smooth ...got 2020 in quadrant at 806 MHz
Sent from my LG-P500 using XDA App
do i have to flash a new baseband before flashing this on any custom rom? thanks
Flashed it,let's see!
Thanks!
Best!
Great!
Awesome!
Pure awesome!
mansirawat said:
********* OFFICIAL FOR USE ONLY ON GINGERBREAD ***************
Special thanks to PaoloM70.
Overclocking
Smartass
Smoothass
Cifs
Doesn't support EXT4
Click to expand...
Click to collapse
Hey mansi hows the performance??? If its good then it will be included in my new ROM.
CWM can also be used to flash this zip. Tested(CWM 3.1.0.0) and worked.
sajjan said:
Working fine with void forever...yeah its smooth ...got 2020 in quadrant at 806 MHz
Sent from my LG-P500 using XDA App
Click to expand...
Click to collapse
Why would you use this on a custom rom? We have Francisco's kernels for that.
devlin2427 said:
Why would you use this on a custom rom? We have Francisco's kernels for that.
Click to expand...
Click to collapse
its because krant,andy,mik's kernel are made of CM7 sources LG's are diff.
If you flash franco's kernel it will mk ur phone choppy. but you can try. if francos doesn't work you can flash this.....
Well I tried it out of curiousity ....and if not better it's definitely at par.....I still have to check battery life....
Sent from my LG-P500 using XDA App
cyber_avijit said:
its because krant,andy,mik's kernel are made of CM7 sources LG's are diff.
If you flash franco's kernel it will mk ur phone choppy. but you can try. if francos doesn't work you can flash this.....
Click to expand...
Click to collapse
does this kernel require a new baseband?thanks
roi14 said:
does this kernel require a new baseband?thanks
Click to expand...
Click to collapse
Yes, of course.
cyber_avijit said:
its because krant,andy,mik's kernel are made of CM7 sources LG's are diff.
If you flash franco's kernel it will mk ur phone choppy. but you can try. if francos doesn't work you can flash this.....
Click to expand...
Click to collapse
I'm afraid you didn't understand my question. I was asking why would he flash this kernel instead of Francisco's on void#forever.
devlin2427 said:
I'm afraid you didn't understand my question. I was asking why would he flash this kernel instead of Francisco's on void#forever.
Click to expand...
Click to collapse
ya you can use franco's kernel on any custom ROM other then those which are built from official 2.3.3
doktornotor said:
Yes, of course.
Click to expand...
Click to collapse
No. kernels have nothing to do with baseband. I flashed on v20g and its improved performance and another guy flashed on void forever and it improved performance.

[KERN][3.0.101]16.12.13 HD-ION T16.1 (ics\jb sense)[05.12.13]HD Aosp T1(JB Aosp)

This kernel will run with Sense Rom`s ONLY​ (Aosp version in post 4)
[/CENTER]
Features:
ION Memory allocation
Overclocked and Udervolt.OC avilable up to 2.0Ghz (1Ghz by default)
Cpu governors : perfomance, smartass2, powersave, userspace, onedemand(by default), interactive, interactiveX, conservative, wheatley, lazy, lagfree.
I/O shedulers : row, cfq, sio, bfq, noop, deadline, vr(by default).
EXT file system support (2.3.4)
2 way call recording support.
Sweep2Wake,TapTap2Wake,2F2Wake support for atmel and synaptics touchscreens.Disabled by default (see 3rd post for more info).
Fast charge feature : use app from market (it is free) to enable it.
TPA sound with HTC beats support - you can use FauxSound from market to control it (app is not free).
And much more.....
Click to expand...
Click to collapse
Before posting bugs - attach kmsg or last_kmsg file.
DOWNLOADS
Current version T16.1
HD-ION-KERNEL-T16.1
Older:
T 15.5
HD-Kernel-T10_2wrec_s2w_fc_dvfs.zip
mirror
HD-Kernel-T7_2wrec_s2w_fc_dvfs.zip
mirror
HD-Kernel-T6_2wrec_s2w_fc_dvfs.zip
mirror
HD-Kernel-T5.1_2wrec_s2w_fc_dvfs.zip
HD-Kernel-T5_2wrec_s2w_fc_dvfs.zip
mirror
HD-Kernel-T4_2wrec_s2w_fc.zip
HD-Kernel-T3_2wrec_s2w_fc.zip
HD-Kernel-T2_2wrec_s2w_fc.zip
HD-Kernel-T1_2wrec_s2w_fc.zip
.........
Our GITHUB Kernel Sources:
Github-HD-Kernel-Sources
//////////////////////////////////////////с
ChangeLog
Code:
06.05.13
lkv 76
smartassv2 tweaks
Removed MSM V4L2 video overlay buffer size
input: touchscreen: fix typo: atmel
revert capacitive buttons coordinates for less precision:atmel
Powe Managment: wakelock fix
19.04.13
s2w for synaptics fixed (deep sleep problem)
18.04.13
Allow CPU-based alignment handling
cpufreq: interactive: sync with htc7x30-3.0
LKV updated to 73
Revert back to old MSM_FB_SIZE value
05.04.13
DVFS implementation , read [URL="http://www.google.ru/url?sa=t&rct=j&q=&esrc=s&source=web&cd=4&cad=rja&ved=0CEsQFjAD&url=http%3A%2F%2Fcseweb.ucsd.edu%2F~jlbradle%2Fdocuments%2Ffinal_report.pdf&ei=BXVeUcnPL4nOtQaGyoDYBQ&usg=AFQjCNGwhxF2640zZ3VUClmjv5ki7ZsIJQ&sig2=xQG80jcxhVarAMVAn4LQ1Q&bvm=bv.44770516,d.Yms"]this[/URL]
fix fauxsound from 4.1 version
29.03.13
default memory settings (to work hdr,panorama on fixed camera roms like svhd)
revert:proximity sensor patch
one more io sched added
configuration changed.
patch to latest (.71) linux kernel version
overall perfomance&stability improved
28.03.13
FauxSound support added
more memory for camera
proximity sensor fixed - no more proximity recalibrator app ! (test needed)
s2w for synaptics - 1 option - back to original s2w function. the old one is now 4 option.
25.03.13
linux kernel version updated to .70
charge fix
Adjust the 'conservative' and 'interactive' cpufreq governors
camera : frame buffer
one more power level for GPU clock
20.03.13
linux kernel version updated to .69 , some changes into configuration.
...................
18.03.13
--Initial release
Revert back to original s2w for synaptics for now (deep sleep not solved yet)
........
Additional Stuff, Info.
s2w:
How To.
You can use venom tweak to enable it, (there is only 3 choices : disable,enable,enable with no backlight) enable:s2w,enable with no backlight:TT2w.The 2f2w you can not use with tweaks,for this you need to change the value manually : in sys/android_touch you will find file called sweep2wake - edit it by root explorer.
the values are:
1 - S2W
2 -TT2W
3 - 2F2W
S2w is disabled by default,and if you enable it ,after you reboot your phone, the setting will be dropped.
There is a script (in attach,modify it as you want) push it into system\etc\init.d directory,fix permission (you can use root explorer for this)...profit.
This kernel will run with JB AOSP Rom`s ONLY​
this kernel merged with kang bang,hybrid,Hd kernel
Features:
Hd kernel&kang bang&hybrid
Blah blah blah
Blah blah blah....
Click to expand...
Click to collapse
Before posting bugs - attach kmsg or last_kmsg file.
DOWNLOADS
Current version (T1)
HD-Aosp-Kernel-T1
Older:
.........
//////////////////////////////////////////
Thank you! Will try, i hope it has the same battery life and performance as ucxl kernel.
Hello,
first, great work.
I have a synaptic touchscreen. s2w isn't really working. My DHD wakes up, if I only touch the search button. I'm on viperhd.
DonToben said:
Hello,
first, great work.
I have a synaptic touchscreen. s2w isn't really working. My DHD wakes up, if I only touch the search button. I'm on viperhd.
Click to expand...
Click to collapse
I know that, it is known problem.But...when your phone go into "deep sleep", you need sweep 2 wake like in original s2w.
thachtunganh not join your team? I thought he will join your team
kernel base is different then ask,so if he want to join us ,he need to change kernel base.
Great Job
Good To see your Work
New kernel, new life!
I will give it a try, thanks for your efforts.
Re: [KERNEL][3.0.X]18.03.13 HD-Kernel T1 (sense kernel)
tweakos said:
kernel base is different then ask,so if he want to join us ,he need to change kernel base.
Click to expand...
Click to collapse
I would like to...
Sent from my HTC Desire HD using xda app-developers app
Awesome work guys, this kernel works like a charm and s2w on synaptic driver is just OP ^^
thachtunganh said:
I would like to...
Sent from my HTC Desire HD using xda app-developers app
Click to expand...
Click to collapse
welcome , no problem
tweakos said:
welcome , no problem
Click to expand...
Click to collapse
You can add me to Collaborators in the kernel repo.
So i can sync it down and commit my changes
I am answered in your thread.
Will try it ASAP
Re: [KERNEL][3.0.X]18.03.13 HD-Kernel T1 (sense kernel)
Installation aborted error. Downloaded two times
Re: [KERNEL][3.0.X]18.03.13 HD-Kernel T1 (sense kernel)
Wooo a team of awesome devs working on a sense kernel!
Sent from my HTC Desire HD using xda app-developers app
salman45 said:
Installation aborted error. Downloaded two times
Click to expand...
Click to collapse
Try downloading with another device.

[KERNEL][AOSP]Torched Kernel LP B2.5[01/01/2015] F2FS

Introducing Torched Kernel for Evita!!​
First I must give some thanks to all the great developers that paved the way for this, for I would have nothing if it wasn't for these guys. Most of this work is a collection of various pathes from many devs, adapted into our CM kernel. So, if you have the chance to speak with any of these guys, make sure you spread some appreciation around. The list includes but is not limited to:
Intervigil, H8rift, kushdeck, mdmower, flemmard, codeworxs, Faux123, Flar2, zarboz, showp1984, tbalden.
Also I'd like to add my fellow custom kernel devs rmbq (ville) and NineInchNails (evo 4G) whom i've had the oppertunity to bounce ideas off of and share some work.
Kernel for AOSP roms only!!
Based on CM's current 3.4 kernel
Compiled with Christopher83's custom tweaked GCC 4.9.3 linaro toolchain
This should work on all 5.0 AOSP roms for EVITA
FEATURES:
Interactive/ROW by default
1.7ghz OC available (1.5ghz is stock/default setting) - REMOVED IN noOC/noVC VERSION
3 stage 2D/3D GPU OC avaialable (200/400 stock/default setting, 320/512 max) - REMOVED IN noOC/noVC VERSION
Voltage Control -as implemented by Faux123 - REMOVED IN noOC/noVC VERSION
QCOM Vmin Bypass (allows CPU to follow stock voltages tables rather than qcom enforced minimum voltage for errata cases - REMOVED IN noOC/noVC VERSION
3 stagekernel based thermal control from Showp1984
S2W/DT2W/POCKET DETECTION from flar2 (off by default)
BLN (button light notification) from tbalden, blinks hardkey backlight when there are pending notifications (off by default)
Dynamic Fsync from Faux 123
Additional Gov/Sched options
USB FAST CHARGE
Faux sound control patches from Faux123
Advanced TCP Congestion Control Choices
Bunches of minor optimizations from all over github. My source is always current with my releases and possibly any new work, feel free to check in on it anytime for the full list of tweaks and thier sources.
JB CHANGELOGS
Code:
[B]Initial build[/B]
Keeping it simple for the first build, more to come
-USB fast charge (off by default,turn on w/ trickster/KT)
-Added governors ( Intellidemand, smartmax)
-Added schedulers (BFQ, fiops, SIO)
-reverted recent linux .61/.62 updates as they may be root cause of frequent bootloops (TESTING THEORY HERE)
-dynaimc fsync, advanced SHA1/AES algorithms from faux123
-better cpu freq control (will help with OC later)
-all the linaro build flags and -O2 flags
[B] B2 [/B]
- BLN is working now (off by default)
-enable with trickster/kernel tuner
-IMPORTANT NOTE: This will break variable button brightness control recently added in CM and maybe other roms as well...sorry can't have both.
-I will post a flashable revert zip for the required file permmisions change if there is a demand for it.
-Also made a few mods to boost freqs on smartmax gov.
[B] B3 [/B]
TWO VERSIONS - OC/VC and NO OC/VC
-GPU OC 266 2d / 480 3d enabled by default on both
-Kernel updated to fix display issues
-OC/VC version allows OC to 1.7, 15 at boot and remains there by default use KT or Trickster to enable
-OC/VC remove vmin errate cases that force a higher minimu voltage at low freq. Allows CPU to follow our designed coltage tables
If this causes issues on your device try raising voltage or switching to the NO OC/VC version.
[B]B4[/B]
ONE VERSION ONLY
ALL OPTION OFF/STOCK BY DEFAULT
- Faux sound control credit to Faux123
- 3 stage thermal control by showp1984
Allows users controlled controlled limits for thermal throttling
- S2W /DT2W fix from rmbq/thicklizard.
- S2W/DT2W as implemented by flar2 with pocket detection.
- GPU OC steps added and set to stock speeds by default
Again all boots up like stock... If you want the options turn them on. Most kernel apps include options to set profiles at boot :)
[B]B5[/B]
-O3 optimizations
Added optional lower min frequency (168 mhz)
All Cm updates
[B]B6[/B]
-started over from B4 base
-Dropped lower min freq from B5
-updates to smartmax freqs
-Enabled XZ compression
-Enabled Zram
-Cleaned up linaro flags and cpu freq tables
[B]B6.1[/B] && [B]B6.1.VMIN[/B]
-updates for faux sound 3.0
-VMIN version leave vmin check active, but still allows user controllable voltages
SEE VOLTAGE INFO BELOW
[B]B7 && B7-noOC-noVC[/B]
[B]FINAL VERSIONS for 4.3[/B]
-Updated with all recent CM updates including the CPUfix we are all so excited for( HUGE THANKS to Intervigil )
-bump to linux version 3.4.72
KK CHANGELOGS
Code:
[B]KK-BUILD#1[/B]
-Back to basics, starting from a clean slate again
-CPU OC, GPU OC && Voltage Control
-GCC 4.8 with CFX linaro based tool chain [URL="https://github.com/codefireXperiment/prebuilts_gcc_linux-x86_arm_arm-eabi-4.8"]here[/URL]
-optimization level -O2
-VMIN enabled for now
[B]KK-BUILD#2[/B]
-update to linux v3.4.70
-3 stage thermal control
-S2W w/ user selectable swipe buttons (use kernel tuner)
-BLN
-Faux sound control 3.0
-Vmin disabled, voltages follow qcom voltage tables
[B]KK-Build#2.1[/B]
-rework of S2W to fix initialization issues
-DT2W and pocket detection are back now as well (thanks flar2)
[B]UPDATED WITH "SAFE" VERSION [/B]
-Safe version disables all voltage/clock mods
-Operates at stock clocks and voltages w/vmin check enabled
-all other features carry over from normal build
-DO NOT FLASH VOLTAGE SCRIPT WITH THIS VERSION, IF YOU HAVE PREVIOUSLY FLASHED IT NAVIGATE TO /ETC/INIT.D/ WITH A ROOT EXPLORER AND DELETE THE OLD SCRIPT (74havsvoltage)
[B]KK-Build#2.2[/B]
-Minor update to catch up with CM
-updated to 3.4.72
-Cpufix is now integrated
- noOC/noVC version available
[B]KK-Build#3[/B]
-Most remaining features are back now
-Add governors(smartmax & Intellidemand)
-Add schedulars(BFQ,fiops,sio)
-Updates for Faux Sound (needs testing, still seems alittle off)
-USB FAST CHARGE
-optimized AES and SHA1 routines (faux123 && flar2)
-optimized string and memcopy routines from faux123
-dynamic fsync from faux123
-noOC/noVC version available as well
## All builds prior to Build 3.2 will lose WiFi on CM nightlies after 1/5/14
Use build 3.2 or newer for anything after 1/5/14 ##
[B]KK-Build#3.2[/B]
-Catch up to CM
-Wifi module now built inside kernel, makes for smaller package
[B]KK-Build#3.5[/B]
-Catch up to CM
-Bump max OC to 1.9
-remove a few commits that seem to be root cause of previous SOD issues
[B]KK-Build#3.6[/B]
-Catch up to CM
-Reduce max OC back to 1.7, 1.9 thermals out way to fast to be useful
-complete patches for 3-stage thermal that i missed on original import
-update BFQ to latest v7.2
-fix s2w/BLN broken by new touchscreen/led drivers brought in by CM for M7 import
[B]KK-Build#3.7[/B]
-Catch up to CM
[B]KK-Build#4.0[/B]
-Catch up to CM
-TCP congestion control options
-3.4.86 updates
-build with Christopher83's custom Cortex-A15 tweaked linaro 4.8.3 toolchains
[B]KK-Build#4.1[/B]
- update to support new fstab formats
- should be backwards compatable so this is the only version supported at this point
[B]KK-Build#4.2[/B]
- minor CM updates
- moved to 4.9.1 optimized linaro toolchains]
[B]KK-Build#4.3[/B]
- headset fixes from CM
[B]KK-Build#4.5[/B]
-Catch up with CM
-ADD F2FS support!
[B]KK-Build#4.6[/B]
- Add inline_data flag for F2FS performance
- fix minor derp with versioning
[B]KK-Build#4.7[/B]
- Playing catch up with CM kernel base
[B]KK-Build 4.8[/B]
- Catch up with CM, major update for wifi drivers hit on 8/19. All nightlies after will need this build to
allow wifi to turn on.
[B] KK-Build 5[/B]
-playing catch up with CM
- added partition comments to installer, shows what type of partitions it found.
[B] KK-Build 5 FINAL[/B]
-playing catch up with CM for the last time
[B] KK-Build 6 FINAL[/B]
-catch up w/cm
-zram from LP
-wiimote support from LP
-lowclocks from LP torched
-f2fs from 3.20 mainline Linux
-faux123’s async I/o back ports from mainline
LP CHANGELOGS
Code:
[B] LP BUILD #1 [/B]
- initial LP release
[B] LP BUILD #1.1 [/B]
- update fstab in f2fs checker to match current LP version. This was breaking radio.
[B] LP Build #1.3 [/B]
- remove dated LMK/zram tweaks
- add Low CPU clocks
- exFat support
- pile of async IO tweaks from Faux123
- wiimote support for gaming controller (useless until http://review.cyanogenmod.org/#/c/89843/ gets merged)
[B] LP Build #1.4 [/B]
- return of ZRAM, fully functional this time (this will likely cause issues with the popular swap mod as zram is effectively compressed swap in RAM)
- updated F2FS source to current 3.20 mainline linux kernel source. (Smooth like butter)
[B] LP Build #2.0 [/B]
- zram/f2fs merged into cm base, rebased accordingly
- updated for 5.1
[B] LP Build #2.5 ]/B]
- updated from CM mainline
- added display commits for ambient display compatability
My source : https://github.com/jrior001/Torched_kernel
Toolchain Source : https://github.com/Christopher83/linaro_toolchains_2014
Planned additions
- who knows what else...
Installer uses AnyKernel install method, will only work on s-off.
OLD DOWNLOADS:
JB BUILDS
Torched.B1.zip - 20.32 MB
Torched.B2.zip - 20.32 MB
Torched.B3.zip - 20.15 MB or Torched.B3-noOC-noVC.zip - 20.15 MB
Torched.B4.zip - 20.15 MB
Torched.B5.zip - PULLED NOT happy with this one
Torched.B6.zip
Torched.B6.1 or Torched.B6.1.VMIN
Torched-JB.B7 or Torched-JB.B7-noOC-noVC
KK BUILDS
Torched-KK Build #1
Torched-KK Build #2
Torched-KK Build #2.1 or Torched-KK.Build2.1-novc-nooc
Torched-KK Build #2.2 or Torched-KK.Build2.2-noOC-noVC
Torched-KK Build #3 or Torched-KK.Build3-noOC-noVC
Torched-KK Build #3.2 or Torched-KK.Build3.2-noOC-noVC
Torched-KK Build #3.5 or Torched-KK.Build3.5-noOC-noVC
Torched-KK Build #3.6 or Torched-KK.Build3.6-noOC-noVC
Torched-KK Build #3.7 or Torched-KK.Build3.7-noOC-noVC
Torched-KK Build #4.0 or Torched-KK.Build4.0-noOC-noVC
Torched-KK Build #4.1 or Torched-KK.Build4.1-noOC-noVC
Torched-KK Build #4.2 or Torched-KK.Build4.2-noOC-noVC
Torched-KK Build #4.3 or Torched-KK.Build4.3-noOC-noVC
Torched-KK Build #4.5 or Torched-KK.Build4.5-noOC-noVC
Torched-KK Build #4.6 or Torched-KK.Build4.6-noOC-noVC
STARTING WITH B4.7
ALL DOWNLOADS WILL NOW BE HOSTED ON CODEFIRE SERVERS HERE
http://downloads.codefi.re/jrior001/Torched-kernel
NEW DOWNLOAD LINK
Finally got around to setting up a site for myself all my current and some old work can now be found @
www.theflamingskull.com/evita.html
Voltage bump init script
Disclaimer : While this has been thoroughly tested, I cannot guarantee your device will not melt, explode or scare away kittens and babies. You know the risks involved , if you don't you shouldn't be here.
VOLTAGE INFO
*WARNING: messing with voltages can cause serious instability, luckily a clean flash will erase whatever you screw up*
Qcom knew our chips were shaddy and introduce a "vmin" check based on the chip Id's. If your chip is flagged, which most of ours are, it forces a minimum voltage on all freq of 1150mv instead of whatever the voltage table calls for. Since I introduced voltage control I've been disabling this check, this is why people have been getting such good battery life. Unfortunately this has caused instability or SOD on some users devices. The easy solution here is to use the VMIN version, (and give up 4hr screen time battery life) which leaves this check in place.
If your device can handle it use the normal version. Or if you like to tinker, try the normal version, if you have SOD issues raise the voltages slightly on the lower 5-6 frequencies until your device becomes more stable.
HOW TO FIND YOUR STOCK VOLTAGE TABLE:
usign a root file explorer, navigate to /proc/last_kmsg and copy the file to your sdcard. Many file readers will not oopen this file from the root directory. Open the file and search for " ACPU PVS", it should be around line 220 or so.
ACPU PVS : 0 = SLOW
ACPU PVS : 1 = NOM
ACPU PVS : 3 = FAST
Code:
STOCK VOLTAGE TABLES FOR REFERENCE
acpu_freq_tbl_slow[]acpu_freq_tbl_nom[]acpu_freq_tbl_fast[]
384000950000384000900000384000850000
486000975000486000925000486000875000
5940001000000594000950000594000900000
7020001025000702000975000702000925000
81000010750008100001025000810000975000
918000110000091800010500009180001000000
102600011250001026000107500010260001025000
113400011750001134000112500011340001075000
124200012000001242000115000012420001100000
135000012250001350000117500013500001125000
145800012375001458000118750014580001137500
151200012500001512000120000015120001150000
OC FREQUENCIESOC FREQUENCIESOC FREQUENCIES
167400012500001674000125000016740001250000
172800012750001728000127500017280001275000
Nice work man, I applaud the amount of work you're putting into our device to keep it relevant :thumbup:
PS. Your OP is lame, like, totally jk
Sent from my Evita
So far so good! I can finally run an AOSP 4.3 ROM and have it boot on the first try! Great work. Hope to see more from you
timmaaa said:
Nice work man, I applaud the amount of work you're putting into our device to keep it relevant :thumbup:
PS. Your OP is lame, like, totally jk
Sent from my Evita
Click to expand...
Click to collapse
hey man! Do you sleep sometimes ? :sly:
Z1cK said:
hey man! Do you sleep sometimes ? :sly:
Click to expand...
Click to collapse
Lol, yeah sometimes. I am on the other side of the world though.
Sent from my Evita
timmaaa said:
PS. Your OP is lame, like, totally jk
Sent from my Evita
Click to expand...
Click to collapse
I do 95% of my xda from the phone, all those pretty colors and graphics don't show up in the mobile app anyways
Sent from my One Xl using Tapatalk 2
Giving it a go on cm10.2 10/09 build with intellidemand, didn't change anything else.
Looking forward to seeing where it goes.
jrior001 said:
I do 95% of my xda from the phone, all those pretty colors and graphics don't show up in the mobile app anyways
Sent from my One Xl using Tapatalk 2
Click to expand...
Click to collapse
I'll take function over a purdy OP any day :thumbup:
Sent from my Evita
Tried to install this. Install aborted after doing a fair few things with status code 1. Reboot device just has CM left at the CM logo circling.
Now my CWM does not function even after reflashing it with fastboot. On booting into recovery it immediately reboots the device back to the white HTC logo then onto CM logo.
Installed TWRP 2.6.3.0 and that does the same boot loop.
Cant boot ROM, cant boot recovery. Fun fun
Not sure what has gone wrong but I would not suggest flashing this kernel without having full access to adb and fastboot. And dont do it at 1am when about to sleep
Edit:
fasboot erase cache seems to have gotten recoveries back on track.
twistedddx said:
Tried to install this. Install aborted after doing a fair few things with status code 1. Reboot device just has CM left at the CM logo circling.
Now my CWM does not function even after reflashing it with fastboot. On booting into recovery it immediately reboots the device back to the white HTC logo then onto CM logo.
Installed TWRP 2.6.3.0 and that does the same boot loop.
Cant boot ROM, cant boot recovery. Fun fun
Not sure what has gone wrong but I would not suggest flashing this kernel without having full access to adb and fastboot. And dont do it at 1am when about to sleep
Edit:
fasboot erase cache seems to have gotten recoveries back on track.
Click to expand...
Click to collapse
What CM version/build date and what recovery version were you running ? I'd like to try to reproduce. I tested on my cfx ROM and the 10/8 CM nightly, with no issues.
Sent from my One Xl using Tapatalk 2
jrior001 said:
What CM version/build date and what recovery version were you running ? I'd like to try to reproduce. I tested on my cfx ROM and the 10/8 CM nightly, with no issues.
Sent from my One Xl using Tapatalk 2
Click to expand...
Click to collapse
I had been on the 10/6 nightly. Downloaded the 10/09 nightly, this kernel, booted into twrp and flashed both. Worked perfectly.
It booted fine here, over carbon and slimbean no issue at all. Twrp 2.6.3.
Good job dev !!! First aosp 4.3 custom kernel. You're the man !! :thumbup::beer::thumbup:
Works fine on my end
Sent from my One Xl using Tapatalk 4
You just made my day
I'm on the 10/6 CM 10.2 nightly, just flashed this after another reboot session from the stock CM kernel. So far so good. I'll update tomorrow with any relevant info. Thanks jrior001
I was on cm 10/04, cwm 6.0.3.1 (non touch).
When I get a sec I will check the download. The zip looks healthy but maybe its corrupt. Everyone else seems to be going fine so might just be something localized to me.
twistedddx said:
I was on cm 10/04, cwm 6.0.3.1 (non touch).
When I get a sec I will check the download. The zip looks healthy but maybe its corrupt. Everyone else seems to be going fine so might just be something localized to me.
Click to expand...
Click to collapse
Ill try to test that combo later tonight if I can. I didn't test with cwm at all though, just the twrp 2.6.3.
Sent from my One Xl using Tapatalk 2
Like seriously, This as been here for a while now n I didn't notice....
Good job @jrior001
Sent from my One X using XDA Premium 4 mobile app
Scozzar said:
Which governor is better for battery, but doesn't sacrifice a whole lot of performance. Intellidemand or Smartmax?
Sent from my One Xl using xda app-developers app
Click to expand...
Click to collapse
I've always had good success with intellidemand and ondemand.
Sent from my Evita

[Kernel][5.1][Stock/GPE][Linaro 5.3] KaminariKernel R3 [7 July 2016]

KaminariKernel​
Code:
#include "std_disclaimer.h"
/*
* Your already voided warranty is now void again.
*
* 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 my *** off at you.
* Really hard.
*/
Yo! This thread contains two kernels (regular and SuperLite). If you wanna see what SuperLite is, then go here. You should read everything before moving onto the downloads section.​
Hiya fellas.
This is my modded kernel for our loved Moto G 1st gen. In the beginning I decided to keep it for my personal use only, but then I decided to share it with you guys since there was no custom kernel compatible with the 5.1 stock rom.
Features:
Sources & Optimizations
- Based on Motorola's shared falcon/peregrine source
- Compiled with generic Linaro 5.3 toolchain
- Compiled with -O3 optimization & some more flags (e.g. Pipe flag)
- Optimized ARM RWSEM & Square Root algorithms
- Kernel-side NEON mode
- Some miscellaneous armv7 tweaks
Click to expand...
Click to collapse
Hotplugging Drivers
- Ye Olde MPDecision
- AutoSMP
Click to expand...
Click to collapse
Extra CPU Governors
- Bioshock
- Dancedance
- Impulse
- Lionheart
- Smartmax
- Yankactive
- Yankdemand
- Zzmoove
Click to expand...
Click to collapse
Extra I/O Schedulers
- Bfq
- Fiops
- Sio
- Vr
- Zen (Default)
Click to expand...
Click to collapse
Sound
- Faux's Sound Control
- Headset High Performance Mode
Click to expand...
Click to collapse
Screen/GPU
- Kcal Screen Control
- Dt2w/s2w
- State Notifier driver
- Adreno Idler
- GPU overclock & underclock (533MHz/100MHz)
Click to expand...
Click to collapse
Extra Sh*t
- USB Fast Charge
- Disabled gentle fair sleepers
- Extra TCP Congestion Controllers
- HID Driver (Use your phone as a USB keyboard/mouse)
- Compass & Accelerometer drivers now use State Notifier
- Fsync enabled by default
- Kexec-hardboot patch (for multirom compatibility)
- Power-efficient workqueues
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Downloads:
Regular Version
Overclock-Ready Version
Click to expand...
Click to collapse
Looking for previous releases?
- All releases until 1.2.3: Go here
- All releases from 1.3 onwards: Go here
- KaminariLite (discontinued): Go here
- KaminariSL (previously Optimized Stock): Go here
Click to expand...
Click to collapse
Got into trouble and need to go back to the stock kernel?
Then you should click this link here, bud!
Click to expand...
Click to collapse
Flashing & Tweaking Instructions (Follow this very carefully!!!):
- Place the zip at the root of your phone's internal storage (This is very important! If you flash the zip from a subfolder, you'll be left without wi-fi!!!)
- Reboot into recovery
- Flash the zip
(Another way: Reboot into recovery without copying the zip, and flash it via adb sideload)
- (Optional) Wipe cache and/or ART cache
- Reboot and have fun!
Coming from another kernel? Then I suggest you to (at least!!!) dirty flash your stock rom and kernel in order to avoid any issues!
Wanna tweak it? Use Kernel Adiutor! (I do NOT support Synapse!!!)
Click to expand...
Click to collapse
Want some info on what this kernel offers you?
Then go here! (Credits to @AssToast for suggesting and to @gsstudios for creating the site!)
Click to expand...
Click to collapse
"Thank You" Section
- Motorola/Lenovo, for putting up them sources
- The CyanogenMod team
- @Flashhhh, his work kinda inspired me to do this
- @Aayushya, he provided the initial cherry-picks
- @faux123, for Sound Control & Intellithermal
- @savoca, for Kcal Screen Control
- @hurtsky, a huge load of cherry-picks came from his sources
- @Alberto97, for the Linux version bumps (.43 up to .109)
- @YoshiShaPow, for some more stuff
- Some more fellas whose names I can't remember
Click to expand...
Click to collapse
XDA:DevDB Information
KaminariKernel (Lollipop-Falcon), Kernel for the Moto G
Contributors
kingkaminari
Source Code: https://github.com/Kamin4ri/KaminariKernel/tree/L
Kernel Special Features: Read above!!!
Version Information
Status: Stable
Current Stable Version: R3
Stable Release Date: 2016-07-07
Created 2015-09-07
Last Updated 2016-07-09
F.A.Q. (Read this before crying!!!!)
Q: Why did you develop this kernel?
A: Read the OP.
Q: ERMAHGERD DIS KERNEL SUCKZ, MAH BATTERY IS DEAD IN 30 MINS, PLZ HALP!
A: When I created this kernel, I never had the intention to have it decrease battery life. So before / instead of complaining, go check your f***ing wakelocks and fix them! The kernel isn't responsible for this, your apps and/or services are.
Q: Will this kernel work on AOSP/CM12.1/CM13 ROMs?
A: Go here for that.
Q: Will this kernel work on the GPE ROM?
A: Yes. And it'll also allow you to use this ROM without having to format /data to ext4.
Q: How do I report bugs?
A: If you wanna report a bug, then grab your kernel log - either by pulling /proc/last_kmsg (in case of a random reboot / kernel panic or oops) or copying the output of "dmesg" via shell - and paste it at pastie.org and link it in your post (or save it to a text file and attach it to your post). Don't bother getting logcats, they don't apply for kernel debugging purposes.
Q: How do I flash this?
A: I suggest you scroll up and read the OP. The instructions are there.
Q: How do I tweak this kernel?
A: Download Kernel Adiutor from the Play Store and have fun. For Synapse, scroll up and read the OP first.
Q: This kid is such a n00b!
A: Oh well then, why don't you go work on a kernel yourself, instead of criticizing my work and, by doing so, wasting your time?
Click to expand...
Click to collapse
Kaminari SuperLite (previously "Optimized Stock Kernel")​
Since KaminariLite has been discontinued, and Kaminari has become cleaner regarding features, I've been working on a version closer to the stock kernel, only more optimized.
Enter Kaminari SuperLite!
Diferences between this & the stock kernel:
- Compiled using generic Linaro 5.3 toolchain
- Bumped to Linux version 3.4.112
- Compiled with -O3 and misc optimization flags flags (Same as Kaminari)
- Most if not all of Kaminari's optimizations have been applied
- All governors except Interactive removed
- Supports both stock and GPE roms, regardless of filesystem (f2fs or ext4) used on /data
- Adds init.d support
- Default ZRAM size changed to 400MB
Click to expand...
Click to collapse
Differences between this & Kaminari:
- All governors except Interactive removed
- AutoSMP removed
- All TCP congestion algorithms except Westwood and Reno removed
- Additional I/O schedulers (zen, vr, sio, fiops, bfq) removed
- All non-essential features (FauxSound, Kcal, Dt2w...) have been removed
- Stock PowerHAL has been re-enabled
- Compressed using LZO (Kaminari uses XZ)
Click to expand...
Click to collapse
Wanna give it a try?
Click this link here!
Click to expand...
Click to collapse
Flashing & Tweaking Instructions:
Same as Kaminari.
Coming from regular Kaminari? Wipe your Kernel Adiutor data first! If you can flash the stock kernel before flashing this, it's even better!
Click to expand...
Click to collapse
Reserved!!!
Reserved again
null
Wow m first...
---------- Post added at 08:25 AM ---------- Previous post was at 08:17 AM ----------
Just flashed it...buttery smooth...smartmax works like charm and yeah happy to see the kcal screen control...thanks kaminari for this amazing kernel...
So it is only for stock 5.1 right?
Edit: Working smoothly on stock 5.1
Keep it up.
Working great on XT1031 with stock 5.1. Nice job!
@kingkaminari thanks for kernel. Any chance in future to add support for Aosp roms? that would be great.
Sent from my Moto G using Tapatalk
akshayk01 said:
@kingkaminari thanks for kernel. Any chance in future to add support for Aosp roms? that would be great.
Sent from my Moto G using Tapatalk
Click to expand...
Click to collapse
No, no plans for aosp/cm support yet - mainly because of my limited knowledge. But i'll consider making a version supporting these two
New build in the works! Just trying to fix a bug where all CPU cores stay online (needless to say that this causes a gigantic battery drain)
New build up!
https://www.androidfilehost.com/?fid=24052804347811341
https://www.androidfilehost.com/?fid=24052804347811344 - "Mori" version - with S2W/DT2W
Changelog here.
I'm getting an update binary execution error with TWRP, with both new builds. I tried disabling the device check in the anykernel.sh but no go. Also, I noticed in the init.kaminari.rc file in the zip, there is a typo in the power mode lines. It has 2 lines for cpu2 and none for cpu3. I just noticed the same thing with Optimus V41 Prime earlier today.
amarc78 said:
I'm getting an update binary execution error with TWRP, with both new builds. I tried disabling the device check in the anykernel.sh but no go. Also, I noticed in the init.kaminari.rc file in the zip, there is a typo in the power mode lines. It has 2 lines for cpu2 and none for cpu3. I just noticed the same thing with Optimus V41 Prime earlier today.
Click to expand...
Click to collapse
The previous zips i made here worked fine (i flash them through adb sideload). And i just fixed the init.kaminari.sh. Plus i've fixed s2w/s2s in the Mori version (dt2w is still partly broken though).
New build up!
Version: 0.96b
Download: Regular Version | "Mori" Version (DT2W)
Changelog here, but for those who don't wanna go there:
- Fixed s2w (dt2w halfscreen is still broken)
- Fixed derp in init.kaminari.sh
GPE users, please test my builds if you can / feel courageous enough to do it
I give up, except for the first build, they won't flash in recovery for me.
amarc78 said:
I give up, except for the first build, they won't flash in recovery for me.
Click to expand...
Click to collapse
I'll upload a zip without anykernel later. Btw, which version of twrp are you on? And do you have sufficient space in /system? Because this kernel pushes modules to it. I'm on twrp 2.8.7.0 + a modified stock rom, and i've had zero flashing errors so far
For those who are having problems with anykernel, i've uploaded special flashable zips without it.
Version is still 0.96b.
Downloads: Regular | DT2W
Version 096b flashed without any problems.
Just put the zip in the root of internal storage.
cool everything is just superb @kingkaminari hope you keep updating this kernel

[KERNEL] [Oreo-8.1] [libra/aqua] HateKernel-2.0 -UBERTC-5.3.x

Introduction
HateKernel is a custom kernel compatible with libra/aqua and on LineageOS 15.1-based ROM (Oreo 8.1.0). This kernel source are forked from Cozzmy13's source (CAF) and are made to improve performance, battery life, features and stability of our device. Obviously, I can't guarantee all of those claims at once due to the fact that there is a trade-off among them, so its up to you for applying tweak or setting-up your device based on your usage criteria.
Click to expand...
Click to collapse
Image
Damn! I'm too lazy to post any. :silly:
Click to expand...
Click to collapse
Features
-Boeffla wakelock blocker.
-FAUX sound control.
-KCAL advanced color control.
-CPU boost & input-boost. (off by default)
-Kernel samepage merging. (off by default)
-Power-efficient workqueue. (on by default)
-Disable storage CRC check. (reduce IO overhead)
-FSync on/off. (on by default)
-250Hz tick timer-interrupt & dyntick tickless-idle. (may help with battery and UI lagginess? I'm not sure.)
-Added CPU Governor - relaxed, blu-active, despair, zzmoove, elementalx, wheatley, impulse, bioshock.
-Added IO-Scheduler - fiops, sio, sioplus, zen, vr, maple.
-Exposed all TCP congestion algorithm.
-Proper undervolt. (untweakable. Hardcoded in kernel. Blame QCom)
-Compiled with UBERTC-8.x.x -O2 flag.
-A few more optimization.
Click to expand...
Click to collapse
Installation instruction
Required - TWRP recovery latest version & Nougat-bootloader.
NOTE: For AnyKernel2 flashable zip, I highly recommend to flash your stock ROM's boot.img first.
Flash via 'fastboot':
1) Download 'HateKernel-x.x.img'
2) Put the image in same folder as fastboot executable.
3) Run thru command "fastboot flash boot HateKernel-x.x.img"
Flash via TWRP recovery (boot.img):
1) Select install and change mode to "Flash Image" in TWRP.
2) Flash 'HateKernel-x.x.img' in 'boot' partition.
3) Obviously, reboot.
Flash via TWRP recovery (AnyKernel zip) RECOMMENDED
1) I think you should know how at this point.
2) Install as usual.
Click to expand...
Click to collapse
Downloads
All version >
Dropbox: Download
Click to expand...
Click to collapse
Credits
*Cozzmy13 for kernel source
*AndropaX
*flar2
*faux123
*savoca
*Boeffla
*jollaman999
*nathanchance
*tester/suggester/advisor and everyone who helped to improve HateKernel
*everyone i forgot to add
Click to expand...
Click to collapse
XDA:DevDB Information
HateKernel, Kernel for the Xiaomi Mi 4C
Contributors
kopter36
Source Code: [url]https://github.com/iZwnMswn/kernel_xiaomi_msm8992[/URL]
Kernel Special Features: Read "Features".
Version Information
Status: WIP
Current Stable Version: HateKernel-3.1
Stable Release Date: 2018-05-28
Current Beta Version:
Beta Release Date:
Created 2018-02-14
Last Updated 2019-03-08
+ Preliminary info.
- Kernel in .img format are only compatible with Lineage-15.1 by Cozzmy13 ONLY. Don't flash it on other ROM even from the same source.
- HateKernel-1.5_r2 and up currently had issue with some device won't be able to boot. I'm currently still working on it.
+ Download info.
- Testbuild : There is 2 version (Lineage-15.1 stock & HateKernel build). Please test both version from lower-number to highest and report back which one is working + state last Stable-release of HateKernel that is working before.
- Experimental release is essentially a beta version but have been tested by me, but sometimes it might not working reliably with certain ROM+variant(libra/aqua).
- Stable release, as the name imply, mostly always working and have no major bug. This version have been tested extensively to avoid complaint from users and headache for me
Thank you so much for every feedback.
+ Changelog {ascending order}
HateKernel-1.1
- initial build using Google's toolchain. (GCC-4.9)
HateKernel-1.2
- support libra and aqua variants.
- expose all standard CPU governors + add elementalx.
- expose all standard IO-schedulers.
- expose all standard TCP congestion algorithms.
- input-boost and CPU-boost.
- enable RCU boost.
- Kernel Samepage Merging.
- implement display_state API.
- msm8992 initial overclocking.
- Slimbus overclock.
- enable Error Detection and Correcting log capability.
- enable CTS and SHA512 crypto for ARMv8.
- use asymmetric-key-type for crypto.
- compiled with UberTC-4.9.X (GCC-4.9.4)
HateKernel-1.3
- add CPU governors > (bioshock, blu_active, despair, impulse, relaxed, wheatley, zzmoove)
- add IO-schedulers > (fiops, maple, sio, sioplus, vr, zen)
- add WireGuard support.
- revert msm8992 initial overclocking.
- undervolt CPU with stable value.
- fix display_state implementation.
- compiled with UberTC-5.3.X (GCC-5.3.1)
HateKernel-1.4
- add KCAL advance color controls.
- add FAUX sound controls.
- add Boeffla wakelock blocker.
- 1000Hz ticks + dynamic tickless-idle.
- disable storage CRC check.
- FSync on/off.
- remove Edge-Touch for touchscreen.
- enable ARM's v8 hw CRC32.
- enable parallel crypto engine.
- compiled with -O3 flags.
HateKernel-1.5_r2 {stable} {alternative}
- based on HateKernel-1.1 config with stable features.
- fixed Synaptic's touchscreen issue.
- revert some minor features and optimization in favor of stability.
- compiled with -O2 flags again.
HateKernel-1.6b {staging}
- based on Hatekernel-1.4 config with fixed Synaptic's navigation button issue.
- 100Hz timer interrupt tick.
- enable MSM kgsl triple buffer.
- improve scheduler for SMT operation.
- a lot of underlying optimization.
- optimize very likely/unlikely branch (yes, I'm aware of security-hole for this one)
- fully compiled with -O3 flags (don't worry about cache miss, trust me)
ps : This list is depreciated. I will clean this as soon dev-build are complete
Whoa, can't wait for this to be released and given a bunch of customization soon
flammenwerferx said:
Whoa, can't wait for this to be released and given a bunch of customization soon
Click to expand...
Click to collapse
DL link posted. Try it out
long time not see a custom kernel, cool
so if you use kernel based on Los 15.1, can I use this for other roms based los15.1 kernel?
nicee, will this compatible with others 15.1 based?
hanuraiga said:
long time not see a custom kernel, cool
so if you use kernel based on Los 15.1, can I use this for other roms based los15.1 kernel?
Click to expand...
Click to collapse
IcyGlacial said:
nicee, will this compatible with others 15.1 based?
Click to expand...
Click to collapse
It should work. I've no idea if my kernel will broke something on other LoS-15.1 based rom as I've only tested it on unofficial LoS15.1 by Cozzmy13 but sure, try it and if something breaks, I'll try my best to fix it. :good:
Just try installing on AEX rom, but not explore more.
kopter36 said:
It should work. I've no idea if my kernel will broke something on other LoS-15.1 based rom as I've only tested it on unofficial LoS15.1 by Cozzmy13 but sure, try it and if something breaks, I'll try my best to fix it. :good:
Click to expand...
Click to collapse
i've got bootloop on NOS....
caxwan said:
Just try installing on AEX rom, but not explore more.
Click to expand...
Click to collapse
AEX on libra? Can you give me the thread link?
ClaviluX said:
AEX on libra? Can you give me the thread link?
Click to expand...
Click to collapse
Sure, here the thread
4pda - mi4c
hanuraiga said:
i've got bootloop on NOS....
Click to expand...
Click to collapse
I can see that rom used Cozzmy13 kernel source which is the same tree of my kernel. Probably something changed in boot.img ramdisk for NOS kernel. I try to make anykernel patcher tonight.
Sidenote : HateKernel 1.3 already compiled with GCC 5.3.1 (ubertc-5.3.X) and booted up properly. Will released tonight with some other changes.
kopter36 said:
I can see that rom used Cozzmy13 kernel source which is the same tree of my kernel. Probably something changed in boot.img ramdisk for NOS kernel. I try to make anykernel patcher tonight.
Sidenote : HateKernel 1.3 already compiled with GCC 5.3.1 (ubertc-5.3.X) and booted up properly. Will released tonight with some other changes.
Click to expand...
Click to collapse
Thanks guy! You are really great!
kopter36 said:
I can see that rom used Cozzmy13 kernel source which is the same tree of my kernel. Probably something changed in boot.img ramdisk for NOS kernel. I try to make anykernel patcher tonight.
Sidenote : HateKernel 1.3 already compiled with GCC 5.3.1 (ubertc-5.3.X) and booted up properly. Will released tonight with some other changes.
Click to expand...
Click to collapse
Awesome... I'll be waiting
Is this kind of kernel features only available on kernel version 3.18.xx or is it also available on kernel version of 3.10.xxx
flammenwerferx said:
Is this kind of kernel features only available on kernel version 3.18.xx or is it also available on kernel version of 3.10.xxx
Click to expand...
Click to collapse
Most of those features are not limited to 3.18.xxx kernel. I've seen most of it implemented on Nexus 5X's custom kernel which share same kernel version with our device with the only exception is Qnovo charging driver. In fact, I've seen some of those features implemented on 3.10.9x which arent upstream to latest version at all.
HateKernel-1.3 is up
Changelog ;
-upgrade compiler to UBERTC-5.3.X (GCC-5.3.1)
-revert overclocking code until I found (if possible at all) working code
-proper undervolt to keep thermal-throttle a bit manageable
Click to expand...
Click to collapse
P.s: Not much changes in this version because I'm currently on holidays. Regarding kernel-patcher (AK2/lazyflasher), I'm currently still learning to do that. Very sorry guys. Development for more feature and upstream will continue soon.
To-do list ;
-upstream with latest CAF tag for msm8992
-upstream security patch
-Boeffla wakelock blocker
-backport zRam, F2FS and ext4 driver
-Adreno idler
Click to expand...
Click to collapse
I'm open to any suggestion to add other feature, just make sure its reasonable. Would be a great help too if you can point me to the commit if available.
Thanks @kopter36
HateKernel 1.3 intalled on my phone.
AEX Rom, without trouble on booting.
kopter36 said:
Changelog ;
P.s: Not much changes in this version because I'm currently on holidays. Regarding kernel-patcher (AK2/lazyflasher), I'm currently still learning to do that. Very sorry guys. Development for more feature and upstream will continue soon.
To-do list ;
I'm open to any suggestion to add other feature, just make sure its reasonable. Would be a great help too if you can point me to the commit if available.
Click to expand...
Click to collapse
Well, I'mma just suggesting these
1. KCAL Advanced Color Contol [with satutation, contrast and etc. Control]
2. Faux Sound Control [this really useful especially if somebody is experiencing a hissing noise on their headset, so they can reduce the output volume through this control]
3. Intelliplug or any hotplugging [only if it's really necesarry]
4. Adreno idler / booster of course (You've mentioned)
5. Upstreaming to the latest CAF (You've aforementioned)
6. ZRAM LZ4 Backport (On your to-do list)
7. Some kind of power efficient workqueue maybe
8. So-called boeffla wakelock (if i ain't mistaken the name)
PS : Anyway, undervolting seems working flawlessly, I've never reached 50°C now on normal chatting usage (usually it is around 50-55°C after one hour usage)

Categories

Resources