[KERNEL] [AOSP/CM] [2.6.32.24] [HAVS][BFS][OC][UV] KiNgxKernel #2/#2 "Bout Time" - Droid Incredible Android Development

[KERNEL] [AOSP/CM] [2.6.32.24] [HAVS][BFS][OC][UV] KiNgxKernel #2/#2 "Bout Time"
I DO NOT have an HTC Incredible but will continue to cook kernels for it. My girlfriend has Verizon however, and I am saving for two devices, one of them being an HTC Evo. Any donations go toward my devices. Bear with me until then please
DO NOT FORGET TO READ THE ENTIRE POST ON MY SITE, THERE IS IMPORTANT INFO
So you guys asked and asked, and now you shall have your requests answered. I decided to port my kernel over for AOSP, CM, and Ruby ROMs. The cool thing about this is that all the other features my sense kernel has, this has with one exception: It works on vanilla ROMs! So any ROM you may like to use that does NOT have sense, this will work with. It has all the tweaks that you would need, without loss of stability. The first release is a BFS kernel, but I am sure there will be CFS kernels to come. BFS is functioning to well to pass on these new uniprocessor phones to pass up. At any rate, post any bugs with a logcat, and most importantly, enjoy!
This is compatible with any 2.2 AOSP or CM6 ROM
Code:
Also, a little info on HAVS and AVS:
The purpose of HAVS is to minimize the power used by the CPU by determining
and setting the optimal voltage. At the same time, the maximum voltage by
which HAVS can scale to is fixed to a specified voltage depending on the
CPU frequency in order to prevent scaling to a higher voltage than what is
normally used at a specified voltage. The optimal voltage is actively determined
for each frequency and temperature. HAVS actively adjusts the CPU voltage as the
CPU frequency and temperature changes.
Code:
While we are at it, some info on BFS:
What is BFS(Brain **** Scheduler):http://ck.kolivas.org/patches/bfs/sched-BFS.txt
FAQS about BFS:http://ck.kolivas.org/patches/bfs/bfs-faq.txt
Ang3lmack said:
Instructions, create android.tether folder on root of sd card and drop this file into it http://www.mediafire.com/?nh7spjjb46fzfww then install this version of wifi tether http://code.google.com/p/android-wifi-tether/downloads/detail?name=wireless_tether_2_0_2.apk , I take no credit for the fix, just copied from another thread
Incredible
Click to expand...
Click to collapse
ENJOY!
Credits: Cyanogen,, Koush for his any kernel .zip, and HTC for their kernel source code
Download: BFS Kernel #2 & CFS Kernel #2[/URL] Date: 10/28/10 1:10 AM PST
If you Like my work follow me on twitter:
All my code is on github:
I am not responsible for anything that happens to your device
ChEeRs

CFS Changelog
Kernel #2
- Kernel now patched up to 2.6.32.24
- Bug fix causing battery drain
- Reverted some UV levels causing instability
- CFS updates
* Implement different treatment for idle shares
* Fix CFS 'Over-scheduling' bug
* sched: Fix granularity of task_u/stime()
* sched, cputime: Introduce thread_group_times()
* sched: Fix select_idle_sibling()
* sched: cpuacct: Use bigger percpu counter batch values for stats counters
* sched: fix racy fair sched*trq
* sched: Cleanup select_task_rq_fair()
- EXT4 support now!
- EXT4 compiled as a module
- EXT4 filesystem bug fixes
* ext4: Fix potential quota deadlock
* ext4: Fix BUG_ON at fs/buffer.c:652 in no journal mode
* ext4: fix memory leaks in error path handling of ext4_ext_zeroout()
* ext4: Prevent creation of files larger than RLIMIT_FSIZE using fallocate
* ext4: Ensure zeroout blocks have no dirty metadata
* ext4: Consolidate inlign pages
- CIFS bug fixes for stability and security
* cifs: Fix a malicious redirect problem in the DNS lookup code
* cifs: don't attempt busy-file rename unless it's in same directory
* cifs: remove bogus first_time check in NTLMv2 session setup code
- Netfilter IPv6 bug fixes
- Memory leak fixed in firmware
- CPU Governor fixes
- Mutex bug fix
* mutex: Don't spin when the owner CPU is offline or other weird cases
- Using xen_clocksource_read now for scheduler (part of 2.6.32.18 patchset)
- vmscan: raise the bar to PAGEOUT_IO_SYNC stalls
- SLAB fixes
- drm: Only decouple the old_fb from the crtc is we call mode_set*
- arm fixes: arm: fix really nasty sigreturn bug
- RDS memory leak fixed
- mm: page allocator: update free page counters after pages are placed on the free list
- mm: page allocator: calculate a better estimate of NR_FREE_PAGES when memory is low and kswapd is awake
- So much more, check my code if you please
Kernel #1
- First AOSP CFS kernel
- Patched up to Linux Kernel version 2.6.32.21 (all commits an android kernel would need, no extra bloat) *All credit goes to the linux project, check my github for authors please*
- Bug fix causing battery drain
- CFS updates
* Implement different treatment for idle shares
* Fix CFS 'Over-scheduling' bug
* sched: Fix granularity of task_u/stime()
* sched, cputime: Introduce thread_group_times()
- EXT4 support now!
- EXT4 compiled as a module
- EXT4 filesystem bug fixes
* ext4: Fix potential quota deadlock
* ext4: Fix BUG_ON at fs/buffer.c:652 in no journal mode
* ext4: fix memory leaks in error path handling of ext4_ext_zeroout()
* ext4: Prevent creation of files larger than RLIMIT_FSIZE using fallocate
* ext4: Ensure zeroout blocks have no dirty metadata
* ext4: Consolidate inlign pages
- CIFS bug fixes for stability and security
* cifs: Fix a malicious redirect problem in the DNS lookup code
* cifs: don't attempt busy-file rename unless it's in same directory
* cifs: remove bogus first_time check in NTLMv2 session setup code
- Netfilter IPv6 bug fixes
- Memory leak fixed in firmware
- CPU Governor fixes
- Mutex bug fix
* mutex: Don't spin when the owner CPU is offline or other weird cases
- Using xen_clocksource_read now for scheduler (part of 2.6.32.18 patchset)
- vmscan: raise the bar to PAGEOUT_IO_SYNC stalls
- SLAB fixes
- SO much more, tired of typing
BFS Changelog
Kernel #2
- BIG update!
- Performance boost!
- More stable due to BFS overhaul
- Patched up BFS scheduler to BFS 330
- Patched in *NEW* BFS TEST patch that applies over 330 (from CKolivas himself)
* Major overhaul of queued changes
* Micooptimise multiplications/divisions to be shifts where suitable
* Drop the "skip_clock_update" concept as we update the niffies each time we
update the rq clocks, thus we want to update it more often
* Add a local last_task variable to each runqueue which keeps a copy of the
last non-idle task that ran on this CPU. Use this value to determine that a
task is still cache warm on this CPU even if it has run elsewhere in the
meantime. This improves throughput on relatively idle systems with >2 logical
CPUs
* Change SCHED_BATCH tasks to refill timeslices and reset deadline every time
they're descheduled as they've been flagged as latency insensitive, likely
fully CPU bound tasks. This should decrease the impact running batch tasks
has on other tasks
* Bypass rechecking deadline when we know that prev will run again in schedule
* Change all deadline accounting to use nanosecond values
* Rework try_preempt
* MUCH MUCH more check my patch code if you please
- Voltage tweaks for stability
- Compiled with toolchain optimizations
- Neon optimizations this time around
- Now based off of NEW fresh source code from HTC
- Default CPU governor changed to 'Interactive'
- Numerous small changes I won't list that htc did
- Removed bloat from kernel
- Merged all my commits into the new code so
- Still using BFQ I/O scheduler
- Voltage regulator changes (now using the correct one)
- HAVS code fixed (HAVS now functioning correctly!)
- HAVS code cleaned up
- LONGER battery life due to HAVS functioning correctly
- EXT4 now compiled as a module for those with bad boot.img sectors
- Minor patches to the BFS scheduler (the big one is wip)
- Fixed memory leak in vmem
- Voltage tweaks
- Kernel size squashed a bit
Kernel #1
- First kernel release
- Synced with the latest code drop from htc
- BFS Scheduler patched up to BFS330
- Applied and tweaked BFS330 test patch on top
- Voltage tweaks for battery life (245Mhz is $$$)
- Higher clock speeds will be MUCH more stable now! (1.113=ez)
- Battery charging tweaks to allow your battery to charge faster
- Be sure to wipe dalvik cache before flashing
- Compiled with neon arm optimizations
- Included tun.ko for OpenVPN support
- EXT4 support
- Underclocked for long battery life
- Using AVS voltage scaling system
- Compiled with neon optimizations
- ALL CPU governors supported
- Interactive governor supported
- Interactive governor set to default
- Using CFQ I/O scheduler
- BFQ I/O scheduler supported
- Quadrant scores are high, even if you are NOT OC'ed testers have reported
- Much much more I need to add, it is a first kernel release

Gonna have to try this for sure.
Sent from my ADR6300 using XDA App

OMG This is freaking EPIC!
*refreshes page like the maniac I am.

Just got out of my work to post this up for you guys
Time for a breather now
It's live

haha, thanks King, I've been waiting for this!
One little bug though, while installing from nandroid it says something like:
blah blah blah
blah blah blha
blah HTC Evo
blah blah
haha, might want to fix that sometime xD

Switching roms again to try this!
Sent from XDA App
Virtuous 2.6 Rom
#4 King Bad F*cking **** Kernel
Revolution
8"

Hell yesssssss.

Awesome!!!!!! Thank You!!!
Sent from my ADR6300 using XDA App

Not too shabby...
Not as insane as some of the scores I've seen flying around the forums, but overclocked to top speed this isn't too shabby for the very first Quadrant run...

Trying it out now on Ruby. I LOVE your work, King!

Interactive governor, 1.13ghz, Ruby 1.1.1
Excellent work. Just need to see how well the battery lasts now. More beer money to you my friend.
This + Ruby = EPIC
Gotta see how this runs on CM6

I'm assuming based on md5sum that the beta you had posted is slightly different than this release... i had one reboot (at idle) on the beta... just updated to this release... keep up the great work.

WTF??? Over 1600 without overclocking? Witchcraft! I wouldn't believe it if I didn't see it on my own Dinc.
Nice job, bro.

Wow, just hit 1859 on quadrant @ 1.15!

can someone use this on ruby and see if BT audio connects? (ie some headphones). Not BT Phone audio, but music...
on the normal one it doesn't, i'm curious to see if it does with this one. about to load it up on cm6 nightly...

Ok, sorry for the NOOB-ish question but, I decided to try out Jager ROM and I am really liking it. I want to try a different kernel but I am not sure which one to use. The regular King's kernel or this AOSP based one?
How can I tell which ROM's are AOSP-based vs. something like SkyRaider? I was using SR and KK BFS kernerl and that was a great combo!

WOW, this is awesome!!! Just hit 1852 quadrant and 40.343 linpack set at 1190 on performance. First try on Cyanogen 6.0.2. I have screen shots on my phone but haven't figured out how to post them here yet, lol.
The first boot after recovery had a system force close and I didn't think it would work, but after a battery pull, my phone started normal.
Thanks for the wonderful kernel! If this is the first, I can't wait to see what the future brings!

That dude is the king! @1.19GHz
Sent from my ADR6300 using Tapatalk

Could I use this with the latest Vanilla Skyraider?

Related

[Kernel][CM7] 13/04 platypus [request: thread maintainer needed]

