[KERNEL][AOSP-3.4.y][AXDEV][d2] Harkness - 05/01/14 - T-Mobile, Samsung Galaxy SIII

...AX Developers Present...
...In association with Team Inferno...
axDev Harkness
"Self determination is NOT a malfunction" -Harkness (Android A3-21)
This kernel is experimental. All patches used, source code, etc. can be found here with as many of the original authors intact as possible.
***ONLY RECENT (aka inline with CMs display drivers) AOSP-BASED ROMS SUPPORTED***​
FEATURES:
- based off of Cyanogenmod's 3.4.y kernel
- compiled using Sourcery CodeBench Lite GCC 4.7 toolchain (-Os)
- floating-point & graphite loop optimizations
- cleaned up some modules and debugging
- Tweaked GPIO debounce timing [Increased vol. long press]
- Increased touchscreen sensitivity
- dkp notification/backlight LED fade animations (DecimalMan)
- faux sound support
- patches from a plethora of sources (including franciscofranco, WillDeacon, ConKolihas, etc.)
- fast charge capable (imoseyon)
- UV capable (faux123)
- full sched-deadline implementation (jlelli)
- semaphore n4's conservative & ondemand driver (stratosk)
- Power efficient workqueues (Linaro)
- Plenty of backports from mainline [sched, cpuidle, random, smp, etc.] (Linux)
- asm-generic rwsem (Will Deacon)
- Imports from Motorola's msm kernel source:
* always update vfp_current_hw_state when forcing reloading
* fixup to allow sched to play nice with CPU_HOTPLUG
* Krait memutils
* acpuclock-krait: init to max speed (improve boot time)
* lmk/compaction: updates to allow improved/stricter memory management
- I'll add more as I remember​
BUG REPORTS:
Please include a kmsg/dmesg to any bug reports: http://code.google.com/p/tegraowners-ics-rom/wiki/How_to_get_logs
If you you are unable to do so for whatever reason, try to use as much detail as possible and give me a way to replicate it, so that I may attempt to log it. Thanks!
NOTES:
- Reserved for notes about bugs.
- Cleared since we seem to be golden with trickstermod and I have yet to have a recent cm build fail on init. Let me know if you find anything.
SCHED_DEADLINE:
Not to be confused with the iosched deadline, Sched_deadline is a scheduling class that implements a real-time CPU scheduling algorithm; EDF (Earliest Deadline First), augmented with a bandwidth isolation mechanism (called Constant Bandwidth Server, CBS) that makes it possible to isolate the behaviour of tasks between each other. SCHED_DEADLINE allows the CPU to reserve a portion of the CPU time to a specific application very accurately. A key feature is that it ensures "temporal isolation", which means that the temporal behavior of each task (i.e., its ability to meet its deadlines) is not affected by the behavior of any other task in the system. In other words, even if a task misbehaves, it is not able to exploit larger execution times than the amount it has been allocated. When a task tries to execute more than its budget, it is slowed down, by stopping it until the time instant of its next deadline. When, at that time, it is made runnable again, its budget is refilled and a new deadline is computed.
POWER EFFICIENT WORKQUEUES:
With per-cpu workqueues, the scheduler considers a CPU idle if it doesn't have any task to execute and tries to keep idle cores idle to conserve power; however, for example, a per-cpu work item scheduled from an interrupt handler on an idle CPU will force the scheduler to excute the work item on that CPU breaking the idleness. Power efficient workqueues are allowed to be unbound, meaning they are not forced to queue up on what could be an idle CPU; instead, the scheduler allows work to be rescheduled on a core that is already awake.
SEMAPHORE ONDEMAND TUNABLES:
touch_load: the simulated load when there is a touch on screen (default 75)
touch_load_threshold: over this load the touch_load will be applied (default 10)
touch_load_duration: the duration of the simulated load in msec (default 1100)
VOLTAGE TABLES/BINNING:
What CPU do you have? Nominal, Fast ...or Slow
The phones with the lower default voltage values use the "fast" frequency table, consider yourself lucky. This explains why some can't UV as much as others since they are starting with lower mV's to start. These are built in factory tolerances that depend upon the binning of your chip. Hopefully folks don't go freaking out because they have a nominal chip like I do. It's probably good for a dev to have a nominal chip so we can better honor the limits.
http://en.wikipedia.org/wiki/Product_binning
How do I tell what I have?
If you boot up your phone fresh and look at the dmesg output (kernel log) while the messages are still there, you will find one of the following output messages where it selects it's frequency plan depending on the binning of the chip.
commandline:
adb shell dmesg | grep PVS
(acpuclk-krait in our kernel defines PVS as id numbers)
acpuclk-8960: ACPU PVS: 0 = Slow
-or-
acpuclk-8960: ACPU PVS: 1 = Nominal
-or-
acpuclk-8960: ACPU PVS: 3 = Fast
- thanks to _motley for this awesome write-up on his kernel/kernel features... and for providing explicit detail on his works
A Note for Developers:
CODEBENCH COMPILE CACHING:
Ccache is commonly used to reduce compile times for C-related files. CodeBench's toolchains utilize their very own compile caching that works EXTREMELY well. You MUST be on at least the 5-23 version of CodeBench (CodeBench Lite can be found here). The related patch for using this feature will be posted below. Examples of use are in the commit message.
Basic CS cache patch
Please pull request any improvements/post discussion.
I'll add more info about key features as I work along.
DOWNLOADS:
- -
https://code.google.com/p/harkness-d2/
!! NOTE: this OP no longer reflects what this kernel is. See the URL above for the latest. !!
CREDITS/THANKS:
Cyanogenmod
MentorGraphics
Juri Lelli (and everyone else in the SCHED_DEADLINE project)
MotorolaMobilityLLC
existz
TripNRaVeR (tripndroid)
Will Deacon (ARM)
stratosk
franciscofranco
decimalman
_motley
Con Kolihas
imoseyon
showp1984
faux123
f1vefour
ryuinferno
xcstacy
Linaro
Eli Billauer
kerneldedup.org
Bethesda
and countless others (may they be remembered on github)

Thanks looks good ,flashing now
Sent from my Nexus 7 using xda app-developers app

Wow, another kernel

thanks Synthetic. purring like a kitten so far. really liking the looks of what you've got in here.
I'll try and report back on battery life after a few cycles.
(still waiting on return on Hank Hill avatar...)
Sent from my SGH-T999 using xda premium

Awesome!!! Thank you very much!

updated uksm (granted its still kinda old, but I backported some parts from a newer implementation) and cleaned up some warnings it came with. also some reverts to see how bluetooth fares.
oh and some pi-cv updates
Update 5-31:
Remove Smartass2
msm: cpufreq: Configure WQ for higer priority
Staging: android: binder: Add binder buffers to kmemleak
sched: LOAD_FREQ (4*HZ+61) avoids loadavg Moire
direct-io: don't read inode->i_blkbits multiple times
block: move down direct IO plugging
Revert "Bluetooth: Fix handling of unexpected SMP PDUs"
uksm: ensure item is initialized
apply updates from uksm-0.1.2.2-for-v3.7.ge.10.patch
fix inline kernel compilation with gcc 4.8
Merge branch 'pi-cv' into jb-mr1
*debug output removed
*deboost fixed-up
gideonX's bluetooth reverts
Update .gitignore​
Download: d-h.st/Ogl
EDIT: just added a little more info to the OP. Check it out.
ckisgen said:
thanks Synthetic. purring like a kitten so far. really liking the looks of what you've got in here.
I'll try and report back on battery life after a few cycles.
(still waiting on return on Hank Hill avatar...)
Sent from my SGH-T999 using xda premium
Click to expand...
Click to collapse
lol I just need to find the right image

Synthetic.Nightmare said:
lol I just need to find the right image
Click to expand...
Click to collapse
hey, an update already. just what I like! thanks.
.. the pimp hat Hank was pretty good the last time around... or maybe an 8bit looking image from Hank in the Pro-Pain video game..? just a thought :thumbup:
Sent from my SGH-T999 using xda premium

Thanks, trying it out now. Would you recommend to have mpdecision enabled or my own oc/uv? Also deepsleep state is unused is that normal? I may have tinkered with the trickster settings too much haha
Also using slim bean v6
Sent from my SAMSUNG-SGH-I747 using xda app-developers app

I personally disable mpdecision (dont even have it in my rom builds at all). Also my device deep sleeps fairly quickly given the right circumstances (i.e. no wakelocks caused by music, etc.). You can try BetterBatteryStats/Greenify to see whats causing your device to be unable to sleep.
Sent from my SGH-T999 using Tapatalk 4 Beta

Man this kernel is dope! Haven't had any issues so far and runs much better than current stock CyanogenMod kernel.
"Sent from Illusion powered S3"

Looks like a nice piece of work.... I flashed Liquid Smooth 2.5 a couple nights ago, but my phone has been running a little too warm with the kernel it comes with. Looking forward to checking it out. Thanks for the hard work. Peace
Sent from my SGH-T999 using xda premium

Just wanted to say this works great on my ATT S3. Runs smooth, great battery life. Great job

