[kernel][bln]MoshKernel[GPL] - Samsung Galaxy S II Plus

sI don't want to write a big OP.
This is a kernel and liblights modules I compiled to use with the Galaxy s II Plus.
Features
- BLN(Backlight-button-notification)
- compiled with linaro-gcc 4.9.1
- additional cpufreq governors: smartassv2 and scary
- additional I/O scheduler: fiops
- optional overclocking
- performance/battery tweaks(not many yet, more to come)
- linaro arm topology
- frandom
- dynamic fsync control
- init.d support for stock rom
- f2fs support
- linux kernel 3.0.101​Installation
- be sure, that you have a GT-I9105(P) and are on a compatible rom
- flash the .zip file with a custom recovery
- wipe cache
- To change your kernel settings I recommend you Performance Control
- BLN could eat some more battery
- the initial name of this project was custom_kernel​
Downloads
Old Files
custom_kernel 1.5
http://www.androidfilehost.com/?fid=23329332407566919
custom_kernel 1.5.1
http://www.androidfilehost.com/?fid=23329332407566930
custom_kernel 1.5.5
http://www.androidfilehost.com/?fid=23329332407566996
custom_kernel 1.5.6
http://www.androidfilehost.com/?fid=23329332407567173
custom_kernel 1.5.7
http://www.androidfilehost.com/?fid=23329332407567438
custom_kernel 1.5.8
http://www.androidfilehost.com/?fid=23329332407567499
MoshKernel 1.6
http://www.androidfilehost.com/?fid=23329332407567962
MoshKernel 1.7
http://www.androidfilehost.com/?fid=23329332407571177
MoshKernel 1.7 - non-undervolted
http://www.androidfilehost.com/?fid=23329332407571211
MoshKernel 1.7.2
http://www.androidfilehost.com/?fid=23329332407571650
MoshKernel 1.7.2 - non-undervolted
http://www.androidfilehost.com/?fid=23329332407571648
MoshKernel 1.8 - stock 4.2.2
http://www.androidfilehost.com/?fid=23329332407573842
MoshKernel 1.8 - aosp-based
http://www.androidfilehost.com/?fid=23329332407573843
MoshKernel 1.8.5 - stock 4.2.2
http://www.androidfilehost.com/?fid=23329332407576641
MoshKernel 1.8.5 - aosp-based
http://www.androidfilehost.com/?fid=23329332407576648
MoshKernel 1.8.6 - stock
http://www.androidfilehost.com/?fid=23329332407583770
MoshKernel 1.8.6 - aosp-based
http://www.androidfilehost.com/?fid=23329332407583772
MoshKernel 1.9 - aosp-based
http://www.androidfilehost.com/?fid=23329332407589598
MoshKernel 1.9 - stock
http://www.androidfilehost.com/?fid=23329332407589804
MoshKernel 1.9.1 - aosp-based
http://www.androidfilehost.com/?fid=23487008491966527
MoshKernel 1.9.1 - stock
http://www.androidfilehost.com/?fid=23487008491966519
MoshKernel 1.9.2 - aosp-based
https://www.androidfilehost.com/?fid=95784891001612602
MoshKernel 1.9.2 - stock
https://www.androidfilehost.com/?fid=95784891001612603
- older versions are attached​Credits
- Samsung for kernel source
- @neldar for BLN control app and biggest part of BLN on i8190
- @pawitp parts of kernel source
- @k2wl for some cool stuff
- @Koush for initial AnyKernel
- Christopher83 for the precompiled linaro toolchain I used
- franciscofranco
- faux123
- googyanas​
Configure BLN notifications
You can execute these lines in any terminal as root. If you want the settings to persst after reboot, create an init.d script with your settinǵs.
enable:
Code:
echo 1 > /sys/class/misc/backlightnotification/enabled
disable:
Code:
echo 0 > /sys/class/misc/backlightnotification/enabled
disable blinking:
Code:
echo 0 > /sys/class/misc/backlightnotification/led_blink_duration
change blinking duration (in milliseconds):
Code:
echo <time> /sys/class/misc/backlightnotification/led_blink_duration

