[One (M7) Original Android Development] TripNRaVeR:
Linux 3.4.11 - TripNDroid Framework

A brand new kernel, based on HTC dev sources. This is the same kernel as the one that will be used in the TripNDroid roms.

Features:

- TripNDroid Framework (TDF) for Android mobile devices

- TripNDroid CPU governor (TDF)

- TripNDroid CPU hotplug (TDF)

- In kernel based thermald control

- Minimal cpufreq set to 144Mhz

- Aimed add performance with proper battery life

- Earliest Deadline First scheduling algorithm

- Deadline scheduler with EDF algorithm

NOTE:

The installation package will automaticly rename thermald and mpdecision binary, when you change kernel make sure to rename them back as original (remove .bak extension)

Tested on AOSP but maybe it works on Sense also, it will need a repack to work on Sense.

The deadline scheduler

The deadline scheduler is an implementation of the Earliest Deadline First (EDF) scheduling algorithm, augmented with a mechanism (called Constant Bandwidth Server, CBS) that makes it possible to isolate the behaviour of tasks between each other.

The typical -deadline task will be made up of a computation phase (instance) which is activated on a periodic or sporadic fashion. The expected (maximum) duration of such computation is called the task's runtime; the time interval by which each instance need to be completed is called the task's relative deadline. The task's absolute deadline is dynamically calculated as the time instant a task (better, an instance) activates plus the relative deadline.

The EDF algorithms selects the task with the smallest absolute deadline as the one to be executed first, while the CBS ensures each task to run for at most its runtime every (relative) deadline length time interval, avoiding any interference between different tasks (bandwidth isolation). Thanks to this feature, also tasks that do not strictly comply with the computational model sketched above can effectively use the new policy.

Fastcharge/powersaver can be enabled with 1 and disabled with 0

Fast charge (not working):

/sys/td_framework/fast_charge

Powersaving mode (not completely implemented):

/sys/td_framework/powersave_active

Changelog:

- GPU driver updated

- Scheduler fixup

- TripNDroid cpu governor improved

- See below

Latest changes (detail):

196b55d arm: msm: dont build htc_cpu_usage_stats
187a724 arm: msm: dont build msm_mpdecision when tdf cpu hotplugging is build
13e8cd0 s390/dasd: re-prioritize partition detection message
080e28e msm: display: command mode panel release fence
53beb2c msm: mdp: Change msmfb kworker to kthread
187776c rcu: Fix day-one dyntick-idle stall-warning bug
3b7ac53 arm: Remove no-longer-required RCU_NONIDLE wrapper
61c250b sched: Reset rq->next_interval before going idle
90f297d hrtimer: Prevent hrtimer_enqueue_reprogram race
0ca9d99 sched: Fix SCHED_HRTICK bug leading to late preemption of tasks
8cb850f sched: fix reference to wrong cfs_rq
fba47b0 sched: provide per cpu-cgroup option to notify on migrations
10db9bd sched: remove migration notification from RT class
1666720 sched: re-calculate a cpu's next_balance point upon sched domain changes
3903ff7 sched: Make sure to not re-read variables after validation
89b0aab workqueue: don't use WQ_HIGHPRI for unbound workqueues
7e8407a msm: mdp: Adjust bandwidth parameters
0da0807 msm: cpufreq: Configure WQ for higer priority
f7b2624 msm: cpufreq: Always update frequency limits when core is online
118d31e msm: hotplug: Change the pen variable in one place
fcef56b msm: Remove idle stats and cpuidle hooks
560df8f msm: cpuidle: Don't disable irqs again
373e2c8 msm: pm: send notification only for SPC and PC
3923332 msm: pm: Adjust for events with hard wakeups
c05dae5 event_timer: Add spinlock protection to event time update
10fc251 msm: rq_stats: Fix missing initalization of cur_freq
b205851 msm:rq_stats: Add hotplug disable attribute
cdcae73 msm:rq_stats: Fix hotplug attribute during the suspend failure
2e995e7 msm:rq_stats: Register for Cpufreq policy notification
8776239 msm: msm_bus: Fix the 64-bit division during interleaving
94d30e3 msm: msm_bus: Change MDP port interleaved setting
3e9cdbf msm: msm_bus: Add NULL pointer checks.
c766c9a msm: msm_bus: Explicitly clear client requests before removal
7502b14 ARM: Fix negative idle stats for offline cpu
0201af8 msm: kgsl: Do not try to resume the device from INIT state
860937f mm: change initial readahead window size calculation
8e99b1a mm: pass readahead info down to the i/o scheduler
b283231 msm: kgsl: Map sync lock variables to every pagetable
79538ed msm: vidc: Add LTR feature for H264 encoder
f6278f5 video: msm: Increase video encoding output buffer size
e11c069 msm_fb: display: remove wait4vsync during dtv off
8a25ce7 cpufreq: tripndroid: rewrite timer, greatly improve freq scaling
4b294ca cpufreq: tripndroid: make governor also work when tdf is not build
86993f1 config: update tripndroid config
e8bdbe5 cpufreq: tripndroid: increase down_sample_time
d6ea0f6 mmc: disable use_spi_crc
0b9c7ad HZ=300
77e5b7d config: update tripndroid config

Download for AOSP 4.3:

http://tripndroid.bindroidroms.com/TripNDroid_tdf_alpha_3.4.11_aosp-43-v004.zip

Source:

https://github.com/TripNRaVeR

Enjoy you're TripNDroided phone.. ;)