[KERNEL][AOSP][2.6.38.7] - Savaged-Zen v2.2.1! [HAVS+CFS/BFS!] UPDATED 6/1! - EVO 4G Android Development

ALL SOURCE CAN BE FOUND HERE
As of version 1.0.0 and above, this kernel is GINGERBREAD ONLY
As of version 2.0.0 and above, the kernel source is no longer froyo compatible!
SBC Runtime Toggle Instructions:
- Version 1.1.0 and later have a new feature called Savaged-Zen Battery Options, allowing you to toggle SBC on/off at runtime.
- It is enabled by default, the usage is as follows:
Code:
echo 1 > /sys/kernel/batt_options/sbc/sysctl_batt_sbc (turn it on)
echo 0 > /sys/kernel/batt_options/sbc/sysctl_batt_sbc (turn it off)
- It will RESET to the kernel default upon reboot, which will turn it back on. If you wish to turn SBC off permanently, toggle it in the Savaged-Zen ROM settings (if you are not using the SZ rom, download SVZManager)
SVZManager:
TheShadow1 was awesome enough to make this cool app which will allow you to toggle SBC on or off at runtime and store the setting for every reboot. If you are not running the SavagedZen ROM, check it out!
- https://github.com/The-Shadow/Savaged-Zen-SVZManager
Undervolting:
- As of 2.0.0, this kernel has a stock undervolt of 950mV for stability reasons, not for battery considerations.
- If you wish to undervolt further, you can try flashing one of these undervolt scripts by -viperboy-
- Most phones will work at 900mV (flashing the -50mV script), but most people start at a 800mV undervolt and work their way up until it's stable.
For the complete changelog please visit: https://github.com/Savaged-Zen/android_vendor_SavagedZen/blob/gingerbread/KCHANGELOG.mkdn
Code:
###0.0.3:
* ClassicRCU
* Brand spanking new SavagedZen CPU Governor !!! Based off of the SMARTASS gov. Brings the smartass goodness plus a few more tweaks
* Fixed issues mounting SD Card via USB on Froyo ROMs (CM6, MIUI, ETC)
* New v7_coherent_user_range patch from Galaxy S. This will provide better performance when playing games on the evo with an emulator such as psx4droid
###0.0.4:
* Numerous tweaks to BFS (should smooth out scrolling issues for *some* people), tweaked dirty_ratio/dirty_background_ratio, and minor CFS tweaks to increase responsiveness
* Adjusted Savaged-Zen gov to minimize wakeup issues
* Reverted THP patchset
* Reverted Classic RCU
###0.0.5:
* ext2/ext3 added
* Misc. Fixes/Changes from CodeAurora
* send havs messages to AVSDEBUG for an un-flooded dmesg
* compiler optimizations from intersectRaven
* a1026: enable diag ioctls (cyanogen)
* reverted to older bcm4329 (-18) temporarily to see if it fixes sleep issue
* 128 mhz underclock
* reverted cfs changes
* BFS: Android-only: Allow non-privilledged tasks to bounce between SCHED_BATCH/NORMAL policies
###0.0.7
* Fixed Wifi Wake issue
* Fixed GPIO Issues
* Added Stochastic Fair Blue (SFB) network scheduler.
* Added YeAH TCP congestion control
* Added Wimax updates
* various other updates
###0.0.8:
* latest TOASTCFH wimax sleep bug fix
* various USB gadget fixes
* CPU freq mem leak fix
* update wifi driver to .23
###0.0.9
* brandons wifi fixes
###0.1.0
* Upgrade to 2.6.37.1
* wimax updates from cm-kernel
* mmc fixes
* wifi fix
###0.1.1
* tweaked bluetooth for better sound
* upgraded to 2.6.37.2
* tweaked SZ Gov
* fixed latency and wakeup issues.!!!!
###0.1.2
* tweaked SZ Gov (cosmetic change)
###0.2.0
* Updated to 2.6.37.4
* Updates from CM kernel
* Updated HAVS
* eviollet's HAVS syfs interface ported to evo by Brandon
* Lowered wifi voltage
###0.2.1
* Added in HDMwIn support
###0.2.2
* Update BFQ to V2
###1.0.0
* Massively upgraded to 2.6.38.1 by Brandon
* 2.6.38-ck1
* Audio boost from Chad0989
* Some updates from CM and CodeAurora
###1.0.1
* 2.6.38.2
* Fixed SBC
* Lowered voltage min to 800mV (for more havs syfs flexibility)
* Updated bfq
###1.1.0
* Added BATT_OPTIONS sysfs interface to allow runtime toggling of SBC (Brandon)
* USB mass storage write speed increased
* BFS v376
* Starting voltage raised to 925mV for stability
###2.0.0
* Rebased on CM's unified tree
* Updated to 2.6.38.3
* Updated to 2.6.38-ck3 + bfs 400
* Starting voltage raised to 950mV
* SBC Fixes (no more 100% CPU usage on the charger)
* Misc. fixes (codeaurora+intersectRaven)
* Several misc. problems fixed
###2.0.1
* 2.6.38.4
* Update to bfs 401
* MSM: Misc. code updates that were missed in the rebase
* MMC: Several fixes from motorola
* Deactivate Pages Patchset for 2.6.38
* I/O Less Dirty Throttling Patchset for 2.6.38
* Misc. updates
###2.0.2
* Reverted 2.6.38.4, caused SD mount issues
* Zen-Tune and more tweaks
###2.1.0
* 2.6.38.5
* Pulled in CM updates
* Should have fixed missing apps on sd card/ext3 issues
* Minimized screen wake delay by reverting reduced power collapse frequency
* Implemented hr_msleep into supersonic panel driver
* Interactive Gov. tweaked for performance and harsher scaling (try it, it's fast :D)
* Conservative Gov. lowered min sampling rate
* SavagedZen Gov. Tweaks all around and eliminated the 768mhz issue
###2.2.0
* 2.6.38.6
* Added interactiveX governor (suspend/wake logic and tweaks by imoseyon)
* Added suspend/wake logic to ondemand (imoseyon)
* Raise load % before jumping to max freq on interactive
* Various tweaks, lowered vfs cache pressure
###2.2.1
* 2.6.38.7
* Minor fix to interactiveX
* CodeAurora updates
* Updated to bfs 404
Concerns about XDA rules:
We will never charge for our forum. Our forum is read only to anyone without registering... you must register to post. Getting downloads of the advertised kernels will be listed on both XDA and forum.savage-zen.org. Savaged-zen's download site will always be publicly accessible, and nothing we have will ever be closed source or have any fees. This meets XDA's rules.
The Savaged-Zen Team:
NyghtGT (Anthony) Website, Graphics
Bbedward(Founder) (Brandon) Kernel
Jsseidel1 (Founder) (Josh) ROM/Kernel
mwielgosz (Mike) ROM
Luisrcastillo(Founder) (Luis) Inactive
Credits
Cyanogen and team --> various code bits
toastcfh --> various commits from .35 version of CM-Kernel
#teamwin --> wimax drivers in kernel and HDMI changes in kernel for full HDMI mirror (using the HDMwIn app)
erasmux --> smartass gov
Dave Estes, Raymond Golo (CodeAurora) --> HAVS
snq- --> sysfs vdd levels interface
ms79723 --> Superior Battery Charging (SBC) mod
bbedward --> SBC sysfs interface
CK -> BFS and CK patches
Zen-Kernel team --> various code bits
Please see our github for GPL compliance and original authors of all code
If we forgot anyone or you think you should be added to credits please PM us
ALL DOWNLOADS ARE AVAILABLE HERE: http://mirror.savaged-zen.com
you can see the progress of the builds @ http://buildbot.savaged-zen.org/builders one there all green you will see them on the mirrors.
Our Forums are located at: http://forum.savaged-zen.org
Check out our homepage at: http://www.savaged-zen.org
If you like our kernel and want to support us... donate (supports the hosting payments and then beer!!)
SBC WARNING:The Savaged-Zen team takes no responsibly for any issues to your phone or battery, including but not limited to, battery derogation or failure. SBC has been rumored to have caused issues with battery's and claims have been made that it actually causes physical damage to your phone. It is the users responsibility to review any opinions or warnings about such claims, and by flashing kernels that include the SBC mod, the user is taking the responsibility for any issues or failures to their phone. Please research this Modification, review the code, and come to your own decision before using such modification.
AS WITH ALL MODIFICATIONS TO YOUR PHONE, USE AT YOUR OWN RISK - NOBODY ON THE SAVAGED-ZEN TEAM IS RESPONSIBLE FOR ANY DAMAGE THIS MAY CAUSE

Update 1/27/2011 at 9:06 AM EST
V0.0.4 builds being pushed out!
Downloads:
Head over to our download mirror: http://mirror.munkibizness.com/
0.0.3 -> 0.0.4
- Numerous tweaks to BFS (should smooth out scrolling issues for *some* people), tweaked dirty_ratio/dirty_background_ratio, and minor CFS tweaks to increase responsiveness
- Adjusted Savaged-Zen gov to minimize wakeup issues
- Reverted THP patchset
- Reverted Classic RCU
If you don't see all the builds try again later in the day. I ran out of time to do the last two
Known issues:
1- Bluetooth issues with MIUI. Right now we are working with Bigrushdog from the MIUI team to get this fixed ASAP. Stay tuned as we make progress!!
2- File transfer speed via USB. This is an issue that's happening to all 2.6.37 kernels (seen in the desire and Nexus One forums in XDA). We are actively working on getting this fixed ASAP. As a workaround, you can download a third party app from the market called Multi Mount SD Card. This will bring the normal speeds we're used too

CHANGELOG
Please go Here for Change Log

FAQ
Faqs will be here

Awesome! Can't wait to try it out!
Sent from my EVO

Very nice....
Sent from my PC36100 using Tapatalk

Sounds promising. Ill have to stay tuned

looking forward to this .. woot woot

Gimme Los Links man!

Oh yeah baby...
Sent from my PC36100 using XDA App

I've been waiting for this .... ima do a nand backup and load this thing up

Word! This is really good to see. Glad all that drama turned into something awesome!
Going to flash this badboy right now!
-Apparently not going to flash it right now, no linky. WIll flash it as soon as I can tho, don't mind testing.

Can we get some more details on this thing?

Ohhhh the tease! I thought for sure I was going to go to the website and get a new kernel to try!!!! Ughhhh I cant wait!

very excited to see this. I'm sure the g sensor will be ironed out in no time as well.
Sent from my PC36100 using XDA App

Links?
so when are the link coming up?

Subscribed...

As soon as this is released I will mix it in my Miui. Salvaged Zen-Miui that sounds good.
Sent from my PC36100 using XDA App

So are you interested in feedback from all asop roms, just cm, just cm 6/7...miui...?
Sent from my PC36100 using XDA App

Hopefully on the web site they explain a little bout benefits of havs, svs, cfs, bfs etc. I tried wiki and some info on cfs and bfs. Any addition noob info would be appreciated.
Sent by my PC36100 full of Miui Power.

Related

[KERNEL] [2.6.32.24] [HAVS] [BFS] [BFQ] KiNgxKernel #11/#11 "Con is an Artist"

[KERNEL] [2.6.32.24] [HAVS] [BFS] [BFQ] KiNgxKernel #11/#11 "Con is an Artist"
I DO NOT have an HTC Evo, but would LOVE to have one for development, and am saving for one. Bear with me until then I just wanted to say thank you to the few who have donated. I am almost there, any help is appreciated!!! I plan to have my HTC Evo fairly soon
DO NOT FORGET TO READ THE ENTIRE POST ON MY SITE, THERE IS IMPORTANT INFO
So, just as the name implies, this is an Evo kernel with SVS (Static Voltage Scaling) & HAVS (Hybrid Adaptive Voltage Scaling.) A huge thanks to estes for the havs code and raven for being the first to implement it into the nexus kernel. What this does is provide SUPERIOR BATTERY life with stability to boot. Just flash the .zip in your favorite recovery image. Enjoy and post any bugs with a logcat please.
This is compatible with any 2.2 Sense 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
nugzo said:
I have full adb. I didnt have it when i upgraded from previous king kernels. Had to do a full wipe. Reinstalled rom and installed kernel before rebooting. adb works perfect. full access.
Click to expand...
Click to collapse
ENJOY!
Credits: Cyanogen, Netarchy (epson fps panel fix), toastcfh, ffolkes - all for bits of their code (see changelog), Koush for his any kernel .zip, AssasinsLaminent (nova fix), and most importantly, HTC for their kernel source
Download: CFS Kernel #11 & BFS Kernel #11[/URL] Date: 10/28/10 9:40 PM 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
BFS Changelog
Kernel #11
- HAVS is now OUT. We are not currently using it
- Using SVS for voltage regulation at the moment
- Battery life should be great now
- I forgot about an awful lot of longs and ints that will overflow on 32 bit now with u64 deadlines. Fix them.
- Add some macro tidiness
- Make sched_clock sanity checking robust and standardised, using jiffy
difference as upper limit, and use nominal 1us when difference cannot be
trusted.
- In layman's terms these are all MAJOR fixes to his BFS scheduler
- These fixes will provide a performance and stability boost
- Higher clockspeeds are more stable!
- More I will add
Kernel #10
- 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
Kernel #9
- Finally released
- Board files fixed to allow lower undervolt
- Undervolted to 825Mhz for safe frequencies
- Higher clockspeeds WILL be more stable now
- Compiled CIFS module per request
- Regulator tweaks
- Removed some bloat
- Now using ondemand governor by default, feel free to change it
- Battery charging tweaks (like my inc kernel)
- You guys are going to like this one
Kernel #8
- Reverted BFS Scheduler to 318
- Reverted GPU changes causing stutters
- Other minor fixes
Kernel #7
- Updated BFS Scheduler all the way up to 330
- MANY fixes to HAVS code *thanks for some of them netarchy*
- Regulator being properly used now
- Usleep fixes for sleep mode *via nnode*
- Longer battery life as a result of these major changes
- Volume boost tweaks
- Torture test disabled
- Torture test support disabled
- More I will add
Kernel #6
- Minor code cleanup
- Now undervolted to 825Mv! *Longer batter life*
- Ksgl tweaks for performance
- Higher clock speeds should now be more stable
- Wifi module tweaks
- Other things I will add
Kernel #5
- Rpc changes/tweaks
- V4L2 code disabled now for media interface
- Vmalloced tweaks via @cyanogen *PERFORMANCE BOOST*
- Tweaks for stability
- More I will add
Kernel #4
- BIG update
- Code cleanup
- Undervolted even more (Battery life is LONG)
- Compiled with neon optimizations
- Conservative governor threshold tweaked (via netarchy)
- Conservative Governor sampling rate tweaked per user request
- GPU edits for performance
- 5MB of memory reserved for the Adreno GPU
- Kernel will boot faster as a result of "set read ahead" changes
- Various wifi module tweaks
- Packet Filtering set to turn off after 1s
- Bluetooth sleep bug fixed *via kmobs via kernelzilla*
- More I will add
Kernel #3
- Added BFQ I/O Scheduler
- Default scheduler is bfq
- Fixed atomic functions in bfq *thanks cyanogen and co*
- Cleaned up/removed unneeded code
- HAVS is still included and functioning
Kernel #2
- Updated BFS Scheduler all the way up to 318
- Manual patches made by me to successfully get it working 100%
- Minor bug fixes
- Things I'll add
Kernel #1
- Fresh sources
- FAST
- Based off of CFS Kernel #7
- Applied BFS 313 (Brain **** Scheduler by Con Kolivas)
- HAVS implemented
- Minor bug fixes
CFS Changelog
Kernel #11
- 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 #10
- Patched up to Linux Kernel version 2.6.32.17 (all commits an android kernel would need, no extra bloat) *All credit goes to the linux project, check my github for authors please*
- CFS updates
* Implement different treatment for idle shares
* Fix CFS 'Over-scheduling' bug
- 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
- 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
- Using xen_clocksource_read now for scheduler (part of 2.6.32.18 patchset)
- Much more I will add
Kernel #9
- Board files fixed to allow lower undervolt
- Undervolted to 825Mhz for safe frequencies
- Higher clockspeeds WILL be more stable now
- Compiled CIFS module per request
- Regulator tweaks
- Removed some bloat
- Now using ondemand governor by default, feel free to change it
- Battery charging tweaks (like my inc kernel)
- MANY fixes to HAVS code *thanks for some of them netarchy*
- Regulator being properly used now
- Usleep fixes for sleep mode *via nnode*
- Longer battery life as a result of these major changes
- Volume boost tweaks
- Torture test disabled
- Torture test support disabled
- Ksgl tweaks for performance
- Higher clock speeds should now be more stable
- Wifi module tweaks
- More I will add
Kernel #8
- Added BFQ I/O Scheduler
- Default scheduler is bfq
- Fixed atomic functions in bfq *thanks cyanogen and co*
- Cleaned up/removed unneeded code
- HAVS is still included and functioning
- Code cleanup
- Undervolted even more (Battery life is LONG)
- Compiled with neon optimizations
- Conservative governor threshold tweaked (via netarchy)
- Conservative Governor sampling rate tweaked per user request
- GPU edits for performance
- 5MB of memory reserved for the Adreno GPU
- Kernel will boot faster as a result of "set read ahead" changes
- Various wifi module tweaks
- Packet Filtering set to turn off after 1s
- Bluetooth sleep bug fixed *via kmobs via kernelzilla*
- Rpc changes/tweaks
- V4L2 code disabled now for media interface
- Vmalloced tweaks via @cyanogen *PERFORMANCE BOOST*
- Tweaks for stability
- Now undervolted to 825Mv! *Longer batter life*
- Ksgl tweaks for performance
- Higher clock speeds should now be more stable
- Wifi module tweaks
- More I will add
Kernel #7
- Added new CPU Governor - 'Interactive Governor' thanks Mike Chan @google
- Still using Conservative Governor
- Now overclockable to speeds up to 1.26Ghz (Not all phones can run 1.26, if your phone locks up, OC lower)
- Bluetooth tweaks (double check that bluetooth works for me please)
- Even more undervolted
- Wireless 'n' support
- Switched to 'cfq' scheduler
- Open VPN Modules
- Other things I will add
Kernel #6
- Overclocking should be 100% functioning
- SetCPU works now
- Overclockable up to 1.113 (Will raise this number soon )
- Added CPU Governor "OnDemand"
- Added CPU Governor "UserSpace"
- Added CPU Governor "Performance"
- Added CPU Governor "Conservative"
- Default CPU governor changed to "Conservative"
Kernel #5
- Five point multitouch (thanks for the code ffolkes)
- ADB working for most.... (wierd)
- Speed tweaks
- CPU Governors updated
- CPU tables updated
- Code is live
Kernel #4
- Much faster
- Much smaller kernel, removed all bloat
- ADB should work now, let me know
- Overclocking should work, let me know
- Switched scheduler to deadline
- More audio tweaks (per request, I forget who asked)
- Included a slew of modules, should cover any module you'd need
- More I will add
Kernel #3
- OC capability should work via terminal
- Netfilter (Wifi tether) built into the kernel
- Added OnDemand CPU governor
- Added UserSpace CPU governor
- Added Conservative CPU governor
- Default governor is currently OnDemand
Kernel #2
- Speed boost
- Five point multi touch support (believe this was ffolkes, thank you)
- FPS unlocked now! (thanks toast)
- Audio Boost Tweaks (LOUD)
- Integrated code to use 3 point for sensors that do not support 5 (thank you ffolkes)
- Kernel should work on CM6 now (let me know)
- Kernel should now detect screen arch on boot (thanks cyanogen)
- Should support both epson and n
- OC Capable now - up to 1.26 Ghz!
- Voltages lowered significantly for even better battery life
- Changed default scheduler to cfq
- Cleaned up unneeded code
- More I will add
Kernel #1
- First kernel for the HTC Evo
- Based off of the HTC source code - 2.6.32.12
- Added drivers for Static Voltage Scaling (SVS)
- Added drivers for Hybrid Adaptive Voltage Scaling (HAVS)
- Using CFS
- No OC capabilities as of now
- Cameras should work fine
- WiFI should work fine
- Bluetooth should work fine
- All things you would expect to work should be working, let me know
Any chance we could see some of the Desire's audio values in this kernel?
neckface said:
Any chance we could see some of the Desire's audio values in this kernel?
Click to expand...
Click to collapse
if I can find the code for it, yes.
You evo users have no idea what HAVS is like
I can't wait to see the feedback
kingklick said:
You evo users have no idea what HAVS is like
Click to expand...
Click to collapse
Well, for me, I have no idea what it is at all lol
Mind explaining what it does plz? =P
kingklick said:
if I can find the code for it, yes.
You evo users have no idea what HAVS is like
I can't wait to see the feedback
Click to expand...
Click to collapse
If you don't find it before I get home, I'll pm the directory to you.
And yeah, I haven't a clue what that is. Lol
This is interesting... any more details?
- Sent via my EVO 2.2 (Fresh 3.1.0.1) from the back seat of your Momma's car.
What on Earth is HAVS?
after a little googling...
Hybrid Adaptive Voltage Scaling (HAVS)
david279 said:
after a little googling...
Hybrid Adaptive Voltage Scaling (HAVS)
Click to expand...
Click to collapse
MMhhh can't wait to try this one out
Is FPS unlocked on this?
Does this work for all 2.2 roms?
bigant262 said:
Is FPS unlocked on this?
Click to expand...
Click to collapse
as of now, most likely not. It can easily be implemented
jaysmi32 said:
Does this work for all 2.2 roms?
Click to expand...
Click to collapse
YUP! should have no issues
If one was to push this to their device on top of whatever custom kernel/rom running.. would things start to get messy?
whats the best recommendation ?
kingklick said:
as of now, most likely not. It can easily be implemented
YUP! should have no issues
Click to expand...
Click to collapse
Thanks for the quick reply. I'll wait until you put it in. Will look forward to updates on this.
ok guys kernel is live =)
let me know if you have any other questions
I'm done playing for the day but I'm def keeping an eye on this thread. I can't wait to see some real world test results. I have a feeling this thread is going to blow up by the time I get up in the morning.
While I would absolutely love HAVS, I also don't want to lose the modifications in netarchy's kernel with the FPS cap unlocked. Any way you could possibly integrate that into your kernel?
An update.zip would be grand, too.
I have netarchy kernel 4.0.3a with Fresh 3.1.0.1... can i simply flash this over it?
- Sent via my EVO 2.2 (Fresh 3.1.0.1) from the back seat of your Momma's car.
cosine83 said:
While I would absolutely love HAVS, I also don't want to lose the modifications in netarchy's kernel with the FPS cap unlocked. Any way you could possibly integrate that into your kernel?
An update.zip would be grand, too.
Click to expand...
Click to collapse
Yup, if he sends me his code
HondaCop said:
I have netarchy kernel 4.0.3a with Fresh 3.1.0.1... can i simply flash this over it?
- Sent via my EVO 2.2 (Fresh 3.1.0.1) from the back seat of your Momma's car.
Click to expand...
Click to collapse
yes, use fastboot to flash the kernel itself, then adb push the modules

