Giter Site home page Giter Site logo

cpuspeed's Introduction

Focusing on my automated trading system this whole year with Python and my magical model trained using PyTorch.

For any business inquiries, please contact me via email. Unfortunately, I may not have any additional time for anything else.

cpuspeed's People

Contributors

henryquan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

cpuspeed's Issues

Improvement for 1.0.9

  • Min frequency not set properly sometimes
    • More testings
  • Flutter improvement
    • Extract slider components
    • Improve state management
    • Use models instead of map

The UI is fine for now but I should take more time to review the changes and merge to develop more often. Instead of doing a big merge.

Version 1.1 CPUSpeed RE

The redesign of CPUSpeed for additional features. The best way is to keep the basic UI. By using a pager, the user can swipe to other features or there should be an option to go to another app kind of. Still thinking about for now.

  • Update governer
  • Update speed of every core
  • Monitor current speed
  • Apply on boot
  • IAP to unlock new features
  • Better setting/about instead of a popup action menu

Roadmap

Version 1.0.9, #5

UI rewrite in Flutter and achieve the same effect as the legacy app. The user shouldn't notice any changes.

Version 1.1, #8

The redesign of the new app with no additional features.

Version 1.2

Add two new features, apply while boot and save different profiles. IAP will be added as well for this.

Version 1.3

Advance mode to adjust every single CPUs and live chart to track the current speed.

Version 1.4

Am I really gonna do 1.2 at all? Maybe I will think about it after 1.0.9 and 1.1 are done.

Jetpack Compose

This app is Android only so there is really no point of using Flutter. Jetpack Compose is fully native, and it should run faster while reducing the app size.

Improvement

  • Use seekbar instead of edittext
  • Support min freq
  • Save values Load current speed
  • Get min and max freq from cpuinfo
  • Update governor Postponed to future update
  • Update more files if present
  • Detect multiple CPU speeds
  • Apply on boot
  • Add about page (Github)
  • Draw a simple logo
  • Draw a better logo
  • Upload to Google Play
  • Share app

Version 1.0.9 Preparation

I remember this app finally. This is what happened when you have too many apps. A rework is needed for this app and I am considering to use Flutter as the UI and Kotlin as the backend. I want to keep the simple design language while adding more screens. The home page will remain the same because I don’t want to overwhelming current users. This will take some time to complete and this issue will track the progress.

  • Migrate to Flutter
  • Platform channel implementation
  • UI rework in Flutter
  • CPU methods
  • Basic methods
  • Firebase integration, basic
  • Update privacy policy
  • Use existing logos
  • Add two alerts when user launches

Unable to update CPU Speed on certain devices

My OnePlus is constantly changing its speed back to maximum (maybe CPUSpeed failed to update its frequency). Therefore, it is always running in full speed. That's why it is so quick...
I need to find a way to change it constantly. Also note that phones might have different processing speed for different cores.

See what Kernal Adiutor does

