[KERNEL-MT6577] ThunderzapLike-V2 - Acer Liquid E1 (V360) - Miscellaneous Android Development

This kernel is based on Thunderzap V2 (which was built for Micromax A110) from @varun.chitre15
All mediatek files are from Acer source (in Thunderzap they are from wiko source). So, I adapted varun work.
I reverted undervolt because of stability issues on this platform. And maybe I forgot to enable some features of varun kernel.
Actual version : V2.2
Kernel version : 3.4.10
Here is my changelog
[*]V2.2 : Upstream at 3.4.10
[*]V2.1 : Insecure & added script for activating franco stuff
Here are the features of Thunderzap (some are maybe missing):
[*]Insecured
[*]Persistent ADB
[*]Compiled using GCC 4.6
[*]Cortex A9 optimizations
[*]Neon optimizations
[*]Increased the kernel timer from 100==>300
[*]Removed old SHA1 routines
[*]XZ Compression for zImage and GZIP compression for initrd
[*]Dynamic Filesync Control 2.0
[*]Dynamic Management of Dirty page writeback
[*]Lock initial TCP window size to 64k (Improves network ping and output)
[*]Faster NOATIME and NODIRATIME mounting flags
[*]Disabled Gentle Fair Sleepers
[*]Enabled ARCH_POWER
[*]Asynchronous I/O latency to a solid-state disk greatly increased
[*]Patches to prevent depleting Entropies
[*]Frandom driver - Fast Kernel Number Generator
[*]Reduced Android Logger size
[*]Enabled SWAP support
[*]Optimized AES and SHA1 routines
[*]Upgraded sources to Upstream 3.4.5 sources --Still in progress since the upstream is at 3.4.62 currently
[*]Lowered Log Buffer shift
[*]Optimized apply_slack() method for size and speed
[*]Various EXT4 Filesystem patches from android_kernel_common
[*]Plugged memory leaks to cpufreq driver from upstream
[*]Ability to change IO-Schedulers without need of root
[*]Optimizations to SLUB memory allocator
[*]Decreased CPU transition latency
[*]Enabled 7 new TCP congestion controls - Westwood, Bic, Vegas, HTCP, HSTCP
[*]Removed all debugging shi**
[*]Proportional Rate Reduction for TCP - Google
[*]Optimized swahb32() byteswap helpers
[*]Compiled vfp with neon
[*]Tuned CFS parameters
[*]Reduced vfs cache pressure size
[*]Optimized VM dirty ratios
[*]Optimizations to Android Low Memory Killer
[*]Optimized CFQ scheduler-you really don't need any other IO scheduler
Download:
Flashable zip <- I include all modules so your modules will be overwritten
LINK
I comply with GPL terms (here my github here )
Same rules as @varun.chitre15 :
varun.chitre15 said:
Now if any upcoming kernel merges any of the commits authored by me, show humanity of giving credits on what you used with git authorization. Open source does not mean out of respect!
And regarding inclusion of this kernel in your ROMS is NOT allowed.
Instead add a link to this thread as a recommendation on your thread.
Click to expand...
Click to collapse
XDA:DevDB Information
[KERNEL-MT6577] ThunderzapLike-V2 - Acer Liquid E1 (V360), a Kernel for the Android General
Contributors
Dr-Shadow
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: 2.2
Stable Release Date: 2013-12-17
Created 2013-12-08
Last Updated 2013-12-17

Reserved

mmm... master, i'm waiting a kernel for v360 long time ! i'm very interested in. but I'm too noob, I'm afraid if it can use for dual sim version also?

dhampire said:
mmm... master, i'm waiting a kernel for v360 long time ! i'm very interested in. but I'm too noob, I'm afraid if it can use for dual sim version also?
Click to expand...
Click to collapse
Eyh, this kernel is for dual sim models, the single sim should work but without NFC.

Updated to V2.2
Upstream at 3.4.10

I did it ! no probrem now. Sir, can I delete script in init.d ? because of I wanna use killjoy...

dhampire said:
I did it ! no probrem now. Sir, can I delete script in init.d ? because of I wanna use killjoy...
Click to expand...
Click to collapse
script in init.d is executed once at boot for enabling frandom (you can check) it creates links in /dev/ to the right new /dev/random

Dr-Shadow said:
script in init.d is executed once at boot for enabling frandom (you can check) it creates links in /dev/ to the right new /dev/random
Click to expand...
Click to collapse
Thank you sir. I flashed killjoy without probrem! It seemed can be in v360 together.
One more question, Is it need around 40mb in system area?

dhampire said:
Thank you sir. I flashed killjoy without probrem! It seemed can be in v360 together.
One more question, Is it need around 40mb in system area?
Click to expand...
Click to collapse
Yes but it won't change a lot, the 37 mb are for updated system/lib/modules

Dr-Shadow said:
Yes but it won't change a lot, the 37 mb are for updated system/lib/modules
Click to expand...
Click to collapse
Thank you for you answer. just I want to know. Still stable running. Bravo !

Sir, I found a problem. After flash your kernel, my v360 can't connect 3G (2g & Wi-Fi are no probrem). Do you have any fix way?

dhampire said:
Sir, I found a problem. After flash your kernel, my v360 can't connect 3G (2g & Wi-Fi are no probrem). Do you have any fix way?
Click to expand...
Click to collapse
Are you sure you are "undercover" ? (idk how to say)
Because you are the only one reporting those problems x') (i shared this kernel on another forum and got positive status)

lol
Sometimes OEM employees, like to come at xda
Maybe they can learn something from the community devs lol
Ontopic:
Again i have to say, Great work you've done here!
Regards

Dr-Shadow said:
Are you sure you are "undercover" ? (idk how to say)
Because you are the only one reporting those problems x') (i shared this kernel on another forum and got positive status)
Click to expand...
Click to collapse
I'm one of ordinary people, not undercover or agent (lol
Anyway, I'm so sorry for my negative report....

dhampire said:
I'm one of ordinary people, not undercover or agent (lol
Anyway, I'm so sorry for my negative report....
Click to expand...
Click to collapse
I was kidding
But sometimes we do have some undercovers here (on xda)
Just be sure if thats not an problem related to your SIM Card (maybe try another SIM from another network)
Regards

Noooo I didn't mean that x')
I meant... Did you try to move and see if you have 3g in another place ?
So how do you ask if someone is under a network coverage something like this