[ROM] CM-10.1 AOSP 4.2.2 Jellybean [KANG] [Aug-6]

CyanogenMod 10.1.2 | Jellybean 4.2.2 - KANG
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
CyanogenMod is an enhanced open source firmware distribution for smartphones and tablet computers based on the Android mobile operating system. It offers features and options not found in the official firmware distributed by vendors of these devices. Features supported by CyanogenMod include native theming support, FLAC audio codec support, a large Access Point Name list, an OpenVPN client, an enhanced reboot menu, support for Wi-Fi, Bluetooth, and USB tethering, CPU overclocking and other performance enhancements, soft buttons and other "tablet tweaks", toggles in the notification pull-down (such as wi-fi, Bluetooth and GPS), app permissions management, as well as other interface enhancements. CyanogenMod does not contain spyware or bloatware. In many cases, CyanogenMod may increase performance and reliability compared with official firmware releases.
Source: CyanogenMod Wiki​
Screenshots
Installation Instructions
Requirements
* Rooted (obviously)
* Firmware 3.32/3.33. Read this post for more info and download link CLICK HERE
Installation
1: If you are coming from another ROM do a full wipe
1a: if this is just an update to THIS ROM BASE you can simply wipe cache and dalvik cache
2: Flash gapps (download below)
3: Reboot
3b: If you want to make changes to the CPU/GPU clock speeds, I/O, or CPU governor settings, edit /system/etc/init.d/99kernel (outlined below)
4: Enjoy CyanogenMod 10.1
Please read the whole post for changelog, Download links, and other important info
Please also take the time to check out this great FAQ and General Support thread created/moderated by Skipjacks It contains a lot of useful information, It would also be great if users try to keep general Q&A questions and other ROM discussion in this thread, It will help weed out the non-development posts and make things go fater for me, which means faster development for you
Updates:: CM has reached 10.1 stable. I will still release bugfix updates if needed but this should be as stable as stable can be on the Sensation. Here's to AOSP 4.3
. As always: remember it takes a FULL charge from AC, and a full discharge then re charge batteryt to be accurate. Also leave it plugged in for up to an hour at 100%, Another thing i find helps battery life is to make custom auto-adjustment values if you use auto-brightness. Check below for full changelog Feedback always welcome Please read the Kernel section for more info and full config options for the kernel.
Albinoman887
Working
SMS/MMS
Wi-FI
Data
GPS
Audio
Radio
Camera
Gnow
SD Card
Bluetooth
H/W Accelerated Video Playback
Native Wi-Fi Tethering
1080p Video Recording
Not Working
??????????
Changelog
Aug-6
* Fixed issue with microphone not working in apps
* Synced with upstream
Aug-4
* Synced with upstream, this is probably gonna be the last cm-10.1 build unless there is a bug fix or something as development has died down on that branch
* Got a dedicated server as a mirror with super fast internet connection. i'm still gonna use goo for the ota updates but the link here will be to the new server
July-20
* CM was tagged 10.1.2 - Security fixes
* Any upstream CM changes since last release (a lot of "under-the-hood" changes)
* Sweep2wake issue with waking on home might be fixed
July-10
* CM was tagged 10.1.1
* Fixed issue with flashlight turning off when screen is off (finally, yay)
* Upstream Changes
* UNTESTED: Fixed issue with sweep2wake and home button waking screen
July-2
* Fixed settings FC when removing an app
* Fixed rare issue of trashed framebuffer (garbled display)
* Kernel: Added FauxSound (requires app)
* Upstream Changes
June-26
* CM-10.1 is now tagged stable!
* ROM is now compiled with linaro and -o3 optimizations
* Misc cleanup
June-10
* Kernel updated to Linux 3.0.80
* Bugfix: Incorrect report of data-usage (upstream bug)
* More Upstream changes - CM-10.1 RC5 mainly
* Sorry for the delay of relase was enjoying the rare good weather around here
June-1-build2
* Superuser bug from last release is fixed now
* Kernel updated to Linux 3.0.80
* Some upstream changes
June-1
* CM is now RC3/4
* Really fixed issue with no audio in hangouts
* Tried to address reboots in last build by reverting the pmem change a week or so ago
* Many upstream changes
May-24
* Reverted back to Linaro GCC 4.7 (I think it might have been causing some hard-reboots, plus we get better benchmarks with 4.7)
* Upstream: Updates to audio-caf repo that should fix the issues with the new Hangouts
* Now CM-10.1 RC2+
* Various upstream changes (mainly translations and a few minor bug fixes)
May-17
* In very rare cases the framebuffer was being trashed which was causing screen flicker, this is now fixed
* Fixed bug with homescreen and big margins on clean install
* Kernel now compiled with Linaro GCC 4.8 toolchain (more optimizations)
* Upstream Changes: CM-10.1 RC2
May-10
* Kernel: Switched back to PM_MAX (low-power wifi) when screen is off, no real benefit
* Kernel: Added a couple build optimizations to GPU drivers
* Kernel: Updated to Linux 3.0.77
* Upstream Changes (CM is gearing up for RC1)
May-3
* Reverted T-Mobile data drop change to as it caused issues with data. Users who still want this patch can find it in the build.prop as a comment, Delete the # and the above line and save
* Fixed a few remaining issues with charging docks
* Enabled UID stat in kernel, Allows data usage stats.
* Re-enabled scrolling tweaks
* Upstream changes
May-2
* Fixed bootloops with charging docks that also have MHL support (no this doesn't fix MHL)
* Kernel updated to Linux 3.0.76
* Fixed data drop issue on T-Mobile
* Upstream changes
* Minor code cleanup
May-1
* All glitches during video playback fixed (all credits go to arco for finding this fix)
* Some updates to PMEM driver in kernel
* Various other updates to kernel from CAF jb kernel
* No longer using forks of frameworks/native or av due to our patches being merged
* Upstream Changes
April-26
* Enabled Fast-charge by default
* Removed debug.composition.type to fix ghosting
* Tried to address battery drain by reverting the updated battery drivers
* Re-merged ondemand governor from old kernel (trying to fix battery drain)
* Kernel updated to Linux 3.0.74
* Upstream Changes
April-23
* Kernel: Lots of updates to framebuffer from CAF jb-chocolote.
* Kernel: More updates to vidc from CAF kernel.
* Kernel: Spped optimizations and tweaks, minor but noticable
* Bugfix: Tearing
* Various Upstream Changes
April-19
* Switched debug.composition.type build.prop setting back to "dyn" (seems to save battery)
* Display: Display repo is now real cm-10.1 source just with pmem support added back in (old repo was cm10 code)
* Display: Tweaked auto-brightness ranges, and added an extra step, seems to save battery
* Media: Media repo is now real cm-10.1 sorce with pmem support
* Kernel: Updated KGSL/adreno drivers(caf) for repo with new display repo
* Kernel: Updated genlock(caf) for use with new display repo
* Kernel: Sweep2wake hack added (should fix freezing touch screens, (to a point, not completely)
* Kernel: Switched ondemand governor back to one included in msm8660 kernel (was using old one)
* Kernel: Updated to Linux 3.0.73
* Credits: All credits or the display/media updates goes to arco
* Upstream Changes
April-13
* Bugfix: Tried to address remaining lag issues by tweaking kernel (all changes listed here were in my kernel test build)
* Kernel: Reverted mpdecision to old version
* Kernel: Reverted patch to force GPU to scale one freq at a time
* Kernel: Removed duplicate dynamic fsync procoess
* Kernel: Set readahead buffer back to default (128kb)
* Kernel: silenced some useless logging in DMESG
* General Upstream Changes
April-11
* Bugfix: all lag should be gone now, somehow the build was curupt
* Bugfix: logcat spam of HWC_FRAMEBUFFER_TARGET
* Bugfix: 3D GPU OC wasn't being set correctly because there was a missing chmod line, added.
* Switched back to gpu.composition.type to gpu, its the defualt in 4.2 and has best performance
* Switched to audio-caf variant (repo) I fixed the VOIP bug with it before. hopefully this will fix the "robotic" calls some people have (audio also seems to be a higher volume)
* Tweaked the display repo to help with video glitches
* Kernel: KGSL updated to CAF (seems to give better gpu performance, and higher benchmark) (credis: midnight88)
* Kernel: adreno updated to CAF (more up to date) (midnight88)
* Kernel: msm updated to CAF (midnight88)
* Kernel: some upstream patches to vidc (jb-mr1-chocolote) CAF
* Kernel: properly added Sweep2Wake
* Optimized the kernel a bit more
* Lots of upstream changes. (pretty sure M3 was tagged)
* maybe some other litte things I forgot, check github
April-7
* Kernel: Complete rebase off of msm8660-common kernel, All the speed and features of my original kernel are still there, just streamlined for easy merging of new caf stuff
* Kernel: updated to Linux 3.0.72
* Kernel: Updated vidc drivers to jb-chocolote from caf (1/2)
* Kernel: Updated vidc drivers to jb-mmr1-chocolote from caf (mr1 = aosp 4.2) (2/2)
* Kernel: Updated adreno drivers (note: we are still using old libs)
* Kernel: Updated bluetooth to jb-chocolote from caf
* Kernel: Updated qdspv6v3 to jb-chocolote from caf
* Kernel: Added USB HID support to kernel
* Kernel: Added USB OTG to kernel
* Kernel: Added updated mpdecision by showp1984
* Display: hwcomposer updated to 1.0
* Display: kernel now correctly reports refresh rate to gralloc
* Display: Allow to build with MDP-4.1 (somewhat fixes video artifacts)
* Switched composition.type=dyn to mdp in build prop
* Updated vidc firmware to match new vidc in kernel
* Updated liblights
* Fixed build.prop so GooManager will notify of new versions
* Lots of upstream Changes (check gerrit for details)
* Bugfix: Upstream: cLock: switched to new API (old one was taken down???)
* Cleaned up kernel config script
* Bugfix: Fixed HWC in framebuffer target logcat spam
* Bugfix: blending in video playback bug has been somewhat squashed, not 100% yet, tested with BSPlayer
* General cleanup
Mar-31
* Added x264 1080p video recording and camerawrapper commit from gerrit
* Thumbnails for recorded videos are now fixed
* Increased wi-fi scan interval a bit
* Fixed disapearing OSD in video player etc (no need to disable h/w overlays)
* Cleaned up display-legacy repo
* Upstream Changes
Mar-28
* Added setting to allow lockscreen to rotate (disabled by default) you must uncomment the lockscreen_rot_override line in build.prop
* Upstream: Removed Pie settings for devices with hardware keys
* Other upstream changees. Check review.cyanogenmod.org for details
Mar-27
* Switch to PM_FAST when screen is off
* Frameworks/av is now 100% CyanogenMod (cyanogen added legacy camera prarms so evervolv cherry picks are not needed)
* Host of updates to media and display
* Upstream Changes
Mar-24
* Reverted change to PM_FAST as there was no benefit and comsumed more battery
* Added lazy and conservate CPU governors to kernel
* Raised Volume levels a bit (thanks erraggy)
* Tried to address video tearing (not completely gone)
* Upstream Changes
Mar-22-build2
* Sorry completely borked the audio_policy.conf, fixed now
Mar-22
* Fixed GooManager not notifying about updates, After this build install it should notify you
* Re-enable FM Radio (got lost in merge)
* dalvik cache is back in cache now
* Kernel base updated to Linux 3.0.70
* Upstream Changes
Mar-21
* Merged my device tree with Team-Hydra repo, All future roms will be based on this, Check OP for details
* Updated Kernel base to 3.0.69
* Added frandom support to kernel for people who want it
* Switched to PM_FAST in kernel (high power wi-fi when screen is off)
* Host of upstream Changes
* Cleanup
Mar-15
* Upstream Changes
Mar-14 (internal)
* Upstream Changes (mainly translations)
Mar-13 (internal)
* Re-added a couple build.prop settings (mainly data/network related)
* Disabled libv8 optimizations since we don't have the correct qcom props (thanks intervirgil)
* Forgot to change governor to ondemand when i added back the configs for it in the init script
* Cleaned up the sweep2wake configuration
* Changed kernel version string back to ChronicKernel, Kernel is so heavily modified now it deserves it's own name
* Upstream: frameworks/base: Added Volume Tile to Quicksettings
* Upstream: Phone: Settings: do not override network mode on read
* Upstream: cLock: Fix error when the weather data from Yahoo is incomplete
* Many upstream translations changes and other small things not worth listing here
Mar-11-build2
* Reverted the removal of CPU min/max freq, CPU gov, and I/O (ondemand still default)
* Upstream changes
Mar-11
* Updated kernel base to Linux 3.0.68
* Removed settings from kernel init script that can be configured in CM's Performance settings menu
Note: init script still sets min cpu freq to 384mhtz as its still strongly advised
* Set default governor to ondemand
* Added support in kernel init script to enable tun.ko
* Upstream changes. I think there were some updates to DeskClock (alarm clock) and a few other minor updates
Mar-9
* Fixed video recording with FFC. If you still get Force Closes clear data and cache for Gallery
* Imported bruce's media_codecs.xml and media_profiles.xml (this is what fixed FFC video recording)
* Minor upstream changes
Mar-8 (Internal)
* Fixed Volume Rocker Wake not showing in Settings>Display
* Reverted CRT Hack in kernel - Not needed for cm-10.1
* Now using Team-Hydra display-legacy and media legacy repos as they are maintained
* Switched to Team-Hydra frameworks/av repo as it has a more complete Camera patch
* Merged new KGSL from bruce's kernel
* Upstream Changes including new weather icons for cLock
* Minor cleanup and changes
* Wallpaper reseting to default should be fixed (I guess this was a side-effect of small PMEM MDP)
Mar-7
* Minor tweak to pmem to fix AOSP_BASE growing into framebuffer (very rare that this would happen anyway but fixed)
* Switched back to the other display-legacy and media-legacy repos i was using as they are being kept up to date by the maintainer
* Upstream changes
Mar-6
* Finally figured out the math behind mapping pemem so I could increase its size without trashing FrameBuffer
* Soft-reboots should be gone now due to the PMEM increase
* A Couple cherry-picks that might help with video playback (probably not though)
* Upstream: Switched to new superuser by koush
* Other upstream changes I don't remember. Check Gerrit for details.
Old Changelogs
Kernel
ChronicKernel
Kernel now based on Bruce's kernel with a few changes by me, including:
* Compiled with linaro
* Set flash to disable if battery is below 10% to prevent the random shut-off when taking a pic
* Removed/Disabled KSM
* Removed ZRAM
* User-configurable GPU OC (Not OC'd by default)
* Optimized and compiled with with the "Optimize a lot, or -o3 option)
* Added more I/O schedulers
* Tweaked voltages a bit
* Reverted CRT hack to smooth animation in Android 4.2.2
* Increased PMEM_MDP as it is needed in Android 4.2.2 to fix soft-reboots
* PM_FAST enabled by default (high power wi-fi when screen is off)
These settings were changed by me to help make the kernel more stable with our ROM, observed with tests by me. If you want more features of the Sultan kernel feel free to flash it, but support will not be provided in this thread.
Other Features of the kernel include:
* OC to 1866Mhtz (default 1566Mhtz)
* Undervolted
* User-configurable CPU OC
* User-configurable CPU default governor (ondemand = default)
* User-configurable I/O scheduler (default = SIO)
* User-configurable badass gonvernor (default = balanced)
* Sweep2Wake
You can edit many of the settings in /system/etc/init.d/99kernel, here is a snippet of the script with all the config options
Kernel init script: Click Show Content to expand
Code:
#Script originally made by Axetilen. Modified by Sultan (android1234567)
#Updated for albinoman887's ChronicKernel (98% of the credit goes to android1234567. Thanks so much man :)
# Configure your options here #
# Config default CPU Gonvernor (Disabled by default: When disabled uses internal Kernel setting)
# For better battery life switch to badass
# Kernel Default: ondemand
# Possible values
# badass
# ondemand
# interactive
#= lagfee
# performance
GOV=ondemand;
# Config I/O scheduler
# deadline
# cfq
# noop
# vr
# sio (default)
IO=sio;
# Config CPU max frequency
# Default: 1566000 (1566Mhtz)
# Overclockable to - 1836000 (1836Mhtz)
# for badass set to 1566mhtz (best performance/battery life)
MAXFREQ=1566000;
# Config CPU min frequency
# Default: 384000 (384Mhtz)
# Range 384000 - 1944000 (384Mhtz - 1944Mhtz)
MINFREQ=384000;
# Config 3D GPU clock
# 228571000 = 228mhz
# 266667000 = 267mhz (default)
# 300000000 = 300mhz (Recomended For balance of Performance and Battery life)
# 320000000 = 320mhz
GPU=266667000;
# Config 2D GPU clock
# 145455000 = 145mhz
# 160000000 = 160mhz
# 200000000 = 200mhz (default)
# 228571000 = 228mhz (Recomended For balance of Performance and Battery life)
# 266667000 = 267mhz
DD=200000000;
# Badass
# possible values
# 1 = performance
# 2 = balanced
# 3 = battery saving
BADASS=2
# Enable Sweep2Wake
# 0 = disabled (default)
# 1 = enabled
# 2 = enabled (with no button backlight during sweep)
SWEEP=0
# Enable Fastcharge
# 0 = disabled
# 1 = substitute AC to USB charging always
# 2 = substitute AC to USB charging only if there is no USB peripheral detected
FASTCHARGE=0;
# Fsync Control
# Disabled by default (recomended)
# 2 = Fsync disabled
# 1 = Fsync enabled
FSYNC=2;
# TUN
# Disabled by default
# 0 = Disabled
# 1 = Enabled
TUN=0
# End of configurable options #
Please note this is not the full script just a small portion, Check /system/etc/init.d/99kernel for the full script
Bugs
* MHL doesn't work
* Sweep2wake sometimes causes issues with the proximity sensor during calls
Notes
* As of Feb-19 CyanognMod changed the way the reboot menu works. To enable the "Advanced Reboot" menu with recovery and bootloader go to Settings>Developer Options and Check Advanced Reboot
* As of AOSP 4.2.2 ADB now has a whitelist feature. On first connect with adb it will say device offline You need to update your ADB then with the phone connected. Disable and Re-Enable Android Debugging in the Developer Options menu. It will ask if you want to accept and show the PC's RSA key. Select Yes and it will now work as expected
* If your homescreen does not look right (big margins) go to System Settings>Launcher>homescreen[/B] click Stretch screens. Then choose grid size and set rows to 5.[
* As of AOSP 4.2.1 Developer Options and Performance setting menu options are hidden until you go into about phone and tap build number repeatedly (aprox. 6 times) this only needs to be done once
-2
* If you are having a lot of soft reboots when waking the device set you min CPU freq. to 384htz in Performance settings. (What? no Performance settings? ummm look up hehe)
* If you are coming from another ROM i highly recommend you perform and Wipe Date/Factory Reset in recovery menu when applying this ROM.
* The gapps linked to does not have photosphere. As far as i know it's not supposed to. If you want photophere search for the flashable zip
* If you can't get MMS to work. Send yourself a MMS. or just wait a day. eventually they will work again
* For the best battery life I suggest the stock settings with the exception of the ONDEMAND governor. Switching to BADASS will yield best battery results
DOWNLOAD
ROM : cm-10.1-20130806-Albinoman887-pyramid.zip
Gapps : gapps-jb-20130301-signed.zip
Goo.im Repo : CLICK HERE
* This ROM can also be downloaded directly with GooManager *
Source Code
Team Hydra Github (main): https://github.com/Team-Hydra
CyanogenMod Github: https://github.com/CyanogenMod
Personal Github: https://github.com/Albinoman887
Credits
* First off of course cyanogen, the CyanogenMod project and all who contribute.
* Bruce2728 for doing all the leg-work originally to get get CM-10 on our Sensation, most of which was used for CM-10.1
* Evervolv Team for their device tree. This was largely what was needed to get the build going.
* mikez for all his work on the Evervolv/pyramid tree.
* NLJ for making the diff patch of Evervolv's frameworks_av repo to get camera working
* jiggs82 for all his helpful hints.
* And any and all users in this thread who contirbuted or will contribute to making this ROM as stable as possible
* dastin1015 for answering all my n00bish questions, and providing helpful hints and solutions
* android1234567 for all the help with the kernel, without you we wouldn't have new kernel
* tarfu for fixing camera p2z
* blahb14hblah for his hint to the extra scrolling tweak in frameworks/base
* NLJ for fixing the Sweep2Wake proximity sensor issue
* Skipjacks for maintaining the Q&A thread
* A bunch of thanks to arco, for all his updates to our kernel, our display libs, our media libs, and for fixing the video playback glitching, and for being a good friend and dev mentor.
Donations
I really didn't want to do this but people keep asking so here is a donation link if you want to buy me a coffee or pack of smokes (I go through a lot sitting on the PC messing around lol) go ahead. But not required or expected by any means
Note: The name on the paypal account may say patricia, this is because it's a family paypal account.
For more information like compiling, see 2nd post
Happy Flashing
Albinoman887
Old changelogs
Feb-6
* Fixed GPS not working from last build
* No longer build from gps-legacy, use CM source
* Upstream: Contacts: Lots of clean up and optimization
* Other upstream changes I am not listing here. Check gerrit for more details
* Kernel: Added mpdecision fix for freq <384hmtz (still not not advised) credits: android1234567
* Kernel: Updated to Linux 3.0.62
Feb-4 Build 2
* Fixed pinch to zoom for camera (all credits go to tarfu)
Feb-4
* New kernel base
* User Configurable GPU Overclock. (/system/etc/init.d/89kernel)
* Removed Sweep2Wake
* CPU Overclockable to 1.94Ghtz
* Undervolted CPU a bit more
* Kernel now compiled iwith Linaro
* Added scrolling build.prop tweaks
* Increased Wi-Fi voltage
* Upstream Changes
* Cherry picked commit for Contects that will maybe improve scrolling
Feb-2
* Native WiFI tether works
* Preliminary FM Radio support
* Upstream Changes
* Overall snappier do to optimization
Jan-31
* Reverted native tether fix to fix the SSID scanning
* Removed bcmhd module from device tree as its in kernel
* Upstream changes
Jan-30
* Fixed LocationProvider Wakelock
* Fixed 1080p video recording
* Fixed Native WiFI Tethering (have only tested with unsecured network)
* Upstream Changes
* Updated local_manifest.xml for people compiling from source (will soon just start hosting it on github)
Jan-29
* Really fixed GPS
* Fixed WiFi Tethering (Barnacle only))
* Cherry picked a bT patch for 48 htz playback
* Fixed volume
* Removed mpdecision (kernel has this)
* Updated build.prop to be in-line with bruce and others
* Anyone who was having slow data should be fine now
* Updated kernel to Linux 3.0.61
* Sweep2Wake disabled by default (could very well be cause of batt drain and sensor issues)
* Probably some other changes I forgot
Jan-27
* Fixed GPS
* Possibly fixed Bluetooth Issues
* Upstream Changes
Jan-26
* Removed Evervolv default wallpaper (i'm an idiot)
* Cleaned up code (reverted some changes by Evervolv)
* Tryed to fix the bugs with bluetooth but have no device's to test it with
* Upstream Changes as of 11am PST
Jan-25
* Fixed some Display glitches
* Removed thermald.conf to match bruce's branch
* Switched Kernel base - (OC/UV - Thanks bruce)
* Upstream changes
Jan-24-Build2
* Fixed Camera
* Fixed Signal Strength icon
* Re-added Torch
Jan 24
* initial build
Compiling
first create the folder structure for your source. I suggest creating android/system n your home directory.
Now cd into this directory enter this command
Code:
repo init -u git://github.com/Team-Hydra/android.git -b cm-10.1
repo sync
Once you have done that your ready to go. simply run:
Code:
. build/envsetup.sh
. vendor/cm/get-prebuilts
lunch cm_pyramid-userdebug
mka bacon
make sure before you start a new build to always run make clobber
If anyone would like to help bug bash with me feel free. if you make any progress send me a pull request
Happy Flashing!
Albinoman887
albinoman887 said:
Everyones a n00b. Bruce was a n00b at one point so was vorbeth. i remember bruces first post. IT WAS EXACTLY LIKE MINE a big rant about how he just through **** together to get it to work and it went from there. If it wasnt 5 am maybe i would have made the thread all nice and neat but meh take it or leave it. better then whats out there. I dont see you contributing
Click to expand...
Click to collapse
For developer options menu you have to tap the build number a few tines to enable it, that's how it is in 4.2
Jiggs82 said:
For developer options menu you have to tap the build number a few tines to enable it, that's how it is in 4.2
Click to expand...
Click to collapse
Ha! Thanks man now i have my CPU settings back
do u have to do it every boot?
albinoman887 said:
Ha! Thanks man now i have my CPU settings back
do u have to do it every boot?
Click to expand...
Click to collapse
No problem and nah you don't bro
Sorry for asking but is this stock android as I would get it on a nexus device? Currently I'm on bruce's build and I really like the look and feel of Android. Don't want to miss that. Thanks for your effort.
Re: ]ROM]+[DEV]+[Alpha] CM10.1 AOSP 4.2 Jellybean [KANG]
Yes its exaxtly like bruce's just newer. I still need to upload a compiled build check back in an hour and 45 mins I will be home thwn to upload ir
Sent from my HTC Sensation using Tapatalk 2
Re: ]ROM]+[DEV]+[Alpha] CM10.1 AOSP 4.2 Jellybean [KANG]
@jiggs82 Thanks for the info. And thanks for contributing istrad of just being a troll
Sent from my HTC Sensation using Tapatalk 2
Is the 3D performance fixed, glitches, 3D games artifacts and texture ghosting? MHL?
Great to see the community is on to something, but I'm gonna pass this one because the camera is shot :/
but still would love to hear how it performs, hope it has potential
albinoman887 said:
CyanogenMod 10.1 Jellybean 4.2 - KANG
Working:
SD Card
Audio
Radio
SMS
WiFi
Bluetooth
Not Working
Camera
Click to expand...
Click to collapse
I got it to work except 1080p recording (you can select 1080p mode but it doesn't start recording)
Could you check if GPS is getting a fix on your build?
Must have screwed something cause it keeps searching for location and never gets one :/
I can share my build here (if you don't mind of course) I'm not sure how much time I can put into this project so I'm hesitating about creating another thread
Best regards
NLJ
Re: ]ROM]+[DEV]+[Alpha] CM10.1 AOSP 4.2 Jellybean [KANG]
If you want check out my github by the same user name if u fix anything send me a pull request. I'll chrck gps but I remember when looking through the make files I saw something about gps that cought my eye. I'll test my gps right now though is your build much different then mine? Oh and to the guy about the can, evervolv has it working so it can be done
EDIT: just tested gps, it works
Sent from my HTC Sensation using Tapatalk 2
is your build much different then mine?
Click to expand...
Click to collapse
Don't think so Sources are the same (and I believe I've hinted you with that singleton fix on Gerrit )
Have look at https://www.box.com/s/1fh69wo3nqxujv887gph
frameworks_av.diff shoud get you working camera and you can see my build there too
Now I wonder how did I manage to screw gps...
To make things clear:
Camera fix patch is heavily based on what is Evervolv repos. I just picked only what was necessary to get this going. Some CameraParameters.cpp entries I've added by checking what is needed by lib/hw/camera.default.so
Sv: ]ROM]+[DEV]+[Alpha] CM10.1 AOSP 4.2 Jellybean [KANG]
NLJ said:
Don't think so Sources are the same (and I believe I've hinted you with that singleton fix on Gerrit )
Have look at https://www.box.com/s/1fh69wo3nqxujv887gph
frameworks_av.diff shoud get you working camera and you can see my build there too
Now I wonder how did I manage to screw gps...
To make things clear:
Camera fix patch is heavily based on what is Evervolv repos. I just picked only what was necessary to get this going. Some CameraParameters.cpp entries I've added by checking what is needed by lib/hw/camera.default.so
Click to expand...
Click to collapse
GPS works fine on your build, just tested it
Edit: And I think this would fix the signal-indicator: https://github.com/Evervolv/android...mmit/13401c837fe32f22d81a351e23eb9724c00c9e4e
Sent from my Nexus 7 using xda premium
The_Hamster said:
GPS works fine on your build, just tested it
Edit: And I think this would fix the signal-indicator: https://github.com/Evervolv/android...mmit/13401c837fe32f22d81a351e23eb9724c00c9e4e
Sent from my Nexus 7 using xda premium
Click to expand...
Click to collapse
Sort of. He needs to get the patch for /telephony as well.
Re: ]ROM]+[DEV]+[Alpha] CM10.1 AOSP 4.2 Jellybean [KANG]
All I did to fix signal icon was remove gsm from the end of the line with signalstrngh and the defaault_wireless_network=0
Sent from my HTC Sensation using Tapatalk 2
Re: ]ROM]+[DEV]+[Alpha] CM10.1 AOSP 4.2 Jellybean [KANG]
The_Hamster said:
GPS works fine on your build, just tested it
Edit: And I think this would fix the signal-indicator: https://github.com/Evervolv/android...
Sent from my HTC Sensation using Tapatalk 2
Click to expand...
Click to collapse
LaidbackNikez said:
Sort of. He needs to get the patch for /telephony as well.
Click to expand...
Click to collapse
which patch is this? is it the ones in frameworks base and frameworks/opt/telephoney about if above a certian RIL use COMA/ i woulnt think so but ive been wrong before. its the only recent open patch i can find related to telephony. what would it fix? i have a signal bar now
Running your rom now so far so good. Keep up the good work
Re: ]ROM]+[Alpha] CM10.1 AOSP 4.2.1 Jellybean [KANG]
Do we need to flash 4.2.1 gapps?
Sent from my HTC Sensation using xda premium
AW: ]ROM]+[Alpha] CM10.1 AOSP 4.2.1 Jellybean [KANG]
That's funny. The cam makes photos, but you can't See anything before you make the photo.
Gesendet von meinem HTC Sensation mit Tapatalk 2