echo '4:300000' > /sys/module/msm_performance/parameters/cpu_min_freq
echo '5:300000' > /sys/module/msm_performance/parameters/cpu_min_freq
echo '6:300000' > /sys/module/msm_performance/parameters/cpu_min_freq
echo '7:300000' > /sys/module/msm_performance/parameters/cpu_min_freq
chmod 644 /sys/devices/system/cpu/cpu4/cpufreq/scaling_min_freq
echo '300000' > /sys/devices/system/cpu/cpu4/cpufreq/scaling_min_freq
chmod 444 /sys/devices/system/cpu/cpu4/cpufreq/scaling_min_freq
chmod 644 /sys/devices/system/cpu/cpu5/cpufreq/scaling_min_freq
echo '300000' > /sys/devices/system/cpu/cpu5/cpufreq/scaling_min_freq
chmod 444 /sys/devices/system/cpu/cpu5/cpufreq/scaling_min_freq
chmod 644 /sys/devices/system/cpu/cpu6/cpufreq/scaling_min_freq
echo '300000' > /sys/devices/system/cpu/cpu6/cpufreq/scaling_min_freq
chmod 444 /sys/devices/system/cpu/cpu6/cpufreq/scaling_min_freq
chmod 644 /sys/devices/system/cpu/cpu7/cpufreq/scaling_min_freq
echo '300000' > /sys/devices/system/cpu/cpu7/cpufreq/scaling_min_freq
chmod 444 /sys/devices/system/cpu/cpu7/cpufreq/scaling_min_freq
echo '4:1056000' > /sys/module/msm_performance/parameters/cpu_max_freq
echo '5:1056000' > /sys/module/msm_performance/parameters/cpu_max_freq
echo '6:1056000' > /sys/module/msm_performance/parameters/cpu_max_freq
echo '7:1056000' > /sys/module/msm_performance/parameters/cpu_max_freq
chmod 644 /sys/devices/system/cpu/cpu4/cpufreq/scaling_max_freq
echo '1056000' > /sys/devices/system/cpu/cpu4/cpufreq/scaling_max_freq
chmod 444 /sys/devices/system/cpu/cpu4/cpufreq/scaling_max_freq
chmod 644 /sys/devices/system/cpu/cpu5/cpufreq/scaling_max_freq
echo '1056000' > /sys/devices/system/cpu/cpu5/cpufreq/scaling_max_freq
chmod 444 /sys/devices/system/cpu/cpu5/cpufreq/scaling_max_freq
chmod 644 /sys/devices/system/cpu/cpu6/cpufreq/scaling_max_freq
echo '1056000' > /sys/devices/system/cpu/cpu6/cpufreq/scaling_max_freq
chmod 444 /sys/devices/system/cpu/cpu6/cpufreq/scaling_max_freq
chmod 644 /sys/devices/system/cpu/cpu7/cpufreq/scaling_max_freq
echo '1056000' > /sys/devices/system/cpu/cpu7/cpufreq/scaling_max_freq
chmod 444 /sys/devices/system/cpu/cpu7/cpufreq/scaling_max_freq
echo '0:300000' > /sys/module/msm_performance/parameters/cpu_min_freq
echo '1:300000' > /sys/module/msm_performance/parameters/cpu_min_freq
echo '2:300000' > /sys/module/msm_performance/parameters/cpu_min_freq
echo '3:300000' > /sys/module/msm_performance/parameters/cpu_min_freq
chmod 644 /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
echo '300000' > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
chmod 444 /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
chmod 644 /sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq
echo '300000' > /sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq
chmod 444 /sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq
chmod 644 /sys/devices/system/cpu/cpu2/cpufreq/scaling_min_freq
echo '300000' > /sys/devices/system/cpu/cpu2/cpufreq/scaling_min_freq
chmod 444 /sys/devices/system/cpu/cpu2/cpufreq/scaling_min_freq
chmod 644 /sys/devices/system/cpu/cpu3/cpufreq/scaling_min_freq
echo '300000' > /sys/devices/system/cpu/cpu3/cpufreq/scaling_min_freq
chmod 444 /sys/devices/system/cpu/cpu3/cpufreq/scaling_min_freq
echo '0:1036800' > /sys/module/msm_performance/parameters/cpu_max_freq
echo '1:1036800' > /sys/module/msm_performance/parameters/cpu_max_freq
echo '2:1036800' > /sys/module/msm_performance/parameters/cpu_max_freq
echo '3:1036800' > /sys/module/msm_performance/parameters/cpu_max_freq
chmod 644 /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
echo '1036800' > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
chmod 444 /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
chmod 644 /sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq
echo '1036800' > /sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq
chmod 444 /sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq
chmod 644 /sys/devices/system/cpu/cpu2/cpufreq/scaling_max_freq
echo '1036800' > /sys/devices/system/cpu/cpu2/cpufreq/scaling_max_freq
chmod 444 /sys/devices/system/cpu/cpu2/cpufreq/scaling_max_freq
chmod 644 /sys/devices/system/cpu/cpu3/cpufreq/scaling_max_freq
echo '1036800' > /sys/devices/system/cpu/cpu3/cpufreq/scaling_max_freq
chmod 444 /sys/devices/system/cpu/cpu3/cpufreq/scaling_max_freq

The path '/sys/module/msm_performance/parameters/cpu_max_freq' is used. Let me get more information.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.