Hey Roman, maybe you and da-g can get together to get the gpu tweaks and 54mhz minimum implemented into jugs
Sent from my SGH-T989 using Tapatalk
GPU tweaks don't really do much on these chipsets. It's not really worth the extra voltage you throw at it.
[B][U]0.3 - Nov 6[/U][/B]
- added BLN! (use neldar's BLN control app from the market)
- tweaked ondemand gov
- added 1.89ghz step
- any weirdness going past 1.72 should be fixed
- added snapdragon compiler flag optimizations
[B][U]0.2 - Nov 4[/U][/B]
- added zram (must enable through init script, more on it below) - ALSO LOL WE DONT NEED THIS WE HAVE 999999MB OF RAM
- patched drivers from Telus 989D source (newer, less debugging)
- increased voltages to more stock-like values (uv by yourself)
- boots up into stock frequencies (384 - 1512) (oc by yourself)
0.1 - Nov 3
- initial release
adb pull /proc/last_kmsg
echo "+25000" > /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels
echo "-25000" > /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels
echo "1188000 1087500" > /sys/devices/system/cpu/cpufreq/vdd_table/vdd_levels
(su if in shell)
echo 384000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
echo 1512000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
echo 1 > /sys/devices/system/cpu/cpu1/cpufreq/online
echo 384000 > /sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq
echo 1512000 > /sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq
mkswap /dev/block/zram0
swapon /dev/block/zram0
$ free
total used free shared buffers
Mem: 801980 664364 137616 0 50656
-/+ buffers: 613708 188272
Swap: 98300 0 98300
its not a kernel issue, its the permissions that are set on the script that you dont edit or remove from your roms.
its setting root:system on /sys/devices/system/cpu/mfreq and perm 220 on it. this makes the min freq adjustments not still with apps that are not in the group root:system
there is quite a large bit of crap in that script that i've mentioned a few times should be edited out at the very least.
static ssize_t store_mfreq(struct sysdev_class *class,
struct sysdev_class_attribute *attr,
const char *buf, size_t count)
{
u64 val;
if (strict_strtoull(buf, 0, &val) < 0) {
pr_err("Invalid parameter to mfreq\n");
return 0;
}
if (val)
override_cpu = 1;
else
override_cpu = 0;
return count;
}
static int set_cpu_freq(struct cpufreq_policy *policy, unsigned int new_freq)
{
int ret = 0;
struct cpufreq_freqs freqs;
freqs.old = policy->cur;
if ([COLOR="Red"]override_cpu[/COLOR]) {
[COLOR="Red"]if (policy->cur == policy->max)[/COLOR]
return 0;
else
[COLOR="red"]freqs.new = policy->max;[/COLOR]
its not a kernel issue, its the permissions that are set on the script that you dont edit or remove from your roms.
its setting root:system on /sys/devices/system/cpu/mfreq and perm 220 on it. this makes the min freq adjustments not still with apps that are not in the group root:system
there is quite a large bit of crap in that script that i've mentioned a few times should be edited out at the very least.