TamCore kernel [07.10.2012] [Linux Kernel 3.0.45]

Wich governor gives you better battery life without making the phone laggy

  • adaptive

    Votes: 0 0.0%
  • pegasusq

    Votes: 7 3.4%
  • smartassV2

    Votes: 29 14.1%
  • lazy

    Votes: 1 0.5%
  • intellidemand

    Votes: 35 17.0%
  • interactive

    Votes: 9 4.4%
  • lagfree

    Votes: 8 3.9%
  • conservative

    Votes: 4 1.9%
  • ondemand

    Votes: 57 27.7%
  • userspace

    Votes: 0 0.0%
  • powersave

    Votes: 2 1.0%
  • badass

    Votes: 50 24.3%
  • performance

    Votes: 4 1.9%

  • Total voters
    206
Search This thread

peepee999

Senior Member
Mar 9, 2012
685
95
Hello pls can someone share which i can use with this kernel to enable/disable features? Thanks

Sent from my Htc Sense Beats
 

peepee999

Senior Member
Mar 9, 2012
685
95
When i try to use other governors in this kernel it doesn't stick. How do i change this.

Sent from my Htc Sense Beats
 

walkinhotdog

Senior Member
Jul 7, 2009
465
45
can someone explain to me how to activate sweep 2 wake and change the notification light timer to forever until cleared. i read the first post but still dont know... i miss aroma. lol. thanks in advance. on pacman rom btw
 

dollyaja

Senior Member
May 31, 2012
2,038
543
45
Yogyakarta
www.turanggaevent.com
can someone explain to me how to activate sweep 2 wake and change the notification light timer to forever until cleared. i read the first post but still dont know... i miss aroma. lol. thanks in advance. on pacman rom btw

Try using kernel turner, if the kernel supports,there will be an option to activate

sent from my LegenDroid ?
 
  • Like
Reactions: walkinhotdog