Dr-Shadow said:
Noooo I didn't mean that x')
I meant... Did you try to move and see if you have 3g in another place ?
So how do you ask if someone is under a network coverage something like this
Click to expand...
Click to collapse
Hi, master.
Sorry for my poor english.
I tested a lot of place where I can test. But I also guess the sim card or mobile operator’s problem. I'm checking it now...

Cleared. Mobile operator(AIS) change the service without informations ! They stopped 3G service for 900, now only for 2100 in thailand. I'm so sorry the wrong report.

why doesn't contain init.d ?

After I flashed the zip I'm stuck on boot

Related

[KERNEL][GPL][2.6.35.y][02/12/2012]CAF-ICS Kernel

First, i want to say thanks to:
Fserve, Hephappy, PaoloM70, Roqu3, doixanh : For every things. All credits give to you guy, specially is Fserve, Thank you Gerson !
af974, YZ: Thanks for being good Moderators for XDA Forum
Cyanogenmod Team, Code Aurora Forum: Special Thanks for sharing their kernel source with a lot of patches! .
Tasssadar: For many advices .
DJNoxD: Big Thank for helping me and to fix errors
alezardstar, Aspee, RockR172, Andy572: Big thanks for helping me a lot
Der_Caveman, Mik_os, Franco Francisco, selphien and.... sorry i can't remember all people, Thanks for sharing and advising!
All XDA "GOOD" Members .
Click to expand...
Click to collapse
Bassiclly Features:
Based on "gingerbread_rel" branch from Code Aurora Forum, merged into CM7 official kernel source. Thanks to Hephappy for doing this .
Backported stuffs from 3.0 kernel to make this kernel run on ICS ROM - All Credits to LGICS Team.
Updated kernel version from 2.6.35.10 to 2.6.35.14 with Power Management patches for better battery life.
Completly Fair Scheduler with Autogroup feature.
Overclocking support. CPU Frequencies that added: from 652Mhz - 806Mhz.
- Tip: Most of P500 can overclock to 729Mhz, becareful with higher frequencies.
Implemented SmartassV2 Governor with optimizations. Use as default governor.
Implemented optimized touch screen driver with multi-touching hack and High CPU Usage bug workaround (CPU Usage goes high when you touch the screen).
- Thanks to Der_Caveman for rewriting a better touch screen driver, waleedq and sippolo for implementing Axis Inversion hack, fserve for High CPU Usage bug fixes.
Camera Flickering fix
Tons of patches/tweaks from CAF, Cyanogenmod, me, many other people... All credits to them!
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Bugs:
Enabling GPS will bring "GPS wakelock". This will prevent your phone from going to deep sleep
Fix: Reboot your phone after enable GPS.
Random Rebooting... Nothing to say!
Click to expand...
Click to collapse
Reporting bugs:
Provide logcat when report bugs!
Click to expand...
Click to collapse
How to install:
Install the Kernel:
Reboot to Recovery.
Backup all thing FIRST!
Choose the caf-p500-xxxxxxxx-xxxx.zip (xxxxxxxx-xxxx is the kernel version)
Done it right? Reboot the system and Enjoy.
Click to expand...
Click to collapse
Tricks/Tips for getting better battery life:
Use the default governor - smartassv2! Highly Recommend!
Don't use CPU Profiles, SmartassV2 already has that.
Don't over clock your phone to higher than 729Mhz.
Click to expand...
Click to collapse
Kernel Download:
Please look into the 3rd post
Click to expand...
Click to collapse
Source:
Kernel Source Link (for ics only):https://github.com/thachtunganh/caf-kernel
Click to expand...
Click to collapse
Changelog
Changelog:
02/12/2012:
- Get up-to-date with Genet ICS kernel:
Remove obsolete audio pmem & increase PMEM_ADSP size.
Upgrade frame buffer to 3.0 kernel
Backport adsp_video_verify from .38 kernel
Update ashmem to msm-3.4
Full changelog: https://github.com/thachtunganh/caf-kernel/compare/b9810925f6...37cae19423
18/11/2012:
- Enable UID_STAT.
AngryWolf80 said:
Is it possible to enable uid_stat in this kernel?
This stuff activates per application traffic counter. Very useful thing with expensive mobile internet...
Click to expand...
Click to collapse
. Well, thank you for the tip
- Apply some PM patches, hope those patches can improve battery life
- Use XZ compression to compress kernel image.
- Please notice this version is for testing!
09/10/2012:
- Compiled with lastest Android NDK (r8b - new 4.6.3 GCC for ICS and Jelly Bean). And now Wifi module size is reduced from about 3MB to ~400KB .
- TUN/TAP module now is built in kernel image . Well, get more free space on ICS and Jelly Bean is awesome
- Update to Kernel release 2.6.35.14. :victory: (But i haven't apply some Power Management (PM) patches yet).
- Add Snappy compression support to zram. (this patch is from Zeev Tarantov . With Snappy, Zram uses less CPU time and is thus more useful, thanks to him!)
- Patches from Rashed97 - Who brought Unofficial CM10 Build for our device :laugh:
Fix mdp4_overlay for MDPI devices.
Hack for CRT animations fix.
- disable GENTLE_FAIR_SLEEPERS Sleeper Fairness in CFS. (this patch is from securecrt - Who Developed HWA kernel for ICS. Disabling Gentle Fair Sleepers could improve UI responsiveness. Thanks to him, too !)
- Restored a missed patch, AND USB MASS STORAGE PROBLEM ON ICS ROM IS FIXED WITH THIS PATCH (this patch is from Hephappy. Thanks to him!)
20/08/2012: From alezardstar, post #1048 . Big thank to him!
- smartassv2: some optimization for the governor.
- Use original CPU Frequencies. - No More Undervolted CPU Frequencies!
- Compiled with lastest Android NDK (r8b - new 4.6.3 GCC for ICS and Jelly Bean).
20/07/2012:
- Disabled Vsync for scrolling smoothness.
- Various tweaks from me. (Undervolted CPU frequencies (Undervolt 1 level): 122, 245, 320, 480, 600 Mhz. Increase Vibration level (from 115 to 120)).
- p500: Fix proximity sensor (thanks cyrix.vs) (took from hephappy, thanks to cyrix.vs).
- qdsp5: Incall recording pcm driver (took from hephappy).
- Tune dirty_background_ratio and vm_dirty_ratio (nobodyAtall AKA nAa from Xperia X8, X10 Mini, X10 Mini Pro Mobile Phone developement)
- Revert "Backport memory manager (mm) from ics_chocolate" module_alloc fails when wireless module activated in AP mode (hephappy).
- Revert "bcm4325: disable wakeup irq when device sleeps". (me)
- cpufreq: smartass2: change DEFAULT_RAMP_UP_STEP. (me)
02/07/2012:
- Implement optimized touch screen driver by Der_Caveman (Big thank to Tasssadar).
- sched_fair tweaks for improving performance. (IHO from OV).
- bcm4325: Force powersave mode, disable wakeup irq when device sleeps (IHO from OV, Mik_os).
- add the Stochastic Fair Blue (SFB) network scheduler. (LorDClockaN).
- fix rpcrouter misspelling (css771).
- usb: gadget: Remove unsupported mtp & ptp functions (hephappy).
- Disabled Hardware Keyboard support.
28/06/2012:
- Fix Data Usage - Set mobile data limit funtion for ICS. (lupohirp)
- Fix battery stat for ICS. (lupohirp).
- Enable Zcache in kernel. (me)
- Some bluetooth patches (Peter Hurley, jhovold).
- ext4: check for zero length extent (tytso)
25/06/2012:
- Fix USB Mass Storage for ICS. (hephappy).
- Bluesleep: Fix Wakeup (Tasssadar).
- Split out 2 part: Kernel (Normal Users) and Extra Modules (Extra For VPN, Tethering Users).
17/06/2012:
- Updated KGSL drivers (mikegapinski).
- Added frontswap, zCache, Cleancache; updated zRam. (lupohirp).
- Added Genlock (mikegapinski).
- Updated vidc/camera headers for compatibility (mikegapinski).
- Backport Memory Manager (mm) from Code Aurora Forum kernel, ics_chocolate branch (hephappy).
- Backport binder from 3.0rc6 kernel (Drew Walton)
- msm_fb : Add support for Yamato format (our adreno200 gpu) (lupohirp).
- Updated VFP code (lupohirp).
- Update network interface (adfad6666).
- cpufreq: backport cpufreq code from 3.0rc6 kernel (me).
- USB: f_mass_storage: Disable write cache support (Chiranjeevi Velempati).
- Many sched, autogroup patches (Mike Galbraith)
Click to expand...
Click to collapse
Download Section:
CAF Kernel (For ICS ONLY):
Kernel:
ALL VERSION include the lastest one: http://www.mediafire.com/caf-p500-kernel
Click to expand...
Click to collapse
Old Kernel LIKE ta-gb, thunderVN (For Gingerbread ONLY)
http://www.mediafire.com/?22y45z15xr2jv
Click to expand...
Click to collapse
FINALLY!! Was waiting for this!
To the testers please give the feedbacks
Sent from my LG-P500 using XDA App
I've been waitin' for like 5hrs??
Dowloadin'..
Sent from my LG-P500 using Tapatalk
Waiting for it.....FINALLY it's here thanx.
Thach!!!
Have you undervolted higher frequencies or just till 748?? 0_o
RockR172 said:
Have you undervolted higher frequencies or just till 748?? 0_o
Click to expand...
Click to collapse
No, description says undervolted low frq from 122-480
Shalu said:
No, description says undervolted low frq from 122-480
Click to expand...
Click to collapse
His previous version had 748 undervolted... m running it right now @748 without any random reboots which my phone used to get earlier @ that frequency...
Wait, il flash it n test...
Hey Thach, got a small problem camera exposure not working in cm nightlies#14 where It works fine on stock gb!
Shalu said:
Hey Thach, got a small problem camera exposure not working in cm nightlies#14 where It works fine on stock gb!
Click to expand...
Click to collapse
Camera Exposure , i don't know what is it? even i heard about it in Adfad6666 CM7 ROM
Rom Nightly Exposure in camera not working....no bug kernel
thachtunganh said:
Camera Exposure , i don't know what is it? even i heard about it in Adfad6666 CM7 ROM
Click to expand...
Click to collapse
It's also not working with Stock Cm7 kernel may be it's the problem in rom so chill
okay confirmed problem is in ROM
is it a .35 kernal or .32??
gurpreet9080 said:
is it a .35 kernal or .32??
Click to expand...
Click to collapse
It's a .35 kernel..
Oppss mistakenly pressed thankss,
Sent from my LG-P500 using Tapatalk
RockR172 said:
Have you undervolted higher frequencies or just till 748?? 0_o
Click to expand...
Click to collapse
Hey.. can u tell me what undervolting exactly does??
Sent from my LG-P500 using xda premium
fundoozzz said:
Hey.. can u tell me what undervolting exactly does??
Sent from my LG-P500 using xda premium
Click to expand...
Click to collapse
Less power on device, better battery.
But lower performance I think.
And why differs this kernel from Franco, like the ICS kernel? I think we already got enough kernels
Greets!
Shalu said:
It's also not working with Stock Cm7 kernel may be it's the problem in rom so chill
okay confirmed problem is in ROM
Click to expand...
Click to collapse
Oh, you mean the camera exposure , it's the camera flicker right?
If it right , it is the OC method , i use SoC OC method from cyangogenmod source.
The flicker fixed long time ago, i will fix it when i release the ICS kernel
fundoozzz said:
Hey.. can u tell me what undervolting exactly does??
Sent from my LG-P500 using xda premium
Click to expand...
Click to collapse
Undervolt will under the voltage of CPU Frequencies , it'll give you bettery battery life and stablity. And about the undervolt 748Mhz freq , i didn't do that.... I didn't test to undervolt 600Mhz and higher frequencies... doixanh (i took the undervolt frequencies from him) told me that it will crash when i undervolt 600Mhz and higher frequencies
Undervolt just decrease stability and only increase battery life by a bit.

[KERNEL] candied(Ice) (2.6.35) | candiedIce V3 (3.0.8)

Hello and welcome
candied(Ice) (2.6.35):
This kernel is created for the LGE p500 familie by using the official cyanogen kernel for LGE msm7x27(T) as base.
Since I started my work there are lots of modifications implemented, for example:
kernel source is updated (2.6.35.10 -> 2.6.35.13 -> 2.6.35.14)
back ported driver from later kernel sources (2.6.36 and 3.x)
improved battery life
changes to improve stability and performance
modules compiled into kernel: cifs, tun, advanced routing, fuse, ppp
candiedIce V3 (3.0.8) (Alpha):
This kernel is based of 3.0.31 kernel by team androidarmv6 for the LGE p500 famile. It's still a very early version.
As most of you know, I'm a member of team androidarmv6. So maybe you ask why do you create a second version of it?
Easy answer:
- At the moment for testing commits before pushing to the team kernel.
- In the future I maybe will add code that won't be part of the team kernel
Warning
I'm not responsible if you brick your device by heavy OC, flashing ... :angel:
Using using very high frequencies (> 729Mhz) is dangerous and can melt your phone main board!
Attention: Before flashing this kernel
Using the correct kernel version is important. That means:
candied-kernel (2.6.35): only use with gingerbread android (2.3)
candiedIce-kernel (2.6.35): only use with ICS/JB android (4.x)
candiedIce-kernel V3 (3.0.31): only use with ICS/JB android (4.x) -> keep in mind its alpha release and at the moment only for testing
Older android versions (2.2 and older) are not compatible.
The 2.6.35.14 kernel is based on cyanogen kernel. If you have problems with other roms than cyanogen (or cyanogen based), this kernel is maybe not 100% compatible with your rom.
The latest cm7 nightly builds (20121104 nightly or later) are having problems with the updated display driver in my kernel. You will get a green screen, so you can't use your phone. To get cm7 working again with my kernel, replace the gpu libs with newer ones (see below). Please report if later nighly's will work again, without replacing the gpu libs. Thanks.
Howto use the latest kernel(s) with stock rom (or custom roms based on it)(thanks to FitAmp for his tutorial and tachtunganh for his idea)
tachtunganh idea was to upgrade the gpu (adreno) libs to newer ones.
Here is what FitAmp has done to exchange the libs.
FirAmp said:
The gpu libs I used were obtained from here http://forum.xda-developers.com/show....php?t=1582243
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
What I did was booted into my stock rom, used a root browser to get to build.prop and added the following lines to the bottom
Code:
debug.performance.tuning=1
video.accelerate.hw=1
persist.sys.use_16bpp_alpha=1
persist.sampling_profiler=0
ro.lge.proximity.delay=25
mot.proximity.delay=25
ro.secure=0
ro.debuggable=1
persist.service.adb.enable=1
persist.sys.use_dithering=0
persist.sys.purgeable_assets=1
persist.sys.shutdown.mode=hibernate
windowsmgr.support_rotation_270=true
debug.composition.type=gpu
windowsmgr.max_events_per_sec=400
dalvik.vm.verify-bytecode=false
iro.min_pointer_dur=1
After which I booted into recovery, and flashed this http://www.mediafire.com/?2go947rxb1anei1 (mirror) ( New Adreno Libs )
Then of course finally flashing your great kernel.
First boot went flawlessly!
Click to expand...
Click to collapse
Test-Builds (no support)
made with jenkins build-server (also including 3.0.31 kernel builds)
for changes take a look at github:
2.6.35: github commit history (RSS)
3.0.31: github commit history (RSS)
downloads
Download locations
Downloads can be found at:
- sourceforge (all)
- below (only latest / selected)
- RomManager (since 2.5.5)​
Credits:
thachtunganh: Thanks for helping me and for sharing your knowledge with me
Arjen, Aspee, neko95: Thanks for your help
Fserve, Hephappy, PaoloM70, Roqu3, Der_Caveman, Mik_os, Franco Francisco and all I forgot: Thanks for sharing your kernel improvements
Cyanogenmod Team, Code Aurora Forum: Thanks for sharing you kernel kernel sources and all the patches
Everyone I forgot: Thanks for your help
And you: Thanks for testing, using my kernel, for telling me what can be improved and telling me the bugs​
FAQs
FAQs:
Howto use the latest kernel(s) with stock rom (or custom roms based on it) (thanks to FitAmp for his tutorial and tachtunganh for his idea)?
tachtunganh idea was to upgrade the gpu (adreno) libs to newer ones.
Here is what FitAmp has done to exchange the libs.
FirAmp said:
The gpu libs I used were obtained from here http://forum.xda-developers.com/show....php?t=1582243
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
What I did was booted into my stock rom, used a root browser to get to build.prop and added the following lines to the bottom
Code:
debug.performance.tuning=1
video.accelerate.hw=1
persist.sys.use_16bpp_alpha=1
persist.sampling_profiler=0
ro.lge.proximity.delay=25
mot.proximity.delay=25
ro.secure=0
ro.debuggable=1
persist.service.adb.enable=1
persist.sys.use_dithering=0
persist.sys.purgeable_assets=1
persist.sys.shutdown.mode=hibernate
windowsmgr.support_rotation_270=true
debug.composition.type=gpu
windowsmgr.max_events_per_sec=400
dalvik.vm.verify-bytecode=false
iro.min_pointer_dur=1
After which I booted into recovery, and flashed this http://www.mediafire.com/?2go947rxb1anei1 ( New Adreno Libs )
Then of course finally flashing your great kernel.
First boot went flawlessly!
Click to expand...
Click to collapse
Where can I find the Changelog?
Here or below
debugging disabled again (does not help, but increases kernel size)
mmc: use really long write timeout to deal with crappy cards (Paul Walmsley) thanks go to oldslowdiver for telling me
Hack for CRT animations fix (rashed97)
apply some PM patches (thachtunganh)
enable UID_STAT
using linaro toolchain (gcc4.6)
changes from 2.5.8 above
Revert "more FS tweaks (umaro)"
Revert "Disable fsync() (franciscofranco)"
some debuging enabled
Revert "bcm4325: disable wakeup irq when device sleeps @mik9"
SIO tweak
Fix kernel opps: Key xxxxxx not in data @wingrime
XZ compressions
first changes for thunderc support
experimental: p506 support
changes from 2.5.7 above
staging: Add Snappy compression support to zram
smartassv2: optimisation
hung_task: fix false positive during vfork
vfs: __read_cache_page should use gfp argument rather than GFP_KERNEL
ima: free duplicate measurement memory
changes from 2.5.6 above
qdsp5: Incall recording pcm driver @androidmeda
Enabled: PPPoE
changes from 2.5.5 above
ICS version Fix: USB Mass Storage for ICS @androidmeda
Fix proximity sensor @androidmeda
bcm4325: Force powersave mode
bcm4325: disable wakeup irq when device sleeps
disabled: IR
changes from 2.5.4 above
add: sfb (Stochastic Fair Blue)
optimize some build flags
changes from 2.5.3 above
fix: white noise
merge latest cm kernel sources
changes from 2.5.2 above
Modules: now included in kernel (no longer .ko modules) (decrease kernel file size)
sched: Fix struct autogroup memory leak
sched_fair: Remove cpu from nohz idle set if not active
sched_autogroup: enabled
sched_autogroup: added
enabled: fuse (Filesystem in Userspace)
governor: intellidemand added
compiler code optimisation set to -O3 (makes kernel a little bit faster)
vsyncOn compile switch fixed
changes from 2.5.1 above
Some things I maybe forgot
TS driver from @roqu3 included
Fix null reference which causes rebooting when AP/WIFI mode changed @androidmeda
updated vidc/camera headers for compatibility
net: Reorder incoming packets in PPPoLAC and PPPoPNS
msm: camera: Free buffers from frame queue at open
Update: SIO 0.2
msm: vidc: Remove vcd restriction of duplicate input buffer queue
Little performance improvement for slub memory allocator @franciscofranco
CONFIG_STACKTRACE disabled
Use compiler code optimisation -> faster (CONFIG_CC_OPTIMIZE_FOR_SIZE has to be disabled)
Add and enable frontswap
Update: Memory Manager (mm) from Code Aurora Forum kernel (ics_chocolate branch)
Update: MDP header to latest version
Update: msm_fb : Add support for Yamato format (our adreno200 gpu)
Update: KGSL drivers
Update: genlock from msm-3.0
Update: kernel source 2.6.35.13 > 2.6.35.14
Revert: merge latest cm kernel sources
changes from 2.5 above
merge latest cm kernel sources
USB write performance: f_mass_storage: Disable write cache support
Recent LCD Patch
changes from 2.4.2 above
bluesleep: Fix wakeup
tun and cifs build build as modules
changes from 2.4.1 above
bluesleep: Disable the forceful usage of H4_LPM
disabled: file system cache
debuging completely disabled
giving the kernel a name
touchscreen driver: using defaults -> no changes
governor added: minmax
Higher OC values enabled
changes from 2.4 above
Enabled SCHED_DEBUG for better control of CPU scheduler
CFQ Group Scheduling support and hierarchical scheduling support in BFQ enabled
max_axi_khz set to 422400
vfs_cache_pressure = 100
cfs task (block) schedular enabled
noop scheduler enabled
tried something to about "white noise if display is enabled"
some more debugging disabled
changes from 2.3 above
Advanced Routing enabled
tun and cifs build into kernel (no longer provided as module)
changes from 2.2.2 above
new default governor interactiveX
lionheart governor removed (use conservative instead)
max_axi_khz = 200000
Revert "Wifi set to FAST (roqu3)"
-> because phone gets hot when using Wifi Teathering
Revert "gpu: msm: Update GPU drivers from 3.0 kernel"
-> old version feels smoother
ADD: new workqueue code from 2.6.36.1 (umaro) (+ code patched e.g. smartassv2)
vfs_cache_pressure = 25 (more free ram)
init: calibrate: Backported from 3.0 kernel.
using high priority (non-delayed) workqueue for TS driver (better response)
-> this maybe solves TS problem for some people (please test)
CPUIDLE code from 3.0rc6 kernel (by Imoseyon)
more FS tweaks (umaro)
power-supply: Limit the duration of psy_changed wakelocks
msm: cpufreq: Create cpufreq workqueue for freq changes
ADD + enabled: dm-cache
back to franoc's conservative OC
more unused drivers disabled
changes from 2.2 above
reverted: try to fix "white noise"
changes from 2.1.1 above
try to fix "white noise" (still there, but only very short time)
some patches about speed
more debugs disabled
fix cpu load 100%
backported binder from 3.0 kernel (lupohirp)
BUS freq OC
GPU freq OC
GPU drivers from 3.0 kernel
genlock enabled
axi OC
bcm4325: MAX_STATIC_PKT_NUM patch (HepHappy)
LZMA compression (best compression -> testing about speed)
ARM: decompressor: use better output sections
changes from 2.1 above
default governor set to lionheart
lulzactive governor removed (does not work)
clean up: governors and schedulers
axis inverse workaround (waleedq)
VM tweaks
Claim more free ram (lupohirp)
grants system server access to oom_adj for applications (lupohirp)
remount with noatime and nodiratime (cresqo)
cgroup: fix cpuset permission check (thachtunganh)
msm: cpufreq: Do not call a cpu transition if selecting the same speed (LorDClockaN)
cgroup: speed up access to cgroupfs mounted entries in /proc/mounts (franciscofranco)
Fix memory leaks from the wifi drivers (franciscofranco)
staging: android: lowmemorykiller: minfree values added
msm cpufreq Improve initial frequency selection - CodeAurora
fs: simple fsync race fix ()
ashmem: fix deadlock when system is low on memory
Wifi set to FAST (roqu3)
Set correct divx codec type (francisofranco)
Fast Sleep, wake lock timer change. (wistilt2)
lionheart (implementation from roqu3) done to 3.0.8 conservative governor
file system cache enabled
Lower radio/event log for more ram (wingrime)
Increase readahead to some more reasonable values (franciscofranco)
New battery driver courtesy of thachtunganh
net: wireless: bcm4325: Convert kmalloc() + bzero() to kzalloc() (franciscofranco)
Fix camera flicker (Turducken)
Set axi freq to max possible (clk_get_max_axi_khz())
CPUFREQ_ondemand code from 3.0.8 kernel
CPUFREQ code from 3.0.8 kernel
Using OC settings from franciscofranco (higher OC?)
Update: Linux upstream 2.6.35.10 > 2.6.35.13
vm_swappiness = 1 (performance is a little bit better than 0)
Erase memory pages as soon as they are freed to prevent new processes getting old information (franciscofranco)
writes_starved = 1
added tun.ko
added cifs.ko
lzo kernel compression (larger file, but faster boot time)
debugging disabled for performace and smaller kernel
unecessary SCSI drivers removed
all changes from v2 above (started again from clean sources)
Which kernel version should I choose?
vsyncOff
If you always want the highest possible frame rate, you should take this one.
(Disadvantage tearing)
vsync
No tearing, constant frame rate (60fps)
If the frame rate (60fps) isn't possible, the fps is divided by two (30fps -> 15fps and so on)​
What are meanings of the used abbreviations?
vsync = vsync enabled
vsyncOff = vsync disabled
default = default touchsreen driver
cv = caveman's touchsreen driver
ta = thachtunganh's touchsreen driver
roqu = roqu's touchscreen driver
xz = XZ compression​
When will you release a new version?
New versions are released if changes are implemented, tested and if I think its good enough to be released.
Successful implemented changes of an unreleased version can be found i my changelog (post 2).​
Will this kernel work with rom xyz?
This kernel is based on cyanogen kernel. If the ROM you use is cyanogen 7 or based on it there should be no problems.
I guess it should work with every gb rom, but there is no guarantee.
If you use a gingerbread ROM which is not based on cyanogen, feel free to test yourself (create a backup, flash kernel and test it) and share your result with us.​
How do I install the kernel?
Reboot to Recovery
Choose: install zip from sdcard -> choose zip from sdcard
Select the kernel zip file
wipe cache and dalvik cache (not a must but I recommend)
Reboot (if kernel is successful installed)
Could you include ...?
Tell me what you like to see and if possible the sources.
I will take a look at and decide if it can be included. (and if I want to )​
I found an error. / I have a problem. What can I do?
Post your problem. I (and maybe someone else) will check and try to reproduce.
If you are using my kernels on other ROMs than cyanogen, please keep in mind that your ROM is maybe incompatible with this kernel.​
Please also upload on mediafire
Sent from my LG-P500 using xda premium
> wow another mod kernel
> Did you also include smartassv2?
Smartassv2 is not included.
But in the next release I can include it.
Edit: Have made a version with smartass2
@aspee
You can also download it from github.
I added the link to the first post.
Testing
Sent from my LG-P500 using Tapatalk
Creating kernel is getting to easy obviously.
Sent from my Galaxy Nexus using Tapatalk 2 Beta-5
I think compiling a Kernel was easy all Time.
Getting as good as lupo, Franco, ... is the hard thing. But starting to work on kernel and getting it better is the only way how to learn.
Sharing the work with other and getting feedback is also important to learn.
At the moment I am learning to understand how the kernel works. Than I can find out what can be improoved.
Sent from my LG-P500 using xda premium
DJNoXD said:
Hello together
I have started modding the Cyanogen 2.6.35.10 kernel to my needs.
The kernel is tested with the last cyanogen nightly rom.
Changelog:
Before flashing it:
It's only for CM7 Rom's. Other ROMs may not work correctly after flashing it.
DJNoXDv1-1-signed.zip (@github)
DJNoXDv1-signed.zip (@github)
github: http://github.com/DJNoXD
Click to expand...
Click to collapse
You dont have SIO present on your kernel at all,and you Have NOOP set as default.
Make sure you check what you compile next time mate. Other than that good job so far
kernel has flickering on cam, can you guys confirm?
Tested for one day.it is good till now
Sent from my LG-P500 using xda premium
DJNoXD said:
I think compiling a Kernel was easy all Time.
Getting as good as lupo, Franco, ... is the hard thing. But starting to work on kernel and getting it better is the only way how to learn.
Sharing the work with other and getting feedback is also important to learn.
At the moment I am learning to understand how the kernel works. Than I can find out what can be improoved.
Sent from my LG-P500 using xda premium
Click to expand...
Click to collapse
The point is, LewaOS is build from source with little changes.
This is built from source with little changes.
LewaOS has been moved to Development, and you post in Original Development.
Sent from my Galaxy Nexus using Tapatalk 2 Beta-5
deniso177 said:
You dont have SIO present on your kernel at all,and you Have NOOP set as default.
Make sure you check what you compile next time mate. Other than that good job so far
Click to expand...
Click to collapse
You are right, something went wrong at uploading. (My Phone shows SIO and it is default)
I will check this and tell you if its up.
mDroidd said:
LewaOS has been moved to Development, and you post in Original Development.
Click to expand...
Click to collapse
My fault, I didn't saw that.
DJNoXD said:
You are right, something wrent wrong at uploading. (My Phone shows SIO and it is default)
I will check this and tell you if its up.
My fault, I didn't saw that.
Click to expand...
Click to collapse
But I must say, good job.
I keep telling people this: clone franco's galaxy nexus git and port francoGazelle and francoTurtle
Sent from my Galaxy Nexus using Tapatalk 2 Beta-5
Cant download...He download 559 byte only.
v1.2:
- fixed: SIO IO-scheduler enabled again and set as default
- undervolted all dynamic frequencies
@ZiViTi_13
Which download did you try?
v1.3:
- included touchscreendriver from DerCaveman
- vSync disabled
Good choice, but I would branch it out as 1.2b as many people want Vsync on and stock touchscreen driver, and if you update more, update both branches.
---------- Post added at 11:12 PM ---------- Previous post was at 11:03 PM ----------
DJNoXD said:
v1.2:
- fixed: SIO IO-scheduler enabled again and set as default
- undervolted all dynamic frequencies
@ZiViTi_13
Which download did you try?
Click to expand...
Click to collapse
The Forum attachment Link is invalid for 1.2.
Githubs works fine
deniso177 said:
Good choice, but I would branch it out as 1.2b as many people want Vsync on and stock touchscreen driver, and if you update more, update both branches.
Click to expand...
Click to collapse
Sometimes git feels a little strange to me.
That why I have not worked with branches.
But I will read about how to work with branches.
Do you know if there is an easy way how to commit to two branches?
> your doing great ..will you add tweaks on it? like tweaks from ta-gb kernel?
Please move this thread to ORIGINAL ANDROID DEVELOPMENT SECTION
Sent from my LG-P500 using XDA

[DEV] JellyX Kernel 2.6.32.60 // 10.04 [JB]

JellyX Kernel 2.6.32.60 // 10.04
If you want to report something head over here and make a "new Issue".
I followed this community now about one year and i wanted to give something back.
Since we managed it to boot a custom kernel, i started reading into stuff and trying to learn how to make the most out of it.
The result so far is my little kernel, it's mainly based on Quarx's one but has some additional features:
Added more Governors (Smoothass, Brazilianwax, InteractiveX, SavagedZen, Scary, Superbad, Lagfree, MinMax)
Added more I/O-Schedulers (Anticipatory, Deadline, V(R), BFQ v2, ZEN)
zCache Support
Cleancache Support
XZ Kernel Compression
zRam with snappy compression
Undervolted: 300/24, 600/40, 800/46, 1000/54
Optional: Choose between CFS and BFS CPU Scheduler
CFS Autogrouping enabled
Tiny RCU
Updated CRC32, jHash
FSync Control by Ezekeel (Read more about this here!)
Proportional Rate Reduction for TCP
New and shiny Wifi drivers by Quarx
Dynamic page-writeback Control v1 by Blechdose
SLUB memory allocator (instead of SLAB)
Some more little changes
Click to expand...
Click to collapse
Its mainly designed for Quarx's CM10-Rom, however if you tried another rom you can tell me the name and i add it to the compatibility list
You can find the downloads over here. There is one for CFS and one for BFS.
Installation:
Download and put it on your SD
Reboot into Recovery
Make a Backup
Wipe Caches
Recommendation: Wipe Data (optional)
Install my Kernel Flash at your own risk!
Click to expand...
Click to collapse
By the way, if you have useful patches or commits, send them to me, don't be shy Or provide me the source for a specific feature.
Click to expand...
Click to collapse
Something to read:
Governors & Schedulers.
BFS Scheduler
How to - Build your own Kernel (by Kayant)
So far confirmed to be working with:
Quarx Rom 4.1.x (18.11, 28.11, 5.12, 22.12, 31.12, 10.01, 17.02, 24.03, 26.03)
SB 3.0, 3.1
PACMAN 18.0.0
CNA 3.6.6
Click to expand...
Click to collapse
About the 3.0.x Kernel:
My 3.0 kernel shares the same advantages and disadvantages as Quarx one. However i started working on it in a very early stage.
So to keep it short, whats already working:
zCache
CleanCache
UKSM (instead of KSM)
FSync-Control
IO-Schedulers (BFQ, ZEN)
XZ Compression
Latest Linaro
"Ram optimizations"
I am working to get phone working (to help Quarx somehow..), but since many things changed related to this, this will be rather hard than simple... Help appreciated
Click to expand...
Click to collapse
Troubleshooting;
If you encounter any problems, please post full information about your system (governers, overclocked, zRam enabled, cfs or bfs version, etc...) and if the same problem exists with Quarx Kernel or with a earlier kernel.
Furthermore run "dmesg" in terminal and post it or send me a pm
And don't worry if it's not working for you, try to play around with some settings.
All in all, if you want a better kernel, try to be much precisely as possible and what steps you did. It helps lot more, if you say more rather than less.
Thanks:
czechop, Quarx, Epsylon3, Kayant, franciscofranco, Skrilax_CZ, kabaldan, Ezekeel, the CM-Team and everyone else i forgot
Click to expand...
Click to collapse
Changelog:
10.04:
Added dynamic page-writeback control (read here how it works)
Switched to SLUB
Updated interactive governor
Merged with Quarx commits (Wifi should work, you can flash this even on a older ROM version / cpcap-irq wakelock fix / usb wakelock fix)
some small changes
03.04:
Updated modules in order to let the kernel work independent of ROM version
Because of module-update some random bugs got fixed (like cpu spy)
Wifi should be on the same stage as with a .9 Kernel
Read more about this here, should be also work with CM10.1 (not tested)
22.03 && 24.03:
You may find two builds, 22.03 and 24.03 read more about those here!
Updated the lowmemorykiller
Added genlock-support
New Wifi Drivers
Reverted some stuff from 14.03 and updated interactive to be a little bit more battery friendly
14.03:
Added OMAP3 Hardware random number generator
Added frandom module
Added io_is_busy parameter to interactive (read more here)
Added pre-sweep2wake read here more!!!
Enabled dynamic fsync by default
Fixed a problem in wakelocks (by YetAnotherForumUser)
Fixed negative values in /proc/wakelocks (by YetAnotherForumUser)
Fixed display voltage values (back to stock for stability)
Fixed many unused variables
Fixed the blackscreen bug*
Set -O3 Flag
changed many other things for a smoother experience, read it here
*hopefully...
21.01:
Added Proportional Rate Reduction for TCP (Read more)
Added Dynamic FSync (disabled by default)
Added CFS Autogroup (backport from 3.0) (Read more!)
Updated BFQ Scheduler to v2
Updated pmem and ashmem
Updated memblock
Updated ext4 driver
Updated ext3 driver
Updated oom kill
Updated cache handling for our ARM v7
Optimized RCU Tiny
Disabled: AES and SHA1 routines, some slab commits
Code cleanups and optimizations and probably more
Merged with Quarx commits
Here is a nice summary about this update
30.12: Happy New Years-Edition
Added FSync Control by Ezekeel
Added ability to load ext2/ext3 filesystems with ext4-drivers
Added optimized AES and SHA1 routines
Updated CRC32-Lib
Updated vmscan
Updated SLAB
Updated jHash
Updated writeback
Fixed some unstable things
Fixed some kmemleaks
Fixed broken ram_console
Renamed lmb to memblock (for future use)
Tweaked; BFS, CFS and ARM
Merged with Quarx last commits
And some small things i forgot
Read more about this update here!
22.12:
Introduced the Block IO Controller v1
Backported therefore CFQ-Scheulder from 2.6.33
Enabled the AES HW accelerator driver
Improved CleanCache handling
Merged with Quarx (disabled trace, more ram, disabled some drivers, fixed a reboot issue)
12.12:
Added MinMax Governor
Tweaked Brazilianwax, Lagfree, Scary, Superbad (should have better battery life, need feedback..)
Introduced some parts of Googles TCP Fast Open (needs much more...)
Backported & Updated CRC32
Updated jHash to v3
Some AES HW accelerator driver tests
Some other minor things
08.12:
Fixed compatibility with Quarx Rom (05.12)
Merged Quarx commits (enabling trace)
Some optimizations for CFS and Tiny RCU
Some USB OTG tests
Some other minor things
05.12:
Added Lagfree Governor
Added ZEN I/O Scheduler
Improved Tiny RCU
Improved BFS&CFS Scheduler
Backported zlib from 3.0
Backported vzalloc
Fixed reboots with zRam enabled
Notice: There is now one build for the BFS scheduler and one build for the CFS scheduler!
02.12:
Updated BFS to v318
Tweaked BFS
Tweaked lowmemorykiller
30.11:
Applied many patches for BFS (hopefully better performance now...)
Changed the voltages a bit
Introduced Tiny RCU
Some other minor tweaks
29.11:
Added BFS Scheduler (experimental)
More undervolting for display and camera
Changed VM_MAX_READAHEAD
Some more patches and fixes
Great work! will test asap!
great work. i'll test soon.
Thanks Blechd0se! You can create a custom kernel for cm9.1? Epsylon Kernel is good but the battery life is very low!
27-11 kernel working fine in SlimBean 3.0 from Kayant.
I repeat my thanks to you men. Working great on slim beam with scary governor. I'll test a little more, but it seems to have a very good life of battery. May be no recommended for games, because it work to lows frequencys almost all the time, but it scale so fast when CPU is needed. The others features enabled, are used by default or there's a way to enable them. Thanks so much...
The thanks button doesn't bite. Try it!
If there's something that I've never thought of seeing here on Defy Dev Forum, it was an thread about an custom kernel for it.
Keep up the good work, and if you need an guinea pig for testing, you can count on me! :good:
Great developers from Germany, Maniac and You..
Thanks for sharing
Arch Linux User ..
Guys! Morning to everybody!
Is it enough to install through cwm or have to install again the nightly and gapps?
Thx
defy green powered by jb
simple question ahead...
custom or costum?
Just one correction
Custom is spelled Custom and not Constum
I'll be trying it soon...
I don't want a tapatalk sig!
---------- Post added at 11:44 AM ---------- Previous post was at 11:44 AM ----------
hunyadia said:
Guys! Morning to everybody!
Is it enough to install through cwm or have to install again the nightly and gapps?
Thx
defy green powered by jb
Click to expand...
Click to collapse
No just the kernel
I don't want a tapatalk sig!
Blechd0se
Please help to wajk wiui jb rom support this kernel and janeindiran JIUI JB rom also
Then enable the swap and otg function
You Are rocking Man .
Could this kernel used in cm7
Sent from my MB525 using xda app-developers app
cfanmaoli said:
Could this kernel used in cm7
Sent from my MB525 using xda app-developers app
Click to expand...
Click to collapse
Nope
I don't want a tapatalk sig!
@Blechd0se
You should include info if your kernel format E to EXT4 and which kernel does it.
Less experienced users might be warned about E: can't mount problems. Which sometimes* are not fixed by CWM - Tools - Format.
* when you have CMW ver. 5.0.6 for example.
The kernel doesn't format anything The zip does mainly contain the kernel.
OTG is maybe something interesting...
Blechd0se said:
The kernel doesn't format anything The zip does mainly contain the kernel.
OTG is maybe something interesting...
Click to expand...
Click to collapse
for OTG look here http://forum.xda-developers.com/showthread.php?t=960633 some related info
Good work !!
Sent from my Nexus 4.
Great! Touch wake would be amazing too, or is it working already?!
Sent from my GT-I9000 using xda app-developers app

sharing/testing kernels & tweaks

hello everyone,
today i created this thread to sharing with you some experiences, everyone can suggest tweaks features ... to tray to develop our device...
the first bit is already done : fixing zram to make multitasking better
so in this thread you will find some kernel with zram fixed and tweaks,
when we think that something is fixed or success added we will add it to the original ishantvivek/sandpox sources....
*****************************************************************************
note : i don't have github source because my connection is too slow can't upload big folders.... so i just download ishantvivek sources to my computer ot edit it.....
*****************************************************************************
thanks ; correct me if i 'am false
no_name, sandpox for kernel source
*****************************************************************************
DOWNLOAD
https://drive.google.com/drive/folders/0B34dczS3ub6xVTlsWEFOcEU3dTQ?usp=sharing
*****************************************************************************
DOWNLOAD
---------------------cm11
version v1:
- compiled with ubertec toolchaine 4.9
- fix zram
- ARM: crypto: add NEON accelerated XOR implementation
- arm: Added NEON compilation flag to VFP module
- reduce debug/reduce debug info
- Disabled crc more performance in IO
- ram performance tweak
********************android 7.1.x
- compiled with ubertec toolchaine 4.9
- fix zram
- set 160 mb for swap zram
setting for zram working:
go to kernel aduitor > virtual memory and set :
dirty_ratio = 20
dirty_background_ratio = 5
how to know if zram working correctly ??? :
answer : after setting zram open alot off application then cheek memory menu in kernel aduitor apk if yo found :
** swapcached = 0 and swaptotal=swapfree ( same value) then zram not working
**swapcached # 0 and swaptotal#swapfree ( deffirent value) then zram is working
note : # means different : not egal
i need boot.img for sduos 2 to put in it my modiffied zimage ...
for cm11 . los14.1...
Only reserved
+1
ziky abdo said:
/dev/null
Click to expand...
Click to collapse
Can you do an internet speed test by visting https://speedtest.net?
Kernel works fine. Can confirm zram is working or is being used. Whats the use of the STweaks app? It just shows no kernel support. Im using S7582 btw. And i dont use the second sim.
Are you planning on implementing additonal controls for the cpu and gpu? Like voltage etc?
shyvanna said:
Kernel works fine. Can confirm zram is working or is being used. Whats the use of the STweaks app? It just shows no kernel support. Im using S7582 btw. And i dont use the second sim.
Are you planning on implementing additonal controls for the cpu and gpu? Like voltage etc?
Click to expand...
Click to collapse
Oh sorry about stweaks app i forget to delete it. It not work.
The hawaii platform in our device is very deffirent to snapdragon so its very deficult to release undervoltage ....
But now i'am working on others features like ultra ksm and lz4 compressor, porting some cpu files from java folder.... after correct all compiling errors i see some lags hhhh.. if i compile any new release i will upload it.
Btw im using kitkat the latest one by sandpox. Instead of STweaks, why dont you replace it with Kernel Adiutor? LZ4 would be great for zram.
Are perhaps planning on making a kernel for lollipop??
ziky abdo said:
hello everyone,
today i created this thread to sharing with you some experiences, everyone can suggest tweaks features ... to tray to develop our device...
the first bit is already done : fixing zram to make multitasking better
so in this thread you will find some kernel with zram fixed and tweaks,
when we think that something is fixed or success added we will add it to the original ishantvivek/sandpox sources....
*****************************************************************************
note : i don't have github source because my connection is too slow can't upload big folders.... so i just download ishantvivek sources to my computer ot edit it.....
*****************************************************************************
thanks ; correct me if i 'am false
no_name, sandpox for kernel source
*****************************************************************************
DOWNLOAD
https://drive.google.com/drive/folders/0B34dczS3ub6xVTlsWEFOcEU3dTQ?usp=sharing
*****************************************************************************
DOWNLOAD
---------------------cm11
version v1:
- compiled with ubertec toolchaine 4.9
- fix zram
- ARM: crypto: add NEON accelerated XOR implementation
- arm: Added NEON compilation flag to VFP module
- reduce debug/reduce debug info
- Disabled crc more performance in IO
- ram performance tweak
********************android 7.1.x
- compiled with ubertec toolchaine 4.9
- fix zram
- set 160 mb for swap zram
Click to expand...
Click to collapse
oh my god thanks! will you continue? and can you make better kernels for gaming?
hey what is Illegal instruction??
I can't su and abd ??

[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