Kernel taken from official Cyanogen git that is released in in new CM7...
Benefits over my HD kernel should be (NOT WILL BE) are faster, smoother and less battery draining kernel because of the official DHD drivers for 2.6.35 base and not some ported drivers from other 2.6.35 HTC devices...
This is all long done :
This is beta regarding patches for speed, smoothnes and battery, but everything else works. Wlan, camera, audio, video etc... At least for me.
I hope we will develope this kernel together..
Still misses some crucial patches like V(r) scheduler, VDD interface etc... this is first public release
Kernel:
Based on official HTC 2.6.35.10 source reworked by cyanogen team
BFQ v2.1 data I/O scheduler
Patched to 2.6.35.13
Lots of little patches and tweaks that were previously needed to be added manualy
vvvvvvvvvvvv
Added audio volume boost up to 22% on main speaker
Added Battery fix
Overclock to 2 GHz
CPU freq going from 122MHz (230 default) to 1920MHz (1152 default)
Default UV with maximum stability
Allocated more GPU memory
SLQB memory allocator added and set as default
Patched libsqlite.so to disable db loops - credit goes to ownhere
Enabled TinyRCU Bloatwatch edition v8 by default
Hopefully compatible with all AOSP ROMS for DHD - CM7 all bases, MIUI, UltimateDroid...
V(r) I/O data scheduler as default
VDD interface for using UV scripts (by -snq)
Tweaked read/write video buffer
2 way voice recording (don't forget to set settings in Call Recording app, MIUI users enable 3rd apps in your MIUI dialer)
TO EVERYONE!
If you do a full wipe, you must first flash a ROM, than do a first boot with stock kernel! After that you can flash my kernel with any script you want.
Added flappjaxxx's UV script package with alienmind's LorDmodUV application for easier scripts manipulation with terminal commands in second post!!
Use Proximity Recalibrator 1.6 from this thread and minimum nightly 92 for the recalibrator to work
If you want SD card speed patch, put this file into /etc/init.d folder and give it executable perrmision. It can corrupt your SD data! CAUTION - BACKUP
AGAIN - don't FORGET to do a nandroid backup prior to flashing!
2WCR - Two Way Call Recording support - now you can record incoming and outgoing calls - thanx to avs333 and skvalex for this thread
BFS - Brain **** Scheduler is a task scheduler - major performance increase over stock CFS (Completely Fair Scheduler)
VIO - V(r) Input/Output scheduler - controls data input and output (memory card, disk, etc..) - stock kernel has CFQ
SLQB - a low level memory allocator/manager - stock kernel has SLAB
MIUI - kernel for MIUI ROM
AOSP - Android Open Source Project - so don't rlash this on SENSE based roms
Don't replace Vio with BFS.. Completly 2 different things.. kernels come by default with Vio Input/Output scheduler and now also with BFS task scheduler (before was CFS as default in most of kernels)
Difference between BFS and CFS - link
This article is rather old....
Governors for NOOBS:
interactive - Instead of sampling the cpu at a specified rate, the governor will scale the cpu frequency up when coming out of idle. When the cpu comes out of idle, a timer is configured to fire within 1-2 ticks. If the cpu is 100% busy from exiting idle to when the timer fires then we assume the cpu is underpowered and ramp to MAX speed.
smartass - Is an improved version of interactive governor
ondemand – Available in most kernels, and the default governor in most kernels. When the CPU load reaches a certain point (see “up threshold” in Advanced Settings), ondemand will rapidly scale the CPU up to meet demand, then gradually scale the CPU down when it isn't needed.
conservative – Available in some kernels. It is similar to the ondemand governor, but will scale the CPU up more gradually to better fit demand. Conservative provides a less responsive experience than ondemand, but can save battery.
performance – Available in most kernels. It will keep the CPU running at the “max” set value at all times. This is a bit more efficient than simply setting “max” and “min” to the same value and using ondemand because the system will not waste resources scanning for CPU load.
powersave – Available in some kernels. It will keep the CPU running at the “min” set value at all times.
userspace – A method for controlling the CPU speed that isn't currently used by SetCPU. For best results, do not use the userspace governor.
brazilianwax - Very agresive version of smartass
interactiveX - Tweaked Interactive governor by Imoseyon by adding more features like suspend/wake profile
ondemandX - Tweaked and ported from 2.6.38 base Ondemand governor by Imoseyon by adding more features like suspend/wake profile
KERNEL UV PACKAGE BY flappjaxxx and alienmind:
This is a full package of all of the undervolt scripts available for the LordModUE Kernel.
It contains -25mV, -50mV, Ultra Undervolt, Pinky Undervolt & Stable Pinky Undervolt by killersloth all activated and deactivated with the LorDmodUV application
It also contains a reset.zip for those that can't boot after undervolting located in /sdcard/resetuv
There is also a README.txt for Usage and instructions also in /sdcard/resetuv
Thanx goes to: Cyanogenmod team - especially Kali- and cyanogen, James Zdiebkowski, LeeDroid, Apache14 (aka BumbleBee), MDJ, avs333, cattleprod, Imoseyon, Savaged-Zen, Zendroid, betatesters, Talon crew, Tiamat crew...
DONATIONS so far: Walker Street, alexmason14, McGyver85, danalive, justaguy84, giant420, HTCinToronto, bjonkers, fidorulz, henrybravo, justin0307, flappjaxxx, baltazar.nilsson X2, heydabop, a user, McKebapp, El Presidente81, alienmind, i_heart_u , joedeuce X2, Jan Handschuh, ...
New ROM/kernel versions depend strictly on my wife's sex drive, so ask her for ETA!!
IceColdJelly IRC channel
HTC One X -> IceColdJelly422
Build IceColdJelly422 from source - link
RTC: Release mutex in error path of rtc_alarm_irq_enable
incorrect unlikely() and likely() cleanups
vmscan: prevent background aging of anon page in no swap system
Bluetooth : RFCOMM Frame size change
sched, autogroup: Fix reference leak
ported calibrate.c from 2.6.39 - by zachariasmaladroit
add the Stochastic Fair Blue (SFB) network scheduler
added Zcache (please activate swap in CM performance menu)
[cpufreq] cpufreq.c: update policy restoration via CAF
compiled with newest Linaro gcc toolchain 4.6.2 (2011.09)
06-09-2011 LorDmod UE 7.1 - Legendary Edition (naming by alienmind)
added ondemand governor from latest 3.0 kernel (like ondemandx, but without sleep profile code)
added tunable suspend_freq (by alienmind and LorD ClockaN): echo 'freq' /sys/devices/system/cpu/cpufreq/ondemandx/suspend_freq
added tunable for disabling charging if someone wants that (by alienmind): echo 0 > /sys/devices/platform/rs30100001:00000000/power_supply/battery/charge_on_plug_enabled
backported BLOCK driver code from 3.0 kernel
retweaked ondemand(x) governors
ARM: prevent multiple syscall restarts
lower vfs_cache_pressure again 75->25
vm: fix vm_pgoff wrap in stack expansion
30-08-2011 LorDmod UE 7.0 - Not HAVS Edition
updated G-sensor driver from HTC
add down_differential tunable for user adjust ondemand and ondemandX governor decrease
reverted some patches due to increase battery consumption and lagging that was reported by "a user"
removed kineto gan module, used better GAN device without module
sched: enable HRTICK+
msm: cpufreq: Create cpufreq workqueue for freq changes
msm: cpufreq: Use INIT_COMPLETION instead of init_completion
added Fast charging while connected via USB (or cheap chinese chargers) - enabled by default - thanks to Unity Team and seo
tweaked ondemand(X) governors by "a user" instructions
[CPUFREQ] calculate delay after dbs_check_cpu - fixes possible ondemand governor lag
Fast battery charging via USB enabled by default
23-08-2011 LorDmod UE 6.9.2 - NoName Edition
added Kineto gan module for wifi calling (mdeejay)
added back "old" Interactive governor by request from "a user"
optimized SHA1 routines
ARM: 6380/1: Introduce __sync_icache_dcache() for VIPT caches
ARM: 6999/1: head, zImage: Always Enter the kernel in ARM state
vidc: vdec: Set correct divx codec type
ARM: 6890/1: memmap: only free allocated memmap entries when using SPARSEMEM
PM QoS: Correct pr_debug() misuse and improve parameter checks
ARM: 6252/1: Use SIGBUS for unaligned access instead of SIGILL
ARM: 6431/1: fix isb regression on CPU < v7
ARM: 7008/1: alignment: Make SIGBUS sent to userspace POSIXly correct
19-08-2011 LorDmod UE 6.9.1 - AC/DC Edition
added CFQ and Dead Line Data I/O schedulers to the no-frills list
modified default voltages and hopefully fixed random freezes
forgot to mention that couple of last versions are compiled with "graphite optimization" flags of newer gcc toolchains
kernel builded with new Linaro gcc 4.6.2 (2011.07) toolchain
15-08-2011 LorDmod UE 6.9 - Over Cleavage Edition (name copyright by Capychimp)
slow charge tweak after 95% till 100% - by Imoseyon (needs testing)
little tweak for smartass2 and brazilianwax
fixed cgroup system error in logcat
09-08-2011 LorDmod UE 6.8 - The Speedy Gonzales Edition
scheduler tweak (nohz limit)
pmem tweak
mm tweak
added real Jhash3 speed patch
hopefully finaly tweaked brazilianwax
compiled with Linaro gcc 4.5.4 (2011-07)
05-08-2011 LorDmod UE 6.7.1
fixed Wifi problem with scanning channels
05-08-2011 LorDmod UE 6.7 - The Random Reboot Edition + Pussy Edition for BumAround
added around 23 patches/tweaks for zimage maniplation during compilation
added around 7 patches/tweaks for cgroups (read: CFS)
added Cleancache tweak
added Hard Float to ARM cpu compiling and optimization building flags
kernel patched to 2.6.35.14
some more RCU tweaks and optimizations
kernel build optimize by speed -O2 flag added
wlan tweak: PM_MAX -> PM_FAST
OndemandX as default governor
default kernel freq set to 230/1152MHz
removed zram, keeped compache if someone wants to enable it in CM perfmance menu
added Pussy Edition for BumAround so he doens't ask one in the thread :)
01-08-2011 LorDmod UE 6.6 - The Crying Baby Edition
sched.c tweaks from CodeAurora
Introduced macros for memory copy functions
Improved those macros
added XZ decompressor for initframz
added XZ compressor for kernel (reduced kernel image from 1.9 to 1.8MB)
video: msm: fix memory leak from CodeAurora
mm: add vzalloc() helpers
WENT COMPLETLY CRAZY and enabled swap, but replaced old ramzswap with new zram from 2.6.39 kernel (needs testing) - ENABLE COMPCACHE IN CM PERFOMANCE MENU if you want to use it or disable it
added timer clock subsystem for cgroups
added autogroup scheduling feature for cgroups
a lot of sched patches
vfp: set mfpu=neon
30-07-2011 LorDmod UE 6.5 - The Sleeping Dragon Edition
kernel builded with gcc 4.5.2 (smaller zimage and wifi module, hopefully some other benefits)
backported WiFi driver from 3.0rc7 kernel base (cherry picked from KangBang kernel)
fixed 2WCR patch that I screwed in 6.3
tweaked back Brazilianwax
tweaked OndemandX governer a little
tweaked InteractiveX governor a little
power managment tweaks from CodeAurora
added and set as default TINY PREEMPT RCU (Bloatware edition)
added TINY PREEMPT RCU read-side speedup to TREE PREEMPT RCU
added RCU_BOOST tweak for PTRCU
added a lot other rcpu based tweaks
added new netfilter quota2 from CodeAurora
added a lot of mm (memory managment) tweaks and patches from CodeAurora
some other patches taken form CodeAurora
added Ck2 patchset (some)
added one patch regarding volume from CodeAurora (I need feedback on this if there is any change)
new CallRecorder 1.0.27 build 05 included in 2WCR kernel version
25-07-2011 LorDmod UE 6.3 - The Last Man Standing Edition
added few tweaks for Wifi driver (don't know if they are noticable)
again tweaked brazilianwax a little
added back "old" ondemand governor with working sysfs support
enabled full EXT3 support for older file systems if any
enabled JBD2 EXT3 and EXT4 debugging
added new 2WCR module (should work with new CallRecorder 1.0.27 build 05 only, if using old app, than everything works, but module is not in use)
enable CPU_IDLE with code from 3.0rc6 kernel
22-07-2011 LorDmod UE 6.2 - Disco Edition
fixed strobe light while Death Ray mode enabled
lowered voltage by 0,200V for SD slot
21-07-2011 LorDmod UE 6.1 - Little Lord Edition
fixed BT issue
added a lot of patches from unreleased Cyanogen source that was merged from HTC vivo GB source
enabled per page table option in video drivers
added some patches regarding video drivers from CodeAurora (flash speed increase reported)
added script modification from flappjaxxx to remove CallRecorder prior to install when flashing
added newest CallRecorder 1.0.27 alpha
Little Lord Edition
16-07-2011 LorDmod UE 6.0.1
fixed issues when installing apps from market and/or moving them to SD
15-07-2011 LorDmod UE 6.0
increased max voltage for VDD to 1550 mV
implemented Simple I/O scheduler (Vio is still default)
added option to chose other I/O schedulers in No-Frills (BFQ, Simple, V(r) so everybody is happy)
tweaked brazilianwax, so hopefuly will scale more freqs
tweaked charging to slowly "overcharge" more than 2 hours after it reaches 100%
tweaked cacheV7 - v7_coherent_user_range from the galaxy s kernel
tweaked BFS a little (for BFS kernel off course)
More increased VM_MAX_READAHEAD from 512 -> 4096 kb
added MD driver backport from 2.6.36.1 kernel (by Imoseyon)
added BLOCK driver backported from 2.6.36.1 kernel (by Imoseyon)
added MTD driver backported from 2.6.36.1 kernel (by Imoseyon)
added I2C driver backported from 2.6.36.1 kernel (by Imoseyon)
added new WORKQUE code from 36.1 and rest of kernel patched dangerously by Imoseyon - modified governors by LorD ClockaN
added CPUIDLE code from 3.0rc6 kernel (by Imoseyon)
added CPUFREQ code from 3.0rc6 kernel (by Imoseyon) - modified by LorD ClockaN
added Bluetooth code from 3.0rc6 kernel (by Imoseyon)
2WCR kernel has new Callrecorder 1.0.26 alpha build 2 included
05-07-2011 LorDmod UE 5.1
fixed Netflix
added latest patch for HTC Vivoc support from CM source
added newest CallRecorder app 1.0.24 alpha build1
no SBC kernel for now
29-06-2011 LorDmod UE SBC
Added SBC with interface - easy enabled/disabled via script
Added all variants of kernel... Don't ever ask anything again :)
27-06-2011 LorDmod UE 5.0
added some patches regarding 720p video playback from CodeAurora
lowered vfs_cache_prasure from 100 -> 75%
increased VM_MAX_READAHEAD from 128 to 512 kb
added governors from Imoseyon user:
InteractiveX (has suspend/wake option)
OndemandX (backport from 2.6.39) (has suspend/wake option)
Smartass from newest Erasmux git - completely reworked
Now you can finaly change brazilianwax options if you don't like mine in /sys/devices/system/cpu/cpu0/cpufreq/brazilianwax without crashing! Hopefully!
brazilianwax is now the new smartass
MIUI kernel is now without BFS scheduler to fix Wifi and lag
23-06-2011 LorDmod UE 4.5.1
added USB Speed hack - CodeAurora
added some more patches from CodeAurora regarding USB: gadget driver
22-06-2011 LorDmod UE 4.5
added speedtweak in jhash (Jenkins hash - lookup2 > lookup3)
removed fast bootup due to some users reporting bootloops and not working wifi (now this is PE edition :) )
now default is 230/1075 with brazilianwax governor
patched to the latest CM kernel source - some patches are for HTC Incredible S (Vivo)
increased just a little more audio volume on main speaker
tweaked smartass2 a little more and renamed to brazilianwax and set as default
ported more than 70 patches from 2.6.38 base regarding ext4, file system, cgroups, mm, etc, etc...
forgot to mention - new Call Recorder app included 1.23 alpha4
15-06-2011 LorDmod UE 4.0
Lowered WiFi voltages (Ziggy741)
Allocated more memory to the camera (LeeDroid)
Added smartass2 (from LeeDroid) - still needs some tweaking, but faster than smartass
before i flash, is the old PUV lower voltage zip gonna work?
Current Phone: Samsung Galaxy S II SGH-I777
HTC Inspire 4g collecting dust
Old Phone: Samsung Captivate (At&t)- Returned
HTC Tilt 2 (AT&T)- Sold
Quote:
Originally Posted by Phalanx7621
Nice job bro! Not only have you insulted the dev of the rom thread you're posting in , but you also took offense to an internet forum post which has no bearing on your life! This is the internet bro. You've got to have a thick skin.
XDA Elite Recognized Developer AdamOutler is known … more
XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality. Are you a developer?