[KERNEL][AOSP][7.x][d2vzw] Skatter Kernel-v2 - 11/03/2017

[size=+1]Welcome to Skatter Kernel forum.[/size]
Today I am very proud to release the Skatter Kernel to you guys, I've done hundreds of tests to see what features function well, and which one's don't. The idea behind this kernel is to be able to customize it the way you want, with the best battery possible
Now... let's take a look and see what's inside this bad boy.
Click to expand...
Click to collapse
Skatter Kernel-v2 is a complete rewrite of v1. What makes this version of the kernel so special?
It's faster, even more stable, and has the ability to run any governor from a 3.10.y kernel.
I've ran many tests and can say, these governors have been playing very nicely with our d2 device. I have not added any junk commits, or any that would cause any battery drain. Also I'm sorry for anyone on marshmallow... but kernel from now on is only going to be nougat and up.
Also I would like to make an introduction to my "Skateractive" governor! :victory:
What does the Skateractive governor do anyways?
Code:
This governor is based on the linux 3.10.y Interactive governor.
I've written it to be mostly a "screen-off profiling" governor.
Meaning, I've added tunables that allow you to customize the governor while the screen is off.
These are...
Timer_rate_multiplier: Name speaks for itself, how many times to multiply timer_rate on screen off. Max number is 10.
Screen_off_maxfreq: Set the limit the max frequency can be reached on screen off.
Screen_off_maxfreq_single_core: If you're like me and use hotplugs you'll notice it can get a bit laggy with music playback when one core is online & max freq is 702mhz. So add a frequency limit for when only one core is online and the screen is off. :good:
* Not a tunable: But enabled powersave bias on screen off & on screen-on back to normal.
Also stripped governor of any unneeded code. For best performance.
Features
* Compiled with a highly optimized Uber 7.x TC
* Tons of optimizations (-Ofast, Graphite, Cortex-A15) and lots more :good:
* CPU UC/OC from 162MHz to 1836Mhz
* Set to Permissive
* Net Speed Tweak
* Decreased time to enter deep sleep
* Optimized GPU
* Enabled Low Power Memory Mode
* Quick Wakeup Driver
* Some Aggressive Seeder Tweaks
* Optimized Square Root Algorithm
* More memory from loggers (Cause the more RAM, the better)
* Screen Tweaks for filling blank spots with more color
* Voltage Table, for your UV/OV Needs
* Tweak to disable Powersuspend when State Notifier is enabled.
* Set standby frequency to 54Mhz.
* Tweaked to lower Thermal throttle on screen off.
* UKSM for better ram, set to not consume so much battery.
* Frandom.
Decimalman's features
* Overclocked GPU to 600, modded & upped to 750Mhz.
* And his super badass tierservative & freelunch governors :good:
* Fast charge patch, no need to diconnect :good:
* Tiered GPU Governor, very nice with frequencies.
Faux123's Features
* Fauxsound
* Powersuspend v1.7
* Dynamic Fsync
* Simple GPU Governor
I/O Schedulers
* Sio
* Sioplus
* V(r)
* Noop
* Zen
* Fifo
* TripNDroid
* Fiops
* Maple
Hotplugs
* MPDecision
* Bricked Hotplug
* Blu_Plug
* Thunderplug v5.4
* AutoSMP
* Intelliplug
* Alucard
* State Helper
* MSM Hotplug
* Skater Hotplug
x MSM Sleeper
x Zen Decision
CPU Governors
* Alucard
* Blu_Active (Latest version)
* Chill
* Conservative (3.10.y version)
* Cultivation
* Cyan (For those gamers, do not use with hotplugs.)
* Darkness
* Despair
* ElementalX v2
* Freelunch
* Interactive
* Lionfish
* Lionheart
* NIghtmare
* Ondemand (3.10.y version)
* Performance
* Powersave
* Relaxed
* Skateractive (Default)
* Skatter_Core
* Smartmax
* Smartmax_EPS
* Tierservative.
Instructions
1.) Make... a... [size=+1]BACKUP[/size]
2.) Download kernel & copy it to sdcard
3.) Flash
4.) Wipe dalvik-cache & cache
5.) Most importantly, Enjoy :good:
Downloads
Right Here
Modded Kernel Adiutor
Right Here
* If anyone needs a mirror link, just ask and I will upload
Contributors
* A special thanks to @bthorne79 for helping me get started on this
* Another special thanks to the beast himself @decimalman
for helping me with a ton of noob questions & especially for the patchs:good:
@faux123 for all his awesome features
@neobuddy for helping me out with the blu_plug driver
@invisiblek for keeping this awesome device alive
@canodroid15 for running my test builds :highfive:
Everyone at CM & everyone else who I forgot
Disclaimer:​
Code:
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you. Hard. A lot.
*/
​
XDA:DevDB Information
Skatter Kernel, Kernel for the Verizon Samsung Galaxy S III
Contributors
Lonelyskatter12, bthorne79, decimalman
Source Code: https://github.com/Lonelyoneskatter/skatter_d2_kernel
Kernel Special Features:
Version Information
Status: Stable
Stable Release Date: 2017-01-29
Created 2016-09-29
Last Updated 2017-11-03
@lonelyscatter12, thanks for this! Please check the download link, as it returned a file moved message. Would also greatly appreciate adding Illinois to the collision algorithms and uc down to 54 MHz, like dkp. Higher oc speeds are possible, but not with 100% stability (1944 w/ +mvolts runs, but above 1782, downloads are corrupt-i assume a bus limitation?), so while I like to play with higher speeds and would try them, if you made them available, 1836 is a practical limit. Thanks again!
AyUaxe said:
@lonelyscatter12, thanks for this! Please check the download link, as it returned a file moved message. Would also greatly appreciate adding Illinois to the collision algorithms and uc down to 54 MHz, like dkp. Higher oc speeds are possible, but not with 100% stability (1944 w/ +mvolts runs, but above 1782, downloads are corrupt-i assume a bus limitation?), so while I like to play with higher speeds and would try them, if you made them available, 1836 is a practical limit. Thanks again!
Click to expand...
Click to collapse
Uhmmm... what?
Lonelyskatter12 said:
Uhmmm... what?
Click to expand...
Click to collapse
Maybe too much caffeine. Let's start with the bad download link. When I clicked the "right here" link in op, it returned: "This shared file or folder has been removed." Could you fix the link or provide mirror, please? Thanks!
AyUaxe said:
Maybe too much caffeine. Let's start with the bad download link. When I clicked the "right here" link in op, it returned: "This shared file or folder has been removed." Could you fix the link or provide mirror, please? Thanks!
Click to expand...
Click to collapse
Done :good:
Now what else is it that you would like, and I will do my best to add it, if possible.
It works well the kernel also tested on android 5.1 lollipop and to my surprise also worked, the only problem is that the kernel brings the problem of Android 6 videos on youtube at 60 fps not very appreciated (note this in lollipop and logically marshmallow too). I wonder if you can do this kernel but also based on lollipop.
Sent from my d2att using XDA Labs.
[size=+1]Changelog[/size]
* Added 2 governors (Intellidemand & Ondemandplus)
* Added Power Efficient Workqueues
* Added The Intelli_plug 5.2 driver
* In sync with CM
* Added OOM throttle
* A few hotplug fixes. Still have more to do but this'll do until they're are more stable.
* Added toggle for Gentle Fair Sleepers & Arch Power
[size=+1]Note:[/size]
*** Even tho linux version still says 3.4.112 it has the necessary patches for the "Dirty COW" exploit. Linux version will remain 3.4.112 as I have chosen to wait until CM officially merges 3.4.113 ***
thanks to @canodroid15 for notifying me & @decimalman for confirming the patch is in the kernel :highfive:
Wooty woot!
[size=+1]*** Changelog ***[/size]
* Synced up with LineageOS
* Fixed State Notifier, lagging when enabled with Powersuspend.
* Lowered the value of thermal driver from 70 to 50. Also made it a bit more agressive, will get a bit laggy just raise the limit to start throttling, but values will keep the phone cooler longer.
* Green screen recording/thumbnail bug is fixed. Finally. :highfive:
* Fixed a small issue with voltages.
* New experimental values for Umbrella_core governor.
- Nougat kernel only, MM kernel will be up later
As always, enjoy :good:
I have been using this kernel on LOS 14.x for months and super pleased. Overclocking to 1944 mhz works. Even downloads and pstore updates work, which were allay corrupt at any speed over 1782 mhz. Tried the 6/22/17 build and didn't have the range of options and seemed less stable. Reverted to prior build, but noticed the latest download indicates v.2. Does that mean those glitches i saw in 6/22 have been fixed? Thanks a ton for all you're doing to keep the little d2 that could chugging along!
AyUaxe said:
I have been using this kernel on LOS 14.x for months and super pleased. Overclocking to 1944 mhz works. Even downloads and pstore updates work, which were allay corrupt at any speed over 1782 mhz. Tried the 6/22/17 build and didn't have the range of options and seemed less stable. Reverted to prior build, but noticed the latest download indicates v.2. Does that mean those glitches i saw in 6/22 have been fixed? Thanks a ton for all you're doing to keep the little d2 that could chugging along!
Click to expand...
Click to collapse
What glitches exactly?
Please humor the N00b here; I'm curious to hear what everybody's preferred governor is, and what settings might be best for a balance of speed and stability?
I'm just getting into the custom kernel scene; steeeeeeep learning curve...
Lonelyskatter12 said:
What glitches exactly?
Click to expand...
Click to collapse
@lonelyscatter12, sorry for the long delay replying--uber busy times at work/life, etc. and perhaps mostly 'cause skatter_kernel-N-03262017.zip continues to work very well for me (many, many thanks!). I'm on the latest official LOS 14.1.x build, with MagiskSu.
The "glitches" I see with skatter_kernel-v2-N-06222017.zip when I've tried it have been that certain settings options that are available under 03262017 are not available under 06222017.
I normally set CPU to min 54-max 1890 (max available under 03262017 is 1944, which runs, but not perfectly stable). 06222017 defaults to 384-1512, like the stock CM kernel did. Min can be changed to 54, but max can't be changed and may even downgrade itself to 1188 for no reason (Thermal isn't throttling or anything like that).
Lionheart CPU governor is the only one from the OP listing that is missing in 06222017, though I don't use it, so not a biggie for me (I use tierservative or skatteractive, mostly). However, under 03262017 I've got adaptive, asswax, bioshock, dancedance, hellsactive, hyper, impulse, intelliactive, intellidemand, intellimm, optimax, pegasusq, tripndroid, uberdemand, wave, wheatley, yankactive, and zzmoove.
All hotplugs seem to be present (I've liked Alucard for balance of speed and battery life).
I get no options for thermal driver--just a single temperature/CPU throttle option--under both kernel versions.
GPU max freq. under 06222017 is 600, but under 03262017 it's 750. Though GPU governor options display under 06222017, I cannot change from the default, ondemand. I go with simple under 03262017.
Finally, under Misc. Controls, TCP Congestion Algorithm, 06222017 only displays cubic and reno, both of which suck. Illinois and Westwood are much better and available on 03262017 (also has bic, highspeed, htcp, hybla, lp, scalable, vegas, veno, and yeah).
I'm using BHB27's modded Kernel Adiutor, which works great btw, is ad free, and uses what I think is the older/better UI than the Adiutor from play store. Does not seem to make any difference that it's designed for quarks--it's just displaying the options available within the kernel, anyway, right?
I'd really like to get back the options available under 03262017 with updated versions going forward and maybe add choices for Thermal drivers, like intellithermal or a binary thermald (just called Thermal on quark). Something was done in CM 14.x/LOS 14.x that permitted the CPU to run higher clock speeds stably and without data corruption. On every rom prior to N, 1782 was the highest clockspeed at which downloads and app installations would work reliably, without data corruption. Now, all that is solid all the way up to 1890 and general operation is great at 1944, though battery life takes a hit.
Finally, gotta say first and foremost, thanks for keeping the little D2 that could chugging along! In fact, with yours and invisiblek's great work, she's not just chugging along, but sailing nearly on par with a newer 4core device!
[size=+2]***Changelog***[/size]
* Optimized KSM settings.
* Added UKSM, along with all it's governors.
* Major fixes to the powersuspend driver.
* Ability to disable powersuspend, while State notifier is enabled.
* Added back dynamic fsync control.
* Added back frandom.
* Overclocked GPU to 750, again be very cautious.
* Added back Simple GPU governor, disables Tiered if enabled. And if both are disabled, it sets GPU governor to ondemand.
* Fixed alot of compiler warnings, to ensure kernel is stable.
* Introducing Skater Hotplug, based off of AutoSMP, still have more features to add.
* Added decimalman's modded thermal driver, device should run cooler now.
* Added tweak to set thermal screen off temperature limit.
* Set standby frequency to 54Mhz.
* Added a few Linaro patches to help with battery.
* More debugging disabled.
* Added back MSM Sleeper.
* Added back all TCP controls.
* Updated Uber TC.
* Lots of dkp commits. Because decimalman knows what's good for our device :good:
Bonus
I'm new to app developing but, I have managed to add most features to kernel adiutor myself.
So there will be a link in OP for the app. :good:
​
Dead link?
Dead link, not to be a bother.
Anyone have a copy they'd share please? c:

[CLOSED][KERNEL][Sakura][V2] THUNDERSTORM ⚡️- 25th March

ThunderStorm Kernel
Code:
[SIZE="4"]#include
/*
* I am not responsible for bricked devices, dead SD cards, thermonuclear
* war, or the current economic crisis caused by you following these
* directions. YOU are choosing to make these modificiations, and
* if you point your finger at me for messing up your device, I will
* laugh at you.
*/[/SIZE]
About ThunderStorm Kernel
ThunderStorm Kernel was first introduced to Redmi 5. Now it is also available for Redmi 6 Pro. It is developed to unleash the full power of your device. This kernel is developed in a manner to give you a balanced blend between battery life and performance. I have added various tweaks i.e. governors, i/o schedulers, and various other patches and fixes from many great kernels. The kernel will get updates regularly with new features/patches/fixes. I am continuously trying to make it more better day by day. I believe in quality over quantity.
Code:
[SIZE="4"]/*
*
(V2)
- Upstreamed Kernel Version To : 3.18.137
- Upstreamed CFQ i/o scheduler with many backports on it
- Initial GPU freq is set to: 133Mhz
- Performance boost
- Removed Some Algorithms
- Removed zzmoove governor
(V1.1)
- Fixed Vibration [ Now it Works ]
- Power on display asynchronously as early as possible
- Power Efficiency Improvements
- Reduced Auto Suspend to 50ms
- Misc Fixes
(V1)
* Based on Latest Xiaomi Kernel Sources
* Latest CAF LA.UM.7.5.r1-03700-8x96.0 release tag
* Upstreamed to Linux version 3.18.134
* Android P compatible
* Initial CPU frequency is set to 652 Mhz
* Initial GPU frequency is set to 133 MHz
* CPUFreq governors: interactive (default), conservative, ondemand, userspace, powersave, performance
* I/O schedulers: bfq (default), noop, deadline, cfq
* TCP Algorithms: cubic (default), reno
* Sound control
* KCAL v2 support
* Power efficient workqueues enabled by default
* Battery charger qnovo interface included
* Adreno Idler included
* Boeffla_wl_blocker included with extra wakelocks blocked (Lord Boeffla)
* Fsync on/off supported
* Software CRC check exposed to userspace and disabled by default, might see some performance improvement
* Implemented usb fast charge mode (Do not be confused with Quick Charging technology, [B]I will never [/B]try to mess with quick charging features for our device, which is not supported)
* Wireguard is supported
* Disabled a lot of debugging symbols
* Franco Profiles are supported
* Enabled CPU Boost
* Enabled RCU Boost
* Interactive governor improvements
* Many memory improvements
* Upstream ANDROID: sdcardfs
* Add state notifier support
* Add IP Tables TTL support
* Any Many Other Modifications
* Other small improvements that aren't worth to be listed here.
*/[/SIZE]
[/INDENT]
Installation
Make sure you have a custom recovery installed(TWRP is the preferred recovery)
Download the latest ThunderStorm Kernel
Boot into recovery
Flash ThunderStorm Kernel
First boot may take up to 5 minutes.
Downloads
ThunderStorm Downloads
Download The Latest Version From the List There!
Kernel Audtior Modification's
Modifications For V2 - Click Here
Modifications For V1 & V1.1 - Click Here
Source
Kernel Source
Vote of Thanks
Genom kernel
Englezos Kernel
And All Other kernels From Where I Cherry-Picked Features
And Of Course To All The Supporters, Donators And Users
​
XDA:DevDB Information
ThunderStorm Kernel, Kernel for the Xiaomi Redmi 6 Pro
Contributors
RevanthTolety
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: V1
Stable Release Date: 2019-02-10
Created 2019-02-10
Last Updated 2019-03-25
Old Kernel Builds
Kernel Update - 20190214 full post: Here
Donations :-
If U want to Send me a Cup of Coffee
Paypal- [email protected]
Paytm - Contact in Pm
After flashing this kernel all haptic feedback has been stopped
Haptic feedback & wifi toogle not working.
after instalation this kernel on crdroid pie
issues is vibrate dont work
Double tap to wake doesn't work
pancon said:
Double tap to wake doesn't work
Click to expand...
Click to collapse
I Will have a look. It should be Mostly Working
overwatch1234567890 said:
After flashing this kernel all haptic feedback has been stopped
Click to expand...
Click to collapse
IMRAND said:
Haptic feedback & wifi toogle not working.
Click to expand...
Click to collapse
chandradeveloper said:
after instalation this kernel on crdroid pie
issues is vibrate dont work
Click to expand...
Click to collapse
This Bug was Reported I Will Have a look as soon as i find time
ThunderStorm Kernel Update [V1.1]
Download Link - https://androidfilehost.com/?w=files&flid=289849
Download The Latest Version From the List There! And Also Link Updated in OP
Changelogs:
- Fixed Vibration [ Now it Works Perfectly Fine ]
- Power on display asynchronously as early as possible
- Power Efficiency Improvements
- Reduced Auto Suspend to 50ms
- Misc Fixes
Do Give a Like If u Loved my Work
Vibration Bug Fixed
overwatch1234567890 said:
After flashing this kernel all haptic feedback has been stopped
Click to expand...
Click to collapse
IMRAND said:
Haptic feedback & wifi toogle not working.
Click to expand...
Click to collapse
chandradeveloper said:
after instalation this kernel on crdroid pie
issues is vibrate dont work
Click to expand...
Click to collapse
RevanthTolety said:
ThunderStorm Kernel Update [V1.1]
Download Link - https://androidfilehost.com/?w=files&flid=289849
Download The Latest Version From the List There! And Also Link Updated in OP
Changelogs:
- Fixed Vibration [ Now it Works Perfectly Fine ]
- Power on display asynchronously as early as possible
- Power Efficiency Improvements
- Reduced Auto Suspend to 50ms
- Misc Fixes
Do Give a Like If u Loved my Work
Click to expand...
Click to collapse
Updated, Have a Look
how to flash this ??
how to flash this ??
charging issues
filling the batery too long is very slow, I suggest the activation of the fast charging feature because Snapdragon 625 supports the fast charging feature thanks to the developer rom crdroid pie
and bug in xiaomi miui eu wifi canot activate and force close
chandradeveloper said:
filling the batery too long is very slow, I suggest the activation of the fast charging feature because Snapdragon 625 supports the fast charging feature thanks to the developer rom crdroid pie
and bug in xiaomi miui eu wifi canot activate and force close
Click to expand...
Click to collapse
- This Kernel Is only For Custom Roms. Dont Report Bugs if Flashed in MIUI
- Without Custom Kernel it Takes More than 2 Hours, but with this it takes 1hr 30min Approx to fill battery from 0 to 100.
Custom Kernel Settings
Darkeness Settings​
1. For Battery
Maximum frequency: 2016 MHz
Minimum frequency: 652 MHz
CPU boost: 1036 MHz
timer_rate: 60000
timer_slack: 480000
align_windows: 1
2. For Battery Extreme
Maximum frequency: 1401 MHz
Minimum frequency: 652 MHz
CPU boost: Off
timer_rate: 60000
timer_slack: 480000
aling_windows: 1
You can underclock the CPU or GPU values to your desired ones. If in Case You Dont have Any Idea, then Search it on the Internet
Profiles​
With any kernel manager application (kernel adiutor, exm or fkm, etc) you can change the Governor and specific values by clicking into the CPU tab.
THOSE WHO DON'T WANT TO MESS UP STAY ON INTERACTIVE!
1. For Battery :
Governor : Zzmoove
CPU Frequence min : 652 // max : 1036
Zzmoove Profiles : 2
2. For balanced usage with good performance :
Governor : Darkness
CPU Frequence min : 1036 // max : 1958
GPU Frequence min : 320 // max : 652
3. For Gamers
Governor : Zzmoove
CPU Frequence min 1401 // max 2016
GPU Frequence min 320 // max 652
Zzmoove Profile : 10
FOR EVERYDAY USAGE YOU CAN USE DARKNESS,CONSERVATIVE OR INTERACTIVE WITH YOUR DESIRED FREQUENCIES
Zzmoove Settings​
To change the zzmoove profiles open up your preferred kernel tweaker and set the governor to zzmoove. After that hit the button that says something along the lines of governor tunables, scroll down until you see profile_number and input whichever number represents the profile you want. I set it to 6 which is the ZaneZam Optimized profile. And that's about it. You don't have to mess with any of the other settings.
Zzmoove profiles:
1. For Default (set governor defaults)
2. For Yank Battery -> old untouched setting (a very good battery/performance balanced setting DEV-NOTE: highly recommended!)
3. For Yank Battery Extreme -> old untouched setting (like yank battery but focus on battery saving)
4. For ZaneZam Battery -> old untouched setting (a more 'harsh' setting strictly focused on battery saving DEV-NOTE: might give some lags!)
5. For ZaneZam Battery Plus -> NEW! reworked 'faster' battery setting (DEV-NOTE: recommended too! )
6. For ZaneZam Optimized -> old untouched setting (balanced setting with no focus in any direction DEV-NOTE: relict from back in the days, even though some people still like it!)
7. For ZaneZam Moderate -> NEW! setting based on 'zzopt' which has mainly (but not strictly only!) 2 cores online
8. For ZaneZam Performance -> old untouched setting (all you can get from zzmoove in terms of performance but still has the fast down scaling/hotplugging behaving)
9. For ZaneZam InZane -> NEW! based on performance with new auto fast scaling active. a new experience!
10. For ZaneZam Gaming -> NEW! based on performance with new scaling block enabled to avoid cpu overheating during gameplay
11. For ZaneZam Relax -> NEW! based on moderate (except hotplug settings) with relaxed sleep settings
thang1198 said:
how to flash this ??
Click to expand...
Click to collapse
Installation
Make sure you have a custom recovery installed(TWRP is the preferred recovery)
Download the latest ThunderStorm Kernel
Boot into recovery
Flash ThunderStorm Kernel
First boot may take up to 5 minutes.
Dose it work for miuipro 10 9.1.24. What Do i need to backup if i want to go back the old in future
---------- Post added at 03:10 PM ---------- Previous post was at 02:12 PM ----------
Lost ip adress &mac address after flash kernel. How to fix it
nguyenduytrungts said:
Dose it work for miuipro 10 9.1.24. What Do i need to backup if i want to go back the old in future
---------- Post added at 03:10 PM ---------- Previous post was at 02:12 PM ----------
Lost ip adress &mac address after flash kernel. How to fix it
Click to expand...
Click to collapse
its only for custom roms dude.. NOT MIUI..
Can pixel experience uses this kernel?
---------- Post added at 12:38 PM ---------- Previous post was at 12:26 PM ----------
Can pixel experience uses this kernel??
proposal
why not make a kernel like the Radon kernel because there are many choices when installing the Radon kernel
and there is a fast charger feature
3.0 and that's good
Hopefully you immediately make the same kernel as the Radon kernel
redmi 6 pro crdroid

[O/P][KERNEL]Revvz Kernel[3.18/4.9]

Code:
#include <std_disclaimer.h>
/*
* Your warranty is now probably void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this KERNEL
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
Works only on AOSP OREO/PIE roms.Do not try to install on MIUI.
This kernel is derived from @rama982's kernel sources,with a lot of modifications.Inspired in part by @RevanthTolety because he released the first kernel for the device,so I got motivated lol
Compiled using Clang 9.0.0
It is recommended to use the SmartPack Kernel Manager to use and control this kernel.
WARNING:TAKE A BACKUP OF YOUR BOOT.IMG AND THEN FLASH THIS KERNEL.I WILL NOT BE RESPONSIBLE IF YOU BRICK YOUR DEVICE.
Latest Updates will be announced here.
(+) 4.9 Kernel v3 Released!
What's new:
-New compiler: Clang 9.0.0
-System-As-Root support (Alpha release,check NOTES)
-Backported patches from mainline 5.4 kernel sources
-Improved sound output
-Some more AUDIT fixes
-Forced systemwide powersaving workqueues
-Fixed various issues
Check the CHANGELOG and NOTES below for more details
Click to expand...
Click to collapse
FEATURES:
3.18 kernel:
*CPU Governors:Lionfish,Chill,Relaxed,Electron,ZZMoove
*Hotplugs:Thunderplug,Lazyplug
*Power saving workqueues
*GPU Governors:Simple_ondemand
*Simple GPU Algorithm
*Adreno Idler
*I/O schedulers:sio,zen,maple
*Dynamic fsync 2.0
*Screen:KCAL v2,Backlight dimmer
*TCP Congestion Algorithm:westwood,reno,cubic,cdg
*Custom crypto algorithms:Chacha20*,ZSTD algorithms
*SCH_CAKE net scheduler
*Optimized ZRAM
*Various optimizations and fixes
4.9 kernel:
*CPU Governors:Schedutil,Blu_Schedutil,Pwrutilx,Pixutil
*Undervolt support (read NOTES)
*Thermal issues mitigation (read NOTES)
*Power saving workqueues
*Flar2 Sound control
*GPU Governors:Simple_ondemand
*I/O schedulers:sio,zen,fiops,anxiety,bfq
*Dynamic fsync 2.0
*Screen:KCAL,Backlight dimmer
*TCP Congestion Algorithm:westwood,reno,cubic,cdg,agile,scalable,tsunami
*Custom crypto algorithms:Chacha20*,ZSTD algorithms
*SCH_CAKE net scheduler
*Optimized ZRAM
*ZSWAP added with Z3FOLD mechanism
*Printk logging switch added
*Various optimizations and fixes
Click to expand...
Click to collapse
INSTALLATION:
Make sure you have a proper recovery. TWRP 3.2.x is recommended
*Backup your boot.img.
*Press INSTALL,locate and flash the zip.
*Reboot.
NOTE:If you want to reinstall the kernel,restore stock boot image and flash
Click to expand...
Click to collapse
DOWNLOADS:
Mediafire:
3.18 kernel (v6):
REVVZ Kernel 3.18 v6
4.9 kernel (v3):
[Without System-As-Root(SAR) for Android 9(Pie) roms]:
REVVZ Kernel 4.9 v3 NO_SAR
[With System-As-Root(SAR) for Android 10(Q) roms ]:
REVVZ Kernel 4.9 v3 SAR
Click to expand...
Click to collapse
PROFILES:
Will be provided in the next update.
@ananxd has provided an excellent KCAL config at the moment which is posted as a screenshot.Feel free to test it!
Click to expand...
Click to collapse
CREDITS:
@rama982,
@RevanthTolety,
The Android Project for the Clang toolchain,
and all other kernel devs whom I cherry-picked sources from.
Special thanks to my testers @ananxd and @NaYaB786 for the detailed information,help and extensive testing,
especially on the thermal issues.Their input was invaluable.
Please PM me for proper credits if not given.Thanks.
Click to expand...
Click to collapse
CHANGELOG:
3.18 kernel
v6:
#Fully renewed and rebased 3.18 sources (thanks to @RevanthTolety)
#Major update.
-- Imported ZSTD algorithm
-- Imported ChaCha20 crypto algorithm
-- Imported net scheduler SCH_CAKE
-- Improved TCP CDG algorithm
-- Improved RANDOM to use ChaCha20
-- Improved notifier hooks
-- Defaulted to original MSM Thermal
-- Default ZRAM compression alg. put as ZSTD
-- Disabled MSM_PERFORMANCE
-- Disabled AUDITSYSCALL
-- cfq-iosched improvements
-- TCP fastopen changes
-- Restored POPP
-- Removed the following (Requires investigation/testing):
___ MSM Limiter
___ Intellithermal v3
___ All sound mods
___ Auto-drop caches on suspend (too much overhead)
___ Frandom
___ ZSWAP,ZPOOL,Z3FOLD
___ AutoSMP
___ Adrenoboost
___ UKSM (Battery life affected?)
v5:
-- Added governors:Electron,Darkness,ZZMovve
-- Added hotplug:AutoSMP and tuned for device
-- Adler Idler tuned for device
-- KGSL:Removed POPP (Legacy power saving mechanism for msm-adreno-tz GPU governor)
-- Updated Intellithermal to v3 with more controls
-- Sched and ION optimizations
-- Eliminate fuelgauge overhead
-- Added UKSM v0.1.2.3 and fixed/optimized for device
-- Fixed MDSS notifier hooks
-- IOMMU changes/optimizations
-- Disabled 'drop cache on suspend feature' by default.Check the Notes below for more details.
-- Very small fixes
v4:
#Some more changes and optimizations.Not many major features in this release.
-- Auto drop cache on suspend (Will ensure more ram free on screen on)
-- Sync on suspend made optional
-- Backlight Dimmer feature (Ensures a much smoother and gradual transition in brightness.For people who fiddle with brightness all the time,like me :laugh: .Instructions to control available in notes below.)
-- FRandom support (Much faster and optimized than urandom or other entropy generators)
-- Reduced latencies for the fair scheduler
-- Crypto optimizations for sha and aes algorithms
-- MDSS changes
-- Zram optimizations
-- Removed WLAN_FEATURE_HOLD_RX_WAKELOCK wakelock from prima
-- Disabled debugging at many levels (More free memory available)
-- Removed SafetyNet and dm-verity flags (For example,you can use your banking apps with root and xposed without magisk hide even,if you prefer not to have magisk)
-- Extended charge time (Reduces charging cycles so much more longer battery health)
-- More very small fixes
v3:
#Sound Tweaks!This update focuses on sound output quality.
-- Qdsp changes
-- Laster K's drivers
-- Optimized audio codecs
-- Slimbus OC
-- Increased current output.
-- DTS Eagle initial version
v2:
#This version focuses on optimization of many routines/functions and also adds an
#extra layer of stability.
-- TCP:Added CDG congestion algorithm
-- GPU:Add conservative,conservative2 governors
-- Improve headphone detection speed
-- Optimized arm64 functions added
-- DIsabled some more logging
-- Optimized readahead divide/multiply by power of 2 using L/R shift
-- MDSS changes/optimizations
-- Faster and smoother boot
-- oom_kill optimizations
-- lowmemorykiller optimizations
-- genirq fixes
-- Added Z3FOLD
-- Adreno:Increased data limit to 700
-- Adrenoboost
v1:
#Initial release,so the changelog is in the features list.
-- Initial release.
4.9 kernel
v3:
#This release mainly has backported fixes and mitigations
#from mainline Linux 5.2-5.4
-- Turned on TTWU_QUEUE feature (beneficial to WALT)
-- Optimized the regulator for better performance
-- Forced systemwide powersaving workqueues only (commit)
-- Balanced sound output with increased quality (commit)
-- Lower OOM dump burst
-- Improved (incorrect) custom thermal configuration
-- Various patches/fixes from Linux 5.4
__ Improved memory accounting for sl[aou]b
__ Fixed high throttling with low CPU usage
__ Other small fixes (see 6802cde to top)
-- Removed GPU mempool to save memory
-- Removed HQSYSFS dependency
-- Removed some more AUDIT instances and disabled it
-- Various small fixes to EAS
v2:
#Major release.Includes fixes and new changes.
-- Upstreamed to 4.9.190
-- Arm64 improvements
-- Disabled much more debug options
-- Ainur DTS enabled
-- More ZRAM and ZSMALLOC optimizations
-- Added CPU_ASSIST and STUNE_ASSIST for better app task boosting
-- Added power saving features to display panel
___ ULPS
___ Tear checking
___ Dynamic Bitclock
-- Updated zstd to 1.40
-- Set some sysctl values as default for improved memory situation
-- Merged some optimizations from POCO F1
-- Migration Hysterisis Filter feature from Hisilicon EAS
-- Backported various features and patches from mainline linux 4.12 to 5.2 kernel sources
___ UCLAMP support
___ CPUIDLE governor TEO added
___ RNG(Entropy) generation from bootloader
___ Improved and tuned scheduler and memory management
___ Various small optimizations (check from fbf2bf66312e to top)
-- Optimized builds of various drivers,and the kernel as a whole. (appropriate compiler options)
-- Fixed energy model, it now operates on correct values
-- Fix readahead issue
v1:
#Initial release
-- Upstreamed to Linux 4.9.179
-- Added Flar2 Sound Control
-- Added Voltage control
-- Added KCAL
-- Added Undervolting support
-- Added CAKE net scheduler for faster network packets processing
-- Fixed Audit debugging
-- Fixed Thermal issues (Experimental.Read NOTES below)
-- Removed unstable Adreno Idler
-- Defaulted to Simple_Ondemand Governor for better smoothness and cooling
-- Added ZEN,BFQ,FIOPS I/O schedulers
-- Added FRandom RNG driver
-- Disabled AUDIT
-- Disables CRC check
-- Modified CPU/GPU frequencies,powerlevels to save power
-- Added blu_schedutil,pwrutilx governors
-- Added Adreno Idler
-- Added Chacha20* and zstd algorithm
-- Zram more optimized with zstd
-- Added sio,fiops,anxiety io schedulers
-- Added CDG,Agile,Scalable,Tsunami TCP algorithms
Click to expand...
Click to collapse
NOTES:
*This kernel has been designed with stability and performance enough to get you a
good battery life.It has been specifically designed for normal app usage and multitasking.
System-As-Root support:This has been provided so that the kernel is compatible with Android 10 roms that
require System-As-Root to function properly.Use the NO_SAR version if you are on a Pie rom, or use the SAR version
if you are on a Q rom.
*Thermal issues have been somewhat mitigated.Note that the values present in thermal-engine.conf and the dtsi
files are marked EXPERIMENTAL.According to tests performed,temperature on daily usage has been reduced.
But due to reduced values,GAMING will partially suffer due to little/random FPS drops.
In my testing,playing games like Crazy Taxi,various indie games,Rebuplique,GTA SA etc. was smooth,but a *gradual* (not sudden)
rise in heat was noticed.Others complained that games like PUBG had FPS drops and bit of a performance decrease.
WARNING:This also modifies your thermal-engine.conf file.
*Undervolting is an experimental feature.In case you do want to modify voltage values,open Smartpack/Kernel Aduitor Kernel Manager,go to the CPU Voltage Tab,and modify only the values labelled as "perfcl_Vmin".Reducing the values by 5 is recommended.
If during undervolting,the device freezes,simply long-press the POWER button until the device reboots.
*This kernel is not for heavy gaming.Please be aware while playing games/using heavy apps.
*RAM usage,battery life,performance etc. can vary with usage.Please dont complain about any problem if you apps
are wildly running in the background or you dont maintain your device properly.Sometimes it is not the fault of the kernel.
.Please provide proper bugreports(/proc/last_kmsg,dmesg output,/sys/fs/pstore/console-ramoops files can be provided)
otherwise your bugfix request will be ignored.
*Profiles are provided above.If you do have the time,do tell me how these profiles work out for you.
*This kernel gives me a maximum of a one-and-a-half days on a single charge.I use lots of apps and multitasking is smooth.Obviously,don't take these claims for real,test test test and apply settings that are perfect for you.
Everything depends on how you use it.
Click to expand...
Click to collapse
A Huge Thanks to you people for downloading my kernel.If you like it,leave a Thanks!
XDA:DevDB Information
REVVZ Kernel, Kernel for the Xiaomi Redmi 6 Pro
Contributors
darkhzy_kh, RevanthTolety
Source Code: https://github.com/darkhz/revvz_sakura
Kernel Special Features:
Version Information
Status: Stable
Current Beta Version: 3.18-v6 / 4.9-v2
Beta Release Date: 2019-11-01
Created 2019-04-20
Last Updated 2019-12-05
thanks for your work. awesome
Where links to download?
Welcome on Board! Nice to See People Working on the Device
How is it compared to thunderstorm kernel ?
Guys i will post the link today or tomorrow i have to make some final changes.This is my first thread,please dont be harsh.Sorry for the inconvienience.
Yeah guys link updated.Sorry for the delay.
Ayush_sh said:
How is it compared to thunderstorm kernel ?
Click to expand...
Click to collapse
I really haven't tried THUNDERSTORM kernel since I have been busy with this kernel,but for sure I will install it since I know
 @RevanthTolety provides quality roms/kernels
RevanthTolety said:
Welcome on Board! Nice to See People Working on the Device
Click to expand...
Click to collapse
Thanks.Hope I get to work with you someday
darkhzy_kh said:
Thanks.Hope I get to work with you someday
Click to expand...
Click to collapse
We have massive battery life.. so can you work with overclock cpu or gpu ? Please )
ananxd said:
We have massive battery life.. so can you work with overclock cpu or gpu ? Please )
Click to expand...
Click to collapse
Will try to add overclock cpu/gpu support in the next release.No promises.
darkhzy_kh said:
Will try to add overclock cpu/gpu support in the next release.No promises.
Click to expand...
Click to collapse
Thanks man ♡♡
ananxd said:
Thanks man ♡♡
Click to expand...
Click to collapse
How is the kernel?Have you installed it?Also,I did mention that this was not a gaming kernel,but it would be interesting to support OC.
Reviews guys.And post your setups if you want.
Works
Installed on DoT OS, with gapps nano.
darkhzy_kh said:
How is the kernel?Have you installed it?Also,I did mention that this was not a gaming kernel,but it would be interesting to support OC.
Click to expand...
Click to collapse
Hi. My dad bought this device from another country.( he doesnt come yet) I want check xda threads. so im very happy to see with these roms / kernels. Thanks for all work. SURE i will test.
ananxd said:
Hi. My dad bought this device from another country.( he doesnt come yet) I want check xda threads. so im very happy to see with these roms / kernels. Thanks for all work. SURE i will test.
Click to expand...
Click to collapse
Good to know.Thanks.
darkhzy_kh said:
Guys i will post the link today or tomorrow i have to make some final changes.This is my first thread,please dont be harsh.Sorry for the inconvienience.
Click to expand...
Click to collapse
Dont worry bro... U r working for us... So we will wait for ur work bro
Imthi Az said:
Dont worry bro... U r working for us... So we will wait for ur work bro
Click to expand...
Click to collapse
Bro Link updated in first post,go ahead download and flash the kernel.
Guys I would really appreciate it if you all gave your honest reviews about the kernel.I want to further improve the kernel,and it doesn't help when you people dont tell anything and keep the thread silent.

Categories

Resources