Top Liked Posts

  • There are no posts matching your filters.
  • 29
    Tamcore Kernel
    PS: This is not my kernel, i'm just in touch with Tamcore and we thought to do this thread on XDA to have a place to talk about it. You can thank me for making this thread happen, but 99.9% of the "thanks" should go to TamCore for the excellent work he does ;)
    What is the linux kernel ?

    The Linux kernel is the operating system kernel used by the Linux family of Unix-like operating systems. It is one of the most prominent examples of free and open source software.[8]
    The Linux kernel is released under the GNU General Public License version 2 (GPLv2) (plus some firmware images with various non-free licenses), and is developed by contributors worldwide. Day-to-day development discussions take place on the Linux kernel mailing list.
    The Linux kernel was initially conceived and created by Finnish computer science student Linus Torvalds in 1991. Linux rapidly accumulated developers and users who adapted code from other free software projects for use with the new operating system. The Linux kernel has received contributions from thousands of programmers. Many Linux distributions have been released based upon the Linux kernel.

    Why should I use Tamcore Kernel instead of my current one ? (i. e. stock CM9 kernel)


    * new governors
    * `- lazy, badassV2, lagfree, pegasusq, adaptive, smartassV2 & intellidemand
    * new I/O Schedulers
    * `- V(R), BFQ, SIO
    * undervolted per default
    * OC up to 1994 (may damage your phone!)
    * modified min/max voltages (700000-1450000)
    * thermald and mpdecision built-in (thanks showp1984!)
    * USB forced fast charge by Yank555-lu
    * FSync Control by Ezekeel
    * Wifi Screen-Off Power Management by Francisco Franco
    * Notification LED duration mod by Yank555-lu
    * Sweep2Wake
    * ZRAM & TUN built as modules
    * user configurable GPU OC (GPU is stock clocked at 3D@266 & 2D@200;)
    * updated to the last linux kernel upstream
    * cause I tell you to do that. FLASH IT, FLASH IT !

    This kernel is meant for AOSP ICS 4.03 & 4.0.4 ROM. This may work on JB AOSP ROM but it’s not recommended.


    Changelog

    07.10.2012
    * 35fe303 (Philipp 'TamCore' B) Merge tag 'v3.0.45' into exp
    * 24e842a (Greg Kroah-Hartman) Linux 3.0.45
    * d71df54 (Bart Van Assche) SCSI: scsi_dh_alua: Enable STPG for unavailable ports
    * 8fda079 (Dan Williams) SCSI: scsi_remove_target: fix softlockup regression on hot remove
    * fc3ef18 (Yinghai Lu) PCI: honor child buses add_size in hot plug configuration
    * 368d531 (Avi Kivity) x86/alternatives: Fix p6 nops on non-modular kernels
    * 42cc576 (Dan Williams) isci: fix isci_pci_probe() generates warning on efi failure path
    * 7385895 (Bart Van Assche) IB/srp: Avoid having aborted requests hang
    * 7846edb (Bart Van Assche) IB/srp: Fix use-after-free in srp_reset_req()
    * 0a44207 (Patrick McHardy) IPoIB: Fix use-after-free of multicast object
    * d125a7e (Wei Yongjun) can: mscan-mpc5xxx: fix return value check in mpc512x_can_get_clock()
    * c07ad5e (Stephen M. Cameron) SCSI: hpsa: Use LUN reset instead of target reset
    * a3b1f83 (Benjamin Herrenschmidt) SCSI: ibmvscsi: Fix host config length field overflow
    * 079c1ed (Artem Bityutskiy) UBI: fix autoresize handling in R/O mode
    * e54195a (Russ Gorby) n_gsm: memory leak in uplink error path
    * a4e92d2 (Michael Spang) Increase XHCI suspend timeout to 16ms
    * 7c36d46 (Denys Vlasenko) coredump: prevent double-free on an error path in core dumper
    * 9ce5f86 (Russ Gorby) n_gsm: added interlocking for gsm_data_lock for certain code paths
    * 9c1ce83 (Sarah Sharp) xhci: Intel Panther Point BEI quirk.
    * c19d52a (Khalid Aziz) firmware: Add missing attributes to EFI variable attribute print out from sysfs
    * f39a3e8 (Larry Finger) b43legacy: Fix crash on unload when firmware not available
    * d482e8f (Flavio Leitner) serial: set correct baud_base for EXSYS EX-41092 Dual 16950
    * f580d51 (Linus Walleij) serial: pl011: handle corruption at high clock speeds
    * 63959b0 (Jiri Slaby) TTY: ttyprintk, don't touch behind tty->write_buf
    * 0950902 (Stanislav Kozina) Remove BUG_ON from n_tty_read()
    * 8455d77 (Ian Abbott) staging: comedi: fix memory leak for saved channel list
    * 03acba6 (Ian Abbott) staging: comedi: don't dereference user memory for INSN_INTTRIG
    * e451b6d (Ian Abbott) staging: comedi: jr3_pci: fix iomem dereference
    * 99f7fee (Ian Abbott) staging: comedi: s626: don't dereference insn->data
    * bf26fa2 (Ben Hutchings) staging: speakup_soft: Fix reading of init string
    * bd6a0fa (Bjørn Mork) USB: qcaux: add Pantech vendor class match
    * 3f72cbc (Antonio Ospite) USB: ftdi_sio: add TIAO USB Multi-Protocol Adapter (TUMPA) support
    * 952c5d8 (Bjørn Mork) USB: option: blacklist QMI interface on ZTE MF683
    * 7da444a (Mike Snitzer) dm: handle requests beyond end of device instead of using BUG_ON
    * d2212d2 (Miklos Szeredi) vfs: dcache: fix deadlock in tree traversal

    Can you explain me CPU governors ? Sure!


    LAG FREE
    * Lagfree is similar to ondemand. Main difference is it's optimization
    * to become more battery friendly. Frequency is gracefully decreased and
    * increased, unlike ondemand which jumps to 100% too often. Lagfree does not
    * skip any frequency step while scaling up or down. Remember that if there's
    * a requirement for sudden burst of power, lagfree can not satisfy that since
    * it has to raise cpu through each higher frequency step from current. Some users
    * report that video playback using lagfree stutters a little.

    INTELLIDEMAND
    * Intellidemand aka Intelligent Ondemand from Faux is yet another governor that's
    * based on ondemand. Unlike what some usersbelieve, this governor is not the
    * replacement for OC Daemon (Having different governors for sleep and awake). The
    * original intellidemand behaves differently according to GPU usage. When GPU is
    * really busy (gaming, maps, benchmarking, etc) intellidemand behaves like ondemand.
    * When GPU is 'idling' (or moderately busy), intellidemand limits max frequency to
    * a step depending on frequencies available in your device/kernel for saving battery.
    * This is called browsing mode.

    SMARTASS V2
    * Is a re-working of the original smartass governor, it allows for the CPU to scale
    * through all frequencies from the lowest you set to the highest, based on the load
    * occuring. Basically it scales CPU based on realtime needs of the system, saV2
    * supposedly incorporates some more agressive settings for screen off, and I
    * believe quicker scaling than the original smartass.

    PEGASUSQ
    * http://xdaforums.com/showpost.php?p=24233103&postcount=3
    * Maybe someone could write a short summary of this?

    ADAPTIVE
    * Haven't found anything about it. It's from Intel and hasn't burned up my Sensation.

    BADASS
    From Showp himself :
    Well good question. With ICS I decided to rework my gb badass which never got released because it was always pushed aside. To break down what it is:

    Badass removes all of this "fast peaking" to the max frequency. On a typical system the cpu won't go above 918Mhz and therefore stay cool and will use less power. To trigger a frequency increase, the system must run a bit @ 918Mhz with high load, then the frequency is bumped to 1188Mhz. If that is still not enough the governor gives you full throttle. (this transition should not take longer than 1-2 seconds, depending on the load your system is experiencing)
    Badass will also take the gpu load into consideration. If the gpu is moderately busy it will bypass the above check and clock the cpu with 1188Mhz. If the gpu is crushed under load, badass will lift the restrictions to the cpu.

    Please remember: Due to it's nature, this is not a benchmark governor. It is meant as a governor that gives you a smooth experience while saving battery, lots of it

    What are those scheduler you nerds are talking about ?


    bfq
    * The BFQ I/O scheduler tries to distribute bandwidth among
    * all processes according to their weights.
    * It aims at distributing the bandwidth as desired, independently of
    * the disk parameters and with any workload. It also tries to
    * guarantee low latency to interactive and soft real-time
    * applications. If compiled built-in (saying Y here), BFQ can
    * be configured to support hierarchical scheduling.

    sio
    * The Simple I/O scheduler is an extremely simple scheduler,
    * based on noop and deadline, that relies on deadlines to
    * ensure fairness. The algorithm does not do any sorting but
    * basic merging, trying to keep a minimum overhead. It is aimed
    * mainly for aleatory access devices (eg: flash devices).

    Some informations about the tweaks in the kernel


    --- USB forced fast charge - Yank555-lu ---
    Use sysfs interface to change behaviour :
    * /sys/kernel/fast_charge/force_fast_charge (rw)
    *
    * 0 - disabled (default)
    * 1 - substitute AC to USB charging always
    * 2 - substitute AC to USB charging only if no USB peripheral is detected

    For informational purposes I've also added a read-only sysfs file that indicates the current USB state :
    * /sys/kernel/fast_charge/USB_peripheral_detected (ro)
    *
    * The state will be returned in clear text (Yes/No).

    For informational purposes I've also added a read-only sysfs file that indicates the detected USB port type :
    * /sys/kernel/fast_charge/USB_porttype_detected (ro)
    *
    * The port type will be returned in clear text.

    For informational purposes I've also added a read-only sysfs file that indicates if fast charge is currently being forced :
    * /sys/kernel/fast_charge/is_fast_charge_forced (ro)
    *
    * The current force state will be returned in clear text (Yes/No).


    --- FSync Control - Ezekeel ---
    Can be used to disable the fsync system calls for single files and filesystems (echo 0 > /sys/class/misc/fsynccontrol/fsync_enabled). These fsync syscalls are used by kernel modules and user space programs to flush an I/O buffer (which is in RAM) to disk to make sure that this data is actually savely stored on the disk before executing the next step. Disabling fsync can result in data loss on a crash/freeze since the data is still in the I/O buffer and has not been saved to disk as it should be and can also lead to problems due to race conditions if two or more processes access the same file. On the other hand disabling fsync reduces the number of I/O operations which potentially could reduce the battery drain and also improve I/O performance.



    --- Wifi Screen-Off Power Management - Francisco Franco ---
    This gives you the option to choose between PM_FAST and PM_MAX when your screen is off.
    Normally the kernel uses PM_FAST only if the screen is on. But when the screen turns off, it switches to PM_MAX, which slows the wifi down to save battery.
    But this can affect streaming applications (i.e. music). Which will result in lower quality audio or disconnects.

    echo X > /sys/module/bcmdhd/parameters/wifi_pm
    X can be 0 or 1. 0 (default) sets it to PM_MAX, and 1 sets it to PM_FAST.



    --- Notification LED duration mod - Yank555-lu ---
    * /sys/kernel/notification_leds/off_timer_multiplier (rw)
    *
    * 0 - Notification LED will blink forever until cleared by user
    * 1 - Notification LED will blink as requested by app or until cleared by user (default)
    * 2 to 255 - Notification LED will blink as requested by app multiplied by value or until cleared by user

    Wanna play with GPU overclock ? Alright!

    Go look here : http://files.tamcore.eu/android/tamcore-kernel/GPU_OC.txt


    What is the default configuration ? Good question my friend.

    * Min freq : 192Mhz
    * Max freq : 1.18Ghz
    * Governor : Badass
    * I/O Scheduler : sio
    * GPU : Stock HTC Sense ROM freq

    TL;DR : TamCore Kernel

    DOWNLOAD LINK : http://files.tamcore.eu/android/?dir=tamcore-kernel

    Credit
    Vorbeth, faux123, showp1984, intervigilium & Sc2k. Slap me if I forgot to mention you :)
    9
    3.0.48 is up.
    9
    anyone using this on bruces?
    It should work. But I'll rebase my kernel someday to intervigil's because his is "more aosp" than faux'.

    But the problem is, my todo list is too long and my time is too short.
    - (a great) business idea (includes much coding..)
    - real life..
    - OS2 (both Sensation and Nexus 7; but N7 already has a fully working build)
    - TamCore-Kernel rebase

    You guys should always keep in mind, that the real life always has priority, because it's the place were most of us earn their money ;)
    8
    The 3.0.44 release is out. You can get it on http://files.tamcore.eu/android/?dir=tamcore-kernel :)

    Please give me a minute of your time and answer the questions in this survey. It would help me to prioritize important things when I rebase my kernel.
    https://docs.google.com/spreadsheet/viewform?formkey=dDloTFhiMTEwNkhKaHVsY0FzY2RXM0E6MQ
    7
    3.0.46 got released yesterday.