ChiweN
Android Expert
main purpose to his app is to make a bunch of thing accessible from one app. Most of what the optimizer does I do with ROM Toolbox![]()
Same here, one of the few apps jrummy actually got some loot out of me for lol.
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
main purpose to his app is to make a bunch of thing accessible from one app. Most of what the optimizer does I do with ROM Toolbox![]()
yea I got his ROM Toolbox n Android Overclock (for my DX) n it has a kewl widget lolSame here, one of the few apps jrummy actually got some loot out of me for lol.
I did not realize the optimizer utilized this script to do what it does. That being said, and nothing at all against kanaida, but I find his app unnecessary. Pretty much everything it does can be easily be done without the app. Setting clock speeds can be done without his app also, the purpose of this was to make cpu settings stick.
Of course if you paid for the optimizer app you are going to want to be able to use it. I will put up a copy of the file so that people needing it to use the connect optimizer can put it back. I don't use it or need it so it doesn't effect me.
mpdesicion is a service that controls when and how to turn on the second core (I think qualcomm specific), as well as ocasionally making cpu changes based on it's own logic. My app can control this service using the manual 1 or 2 cores enabled.my app requires mpdesicion to be running, by you deleting the script, it never starts (i'm gonna update it to show a legit error though). It has nothing to do with the rest of the lines by the waympdesicion is a service that controls when and how to turn on the second core (I think qualcomm specific), as well as ocasionally making cpu changes based on it's own logic. My app can control this service using the manual 1 or 2 cores enabled.
Another possible side effect is having only a single core on at next reboot. Without any obvious way to turn the other one on.
yep me too. I'm writing something like setcpu as we speak... except for multiple processors (no limits on cores). I've got qualcomm ones figured out, just need to get my hands on a tegra device now to see if they're different (use something other than mpdecision).
There are zero options out there to do this (as an app) other than by hand talking right with the drivers and writing one myself.
actually that file needs edited not just deleted
if you look at it :
Code:#!/system/bin/sh # Copyright (c) 2009-2011, Code Aurora Forum. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # * Redistributions of source code must retain the above copyright # notice, this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright # notice, this list of conditions and the following disclaimer in the # documentation and/or other materials provided with the distribution. # * Neither the name of Code Aurora nor # the names of its contributors may be used to endorse or promote # products derived from this software without specific prior written # permission. # # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND # NON-INFRINGEMENT ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR # CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, # EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, # PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; # OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # target=`getprop ro.product.device` case "$target" in "msm7201a_ffa" | "msm7201a_surf" | "msm7627_ffa" | "msm7627_surf" | "msm7627a" | \ "qsd8250_surf" | "qsd8250_ffa" | "msm7630_surf" | "msm7630_1x" | "msm7630_fusion" | "qsd8650a_st1x") echo 90 > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/up_threshold chown system /sys/devices/system/cpu/cpu0/cpufreq/ondemand/sampling_rate ;; esac case "$target" in "msm7201a_ffa" | "msm7201a_surf") echo 500000 > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/sampling_rate ;; esac case "$target" in "msm7630_surf" | "msm7630_1x" | "msm7630_fusion") echo 75000 > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/sampling_rate echo 1 > /sys/module/pm2/parameters/idle_sleep_mode ;; esac case "$target" in "msm8660_surf" | "msm8660_csfb" | "cayman") echo 1 > /sys/module/rpm_resources/enable_low_power/L2_cache echo 1 > /sys/module/rpm_resources/enable_low_power/pxo echo 2 > /sys/module/rpm_resources/enable_low_power/vdd_dig echo 2 > /sys/module/rpm_resources/enable_low_power/vdd_mem echo 1 > /sys/module/rpm_resources/enable_low_power/rpm_cpu echo 1 > /sys/module/pm_8x60/modes/cpu0/power_collapse/suspend_enabled echo 1 > /sys/module/pm_8x60/modes/cpu1/power_collapse/suspend_enabled echo 1 > /sys/module/pm_8x60/modes/cpu0/standalone_power_collapse/suspend_enabled echo 1 > /sys/module/pm_8x60/modes/cpu1/standalone_power_collapse/suspend_enabled echo 1 > /sys/module/pm_8x60/modes/cpu0/power_collapse/idle_enabled echo 1 > /sys/module/pm_8x60/modes/cpu1/power_collapse/idle_enabled echo 1 > /sys/module/pm_8x60/modes/cpu0/standalone_power_collapse/idle_enabled echo 1 > /sys/module/pm_8x60/modes/cpu1/standalone_power_collapse/idle_enabled echo 50000 > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/sampling_rate echo 50000 > /sys/devices/system/cpu/cpu1/cpufreq/ondemand/sampling_rate echo 90 > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/up_threshold echo 90 > /sys/devices/system/cpu/cpu1/cpufreq/ondemand/up_threshold echo 1 > /sys/devices/system/cpu/cpufreq/ondemand/io_is_busy echo 4 > /sys/devices/system/cpu/cpufreq/ondemand/sampling_down_factor chown system /sys/devices/system/cpu/cpu0/cpufreq/ondemand/sampling_rate chown system /sys/devices/system/cpu/cpu1/cpufreq/ondemand/sampling_rate echo 384000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq echo 384000 > /sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq [COLOR="red"][B]chown system /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq[/B][/COLOR] chown system /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq [COLOR="Red"][B]chown system /sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq[/B][/COLOR] chown system /sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq chown root.system /sys/devices/system/cpu/mfreq chmod 220 /sys/devices/system/cpu/mfreq chown root.system /sys/devices/system/cpu/cpu1/online chmod 664 /sys/devices/system/cpu/cpu1/online ;; esac case "$target" in "msm7627_ffa" | "msm7627_surf" | "msm7627a") echo 25000 > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/sampling_rate ;; esac case "$target" in "qsd8250_surf" | "qsd8250_ffa" | "qsd8650a_st1x") echo 50000 > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/sampling_rate ;; esac case "$target" in "qsd8650a_st1x") mount -t debugfs none /sys/kernel/debug ;; esac emmc_boot=`getprop ro.emmc` case "$emmc_boot" in "1") chown system /sys/devices/platform/rs300000a7.65536/force_sync chown system /sys/devices/platform/rs300000a7.65536/sync_sts chown system /sys/devices/platform/rs300100a7.65536/force_sync chown system /sys/devices/platform/rs300100a7.65536/sync_sts ;; esac # Post-setup services case "$target" in "msm8660_surf" | "msm8660_csfb" | "cayman") start mpdecision start thermald ;; esac
you can see it does other things other than set cpu speeds. I dont see where a max is set but you can clearly see where min is set.
not sure of the needed changes just yet, but just deleting will most likely lead to other issues elsewhere.![]()
Lets say you deleted this file. Would a benchmark score be lower if one core isn't in use?
like from antutu benchmark?
Also, would an app like Micro CPU Monitor pick up if the second core is active or not?
I'm trying to delete that file but rom toolbox pro and every other file explorer says i don't have enough permission. I'm rooted and the apps get permission. what can it be?