thanks for the feedback.
running this most recent build on cm's RC5.
adjusted auto_hotplug to be less aggressive (by all means adjust it to your liking), included SLQB (included in preparation for testing I'm doing on aokpx), some patches to try taming ondemand some more, merged up our rwsem-spinlock to linux mainstream, merged cm, merged pi-condvars, check the changelog or view the github for more.
Update 06/07:
Revert "Staging: android: binder: Add binder buffers to kmemleak"
Patch: linux-3.4.20-fix-drivers-cpufreq--cpufreq_ondemand.patch
Patch: linux-3.4.20-feat-mm--slqb.patch (adds slqb)
Merge branch 'cm-10.1' of github.com:CyanogenMod/android_kernel_samsung_d2 into jb-mr1
* d2: Squashed revert of msm_serial_hs.c updates
* bcmdhd: Enable Ad-Hoc (IBSS) mode
* net: bcmdhd: update to version 1.61.47 from the GT-9505 source drop
* Merge "ARM: mutex: use generic atomic_dec-based implementation for ARMv6+" into cm-10.1
Merge branch 'pi-cv' into jb-mr1
* fix the unlock/signal case
* handling of condition to mutex chains
* Let rt_mutex_getprio consider waiters prio
Revert "ARM: mm: remove redundant dsb() prior to range TLB invalidation"
Revert "ARM: mm: use inner-shareable barriers for TLB and user cache operations"
Merge branch 'rwsem-optimizations'
rwsem: Implement writer lock-stealing for better scalability
rwsem-spinlock: Implement writer lock-stealing for better scalability
auto_hotplug: cut down on expensive hotplugs
sched-dl: inherit scheduler version printout from bfs
cpufreq: value adjustments via BFS
Merge "msm: cpufreq: Initialize cpufreq driver early at boot"
nohz: Reduce overhead under high-freq idling patterns
tick: Cleanup NOHZ per cpu data on cpu down
lib/int_sqrt.c: optimize square root algorithm
sched: fix reference to wrong cfs_rq
cpufreq: Use dedicated high-priority workqueues
cpufreq: Fix optimal_freq logic on ramp down
ondemand: revert useless crap
interactive: clean up unused stuff​
oh and the link too: http://d-h.st/i1Z
And if you're interested in checking the sched-dl version...
{
"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"
}

Just had to chime in and say that this kernel is AWESOME. It's been a long time since I used a custom kernel; Franco's was the last that I used on my Galaxy Nexus.
Thanks for this!!!

I never figured out what prevented deep sleep, but using the app cpu sleeper it seems to be working
Sent from my SGH-T999 using xda app-developers app

abc123pro said:
I never figured out what prevented deep sleep, but using the app cpu sleeper it seems to be working
Sent from my SGH-T999 using xda app-developers app
Click to expand...
Click to collapse
I had the same thing last night. Glad youve found a solution; you can try Greenify and see if it helps you find your problem:
Slept like a baby in a matter of seconds after I shut off the screen and set slacker to hibernate.
I've got some ideas as to what it might be but I want to try getting some sched stats to see if I can get a better idea before I start blaming things lol. I'll do what I can to keep you posted, but if you don't mind, I would also like to see what wakelocks you have (if any) on greenify.
Sent from my SGH-T999 using Tapatalk 4 Beta

How to get the best battery with this kernel. Ant preferred settings?
Sent from my SAMSUNG-SGH-I747 using xda app-developers app

Version running great on my ATT S3. Looking forward to the next update

I really don't like asking but this is the only kernel that gave me awesome battery life. Is it still be updated?

phoenix2217 said:
I really don't like asking but this is the only kernel that gave me awesome battery life. Is it still be updated?
Click to expand...
Click to collapse
+1
Next update based on cm stable if possible would be awesome
Sent from my SAMSUNG-SGH-I747 using xda app-developers app

Related

[KERNEL][CM7]2.6.35.14 :: DARKSIDE v12 | DARKSIDE v13-ICS BETA :: [12.11.11]

*WARNING! I Am Not Responsible For Anything That Happens To Your Device*​
PLEASE READ ENTIRE OP CAREFULLY, THANKS! and remember: when reporting issues, please provide more info than "my phone rebooted, anyone know why?"
Based on CM7 source code. Found [HERE]​
Click to expand...
Click to collapse
My github: [HERE]
BIG THANKS TO:
Cayniarb, Faux123, Erasmux, Scaryghoul, Nick Piggin, LeeDroid, Umaro, mdeejay, imoseyon, LorDClockaN for the reference or code I may have used
Raycaster3 for being my crash test dummie
Anyone I didnt mention.. it's not intentional, please let me know!
Included:
MIUI, CM7, AOSP 2.3.4+ COMPATIBLE
Patched up to 2.6.35.14
CPU OverClocked up to 1.80GHz (Higher Frequencies may be unsatble for some devices)
CPU frequecy supports 122MHz up to 1.80GHz
Smartass v2 Governor default Gov set @ 122/1017MHz
Under Volt
NOOP I/O scheduler default
SLQB Memory Management
Tiny Preempt RCU
Extensive tweaks
SVS support (VDD interface code thanks to @snq)
Built in WiFi Calling support
Swap enabled (Needs to be supported in ROM)
Available CPU Governors:
DARKSIDE, superbad, scary, smartass v1, smartass v2, lagfree, conservative, performance, ondemand, interactive, minmax, powersave, userspace
Optional I/O Schedulers:
sio, anticipatory, deadline, cfq, bfq v2, vr
Instructions on flashing Kernel:
1. Download and place on your SD card
2. Boot into Recovery Mode
3. Do a NAND BACKUP!!!
4. Wipe Dalvik & Cache
5. Flash Kernel
6. After flashing is complete, Reboot..
7.Wait a few minutes for Os to load and reboot again
8.If using SetCPU, make sure you reselect "autodetect speeds recommended"
9.Done!
10. Welcome to the DARKSIDE!
Click to expand...
Click to collapse
My Change Log:
Code:
[U][B]2.6.35.14 | DARKSIDE v12 (12.11.2011)[/B][/U]
[COLOR="Red"]* COMPLETELY REBUILT *[/COLOR]
-ADD: New CPU Governors
-ADD: V(R) and Simple I/O data scheduler
-UPDATE: optimize I/O schedulers for flash devices
-ADD: SLQB slab memory allocator for 2.6.35
-UPDATE: HW3D patch
-ADD: HTC kineto_gan support for WiFi calling
-FIX: Allow CPU-supported unaligned accesses
-ADD: hard float
-UPDATE: Set correct divx codec type
-UPDATE: increase GPU and Camera memory allocation
-UPDATE: decrease default dirty ratio
-UPDATE: Back off suspend if repeated attempts fail
-UPDATE: prevent multiple syscall restarts
-ADD: Jhash3
-ADD: cleancache
-UPDATE: CFLAGS for Increased peroformance
-UPDATE: increase audio levels
-ADD: Automated per tty task groups patch
-UPDATE: Kernel Tweaks
...and a buch of other stuff!
[U][B]2.6.35.14 | demonspeed v10 (10.1.2011)[/B][/U]
-UPDATE: lower MIN_VOLTAGE_MV to 650
-UPDATE: more CFLAG optimizations
-UPDATE: decrease default dirty ratio
-UPDATE: Updated drivers from HTC
-UPDATE: vidc 720p drivers [CodeAurora]
-UPDATE: Memset MPEG-4 recon buffers to black [CodeAurora]
-ADD: put eMMC in sleep (cmd5) mode before suspend
-REVERT: "ADD: Fast charging while connected via USB"
-UPDATE: Back off suspend if repeated attempts fail
-UPDATE: prevent multiple syscall restarts
-ADD: demonspeed governor
-ADD: cleancache
-ADD: enable HRTICK
-UPDATE: Create cpufreq workqueue for freq changes
-UPDATE: arch/arm/mach-msm/acpuclock-7x30.c
-other stuff...
[U][B]2.6.35.14 | demonspeed v9 (9.11.2011)[/B][/U]
-BFS Version available for download!!!
-UPDATE: increase GPU and Camera memory allocation
-UPDATE: HTC G-Sensor drivers
-ADD: New audio drivers from CAF with 2way call recording support
-ADD: Fast charging while connected via USB
-UPDATE: Lower overall MIN_VOLTAGE_MV to 650mv from 750mv
-UPDATE: enabled swap
-Other stuff...
[U][B]2.6.35.14 | demonspeed v8 (9.4.2011)[/B][/U]
-REVERT: CPUFREQ code from 3.0rc6 kernel (by Imoseyon)
-REVERT: CPUIDLE code from 3.0rc6 kernel (by Imoseyon)
-UPDATE: all CPU governors
-ADD: Jhash 3 tweak
-REVERT: lower wifi voltage
-REVERT: Trickle charge
-ADD: Float charge after 90%
-UPDATE Code Aurora Forum file system tweaks and other various patches
-UPDATE: Set correct divx codec type
-Other stuff...
[U][B]2.6.35.14 | demonspeed_INSANITY v6 (8.12.2011)[/B][/U]
-Freshly rebuilt from CyanogenMod / htc-kernel-msm7x30 from the bottom up
-Added CPUFREQ code from 3.0rc6 kernel (by Imoseyon)
-Added CPUIDLE code from 3.0rc6 kernel (by Imoseyon)
-Modified Frequencies and Voltages
-Modified all CPU governors
[U][B]2.6.35.13 | demonspeed_INSANITY v5 (8.6.2011)[/B][/U]
-Added SVS support (For ADVANCED users. See 2nd post)
-Modify VDD(Voltage) Table
-Add a slight overcharge to battery over 2hrs after complete charge (100% Safe)
-Make "NOOP" I/O scheduler default
-Modify VM read ahead to 4096kb
-Add "superbad" Gov ( A play off of "smartass" Gov. it is a low latency and more responsive version)
-Minor adjustment to smartass gov again :X
-Adjust scary gov to scale better thru lower freq.
-Adjust volume boosts (minor)
-lower cache_pressure by 25%
-modify lowmemkiller sizes
[U][B]2.6.35.13 | demonSPEED_INSANITY v3 (7.22.2011)[/B][/U]
-Complete Voltage & Frequency table overhaul
-OC support from 122Mhz - 2.03GHz (Higher Frequencies may be unsatble for some devices)
-Make "Simple" I/O scheduler default
-Modify VM read ahead to 1024kb
-Tweak smartass gov for better battery savings
-Tweaked conservative & scary gov (minor)
-Increase to Volumes (again). Including:
* Earpiece
* Speaker
* Headphones
* Bluetooth
[U][B]2.6.35.13 | demonSPEED_INSANITY v2 (7.16.2011)[/B][/U]
-Utilized Tiny Preempt RCU
-Extensive EXT4 Tweaks (@Umaro)
-Increase to Volumes. Including:
* Earpiece
* Speaker
* Headphones
* Bluetooth
-Synced up to date with CM7 kernel source (htc-kernel-msm7x30)
[U][B]2.6.35.13 demonSPEED INSANITY v1.0.0 (6.29.2011)[/B][/U]
-Initial stable release of v1.0.0
-Configuration setup concurrent with [2.6.32.42 demonSPEED INSANITY v2.0]
-Scary Gov included for those who desire it...
-Default Gov Smartass @ 245MHz/1017Mhz
-Tweaked Smartass a bit
-Increase Audio slightly for Speaker & Handset
-Added 'Allow CPU-supported unaligned accesses' (LeeDroid)
-Lowered WiFi Voltage (Ziggy741)
-Clean up..
[U][B]2.6.35.13 demonSPEED v0.0.1 [BETA] (6.12.2011)[/B][/U]
-Initial release
*WARNING!* PLEASE READ INSTRUCTIONS CAREFULLY! IF YOU DO NOT UNDERSTAND WHAT YOU ARE READING, PLEASE ASK ANY QUESTIONS BEFORE FLASHING! ​
[DOWNLOAD HERE] 2.6.35.14 :: DARKSIDE v12 :: #43 (12.11.2011)
md5: 3e8a0e1b9cf5324279ec3f3f3a0a8d6b
​
[DOWNLOAD HERE] 2.6.35.14 :: DARKSIDE v13-ICS BETA :: #42 (12.11.2011) * FOR ICS ONLY! *
md5: 9ea177782940ff8d692980662ccb4eef
​
{
"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"
}
INFO​BFS (Brain **** Scheduler):
BFS: The objective of BFS, compared to other schedulers, was to provide a scheduler with a simpler algorithm, that did not require adjustment of heuristics or tuning parameters to tailor performance to a specific type of computation workload. The BFS author asserted that these tunable parameters were difficult for the average user to understand, especially in terms of interactions of multiple parameters with each other, and claimed that the use of such tuning parameters could often result in improved performance in a specific targeted type of computation, at the cost of worse performance in the general case.[4] BFS has been reported to improve responsiveness on light-NUMA (non-uniform memory access) Linux mobile devices and desktop computers with fewer than 16 cores.
Information Source: http://en.wikipedia.org/wiki/Brain_Fuck_Scheduler & http://ck.kolivas.org/patches/bfs/bfs-faq.txt
Swap:
Swap: Swap is a way to extend your physical memory. The OS moves the less accessed memory pages to slower, and cheaper storage medium. This frees up RAM for things that require the speed.
Governors:
demonspeed! Governor: this governor is rather similar to the 'ondemand' governor both in its source code and its purpose, the difference is its optimisation for better suitability in a battery powered environment. The frequency is gracefully increased and decreased rather than jumping to 100% when speed is required. Based off a lag free concept, with screen off profiles built in. demonspeed has not been tested against battery life performance, but rather for speed and user interaction.
[*]SuperBad Governor: A "superbad" super smooth rendition of a highly optimized "smartass" governor! Low latency and more responive to the user.
[*]SCARY Governor (@Scaryghoul): Scary - A new governor Scaryghoul wrote based on conservative with some smartass features, it scales accordingly to conservatives laws. So it will start from the bottom, take a load sample, if it's above the upthreshold, ramp up only one speed at a time, and ramp down one at a time. It will automatically cap the off screen speeds to 245Mhz, and if your min freq is higher than 245mhz, it will reset the min to 120mhz while screen is off and restore it upon screen awakening, and still scale accordingly to conservatives laws. So it spends most of its time at lower frequencies. The goal of this is to get the best battery life with decent performance. It will give the same performance as conservative right now, it will get tweaked over time.
I/O Schedulers:
V(R) I/O Scheduler: V(R) is similar to, and based on, Linux's deadline I/O scheduler. It implements request deadlines which try to limit starvation, but provide no hard guarantee of request latency. It also merges and batches requests in a similar manner, but unlike deadline, read and write requests are issued together. This means there is no preference to reads over writes. Thus, higher throughput can be achieved at the cost of interactive performance. Secondly, V(R) could be used for situations where maximal throughput it the primary concern, such as batch processing systems, where per-request latency is not important. By scheduling read and write requests together and setting sufficiently high deadlines, V(R) can theoretically produce a better schedule than deadline, AS or CFQ.
RCU SubSystem:
RCU Concept: The basic idea behind RCU (read-copy update) is to split destructive operations into two parts, one that prevents anyone from seeing the data item being destroyed, and one that actually carries out the destruction. A "grace period" must elapse between the two parts, and this grace period must be long enough that any readers accessing the item being deleted have since dropped their references. For example, an RCU-protected deletion from a linked list would first remove the item from the list, wait for a grace period to elapse, then free the element. See the listRCU.txt file for more information on using RCU with linked lists.
Click to expand...
Click to collapse
Tiny Preempt RCU: This implements a small-memory-footprint uniprocessor-only implementation of preemptible RCU. This implementation uses but a single blocked-tasks list rather than the combinatorial number used per leaf rcu_node by TREE_PREEMPT_RCU, which reduces memory consumption and greatly simplifies processing. This version also takes advantage of uniprocessor execution to accelerate grace periods in the case where there are no readers. The general design is otherwise broadly similar to that of TREE_PREEMPT_RCU.
just in case
Awsome work can't wait to try it out
Sent from my HTC Glacier using XDA Premium App
TY!
Always the good stuff from dev TDJ!
Very exciting progress. Just flashed this kernel, can't wait to give Scary a try!
Can I use this kernel for the HTC ROM?
Sent from my myTouch 4G using XDA Premium App
nativesmiley said:
Can I use this kernel for the HTC ROM?
Sent from my myTouch 4G using XDA Premium App
Click to expand...
Click to collapse
No... miui, cm7, aosp only
Sent from my demonSPEED Glacier using XDA Premium App
So I flashed and reflashed this kernel last night and didn't see any option for Scary in setcpu (am I misssing something)?
Also my battery drained way faster than normal. I manually set it to 245/902 and had slacker radio on a 15 minute timer as I fell asleep which is what I do most nights. This morning I wake up and battery is under 15%...hmmmm.
Ideas?
Nice..amother kernel dev!!! Ok silly question but .06 is the newer one right? Also, do u undervolt?
Sent from my HTC Vision using XDA Premium App
droctii said:
So I flashed and reflashed this kernel last night and didn't see any option for Scary in setcpu (am I misssing something)?
Also my battery drained way faster than normal. I manually set it to 245/902 and had slacker radio on a 15 minute timer as I fell asleep which is what I do most nights. This morning I wake up and battery is under 15%...hmmmm.
Ideas?
Click to expand...
Click to collapse
Check in the "about phone" screen and Make sure u flashed v0.6.. not sure about ur battery drain issue, maybe a run away app?
Sent from my demonSPEED Glacier using XDA Premium App
marseillesw said:
Nice..amother kernel dev!!! Ok silly question but .06 is the newer one right? Also, do u undervolt?
Sent from my HTC Vision using XDA Premium App
Click to expand...
Click to collapse
Yes 0.6 is the newest version ...Underfoot?
Sent from my demonSPEED Glacier using XDA Premium App
thederekjay said:
Yes 0.6 is the newest version ...Underfoot?
Sent from my demonSPEED Glacier using XDA Premium App
Click to expand...
Click to collapse
Lol I edited as soon as it posted
Sent from my HTC Vision using XDA Premium App
marseillesw said:
Lol I edited as soon as it posted
Sent from my HTC Vision using XDA Premium App
Click to expand...
Click to collapse
Read the open... yes aggressively undervolt
Sent from my demonSPEED Glacier using XDA Premium App
thederekjay said:
Read the open... yes aggressively undervolt
Sent from my demonSPEED Glacier using XDA Premium App
Click to expand...
Click to collapse
Cool thanks.. will give it a try
Sent from my HTC Vision using XDA Premium App
So can I use the new scary gov. just like I use smartass and not worry about setting up a profile for screen off?
violent23 said:
So can I use the new scary gov. just like I use smartass and not worry about setting up a profile for screen off?
Click to expand...
Click to collapse
Yes that is the idea...
Going to be adding some more instructions to my op. Before flashing the new kernel make sure all features of setcpu are disabled, for example, set on boot and profilres... flash the kernel.. let it reboot and give it a few minutes and then rebbot again... after rebooting for the second time, if u use setcpu, go in and select auto detect freq.
Sent from my demonSPEED Glacier using XDA Premium App
thederekjay said:
Check in the "about phone" screen and Make sure u flashed v0.6.. not sure about ur battery drain issue, maybe a run away app?
Sent from my demonSPEED Glacier using XDA Premium App
Click to expand...
Click to collapse
Ok, I was on 0.5...just updated to 0.6...Let's see how it goes! Thanks
i think im having a battery drain issue....i charged my phone too 100 then i went to bed and now its at 60% and i havnt even touched the phone. I have it on scary also.on the regular i have been able to use my phone for 12 hours and be at 80-60% after 12 hours...so i think something is wrong.
em2drvr03 said:
i think im having a battery drain issue....i charged my phone too 100 then i went to bed and now its at 60% and i havnt even touched the phone. I have it on scary also.on the regular i have been able to use my phone for 12 hours and be at 80-60% after 12 hours...so i think something is wrong.
Click to expand...
Click to collapse
Thanx for the feedback. Since scary gov is new and I haven't tested it that long, it may or may not be causing some battery drain.. I will look into it... but jjust for a note I went to bed last night @ 58% and woke up 7 hrs later @ 56%... but the more feedback I get from more ppl the better..
Sent from my demonSPEED Glacier using XDA Premium App

[ROM][4.2.2][05/11/13]aokpX-d2tmo[JDQ39E]

eXistZ & Team Inferno present...
{
"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"
}
AOKPX is an open-source project based off of aokp; started by existz, with goals of simplicity, smoothness and optimization.
Updates are dependent on things such as time between builds, changes between builds, time I have available, etc. I'll usually let everyone have a bit of time to let the rom settle in before pushing an update.​
Rules:
-Don't ask for ETA's please
-Don't be a jerk to other users in my thread (we were all newbies once)
-Until notified otherwise, this is a work in progress; what you see is what you get
-We are not responsible for anything you decide to do to your own device... you have been warned
-As long as everyone is being helpful and efforts are being made to properly debug; I could care less about some of the topics going on in this thread. I find android a lot more enjoyable to work on when I'm not nagging you constantly to post in another thread.
Features:
-Based off of aokp jb-mr1 source code
-Compiled from existz' aokpx source (linked below)
-Patches, optimizations, and updates from Linaro, CodeAurora and CM (and more!)
-ODEXED for speed (many ways to deodex if you want to decompile anything for any reason)
-Compiled with AOSP gcc-4.7 toolchain using recent OpenJDK builds, compiled locally (jdk7u-dev source: http://hg.openjdk.java.net/jdk7u/jdk7u-dev)
*Current OpenJDK Build: https://github.com/aokpx/platform_prebuilts_openjdk​-Custom 3.4.x Cyanogenmod-based Harkness kernel (jb-mr1 source)
Kernel Features:
*Faux-Sound ready
*Fast-charge support
*Enhanced thermal control for krait CPU's by _motley (tunable; /sys/module/msm_thermal)
*Autohotplug by Thalamus and enhanced by _motley (tunable; /sys/module/auto_hotplug)
*Slightly enhanced interactive governor; works with autohotplug boostpulse & input_boost_freq userspace tunable
*Configurable color temp.
*Userspace voltage control
*HAVE_EFFICIENT_UNALIGNED_ACCESS enabled; w/ optimizations beneficial to LZO decompression
*Patches/Tweaks from around XDA (from upstream CM, around the d2 sections and other krait device(s)
*(see source)​
Bugs:
-Creating stations (Pandora)
-All the things in aokp
Read here to find out about getting logs. (Logs are needed if you want to be helped properly).
Installation:
-Initiate Backup (Recommended)
-Wipe Data and Caches
-Install rom (download list)
-Install gapps (20130301)
-Reboot
-Update Google Search if you plan on using voice commands/Google Now
Download (current): aokpX
MD5 ebd0970d743da825a8bc12b7297383bc
Source:
https://github.com/aokpX
https://github.com/SyNtheticNightmar3
Credits & Thanks:
AOKP(aokp.co)
existz(donate)
CodeAurora
Linaro
CyanogenMod
ChameleonOS (ChaOS)
0xD34D
LiquidSmooth
Team Inferno
faux123
Ktoonsez
Kernel.org
Imoseyon
_motley
showp1984
f1vefour
franciscofranco
intersectRaven
TeamBAKED
SlimRoms
loosethisskin
anyone I may have forgotten :/
and XDA.
Changelogs:
Current Changelog:
Code:
[B]aokpX build: May-11-13[/B]
[kernel_samsung_d2]
•Merge branch 'cm-10.1' of github.com:CyanogenMod/android_kernel_samsung_d2 into jb-mr1
•Revert "arm: mm: Add VM_ARM_EMPTY_MAPPING flag to mark the PMD gaps"
•Revert "ASoC: msm: Support independent left-right channel volume control"
•ARM: 7467/1: mutex: use generic xchg-based implementation for ARMv6+ commit a76d7bd96d65fa5119adba97e1b58d95f2e78829 upstream.
•d2: Raise MDP bandwidth requirements
•Revert "hrtimer: Consider preemption when migrating hrtimer cpu_bases"
•Revert "hrtimer: Prevent enqueue of hrtimer on dead CPU"
•sched: Reset rq->next_interval before going idle
•kernel: Mark find_task_by_vpid with EXPORT_SYMBOL_GPL
•sched: Mark schedule_io_timeout() with EXPORT_SYMBOL
•sched: Fix SCHED_HRTICK bug leading to late preemption of tasks
•block: urgent: Fix dispatching of URGENT mechanism
•Merge tag 'AU_LINUX_ANDROID_JB_2.5.04.02.02.040.292' of git://codeaurora.org/kernel/msm into cm-10.1
[packages_apps_Camera]
•Revert all recent changes to preview orientation handling
•Camera: Add supportsOrientationResizePreview configuration
•camera: Clean up code for restarting the preview
•Camera: Updated czech translation
•camera: Fix hang when changing picture size
•camera: Fix camera storage location
[packages_apps_Gallery2]
•Add storage selection (2/2)
[platform_packages_apps_Launcher2]
•SmoothPagedView: tweak DEFAULT_TENSION value
•Revert changes I73d4fb85,Ie1458920 from CAF merge
•Launcher: Optimize LauncherModel loading + speed tweaks
•Launcher2: disable FadingEdge for Text Labels in Hotseat Icons
•Merge branch 'jb_3.2.1_rb1' of git://codeaurora.org/platform/packages/apps/Launcher2 into jb-mr1
[platform_packages_apps_ROMControl]
•Merge remote-tracking branch 'aokp/jb-mr1' into jb-mr1
•RC: Ribbons - Toggles
•RC: Updated czech translation
•Merge "RC: Ribbons - Long swipe App window." into jb-mr1
•Merge "Catalan translations from crowdin.net" into jb-mr1
[platform_packages_apps_Phone]
•Merge remote-tracking branch 'aokp/jb-mr1' into jb-mr1
•Default back to LTE/WCDMA/GSM if supported
[platform_packages_apps_Browser]
•[Browser] Enable audio permissions in manifest for WebAudio
[platform_manifest]
•manifest: track local Camera
•manifest: Track local external/unrar
•manifest: Track local zlib based off upstream
•manifest: Track local kissfft
•manifest: Track local Browser
[platform_device_samsung_msm8960-common]
•Merge branch 'cm-10.1' of github.com:CyanogenMod/android_device_samsung_msm8960-common into jb-mr1
•msm8960: Fix writing of bytes to param partition
[platform_device_samsung_qcom-common]
•qcom-common: Use ondemand governor in recovery
•qcom-common: Set power modes in recovery
[platform_vendor_aokp]
•Merge remote-tracking branch 'aokp/jb-mr1' into jb-mr1
•Merge "Add CellBroadcastReceiver" into jb-mr1
•common: Add prebuilt extract tool
•respect $OUT_DIR_COMMON_BASE with squisher
[platform_prebuilts_openjdk]
•OpenJDK: Update to jdk7u40-b24 from http://hg.openjdk.java.net/jdk7u/jdk7u-dev
[platform_external_webkit]
•[webkit] WebAudio resources on Android
•[WebKit] WebAudio on Android
•Merge ~150 WebAudio related commits from WebKit tip to Android WebKit
[platform_external_unrar]
•Initial import of unrar v3.93 for Android
[external_jbirdvegas_mGerrit]
•Merge "mGerrit Changes (Layout + Formatting)"
•mGerrit Changes (Layout + Formatting)
•Merge "Initial korean translation"
•Initial korean translation
•Catalan translations from crowdin.net
[platform_hardware_qcom_audio-caf]
•audio/msm7x30: #ifdef teh things
•Revert "audio/8655: Enabling LPA playback by adding AudioSessionOutLPA class"
•audio/msm7x30: fix a crash on audio initialize
•audio/msm7x30: Change fallback route to speaker
•audio/msm7x30: fix voice volume on first call
•audio/msm7x30: set mRecordState in AudioInputStreamMSM72xx::set
•audio/msm7x30: device enum debug
•audio/msm7x30: perform null checks when calling libhtc_acoustic functions
•audio/msm7x30: port forwarding HTC code from gb
[platform_hardware_qcom_display-caf]
•Merge branch 'cm-10.1' of git://github.com/CyanogenMod/android_hardware_qcom_display-caf into jb-mr1
•hwc: Only enable vsync delay logging for debug builds
•gralloc: Backward compat for devices using older camera heap
•Revert "gralloc: Cleanup usage of old API"
•Merge tag 'AU_LINUX_ANDROID_JB_2.5.04.02.02.040.295' of git://codeaurora.org/platform/hardware/qcom/display into cm-10.1
•Merge "Fix crash issue arising out of multiple hdmi connect/disconnects"
•Merge "libcopybit: Fix GPU page fault on c2d use"
•Merge "libexternal: Add support for SPD Information"
•Merge "hwc: Do not include Framebuffer area in calculating total area"
[platform_system_core]
•Merge remote-tracking branch 'aokp/jb-mr1' into jb-mr1
•libpixelflinger: Apply expensive-optimizations to cflags
•libpixelflinger: Enable CLZ instruction generation
[platform_frameworks_native]
•opengl: Enable -flto and -ffast-math
•libagl: Enable CLZ instruction generation for TextureObjectManager
•Merge branch 'cm-10.1' of https://github.com/CyanogenMod/android_frameworks_native into jb-mr1
[platform_frameworks_av]
•Support MPEG4 codec in Matroska files
[platform_frameworks_base]
•Merge remote-tracking branch 'old/jb-mr1' into HEAD
•Fix WirelessADB Toggle & build
•Revert "Can not mark the same content of browser page after copy"
•SystemUI: WirelessADB Toggle
•Can not mark the same content of browser page after copy
•Fix NPE when pasting non-text from Clipboard
•FW: Ribbon - Toggles
•FIX Null Pointer Exception on dialog cancel
•FW: Updated czech translation
•FW: include newest sounds first
•FW: Ribbons - Long swipe App window.
[platform_dalvik]
•Fix some leaks in VfyBasicBlock & BitVector.
[platform_build]
•cout: move to $out
•envsetup: use $(CURDIR) for getting current directory
All Compacted Changelogs:
http://pastebin.com/raw.php?i=8QTRp9FB
Kernel Info:
Thermal Throttling and Hotplug Control
Warning: these do not have to be changed from the defaults and could potentially be dangerous if you make a mistake. For those that know what they are doing and want to experiment with settings, scripts etc. please report back your findings.
To adjust sysfs values through terminal, use:
Code:
[B]echo[/B] [I]value[/I] [B]>[/B] [I]path/to/file[/I]
A lot of these tunables are exposed and compatible with Trickster MOD; if you want an app that can easily adjust these sysfs values via user-friendly interface.
msm_thermal:
Throttle temp in C. Default is 70, valid range is 45 to 80 (recommend to not go over 75):
Code:
/sys/module/msm_thermal/parameters/throttle_temp
Minimum freq used in throttle down before returning to max, default is 7 = 1.13GHz. Range is 4 to 8 (810Mhz to 1.24GHz)
This is the index in the frequency table as seen in Trickster MOD, System Tuner etc. It is zero based (i.e. 304MHz is zero).
Code:
/sys/module/msm_thermal/parameters/min_freq_index
Turn on thermal debugging so you can see what is happening in the kernel log:
Code:
/sys/module/msm_thermal/parameters/thermal_debug
auto_hotplug:
Load based hotplugging parameters. _motley has taken _thalamus' base (thanks!) and exposed most of the tuning parameters to userspace.
Turn off/on hot_plug debugging Y/N, default N, this spams the kernel log like crazy, turn on only when troubleshooting/testing
Code:
/sys/module/auto_hotplug/parameters/debug
Load at which a CPU is taken offline, 40-125, default 80:
Code:
/sys/module/auto_hotplug/parameters/disable_load_threshold
Load at which an extra CPU is put online, 130-250, default 200:
Code:
/sys/module/auto_hotplug/parameters/enable_load_threshold
[NOTE: this is a no-op for us, since we only have 2 cores to use, anyway; enable load threshold is good enough]
Load at which all CPU's are enabled, 270-550, default is 200 (or 100 x number of cores):
Code:
/sys/module/auto_hotplug/parameters/enable_all_load_threshold
Sample rate in milliseconds, converted to jiffies at runtime, 10-50ms, default 20:
Code:
/sys/module/auto_hotplug/parameters/min_sampling_rate
Number of samples in the circular buffer, 5-50, default 10 (more samples = less aggressive; less samples = more aggressive):
Code:
/sys/module/auto_hotplug/parameters/sampling_periods
Maximum number of cores online (regardless of load) when screen is on, 1-2, default 2 (tune down for battery savings):
Code:
/sys/module/auto_hotplug/parameters/max_online_cpus
Minimum number of cores online (regardless of load) when screen is on, 1-2, default 1 (tune up for performance/bench-marking):
Code:
/sys/module/auto_hotplug/parameters/min_online_cpus
Why are the base voltage tables different on some phones
What CPU do you have? Nominal, Fast, Faster ...or Slow
The phones with the lower default voltage values use the "fast" or "faster" frequency table, consider yourself lucky. This explains why some can't UV as much as others since they are starting with lower mV's to start. These are built in factory tolerances that depend upon the binning of your chip. Hopefully folks don't go freaking out because they have a nominal chip like I do. It's probably good for a dev to have a nominal chip so we can better honor the limits.
http://en.wikipedia.org/wiki/Product_binning
How do I tell what I have?
If you boot up your phone fresh and look at the dmesg output (kernel log) while the messages are still there, you will find one of the following output messages where it selects it's frequency plan depending on the binning of the chip.
Code:
adb shell dmesg | grep PVS
(acpuclk-krait in our kernel defines PVS as id numbers)
acpuclk-8960: ACPU PVS: 0 = Slow
-or-
acpuclk-8960: ACPU PVS: 1 = Nominal
-or-
acpuclk-8960: ACPU PVS: 3 = Fast
-or-
acpuclk-8960: ACPU PVS: 4 = Faster
- thanks to _motley for this awesome write-up on his kernel/kernel features... and for providing explicit detail on his works
They call me JAM because YOU'RE jelly, bro (there's that one dude that seems to always put the first post with his silly tag about why they call him jelly )
EDIT: So, your description is pretty brief - does this ROM have working tether? Could you put a link in the OP to an option for inverted apps? Which camera(s) it come with? Are there a bunch of features you're leaving off the list? What makes THIS ROM better than the others? And last but not least, thanks for all your hard work!
Re: [ROM][4.2.1][1/29/13]aokpX-d2tmo
List of features that separate it from official aokp?
Sent from my SGH-T999 using xda premium
Re: [ROM][4.2.1][1/29/13]aokpX-d2tmo
Loved Existz work for the Inspire4g. Great dev
Sent from my NookColor using xda premium
critofur said:
They call me JAM because YOU'RE jelly, bro (there's that one dude that seems to always put the first post with his silly tag about why they call him jelly )
EDIT: So, your description is pretty brief - does this ROM have working tether? Could you put a link in the OP to an option for inverted apps? Which camera(s) it come with? Are there a bunch of features you're leaving off the list? What makes THIS ROM better than the others? And last but not least, thanks for all your hard work!
Click to expand...
Click to collapse
It's heavily based on aokp and was mainly used as a quick setup for existz. I built it for myself, pulled in some more patches from CAF to the kernel and other places (hardware/qcom) and once I was satisfied with it, I thought I would share. So, essentially most things in aokp should be here too... Nothing all that special yet as existz has been too busy to even provide user support and I'm still settling into my new home. I'd work more on things that were broken (a2dp in paticular) but my car got broken into on new years eve and my method of testing that was stolen :/ but it seems it was fixed upstream; though as I said, I can't test that anymore . It comes with the stock aokp camera and sure I can look up a link some time for those inverted gapps lol.
mikeyinid said:
List of features that separate it from official aokp?
Sent from my SGH-T999 using xda premium
Click to expand...
Click to collapse
Optimizations/patches from CodeAurora and Linaro. Custom kernel built from my repository linked above. Anything else existz might have done to it before I was asked to help maintain.
Re: [ROM][4.2.1][1/29/13]aokpX-d2tmo
Synthetic.Nightmare said:
It's heavily based on aokp and was mainly used as a quick setup for existz. I built it for myself, pulled in some more patches from CAF to the kernel and other places (hardware/qcom) and once I was satisfied with it, I thought I would share. So, essentially most things in aokp should be here too... Nothing all that special yet as existz has been too busy to even provide user support and I'm still settling into my new home. I'd work more on things that were broken (a2dp in paticular) but my car got broken into on new years eve and my method of testing that was stolen :/ but it seems it was fixed upstream; though as I said, I can't test that anymore . It comes with the stock aokp camera and sure I can look up a link some time for those inverted gapps lol.
Optimizations from CodeAurora and Linaro. Custom kernel built from my repository linked above. Anything else existz might have done to it before I was asked to help maintain.
Click to expand...
Click to collapse
Sounds good. AOKP with behind the scenes stuff. Can't go wrong there. Thanks for sharing :thumbup:
Sent from my SGH-T999 using xda premium
Re: [ROM][4.2.1][1/29/13]aokpX-d2tmo
Used your ROM on my my touch 4G for the longest time Synthetic! Glad to see you here!
Sent from my Galaxy Nexus using xda premium
Is tethering work on this rom ?
Thank you
reserved for me!
great job Syn!!
mana4.com said:
Is tethering work on this rom ?
Thank you
Click to expand...
Click to collapse
USB Tethering is definitely working, Wi-Fi tethering I couldn't get working. Rom is running very well for me otherwise. coming from kang 1/23/13 nightly, this rom seems possibly faster (could just be my "flash" addiction)
eXistZ's rom was by far my favorite on my Inspire 4g so I was excited to see something with his name on it for my S3. He's still providing some of the best work out there, fast and stable and simple.
Voice search FC'd on me a few times until I updated now it works great. GPS was a little wonky but seems fine now after a couple of reboots.
Re: [ROM][4.2.1][1/29/13]aokpX-d2tmo
critofur said:
Could you put a link in the OP to an option for inverted apps?
Click to expand...
Click to collapse
Added a link to the op for ya. I've tested it out and what I used worked, so you should be good to use it as well.
Ephemeralness said:
eXistZ's rom was by far my favorite on my Inspire 4g so I was excited to see something with his name on it for my S3. He's still providing some of the best work out there, fast and stable and simple.
Voice search FC'd on me a few times until I updated now it works great. GPS was a little wonky but seems fine now after a couple of reboots.
Click to expand...
Click to collapse
Oh right I meant to add the part about Google Search to the op. Just got that added in though thanks for reminding me. As for GPS, I think that partially depends on where you're at because in Houston I can get a lock quickly but here in San Marcos i have a bit more trouble getting a lock.
Sent from my SGH-T999 using xda app-developers app
Update:
aokpX build: Feb-07-13
[platform_manifest]
•manifest: Bump tags up to android-4.2.1_r1.2 (JOP40G)
[android_samsung_kernel_d2]
•Linux 3.0.62
•lowmemorykiller: Updates from CAF's 3.4 msm kernel
•msm: kgsl: Add context reference counting to KGSL events
•msm: kgsl: Don't wake up gpu on kgsl_ioctl calls if not necessary
•arm: msm: qdsp6v2: Updates from CAF
•msm_fb: display: Updates from CAF
•msm: rotator: clear rotator bus scale handler
•msm: display: increase fence timeout
[packages_apps_ROMControl]
•PowerManager: Don't wake up device when charger is plugged/unplugged (2/2)
•Fix fc if the navbar icon is null
•LastApp Toggle [2/2]
[android_device_samsung_d2-common]
•d2-common: enable Krait Bionic Optimizations
•d2-common: Use a non-bogus ACDB id for AFE proxy
•d2: Add 48K samplerate
[vendor_aokp]
•bootanimation: update for aokpx
•aokp_d2tmo: Update build fingerprint (4.2.1; UVDLJC; JOP40G)
[platform_hardware_libhardware_legacy]
•STE_FMRDIO:enable STE_FM radio
[android_hardware_qcom_audio-caf]
•Updates from CAF
[platform_frameworks_base]
•QuickSettings: fix missing GPS state
•LastApp Toggle [1/2]
•Lockscreen: Add timeout and instant lock option to slide lock (2/2)
[platform_bionic]
•Krait bionic optimizations from CAF
•Misc. updates from CAF's aosp-new/master branch
[android_hardware_qcom_gps/android_hardware_qcom_display/android_frameworks_opt_telephony]
•Updates from CM
[platform_system_core/platform_frameworks_native/platform_frameworks_av]
•FM Radio: Add support for FM Radio in Android
In-depth changelog included in system/etc
How does below work, I have tried multiple FM apps and none of them worked
[platform_system_core/platform_frameworks_native/platform_frameworks_av]
•FM Radio: Add support for FM Radio in Android
Click to expand...
Click to collapse
Re: [ROM][4.2.1][02/07/13]aokpX-d2tmo[JOP40G]
wcoast said:
How does below work, I have tried multiple FM apps and none of them worked
Click to expand...
Click to collapse
Those were commits from upstream (AOKP). I don't use FM radio so I didn't test for that. Though I think I remember seeing similar patches in cm saying that there were problems on msm8960. Thanks for reporting though. This way I'll have a better idea as to what does/doesn't work beyond whats used by me... And I can make a few more notes one what needs working on other than "all the things in aokp"
Sent from my SGH-T999 using xda app-developers app
How is this different from aokp?
Re: [ROM][4.2.1][02/07/13]aokpX-d2tmo[JOP40G]
PhrostB said:
How is this different from aokp?
Click to expand...
Click to collapse
It includes a lot of commits from CAF, AOSP master, Linaro and various other places. Its also built using GCC 4.7, plus full source is compiled with O3 and strict aliasing optimizations (and skia is compiled with Graphite optimizations), along with various ARM/NEON optimizations. Plus tons of other stuff through out the source...And also the ROM is built using OpenJDK 7 (instead of Java 6). That's just the changes I've made, not counting whatever SGS3 specifics from Synthetic
Sent from my Galaxy Nexus using xda app-developers app
Ok but more specifically are there any different or new features?
Re: [ROM][4.2.1][02/07/13]aokpX-d2tmo[JOP40G]
I looked around a little, but couldn't find anything on this. In call volume doesn't work, meaning that using the volume controls during a phone call doesn't adjust the volume. Also, I couldn't find a list of what's not working in AOKP. Maybe I missed something.

[KERNEL][VZW][4.4.3] ★☆ Kangaroo Kernel ☆★ 04 OCT | v068

Kangaroo Kernel for the HTC One GSM: Sense ROMs
Linux 3.4.104+, with many features and improvements from Linux 3.12 and 3.14
{
"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"
}
For android 4.4.3 Sense ROMs
Based off HTC 6.09.401.5 sources for 4.4.3 Sense
Code:
* Standard disclaimer:
* Your warranty is now void. Use at your own risk.
* In other words: It is your choice to use this software,
* I am not responsible for any damage or problems!
Naming convention
KANGAROO KERNEL MKIV IS FOR 4.4.3 ONLY (it will have _443 at the end of the filename)
JOEY AOSP CM (ckxxx): AOSP/CM based ROMs depreciated
JOEY GPE (post 4): sense based 4.4.2 and GPE 4.4.2 depreciated
KANGAROO KERNEL SENSE (kkxxx): sense based 4.4.2 ROMs and GPE only depreciated
Click to expand...
Click to collapse
Features:
Compiled with latest Linaro Christopher83 Linaro 4.9.1 toolchain
Better performance and battery savings due to the use of more efficient algorithms and updated, optimized code
Kernel is aimed at reducing heat while saving battery and increasing performance over stock
IN DEPTH FEATURE LIST IN CHANGELOG AND ON GIT
Better to look at changelog cause I miss things when I try to condense it
CPU governors (italics for default): ondemand, performance, userspace, msm-dcvs, powersave
io sched: no-op, deadline, CFQ
KANGAROO CONTROL SCRIPT IN POST #3
Can be used to control all options, plus more
Click to expand...
Click to collapse
Installation:
1. Download kernel
2. Reboot to recovery
3. Backup
*if you come from faux or tbalden please reflash your rom, you don''t need a wipe. They have some trickery with their own hotplugs so they have reomved mpdecision, so without reflashing your phone will be stuck on quad core*
4. Flash kernel
5. Reboot
*Please let it sit for ~10 mins before judging as it will need to settle down. Do not judge battery life unless you've run it through at least 3+ cycles after flashing*
Click to expand...
Click to collapse
DISCLAIMERS:
1) Excessive under/overvolting can cause damage to the internal parts of your phone. It can cause the phone's lifespan to deteriorate quickly so make sure you know boundaries
2) If you OC'ed/OV'ed/UV'ed and now are in a boot loop or your phone is slow, or acting weird or just died - it means your phone does not like the changes. Voltage control is for those who know what the risks are, know what they are doing and know how to fix it. Perhaps when you change these, test them for an hour or so before setting on boot
3) Any changes to the phone, including flashing the kernel itself is done at your own risk.
4) Every phone is differentt
5) Please DO NOT use any task killers (or additional init.d scripts), they DO NOT improve performance/battery. The kernel is designed to be used with stock settings: my settings and anything else can cause problems
Click to expand...
Click to collapse
Download latest version:
http://forum.xda-developers.com/showthread.php?t=2768254&page=32#post55839871
If you want logo options:
http://forum.xda-developers.com/showpost.php?p=54759427&postcount=5140
All previous versions:
Can now be found in changelog posts
Older versions:
http://www.androidfilehost.com/?w=files&flid=15247
Sauce: https://github.com/poondog/kangaroo-m7-mkIV
*Please do not re upload without permission, I like to count downloads*
Changelog will be in post 2
What is not coming via requests:
- replacement for mpdecision
- additional useless governors
- aroma
- anything useless: this kernel was made for me and I shared it with a few people until now
Click to expand...
Click to collapse
With thanks to (in no particular order)
franciscofranco
faux123
anarkia1976/ak
imoseyon
flar2
teamseven
n3ocort3x
morfic
maxwen
labodj
ktoonsez
tpbklake
janarp
szezso
Synthetic.Nightmare
ZeroInfinity
Sabermod team
Stratosk
Lens-F
Savoca
tiny4579
neniick
geko95gek
brymaster
buckmarble
Click to expand...
Click to collapse
XDA:DevDB Information
Kangaroo Kernel, Kernel for the Verizon HTC One
Contributors
poondog
Kernel Special Features:
Version Information
Status: Stable
Created 2014-05-31
Last Updated 2014-10-05
Reserved
Changelog will go here
4.4.3 Sense kernel:
Code:
*****v058*****14 September
.shorten some wakelocks (for better sleeping)
.some more tweaks for better overall battery and performance
.upstream fixes and improvements to TOPOLOGY drivers (to do with queuing of tasks to individual cores, from Linaro)
.optimize TOPOLOGY further for Krait devices (neobuddy89)
.introduce BFQ IOSCHED v7r5
.introduce FIOPS IOSCHED (default)
.enable ILLINOIS to be set as default, and set it default for TCP
.introduce LINARO POWER EFFICIENT WORKQUEUES (heaps of battery savings)
.some fixes to bluetooth
.upstream backports to EVENTPOLL subsystem from 3.14+ (Efficient event retrieval implementation, thx neobuddy)
.fix some more compile warnings for better optimized code (cl3kener)
.drop i2c clock a bit more (to save battery, ref. @zeroblade1984/Samsung/OPPO
.remove some more debug (less energy waste)
.strip most debug from modules, reduce size by 90%
.enable all sleep states, based on 4.4.2 kernel tests (for better battery especially in sleep)
.remove depreciated sched sysfs since they are removed up upstream kernels and don't really do anything
.some LINARO ARM code improvements
.update to HTC 6.09.401.5 kernel source (not much really lol, a few internet related fixes)
.introduce USB FAST CHARGE (flar2, off by default)
.cleanup some HTC junk
.some improvements to LOWMEMORYKILLER from moto/upstream (to do with multitasking)
.some improvements to ONDEMAND governor for better power savings with no smoothness loss
.fixed USB DAC audio (Thanks @hq5 for testing)
.introduce KEXEC_HARDBOOT aka MULTIROM (still needs patched RAMDISK, I do not include this)
.fix compass on Sprint and Verizon (brymaster5000)
.add some more doge
http://forum.xda-developers.com/showpost.php?p=55423362&postcount=5983
*****v045*****6 September*****
.2w: change feedback slightly, now it doesn't vibrate heaps on sweep2sleep
.further updated workqueue (for better battery and efficiency)
.some network tweaks
.heaps of "under the hood" improvements (lead to better efficiency for speed/battery)
.reduce internal USB wakelocks to improve battery
.patched kernel futex vulnerability (from CM, for security)
.compress with LZ4 for faster boot speeds and built with latest binary
.updated all compressors to latest versions
.add lower GPU frequencies and scale to them (for better battery)
.upstream backports to OOM handler from 3.16+ (related to memory use, see here https://www.kernel.org/doc/gorman/ht...rstand016.html)
.optimized deadline scheduler for better use on flash
.quad core cpu stats (faux123)
.lower max i2c clock to 384MHz to save some juice, no negative effects in testing
.some general code fixes and improvements
.enable ILLINOIS tcp algorithm and set default
.enable NTFS r/w support
http://forum.xda-developers.com/showthread.php?t=2564895&page=582#post55259490
*****v027*****30 August*****
.massive improvements to the workqueue, synced with AOSP+ (franciscofranco)
.BCM4335: attempt to decrease wakelocks
.signature tweaks to SLIMBUS (me/zeroinifity)
.msm: memutils: memcpy, memmove, copy_page optimization from motorola
.use freezable blocking calls kernel wide (for more efficiency and less waste of resources, comes from upstream android)
.slimmed down kernel, stripped of some things it doesn't need
.removed some more debugging
.much under the hood tweaks (wow)
http://forum.xda-developers.com/showpost.php?p=55136831&postcount=5636
*****v021*****22 August*****
.2w: default to sweep2wake and doubletap2wake on
.backport RANDOM and RANDOM32 drivers from Linux 3.16. FULL port, not just a few patches
.patch all the way to Linux 3.4.103 latest. These include bugfixes, enhancements that have been seen fit to be merged into the mainline 3.4.y kernel
.scale L2 and CPU in sync, up to 1134MHz where the L2 maxes out. Results in smoothness at higher freqs and battery saving at lower
.begin to work on workqueue, for now just a few fixes
.drop all CPU voltages by 50mV for battery improvement and heat reduction
.begin to tweak kernel to be cooler and leaner
http://forum.xda-developers.com/showthread.php?p=54976133#post54976133
*****v006*****5 August*****
.patch upstream to 3.4.25
.introduce all 2w features from Kangaroo Kernel 4.4.2, including dt2w, s2w, bi-directional etc
.button backlight notifications (tbalden)
.tweak makefile flag optimizations based on our testing on 4.4.2 Sense
.some minor fixes and enhancements
.disabled systemrw protection (Tiny4579)
http://forum.xda-developers.com/showthread.php?p=54619213&highlight=update#post54619213
*****v001*****29 July*****
.few compiler tweaks based on what worked well on 4.4.2 kernel
.some minor code optimizations and fixes
.compile with Christopher83 Linaro 4.9.1 2014.07 toolchain
.vfp with neon hard optimization levelz
http://forum.xda-developers.com/showpost.php?p=54454303&postcount=4973
Reserved
Kangaroo Kernel control script
Thanks for sharing this kernel sir. Will flash this tomorrow with a new rom
Looks like this has some hype over at the original m7 subforum. Looking forward to flashing this bad boy!
evilstewie23 said:
Thanks for sharing this kernel sir. Will flash this tomorrow with a new rom
Click to expand...
Click to collapse
tflogic said:
Looks like this has some hype over at the original m7 subforum. Looking forward to flashing this bad boy!
Click to expand...
Click to collapse
Cheers guys, I got some requests so I collaborated with Lens-F to bring CDMA support for this kernel Looking forward to read feedback
Thank you for the Verizon kernel! Do the GSM recommended settings still apply to the Verizon version?
abaddon37 said:
Thank you for the Verizon kernel! Do the GSM recommended settings still apply to the Verizon version?
Click to expand...
Click to collapse
Yes, since its the same kernel basically and same device Depends on what you want though, thats why the control script is able to set most things on boot without apps
poondog said:
Yes, since its the same kernel basically and same device Depends on what you want though, thats why the control script is able to set most things on boot without apps
Click to expand...
Click to collapse
So this is still compatible with apps that control cpu, gpu, etc. correct such as trickster? I am planning to use this kernel with the stock sense 6 rom odexed made from Joelz that was just posted in this forum just so you know so i can report how this kernel runs :good:
evilstewie23 said:
So this is still compatible with apps that control cpu, gpu, etc. correct such as trickster? I am planning to use this kernel with the stock sense 6 rom odexed made from Joelz that was just posted in this forum just so you know so i can report how this kernel runs :good:
Click to expand...
Click to collapse
Sort of. Since pnpmgr is enabled (HTC power and performance manager) it means you can't set freqs in an app. You need to use the script if you want to control freqs
Governors, schedulers, 2w etc will stick only the frequencies will not stick
It's done like this because HTC developed the pnpmgr for smoothness, and disabling it will introduce stutter
The latest script is in the last page of my international thread
Thanks
Sent from my HTC One using XDA Premium 4 mobile app
Thanks for porting this for us! Always saw users in the Viper thread say they were running your kernel and was jealous that we couldn't try it ?
Sent from my HTC ViperOne
jaydubbs said:
Thanks for porting this for us! Always saw users in the Viper thread day they were running your kernel and was jealous that we couldn't try it ?
Sent from my HTC ViperOne
Click to expand...
Click to collapse
Well now you can
Sent from my HTC One using XDA Premium 4 mobile app
poondog said:
Sort of. Since pnpmgr is enabled (HTC power and performance manager) it means you can't set freqs in an app. You need to use the script if you want to control freqs
Governors, schedulers, 2w etc will stick only the frequencies will not stick
It's done like this because HTC developed the pnpmgr for smoothness, and disabling it will introduce stutter
The latest script is in the last page of my international thread
Thanks
Sent from my HTC One using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Thanks for this Kernel! I'm excited to try it. Just a question on the CPU frequencies, thus far I've always used TricksterMOD since I don't know how to mess around with "script" and all that mumbo jumbo...just wanted to make sure I got this right, to set our CPU frequencies we have to set the number values in that scrip and then flash?
Poon!
Sent from my Lunar Ecliptic One.
Hola poon!
Sent from my One using Tapatalk
Since this is for 4.4.2, I'm assuming the wake / motion gestures work with sense 6?
Sent from my HTC6500LVW using Tapatalk
Installing now, sounds cool!
tifford said:
Since this is for 4.4.2, I'm assuming the wake / motion gestures work with sense 6?
Sent from my HTC6500LVW using Tapatalk
Click to expand...
Click to collapse
I tried to enable them and it told me the kernel didn't support it. Double tap to wake and Swipe to wake work fine though
Sent from my HTC6500LVW using xda app-developers app
ghilliek9 said:
Thanks for this Kernel! I'm excited to try it. Just a question on the CPU frequencies, thus far I've always used TricksterMOD since I don't know how to mess around with "script" and all that mumbo jumbo...just wanted to make sure I got this right, to set our CPU frequencies we have to set the number values in that scrip and then flash?
Click to expand...
Click to collapse
Just change the numbers
brymaster5000 said:
Poon!
Sent from my Lunar Ecliptic One.
Click to expand...
Click to collapse
buckmarble said:
Hola poon!
Sent from my One using Tapatalk
Click to expand...
Click to collapse
Hi guys, thanks for the welcome
tifford said:
Since this is for 4.4.2, I'm assuming the wake / motion gestures work with sense 6?
Sent from my HTC6500LVW using Tapatalk
Click to expand...
Click to collapse
2w works but there's no motion gestures for the moment. I won't include anything at the current time that requires a third party app to use
Sent from my Nexus 7 using XDA Premium 4 mobile app
poondog said:
Just change the numbers
Hi guys, thanks for the welcome
2w works but there's no motion gestures for the moment. I won't include anything at the current time that requires a third party app to use
Sent from my Nexus 7 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
poondog said:
Sort of. Since pnpmgr is enabled (HTC power and performance manager) it means you can't set freqs in an app. You need to use the script if you want to control freqs
Governors, schedulers, 2w etc will stick only the frequencies will not stick
It's done like this because HTC developed the pnpmgr for smoothness, and disabling it will introduce stutter
The latest script is in the last page of my international thread
Thanks
Sent from my HTC One using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I did it! This worked for me! Is there any way that we can lower the Min CPU? If we were to paste something in there with that 16-something number....

[Kernel 3.4.113][CAF][Monthly] Lambda Kernel ~ Infinito [All variants][N/M/L][01/29]

{
"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"
}
Your warranty is now void.
I am not responsible for bricked devices, dead SD cards, thermonuclear war.
Please do some research if you have any concerns about using custom ROMs/Kernels.
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.​
​​
Lambda Kernel is a CAF recreation of the LG G2's Kernel written for CAF based custom ROMs. It fits the needs of anyone looking for a decent performance/battery rate, being totally compatible with up to the newest Android 7.1 ROMs and all the way down to Android 5.1 ROMs using the wildcard concept.
It follows the flash n' go principle, everything packed in the Kernel is already tweaked and ready to be used as a daily driver for most users.
The downloads, contributors and source code are at the bottom of this post, it is recommended to read everything before flashing.
"The Lambda Kernel project was born as a reasonable alternative for non-lge firmware users that would enjoy having a decent operational system on their devices but, unfortunately, weren't possible because of the lack of a great Kernel for this panorama. That was a paradoxical paradigm, such a powerful device tied by controversial chains.
As a hobbyist and enthusiast, stepping forward on this was a must. Having the tools and one of the greatest kernels in the Android world at my side (dorimanx), sharing the same platform and device, I couldn't hesitate so long. Although we may never hit his level, it's worth mentioning this project has its own philosophy and purpose. Constructing a different way of thinking is always a pleasure."
"Everything that is yours needs to be controlled by anybody else than you. When flashing this kernel on a custom firmware, you'll be signing an authority term over your device possession. You'll be breaking chains imposed by a society niche that is closed source, proprietary and arrogant. They are the world that superimposes your look to keep you from seeing the Truth. The Truth that you are a slave. Like all the others you were born in chains. The world is a prison where there is neither hope nor taste nor smell, a prison for your mind. But still there's only one hope, there's only one way out: K.I.S.S. to maintain your own rules, to avoid unnecessary complexity in your escape."
The releases follow an organized naming scheme, alphabetically ordinary using portuguese words.
The current release name is Infinito.
Also, they follow a two-week basis schedule in the BETA stages in order to pack the latest security updates and code improvements. The STABLE ones don't have a schedule in mind, they are meant to be released after the BETA ones get 100% debugged and tested.
EXPERIMENTAL: My own testing builds for certain features and tests. They have numbers and comments in their versioning according to the consecutive builds I build and the latest changes in which I should look into testing. They aren't normally shared, although sometimes I publish them. If you see one of them, don't forget they are recommended for advanced users/developers only because of their potential changes that must be debugged before publishing a beta/stable version.
BETA: They are closer to the proper release version but still can have some errors or bugs to be reported and tested, they also have a number to avoid confusion. It's most likely what you'll be flashing in order to catch up with the latest code base and security updates.
STABLE: That's the version for the ones that don't want their devices to be lab rats for new features and staging changes. It might have some little issues but it's generally able to fill all user needs in terms of stability for such a bleeding-edge project.
Pretty straightforward once you get used to it, isn't it?
A general panorama for Lambda Kernel, always matching the latest release, in this case Infinito BETA 13.
NEW ↠ Everyting new that has been added compared to the previous release.
HOT ↠ The amazing uniqueness of Lambda Kernel on every byte.
TESTING ↠ The name says for itself, usually works properly but should be better evaluated.
DISABLED ↠ What has been added in source code but disabled due to issues.
EXTRA ↠ Related to UKM/Synapse/Anykernel and other miscellaneous.
3.18.y F2FS filesystem support NEW
NTFS filesystem support HOT
CPU overcloking up to 2.8GHz HOT
Latest Linux Kernel 3.4.y base version HOT
Built with Dorimanx's PWR GCC (Linaro 6.1) HOT
Motorola's quick wakeup driver with LPM support HOT
Nougat's sdcardfs filesystem support HOT
The battery friendly AutoSMP plugging driver HOT
Experimental Blu Plug hotplugging driver HOT
My version of the MSM Hotplug with fast lane mode HOT
My own balanced version of the Bricked Hotplug HOT
Impulse governor with fast lane mode support HOT
ULL audio path support HOT
Enhanced ARM scheduler clock HOT
Improved the Completely Fair Scheduler (CFS) routines HOT
Up-to-date binder framework HOT
Updates on slim_ngd from 3.10.y HOT
Mainline security and overflow patches HOT
Upstream DirtyCow exploit fixes HOT
Block updates from 3.10.y HOT
GPU updates from Dorimanx Kernel converted to my code HOT
Disabled the stupid gentle fair sleepers and arch power HOT
Automated two-week changelog shipped to the device HOT
My own optimization set called Fast Lane V2 HOT
Tweaked Motorola's low memory killer HOT
Backported 3.10.y sound drivers + offload for more formats HOT
Faux Sound Control v3.8 for LGE my tweaks HOT
500MB swap space available on two compression streams HOT
ZRAM compressed memory with LZ4 support HOT
ZSMALLOC allocation framework for ZRAM HOT
Memory management updates from 3.18.y HOT
Ability to use your device as a USB keyboard and mouse HOT
My implementation of the state notifier for LGE touch panel HOT
MSM Limiter v5.4 driver with per core support HOT
Internal Kernel clock frequency at 300Hz HOT
CPU frequency driver up-to-date with 3.10.y HOT
NET/Bluetooth updates from 3.14.y from dorimanx HOT
New android alarms API to "replace" RTC HOT
Dynamic dual core CPU boosting coded by sultanxda HOT
GPU overcloking up to 533MHz HOT
Force fast charge v3.2 driver HOT
Process reclaim support HOT
Advanced memory stats monitoring HOT
Anykernel2 installer fully up-to-date HOT
Exclusive UCI/UKM support for Synapse HOT
Newest GPU drivers (kgsl/devfreq) from Linux 3.18.y kernel branch HOT
Adreno Idler for msm-adreno-tz GPU governor HOT
Krait voltage control compatible with 3.18.y GPU drivers HOT
Dynamic QoS voting based on USB activity HOT
Set USB to always use the maximum speed available HOT
Reduced CPU retention voltages as per Qualcomm HOT
Added 499MHz CPU clock frequency HOT
Fixed encoding activity burning all RAM and forcing CPU usage HOT
Fixed Wi-Fi roaming standby drain and frame buffer overflow HOT
Fixed all irq requests for oneshot HOT
Power management QoS framework updates from 3.10.y HOT
Latest sweep2sleep driver inlined with dorimanx HOT
New I/O schedulers: fiops, zen, tripndroid and sioplus HOT
Cleaned some LG changes in cpufreq that aren't relevant for CAF/CM HOT
Updated queue_stats code HOT
Added Motorola's optimized memutils HOT
Increased TCP output for faster connectivity HOT
All advanced TCP congestioners available HOT
Stereo call recording support HOT
Fixed the slow charging bug in userspace HOT
Added back LGE's HIFI sound buffers for enhanced playback HOT
FSync switcher HOT
Enabled more TCP congestion options HOT
Adaptive LMK enabled by default and tweaked HOT
Kerne same-page merging (KSM) support DISABLED
SELinux permissive out-of-the-box EXTRA
GPU time in states for monitoring EXTRA
Dynamic wallpaper changer when flashing EXTRA
All values set to performance/balanced out-of-the-box EXTRA
GPU gaming boost for intense mobile gamers EXTRA
General updates in Synapse UI to match the new features EXTRA​​
AnyKernel2 ↠ It's the main feature of this kernel, it doesn't only make our lives easier by avoiding the usage of ramdisk but also let us change and ship many new features without touching the ROM side. Another great point on AnyKernel usage is the ability to setup your device on boot up, setting the governors and values that we love right out of the box without any kind of pain.
UCI/UKM ↠ UCI is a binary that allows Synapse access to control and manage the kernel's core. UKM is the component that allows prebuilt .json modules to build the Synapse UI without compiling the app on Android Studio or other Android IDE. You won't need to install a new version of the app from somewhere to get up-to-date, the kernel will automagically ship the changes I made in Synapse UI and apply them on the fly.
Linux 3.4.113 ↠ As you may know, your phone a ton of electronic hardware such as SmartTVs, printers, laptops, watches and even glasses run the Linux kernel. If you wanna know more about the Linux kernel, please watch this video on YouTube. The 3.4.113 version of the Linux kernel has been finished in Oct 26, 2016 and it's currently marked as EOL (End of Life) version.
MSM Hotplug ↠ This driver was coded by neobuddy. It is the chosen one to be the default hotplugging mechanism, supplying a nice range of options and a feature that dialogs directly with impulse governor called 'fast lane'. This feature will jump all cores into a speed trail when the CPU governor detects a high load average, thus reducing pressure on the main cores and improving performance.
Bricked Hotplug ↠ One of the recommended hotplug drivers. It was first coded by showp1984, now it is marginally cleaner and faster with neobuddy updates on top of it. It's a very complex hotplug but supplies one of the most stable hotplugging mechanism for any mobile Linux Kernel. Should be used in case the user wants total control on every bit of the plugging mechanism.
AutoSMP ↠ Yet another hotplugging, this one is focused on stability and fair resource usage, it's very minimal and offers bare minimal sets of controls. Should be used on user cases where battery life is the main target or just as a simple alternative to bricked hotplug.
Dual Core CPU Boosting ↠ This driver was coded by sultanxda for the Oneplus One recently. It allows a dynamic CPU boosting based on user input and hotplug activity. I have tweaked it to boost the first CPU to 1.2GHz for 1.5s on user input if the second CPU is already awake, if not it will then boost the second one to 1.4GHz for 1.5s as well. If the second CPU needs to stay online due to hotplug load, it will stay boosting the first CPU if the input is detected and if the frequency doesn't pass the threshold it will let the hotplug and governor decide what to do.
Dorimanx Fast Charger ↠ The fast charger driver that dorimanx uses on his kernel. Allows the configuration of the charging scheme, you can set from 500mV to 2000mV charging levels. The cable and charger will affect the charging level as well, don't use any charger/cable you found in the garbage can. I'm not responsible for the bad usage of this feature. Neither dorimanx, it's absolutely your fault if you damage your device.
Swap ↠ The Linux swap is very old and consolidate way of getting more RAM by caching older process and instances to a cached space out of the RAM space. This feature was common on servers but sooner came to the Android mobile devices as well. The swap space is usually not present in most devices as it costs more CPU power to "swap" the "files" from real RAM memory to another place, this place can be a hard drive partition, a portion the real RAM itself (Z-RAM) or even a file in some cases.
Z-RAM ↠ Another form of swap, commonly used on some Android phones due to higher CPU levels of instrumentation provided by ARM, in which we can same memory not by placing the caches to another place like a usual swap but compressing it in runtime as more instances and processes request real memory. As a note, Z-RAM has something called max compression streams, which are the maximum amount of parallel writes to the "new area", we set one per every 256MB of Z-RAM space, the default is 512MB of space compressed with two compression streams to keep power/battery compensation.
Faux Sound Control ↠ This driver, written by Faux, exposes the Kernel sound driver (WCD9320) to allow fine tuning from userspace, instead of the default static values they were set by the manufacturer. The fine tuning happens using two different APIs on my Kernel, one written for the proprietary app by Faux and another one by dorimanx, for STweaks. I've modified the STweaks scripts to add them on Synapse, calling it Synapse API for users that don't want to buy/use the proprietary app. The open Synapse API is capable of tuning the headphone, speaker and microphone gains without distortion since the magic happens in Kernel level and not in software level.
Read this twice before flashing/posting!​
Cod. 001:
State: Solved!
Priority: Normal.
Overview: Min. CPU boost frequency overlays min. CPU frequency.
Cod. 002:
State: Solved!
Priority: Low.
Overview: Bricked hotplug is a little messed up in Synapse organization.
Cod. 003:
State: Solved!
Priority: High.
Overview: MSM limiter frequency on suspend is actually the opposite causing frequency locks after awaking from sleep.
Cod. 004:
State: Unsolved.
Priority: High.
Overview: Possible race conditions causing BSOD for some use usecases, the frequency is low and causes unknown.
Cod. 005:
State: Solved.
Priority: High.
Overview: Sound control affects call audio volume and distortion is noticeable when the value is high.
Read this twice before flashing/posting!​
Q. Can I flash this Kernel on Android Lollipop?
A. Yes and no, only Android 5.1, 6.0, 7.0 and 7.1 are supported natively.
Q. Is this kernel compatible with LG stock firmware/ROM?
A. No, LG stock is Android 5.0 and already has dorimanx Kernel support, Lambda is only for targets in the answer above, custom ROMs commonly.
Q. What are variants on the LG G2 development scheme?
A. As many crap carriers on the market, LG is known to implement region based hardware, this causes the existence of series of devices that are identical but have some differences in terms of hardware. This forces developers to adapt and recreate the device trees for every single model.
Q. How to install this kernel?
A. Download the version you'd like to use and flash using a custom recovery like TWRP.
Q. I have an error in red when flashing the zip file, what is that?
A. Maybe your download was corrupted somehow, try to download once again.
Q. I have a "device not supported, aborting..". error in TWRP, what is wrong?
A. Your firmware/ROM's build.prop property 'ro.product.device' may have been modified and doesn't match the device filter protection implemented in TWRP. Ask your firmware/ROM's developer why he did this or post the value for 'ro.product.device' entry. Last but not impossible, the variant you have isn't supported like the ISAI variant family.
Q. I noticed the Synapse UI is so old-school, why can't I use Kernel Adiutor?
A. You can, but that would waste all the time I spent making UKM (read in details) unique for this kernel. You won't be able to use all the guts properly either. So, please don't use Adiutor as main Kernel Tweaking app, you can use it as a fallback option to see the frequencies and etc.
Q. I have problems to restore my settings with Synapse. What to do?
A. Well, this can be many things. The usual gripe happens when the bare ROM has an updated version of toybox and thus some busybox commands end up not working well. What I'd try at first glance is open it, to to TOOLS and tap Reset Synapse to clear the databases. Then, I'd open it again, dismiss any message on the screen and start tuning it to create the proper new database. After this, I'd export my config in SETUP just to save it for later and Reload Synapse. This usually works for most users...
Q. Why SELinux is set to permissive?
A. Some mods request the usage of permissive policies to work properly, it was needed to please everyone who had the mods before flashing the Kernel. You can always turn SELinux to enforcing in Synapse.
​​
Click the Downloads button above to go straight to Github releases page, find the appropriate file for your variant and flash it in recovery.​
Many developers and people helped to bring the pieces of code needed to build the Lambda Kernel Project, some of them are listed below.​
Dorimanx
Savoca
RenderBroken
Snuzzo
Neobuddy
Myfluxi
FranciscoFranco
AlexDNS
Faux123
AK
SultanXDA
Tsunamical
Showp1984
Apbaxel​
Source for Kernel at Github.
Source for AnyKernel2 at Github.
Guide and introduction to Lambda Kernel development at Github.​
~ All project resources were built with free and open source software. ~​~ Lambda Kernel trademark and logos are copyleft. ~​~ This is a development thread, be polite. ~​
XDA:DevDB Information
Lambda Kernel, Kernel for the LG G2
Contributors
GalaticStryder
Source Code: https://github.com/GalaticStryder/kernel_lge_msm8974
Kernel Special Features: Per core control, impulse governor, custom plugging, dual core boosting, fast charge, overclock...
Version Information
Status: Stable
Current Stable Version: Infinito Beta 13
Stable Release Date: 2017-01-29
Created 2015-12-13
Last Updated 2017-01-29
Tweaks
Hello world.
Reserved #2
Reserved for me, as well.
Can it survive nightlies?
If not, can it be done?
I Know someone made xposed cm 13 survival script so If its not,
It might be a good idea..
reemar said:
Can it survive nightlies?
If not, can it be done?
I Know someone made xposed cm 13 survival script so If its not,
It might be a good idea..
Click to expand...
Click to collapse
CM installs their Kernel over it by default, I think we can do something to back it up and reinstall but still CM side.
Sent from my LG-D802 using Tapatalk
Awesome! I've been using CM13 (nightly) for over a week now and its been really good. Looking forward to your optimizations/tweaks/fixes/gadgets !
Maybe put "CM13" in your title.
eric93se said:
Awesome! I've been using CM13 for over a week now and its been really good. Looking forward to your optimizations/tweaks/fixes/gadgets !
Maybe put "CM13" in your title.
Click to expand...
Click to collapse
It uses anykernel, so that means it will boot on more than just "cm13"
eric93se said:
Awesome! I've been using CM13 (nightly) for over a week now and its been really good. Looking forward to your optimizations/tweaks/fixes/gadgets !
Maybe put "CM13" in your title.
Click to expand...
Click to collapse
Might fit any LP-CAF ROM running their trees up-to-date, as far as I can see CM13 branch does nothing but update CM12.1 branch, so should run on 5.1, 6.0 and above. Needs testing though.
Sent from my LG-D802 using Tapatalk
@GalaticStryder so far, so good. It's running great here on the LS980. It gets a little hotter than I'm use to, but it's so far, really fast and stable.
@GalaticStryder
I am glad you are back mate.
The kernel works perfectly with AICP 11 Rom on my D802, it is smooth and fast (read better than stock ketnel).
I am excited about the future of this project, great start!
P.S. I hope that you are going to be back soon to the rom development also!
I can find download section
Στάλθηκε από το LG-D802 μου χρησιμοποιώντας Tapatalk
ytgbg said:
GalaticStryder
I am glad you are back mate.
The kernel works perfectly with AICP 11 Rom on my D802, it is smooth and fast (read better than stock ketnel).
I am excited about the future of this project, great start!
P.S. I hope that you are going to be back soon to the rom development also!
Click to expand...
Click to collapse
Thanks, unfortunately, I'm not on the mood for ROM development, it's a lot more time demand and complaints... so far dealing with the heart of the monster is away healthier cause I do these stuff as a hobby. Maybe vacation will let me cook some fully AOSP builds as unique.
fendaris said:
GalaticStryder so far, so good. It's running great here on the LS980. It gets a little hotter than I'm use to, but it's so far, really fast and stable.
Click to expand...
Click to collapse
I'll upload the kernel setup I'm using as well as some defaults I tested on the second post.
I'm getting an average of:
45°C on CPU when installing apps, updating, downloading... and 38~40°C when the screen is on.
Battery Temperature is 32°C sticky.
Right now is 23°C by the morning (GMT -3) summer temps.
matrixios said:
I can find download section
Στάλθηκε από το LG-D802 μου χρησιμοποιώντας Tapatalk
Click to expand...
Click to collapse
You can't find or can find? Nevermind we're using XDA to host the build, there's a big tab in the project menu, if it doesn't show up, the "downloads section" will be edited to link to there.
For the well-being: http://forum.xda-developers.com/devdb/project/?id=12950#downloads
Will F320 be supported?
GalaticStryder said:
You can't find or can find? Nevermind we're using XDA to host the build, there's a big tab in the project menu, if it doesn't show up, the "downloads section" will be edited to link to there.
For the well-being: http://forum.xda-developers.com/devdb/project/?id=12950#downloads
Click to expand...
Click to collapse
so glad to see you again :good:
can't find the download link too (see attached)
thanks for this mate.
fLipz said:
so glad to see you again :good:
can't find the download link too (see attached)
thanks for this mate.
Click to expand...
Click to collapse
Dope, just uploaded and shared the folder on my Google Drive: https://drive.google.com/open?id=0B0kZ4DVPwVcMS3hpeDdocmxSMDQ
Now i see the problem, fauxsound gets louder after every reboot. Anyone to fix this? Can't really lower it anymore. Lol
fendaris said:
Now i see the problem, fauxsound gets louder after every reboot. Anyone to fix this? Can't really lower it anymore. Lol
Click to expand...
Click to collapse
It's not loud that's the way it should be but a little over, you need to adjust the ux volume to 7 or 8 of 10, 9 and 10 distort, but it is, in my case, better than not hearing the calls. I'll readjust in the next release. Thanks for confirming that issue. I'll clean up the Sound Driver code a bit as well.
Sent from my LG-D802 using Tapatalk
Can I run this if I am on LG g2 Verizon with cloudy g2 lollipop 5.0.1 edition? If so, do I simply zip file in twrp or do I need to do some prior reconfiguration??
Sent from my VS980 4G using Tapatalk
y300owner said:
Can I run this if I am on LG g2 Verizon with cloudy g2 lollipop 5.0.1 edition? If so, do I simply zip file in twrp or do I need to do some prior reconfiguration??
Sent from my VS980 4G using Tapatalk
Click to expand...
Click to collapse
Nope. Just AOSP.
Sent from my LG-D802 using Tapatalk
GalaticStryder said:
Nope. Just AOSP.
Sent from my LG-D802 using Tapatalk
Click to expand...
Click to collapse
Asop? Verizon is unsupported,? OK. :/
Sent from my VS980 4G using Tapatalk

[CAF][LINARO] Private Kernel r20 --DISCONTINUED

Hi all,
I deleted all my old projects because i wasnt quite happy with them, so i created this kernel called Private Kernel because i thought i completly stop development on xda because downloads were quite low and decreasing from version to version. But now i am back with this kernel, i hope you enjoy it. I hope i did not do any mistakes with devDB
CAF Feature differences to his kernel:
* francos thermal driver tuned to work with the VADC sensor (more accurate throttling results)
* not underclocked by default
* added more ioschedulers (BFQ default)
* cpuquiet hotplug
* compiled with uber linaro toolchain
* some small various tweaks etc....
Only for roms with sultans CAF kernel! I dont support any weird combinations of camera hal's blobs and drivers.
CM13-Nightly Kernel features:
* francos thermal driver tuned to work with the VADC sensor (more accurate throttling results)
* tuned the BFQ I/O scheduler
* powerd my msm_hotplug
* synced with googles android 3.4 branch
* KCAL
* compiled with uber linaro toolchain
* CPU undervolt feature
* added the 268mhz CPU frequency
* some small various tweaks etc....
Tested on cm13 nightlys. I dont support any weird combinations of camera hal's blobs and drivers.
Download for both kernel Types:
Download
If you like my work press the thx button or consider a small donation
XDA:DevDB Information
Private Kernel, Kernel for the OnePlus One
Contributors
DerRomtester
Source Code: https://github.com/DerRomtester/android_kernel_oneplus_msm8974/commits/private?page=1
Kernel Special Features:
Version Information
Status: No Longer Updated
Stable Release Date: 2016-07-17
Beta Release Date: 2016-08-09
Created 2016-01-25
Last Updated 2016-10-02
r1 Changelog:
* francos thermal driver tuned to work with the VADC sensor (more accurate throttling results)
* not underclocked by default
* added more ioschedulers (BFQ default)
* bricked hotplug simplified by myself
* improvement better ext4 performance
* improvement better I/O latency
* improvement http://ripke.com/loadavg/moire
* synced with sultanxda
* improvement: better BFQ and CFQ performance
* misc things ecc.
Full Log:
Code:
0f58a8a Revert "cpufreq: governors add utilization to the governors"
6c01443 readahead: make context readahead more conservative
5690fd3 lib/int_sqrt.c: optimize square root algorithm
f3c08df softirq: reduce latencies
1690ceb block: set Slice Idle to 0 BFQ/CFQ https://github.com/Cl3Kener/UBER-L/commit/78472fc8263c8faafd3c5d0e49b75ef73a0922cc https://github.com/Cl3Kener/UBER-L/commit/45e74f49e4500dd1f312ba7492af5d93dbf3591c
3048257 arm: use -mtune=cortex-a15 for Krait targets
0b8ba89 vfp: according to android's gerrit, krait can use neon-vfpv4
a152dad sysrq: Emergency Remount R/O in reverse order
b8edbfb fs/super.c: sync ro remount after blocking writers
e33c0a5 net: loopback: set default mtu to 64K
fc9a63e Revert "sched_avg: add run queue averaging."
a82f757 Revert "bacon_defconfig: Disable /dev/diag"
f3f88ab power: bq27541: Set calibration cycles on init
52d0186 cpu_input_boost: Remove module references
bc9b4ee mm: vmscan: support complete shrinker reclaim
b62112c sysfs: check if one entry has been removed before freeing
b5f2fd1 PM: don't use [delayed_]work_pending()
c861d56 arm: smp: Update the topology masks before calling CPU_STARTING notifiers
36899ca ksm: check and skip page, if it is already scanned
6229567 cfq-iosched: fix the setting of IOPS mode on SSDs
24ecbf1 block: Make CFQ default to IOPS mode on SSDs
da7e098 sched/rt: Reduce rq lock contention by eliminating locking of non-feasible target
ab44f71 sched: Change autogroup_move_group() to use for_each_thread()
c67b96b sched: s/do_each_thread/for_each_process_thread/ in debug.c
cdc2de4f sched: s/do_each_thread/for_each_process_thread/ in core.c
62da62c sched: Fix exec_start/task_hot on migrated tasks
b4290e9 sched/fair: Avoid integer overflow
5934405 sched/core: Fix an SMP ordering race in try_to_wake_up() vs. schedule()
43d5584 sched: Fix RLIMIT_RTTIME when PI-boosting to RT
d59360c sched: Queue RT tasks to head when prio drops
9243345 rq stats: i dont like that just fix it
0305acf msm_rq_stats: update for bricked hotplug add get_rq_info
2eea978 bricked hotplug: clean it up we dont need screen off functions
30cc008 replace mako hoptlug with bricked hotplug because i think something is ****ed up with it
6afd705 bacon_defconfig: lets call it private-kernel
5382828 power: qpnp-charger: Remove Oppo's full-charge hack
4ef9d08 power: bq27541: Remove code redundancies
46b56dc power: bq27541: Increase calibration cycle count to 3
b7ffcc7 power: bq27541: Don't raise SOC while discharging
e8b68c9 power: bq27541: Don't limit charge rate
04aba12 msm_thermal: finetuning
340665b arm/kernel: unwind drop that warning
b93cfcd cpufreq: governors add utilization to the governors * powersafe = dual core mode * performance = quad core mode
f1c0003 mako hotplug: add everything that is necessary to introrude this hotplug
3998830 Revert "msm: clock-krait-8974: Limit CPU max freq to 1958MHz"
72b9b6c thermal: experimental throttle earlier but not that hard
062aee6 msm_thermal: use francos sulution
70de961 defconfig: update
8652cac Makefile: fix ccache derp
62e38e8 Makefile: ccache
61c94b4 compiler-gcc: upstream
4314455 xz: Optimize Sfck Compression picked from https://github.com/anarkia1976/AK-OnePone-Reborn/commit/2d8163c5b63db4351db4d91b762c35c529bda970
bcbc344 gcc5: fix warning spam
713b2b8 msm: remote_spinlock: swp{b} is deprecated for ARM>v5
06d3dc0 cpufreq: Initial CPU utilization should be 0
d5af7ae mdss: use an interruptible thread on edp to reduce load_average
bec9a5b vfs: fix bad hashing of dentries
5515746 writeback: increase bdi_min_ratio to 5 in light of the latest writeback commit.
bff72e4 AIO: Don't plug the I/O queue in do_io_submit()
a15f769 Makefile: remove the wrapper
a4d7d01 gcc5: ARM: 8158/1: LLVMLinux: use static inline in ARM ftrace.h
cb454af sched: LOAD_FREQ (4*HZ+61) avoids loadavg Moire.
8021dc5 Revert "msm: clock-krait-8974: Make CPU underclock optional via cmdline"
4e751b9 block: Update to BFQv7r8
99bb416 block: scheduler: squash
55e23d5 fs/namei.c: fix potential memory leak in path_lookupat
e563229 Revert "misc: shineled: Remove pink tint entirely"
r2 Changelog:
* added voltage Control
* added Smartmax governor
* cleaned up smartmax governor
* removed boosting function from smartmax governor because we are using cpu_input_boost for that
* removed the redundant iowait check adapted for smartmax
Code:
"Iowait_time check is redundant and it would lead to heavy load
due to miscaluculation of idle time. Hence remove this check
as iowait will considered based on io_busy flag."
r3 Changelog:
* upstream updates from sultanxda
* added some compiler optimizations -O3 and some special ones for our soc
* added sound control
* reduced retention voltage (better idle drain during c states)
* disabled add random because it is only used on spinning devices and useless on flash devices
* lowered GPU voltage constraints
* reduced some debug logs to avoid a watchdog bite
* increased msm mpdec idle frequency slightly and avoid cores unlocking unnecessary when the cpu input boost driver is working
* smartmax default for now (i achieved good results with it)
r4 Changelog:
* synced with sultanxda
* re-added and updated ondemand governor (default)
* tuned smartmax to be slightly more aggressive
* updated interactive to a more recent version
* added lz4 compression and decompression --> a slightly larger kernel with decreased boot time
* added a small patch that should increase your ext4 filesystem performance
* updated anykernel ramdisk to the latest version
dont wonder if you get a busybox error it is a harmless warning!
r5 Changelog:
* improved the performance of bfq ioscheduler
* increased modem stability
* removed ondemand
* reverted back to the old interactive and ondemand
* added and modified autosmp hotplug (enabled by default)
* compiled with linaro 5.2 toolchain
* fixed some compilation warning introduced by gcc 5
* removed some unused things on our device (picked from cm kernel)
r6 Changelog:
* mpdecision active by default (it isnt actually that bad as i thought)
* removed bricked hotplug
* added f2fs support (experimental! i dont give support for it)
* some various patches from franciscofranco and cm to improve performance and fix some bugs
* updated cubic tcp (enabled by default)
* synced with CAF LA.BF.1.1.3_rb1.11
* added PM_SUSPEND_FREEZE https://github.com/DerRomtester/and...mmit/53cde3f91465925184f4bb5684e01c5799b7fb58
* updated autosmp hotplug to a more recent version
r7 Changelog:
*upstream updates from sultanxda
r8 Changelog:
*upstream updates from sultanxda
* disabled iostats for better performance
* tuned ksm values
* tuned per_process_reclaim
* autosmp enabled by default
r9 Changelog:
* synced with sultanxda
* some small misc bugfixes
r10 Changelog:
* synced with sultanxda
r11 Changelog:
* synced with sultanxda 18 Apr 16 built
* Fix teardown sequence (mirror 9330) to avoid noise.
* Fix UHQA not properly enabled.
* Enable micbias pulldown by default (factory)
* fixed a possible memmory leak
* killed some harmful errors that occur in my last_kmsg
r12 Changelog:
* synced with sultanxda
* removed autosmp hotplug
* added cpuquiet hotplugging framework
* Fix direct references to HZ (should improve smoothness a bit)
r13 Changelog:
* synced with sultanxda
r14 Changelog:
* synced with sultanxda
* removed the new wifi driver (keeps crashing and crashing i dont know why i need to investigate)
r15 Changelog:
* synced with sultanxda
ppp: take reference on channels netns
netfilter: x_tables: check for size overflow
ALSA: timer: Fix leak in events via snd_timer_user_tinterrupt
ALSA: timer: Fix leak in events via snd_timer_user_ccallback
ALSA: timer: Fix leak in SNDRV_TIMER_IOCTL_PARAMS
mmc: clk_scaling: Fix scale_down_in_low_wr_load sysfs return value
r16 Changelog:
* synced with sultanxda's latest changes
r17 Changelog:
*Added adaptive low-memory-killer feature
r18 Changelog:
*synced with sultanxda
r19 Changelog:
*synced with sultanxda's 6. August build
*compiled with uber linaro toolchain
r20 Changelog:
*synced with sultanxda's 8. August build
Strawpolls:
CPU Governors
http://strawpoll.me/6645636
Undervolting
http://strawpoll.me/6645757
CPU Governors Round 2:
http://strawpoll.me/6652707
The winner is smartmax
CPU Governors Round 3:
http://strawpoll.me/6661302
Nice to have you back mate.. Lets see if I can give this a run today..!!
Will try this out now on sultan's latest build
geekynoob said:
Nice to have you back mate.. Lets see if I can give this a run today..!!
Click to expand...
Click to collapse
7mb should not take long to download
Report back how it works.
firenxe said:
Will try this out now on sultan's latest build
Click to expand...
Click to collapse
This is what i am running.
Testing it on darkobas, will report soon. So far so good
Working well on darkobas
Sent from my A0001 using Tapatalk
Zeus20 said:
Working well on darkobas
Sent from my A0001 using Tapatalk
Click to expand...
Click to collapse
Nice to hear good reports you keepy heart beating.
btw. also thought about naming the kernel zeus
DerRomtester said:
Nice to hear good reports you keepy heart beating.
btw. also thought about naming the kernel zeus
Click to expand...
Click to collapse
Will not take offence if you pick that. I was actually think about suggesting a Greek God name to counteract the Germanic you had before.
Sent from my A0001 using Tapatalk
Thanks. I was waiting for a simplistic CAF kernel with just optimizations for a while now.
Kernel fast & smooth but in me the wifi is switch off by itself while idle
And for the battery compared to stock darkobas I feel this kernel got more long lasting one
Working well with CAF Temasek. Very smooth! Are we allowed to give feature request? If so, I'd like to request CPU voltage tuning. Thanks
Two cores always online by default?
Flashed on BrokenOS 6.0 and working well... Hope you'll add CPU govns in feature builds.
{
"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"
}
Thanks
copi said:
Kernel fast & smooth but in me the wifi is switch off by itself while idle
And for the battery compared to stock darkobas I feel this kernel got more long lasting one
Click to expand...
Click to collapse
The wifi driver is exactly the same like on sultans stock kernel. Your problem must be with darkobas stock kernel, too. And i am sure that your wifi problem is rom related. I get 4 - 5 hours SOT on MM.
_ASSASSIN_ said:
Thanks. I was waiting for a simplistic CAF kernel with just optimizations for a while now.
Click to expand...
Click to collapse
This is new design.
IndDoc said:
Working well with CAF Temasek. Very smooth! Are we allowed to give feature request? If so, I'd like to request CPU voltage tuning. Thanks
Click to expand...
Click to collapse
The question is do you really need it? Is it necessary? Is there an improvement towards battery life?
But i think that is no problem
naveenjohnsonv said:
Two cores always online by default?
Click to expand...
Click to collapse
Yes this is the design of my hotplug. We have 4 cores on our device core0 core1 core2 core3. And core1 is always be onlined and offlined all the time and this eats up your battery.
"Every time a core gets kicked in, there have some calculations to be made, which needs battery. Onlining a core also needs some battery every time. You're using your device and cores are getting kicked in and out, because you have some more idle phase and some more heavy load phase.
Remember also that even if all cores are online, it doesnt mean a core cant enter a battery saving idle state if it doesnt have anything to do.
Online doesnt mean the core is active the whole time, it just doesnt get kicked out, which in the end is best for low latencies. The higher the idle state, the more time it needs to get active again. But its always faster than getting kicked out."
Source:
hc-kernel.blogspot.de/2015/06/nexus-6-zen-or-mako.html?m=1
Winged_Panther said:
Flashed on BrokenOS 6.0 and working well... Hope you'll add CPU govns in feature builds.
Thanks
Click to expand...
Click to collapse
What governors are you looking for?
@DerRomtester My CPU temperature goes above 60°C during normal video playback. Any idea why? Phones heating up a lot.
DerRomtester said:
The wifi driver is exactly the same like on sultans stock kernel. Your problem must be with darkobas stock kernel, too. And i am sure that your wifi problem is rom related. I get 4 - 5 hours SOT on MM.
This is new design.
The question is do you really need it? Is it necessary? Is there an improvement towards battery life?
But i think that is no problem
Yes this is the design of my hotplug. We have 4 cores on our device core0 core1 core2 core3. And core1 is always be onlined and offlined all the time and this eats up your battery.
"Every time a core gets kicked in, there have some calculations to be made, which needs battery. Onlining a core also needs some battery every time. You're using your device and cores are getting kicked in and out, because you have some more idle phase and some more heavy load phase.
Remember also that even if all cores are online, it doesnt mean a core cant enter a battery saving idle state if it doesnt have anything to do.
Online doesnt mean the core is active the whole time, it just doesnt get kicked out, which in the end is best for low latencies. The higher the idle state, the more time it needs to get active again. But its always faster than getting kicked out."
Source:
hc-kernel.blogspot.de/2015/06/nexus-6-zen-or-mako.html?m=1
What governors are you looking for?
Click to expand...
Click to collapse
Sounds great �� Thanks. Working perfectly well.
@DerRomtester glad to see you back! I've never used your kernels before (my apologies!). I tend to use stock kernel to test ROMs. I also know how you feel when downloads time and again decrease and never increase. But trust me, there will always be someone that appreciates what you do. I know this is a CAF kernel but if you have the time, I suggest you give the latest OxygenOS 2.1.4 a spin. I know its not the latest OS or the most features but just on stock kernel, I'm getting great battery life out of it! I'm at 41% now with 39hrs standby and 5hrs SOT with less than 5hrs on wifi!
Stock kernel has input boost clocked at 1.7Ghz and stock interactive 1.2Ghz (hispeed_freq) with minimum frequency at 300Mhz and maximum frequency at 2.5Ghz. I did not tweak any kernel related things.
DerRomtester said:
What governors are you looking for?
Click to expand...
Click to collapse
smartmax,
smartmax_eps,
barrey-allen
Bobbi lim said:
@DerRomtester glad to see you back! I've never used your kernels before (my apologies!). I tend to use stock kernel to test ROMs. I also know how you feel when downloads time and again decrease and never increase. But trust me, there will always be someone that appreciates what you do. I know this is a CAF kernel but if you have the time, I suggest you give the latest OxygenOS 2.1.4 a spin. I know its not the latest OS or the most features but just on stock kernel, I'm getting great battery life out of it! I'm at 41% now with 39hrs standby and 5hrs SOT with less than 5hrs on wifi!
Stock kernel has input boost clocked at 1.7Ghz and stock interactive 1.2Ghz (hispeed_freq) with minimum frequency at 300Mhz and maximum frequency at 2.5Ghz. I did not tweak any kernel related things.
Click to expand...
Click to collapse
Yea, I second that. Why don't you try to build for Oxygen OS 2.1.4, if the sources are out..
Sent from my A0001 using Tapatalk

Categories

Resources