Changelog
1.0
- initial commit
- BLN
- pre-undervolted
- scary and smartassv2 cpu governors
- compilation with linaro crosstool 4.7​
1.1
- BLN bug fixed: buttons now always turn off, when turn on the screen
- smartassv2 added(forgot in the older release)
- compilation with linaro crosstool 4.8​
1.1.1
- updater-scripts semi-fixed(it fully works, but it flashes a ramdisk, so you need to download the right .zip for your rom)​
1.2
- added pegasusq governor
- removed bln wakelock -> better battery life with bln
- some optimization flags for better performance
- tweaked cpufreq table​
1.3
- changed a bit in wifi driver for better battery while deepsleep
- enabled, swap, zram, decreased swapiness
- restored volt-table, caused reboots
- restored cpufreq table​
1.4
- resolved problems with touchkey leds not turning off
- enable zram completely
- added I/O scheduler: sio, vr and row​
1.5
- compatible with stock roms, because your ramdisk will not change while flashing
- higher default swapiness, you can change it in /system/etc/init.d/zramhelper
- you can turn of zram in /system/etc/init.d/zramhelper
- changed something in zram-related defconfig​
1.5.1
- fix typos in itnit.d script, zram works now​
1.5.5
- fix blinking and flickering of bln notifications EDIT: still flickering, but at least blinking works​
1.5.6
- fix random reboots and force-closes
- remove pegasusq, it caused freezes​
1.5.7
- fix graphical glitches(not fixed yet)​
1.5.8
- compile with arm-eabi-gcc 4.7(there are problems with the memset fix, I am using the normal gcc for now)
- fix graphical glitches​
1.6
- removed zRam
- renamed kernel to MoshKernel
- compiled with linaro 4.8.3
- a configurator script was added(run 'mosh-config' as root)​
1.7
- pre-undervolted volt table again(it never caused reboots, other things were the reason)
- linaro arm topology
- dynamic fsync control added
- default swappiness changed to 50
- some other mrinor changes
- resolve touchkey backlight issues​
1.7.2
- add frandom
- add bfq I/O scheduler
- graphics performance should get a bit better
- other minor patches​
1.8
- compatibility with stock rom
- experimental intelliplug(disabled by default)
- init.d support on stock rom
- many minor and internal changes
- compilation with a cortex-a9 optimized toolchain​
1.8.5
- remove ramdisk for aosp-based roms
- update stock kernels defconfig to 4.2.2
- remove intelliplug​
1.8.6
- support for customizable vibration density for aosp-based roms
- fixed booting up of stock version(tested)​
1.9
- f2fs support
- slab/slub/slob backported from 3.3​
1.9.1
- stock now completely fixed
- removed all io-schedluers and added fiops
- compiled with linaro 4.9.1
- native bln support(without the app)
- many changes backported from 3.4 /block, a big thanks to k2wl for this​
1.9.2
- switch to GCC 4.8
- updated for android lollipop roms and include some important security fixes​
Sources
kernel: https://github.com/CoolDevelopment/MoshKernel
liblights: https://github.com/CoolDevelopment/liblights_s2vep
Reporting Bugs
If you have bugs, please report them like that:
Code:
ROM:
Kernel Version:
Setup(Governor etc.):
Clear description of the problem:
Please attach a kmsg and a logcat, too. You can get a kmsg like that with adb:
Code:
adb shell su -c 'cat /proc/kmsg /sdcard/kmsg.txt'
adb pull /sdcard/kmsg.txt kmsg.txt
adb shell rm /sdcard/kmsg.txt
If you just post feature x not working, it does not help at al and I will ignore the post.

First. Downloading...
I have a question... You can set overclock to 1.3-1.4ghz? Because on actually 4.4.2 we can't overclock... Thanks

Thanks but see this...
Why???
sent from my I9105 cm11

Will this kernel work with the vibration fix for your cm11?
Thanks for doing this, by the way

Anemiq said:
Will this kernel work with the vibration fix for your cm11?
Thanks for doing this, by the way
Click to expand...
Click to collapse
Yes.Install this after installed vibration fix and you will have no problem.

Anemiq said:
Will this kernel work with the vibration fix for your cm11?
Thanks for doing this, by the way
Click to expand...
Click to collapse
Yes...
But bln not working ?
sent from my I9105 cm11

hasdroid said:
Yes...
But bln not working ?
sent from my I9105 cm11
Click to expand...
Click to collapse
BLN control from market worked for me. Did you try "Led notification", and turning your screen off?

beastaki23 said:
BLN control from market worked for me. Did you try "Led notification", and turning your screen off?
Click to expand...
Click to collapse
I tested free version and it's worked perfectly but pro version didn't work ?
sent from my I9105 cm11

beastaki23 said:
Yes.Install this after installed vibration fix and you will have no problem.
Click to expand...
Click to collapse
hasdroid said:
Yes...
But bln not working ?
sent from my I9105 cm11
Click to expand...
Click to collapse
Thanks. Should I wipe cache and dalvik after I have installed this kernel?

Anemiq said:
Thanks. Should I wipe cache and dalvik after I have installed this kernel?
Click to expand...
Click to collapse
Also yes ?
sent from my I9105 cm11

Well, it works fine, but I can't see smartassv2 governor, should it be there (Scary is present)? And I can still oc to 1300Mhz (I could do this after vibration fix).
EDIT: Oh and @CoolDevelopment have you already included this sdcards swapping via build.prop here? Because I see I can mount pendrive via OTG (well, it does not work, but shows as it was mounted - I used app called stickMount).

I think I forgot to enable Smartassv2 in defconfig. And pro version of bln control works for me, try to clear it's data. Usb otg fix isn't inclueded and swap sdcard needs some more testing
Sent from my GT-I9105P using XDA Premium 4 mobile app

hasdroid said:
I tested free version and it's worked perfectly but pro version didn't work ?
sent from my I9105 cm11
Click to expand...
Click to collapse
I works on pro too...
Test works fine. But
Make sure that you have switched off scedule BLN which is on by default. and you have enabled BLN for Android-OS apps.

