Explaination of values in the files guestekrnl.c, guestekrnl.h and nvrm_clocks_limits.c:

guestekrnl.c
-------------------------------------
  • GUESTE_USE_FSYNC = 1; -> should fsync be used by default? values 0 or 1
  • NVRM_CPU1_ON_MIN_KHZ = 366000; -> frequency (366MHz) where second core should be turned off when it was running and cpu freq is lower than this freq for a time of 600 milliseconds (NVRM_CPU1_OFF_PENDING_MS)
  • NVRM_CPU1_OFF_MAX_KHZ = 666000; -> frequency (666MHz) where second core should be turned on when it was off and cpu freq is higher than this freq for a time of 2000 milliseconds (NVRM_CPU1_ON_PENDING_MS)
  • NVRM_CPU1_ON_PENDING_MS = 2000; // time for the things above in milliseconds
  • NVRM_CPU1_OFF_PENDING_MS = 600; // time for the things above in milliseconds
  • AUTO_SECONDCORE_LIMITS = 0; // should second core activation values be calculated intelligently by default instead of using the fixed values above? values 0 or 1
  • GUESTE_USE_SECOND_CORE = 1; // should second core be used by default? values 0 or 1
  • LED_BUTTON_BRIGHTNESS = 8; // default value for LED button brightness - values 0-100, but I fear the default is also on another place hard-coded so changes won't help
  • AUTO_BACKLIGHT_BRIGHTNESS = 6; // default step for the auto brightness intensity (this is stock default), dunno if changes here make any difference
  • MAX_SCREENOFF_CPUFREQ = 503000; // max default screenOff cpu frequency (=503 MHz)
  • MAX_CPU_SCALING_FREQ = 1000000; // default maximum cpu frequency (=1000 MHz), if you change this, remove the file Desktop/kernel_source/zipstructure/data/gueste2/oc/maxcpufreq in order to use the default kernel speed right at kernel boot (the file maxcpufreq also contains the value 1000000, this is the value GuesteOC tool will set the kernel to at boot, removing the file means GuesteOC does not change default kernel speed)
  • MIN_CPU_SCALING_FREQ = 216000; // default minimum cpu frequency (=216 MHz)
  • unsigned int STRONG_HAPTIC_VIBRATION = 0; // default value for strong vibration -- values 0 or 1
  • unsigned int STRONG_RINGING_VIBRATION = 1; // default value for incoming call vibration -- values 0 or 1

guestekrnl.h - Explainations will come soon!
-------------------------------------

// Second Core Activation Auto Limits Multiplikator
  • #define G_SECCORE_MULT (6)
// Clocking & Volting
  • #define MAX_OVERCLOCK (1300000)
  • #define MAX_VOLTAGE (1150)
  • #define GUESTE_DDR_FREQ_STATIC (325000)
  • #define GUESTE_EMC_VOLT (1200)
  • #define NVRM_AP20_LOW_CORE_MV (850)
  • #define NVRM_AP20_LOW_CPU_MV (750)
  • #define NVRM_AP20_SUSPEND_CORE_MV (900)
  • #define NVRM_AP20_DDR2_MIN_KHZ (50000)
  • #define NVRM_AP20_LPDDR2_MIN_KHZ (18000)
  • #define GUESTE_AVP_FREQ (280000)
  • #define GUESTE_EMC2_FREQ (660000)
  • #define GUESTE_GPU_FREQ (345000)
  • #define GUESTE_DDR_FREQ (325000)
// Scheduler
  • #define sysctl_sched_latency_default 10000000ULL
  • #define normalized_sysctl_sched_latency_default 10000000ULL
  • #define sysctl_sched_min_granularity_default 2000000ULL
  • #define normalized_sysctl_sched_min_granularity_default 2000000ULL
  • #define sched_nr_latency_default 5
  • #define sysctl_sched_wakeup_granularity_default 2000000UL
  • #define normalized_sysctl_sched_wakeup_granularity_default 2000000UL

Desktop/kernel_source/arch/arm/mach-tegra/nvrm/core/common/nvrm_clocks_limits.c - Explainations will come soon!
-------------------------------------
  • NvU32 FakeShmooVoltages[] = {
    755,
    770,
    800,
    850,
    900,
    1000,
    1050,
    MAX_VOLTAGE,

    };
  • NvRmScaledClkLimits FakepScaledCpuLimits = {
    101, // FakepScaledCpuLimits.HwDeviceId
    0, // FakepScaledCpuLimits.SubClockId
    32, // FakepScaledCpuLimits.MinKHz
    // Clock table
    {
    216000,
    389000,
    503000,
    655000,
    816000,
    1000000,
    1100000,
    MAX_OVERCLOCK,

    }
    };
LG O2X @ GoodBye v2.0R
+ guestekrnL v2.2.1
"Fische, die nur mit dem Strom
schwimmen, sind tot."