Hi guys,
this is the 1st release of the platypus (custom) kernel for CM7 (CyanogenMod 7)
You asked for it - you get it !
I'm looking for a thread maintainer here at the vibrant development subsection
anyone wanting to run a thread for the platypus kernel ?
many thanks in advance !
Now to the fun part:
Introducing "Antlion"
04/13/2011 (release name: Antlion; Stable )
kernel:
CM7_VIBRANT_platypus-kernel_20110413_19_antlion_conservative.zip (3.97 MB)
md5sum:
83f6bba48561af1174c1e0ad937e6cdf CM7_VIBRANT_platypus-kernel_20110413_19_antlion_conservative.zip
CM7_VIBRANT_platypus-kernel_20110413_19_antlion_ondemand.zip (3.97 MB)
md5sum:
268c6c14f4eb8120aa706d81f7edf7ae CM7_VIBRANT_platypus-kernel_20110413_19_antlion_ondemand.zip
Changelog:
[additions since 04/13/2011] (release name: Antlion; Stable )
* working external SD card access & usb tethering
* working auto-rotation and sensors (check it's on; if not working: 1st boot: power button press 10+ seconds -> forced reboot/hard reset)
* CONFIG_HZ @250 USER_HZ @150 (like "rocketeer")
* (almost) feature-complete (like "rocketeer")
* added ported new bcm4329 (WIFI) drivers from intersectRaven's 2.6.37.6 kernel - kudos to him (supposedly less battery consumption)
* better reception quality (less noise) with new WIFI drivers
Click to expand...
Click to collapse
Installation steps:
* make sure you have auto-rotation enabled with previous kernel
* boot into CWM Recovery
* apply kernel package (zip-file)
* Wipe /cache & Dalvik Cache
* "reboot system"
* give it some time to boot
* check if auto-rotation works - (is it enabled ?) - if not press power button 10+ seconds (ignore power menu popping up)
* after the next boot it should work
Click to expand...
Click to collapse
Troubleshooting:
Q: black screen during 1st boot - shortly pressing power button doesn't fix it - only soft keys activated (perhaps screen activated but no output visible - black)
A: keep power button + home + vol up pressed until it reboots; it shows samsung galaxy s logo - hold it for some seconds shortly before the cyanogenmod splash appears (timing !) [same like getting into Recovery]
Wipe /cache & Dalvik Cache again & "reboot system" - now it should work
Q: auto-rotation not working !
A: check that it's enabled in settings or the notification power widget
it it still does not work tilt the phone and wait for some seconds - still not working
press power button 10+ seconds until it reboots (ignore appearing power menu) - that forces the phone to reset state and "hard"-reboot - now it should work
Click to expand...
Click to collapse
Please test specifically for the following sticking points:
- WIFI (power consumption & functioning)
- auto-rotation & sensors
- external SD card storage access, usb tethering
Click to expand...
Click to collapse
- call quality (mostly depends on modem but still)
- receiving calls & calling and ending calls
- overall stability
Click to expand...
Click to collapse
enjoy !
FYI:
for your convenience the kernel zip-files are also attached to this post
thanks !
some info from the main thread (at i9000 development subsection):
DISCLAIMER: the kernel (binary) and driver modules are provided as is. If problems occcur they most probably are from upstream and can be fixed with the newest version. Since I'm doing this in my free spare time as a hobby (quenching my thirst for tweaks & performance) updates will occur irregularly as time permits and I see fit (most probably when new features & bugfixes arrive). YOU are responsible for the actions that you take (such as over- or underclocking), etc. You agree that I can not be held liable for any potential damage that arises from your actions in combination with or the usage of this kernel and other related parts.
Kudos:
* Google & the whole Android crew
* Linus Torvalds & the kernel hackers for upstream Linux
* cyanogen & all the devs out there hacking on this
* Supercurio for enriching our media experience of this smartphone
* codeworkx, coolya, guiper
* laststufo & hardcore and all the other kernel hackers on the SGS forum
* zen-kernel team for inspiration to create a kernel, too
* all other contributors (devs, users, etc.) who make this possible
Changelog:
*link to changelog*
Features:
* jhash3 for better reliability (data connections)
* Voodoo Sound & Color
* simple i/o scheduler for better speed & performance
* preemptive tree RCU with smaller fanout value (better efficiency, speed & less memory usage with read-write-operations)
* SLQB for more efficient & faster handling of files in memory
* kernel & app security features (fstack-protector, better ASLR, disabled access to DEVKMEM & DEVMEM, ...)
* network security (syncookies; only secure redirects allowed; higher number of outstanding syn requests allowed; disabled warnings for invalid responses to broadcast frames; enabled window scaling; disabled IP dynaddr & ECN; log and drop "martian" packets; protection against: broadcast pings and smurf attacks, redirects for IP source routing, non-secure redirects, DoS (syn-flood) attacks, IP-Spoofing)
* disabled kernel DEBUG & disabled DEBUG in kernel code
* support of more encryption ciphers
* utf8 support (international)
* fixed & improved CFQ i/o scheduler (option)
* BFQ i/o scheduler (option)
* tweaked ondemand governor (raised the min_sample_rate of ondemand cpufreq governor to 9500)
* interactive cpufreq governor (option)
* smartass cpufreq governor (option)
* OC/UV support (option) (thanks to morfic, TheEscapist & bilboa1)
* laststufo's optimized CFLAGS for more speed (kudos & thanks to laststufo !)
* compiled with CodeSourcery 2010.09 toolchain (better code quality, stability & speed)
* CPU (CFS) scheduler optimizations (optimized branch brediction for more speed, low latency, load balancing); tighter scheduler timings for more speed & responsiveness;
* optimized cacheflushs for user apps (speeds up emulators and specific apps)
* optimized OOM (out of memory killer; apps being removed out of memory - when memory is full)
* faster deactivation & reclaim of invalidated pages (memory faster being available again after big file operations)
* vmscan & other fixes (better responsiveness with lots of read/writes & under load)
* ck-patches (patches by Con Kolivas, mm-lru_cache_add_lru_tail for more efficient memory usage)
* optimized writeback handling (less hangs & waits during write operations)
* script: 90screenstate_scaling: lots of CFS, writeback and cpufreq governor tweaks (less cpu ticks, less cpu looping & delayed writeback - better battery runtime)
* script: 89system_tweak: tweaks for faster data throughput; caller ringdelay (1 second); energy savings for CPU in standby mode, energy savings for radio; WIFI scaninterval to 180 seconds
* CONFIG_IKCONFIG=y & CONFIG_IKCONFIG_PROC=y
* CONFIG_NETFILTER_XT_MATCH_MULTIPORT & CONFIG_IP_ADVANCED_ROUTER
* Stochastic Fair Blue (SFB) network scheduler for default network scheduler - kudos to the zen-kernel / zen-droid team !
* lots of fixes: fix potential memory corruption in buddy allocator of page allocator; potential lags / hangs / looping; security hole in tipc; potential deadlock in radix-tree
* data safety (2 patches of Nick Piggin's Inode integrity patches)
* [improved battery runtime] delay going tickless when CPU is loaded
* kernel timer at 128 Hz; USER_HZ 150 Hz; HIGH_RES_TIMER 300 Hz
* Google WIFI fix to let the CPU sleep more during non-usage of WIFI
* Wii Remote support (bluetooth profile)
* working kernel modules: ansi_cprng, bcm4329 (WIFI), cifs, scsi_wait_scan, tun
* ext4 stability & data integrity fixes
* LED notification (by bilboa1) (short howto and FAQ)
* removing of the FPS limit (by bilboa1)
* DockSound support
* adjustments to the haptic feedback (by bilboa1)
* higher battery charging temperature [experimental, upstream]
* zram (successor of ramzswap / compcache - swapfile in RAM) [option]
* removed (commented out) several limits from the init scripts
* optimization for sqlite database files (speeding up system & apps)
* optimized conservative & ondemand governors
* [upstream] fixed BUG with ARM and delays during cpufreq switching
* disable FM RDS radio for now - potential battery drain & does not work [less battery drain]
* disable SWAP and zram - zram breaks stuff and enabled SWAP-support might be a battery drain, also disable the xvmalloc [less battery drain]
* enable KSM and uaccess with memcpy
* 1:1 CFLAGS from laststufo (Ultimate SO-Kernel flags) and replacement of soft pipelining with module scheduling (internal compiler error)
* kernel compiled with Thumb instruction set - more efficient (performance) & battery savings
* disable VGA console (broken - compile errors) & disable FRAMEBUFFER CONSOLE (broke lock-screen and stuff)
* practically eliminated all lags - (potentially) lagfree
* tweaks to CFS cpu scheduler
* tweaks to conservative governor script
* improved read & write values (write: 4.3 vs. 7.1; read: 11.7 vs. 16.9)
* allow using LED while screen on [thanks to bilboa1 !]
* working external SD card access
* and everything I might have forgotten
Click to expand...
Click to collapse
3.2. Using CPUfreq Governors (Red Hat Documentation - hope they don't mind for the load)
cpufreq_performance
The Performance governor forces the CPU to use the highest possible clock frequency. This frequency will be statically set, and will not change. As such, this particular governor offers no power saving benefit. It is only suitable for hours of heavy workload, and even then only during times wherein the CPU is rarely (or never) idle.
cpufreq_powersave
By contrast, the Powersave governor forces the CPU to use the lowest possible clock frequency. This frequency will be statically set, and will not change. As such, this particular governor offers maximum power savings, but at the cost of the lowest CPU performance.
The term "powersave" can sometimes be deceiving, though, since (in principle) a slow CPU on full load consumes more power than a fast CPU that is not loaded. As such, while it may be advisable to set the CPU to use the Powersave governor during times of expected low activity, any unexpected high loads during that time can cause the system to actually consume more power.
The Powersave governor is, in simple terms, more of a "speed limiter" for the CPU than a "power saver". It is most useful in systems and environments where overheating can be a problem.
cpufreq_ondemand
The Ondemand governor is a dynamic governor that allows the CPU to achieve maximum clock frequency when system load is high, and also minimum clock frequency when the system is idle. While this allows the system to adjust power consumption accordingly with respect to system load, it does so at the expense of latency between frequency switching. As such, latency can offset any performance/power saving benefits offered by the Ondemand governor if the system switches between idle and heavy workloads too often.
For most systems, the Ondemand governor can provide the best compromise between heat emission, power consumption, performance, and manageability. When the system is only busy at specific times of the day, the Ondemand governor will automatically switch between maximum and minimum frequency depending on the load without any further intervention.
cpufreq_userspace
The Userspace governor allows userspace programs (or any process running as root) to set the frequency. This governor is normally used in conjunction with the cpuspeed daemon. Of all the governors, Userspace is the most customizable; and depending on how it is configured, it can offer the best balance between performance and consumption for your system.
cpufreq_conservative
Like the Ondemand governor, the Conservative governor also adjusts the clock frequency according to usage (like the Ondemand governor). However, while the Ondemand governor does so in a more aggressive manner (that is from maximum to minimum and back), the Conservative governor switches between frequencies more gradually.
This means that the Conservative governor will adjust to a clock frequency that it deems fitting for the load, rather than simply choosing between maximum and minimum. While this can possibly provide significant savings in power consumption, it does so at an ever greater latency than the Ondemand governor.
Click to expand...
Click to collapse
Thx for the kernel.
Sent from my SGH-T959 using XDA Premium App
thanks ill give it a try
Thanks for the kernel. Much appreciated.
Which version are you guys using? Conservative seems a little choppy to me, anyone else experience it with conservative?
Sent from my SGH-T959 using XDA Premium App
Just tried the ondemand version and it feels choppy like conservative.
Sent from my SGH-T959 using XDA Premium App
Choppiness at First..
Goes away after awhile (I am using Conservative)
Also rebooted twice.
I think it just needs time to settle in. Seems to be running smooth now..
I'm gonna try this out in a bit. Nothing to lose I suppose.
I'm looking for a thread maintainer here at the vibrant development subsection
anyone wanting to run a thread for the platypus kernel ?
many thanks in advance !
I can maintain it, I maintain the other CM7 kernel thread, shouldn't be too tough.
I'll test the releases before and make things nice and tidy, etc. (If you'd like.)
Let me know.
Thanks for the kernel, by the way.
Great kernel has IP tables but i can get it to rotate for the life of me....also feeling lag but quadrant and smartbench say it's running better....rebooting.....
EDIT: Rebooted many times....tried holding power for more then 10 sec but nothing no rotate or light sensor
I would like to maintain also, I'm willing to test (I have 2 vibrants) maybe me and someone could work together on ones behalf.
Sent from my SGH-T959 using XDA Premium App
I think I found a temp fix for no auto-rotation. Turn your phone off, than as you turn your phone on, keep your phone standing in landscape on a table or in your hands. It should now auto-rotate. Hoped I helped in anyway.
I don't know if its the kernel or the nightly update, but my camera won't start and FC.
cervantesjc said:
I don't know if its the kernel or the nightly update, but my camera won't start and FC.
Click to expand...
Click to collapse
Its the update, just checked
Sent from my SGH-T959 using XDA Premium App
So far no issues. Auto rotate working as it should. Games seem to play the same as previous Kernel. Will give it a full charge tonight and get a better idea of battery life in the next couple of days.
when you say:
* apply update.zip
newbies may press something different...
you should probably tell them to install the .zip from Sd card option or something...
trying it out now, its rebooting.
hope it works, and how would i know if its enabled or know that i'm using this kernel?
(im on MIUI)
pretty sure the kernel mind-****ed my phone.
i was at about 31% battery.
Flashed kernel, 16%
rebooted, 12%
lol.
Works with MIUI also. May want to add reboot after flashing. I actually had to reboot twice before it settled in! Great work!
theexel said:
I'm looking for a thread maintainer here at the vibrant development subsection
anyone wanting to run a thread for the platypus kernel ?
many thanks in advance !
I can maintain it, I maintain the other CM7 kernel thread, shouldn't be too tough.
I'll test the releases before and make things nice and tidy, etc. (If you'd like.)
Let me know.
Thanks for the kernel, by the way.
Click to expand...
Click to collapse
thanks a lot for your help theexel !
cashyftw said:
I would like to maintain also, I'm willing to test (I have 2 vibrants) maybe me and someone could work together on ones behalf.
Sent from my SGH-T959 using XDA Premium App
Click to expand...
Click to collapse
thanks a lot cashyftw !
Also thanks to toryheal for volunteering &
warfenix for his support !
That makes you a total of 4 who volunteered to maintain the thread
Just Awesome !
Hopefully you can agree who posts the thread and communicate / help each others
1st Minor Hiccup - Theme Change
Running Vibrant - CM7 + MIUI:
Changing Themes gave me a constant reboot.
Fortunately a battery pull did the trick and the new theme came up.
(EDIT) Might be a one-time adjustment .. I put another theme on and rebooted fine. So changed back to the other theme to see if there was an issue with the theme itself and that came up fine as well.. just one of those one-time quirks I guess..

[KERNEL][GPL][8 DEC] franco.Kernel | BLX | DEEP IDLE | LIVEOC

I've written many new kernel threads, so I'll just try to make this one simple, easy and light to read.
So, let me give you a little background on me: most of you don't know me as I only bought this device few days ago, but I'm a kernel dev for two other phones, the LG P500 and the Ideos X5. Worked on both .32 and .35 trees and my works became very popular, which can be seen by following the links in my signature - specially in the P500 community.
There are plenty of kernels to choose already, so why release another one? Simply because what I have to offer none of the other kernels had. What do I bring? Performance. How do I achieve that? Check the changelog and you'll understand...but not yet, lemme finish!
I have to say this: this kernel is based on KalimochoAz sources, so every changes up to his last pushed sources it's his job, so credits to him, I take no credit from his job.
I didn't start this kernel project for recognition or anything like that, I just want to share what I did for myself, maybe someone will find it useful
So let's get started, below you'll see what I changed on top of KalimochoAz source:
8th December
* Deep_idle code deleted, and re-added. Everything is exactly as Ezekeel has in his kernel, this might, or might not help with the data loss and whatever. If you still have problems please consider disabling deep_idle and see if it helps
* Deep_idle is off by default - changeable with NStools
* Calibrate.c reverted back to the .35 implementation
* Updated CRC32 library to the latest implementation directly from its creator
* Fsync disabling code deleted and re-implemented with a different implementation
4th December
Too many changes, so I'll be just brief and simple:
* CFS autogroup tweaks
* CFS optimizations
* Readahead values automatically calculated by the kernel for the optimal performance
* Several optimizations to lib files
* Added dm-cache (http://visa.cs.fiu.edu/ming/dmcache/)
* More stability
* Much more...
25 November
* Fsyncs disabled - more IO speed, more battery (less IO operations)
* Compiled with the optimized Mjolnir toolchain
* Added 1,2ghz step
* New default colors for the SAMOLED screens
* Cgroup: speed up access to cgroupfs mounted entries in /proc/mounts
* One or two more minor tweaks and optimizations
23 November
* No more BFS code and BFS builds. I want to make sure this is stable enough. If you want BFS compile it yourself. I hope this fixes the data/gsm drops
* Minfree settings unlocked forever
* Readahead value bumped to 1024
* BLN/touchwake fix
17 November
* Patched up to the latest deep_idle version from Ezekeel
* SAMOLED colors tweaked, should be a lot better now
* Few stability updates and reverts to ensure everything is up and running without issues
* Interactive governor added again
* Interactive patched up with around 10/15 patches
* Minor tweaks and optimizations
13 November
* Based on the latest testing builds, which includes:
* Some defconfig options change for a more leaner kernel
* Delete two cflags to ensure maximum Hummingbird performance
* Internal sdcard remount bug fixed
* Minfree settings unlocked by users demand
* Deep_idle implementation changed (it's the same that I used in the last testing version)
* Added latest deep_idle patch that when the phone vibrates it uses the TOP=ON idle state
* Removed obsolete screen dimmer
* Updated BLN to latest v9
* Lazy governor changes based on morfics lazy changes
* Remove Big Kernel Lock tracing
* Some stability patches from the kernel mainline
8 November
* PMEM disabled as herring doesn't use it - this way we recover 12,5mb ram
* Ext4 mounted with special flags directly on the kernel source - more performance without needing init.d scripts
* Writeback settings now working correctly and are not overwritten by the ramdisk
* Minfree settings are now correctly set and are not overwritten by the ramdisk
6 November
* Latest deep_idle bugfix from Ezekeel
* Added Ezekeel's custom_voltage mod. For more info about it visit the respective thread. Yes it's compatible with SetCPU, maybe with Proton too, I didn't test it
* Added back BLD, touch wake and screen dimmer
* Improved CRC32 algorithm - it's used for many kernel functions
* CFS version: Cgroups: introduce timer slack subsystem - Provides a way of tasks grouping by timer slack value. This functionality is useful in mobile devices where certain background apps are attached to a cgroup and minimum wakeups are desired
3 November
* Latest deep idle bugfix from Ezekeel
* Offering two separated downloads, one CFS and another BFS. Don't ask me which one is better, try it and see, I'll be really mad if I get questions like that
* Idle_stats show 0 in every field - don't worry about that, it happens because of my cpu_idle 3.1 backport, but I assure you deep idle is working. Again I'm not answering questions like "WHY IS IDLE STATS 0?!?!? HALP PLZ".
* 'screenoff_maxfreq' is disabled by default. If you want that behavior write this in the terminal: echo 1 > /sys/devices/system/cpu/cpu0/cpufreq/lazy/screenoff_maxfreq
2 November
* Newest deep idle bugfix from Ezekeel
* Reverted back to CFS because stock users had mounting problems with the sdcard and some users had data/wifi drops and I don't want that
1 November
* First and entirely BFS kernel with the newest 0.413 version
* Optimized the tunable BFS parameters for extra interactivity and smoothness
* More debugging disabled - I'm pretty sure 99% of the debugging flags are now disabled
* All the latest bugfixes and implementations from Ezekeel, including live_oc up to 150, lazy maxfrequency_screenoff enabled by default and all the other small fixes to ensure maximum stability
* Small changes to the lowmemorykiller
* Added optimized RWSEM algorithm
* Added some minor improvements and tweaks
* Sorry devs that wanted logcat, it's still a module because I suspect I'll have to update this build again with some extra fixes from Ezekeel in a very near future thus not making much sense to release two kernels now, one with logcat on and other with it off because that takes time to compile. If you desperatly need logcat go to my .config and change CONFIG_ANDROID_LOGGER=m to CONFIG_ANDROID_LOGGER=y and recompile it
27 October
* Latest deep idle and live oc bugfix from Ezekeel - should fix that extra battery drain reported by some users
* Changed lowmemorykiller.c - minfree settings already incorporated in the file. Settings kanged from morfic's tweak file, thanks
* Add cleancache - driver to cache clean pages
* Fixed ext4 disk write performance regression
* Small power management fix to back off suspend if repeated attempts fail - avoid continually trying to suspend in situations in which a driver is repeatedly rejecting suspend or a pending wakeup interrupt is not handled, burning CPU in the continuous suspend attempts
* Lib file added for the users where BLN didn't work
* Logcat module added inside /system/modules. If you want to use logcat just load the module with insmod
24 October
* BLX added again by default and patched up to the latest fix from Ezekeel
* Deep idle patched up to the latest fix from Ezekeel
* Live OC added and patched up to the latest fix from Ezekeel. To overclock you need to do this in the terminal or in an init.d file: echo 110 > /sys/class/misc/liveoc/oc_value. The 110 value means that both cpu frequency and bus frequency will be increased by 10%. You can increase this value as much as you want, as long as you increase the voltages otherwise the device won't handle it, but that's obvious.
* Changed dirty_writeback values from morfic to increase smoothness
* Overclock frequencies removed. The device is fast enough with 1000,800,400,200 and 100 frequencies. If you want to overclock use Live OC, it's enough to make it fly
* Conservative governor tweaked - smooth as butter
* Removed a ton of debugging ****
* Deadline I/O scheduler made default - after much testing it seems to produce the best and more regular results
* Swappiness disabled
* For more information visit my github, this are the most important changes
21 October
* Latest Deep idle bugfix from Ezekeel
* sched: disable GENTLE_FAIR_SLEEPERS
* Remove few obsolete governors
* BLN fix for MIUI users - now it should be propely set and full working
* Just 3 more tweaks:
PM QoS: Correct pr_debug() misuse and improve parameter checks
mmc: core: put eMMC in sleep (cmd5) mode before suspend
vmscan: prevent background aging of anon page in no swap system
19 October
* UV **** is fixed, SetCPU and Proton should work fine now
* Config_HZ increased to 1000 by request of an user
* Small tweak to VR
* Compiled with special Cflags from netarchy
* Calibration tweaks for touchscreen from netarchy
18 October
* Update cpu freq. to allow UV interface - you can modify the voltages on the fly going to /sys/devices/system/cpu/cpu0/cpufreq/UV_mV_table with an easy layout
* Auto BLN added again - it works now out of the box without the need of an extra app
* Add Lazy governor by Ezekeel
* config edited again, removed alot of **** options that are not needed at all - this way the kernel is even leaner
* cpu_idle backport from 3.1 - maybe helps with the BSOD problem
* Tweaked VR scheduler to work better for flash devices like our Nexus
* Ext4 tweaks
* A lot of USB tweaked code
* More fs tweaks to decreast CPU usage on unecessary ****
* More TCP/IP tweaks
* vfs_cache_pressure -> 25
* dirty_background_ratio -> 60
* dirty_ratio -> 90
* vm_swappiness -> 30
* Sysfs interface for deep_idle created by Ezekeel was added. If you want to disable deep_idle run this command: echo 0 > /sys/class/misc/deepidle/enabled
* Screen refresh rate increased to 65hz, everything should be even smoother (thanks morfic)
* If you want more detailed information about all the tweaks added you can visit my github
----------
* No more debugging **** in the kernel. No logcat, no dmesg, no debug_kernel etc etc, this **** is clean on that logging stuff that only consume CPU cycles in the background
* CFS scheduler tweaked with custom settings
* dirty_writeback value increased from 5*100 to 15*100, reducing unnecessary I/O activity, thus releasing a few CPU cycles
* Deep Idle mod by Ezekeel (latest version)
* Few patches to lowmemorykiller.c hopefully to optimize memory usage
* Add VR I/O scheduler and made default. A lot of performance gain comes from this one.
* Also enabled BFQ scheduler to be an option with no-frills
* init/calibrate.c port from 2.6.39. Better loops per jiffy calculations
* vfs_cache_pressure 100->50
* Add Stochastic Fair Blue (SFB) network scheduler and make it default. This is a network packet scheduler, should make internet usage a lot smoother
* Changed TCP_congestion scheduler to TCP_Veno. TCP Veno module is a new congestion control module to improve TCP performance over wireless networks. The key innovation in TCP Veno is the enhancement of TCP Reno/Sack congestion control algorithm by using the estimated state of a connection based on TCP Vegas. This scheme significantly reduces "blind" reduction of TCP window regardless of the cause of packet loss.
* Tiny RCU is the default RCU engine. More explanation on this RCU here http://lwn.net/Articles/323929/
* Kernel compiled with -O2, meaning the code is more optimized instead of being compiled for size
* WiFi = PM_FAST in standby
* Optimized the config options for CFS Autogroup in the .config file, it should be perfect now
* Again more and more debugging disabled
* Obviously some minor changes and tweaking, but that can all be seen in my github below
https://github.com/franciscofranco/Nexus-S
Downloads: http://androtransfer.com/franciscofranco/Nexus_S/ (thanks sixstrings for the FTP hosting)
Please give me your feedback
Enjoy
niiice..
I knew you were gonna release this lol
Sent from my Nexus S using XDA App
mathkid95 said:
I knew you were gonna release this lol
Sent from my Nexus S using XDA App
Click to expand...
Click to collapse
When I bought my Nexus I thought "No, I'm not compiling any kernels for it, no more flashing endlessly in a loop every night."... I guess I wasn't successful
Jokes aside, better share it to the community instead of being selfish and use it only myself - I'm kinda happy with the result and maybe I can make someone happy too, that's my goal!
Is this just for the Nexus S or will it run on the 4G also?
Sent from my Nexus S 4G
franciscofranco said:
When I bought my Nexus I thought "No, I'm not compiling any kernels for it, no more flashing endlessly in a loop every night."... I guess I wasn't successful
Click to expand...
Click to collapse
typical crackflasher
Sweet, I'll give it a try!
FL0OD said:
Is this just for the Nexus S or will it run on the 4G also?
Sent from my Nexus S 4G
Click to expand...
Click to collapse
Hmmm... good question. I used CM's kernel sources, like I mention in the op. Considering that probably S and 4G versions of CM7 share the same kernel, I'm mostly certain that it will work. Just do a backup of your installation and try it out, I'm kinda curious as well.
franciscofranco said:
Hmmm... good question. I used CM's kernel sources, like I mention in the op. Considering that probably S and 4G versions of CM7 share the same kernel, I'm mostly certain that it will work. Just do a backup of your installation and try it out, I'm kinda curious as well.
Click to expand...
Click to collapse
No smoke or fire so I am good to give it a whirl. Thanks for sharing this.
Sent from my Nexus S 4G
franciscofranco said:
Hmmm... good question. I used CM's kernel sources, like I mention in the op. Considering that probably S and 4G versions of CM7 share the same kernel, I'm mostly certain that it will work. Just do a backup of your installation and try it out, I'm kinda curious as well.
Click to expand...
Click to collapse
Should work just fine.
Sent from my LG-P999 using Tapatalk
Oooooh no. Must resist urge to flash. Screw it. I'm giving in.
Sent from my Nexus S MV from the XDA Premium app.
Sadly I'm having all the stability issues I had with the CM7 kernel only now some of my news apps cause a reboot. :-(
After a very short test: fast as morfics kernel (Quadrant 4200 by 1,2GHz) and internet is really smooth, special on 3G.
Performance is pretty good, battery life isn't terrible. I get better with morfic's TEUV, but that's kind of expected. Overall it's a nice kernel, I'll stick it out a few days and give it a true test.
So far, quick, stable, battery charges quicker than normal, and charges to 100%. Ran some quadrant standards and it seemed to be on par with other performance kernels. I am running this with Oxygen 2.3.1. Looking forward to running this through the day tomorrow. Good stuff.
Sent from my Nexus S 4G
Welcome to Nexus S. Haha.
I flash your kernel and everything was good. No FC, no bootloop, everything went fine
new kernel~!!
must flash~
But heading to mountains in an hour... will definitely flash when i come back.
i want stable phone before heading into the mountains... ><
caleb1783 said:
new kernel~!!
must flash~
But heading to mountains in an hour... will definitely flash when i come back.
i want stable phone before heading into the mountains... ><
Click to expand...
Click to collapse
You know you want to put it on the sdcard, and flash, just real quick, then flashing back to your stable kernel just before taking off.
You know it's calling you, you know you can't wait, you live in the now, you are a crackflasher.
missing BLN.
Just flashed it and getting a bsod when waking the phone as I do with other kernels with deep idle.. I don't seem to get it with morfic's test builds though..
Other than that it is very fast and the internet seems a lot smoother...
Sent from my Nexus S using XDA App
franciscofranco said:
When I bought my Nexus I thought "No, I'm not compiling any kernels for it, no more flashing endlessly in a loop every night."... I guess I wasn't successful
Jokes aside, better share it to the community instead of being selfish and use it only myself - I'm kinda happy with the result and maybe I can make someone happy too, that's my goal!
Click to expand...
Click to collapse
e~~~this kernel will cause the phone cant be wake up when i off the screen ,i am charging right now~~~

[CM7/MIUI Kernel][AUG21]CM7-ETaNa v2.6.32.59

Kernel 2.6.32.y (long term release)
Based on the lge-kernel-star made by the CM team, with many cherry picked patches from the faux123, the vorkkernel upstream, the main lg streamline and another developer forum.
Update 2012.08.21:
5e9c876 Proportional Rate Reduction for TCP.
3267866 tcp: Make undo_ssthresh arg to tcp_undo_cwr() a bool.
764c1af tcp: avoid cwnd moderation in undo
c3905be tcp: fix RTT for quick packets in congestion control
c4a03ed tcp: undo_retrans counter fixes
e3a6932 TCP: fix a bug that triggers large number of TCP RST by mistake
b6023ed TCP: Fix setting of snd_ssthresh in tcp_mtu_probe_success
9c6ccbd tcp: fix TSO FACK loss marking in tcp_mark_head_lost
62fec35 lib/lzo: Update LZO compression to current upstream version
11c4e7b lib/lzo: Rename lzo1x_decompress.c to lzo1x_decompress_safe.c
66b6560 arm/crypto: Add optimized AES and SHA1 routines
b1d0d53 block/deadline: tweaked for better performance on android (cherry picked from commit f5910d6f7844f661d9189f9558efa316c9d24f32)
cc7f103 star_bl.c: restore to the v20q version to avoid auto brightness issues
2c70638 Change compiler
6ba1ec6 Update defconfig
3fccb06 Update star battery charger driver
902f7fc Add support for lite battery driver
Older changelogs:
Update 2012.07.24:
8e4bfaf Update build flags
95b328f Update LGE drivers
9b594e5 Revert to the cm7 wireless driver
35c27da Add Vibrator Control
def9bd9 Revert: JRCU
1a46eaa Update defconfig
a61545e5 Revert to the original cm7 nvrm_dtt_degrees values
2949611 Update scripts
9e36f5f This should enable NOATIME and NODIRATIME as default. (cherry picked from commit cc36b5c61dad24f1e7d3f92b92079082bd053e17)
d4771e0 tegra: optimize udelay and msleep.
bbe6221 Add NvOs usleep, usleep_interupptible and msleep_interruptible calls. (cherry picked from commit 2f026c8fed6ca9af6b70b7f5d89207626366606e)
6775cd3 timer: Added usleep[_range][_interruptible] timer
007305c Stay a bit longer a clock (cherry picked from commit 554a6bfa61a890e5ec1df9f676438f8ce0d4fed2)
938a02b Minor thermal adjust
69f9b50 Optimize cpu1 handling
87eac16 Increase SDRAM frequency a little
cc897f6 arch/arm/mach-tegra/cpuidle.c: revert race condition fix
85bb3b3 Update star battery driver
6e51045 Update defconfig
520dab6 Fajarep backlight values
bb077d7 Revert "star powersupply/battery: code fix up from v21y source drop"
c710f7d Cleanup
b0baf40 Update defconfig
c21a0c9 Fix compilation error
616333c Add predefined OC levels
b5743c0 Add OTF code
9b15d4a Update defconfig
965fe46 Update SIO scheduler
b371820 Fix compilation errors
8ce1732 [HACK] copy the warmboot information to the original reserved_buffer area before shutdown
08b8b2d star: clean up reboot code
6ffc20d star: make the ram_console not depend on the carveout size
6ef1775 Cleanup
84bc652 fix build errors using gcc-4.7
6fc777c Cleanup
b5e4325 Remove old OTF code
7fb5018 sys_sync(): remove the use of sys_sync() to resolve lock up issues
7be9425 mach-tegra: disable PLL before stopping DVFS Daemon (cherry picked from commit b21b93276b48faa0b7582398c25fab48042fd6dc)
4d541cc star_bl: change polling from 2 to 3 seconds (cherry picked from commit f438f29d0702d13f6892c2ca24c35292555709fa)
3329048 mach-tegra: replace msleep() calls with msleep_interruptible()
7fd46a6 driver/star: general optimization by using msleep_interruptible calls
4c61cc9 pmu/max8907: be nice to cpu and use msleep_interruptible for long waits (cherry picked from commit ac8af21373f44933d48ca56dd06a7f34d6ee26e9)
cfbd1a4 nvrm: fix nvrm_user SOD take 2 (cherry picked from commit c794377cf340c13f67e2fedef0752b14a8f90d4c)
a4c91f5 nvrm: fix nvrm_user compilation warnings (cherry picked from commit 3aada3f3032be246bc33af14ff9e77df088e004c)
9be0a47 nvrm_user.c: Updates from the p990 v10e drop. Fixes BSOD while charging (cherry picked from commit 268dca72019806f5d0e504cbf62de3cdf4741921)
12e69b1 tegra: cpufreq/nvrm: add screen off freq limiter and offlining of 2nd core
7dbdb61 drivers/star/sensor: v21L code fix up (cherry picked from commit 6d8feb057df5f11f11e32e94e1448ddb4c70831e)
da825c2 OVERCLOCK: adjust voltage table and frequency table
cff4cb0 mach-tegra: cpufreq - add CPUFREQ table support
2a54e27 kernel/power: suspend fix minor formatting issue (cherry picked from commit 416fef1e4ce8e766ac5d5fa4497bf434eef23559)
4fbf8a4 ARM: use generic strnlen_user and strncpy_from_user functions
91e2bbd kernel: Move REPEAT_BYTE definition into linux/kernel.h
4946b9a lib: Fix generic strnlen_user for 32-bit big-endian machines
db88510 lib: add generic strnlen_user() function
6f51e6e word-at-a-time: make the interfaces truly generic
99db0a6 lib: Sparc's strncpy_from_user is generic enough, move under lib/
259adad AP_SUSPEND_STATUS: code fix up from v21 source drop (cherry picked from commit 4bdbd0624ea8b2152c159bfe8ade886a9328071b)
31bd7f4 video: tegra host nvhost syncpt fix up from v21 source drop (cherry picked from commit 00dc8e4b05582190bca085ad7335c99a9d7d6dde)
c06f5bd restart/watchdog: code fix up from v21 source drop (cherry picked from commit 1e3fe14a98cad98666c6120182d1da90c4083806)
c35daee star powersupply/battery: code fix up from v21y source drop (cherry picked from commit 8e4d03e5c727200c3fab8b6ff83c8acd18642f39)
04b22a7 sys_sync: fix sys_sync lock up issue from v21y source drop (cherry picked from commit d6f63471b4acd822414a5e73e867f363add16ae6)
3b1b40c mmc/host: Check SDIO clock for Wi-Fi from v21y source drop (cherry picked from commit c6a1205e20e97d70d0869dbbd7029baf1e1b787b)
306d670 star/headset_det: add wakelock for headset_det from v21y source drop (cherry picked from commit 97440abda1dad90efebdd7dac85285abc0e78e3a)
fef794d start_bl: change polling time from 1 sec to 2 sec from v21y source drop (cherry picked from commit 74512acf4f02c0e2049cc0839f0ce90455dbf479)
db4d3b5 mach-tegra/suspend: AVP suspend code fixup from v21y source drop (cherry picked from commit 4fed337131ad1f57854d1a84f9e88b420158264d)
3934ae7 tegra2 clocks: APB peripheral clock fixup from v21y source drop (cherry picked from commit dde3a126cafe81911d4326ca82a3e557714a8583)
f206422 board-nvodm: hynix memory patch from v21y source drop (cherry picked from commit 661da28ba2fba1c908849089303c717bc3ac7660)
7e7ca2f serial: tegra_hsuart - increase from 2k*8 to 2k*16 from v21y source drop (cherry picked from commit f6a8abe19956833dabfff3f99cc31502428a5150)
8604e8d video: tegra-fb disable addr change via sysfs interface
a92fa6f kernel/printk: disable console_suspend_enabled from v21y source (cherry picked from commit f6b23dd121f152c1330b589fc801711ff97a4c08)
2119065 wifi: add wifi code fixup from v21y GB source release (cherry picked from commit 71def7390e2488abe71ef980d2832ed2fa34a147)
c57c2ef Revert "ARM: vfp: flush thread hwstate before restoring context from sigframe"
8854501 net/filter: SKF_AD_RXHASH filter is not supported by LGE implementation (cherry picked from commit 1e337d3517d05783eb3e1d9b36ac44b8ffe6ce02)
e85ca49 ARM/NET/BPF JIT: disable BPF_S_ANC_PROTOCOL for .32 kernel
e0740f0 net: filter: move forward declarations to avoid compile warnings
aba2429 net: filter: Just In Time compiler for x86-64
a4b752e filter: constify sk_run_filter()
55b0e64 filter: add SKF_AD_RXHASH and SKF_AD_CPU
c798a73 filter: optimize sk_run_filter
0ee5c7e net: move definitions of BPF_S_
to net/core/filter.c
983b499 net: optimize Berkeley Packet Filter (BPF) processing
7f46b75 net: Socket filter ancilliary data access for skb->dev->type
f8d29e8 filter: Add SKF_AD_QUEUE instruction
74c0f02 pkt_sched: ingress socket filter by mark
53fe5e3 Revert "nohz: Remove ts->inidle checks before restarting the tick"
0a76403 lib: introduce common method to convert hex digits
57f1099 ARM: 5889/1: Add atomic64 routines for ARMv6k and above.
52d09c3 (temp) Update build scripts
Update 2012.04.02:
Various minor bugfix and cleanup
Improve Lite battery driver
Revert back to the original CM7 wifi driver (i prefer the stability)
OTF cleanup and minor adjustment
Fix ext2/3 fs mount issue on some devices (link2sd, move2sd, etc.. is working fine now)
Compiled with Linaro gcc 4.5
Update 2012.03.28
- Request: Built in NFS client support, NTFS filesystem module
- Request: Full IP6tables support
- Request: davfs2 native kernel support (you need a webdav client to use it!)
- Disable battery life extender (its not needed on our device)
Update 2012.03.27
- Minor ramhack fix
- Various kernel updates backported from 2.6.34.x (all safe)
- EXT4 kernel module updated, using ext4 module for ext2/3 filesystem too.
- Improved sound quality (c) Spica
- Updated SIO IO scheduler to the latest version (2012)
- Less debug in kernel, less flood in logcat
- ACPI backported from kernel 2.6.34.x (chance to help avoid the remain BSOD)
- Removed beats audio (its just a hoax/placebo, not working)
Update 2012.03.20
- Minor fix, what can be possible help to avoid charging BSOD
- etana.conf now supported predefined ramhack size: ramhack=value (example: ramhack=48) only accept 32,48,64,80,96 example file
Update 2012.03.19
- Updated to OTF toolkit final, changelog found in here
- Linux updated to 2.6.32.59
- Fixed cpu second core activation bug
- Introduce Lite battery driver, provide a good battery life without the funky readings issue.
Update 2012.03.11
- Add Ramhack OTF support
Update 2012.03.08
- Kernel is updated to 2.6.32.58
- AVP freq can be adjusted with the OTF (HP kernel tweaker app cant be handle this, until i dont get the sources of that app) its can be controlled via this file: /data/spica/avpfreq (example: echo 240000 > /data/spica/avpfreq), or with the Etana tweaker app. AVP freq auto adjusted with the powersave levels and the nitro.
- GPU freq max limit extended to 400000 (HP kernel tweaker app can be adjust to max 350000, i need thoose sources to extend to 400000) GPU freq also auto adjusted with the powersave levels and the nitro.
- Battery lifetime extender support. Its an automatized softare mechanism, what can be prevent the battery overcharge. It will be handy if you have cheap/refactored battery/charger. Its not mean the battery charge hold up longer, its extend the battery lifetime.
- Default IO scheduler is changed to SIO
- Default LMK level is changed to optimum
- CPU overvolt by default for the better stability (the minimum undervolt levels intact)
- Kernel is compiled with the Linaro 4.5.3 compiler (thx Spica for the tip). its gave as a better compatibility/stability.
Update 2012.03.05
- Fix every powersave and nitro options issues
Update 2012.03.02
- Full support for Spica OTF
- Optional Beats Audio mod, disabled by default, only installed if you change the installer config file (etana.conf)
Update 2012.02.29
- Fixed endcall BSOD (i hope)
- BCM4329: disabled Fast sleep mode (this can be caused previously the wifi issue)
Updates 2012.02.27
- Separated build for the max overclock 1216Mhz and the 1408Mhz
- Separated build for the DebauchedSloth (aka DS) battery driver. This provide a much better battery life however produce funky battery readings
- The tweak init script now support Dalvik-Cache garbage clean and SQLite database defrag at boot
- Powersaver 3G settings thx for Zeppelinrox, this can be adjustable in the future versions via the new kernel install file (etana.conf)
- Separated config file for the kernel installer, place it in the root of the sdcard, comment in/out any line what is needed or unneded (called etana.conf)
- The init script auto handle the different overclock profiles, just set the voltage levels in the tweakaio.conf like before, all frequency defined, however not all used, based on the OC profile
Updates 2012.02.22
- terminal crash problem fixed
- v20q logging method in ts0710 driver
- Use the v20q MUIC driver
- Remove 1408Mhz, add back 655Mhz, powersave is more important
- Merge some part of the swiftextreme kernel
- Add support for the timer slack cgroup
- Fix build flags what is possibly broken some apps (droidwall working again)
Updates 2012.02.20
- Add support for allow mmapped anonymous memory to be uninitialized
- net: wireless: bcm4329: Prevent working thread to run during suspend
- If user space is waiting for a syncpt value higher than max, nvhost_wait_timeout() panics the kernel. This panic is based on the assumption that nobody should wait for sync points higher than indicated by a submit from user space.
- arm: tegra: power: fix LP2 scheduling in atomic
- cpufreq: stats: snap freq to next lower freq when not in table
- net: ppp: Reduce GFP_ATOMIC memory usage
- arm: tegra: power: fix lp0 resume failure
- ARM: improve compilers ability to optimize page tables
- Replace CPU step 389Mhz with 324Mhz, and adjust a voltages a bit
Updates 2012.02.18
- Fix compass delay problem
- Revert back to the CM7 touch screen driver (ICS driver dont work well)
- Revert some buggy v20q patch
Updates 2012.02.17.
- Using Fajarep (thx for him!) values in the backlight levels and the cpu1 activation threshold from the swiftextreme kernel for more powersave
- Kernel is compiled with O3 optimization flags
- Adjust some values for better stability
- Tweak init script now support the CPU undervolt, you can adjust the CPU voltages in the tweakaio.conf file
Updates 2012.02.16.
- Reboot is now working with every ramhack, fix merged from the CM9 kernel
- Wireless: Use low power mode PM_FAST instead of PM_MAX. A bit higher power consumption, but increases stability of wireless connection.
- Merge some patch from the ICS kernel (only what is not interfered with the android 2.3.x)
- Bash installer support, no need to install bash manually
Updates 2012.02.15.
- Add back ramzswap module, used zram as default
- Follow the main 2.6.32.y kernel source
- Kernel updated to 2.6.32.57
- Revert lowering EMC voltage for safety reason
- wireless :bcm4329: disable sdio interrupts before wifi reset to avoid supurious client interrupt during stop process
- Tweak init script and parameters are separated, no need to modify the main tweak init script.
Updates 2012.02.13.
- Fix cache cleaning process, now work with TouchCWM too
- Lowering GPU freq and EMC voltage
- Adjust the second core management a bit
- Readd import dvs updates for SPI, merged from v20q (confirmed work, thx for Eungbo)
- tegra pinmux: reduce logging
- cpuidle: add missing race condition fix
- Supress spi_register_board_info error logging
- ts0710: cleanup and logging fix
- star_powerkey: fix LP1 powerkey skip issue
- cpwatcher: reduce logging noise
- Follow the main CM7 changes
Updates 2012.02.08.
- CPUfreq driver add SMP support
- Fix invalid GPIO configuration, ported from v20q
- Tegra watchdog patch, ported from the v20q
- Nividia patch for SurfaceFlinger patch from v20q
- APB bus support, ported from v20q
- Adjust AVP/GPU/SDRAM freq
- Revert tegra: Import dvs updates for SPI from p999s v21e (its not good for our O2X)
- Revert nvrm_user.c: Updates from the p990 v10e drop called: Charging BSOD fix (not work)
- reduce logging noise
- Battery friendly cpu1 management (sysctl management of the second core soon)
- Voltage adjustment (hopefully the last)
Updates 2012.02.06.
- Follow faux123 git
- Using the old wifi driver
- 389Mhz available again
- Little voltage/core adjustment
- TouchLED brightness maximum value lowered to 200
- Adjust AVP/GPU/SDRAM freq
Updates 2012.02.04.
- Fix issue: CM7 cpu settings menu not working
- Adjust CPU1 management a little
- Using the v20q wifi driver
- Optimize the kernel installer, now the text is fit in the new touch CWM
Updates 2012.02.03.
- #3: Fix issue: screen brightness is reset to default level after a screen unlock
- #2: Remove bravia engine from the installer (wait for the proper Gallery3D apk by owain)
- #2: Merge updates from the v20q kernel
- #2: Follow CM7 changes
- New Freq/Voltage table for the CPU (double check setcpu/cpumaster/etc. profiles!)
- Adjust second core management
- Updated battery charger driver
- Default low voltage is 780mV, max is 1250mV
Updates 2012.01.30.
- Non star drivers pulled from the cm7
- Updated PowerKey and BackLight driver from the v20o
- New Freq/Voltage table for the CPU
- Adjust CPU dedicated low level voltage corner to 770mV
- Default low voltage is 790mV, max is 1250mV
- Disabling autogroup scheduler (its not necessary for our phones)
Updates 2012.01.27.
- Take close to the CM7, add new patch sets from the v20l-v20o_beta
- Readd memory compaction and auto group scheduler
- Lowest voltage is 790mV, highest is 1200mV
updates 2012.01.23.
- Fix Issue: Brightness level force changed back to the default level after a screen lock/unlcok.
updates 2012.01.22.
- Updated almost everything from the LGE v20l kernel, including tegra specific files, star drivers, and more..
- Updated Broadcom Wireless driver, ported from the SU660 kernel
- Using the default LGE output voltages (try to avoid any BSOD out)
updates 2012.01.18.
- initramfs: revert to the old compression method
- compcache disabled by default (you can enable in the /system/etc/init.d/90tweakaio file changing COMPCACHE="off" to COMPCACHE="on") please make sure that you are disable the compcache option in the cm performance menu, in that case zram module dont even load.
updates 2012.01.17.
- f71989e207: PM / Sleep: Fix race between CPU hotplug and freezer
- 9741d973f8: firmware: Fix an oops on reading fw_priv->fw in sysfs loading file
- aef3cb6ca5: offb: Fix setting of the pseudo-palette for >8bpp
- 0a3a07f15b: offb: Fix bug in calculating requested vram size
- 358e307557: asix: new device id
- 12e758904f: reiserfs: Fix quota mount option parsing
- 77915669ba: reiserfs: Force inode evictions before umount to avoid crash
- 7c78b92eec: USB: update documentation for usbmon
- 151053ab5e: drivers/usb/class/cdc-acm.c: clear dangling pointer
- e8afc51e81: USB: isight: fix kernel bug when loading firmware
- 3e830aefda: usb: usb-storage doesn't support dynamic id currently, the patch disabled this
- 94385b3ed4: USB: add quirk for another camer
- 0630cde299: USB: omninet: fix write_room
- 276e8d0584: USB: Add USB-ID for Multiplex RC serial adapter to cp210x.c
- 3bb5811b0b: asix: fix infinite loop in rx_fixup()
- f71989e207: PM / Sleep: Fix race between CPU hotplug and freezer
- f09bb6a7bf: SCSI: scsi_dh: check queuedata pointer before proceeding further
- 9ee3e4ab17: xfs: validate acl count
- 3c7af5a9c7: xfs: fix acl count validation in xfs_acl_from_disk()
- f2ab2a127d: Update Linux version to 2.6.32.54
- Update zram driver and compiled as module (backporting from the kernel 3.x)
- Update gyroscope driver (ported from the LG streamline) (better sample rate) (if you playing with racer game a lot, you will be pleased with this )
- Update AIO tweak file, compcache part logged to a new log file (if you have problem with the compcache, send me the /cache/compcache.log file)
updates 2012.01.13.
- Revert zcache/cleancache to avoid compatibility problem
- Remove the old ramzswap, used zram instead
- Fix voltage levels that not jump more than 100mV
updates 2012.01.12.
- Fix LGE board definitions (avoid boot problems on some devices)
- Minor voltage adjustment
- Revert ISL29018 regulator patch (its not working fine)
- Retry page fault when blocking on disk transfer patch
updates before 2012.01.12.
- modify some parameters, try to avoid conflict with other kernel developers (...)
- Update BFQ IO Scheduler to v3r1 and set to the default IO Scheduler
- Enable the group IO scheduling and optimized for high io workload (ported from the SU660 kernel)
- Update SIO IO Scheduler
- Add V/r IO Scheduler
- Update ZRAM staging driver
- Zcache/Cleancache backporting from kernel v3.x
- Enable regulator for ISL29018
- Update memory compaction (backported)
- ARMio: fix namespace conflicts
- improve SWP emulation enable (merged from the nv-tegra git)
- Patch: nVidia SPI patch for the SPI transaction stability (merged from the nv-tegra git)
- Fix bravia engine build.prop tweak, thx for hackworks!
- Reduce compcache default size to 50Mb (because the zcache not needed higher)
- Raise the force drop cache interval to 8 hour (because the zcache dropping cache manually not needed anymore, at least not so frequently)
- build.prop tweak fine tune: merged some values from V6 supercharger (note: V6 supercharger use the vfs_cache_pressure higher than 100!)
updates before 2012.01.11.
- Kernel updated to 2.6.32.53
- sched: fair sleepers for timer and interactive
- ath9k: Fix kernel panic in AR2427 in AP mode
- cfq-iosched: fix cfq_cic_link() race confition
- hung_task: fix false positive during vfork
- mmci: Fixup error handling for dma
- MXC PWM: should active during DOZE_WAIT_DBG mode
- SCSI: mpt2sas_scsih_smart_predicted_fault uses GFP_KERNEL in interrupt
- fix: vfs_read_cache_page should use gfp argument rather than GFP_KERNEL
- watchdog_hpwdt: Changes to handle NX secure bit in 32bit path
- battery: minor fix: battery readings using a more precise calculation method
updates before 2012.01.09.
- revert force set the screen off freq
- staging: added support for traditional ramzswap support
- cpufreq: stats: Do not account for idle time when tracking time_in_state
- crypto: SHA1 routine optimized to do word accesses rather than byte accesses, and to avoid unnecessary copies into the context array
- crypto: added CRC32c support
- lx6464es - fix device communication via command bus
- hda/realtek - Fix Oops in alc_mux_select()
- vlan: reset skb->vlan_tci field before reusing skb
- mm/vmalloc: eliminate extra loop in pcpu_get_vm_areas error path
- fix: export __get_user_pages_fast() function
- cpu: fix chunk range calculation
- timekeeping: add arch_offset hook to ktime_get functions
- tick-broadcast: Stop active broadcast device when replacing it
- PM / Suspend: Fix bug in suspend statistics update
- lockdep: Print lock name in lockdep_init_error()
- hugetlb: Replace BUG() with BUILD_BUG() for dummy definitions
- patch: kernel.h: Add BUILD_BUG_ON_USED() macro
- jbd/jbd2: validate sb->s_first in journal_get_superblock()
- hfs: fix hfs_find_init() sb->ext_tree NULL ptr oops
- eCryptfs: Extend array bounds for all filename chars
- USB: usb-storage: unusual_devs entry for Kingston DT 101 G2
- usb: option: add SIMCom SIM5218" has been added to source tree
- usb: ftdi_sio: add PID for Propox ISPcable III
- USB: whci-hcd: fix endian conversion in qset_clear()
- usb: added Motorola H24 HSPA module
- staging: usbip: bugfix for deadlock
- staging: comedi: fix oops for USB DAQ devices.
- fix: SCSI: Silencing 'killing requests for dead queue'
- fix: oprofile: Free potentially owned tasks in case of errors
- fix: p54spi: Add missing spin_lock_init
- fix: Generate correct i2c address sequence for 10-bit target
- oprofile: Fix crash when unloading module (nmi timer mode)
- Huge source cleanup
- cpu: make a kconfig menu that predefine AVP Overclock Freq, 3D Overclock Freq, DDR2 SDRAM Freq im trying to avoid static definitions. Everything what is possible is calculated dynamically from this values. This give as a much better compatibility.
- cpu: added support for cpu freq statistic polling
- cpu: add minmax governor software emulation
- cpu: added support for cpu screen off max freq (merged from SetiroN source)
- version: kernel version changed to 2.6.32.51
- cpu: added support for minimum number of ticks between polling interval for governors
- cpu: added support for sampling rate multiplier for governors
- block: fix default readahead size for small devices
- added fix for the function setup_vpif_input_channel_mode() that used the VSCLKDIS register instead of VIDCLKCTL. This meant that when in HD mode videoport channel 0 used a different clock from channel 1.
- crypto: added support for LZO compression/decompression
- power: added support battery driver for batteries implemented using NVIDIA Tegra ODM kit PMU adaptation interface
- added support: gpu can use overlapping system memory with some restriction, now is possible to build a special ramhack with increased total memory while the cpu is still can use maximum 128MB ram, if needed free up the system memory (refer to the carveout killer)
- added support PL310 errata: no automatic Store Buffer drain. On revisions of the PL310 prior to r3p2, the Store Buffer does not automatically drain. This can cause normal, non-cacheable writes to be retained when the memory system is idle, leading to suboptimal I/O performance for drivers using coherent DMA. This option adds a write barrier to the cpu_idle loop so that, on systems with an outer cache, the store buffer is drained explicitly.
- asm: Split trivial #if defined(__KERNEL__) && X conditionals to make automated
disintegration easier.
- power: redefine/optimize freq's and voltages based on the LG reference table (for better compatibility)
- fix: improve charging bsod fix
- every vorkkernel patch is already included
- included some usefull patch from the swiftextreme kernel (almost nothing can be usefull its sad that fajarep leave this community, but thanks for him his great work!)
- blockio: added SIO scheduler, updated BFQ scheduler
- zram: improved zram staging driver, fix sparse warnings, default zram devices increased to two (one for the swapped space, the other is for free use). default size, num devices depends on a config option.
- cifs: fix cifs stable patch cifs-fix-oplock-break-handling-try
- input device: add multitouch input library, improve toch screen responsiveness
- input: multitouch: Add hovering distance axis. The device now capable of contact hovering can use a special flag to indicate the distance between the contact and the surface.
- added support for predefined carveout_size (for the ramhack) (credits to SetiroN for the idea!)
- sched: Avoid unnecessary overflow in sched_clock
- memory: work-around (a.k.a. hack) to prevent pages with __GFP_COMP being passed to split_page() which cannot handle them.
- wm8994 audio driver: possible fix left and right speaker channel inbalance. boost left channel volume what is lower than the right channel
- mmc: core: eMMC in Sleep mode before suspend
- memory: Reclaim nvmap carveout by killing processes. Allow the system to reclaim carveout space by killing processes. This will kill the largest consumers of lowest priority first.
Primary Download location (10Gbps, instant no wait): Click here (no need to wipe cache/dalvik)
TweakAIO app (need to install once) (10Gbps, instant no wait): Click here
NvRM Daemon CWM Installers (v10, v20f, v20q): Click here
File name description:
YYmmddHHMM-CM7-ETaNa_STOCK/LOC/HOC_(DS)
STOCK: Stock version, max speed: 1015Mhz
LOC: Low overclock version,max speed: 1216Mhz
HOC: High overclock version, max speed: 1408Mhz
DS: DS battery driver
[CM7/MIUI Kernel][KANG][JUN14]CM7-ETaNa v3.0.34
Kernel 3.0.34 "stable" branch
Based on wkpark sources, cherry picked updates from the official linux kernel github source, Code Aurora and Linaro sources
I thank every developer who made their patches available to the public!
I wanna say thank you the following persons!
Spica1234 for the on the fly (aka OTF) pack. He is a great and dedicated developer, helping a lof about the OTF integration. Thank You bro!
Culblueswan for the Etana config editor application. He is developing this app so fast, made it the config change userfriendly. Thank You!
Important!
The first boot may take while, its possible that after the second LG logo the screen will be black, DONT!! pull out the battery, just wait a few second, the bootanimation will be show soon. The second boot will be much more faster
Linux version 2.6.32.y is discontinued, only emergency bugfix will be available in the future
Touch CWM is incompatible with this kernel!! Use the normal CWM version! Its possible that the touch CWM cause the filesystem corruption and the r/w bug.
Latest SetCPU have a bug even with the 2.6.32 kernel sometimes (and the stock cm7 too), that the second core will be always active! Use the 2.2.4 version, its working fine.
Antutu CPU master 100% compatible with the kernel 3.0.y (have many profile and cpu1 deactivation is working fine)
Recommended using Antutu Battery Saver app
3G eat the battery fast, its a weak point of the O2X. Use the Toggle2G app for switch back to 2G if the screen is off or the network is not used. This will help to save a LOT battery life
Update 2012.06.17:
Linux kernel updated to 3.0.34
Disable ARCH power
Tweak CPU topology
Minor thermal adjustment
Minor voltage adjustment
Some small fix
Update 2012.06.08:
Optimized build flags for the new toolchain
Kernel is compiled with Spica (c) supersonic toolchain, specially optimized for ARM devices
Enabled ARCH POWER
Updated ARM CPU topology code
sched: minor fix
FS: Backport dynamic writeback feature from 3.1
Small hotplug fix
Disabled frame pointer (this will increase performance)
Update 2012.06.05_16h:
NEW: Fixed wrong SDRAM speed and voltage definitions
Linux Kernel updated to 3.0.33
Optimized build flags
Update 2012.06.03:
CPU freq lowered to 1504Mhz max, 1552 not stable for everyone, 1504mhz enough for good
Revert CPU based alignment handling (cause random poweroff and bsod)
Update 2012.06.03:
Max CPU speed increased to 1552Mhz (can be use in xoc mode)
SDRAM freq increased to 333Mhz
Kernel is compiled with CPU alignment support and updated build flags
USB mass storage speed issue fix
CPU1 control increase max threshold values
Set HZ to 250 and user HZ to 150
Older changelogs:
Update 2012.05.30:
Major voltage and stability fix.
Various code cleanup.
Update 2012.05.28:
Fixed etana.conf parsing bug while the kernel install (its not depending on the endline character)
Minor Code Cleanup
New feature: Higher Min CPU freq (can be enabled in the etana app) use this if you have unexpected shutdown and/or bsod while the phone is sleep.
Update 2012.05.27:
OC max speed increased to 1504Mhz. The predefined 'hoc' level max speed remain in 1408Mhz. 1504Mhz only can use in the custom settings.
Accepted freqs: 216000 312000 324000 456000 503000 608000 760000 816000 912000 1000000 1100000 1216000 1232000 1336000 1408000 1424000 1472000 1504000
Accepted voltages: 775-1325
Update 2012.05.25:
Add sysfs like OC control, see Etana app and /system/etc/init.d/99overclock for detailed information. If you dont want to use custom freqs just select one of the OC levels in the etana app otherwise see the top of the 99overclock file.
AVP, VDE, GPU freq can be adjusted in the etana.conf (used only when the kernel installed!) or after that with the 'otf' script. follow the script on screen order
Minor bugfix, and adjustment
Update 2012.05.23:
Fixed (hopefully) every bug
Update 2012.05.22:
Updated to Linux Kernel 3.0.32
Fix touch screen lag
All wifi driver issue is fixed, including connection loss, battery drain, etc.
Fix a minor bug in the second core OTF code
Fix some incomplete tegra code
Cleanup tweakaio init script, remove some useless stuff
Adjust read ahead sizes for better io speed
Update 2012.05.21:
Use the v20f nvrm_daemon binary, i tested all binary and this one is far the most stable and have great battery life
Minor voltage fixup
Minor OTF code cleanup
OTF: remove screen off max freq part, its malfunctions (use your favorit third party app)
Etana app: remove cpu undervolt (use your favorit third party app)
Update 2012.05.16:
Light voltage adjustment
Minor bugfix
Update 2012.05.15:
NEW: Kernel based protection for the sysfs values (in that case the init script missing or something)
NEW: Fixed busybox 1.20 incompatibility issue
New NITRO feature (immediately boost everything, override the current values. after disabled change back everything to the previous value. use: "echo 1 > /sys/class/misc/nitrocontrol/nitro" for enable or "echo 0 > /sys/class/misc/nitrocontrol/nitro" for disable) NITRO can be enabled permanently from the etana app, but its not recommended.
New Tweakaio factory reset option (see in the Etana editor app)
Readjust GPU, VDE, AVP and CPU1 threshold's
Use a new CPU freq/voltage table
Remove LPDDR2 and DDR2MIN from the OTF
Introduce the sysfs OTF
video: tegra host nvhost syncpt fix up from v21 source drop
star powersupply/battery: code fix up from v21y source drop
star/headset_det: add wakelock for headset_det from v21y source drop
mach-tegra/suspend: AVP suspend code fixup from v21y source drop
Fixup: tegra2 clocks: APB peripheral clock fixup from v21y source drop
video: tegra-fb disable addr change via sysfs interface
kernel/printk: disable console_suspend_enabled from v21y source
Update 2012.05.12:
Fix Battery drain
Minor bugfix
Update 2012.05.11:
Add Vibrator Control v1 by Benee (adjustable from the ETaNa app or realtime)
Force fast charge patch by Chad Froebel (see here)
Update 2012.05.09:
Enable some netfilter option
ARM console flushed on restart
Enable resource counters
Re-Enable CPU ThumbEE extension support (it was temporary disabled)
Separate cpu sysfs removal process from the main table
Lowering EMC Core Voltage
Adjust default AVP freq
Revert sound quality patch
Update 2012.05.07:
Fixed compatibility issues with some games (Draw something, Plants vs Zombies, etc..)
AdBlock hosts 2012-05-05
Remove sqlite patch (its a quite old binary and not faster like the original, so use the cm7 sqlite library instead)
tweakaio app moved to the system partition
TweakAIO init script: check the param and help file size, if its zero or not exsist then recreate
Many defconfig change
Linux kernel updated to 3.0.31
Anton Vorontsov's lowmemory killer patch set, backported from kernel 3.3.y
Adjust default VDE Freq
Added FSync Control version 1
lib: introduce some memory copy macros and functions
Optimized ARM RWSEM algorithm
Add the optimized crc32 algorithm
Update 2012.05.06:
fix: the tweakaio.conf will be recreated at boot if doesn't exsist or have zero byte size
Increase KSM sleep millisecs
Adjusted build.prop tweaks
Battery overheat patch by wkpark (this can be help to avoid charging SOD's)
Wireless: PM_FAST for bcm4329 - from Myshkinbob of XDA
LGE: use v21y battery driver
Backported fixes from the LG p999 v21y kernel
Update 2012.05.03:
Minor code cleanup
Updated ZRAM driver
Enabled Sched MultiCore Scheduler powersave mode
John Stultz ram console patch set
Switch to sysfs console
Disabled the framebuffer console (it useless in a headless device, and interfered with the sysfs console)
Various memory fix
Adjust voltages for better stability
sched: fix OOPS when build_sched_domains percpu allocation fails
Switch to SLAB allocator
Linux kernel is updated to 3.0.30
Update 2012.04.27:
Revert SLQB allocator (it seems this caused the boot issues)
Update 2012.04.26H14:flash this latest version if you have boot problem with the OC version, otherwise dont really need
Minor Cleanup
Disabled CPU Topology support (it might be cause "strange" issues)
Update 2012.04.26:
Integrated morckx ext4 reinit script to the installer (its now fully automatic)
Adjust KSM values (c) Owain and add a new feature to the etana app (KSM enable/disable)
TweakAIO init script is now fully independent, at the first run "install/update" himself, if you have any custom value it wont be lost
CPU alignment patch (c) Spica (maybe this can be help to avoid the boot issues)
Update 2012.04.25
- Improved OTF battery protection support in the DS battery driver too
- Adjust protected low virtual memory size for help to avoid kernel NULL pointer bugs
- Catalin Marinas: Kmemleak patches (backported from kernel 3.3.y) see this link for the details (+20-30MB free memory)
- Adjust PMEM allocator for better performance
- Kernel HZ = User HZ which eliminates HZ USER_HZ conversions. Should slightly increase battery life without effecting performance
- Enable ARM ThumbEE CPU feature (should give some minor JIT performance improvement)
- Remove BPF_JIT (no need for kernel 3.0.y)
Update 2012.04.24
- Compiled with a brand new build server using the latest stable linaro gcc 4.5 (i hope its gonna be solve the boot hang)
Update 2012.04.23-b1640
- Kernel is build with Linaro GCC 4.5.4 and disabled ccache
- Revert: EXT4 module use for EXT2/3 (it seems this cause problem on some case)
Update 2012.04.23
- Linux Kernel is updated to 3.0.29
- Adjust the kernel for better powersave (better battery life)
- Add VR io scheduler support (default is SIO)
- Add back an updated SLQB allocator (its still the fastest)
- Adjusted read ahead for optimal io performance
- EXT4 module use for EXT2/3
- Enable Kernel Samepage Merging (its the same like in the CM9)
- Adjusted memory management
Update 2012.04.18
- Minor bugfix
- Optimize for better battery life (hopefuly)
- Compiled with latest linaro gcc 4.7.1 source 2012.04 (own build)
Update 2012.04.17
- Add google "snappy" compression support
- Advance zram that can be use the snappy compressor (twice as fast like the lzo)
- Adjust the kernel config for better performance
- Optimize Cleancache/Zcache/Frontswap
Update 2012.04.16
- Backported frontswap from the kernel 3.3.y, and used together with cleancache
- Enabled SMT (multicore) scheduler
- Kernel is compiled in Thumb-2 mode (O2, hardfloat), using with gcc 4.7.1 (own build)
Update 2012.04.15
- Kernel updated to 3.0.28
- Owain KSM values, provide better battery life
- Ramhack changer script fixed, but make sure that you have root right before run the script (i suggest that use the script manager app)
- Some source code cleanup
Update 2012.04.12
- OverClock version now available with undervolt support
- More speed tweak for better speed and responsiveness
- Use SLUB allocator by default
- Better memory management
Update 2012.04.11
- Alternative ZRAM driver, what is can be working as a module
- Disable cleancache, its just causing lag
- Disable some debug features
- Code cleanup, optimized build flags
Update 2012.04.10
- SU binary update only optional, put the 'update_su' row to the etana.conf if you want to update the su binary
- Adjust ext4 module options, maybe it will fix the system r/w mount issue (im not sure)
- Some minor config change for better stability
- Still no OC, i cant get that part work for now
Update 2012.04.09
- MMC IO speed fix (wkpark patch)
- Touch screen tweak
- Optimized makeflags
- Various speed tweak, system is more responsive even without the OC
- Compiled with gcc 4.5.4 for better compatibily
- Installer will find and check the su binary version, if outdated it will be replaced with the latest version (3.0.3.2)
- TUN, nfs client is compiled to the kernel, cifs, ntfs, wireless as a module
Update 2012.04.07
- no overclock at the moment because it seems this caused the boot and the bsod problems
- full otf and ramhack support
- improved touch screen responsiveness, merged from the cm7 kernel
- improved power management support, better battery life
- many small fix..
Update 2012.04.05
- Kernel updated to 3.0.27
- Assimilated the Lite driver to the Stock, only the DS driver left separated
- All of the goods is integrated, ramhack, otf, oc/uv, tweakaio, etc...
- Thx to imperticus for some source cleanup!
Changing ramhack, avp, gpu, vde:
start the terminal app then write:
su
otf
follow the on screen instructions then reboot
Spica OTF tweaks realtime parameters can be adjusted via the official HP kernel tweaker app (found on the market). The boot time parameters can be adjusted from the Etana config editor app (included in the kernel installer).
Spica OTF pack further information can be found in this forum: http://forum.xda-developers.com/showthread.php?t=1295486
You can find any information what you need in there.
Installer configuration file need to be place in the sdcard root. You can set what you need and the future version respect that file, so dont need to change anymore. Example: you can exclude that install the custom font.
Note: The kernel installer just update your tweakaio config file with the cpu uv parameters, not overwrite, so if you have custom values you not loose them.
The New parameter file location is: /data/tweakaio/tweakaio.conf
Log files in: /data/tweakaio/tweakaio.log
The installer script respect the parameter file in the future, so if you have some custom settings you will not loose this in a kernel update.
Parameter file is optimized for the phone screen, it can editable with any text editor app or with the Etana kernel tweaker app.
Kernel Features
Balanced AVP OC freq
Balanced 3D OC Freq
Balanced DDR OC Freq
Balanced Second Core Management (lag free)
Default CPU freq is 1015Mhz
Max CPU speed is 1216Mhz/1408Mhz depend on OC profile
Optional Compcache (disabled by default) (you can enable that by editing the /system/etc/init.d/90tweakaio file and change COMPCACHE="off" to COMPCACHE="on"
System logger is leave enabled by default (you can disable that by editing the /system/etc/init.d/90tweakaio file and change LOGGER="on" to LOGGER="off"
Voltage adjustment
216Mhz: Def: 790mV Min: 770mV
324Mhz: Def: 830mV Min: 780mV
503Mhz: Def: 880mV Min: 800mV
655Mhz: Def: 900mV Min: 820mV
816Mhz: Def: 930mV Min: 850mV
1015Mhz: Def: 1030mV Min: 950mV
1216Mhz: Def: 1200mV Min: 1150mV
1408Mhz: Def: 1300mV Min: 1250mV
Recommended CPU profiles for optimal performance
No1: In call: 216-456 or 324-456(*)
No2: Screen off: 216-324 or 324-324(*)
No3: Charging: 216-1408 or 324-1408(*)
No4: Battery <20%: 216-816 or 324-816(*)
Note: (*) Use this if you're having a problematic phone (which doesn't like UV and has a lot of BSODs). The stock kernel doesn't use the 216Mhz setting, some hardware may not support this(!), so that's why I recommend to use 324Mhz as the minimum value if you have problems with 216Mhz.
Primary Download location (10Gbps, instant no wait): Click here
File name description:
YYmmddHHMM-ETaNa_STOCK/OC_(DS)_OTF
STOCK: stock freq steps, no overclock
OC: overclock version
DS: DS battery driver
OTF: on the fly toolkit (c) Spica
[CM7/MIUI Kernel][KANG]CM7-ETaNa
reserved...
awesome nice work mate goodluck and keep the good work comming!
looking forward
Finally you made your own thread
It started to become a little confusing over in the old thread.
I really love your hybrid version of IronKernel and hope that this kernel will be awesome too. I'm looking forward to it
Sent from my LG-Stone from the Prehistory...
Nahh... Just kidding!
CM 7.2 Koboltzz KANG
IronKernel 32MB
good luck on your new built.
I'll help testing on my free time.
by the way how can i modify the name of my own thread? i see that other users can do that.
vadonka said:
by the way how can i modify the name of my own thread? i see that other users can do that.
Click to expand...
Click to collapse
go to your first post
click on "edit post"
then click on "go advanced"
and there you can change the title =D
owain94 said:
go to your first post
click on "edit post"
then click on "go advanced"
and there you can change the title =D
Click to expand...
Click to collapse
thanks, i dont know that.
maybe later it will be necessary
Good luck on your builds mate. I'm excited to flash the 1st link you'll post here.
salisbury_steak said:
Good luck on your builds mate. I'm excited to flash the 1st link you'll post here.
Click to expand...
Click to collapse
+1
Good luck !! I can't wait
i was update the first post some news
Waiting for noram hack cause want to 100% working my phone
amazing new features
nice kernel for o2x will wait to try it
BTW It will be compatible with CM 7.1 stable?
econ said:
BTW It will be compatible with CM 7.1 stable?
Click to expand...
Click to collapse
Most probably yes - but I would advise you update to latest KANG since CM7.1 stable is rather old now...
Yeah, but for me is very fast, and solid stable (any BSOD or freeze after few days using) so I don't see any reason to upgrade OS to experimental build. If I aint right explain me
im finish the cherry picking for now, all of the important patch is merged.
im start to write a CWM update script with some optimization. i dont want to release this kernel with only a simple kernel reflash
the good news, the hard work is done

[KERNEL][14/07] NX-Kernel v1.4.2

STOP! This kernel supports ONLY CM10.1.x, AOKP-4.2.2, PA-4.2.2 ROMs.
It won't work on Samsung Jellybean/ICS, AOSP ICS, CM9 or CM10.
Carbon ROM may be incompatible with NX-Kernel.
✯ ✯ ✯ ✯ ✯ NX - KERNEL ✯ ✯ ✯ ✯ ✯
... because we deserve more ...​
Description:
Welcome folks! NX-Kernel is highly advanced kernel for pure android ROMs. It is under continuous development with new features along with integration of new linux kernel.
NX-Kernel auto-installs NXTweaks app. This app based on STweaks by GokhanMoral. This app is core of this kernel. It will help you to fine-tune and get total-control over your kernel.
Touch-sensitivity, GPU, CPU, Kernel, mDNIe, Charging currents, etc already tweaked and controllable by NXTweaks.
Dynamic Tweaks enabled by CortexBrain will help you to save power and increase performance at the same time! It gives dynamic tweaks based on screen on or off.
Use it to experience it! You can read more features below.
One more thing, I would like everyone to know - Only Kernel is not responsible for your device.
Device configuration, ROM, installed app, usage plays important role!
If you believe kernel is not stable, move on because it's probably you who are unaware how to use kernel.
Features:
✔ Kernel version updated to 3.0.86
✔ Linaro Build Kernel (Much better performance, search on XDA to know more)
✔ Auto-installs kernel tweaking app "NXTweaks" based on STweaks source by GM.
✔ Governors included: HYPER (default-tested), HYDRXQ, Lulzactiveq, Pegausq, SmartAssv2, Adaptive, Conservative, Interactive, Ondemand, Userspace, Powersave, Hotplug, LagFree, Nightmare, Intellidemand
✔ I/O Schedulers included: BFQ, CFQ, NOOP, DeadLine, ROW(default), SIO, ZEN
✔ Overclocked to 1.6GHz (1.4 GHz default, overclocking is optional).
✔ GPU Control interface. Can be overclocked upto 400 MHz!!!
✔ Charge Control Interface. Find it NXTweaks app to increase/decrease charging current.
✔ mDNIe Screen Control Advance Interface
✔ CPU Control Interface
◢ Sound Control Interface - Sound Boost for mic, headphone and more Removed on demand.
✔ Charge Control Interface - Increase/Decrease charging current for USB, AC and Misc
✔ Massive script for kernel/ROM management. It's will work auto and set lots of tweaks: NET tweaks, GPU tweaks, CPU management, Deep Sleep Tuning, Charging states, and more! We call it CortexBrain!
✔ Swappiness is set to 0 in zram-swap script. With ZRam is in action while you run out of memory.
✔ CortexBrain integrated - Gives dynamic tweaks on screen on/off
✔ ZRam Settings on-the-fly
✔ Fully customized RAM-DISK to inherit more optimization
✔ Working FM-Radio with Spirit FM app.
✔ Optionally loadable XBOX controller, USB-to-Serial and many more modules.
✔ Fuel-Gauge Reset
✔ Low Sound fixed. Enjoy more gain to your music and other media.
✔ Frequency adjustable under Performance Control or any relative app.
✔ Battery friendly. Less wakelocks.
✔ Init.d script tweaks: Smart & Fast Zipalign, Database compaction and optimization
✔ UMS and MTP mode can be selected on-the-fly from NXTweaks
✔ No depletion of entropy pool - Increases performance of app loading.
✔ Entropy Tweaks
✔ Philz Touch recovery - Latest
✔ Dyanamic FSync -- Disabled for now
✔ Supports Tegrak 2nd core app for hotplugging.
✔ Ultra KSM from 3.9.y kernel.
✔ Many fixes & upgrades viewable on github source.
Links:
▷ Download Here | http://www.mediafire.com/?0p1do44rqfur5 (Go ahead. Unleash.)
▷ Kernel Source | https://github.com/neobuddy89/NX-Kernel-exynos4
▷ Ramdisk Source | https://github.com/neobuddy89/NX-initramfs
Warning:
◢ In case your device auto-reboots while flashing ANYTHING, you need to reflash it!!
◢ It's your device. It's your responsibility for what you flash. Do not blame us.
Credits:
▷ CyanogenMod Team
▷ Andrei Lux
▷ Temasek
▷ Gokhan Moral
▷ Dorimanx
▷ Voku
You may post anything related kernel. Make sure to mention ROM name, Governor name, IO Scheduler name.
Feature request is served if feasible.
How to obtain optimum battery life?
▷ If you are comparing/complaining battery life on NX, CM, touchwiz kernels, NX is not for you, stay with CM/touchwiz.
▷ NX Kernel is more performance driven and little less battery saver compared to CM Kernel.
▷ This is because we use 16 dynamic frequency steps, high performance governor, and advance features.
▷ In case you overclock CPU or even GPU, you are tend to have less battery life. So don't overclock if you wish battery over performance.
▷ Do not undervolt too much, it starves your device and may have adverse effects like SOD/freeze/soft reboot.
▷ There is a app named 'Battery Widget Reborn', use it and enable Night Mode Power save.
▷ One more app 'Fast Dormancy Toggle for I9300', use it if your network doesn't provide dormancy. Google for more info.
▷ Don't keep monitoring battery every now and then. Treat it good.
▷ Have full battery-charge cycles 2-3 times in a week which means when battery drains below 20%, charge it to 100% without interruption.
▷ Sign out google talk / hangout if you don't use, it drains power.
▷ Wakelocks is another enemy if they come unnecessarily from installed apps. You can monitor with very good app named 'Better Battery Stats', it's paid app.
▷ Use Performance/Extreme Performance profile from NXTweaks only when required, restore default whenever possible.
▷ It is highly recommended to turn off AUTO SYNC option day time and use it only when charging.
▷ Even your touch-screen drains power when screen on. Never use full brightness. Use auto-brightness or low brightness.
If you follow these advice atleast for a week, you will have optimum battery life!
In case you have SOD (Sleep of death) or SOFT Reboot, please check following:
✔ Minimum Frequency should not be less than 200 MHz
✔ You are using stock settings for voltages and haven't undervolted
✔ Default Governor is stable one, recommended to use for good stability
✔ You haven't installed or have activated any apps or scripts which interrupt settings of NXTweaks
✔ Similarly, do not use apps that implements profiles like 'screen off' , 'on call', etc
WiFi Issues? Follow the below steps:
▷ Open WiFi Advanced Options. In region, select any region and then select US. This may not be available on all ROMs.
▷ Open NXTweaks, under Tweaks Tab, tap on "Clear WiFi Lease" button.
▷ Under Charging Currents Tab, tap on "Reset Fuel Gauge"
▷ Reboot in recovery, Fix permissions.
If you still face issue, clean install good compatible AOSP ROM + Gapps, (optionally flash NXKernel), follow above steps.
If issue persists, you may need to get hardware checked.
Topic explaining all basic Governors & I/O Schedulers: Click Here
Default Governor:
Hyper - The Hyper (formerly known as kenobi) is an aggressive smart and smooth, optimized for SMDK4210 board getweakt and, based on the Ondemand, which was getweakt of Arighi and was equipped with several features of Ondemandx suspend imoseyon. (Added by sysfs, the settings suspend_freq and suspend Imoseyon's code) is the behavior of the hyper Ondemand if he is in action, very similar. He also has the Arighi's fast_start deep_sleep and detection features.
Default IO Scheduler:
ROW - ROW is Read Over Right. As name suggests it services more READ requests than WRITE taking care that WRITE requests don't starve. It is most suitable because Android handhelds unlike desktop hardly uses multi-threading and a user seeks more of responsiveness than giving more input.
My Recommendations:
Recommended Governors: HYPER > NeoX > SmartAssv2 > LulzActiveq > Nightmare > Intellidemand > Others
Recommended Schedulers: ROW > ZEN > BFQ > CFQ > SIO > NOOP > Other
NXTweaks gets auto-installed when you flash this kernel.NX-Kernel Changelog:
v1.4.2:
Kernel Linux Mainstream version upgraded to 3.0.86
CortexBrain fixed for freezes but disabled by default. Needs further testing.
New panic values for CortexBrain. Under test.
Reset NXTweaks settings on flash.
Allow 800mV UV. DO NOT REPORT ANY INSTABILITY IF YOU USE THIS.
CPU freq hotplug fixes in driver
Disable power save bias for Hyper by default
Remove non-working Ad-block feature from NXTweaks until fixed
Code fixes for CRON jobs
Enable SELinux Support
GPU Thresholds restored from 1.3.5
v1.4.1:
Kernel Linux Mainstream version upgraded to 3.0.85
ARM topology updates downgraded to fix compatibility issues with some ROMs
v1.4.0:
Stability patches: Revert few suspicious commits from previous versions
Updated Linaro Toolchain to 4.7 GCC 13.06
Retuned GPU Voltages for default profile according to Samsung's source
Retuned GPU Threshold values for default profile
Pulled RAMDISK updates from official CM Kernel
v1.3.9:
This version is Google GCC 4.6 Compiled
Kernel Linux Mainstream version upgraded to 3.0.84
Retuned exynos current values and throttle temperature
Fixed busybox issues
Hyper governor now has affinity for 200 MHz instead of 400MHz
ROW I/O scheduler updated heavily from Android Linux 3.4 Kernel
ARM topology major update and fixes from Android Linux 3.4 Kernel
Compcache service of CM10 ROMs disabled
Minor fixes for stability and performance
Better fixing of corrupt data partition, if needed & detected on boot (merged code in ramdisk)
v1.3.8b:
Enable sound driver used on AOSP Roms
v1.3.8:
Fix Video Recording Regression in 1.3.6 and 1.3.7
Remove Sound Control since its fixes caused video recording regression
Minor fixes (reverts) to restore stability
v1.3.7:
Use Hard Float & Neon Libraries for VFP
Small update for Nightmare governor
Disable Autoplug CPU Core Control by default. It's experimental.
Minor USB config fix
Kernel forward ported fixes [1] [2] [3]
v1.3.6:
Kernel Linux version upgraded to 3.0.83
ARM Topology updates
Modem sensors ported from SMDK4210 (sync with CM)
ZRam Upgrade
CortexBrain complete rewrite
SMP small update
MMC Driver updates and fixes
Add AUTOPLUG option in CPU Control (NXTweaks)
Fix busybox issue with NXKernel
Few forward ported fixes and functionalities
Fixed and re-added Sound Control
v1.3.5:
Kernel Linux version upgraded to 3.0.82
Super cleaned ramdisk - This helps loading of modules
CPU Frequency managing policy upgrades [1] [2]
Added missing and few new functionalities to exynos cpu frequency policy
Updated and enabled Zzmoove governor. Much stable now.
Nightmare governor upgrades
Slightly decrease saturation for master sequence. Master sequence is still WIP.
Major fixes for compile warnings. No more wasted or uninitialized variables.
Added missing CDROM attribute to USB driver
VFP upgrades forward-ported [1][2][3]
New sampling rate for HYPER governor
Minor Fixes for NeoX Governor
v1.3.4:
Kernel Linux version upgraded to 3.0.81
Stability fixes for CortexBrain
Stability fixes for battery drain on boot
Add missing patch to configure OOM on screen on/off via NXTweaks
Hyper Governor: Less greedy on boot
Added new AssWax and SavagedZen Governors from Chasmodo's kernel. Thanks Chas!
Fixed frequency limits of AssWax
Nightmare Governor: Stability fixes
Removed unreliable experimental features of NXTweaks
Updated NXTweaks app for stability and more
Retuning of Master Sequence for mDNIe
Faster freezing of process for low power mode
Increased polling interval for battery
Retuned transition latency (now it's perfect)
Frandom Tweaks Added - Enable it from NXTweaks
Changelog of previous versions in below post. ​
Changelog of Previous versions:
v1.3.3:
Upgrade Linaro Toolchain to latest 13.05
Hyper governor upgrade and fixes
Disable zzmoove, sleepy and abyssplug governors
Added intellidemand and nightmare governors
Added Auto-Disable-Media-Scan tweak (Enable from NXTweaks)
Added GPU-Power-Saver tweak (Enable from NXTweaks)
Decrease sharpness and chroma saturation for Master Sequence in mDNIe
Use UI + Dynamic as default mDNIe. Cyanogenmod mode is too bright.
MMC updates from i9300 update 9
CMA (memory) updates from i9300 update 9
GPU minor updates from i9300 update 9
Wifi Fixes and update
Fixes for Dynamic FSync for data loss (Still disabled)
CortexBrain tweaks retuned
v1.3.2:
Revamped mDNIe advanced controls
Added "Cyanogenmod' scenario to mDNIe
Added "Hook Intercept" which when enabled, you can customize mDNIe color channels
Added "Master Sequence Intercept" in mDNIe which discards all mDNIe profiles/scenario and use its own
Added "CPU Control" interface - You can even tune governor and iosched for deep sleep!
Stability fixes & battery life improvement
Sync with smdk4211 (exynos4) tree of cyanogenmod
New defaults for VM in NXTweaks
ZRam description corrected
More explanation to NXTweaks features by me and Formhault
Please Note: AbyssPlug Governor is under test, in case of any SOD .. change Sleep Governor.
v1.3.1:
Introduced UKSM - Ultra KSM - can be enabled via NXTweaks Memory Control
Fixed External SD Card Mass Storage
Fixed CRON Jobs for some ROMs
mDNIe settings from Exynos4, use mDNIe settings from NXTweaks
Complete redesign and minor fixes for NXTweaks
Added ability to generate debug reports
Memory configuration adapted from Note2/S3 (DMA_CMA)
Attempt to fix recovery reboot
Attempt to fix soft reboot, if any.
Upgraded HYPER and ZZMOOVE governors
Fixes for fuelgauge
Fixed and rewrite features of NXTweaks
v1.3.0:
NX-Kernel fully merged with and compiled from new Exynos4 Tree of codeworkx
Kernel Linux version upgraded to 3.0.80
Ramdisk: Fixes for WiFi toggle, Radio, Module Loading
Frandom is now compiled as module (More usage of this maybe exploited later)
Added missing Samsung J4FS module support to exynos4 merged tree
Replaced broken video driver of exynos4 tree with one from smdk4210
Entropy tweaked and tuned
WiFi wakelock disabled in Suspend mode
Tweaks for WiFi driver - Disable GAN_LITE_NAT_KEEPALIVE_FILTER and allow to change WIFI MAC address
New touchscreen kernel sensitivity tuning
Default touch screen sensitivity in NXTweaks is now 30 (Touch sensitivity is perfectly tuned now!)
Use journal writeback i/o tweak instead of ordered
Little OOM tuning for cortex brain
Minimum GPU voltage allowed 900mV
v1.2.2:
Kernel Linux version upgraded to 3.0.79
Linaro Toolchain updated to GCC 4.7 2013.04
Experimental Tweak to increase touch sensitivity / smoothness (as requested, need feedback)
Fixes for wifi toggle delay
CortexBrain retuned
Added new experimental Ram-Clean on Screen off cortexbrain option
Fixed external module loading and added option to force load
Minor fixes
v1.2.1:
Recovery updated and little fixes
Init binaries GCC 4.6 compiled
Introduce new advanced "Cortex Brain" which gives dynamic tweaks on screen on/off
Introduce CRON Jobs for maintenance
Introduce extra Modules which can be loaded optionally on boot (EDS, XPAD, USBtoSerial, USBNet, etc)
NX Init.d Scripts removed and functionality coded into NXTweaks
Init.d scripts execution can be controlled
ZRam can be turned on/off or increased on-the-fly via NXTweaks
USB Mode - Mass Storage or MTP can be controlled by NXTweaks
Lots of new tweaks and customization
v1.2.0:
GPU Control Interface added
mDNIe Screen Control Interface
Removed Sound Control Interface and changes
Experimental: Allow higher charging currents. Default is good. Dont change if you are unsure.
Attempt fixing soft reboot. NXTweaks app is not open source, so in case of app FC or freeze.. Please reboot.
Reduced logging and ftrace_init removal
Many upstream fixes and tweaks
A test version using CM's New MALI libraries
v1.1.9:
Completed sanitization of Ramdisk - Based on latest CM10.1
WiFi Toggle sluggishness fixed (Tested)
Attempt fixing SpiritFM support (Please Test)
Added Sound Control Interface. (Find it in NXTweaks app)
WiFi driver panic fixed (Thanks Alex!)
Small timeout changes with WiFi
Prep for Screen Control feature for next version
v1.1.8b:
Ramdisk binaries restored to fix wifi driver init. Still little sluggish wifi toggle.Workaround: Screen off and then on.
Complete sanitization in next version
v1.1.8:
Kernel Linux version upgraded to 3.0.77
Added Charge control interface (find it in NXTweaks)
ROW i/o scheduler completely redesigned as per new linux implementation
Deadline i/o scheduler tweaked
Recovery fixed, no auto reboots + new binaries (Needs more testing)
Recoded pre-init and post-init scripts in ramdisk + new binaries
Added mdnie sys interface to fix mdnie sharpness tweak on boot
Options of NXTweaks fixed
Profiles management introduced in NXTweaks (Pre-stage)
Writeback tweak fixed when screen ON
IPv4 Tweaked (backport)
More kernel fixes
v1.1.7:
Kernel Linux version upgraded to 3.0.76
Introduce NXTweaks app (Pre-stage, gets auto-installed)
New recovery
Add new NeoX governor (It's new Pegasusq optimized governor. Test it.)
Reduce mali gpu utilization timeout.
v1.1.6:
Disable Dynamic FSync
Rectify Locking frequencies
v1.1.5:
Attempt fixing recovery to avoid any data loss. This means recovery of v1.1.5.
Fixed alignment trap turning on automatically. It's off now.
Toolchain fixes for SMC architecture and GCC 4.6 compatibility
Added network tweak
Reverted back old voltage table
v1.1.4:
Kernel Linux version upgraded to 3.0.75-RC1
New voltage table. Tested for a day - no freeze or SOD.
Update zzmoove governor. Still under test.
Unaligned memory access for optimization
Corrected LOAD_FREQ for kernel/sched
Snappy Compression Library added
Add Google's Snappy compression support for ZRam
HYDRXQ governor optimized. This may fix lag on heavy apps.
AbyssplugV2 governor fixed for dual core processors. Not tested completely.
v1.1.3:
Kernel Linux version upgraded to 3.0.74
Added VR I/O Scheduler
v1.1.2:
Discard all commits of v1.1.0 & v1.1.1
Overheat Fix
MTP Fix
CWM Recovery updated to 6.0.3.1
v1.1.0 & v1.1.1:
v1.1.1c:
Fix SOD/Freeze - Revert voltage changes'
Revert "Reduce timeout to freeze process when device enters low power mode"
v1.1.1b:
Disabled CLEANCACHE
Disabled Dynamic Fsync
Disabled Namespaces
Disabled journaling tweak.
v1.1.1:
Revert using NEON libraries to fix screen freeze
Revert wifi Ad-hoc mode
Little faster boot for Carbon ROM.
v1.1.0:
Kernel Linux version upgraded to 3.0.73
Recovery version upgraded to 6.0.3.1
New temperature throttle values to fix overheat.
Fix battery temperature
Add 25mV at 1600MHz for stability
Reduce 25mV at 100MHz for power saving
Fixed MTP mode. Delete init.d/enableUMS and reboot to enable MTP.
Add VR IO scheduler
Enable wifi Ad-hoc mode. Not tested.
Fix possible deadlock in Panic mode
Use NEON libraries for VFP. Same is used in CM.
Dynamic File Sync optimizations. [1][2]
Reduce timeout to freeze process when device enters low power mode
Improve cleancache for ZRam
v1.0.x -
v1.0.9:
Fixed WiFi Tethering
Linaro Toolchain updated to GCC 4.7 2013.03
Fixed and enabled ZZMOOVE governor
Add ABYSSPLUG2 and HYDRXQ governors
Attempt to fix partial data loss for some users
v1.0.8:
Attempt to fix MTP [1][2]
Optimize Kernel Sched [1][2]
Add ARM Topology (this adds to overall arm device optimization)
Reposition wakelock destroy call for drivers/input/evdev.c
Fix possible memory leak in mmc
v1.0.7:
Increase GPU lowest frequency from 100 MHz (which was recently introduced by CM) to 134MHz
Introduce 4-step GPU mali dvfs control + Fix a typo
Change initcall in ASV to earlier stage
Properly initialize GPU defaults after ASV initcall commit
LMK Tuning and add it's functionality for screen on/off
VM writeback tuning [1] [2]
Allow max brightness at 255
Attempt to fix Wifi Tethering
v1.0.6:
Update Linux version to 3.0.72 + Compile Fix
Fix several mempolicy leak in tmpfs mount logic
Use 4.61 sec interval for LOAD_FREQ instead of 5 sec for optimal distribution
Update LZO compression
Optimize apply_slack() in timer
Little performance improvement in slub.c from FrancisoFranco
Fix possible mem leak in Slub
Use faster memcopy for String
Fix permissions on exynos-mem
Optimize sched for powersave
Optimize checksum. Reduce one loop.
Enable ZRam, User can disable from init.d. + Cleanup
Do not auto-wipe cache and dalvik cache to avoid data loss.
Add a missing patch for mmc
Fixes for binder in staging. [1][2][3]
Fix wifi power drain on standby
Add hotplug governor (Not tested)
Fix install on latest Asylum
New ramdisk -
=> Set fling velocity and scrolling cache to optimized value.
=> Improve I/O drastically.
=> Enable dmesg, kmsg
Stop spam messages from video driver for kmsg, last_kmsg, demsg
v1.0.5:
Introduce timer slack controller
Dynamic File Sync
Entropy Depletion Prevention - Don't use Seeder app
Modem and Battery wakelocks optimization
Dynamic Read-Ahead
Logger RAM usage reduced
Improve touchscreen sensitity and tune CPU throttle value
CPU Based Alignment Handling
USB configuration drop prevention on cable disconnect
Added optimized ARM RWSEM algorithm
v1.0.4:
Add BFQ and ZEN i/o scheduler
Upgrade ROW i/o scheduler and use it as default
Make deadline i/o scheduler more deadly awesome
Change parameters of SIO i/o scheduler
MTP fixes. Delete init.d\10enableUMS to enable MTP on next boot.
block: Use hashtable implementation for elevator
Staging: android: binder: Fix memory leak on thread/process exit
ramdisk: More code cleaning and automation for MTP
vendor: Use firmware binary from Linux Kernel 3.6
v1.0.3:
UV/OC 100-1600MHz. (Default enabled is 200-1400MHz)
16-step freq stepping in full range.
New CPU idle target residency from AndreiLux's Kernel.
v1.0.2:
NX-Kernel unified ramdisk with CM-AOKP compatibility, network speed optimization, low sound fix and auto system rune on boot.
New governors. HYPER is default.
v1.0.1:
Kernel Linux version upgraded to 3.0.71 + Samsung OSRC fixes
v1.0.0 (Only working for AOKP based ROMs):
Linaro Build of CM10.1 Kernel
​F.A.Q.:
Q. I am getting FC / Performance control not working. What is the solution ?
A. Reboot in recovery. Wipe cache and dalvik cache.
Q. I am getting sleep of death. What do I check ?
A. Adjust minimum frequency to 200 MHz and not lower.
Q. Which is best governor and IO Scheduler?
A. All of us have different choices. There is no thing like best governor or IO Scheduler.
You need to set your personal favorite. I have posted my recommendation in above post.
Q. It takes long time to boot. What is wrong ?
A. Nothing is wrong. Let NX optimize your apps and database.
Q. How to insert a module that's available in /system/lib/modules?
A. Safe to be root. In terminal or adb
su
insmod /lib/modules/<module_name.ko>
You can request your required module, if you want.
Q. How to know which modules are pre-loaded by kernel?
A. Terminal or adb:
lsmod
Q. I want to help dev debug an issue providing a kmsg. How to?
A. After the problem (random reboot/freeze/lockup), do not pull out battery to recover. Just long press power button so that device can reboot. Then connect device to PC, (provided you have setup adb), type
adb pull /proc/last_kmsg
Save the file as .txt and post in the thread along with description of the problem and possible way to reproduce it.
If you can't use adb from pc, just copy last_kmsg file from /proc directory to internal sd, copy it to your PC and post in the thread.​
Unrelated DH-Kernel Changelog, saved for my reference:
DH-Kernel Changelog:
Code:
[B]v2.5 (Only working for AOKP based ROMs):[/B]
[LIST]
[*]ramdisk: Restore original CM10.1 ramdisk
[*]recovery: Restore original CWM Recovery
[/LIST]
[B]v2.4:[/B]
[LIST]
[*]ramdisk: Completely remove journal removal code
[*]ramdisk: Fix OOM protection of init process
[*]defconfig: Disable KSM and AIO
[*]governor: Add SLEEPY governor (not tested)
[*]usb: MTP fixes
[*]// No changes in ROW iosched design for now //
[/LIST]
[B]v2.3:[/B]
[LIST]
[*]ramdisk: Implement safe journal 'ordered' instead of 'writeback'
[*]updater-script: Remove journal script of Stunner
[*]governor: Update ONDEMAND governor with newly added functionalities
[*]input: update driver - too many updates listed on github source
[*]ida: simplified functions for id allocation
[*]tcp: preserve ACK clocking in TSO
[/LIST]
[B]v2.2:[/B]
[LIST]
[*]cpufreq: Export new boost attr, so we can tune it.
[*]usb: gadget: Kang support for 2 luns by default
[*]cpufreq: Make some nodes pollable and send uevent on governor change
[*]cpuidle: new target residency
[*]LMK: Restore old LMK with Autodetect OOM functionality.
[*]mali: 3-step gpu DVFS control
[/LIST]
[B]v2.1-build2:[/B]
[LIST]
[*]ramdisk: Do not clear apps cache on boot, it may give heart-attack to some users.
[/LIST]
[B]v2.1:[/B]
[LIST]
[*]governor: Fix Abyssplug governor. Thanks Alex!
[*]Added Abyssplug governor
[*]updater-script: Remove wiping android secure
[*]block: Add missing functionality to handle urgent requests in ROW iosched. More awesome than ever!
[*]arm/lib: add support for LZ4-compressed kernels
[*]sched: Create sched_select_non_idle_cpu() to give preferred CPU for power saving
[*]timer: hrtimer: Don't check idle_cpu() before calling get_nohz_timer_target()
[*]drivers: mmc: disable CRC
[*]cpufreq: Add cpu utilization statistics to aid decisions made by userspace
[*]governor: MAJOR update for HYPER governor!
[*]Auto-reset fuel gauge on first boot removed. Instead check init.d and delete it's file to reset fuel gauge.
[*]Recovery changed to Philz Touch. All working fine. Thanks PhilZ for the help over PM!
[/LIST]
[B]v2.0:[/B]
[LIST]
[*]Linux Kernel version updated to 3.0.71
[*]Fuel Gauge Auto-Reset on First Boot after flash (contributes to proper battery calibration, [COLOR=Red]may show improper battery value for couple mins[/COLOR])
[*]Permissions Auto-Fix on First Boot after flash (to avoid FCs)
[*]Low-sound of Yamaha chip fixed!
[*]Cleans apps cache and tombstone on boot
[*]Preload partition re-added
[*]Updated Samsung's CMA sources to the memory management changes
[*]sync: fix timeout = 0 wait behavior
[*]rwsem: steal writing sem for better performance
[*]lib/rwsem.c: fix compatibility issues with Linux 3.0.y
[/LIST]
[B]
v1.9:[/B]
[LIST]
[*]ZRam Removed - Cannot be enabled either. (If this is the reason of reboot, it will get fixed in future version)
[*]SWAP Removed.
[/LIST]
[B]v1.8:[/B]
[LIST]
[*]Stop the panic mode. Should fix sleep of deaths. Please report.
[*]OOM protection for init process.
[*]SWAP enabled.(Check with app like Kernel Tuner. [COLOR=Red]To disable SWAP, set vm.swappiness to 0[/COLOR])
[*]Swappiness set to 60% (Default)
[*]Overall improvement of multitasking.
[*]New MALI from Note8.
[*]Fix wifi power drain on standby.
[*]Improve touch screen sensitivity.
[*]Tune CPU throttle values.
[/LIST]
[B]v1.7:[/B]
[LIST]
[*]Remove STweaks which caused freeze and instability since v1.5
[*]Retain some powerful init scripts of STweaks
[*]Add frandom(/dev/frandom) -Fast kernel number generator
[*]modem: reduce wakelocks in modem drivers from 100 to 50
[*]sync: optimize & upgrade (refer github, huge list)
[*]init.d: remove scripts which are no longer needed
[*]fat: eliminate iterations in fat_search_long and __fat_readdir
[*]lib/checksum.c: optimize do_csum a bit
[*]Backport KSM from Linux 3.6.8
[*]Backport AIO from Linux 3.6.x
[*]sched_fair.c: Optimize latency values
[*]logger: Reduced Android Logger RAM usage
[*]slub: zero page to fix boot crashes
[*]Added optimized CRC32 algorithm.
[*]arm/crypto: Add optimized AES and SHA1 routines Add assembler version
[*]mmc: core: Fix possbile memory leak
[*]Add network speed tweak
[*]nohz/sched: delay going tickless when CPU is loaded
[*]Optimise apply_slack() for size and speed
[*]sched: Improve scalability via 'CPU buddies', which withstand random
[*]Add ARM CPU topology
[*]Asynchronous I/O latency to a solid-state disk greatly increased
[*]ext4: prevent kernel panic in case of uninitialized jinode
[*]irq: Set CPU affinity as soon as the irq thread is created
[*]Add Dynamic read-ahead
[/LIST]
[B]v1.6:[/B]
[LIST]
[*]LMK: Stabilization. No more reboot or freeze. In case of freeze, please send me proc/last_kmsg to analyze
[*]STweaks: Lots of non working tweaks removed. Some tweaks added.
[*]usb-gadget: Booting from g_file_storage in cdrom mode
[*]cpufreq: Retain only online cpus in managed_policy->cpus
[*]ARM: Fix negative idle stats for offline cpu
[*]Revert "drivers: Add BLN mod (WIP)"
[*]Staging: android: binder: Add binder buffers to kmemleak
[*]block,elevator: use new hashtable implementation
[*]PM: Prevent runtime suspend during system resume
[*]Allow CPU Based Alignment Handling
[*]input: evdev: Move wake_lock_destroy call
[*]sysfs-helpers: Allow negative values for array store
[*]Backport ZRAM from Linux 3.3.x
[*]staging: Add Snappy compression support to zram (alt)
[*]zram: Simplify zram disk resizing interface
[*]zram: Specify default disksize via menuconfig (in bytes)
[*]fully ported ZRAM from Linux 3.3.x
[*]Optimize ZRAM
[*]android: logger: enforce GID and CAP check on log flush
[*]android: Update logger to android-3.4
[*]drivers: Add Snappy Compression/Decompression
[*]lib/lzo: Rename lzo1x_decompress.c to lzo1x_decompress_safe.c
[*]lib/lzo: Update LZO compression to current upstream version
[*]lib/lzo: Update LZO compression for unaligned access
[*]ARM: 7583/1: decompressor: Enable unaligned memory access for v6
[*]Enable UNALIGNED_ACCESS for the new LZO algorithm to use.
[*]lib/lzo: huge LZO decompression speedup on ARM by using unaligned access
[*]Force the kernel to follow the UNALIGNED code path.
[*]kernel: gtod: vsyscall
[/LIST]
[B]v1.5b:[/B]
[LIST]
[*]No changes. Clean rebuild of v1.5 to check if freezes for some user still persist.
[/LIST]
[B]v1.5:[/B]
[LIST]
[*]Add STweaks support and lots of customization (Beta -- Please do not report non-working tweaks repeatedly)
[*]New modules for STweaks
[*]Enable ZRam from Stweaks
[*]Kernel updated to linux version 3.0.7.0
[*]hotplug: Add support for 2nd Core app
[*]fs/dyn_sync_cntrl: dynamic sync control
[*]mach-exynos: Don't compile unused 4x12 objects on 4210
[*]sched: Add missing call to calc_load_exit_idle()
[*]Introduce timer slack controller
[*]sched/nohz: Rewrite, fix and add more accurate load-avg computation
[*]scheduler: compute time-average nr_running per run-queue
[*]sched: Ensure cpu_power periodic update
[*]LMK: Add config option to auto update OOM
[/LIST]
[B]v1.4:[/B]
[LIST]
[*]Default scheduler is ROW.
[*]Revert update on BFQ sched. Fixes Random Reboot. Please test this sched further.
[*]Complete rewrite of voltage table. No more extra heat. More stable now.
[*]CWM Recovery updated to 6.0.3.0
[*]ACPI / processor: prevent cpu from becoming online (fix)
[*]LMK: tuning to more defaults. to kill MORE. (Give me more RAM?)
[*]staging: android: binder: Allow using highmem for binder buffers
[*]staging: android: Fix three checkpatch issues in binder.c
[/LIST]
[B]v1.3:[/B]
[LIST]
[*]Full rewrite CPU freq code
[*]CPUfreq driver updated
[*]Implemented 16 steps un CPUfreq!!
[*]200MHz - 1400MHz now default range
[*]Fixed Kernel Version unknown error!
[/LIST]
[B]v1.2:[/B]
[LIST]
[*]Implement working CWM recovery
[*]Implement standalone git to build faster
[*]Network and IO tweaks included inside kernel init.
[/LIST]
[B]v1.1:[/B]
[LIST]
[*]Linaro GCC 4.7.3 Build (I think this 1st Note kernel with this GCC, so you need to test every aspects like signal, wifi, any RAM leak, etc)
[*]TWRP Recovery (since this recovery is compatible with 4.7.3 GCC.) - Temporary
[*]Staging: android: binder: Fix memory leak on thread/process exit
[*]Added optimized ARM RWSEM algorithm and enabled
[*]zram: Consider low pages in the lowmemorykiller
[*]zram: Enabled by init.d script - Temporary - will be enabled by kernel itself
[*]bcmdhd: reenable IPv6, disable multicast in suspend - Sync with CM Kernel
[*]bcmdhd: disable GAN_LITE_NAT_KEEPALIVE_FILTER - Sync with CM Kernel
[*]loopdev: fix a deadlock
[*]fimc: merge fix
[*]slub: fix a possible memory leak
[*]kernel/sys.c: fix stack memory content leak via UNAME26
[*]lockdep: fix oops in processing workqueue
[*]iosched: CFQ fixes and BFQ update to v6
[*]defconfig: Remove sound codecs which are useless
[/LIST]
[B]v1:[/B]
Initial Release: CM-Enhanced Kernel from Stunner
Will have to wait for Tw !!
neobuddy89 said:
And last reserved ..
Click to expand...
Click to collapse
Will wait for the Tw release bro ..... Hope it ll be out soon
Re: [KERNEL][3.0.69][4.2.2 - CM/PA/AOKP] DH-Kernel v1 [16/03]
Nice one @Neo
the release of any new kernel is a time for rejoicing for any xda community. hope this one also covers a long journey :good:
Running the kernel on (unofficial) Mad Cow Rom. First impression: Good!
Great to have a AOSP-Kernel with Philz-Recovery! :good:
Small issue: If you select Misc nandroid settings in Backup and Restore, it's not working. Backup and Restore Menue appears again.
trahzebuck said:
Running the kernel on (unofficial) Mad Cow Rom. First impression: Good!
Great to have a AOSP-Kernel with Philz-Recovery! :good:
Small issue: If you select Misc nandroid settings in Backup and Restore, it's not working. Backup and Restore Menue appears again.
Click to expand...
Click to collapse
That's because PhilZ recovery is not fully open source.
We will switch to better one.
neobuddy89 said:
...
Warning:
It's your device. It's your responsibility for what you flash. Do not blame us.
DO NOT flash over forbidden kernel as that kernel has incompatible/unstable/non-tested init.d scripts.
Do not discuss forbidden kernels over here. Hail open-source!
Click to expand...
Click to collapse
Thanks Neo.
I know it's uncommon to read OP, but I like your humor: The combination of warning two and three. somehow paradox. why are warning about something which you dislike to discuss. Sorry, might be OT.
trahzebuck said:
Thanks Neo.
I know it's uncommon to read OP, but I like your humor: The combination of warning two and three. somehow paradox. why are warning about something which you dislike to discuss. Sorry, might be OT.
Click to expand...
Click to collapse
Lol. Just wanted to let people know init.d tweaks of *forbidden* may create problem. Period.
Re: [KERNEL][3.0.69][4.2.2 - CM/PA/AOKP] DH-Kernel v1 [16/03]
neobuddy89 said:
Lol. Just wanted to let people know init.d tweaks of *forbidden* may create problem. Period.
Click to expand...
Click to collapse
That means you have been fiddling around with it. . Anyway need to stop some off topic.
Please keep it updated. We need some Fire from this Dragon.
flashed/running it now,smooth no probs:good:..thnx
Excellent Kernel
I have been running the kernel for a little over an hour now and it is excellent, super smooth and responsive.
I like the name DragonHeart.......... makes the kernel sound very powerful and dependable.:good:
Overclocked too, awesome.:good:
The only changes I have made are:
100MHZ and 200MHZ voltages to 900 mV
Governor to SmartassV2
I wiped Dalvik and Cache before flashing the kernel.
@Neobuddy - Do you have those wipes built into the install script???
I.E. Do I need to wipe dalvik and cache before install???
Thanks for the excellent kernel.
Re: [KERNEL][3.0.69][4.2.2 - CM/PA/AOKP] DH-Kernel v1 [16/03]
Flashed. First 10 minute impression is.. Fantastic! Smooth! Didnt changed any value. Just the governor to smartassv2 and scheduler to still bfq which i the default. Will come back after couple of days and see how it goes. Thanks so much!
Sent from my GT-N7000 using xda premium
flashed well.
booting is taking too long.There is something like "phone process" not working shown as an error message after each boot.
performance control force closing if voltage settings are changed and set to applied at boot.
On latest stunner ROM
Re: [KERNEL][3.0.69][4.2.2 - CM/PA/AOKP] DH-Kernel v1 [16/03]
Happening to me as well
Sent from my GT-N7000 using xda premium
Re: [KERNEL][3.0.69][4.2.2 - CM/PA/AOKP] DH-Kernel v1 [16/03]
mikey0105 said:
Happening to me as well
Sent from my GT-N7000 using xda premium
Click to expand...
Click to collapse
anilisanil said:
flashed well.
booting is taking too long.There is something like "phone process" not working shown as an error message after each boot.
performance control force closing if voltage settings are changed and set to applied at boot.
On latest stunner ROM
Click to expand...
Click to collapse
Just wipe cache and dalvik cache from recovery and reboot.
R: [KERNEL][3.0.69][4.2.2 - CM/PA/AOKP] DH-Kernel v1 [16/03]
anilisanil said:
performance control force closing if voltage settings are changed and set to applied at boot.
On latest stunner ROM
Click to expand...
Click to collapse
That should be a bug in performance control app. I noticed it when I used aokp rom based, so I searched on net and I found that it should be an app bug. Just use any other app, like voltage control
Sent from my GT-N7000 using xda premium

AzurE Kernel 3.10.108 [UPDATED] (15-11-17) {MM/N/O} {UBER 8.0.0}

AzurE KERNEL
FOR YUser, BY YUser
AzurE Kernel (Azure is the blue color of the sky), developed by me, Panchajanya Sarkar aka @Lynx_0608, is a feature packed kernel, fully developed from latest Sources,
Compiled with Latest UBERTC(7.2.1) and LINARO(7.2.1-snapshot), it promises to give stability, maintaining performance and battery life.
Main Features :
~ Display --
*Support for kCAL Colour Control v2.0 (enhances Colour Vibrance and Intensity). Tweaked By Me
*Up-to-date LiveDisplay Driver.
*Support for Colour Enhancement (Updated).
~ Governors Support --
*Relaxed [Tweaked By Me] [Battery-Friendly]
*Barry-Allen[Updated]
*Darkness
*Interactive[Tweaked By Me][Init-D Emulation]
*Ondemand
*Userspace
*Performance
--Removed Powersave governor(was lagging heavily)
~Hotplugs Available --
*AiO Hotplug (Developed by Shoaib Anwar)
~I/O Schedulers --
*Noop
*Deadline
*Row[Tweaked By Me]
*CFQ
*BFQ
*Maple
*ZEN
~CPU Details and Frequencies --
*Max Frequency - 1612 MHz
*Min Frequency - 200MHz
*1612 MHz is the most stable Overclock for YUreka/+, stock Voltage is maintained for a better battery life
*11 Proper and equally Oriented Frequency Steps with 200MHz gap in between
*Support For Power-Efficient Workqueues for a Battery Friendliness
*Fast Idling of CPU
~GPU Details --
*Altered GPU-Frequency Table for more Power-Savings without noticeable decrease in Performance.
*Adreno-Idler was having little issues, so will be adding in next build
~Memory --
* Swap, FrontSwap, and zSwap techniques (z-RAM provides better performance at the cost of Battery)
*Memory Compaction (improves performance).
*CleanCache Driver (improves I/O performance).
*zsmAlloc with Page-Table Mapping techniques (improve memory performance).
*zRAM with LZ4 compression algorithm (improves performance by saving memory).
~Battery --
*ARCH_Power to reduce Power-Consumption and increase Battery-Life.
* PowerSuspend algorithm (improves Battery-Life).
*10 Wakelock Toggles introduced(turn them off for a better battery life)
*QuickCharge V 1.0 (Special Thanks to Shoaib Aanwar)(Tweaked Max Current to 1450mA)
~Memory Optimizations And Tweaks --
*Based on the latest sources of Lineage for Yu Yureka/Yureka PLUS.
*Compiled with UberTC 7.2.1 Optimized for 64-BIT and LinaroTC 7.2.1 -snapshot.
*Touch-Boost and CPU Boost Removed, Who uses It??
*Lowest Possible CPU-Usage (a lot of tweaks have been implemented system-wide).
* HMP Aware and Power-Aware Task Allocation (should improve Performance and Battery-Life).
*Faux Sound Control v4.1 (Special Thanks To Shoaib Anwar).
--And Many More Features Included, Try Them Out!!
Points to Be Noted--
1> Works Best On Lineage-Based ROMs, AOSP/CAF based ROMs too work FINE!!
2>For Best Control, Try out The Latest Kernel Auditor-PAID, PlayStore.
3> For Best Results, I recommend to use either Use AiO Hotplug or Core Control.
4>Don't flash AzurE Oreo on Nougat/Marshmallow ROMs
~ Download Links, Refer to 3rd Post or Click Here
Special Thanks To-
-- Akash (Telegram - @aka_xh) for Helping alot from the very beginning
-- DarkenVamp for teaching me how to use GitHub:victory:
-- Shoaib Anwar for helping me in adding stuffs, He also developed Quick Charge, Shoaib's Core Control, Modified Faux Sound and many more....
XDA:DevDB Information
AzurE Kernel, Kernel for the YU Yureka
Contributors
Lynx_0608
Source Code: https://github.com/Panchajanya1999/Azure-N/tree/cm-14.1
Kernel Special Features: Just Scroll Upwards As Of Now, for LATER BUILDS, Refer To ChangeLog
Version Information
Status: Stable
Current Stable Version: V 1.o
Stable Release Date: 2017-10-25
Created 2017-10-28
Last Updated 2017-11-19
Reserved
Recommended Settings--
~Performance --
--CPU
*Big Clusters - 1612MHz Max; 200MHz Min
*Governor - Interactive for Both Clusters
--GPU
*Frequency - 550MHz Max
*Governor - msm-adreno-tz
--Tweaks
*Turn Off Core Control, Or set the thermal value at 75 C
*U Know better than me!!!!
~Balanced --
--CPU
*Big Cluster - 1113MHz/800MHz
*Small Cluster - 800MHz
*Governor - Barry-allen on Big Cluster, Barry-Allen/Interactive on Little Cluster
--Hotplug
*AiO Hotplug - Big Cluster set at 2
Little Cluster set at 4
--Core Control
*Thermal - Set Thermal Slider at 55C/60C
Note -- Either Use AiO Hotplug, Or Core Control!!!
--GPU
*Frequency - 550MHz
*Governor - msm-adreno-tz
~Powersave/Battery friendly --
--CPU
*Big Clusters - 400MHz Max, 200MHz Min;
*Small Clusters - 800MHz Max, 200MHz Min;
*Governor - Big Clusters - Relaxed/Darkness; Small Clusters - Relaxed/Interactive
--Hotplugs And Thermal
*Enable either AiO Hotplug or Core Control
*AiO Hotplug - 2 For Big Clusters,2 for Small Clusters
*Thermal/Core Control - Turn it on,Set Slider to 50C
--GPU
*Set 310MHz Frequency alongwith Ondemand Governor
You Can Set it accordingly to your own wish!!
F.A.Q. --
1. My WiFi doesn't works after flashing this kernel.
Extract wlan.ko from the .zip of kernel (located under system/lib/modules/) and place it in root/system/lib/modules/ overwriting the one already present there. Then, set the permission of the file to rw-r-r and reboot the phone. Use ES File Manager with Root Permission to do this.
OR
Place the .zip of the kernel in Internal Storage and then re-flash the kernel.
OR
Check free space in /system partition. Atleast, 25 MB of free space should be there in /system partition as less space prevents the wlan.ko file to get copied successfully.
OR
Flash the latest version of SuperSU.
OR
Change the ROM.
2. Which Android Versions does this Kernel supports?
AzurE Kernel supports Marshmallow and Nougat ROMs. However, not every Kernel Version supports every Android Version. Check Changelog of the specific Kernel Version before flashing it.
3. Does VoLTE works on this Kernel?
Yes, if the ROM supports VoLTE, then this Kernel will also support VoLTE. However, if the ROM doesn't supports VoLTE, then this Kernel won't too.
4. How long are you planning to continue development of AzurE Kernel for Yu-Devices?
As long as I have my Yu Yureka PLUS with me, I'll keep the development active.
5. I have a feature-request!
Well, feature-requests are accepted only when I find the said feature to be having some practical use or substantial positive effect. Whether I include the feature or not, is purely my decision.
6. Why don't you answer my queries? I have asked 10 times already!
It takes much time in developing and testing a Kernel. So, it is difficult for me to keep track of every query too. However, if your query is a genuine one (i.e., not a duplicate question or a question, the answer of which isn't present in the First Post or the Changelogs), then I'll surely answer it.
7. Kernel Adiutor shows blank space in Governor and Frequency Panel of CPU TAB.
When Core 0 gets disabled (due to Core Control or State Helper HotPlug), Adiutor fails to get Frequency and Governor information and hence shows 0MHz in Frequency Panel and Blank Space in Governor Panel. This is normal. In this case, if you need to change Governor or Frequency, then you need to disable Core Control or State Helper HotPlug as the case may be. After this, force close Adiutor and then re-open it. This will make Adiutor get CPU information again. Also, if you don't want to face this situation again, then disable HotPlug Boost Toggle (this will make the kernel to not disable Core 0 and hence, such situation won't arise).
8. The HotPlugs aren't working! After sometime, all the cores come online.
After manually changing the CPU Governor or Frequency, all the Cores will come online even if any HotPlug is enabled. So, you just need to re-enable any HotPlugs you were using in order to disable the Cores again.
9. My whole big Cluster is offline! I can't enable it anyway!
Well, my kernel uses Core Control v2.0 (built by me) and hence, it has the ability to disable the whole big Cluster (including Core 0) if temperature rises above 55 C. When the temperature comes below 55 C, the big Cluster is brought back online again. This is normal and is done to reduce heat. Moreover, if you don't want Core 0 to get disabled, then you can Disable the HotPlug Boost Toggle (available under CPU TAB).
10. The CPU Frequencies are locked. I can't change them. This is a very serious BUG.
I wouldn't call it an issue or a BUG. It is a feature. My kernel uses a Custom Thermal Driver. It reduces the Frequencies to keep the temperature of the Kernel within safe limits. Hence, sometimes, when the temperature is above a certain degree, the Thermal Driver locks the Maximum Frequency so as to lower the temperature of the SoC. However, in my kernel, everything is user-configurable. So, if you want more performance and can bear some heat, then you are free to set the Thermal Settings according to your preference. These settings are available under the Thermal TAB of the Modded version of Adiutor only.
11. I don't have a 1.5A Charger. Should I use Quick Charge or not?
Let me clear this in a simple yet detailed way.
To use ThunderCharge's 1250 mA value, one needs a Charger capable of supplying 1.25A. So, if you're using a 1A Charger and you have set 1250 mA in ThunderCharge, then it won't work. The Charging will only occur at a speed of 1000 mA which your Charger supports.
Similarly, Quick Charge requires a 1.5A Charger for it to work fully. However, this doesn't means that using a 1A Charger with Quick Charge will affect Charging Speed negatively. So, if you're using a 1A Charger, then Quick Charge will draw only 1000 mA.
As for the Dynamic Current Panel, it shows the Value requested from the Charger, not the Actual Value drawn.
BTW, if you are using the Stock Charge and Yu Yureka phone, then Disable Quick Charge.
Download Links(UPDATED) And ChangeLogs-
ChangeLogs :- 15th November, 2K17 {Oreo and Nougat/MarshMallow}
*Compiled Using UBER 8.0.0 ToolChain
*Latest CAF(LA.BR.1.2.9_rb1.27) commits are merged
*UKSM - Ultra Kernel Samepage Merging
*Zen Interactive Tuning: Auto Tunes the kernel for responsiveness at the cost of throughput and power usage.
*Enabled F-Sync
*Decreased time to Enter Sleep Extensively
*Relaxed Governor is tuned a bit!!
*AluCARD HotPlug Updated to Latest Version
*Tuned for more memory
Download:-
Oreo [15-11-17] :- AndroidFileHost
Nougat [15-11-17] :- AndroidFilehost
~AzurE Nougat/Marshmallow & Oreo
ChangeLogs :- (8-11-17)
*Fully Updated To Linux Version 3.1.108!!! Previous Version was not fully Updated, so there was some issues.
*Merged latest Lineage Commits(I forgot this),
*Added NEW TCP congestion Controls, Check them out in Network/Misc tab in Kernel Auditor
*Enabled Aggressive Multi-Core Power savings (Thanks To Sanyam Jain).
*Fixed Memory Leaks.
Note : This ChangeLog is same for both Nougat/MarshMallow and Oreo!!!
`
~Download :-
Nougat/MarshMallow -- AndroidFileHost
~
Oreo -- AndroidFileHost
Updated (30-10-17)
Changelogs: -
*Now U can Turn off Core-0 - Device probably won't reboot anymore
*Boot using 5 cores. In Details, many users were facing bootloops, because, the kernel was configured to boot on all 8 cores, at max frequency, which was 1612MHz, so this drew a lots of battery power, and weak batteries resulted in bootloops. Remember, Splashloops(Device Looping at YU logo, no bootanimation) is most probably caused by lesser system space <25mB, U have to ensure a system space of 25mB, before reporting it here
*Alucard Hotplug - Added Alucard Hotplug, AND please, use only one Hotplug at once, Either AiO or Alucard;
*Re-Enabled CPU Boost again
;_;
Download Link :- AndroidFileHost
There r two Build's which one I have to falsh ...
fshafi3 said:
There r two Build's which one I have to falsh ...
Click to expand...
Click to collapse
Your Wish,
It totally depends upon You bruh,
Uber is bit Better
Sent from my YU5510 using Tapatalk
can I use it on lineage OS 15.0(8.0)
Thanks in advance
Has anyone tested yet if this kernel works with Oreo ROMs too..??
Awesome kernel
I'm using rr7.1.2 final build with in azure uber , its fully stable but one request YouTube or online play back drain only 2hrs backup?others wise 4hrs backup
Its awesome to compare velocity 15 nogut build
Sorry my bad English*:good:
luck_y said:
can I use it on lineage OS 15.0(8.0)
Thanks in advance
Click to expand...
Click to collapse
Check YuForums,
Android Oreo Is supported,
Sent from my YU5510 using Tapatalk
Da_Gamer_pk said:
Has anyone tested yet if this kernel works with Oreo ROMs too..??
Click to expand...
Click to collapse
Check YuForums
Sent from my YU5510 using Tapatalk
How can I enable quick charge??
Please replay with screenshots
Will this work on Nitrogen Os, Oreo Version?
Raman Arora said:
Will this work on Nitrogen Os, Oreo Version?
Click to expand...
Click to collapse
Yes it's working
Hello Guys,
Many of the YUsers were Complaining about "Battery Drain, Heating and Lagginess" faced, when using Oreo ROMs, e.g. - NitroGen OS, Nougat ROMs like Resurrection Remix etc.
So, I spared some time, looked into the matter and Finally, the kernel has been UPDATED!!!
ChangeLogs :- 15th November, 2K17 {Oreo and Nougat/MarshMallow}
*Compiled Using UBER 8.0.0 ToolChain
*Latest CAF(LA.BR.1.2.9_rb1.27) commits are merged
*UKSM - Ultra Kernel Samepage Merging
Spoiler: UKSM over KSM,
* Ultra KSM. Copyright (C) 2011-2012 Nai Xia
*
* This is an improvement upon KSM. Some basic data structures and routines
* are borrowed from ksm.c .
*
* Its new features:
* 1. Full system scan:
* It automatically scans all user processes' anonymous VMAs. Kernel-user
* interaction to submit a memory area to KSM is no longer needed.
*
* 2. Rich area detection:
* It automatically detects rich areas containing abundant duplicated
* pages based. Rich areas are given a full scan speed. Poor areas are
* sampled at a reasonable speed with very low CPU consumption.
*
* 3. Ultra Per-page scan speed improvement:
* A new hash algorithm is proposed. As a result, on a machine with
* Core(TM)2 Quad Q9300 CPU in 32-bit mode and 800MHZ DDR2 main memory, it
* can scan memory areas that does not contain duplicated pages at speed of
* 627MB/sec ~ 2445MB/sec and can merge duplicated areas at speed of
* 477MB/sec ~ 923MB/sec.
*
* 4. Thrashing area avoidance:
* Thrashing area(an VMA that has frequent Ksm page break-out) can be
* filtered out. My benchmark shows it's more efficient than KSM's per-page
* hash value based volatile page detection.
*
*
* 5. Misc changes upon KSM:
* * It has a fully x86-opitmized memcmp dedicated for 4-byte-aligned page
* comparison. It's much faster than default C version on x86.
* * rmap_item now has an struct *page member to loosely cache a
* address-->page mapping, which reduces too much time-costly
* follow_page().
* * The VMA creation/exit procedures are hooked to let the Ultra KSM know.
* * try_to_merge_two_pages() now can revert a pte if it fails. No break_
* ksm is needed for this case.
*
* 6. Full Zero Page consideration(contributed by Figo Zhang)
* Now uksmd consider full zero pages as special pages and merge them to an
* special unswappable uksm zero page
*Zen Interactive Tuning: Auto Tunes the kernel for responsiveness at the cost of throughput and power usage.
*Enabled F-Sync
*Decreased time to Enter Sleep Extensively
*Relaxed Governor is tuned a bit!!
*AluCARD HotPlug Updated to Latest Version
*Tuned for more memory
Download Links :-
Spoiler: Oreo - AndroidFileHost {15-11-17}
https://www.androidfilehost.com/?fid=817906626617947473
Spoiler: Nougat/MarshMallow - AndroidFileHost {15-11-17}
https://www.androidfilehost.com/?fid=889964283620766945
Special Thanks to
**@Sinnavjot a.k.a Navjot Singh
**@Jakwarlord
Thank You guys for Co-Operating with me
In case u feel any problems, feel free to share. We YUsers are Happy2Help
we have to do settings manually?
sohail sheikh said:
we have to do settings manually?
Click to expand...
Click to collapse
Yes
Sent from my YU5510 using XDA Labs
Hi,
Does this kernel enable for support of usb serial devi els like cp210x, ftdi?

Categories

Resources