nice work devs .. i'm loving this phone because of u guys .. and i think in the future don't make oc kernel it has problem without perf .. i think we are doing it with wrong way ..it needs some moding to feel perf in 1300 or above ... can anyone post antutu score ......good luck

nanoteam said:
nice work devs .. i'm loving this phone because of u guys .. and i think in the future don't make oc kernel it has problem without perf .. i think we are doing it with wrong way ..it needs some moding to feel perf in 1300 or above ... can anyone post antutu score ......good luck
Click to expand...
Click to collapse
Total custom: 10451 - original: 11093
Multitask 2104 - 2136
Runtime 989 - 992
CPU Integer 942 - 966
CPU float point 686 - 723
Ram Operation 726 - 772
RAM speed 323 - 462
2d Graphics 969 - 988
3d Graphics 2367 - 2768
Storage I/O 845 - 686
Database I/O 500 - 600
And My second test got total of 10686

hi devs use this .. just flash Zimage with this you can make flashable zip .. for all rom's without ramdisk .. it will extract ramdisk and build boot.img itself .. one zip for all rom's .. replace zimage and modules no need to ramdisk any more ... good luck
https://github.com/koush/AnyKernel

beastaki23 said:
Total custom: 10451 - original: 11093
Multitask 2104 - 2136
Runtime 989 - 992
CPU Integer 942 - 966
CPU float point 686 - 723
Ram Operation 726 - 772
RAM speed 323 - 462
2d Graphics 969 - 988
3d Graphics 2367 - 2768
Storage I/O 845 - 686
Database I/O 500 - 600
And My second test got total of 10686
Click to expand...
Click to collapse
I got 11400 with interactive. Scary is not the fastest governor, but it has bettr battery life.
Sent from my GT-I9105P using XDA Premium 4 mobile app

nanoteam said:
hi devs use this .. just flash Zimage with this you can make flashable zip .. for all rom's without ramdisk .. it will extract ramdisk and build boot.img itself .. one zip for all rom's .. replace zimage and modules no need to ramdisk any more ... good luck
https://github.com/koush/AnyKernel
Click to expand...
Click to collapse
Nice, but I'm not sure if the kernel will work with stock rom
Sent from my GT-I9105P using XDA Premium 4 mobile app

beastaki23 said:
Total custom: 10451 - original: 11093
Multitask 2104 - 2136
Runtime 989 - 992
CPU Integer 942 - 966
CPU float point 686 - 723
Ram Operation 726 - 772
RAM speed 323 - 462
2d Graphics 969 - 988
3d Graphics 2367 - 2768
Storage I/O 845 - 686
Database I/O 500 - 600
And My second test got total of 10686
Click to expand...
Click to collapse
I have 11604 with ONDEMAND, on NFC version.

Related

[Sep 18] ROM DJ Droid v0.2 Rygel - BETA

DJ Droid v0.2 Rygel - BETA
Kernel:
Kernel 2.6.35.10
Compressed zImage - LZMA
Disabled HTC Perf. Lock
EXT4 /system /data /cache
CPU Freq.
conservative - interactive - ondemand - performance - powersave - smoothass (Leedroid mod) - userspace - smartassV2
I/O Scheduler
deadline - BFQ - SIO - V(R) - noop - CFQ
Governor ondemand and IO scheduler noop set by default
CIFS - Common Internet File System
TUN - OpenVPN
Sched Autogroup
SLQB Queued allocator
CPU-based alignment handling
UTF-8
Some others small tweak
ROM:
Base ROM HTC v3.06
Android Gingerbread 2.3.5
HTC Sense 3.0
Superuser v3.0 (beta)
Busybox 1.19.x
Odexed
Support to init.d
Removed some apps
Some others small tweak to increase performances
Changelog:
Code:
v0.2
[!]Fixed USB Mounting
Download:
If you want to thank me, click the Thanks button
-> multiupload.com (no mirroring please)
MD5: 4d084eeefebfae7339e620df3ef698d7
Suggested Radio: 12.62.60.27_26.13.04.19_M
Kernel sources: github.com
If you want, you can speak about this ROM in italian language here
Thanks to:
LeeDroid
erasmux
we could have a screenshot of this rom
what kind of screenshot? there is not so much to see in a HTC Sense default theme
ok thank you for your honest answer
Why is it called dj Droid, does have really good sound?
Sent from my HTC Desire HD A9191 using xda premium
sry to fast with the sent button
This is a nice ROM. Thank you ~
Wich base u used? Is this a port?, Is it official release for ace? where is the changelog of 0.1?
U fixed usb, not a problem with official ace releases i guess, so i think this is a port....?.....from??
MicBoef said:
Wich base u used? Is this a port?, Is it official release for ace? where is the changelog of 0.1?
U fixed usb, not a problem with official ace releases i guess, so i think this is a port....?.....from??
Click to expand...
Click to collapse
It's based on the v3.06.
Don't know if on the original zImage is present the USB problem btw on latest released kernel sources we need this patch.

[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

[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

Categories

Resources